filesbox/web/dist/design/designstatic/home/js/jquery-2.2.4.min.js

4 lines
84 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */(function(F,Ae){typeof module=="object"&&typeof module.exports=="object"?module.exports=F.document?Ae(F,!0):function(se){if(!se.document)throw new Error("jQuery requires a window with a document");return Ae(se)}:Ae(F)})(typeof window!="undefined"?window:this,function(F,Ae){var se=[],P=F.document,fe=se.slice,At=se.concat,nt=se.push,_e=se.indexOf,ze={},Nn=ze.toString,qe=ze.hasOwnProperty,W={},qt="2.2.4",i=function(e,t){return new i.fn.init(e,t)},Sn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Dn=/^-ms-/,An=/-([\da-z])/gi,qn=function(e,t){return t.toUpperCase()};i.fn=i.prototype={jquery:qt,constructor:i,selector:"",length:0,toArray:function(){return fe.call(this)},get:function(e){return e!=null?0>e?this[e+this.length]:this[e]:fe.call(this)},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,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(fe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:nt,sort:se.sort,splice:se.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,s,u=arguments[0]||{},c=1,p=arguments.length,g=!1;for(typeof u=="boolean"&&(g=u,u=arguments[c]||{},c++),typeof u=="object"||i.isFunction(u)||(u={}),c===p&&(u=this,c--);p>c;c++)if((e=arguments[c])!=null)for(t in e)n=u[t],r=e[t],u!==r&&(g&&r&&(i.isPlainObject(r)||(o=i.isArray(r)))?(o?(o=!1,s=n&&i.isArray(n)?n:[]):s=n&&i.isPlainObject(n)?n:{},u[t]=i.extend(g,s,r)):r!==void 0&&(u[t]=r));return u},i.extend({expando:"jQuery"+(qt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return i.type(e)==="function"},isArray:Array.isArray,isWindow:function(e){return e!=null&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!i.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if(i.type(e)!=="object"||e.nodeType||i.isWindow(e)||e.constructor&&!qe.call(e,"constructor")&&!qe.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return t===void 0||qe.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?ze[Nn.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=i.trim(e),e&&(e.indexOf("use strict")===1?(t=P.createElement("script"),t.text=e,P.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(Dn,"ms-").replace(An,qn)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(rt(e))for(n=e.length;n>r&&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},trim:function(e){return e==null?"":(e+"").replace(Sn,"")},makeArray:function(e,t){var n=t||[];return e!=null&&(rt(Object(e))?i.merge(n,typeof e=="string"?[e]:e):nt.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:_e.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],s=0,u=e.length,c=!n;u>s;s++)r=!t(e[s],s),r!==c&&o.push(e[s]);return o},map:function(e,t,n){var r,o,s=0,u=[];if(rt(e))for(r=e.length;r>s;s++)o=t(e[s],s,n),o!=null&&u.push(o);else for(s in e)o=t(e[s],s,n),o!=null&&u.push(o);return At.apply([],u)},guid:1,proxy:function(e,t){var n,r,o;return typeof t=="string"&&(n=e[t],t=e,e=n),i.isFunction(e)?(r=fe.call(arguments,2),o=function(){return e.apply(t||this,r.concat(fe.call(arguments)))},o.guid=e.guid=e.guid||i.guid++,o):void 0},now:Date.now,support:W}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=se[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ze["[object
`)}}):{name:t.name,value:n.replace(mn,`\r
`)}}).get()}}),i.ajaxSettings.xhr=function(){try{return new F.XMLHttpRequest}catch(e){}};var mr={0:200,1223:204},Ie=i.ajaxSettings.xhr();W.cors=!!Ie&&"withCredentials"in Ie,W.ajax=Ie=!!Ie,i.ajaxTransport(function(e){var t,n;return W.cors||Ie&&!e.crossDomain?{send:function(r,o){var s,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)u[s]=e.xhrFields[s];e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)u.setRequestHeader(s,r[s]);t=function(c){return function(){t&&(t=n=u.onload=u.onerror=u.onabort=u.onreadystatechange=null,c==="abort"?u.abort():c==="error"?typeof u.status!="number"?o(0,"error"):o(u.status,u.statusText):o(mr[u.status]||u.status,u.statusText,(u.responseType||"text")!=="text"||typeof u.responseText!="string"?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),n=u.onerror=t("error"),u.onabort!==void 0?u.onabort=n:u.onreadystatechange=function(){u.readyState===4&&F.setTimeout(function(){t&&n()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(c){if(t)throw c}},abort:function(){t&&t()}}:void 0}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return i.globalEval(e),e}}}),i.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),i.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=i("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(s){t.remove(),n=null,s&&o(s.type==="error"?404:200,s.type)}),P.head.appendChild(t[0])},abort:function(){n&&n()}}}});var vn=[],yt=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=vn.pop()||i.expando+"_"+pt++;return this[e]=!0,e}}),i.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,u=e.jsonp!==!1&&(yt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&yt.test(e.data)&&"data");return u||e.dataTypes[0]==="jsonp"?(r=e.jsonpCallback=i.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(yt,"$1"+r):e.jsonp!==!1&&(e.url+=(dt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||i.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=F[r],F[r]=function(){s=arguments},n.always(function(){o===void 0?i(F).removeProp(r):F[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,vn.push(r)),s&&i.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),i.parseHTML=function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||P;var r=Ot.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=zt([e],t,o),o&&o.length&&i(o).remove(),i.merge([],r.childNodes))};var yn=i.fn.load;i.fn.load=function(e,t,n){if(typeof e!="string"&&yn)return yn.apply(this,arguments);var r,o,s,u=this,c=e.indexOf(" ");return c>-1&&(r=i.trim(e.slice(c)),e=e.slice(0,c)),i.isFunction(t)?(n=t,t=void 0):t&&typeof t=="object"&&(o="POST"),u.length>0&&i.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(p){s=arguments,u.html(r?i("<div>").append(i.parseHTML(p)).find(r):p)}).always(n&&function(p,g){u.each(function(){n.apply(this,s||[p.responseText,g,p])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length};function xn(e){return i.isWindow(e)?e:e.nodeType===9&&e.defaultView}i.offset={setOffset:function(e,t,n){var r,o,s,u,c,p,g,d=i.css(e,"position"),w=i(e),T={};d==="static"&&(e.style.position="relative"),c=w.offset(),s=i.css(e,"top"),p=i.css(e,"left"),g=(d==="absolute"||d==="fixed")&&(s+p).indexOf("auto")>-1,g?(r=w.position(),u=r.top,o=r.left):(u=parseFloat(s)||0,o=parseFloat(p)||0),i.isFunction(t)&&(t=t.call(e,n,i.