filesbox/web/dist/js/jquery-3.6.3.min.js

5 lines
88 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
/*! jQuery v3.6.3 | (c) OpenJS Foundation and other contributors | jquery.org/license */(function(H,Je){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=H.document?Je(H,!0):function(pe){if(!pe.document)throw new Error("jQuery requires a window with a document");return Je(pe)}:Je(H)})(typeof window!="undefined"?window:this,function(H,Je){"use strict";var pe=[],Jt=Object.getPrototypeOf,je=pe.slice,Kt=pe.flat?function(e){return pe.flat.call(e)}:function(e){return pe.concat.apply([],e)},At=pe.push,ut=pe.indexOf,lt={},Zt=lt.toString,ct=lt.hasOwnProperty,en=ct.toString,Kn=en.call(Object),F={},P=function(e){return typeof e=="function"&&typeof e.nodeType!="number"&&typeof e.item!="function"},Me=function(e){return e!=null&&e===e.window},R=H.document,Zn={type:!0,src:!0,nonce:!0,noModule:!0};function tn(e,t,n){var r,o,a=(n=n||R).createElement("script");if(a.text=e,t)for(r in Zn)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,o);n.head.appendChild(a).parentNode.removeChild(a)}function Ie(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?lt[Zt.call(e)]||"object":typeof e}var nn="3.6.3",i=function(e,t){return new i.fn.init(e,t)};function Nt(e){var t=!!e&&"length"in e&&e.length,n=Ie(e);return!P(e)&&!Me(e)&&(n==="array"||t===0||typeof t=="number"&&0<t&&t-1 in e)}i.fn=i.prototype={jquery:nn,constructor:i,length:0,toArray:function(){return je.call(this)},get:function(e){return e==null?je.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(je.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(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:At,sort:pe.sort,splice:pe.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},f=1,c=arguments.length,d=!1;for(typeof s=="boolean"&&(d=s,s=arguments[f]||{},f++),typeof s=="object"||P(s)||(s={}),f===c&&(s=this,f--);f<c;f++)if((e=arguments[f])!=null)for(t in e)r=e[t],t!=="__proto__"&&s!==r&&(d&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=s[t],a=o&&!Array.isArray(n)?[]:o||i.isPlainObject(n)?n:{},o=!1,s[t]=i.extend(d,a,r)):r!==void 0&&(s[t]=r));return s},i.extend({expando:"jQuery"+(nn+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||Zt.call(e)!=="[object Object]")&&(!(t=Jt(e))||typeof(n=ct.call(t,"constructor")&&t.constructor)=="function"&&en.call(n)===Kn)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){tn(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(Nt(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},makeArray:function(e,t){var n=t||[];return e!=null&&(Nt(Object(e))?i.merge(n,typeof e=="string"?[e]:e):At.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:ut.call(t,e,n)},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=0,a=e.length,s=!n;o<a;o++)!t(e[o],o)!==s&&r.push(e[o]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(Nt(e))for(r=e.length;a<r;a++)(o=t(e[a],a,n))!=null&&s.push(o);else for(a in e)(o=t(e[a],a,n))!=null&&s.push(o);return Kt(s)},guid:1,support:F}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=pe[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){lt["[object "+t+"]"]=t.toLowerCase()});var De=function(e){var t,n,r,o,a,s,f,c,d,m,x,g,y,S,k,E,z,Q,ae,$="sizzle"+1*new Date,q=e.document,ie=
`):e)),t};var kr=/\[\]$/,Mn=/\r?\n/g,Ar=/^(?:submit|button|image|reset|file)$/i,Nr=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,n,r){var o;if(Array.isArray(t))i.each(t,function(a,s){n||kr.test(e)?r(e,s):Ft(e+"["+(typeof s=="object"&&s!=null?a:"")+"]",s,n,r)});else if(n||Ie(t)!=="object")r(e,t);else for(o in t)Ft(e+"["+o+"]",t[o],n,r)}i.param=function(e,t){var n,r=[],o=function(a,s){var f=P(s)?s():s;r[r.length]=encodeURIComponent(a)+"="+encodeURIComponent(f==null?"":f)};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)Ft(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")&&Nr.test(this.nodeName)&&!Ar.test(e)&&(this.checked||!tt.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(Mn,`\r
`)}}):{name:t.name,value:n.replace(Mn,`\r
`)}}).get()}});var jr=/%20/g,Dr=/#.*$/,qr=/([?&])_=[^&]*/,Lr=/^(.*?):[ \t]*([^\r\n]*)$/gm,Hr=/^(?:GET|HEAD)$/,Or=/^\/\//,In={},$t={},Wn="*/".concat("*"),Bt=R.createElement("a");function Fn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,o=0,a=t.toLowerCase().match(we)||[];if(P(n))for(;r=a[o++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $n(e,t,n,r){var o={},a=e===$t;function s(f){var c;return o[f]=!0,i.each(e[f]||[],function(d,m){var x=m(t,n,r);return typeof x!="string"||a||o[x]?a?!(c=x):void 0:(t.dataTypes.unshift(x),s(x),!1)}),c}return s(t.dataTypes[0])||!o["*"]&&s("*")}function _t(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}Bt.href=it.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:it.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(it.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?_t(_t(e,i.ajaxSettings),t):_t(i.ajaxSettings,e)},ajaxPrefilter:Fn(In),ajaxTransport:Fn($t),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,r,o,a,s,f,c,d,m,x,g=i.ajaxSetup({},t),y=g.context||g,S=g.context&&(y.nodeType||y.jquery)?i(y):i.event,k=i.Deferred(),E=i.Callbacks("once memory"),z=g.statusCode||{},Q={},ae={},$="canceled",q={readyState:0,getResponseHeader:function(I){var U;if(c){if(!a)for(a={};U=Lr.exec(o);)a[U[1].toLowerCase()+" "]=(a[U[1].toLowerCase()+" "]||[]).concat(U[2]);U=a[I.toLowerCase()+" "]}return U==null?null:U.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(I,U){return c==null&&(I=ae[I.toLowerCase()]=ae[I.toLowerCase()]||I,Q[I]=U),this},overrideMimeType:function(I){return c==null&&(g.mimeType=I),this},statusCode:function(I){var U;if(I)if(c)q.always(I[q.status]);else for(U in I)z[U]=[z[U],I[U]];return this},abort:function(I){var U=I||$;return n&&n.abort(U),ie(0,U),this}};if(k.promise(q),g.url=((e||g.url||it.href)+"").replace(Or,it.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(we)||[""],g.crossDomain==null){f=R.createElement("a");try{f.href=g.url,f.href=f.href,g.crossDomain=Bt.protocol+"//"+Bt.host!=f.protocol+"//"+f.host}catch(I){g.crossDomain=!0}}if(g.data&&g.processData&&typeof g.data!="string"&&(g.data=i.param(g.data,g.traditional)),$n(In,g,t,q),c)return q;for(m in(d=i.event&&g.global)&&i.active++==0&&i.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Hr.test(g.type),r=g.url.replace(Dr,""),g.hasContent?g.data&&g.processData&&(g.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(g.data=g.data.replace(jr,"+")):(x=g.url.slice(r.length),g.data&&(g.processData||typeof g.data=="string")&&(r+=(Wt.test(r)?"&":"?")+g.data,delete g.data),g.cache===!1&&(r=r.replace(qr,"$1"),x=(Wt.test(r)?"&":"?")+"_="+Rn.guid+++x),g.url=r+x),g.ifModified&&(i.lastModified[r]&&q.setRequestHeader("If-Modified-Since",i.lastModified[r]),i.etag[r]&&q.setRequestHeader("If-None-Match",i.etag[r])),(g.data&&g.hasContent&&g.contentType!==!1||t.contentType)&&q.setRequestHeader("Content-Type",g.contentType),q.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+(g.dataTypes[0]!=="*"?", "+Wn+"; q=0.01":""):g.accepts["*"]),g.headers)q.setRequestHeader(m,g.headers[m]);if(g.beforeSend&&(g.beforeSend.call(y,q,g)===!1||c))return q.abort();if($="abort",E.add(g.complete),q.done(g.success),q.fail(g.error),n=$n($t,g,t,q)){if(q.readyState=1,d&&S.trigger("ajaxSend",[q,g]),c)return q;g.async&&0<g.timeout&&(s=H.setT