ERP-admin/build/admin/assets/jquery.c3f97e49.js

14 lines
86 KiB
JavaScript
Raw Permalink Normal View History

2024-05-21 15:15:41 +08:00
import{n as Fr}from"./@babel.16688d44.js";var Mt={exports:{}};/*!
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-08-28T13:37Z
*/var jn;function Br(){return jn||(jn=1,function(qn){(function(j,Je){qn.exports=j.document?Je(j,!0):function(U){if(!U.document)throw new Error("jQuery requires a window with a document");return Je(U)}})(typeof window<"u"?window:Fr,function(j,Je){var U=[],Rt=Object.getPrototypeOf,Z=U.slice,It=U.flat?function(e){return U.flat.call(e)}:function(e){return U.concat.apply([],e)},Ke=U.push,de=U.indexOf,Ze={},_t=Ze.toString,Ie=Ze.hasOwnProperty,Wt=Ie.toString,Ln=Wt.call(Object),q={},L=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},Ae=function(t){return t!=null&&t===t.window},k=j.document,Hn={type:!0,src:!0,nonce:!0,noModule:!0};function Ft(e,t,n){n=n||k;var r,o,u=n.createElement("script");if(u.text=e,t)for(r in Hn)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&u.setAttribute(r,o);n.head.appendChild(u).parentNode.removeChild(u)}function De(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?Ze[_t.call(e)]||"object":typeof e}var $t="3.7.1",On=/HTML$/i,i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:$t,constructor:i,length:0,toArray:function(){return Z.call(this)},get:function(e){return e==null?Z.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return i.each(this,e)},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(Z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Ke,sort:U.sort,splice:U.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,u,a=arguments[0]||{},c=1,f=arguments.length,d=!1;for(typeof a=="boolean"&&(d=a,a=arguments[c]||{},c++),typeof a!="object"&&!L(a)&&(a={}),c===f&&(a=this,c--);c<f;c++)if((e=arguments[c])!=null)for(t in e)r=e[t],!(t==="__proto__"||a===r)&&(d&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],o&&!Array.isArray(n)?u=[]:!o&&!i.isPlainObject(n)?u={}:u=n,o=!1,a[t]=i.extend(d,u,r)):r!==void 0&&(a[t]=r));return a},i.extend({expando:"jQuery"+($t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||_t.call(e)!=="[object Object]"?!1:(t=Rt(e),t?(n=Ie.call(t,"constructor")&&t.constructor,typeof n=="function"&&Wt.call(n)===Ln):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){Ft(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(lt(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=i.text(t);return o===1||o===11?e.textContent:o===9?e.documentElement.textContent:o===3||o===4?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return e!=null&&(lt(Object(e))?i.merge(n,typeof e=="string"?[e]:e):Ke.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:de.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!On.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],u=0,a=e.length,c=!n;u<a;u++)r=!t(e[u],u),r!==c&&o.push(e[u]);return o},map:function(e,t,n){var r,o,u=0,a=[];if(lt(e))for(r=e.length;u<r;u++)o=t(e[u],u,n),o!=null&&a.push(o);else for(u in e)o=t(e[u],u,n),o!=null&&a.push(o);return It(a)},guid:1,support:q}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=U[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Ze["[object "+t+"]"]=t.toLowerCase()});function lt(e){var t=!!e&&"length"in e&&e.length,n=
`):e)),t};var xn=/^(?:focusinfocus|focusoutblur)$/,mn=function(e){e.stopPropagation()};i.extend(i.event,{trigger:function(e,t,n,r){var o,u,a,c,f,d,y,b,h=[n||k],x=Ie.call(e,"type")?e.type:e,D=Ie.call(e,"namespace")?e.namespace.split("."):[];if(u=b=a=n=n||k,!(n.nodeType===3||n.nodeType===8)&&!xn.test(x+i.event.triggered)&&(x.indexOf(".")>-1&&(D=x.split("."),x=D.shift(),D.sort()),f=x.indexOf(":")<0&&"on"+x,e=e[i.expando]?e:new i.Event(x,typeof e=="object"&&e),e.isTrigger=r?2:3,e.namespace=D.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+D.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=t==null?[e]:i.makeArray(t,[e]),y=i.event.special[x]||{},!(!r&&y.trigger&&y.trigger.apply(n,t)===!1))){if(!r&&!y.noBubble&&!Ae(n)){for(c=y.delegateType||x,xn.test(c+x)||(u=u.parentNode);u;u=u.parentNode)h.push(u),a=u;a===(n.ownerDocument||k)&&h.push(a.defaultView||a.parentWindow||j)}for(o=0;(u=h[o++])&&!e.isPropagationStopped();)b=u,e.type=o>1?c:y.bindType||x,d=(S.get(u,"events")||Object.create(null))[e.type]&&S.get(u,"handle"),d&&d.apply(u,t),d=f&&u[f],d&&d.apply&&We(u)&&(e.result=d.apply(u,t),e.result===!1&&e.preventDefault());return e.type=x,!r&&!e.isDefaultPrevented()&&(!y._default||y._default.apply(h.pop(),t)===!1)&&We(n)&&f&&L(n[x])&&!Ae(n)&&(a=n[f],a&&(n[f]=null),i.event.triggered=x,e.isPropagationStopped()&&b.addEventListener(x,mn),n[x](),e.isPropagationStopped()&&b.removeEventListener(x,mn),i.event.triggered=void 0,a&&(n[f]=a)),e.result}},simulate:function(e,t,n){var r=i.extend(new i.Event,n,{type:e,isSimulated:!0});i.event.trigger(r,null,t)}}),i.fn.extend({trigger:function(e,t){return this.each(function(){i.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return i.event.trigger(e,t,n,!0)}});var br=/\[\]$/,Tn=/\r?\n/g,xr=/^(?:submit|button|image|reset|file)$/i,mr=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var o;if(Array.isArray(t))i.each(t,function(u,a){n||br.test(e)?r(e,a):St(e+"["+(typeof a=="object"&&a!=null?u:"")+"]",a,n,r)});else if(!n&&De(t)==="object")for(o in t)St(e+"["+o+"]",t[o],n,r);else r(e,t)}i.param=function(e,t){var n,r=[],o=function(u,a){var c=L(a)?a():a;r[r.length]=encodeURIComponent(u)+"="+encodeURIComponent(c==null?"":c)};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!i.isPlainObject(e))i.each(e,function(){o(this.name,this.value)});else for(n in e)St(n,e[n],t,o);return r.join("&")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=i.prop(this,"elements");return e?i.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!i(this).is(":disabled")&&mr.test(this.nodeName)&&!xr.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=i(this).val();return n==null?null:Array.isArray(n)?i.map(n,function(r){return{name:t.name,value:r.replace(Tn,`\r
`)}}):{name:t.name,value:n.replace(Tn,`\r
`)}}).get()}});var Tr=/%20/g,Cr=/#.*$/,wr=/([?&])_=[^&]*/,Sr=/^(.*?):[ \t]*([^\r\n]*)$/mg,Er=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ar=/^(?:GET|HEAD)$/,Dr=/^\/\//,Cn={},Et={},wn="*/".concat("*"),At=k.createElement("a");At.href=Ve.href;function Sn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,o=0,u=t.toLowerCase().match(oe)||[];if(L(n))for(;r=u[o++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function En(e,t,n,r){var o={},u=e===Et;function a(c){var f;return o[c]=!0,i.each(e[c]||[],function(d,y){var b=y(t,n,r);if(typeof b=="string"&&!u&&!o[b])return t.dataTypes.unshift(b),a(b),!1;if(u)return!(f=b)}),f}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Dt(e,t){var n,r,o=i.ajaxSettings.flatOptions||{};for(n in t)t[n]!==void 0&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&i.extend(!0,e,r),e}function Nr(e,t,n){for(var r,o,u,a,c=e.contents,f=e.dataTypes;f[0]==="*";)f.shift(),r===void 0&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r){for(o in c)if(c[o]&&c[o].test(r)){f.unshift(o);break}}if(f[0]in n)u=f[0];else{for(o in n){if(!f[0]||e.converters[o+" "+f[0]]){u=o;break}a||(a=o)}u=u||a}if(u)return u!==f[0]&&f.unshift(u),n[u]}function kr(e,t,n,r){var o,u,a,c,f,d={},y=e.dataTypes.slice();if(y[1])for(a in e.converters)d[a.toLowerCase()]=e.converters[a];for(u=y.shift();u;)if(e.responseFields[u]&&(n[e.responseFields[u]]=t),!f&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),f=u,u=y.shift(),u){if(u==="*")u=f;else if(f!=="*"&&f!==u){if(a=d[f+" "+u]||d["* "+u],!a){for(o in d)if(c=o.split(" "),c[1]===u&&(a=d[f+" "+c[0]]||d["* "+c[0]],a)){a===!0?a=d[o]:d[o]!==!0&&(u=c[0],y.unshift(c[1]));break}}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(b){return{state:"parsererror",error:a?b:"No conversion from "+f+" to "+u}}}}return{state:"success",data:t}}i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ve.href,type:"GET",isLocal:Er.test(Ve.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Dt(Dt(e,i.ajaxSettings),t):Dt(i.ajaxSettings,e)},ajaxPrefilter:Sn(Cn),ajaxTransport:Sn(Et),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,r,o,u,a,c,f,d,y,b,h=i.ajaxSetup({},t),x=h.context||h,D=h.context&&(x.nodeType||x.jquery)?i(x):i.event,R=i.Deferred(),H=i.Callbacks("once memory"),V=h.statusCode||{},z={},ae={},se="canceled",M={readyState:0,getResponseHeader:function(I){var B;if(f){if(!u)for(u={};B=Sr.exec(o);)u[B[1].toLowerCase()+" "]=(u[B[1].toLowerCase()+" "]||[]).concat(B[2]);B=u[I.toLowerCase()+" "]}return B==null?null:B.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(I,B){return f==null&&(I=ae[I.toLowerCase()]=ae[I.toLowerCase()]||I,z[I]=B),this},overrideMimeType:function(I){return f==null&&(h.mimeType=I),this},statusCode:function(I){var B;if(I)if(f)M.always(I[M.status]);else for(B in I)V[B]=[V[B],I[B]];return this},abort:function(I){var B=I||se;return n&&n.abort(B),Se(0,B),this}};if(R.promise(M),h.url=((e||h.url||Ve.href)+"").replace(Dr,Ve.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(oe)||[""],h.crossDomain==null){c=k.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=At.protocol+"//"+At.host!=c.protocol+"//"+c.host}catch{h.crossDomain=!0}}if(h.data&&h.processData&&typeof h.data!="string"&&(h.data=i.param(h.data,h.traditional)),En(Cn,h,t,M),f)return M;d=i.event&&h.global,d&&i.active++===0&&i.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ar.test(h.type),r=h.url.replace(Cr,""),h.hasContent?h.data&&h.processData&&(h.contentType||"").indexOf("appli