super-agent-sdk 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +6 -0
- package/dist/index.mjs +152 -133
- package/dist/{mammoth.browser-CmEXxaIp.js → mammoth.browser-BmR8YfeV.js} +1 -1
- package/dist/{mammoth.browser-BX8glWVC.cjs → mammoth.browser-ClkRBm1A.cjs} +1 -1
- package/dist/{nosUploader-KkzFK5EW.cjs → nosUploader-CgVOa1Lz.cjs} +5 -5
- package/dist/{nosUploader-BkBtdrMs.js → nosUploader-CnYDALPr.js} +732 -699
- package/dist/widget.cjs +21 -21
- package/dist/widget.d.ts +1 -1
- package/dist/widget.mjs +1173 -1118
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function
|
|
1
|
+
"use strict";const on="sa.chat.pending";function Qr(ne){try{localStorage.setItem(on,JSON.stringify(ne))}catch{}}function Yr(){try{const ne=localStorage.getItem(on);if(!ne)return null;localStorage.removeItem(on);const I=JSON.parse(ne);return typeof(I==null?void 0:I.message)=="string"&&typeof(I==null?void 0:I.sessionId)=="string"&&typeof(I==null?void 0:I.botId)=="number"?I:null}catch{return null}}async function Jr(ne){try{const I=await ne.json(),O=(I==null?void 0:I.data)??I;return(O==null?void 0:O.code)==="cookie_expired"||(I==null?void 0:I.code)==="cookie_expired"?{isCookieExpired:!0,loginUrl:(O==null?void 0:O.login_url)??(O==null?void 0:O.loginUrl),sessionId:(O==null?void 0:O.session_id)??(O==null?void 0:O.sessionId)}:{isCookieExpired:!1}}catch{return{isCookieExpired:!1}}}var tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sn(ne){return ne&&ne.__esModule&&Object.prototype.hasOwnProperty.call(ne,"default")?ne.default:ne}function Zr(ne){if(ne.__esModule)return ne;var I=ne.default;if(typeof I=="function"){var O=function T(){return this instanceof T?Reflect.construct(I,arguments,this.constructor):I.apply(this,arguments)};O.prototype=I.prototype}else O={};return Object.defineProperty(O,"__esModule",{value:!0}),Object.keys(ne).forEach(function(T){var b=Object.getOwnPropertyDescriptor(ne,T);Object.defineProperty(O,T,b.get?b:{enumerable:!0,get:function(){return ne[T]}})}),O}var Un={exports:{}};function Kn(ne){throw new Error('Could not dynamically require "'+ne+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var rn={exports:{}};const ei={},ti=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),ni=Zr(ti);var $n;function ri(){return $n||($n=1,function(ne,I){(function(O,T){ne.exports=T()})(tt,function(){var O=O||function(T,b){var N;if(typeof window<"u"&&window.crypto&&(N=window.crypto),typeof self<"u"&&self.crypto&&(N=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(N=globalThis.crypto),!N&&typeof window<"u"&&window.msCrypto&&(N=window.msCrypto),!N&&typeof tt<"u"&&tt.crypto&&(N=tt.crypto),!N&&typeof Kn=="function")try{N=ni}catch{}var X=function(){if(N){if(typeof N.getRandomValues=="function")try{return N.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof N.randomBytes=="function")try{return N.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},W=Object.create||function(){function C(){}return function(H){var L;return C.prototype=H,L=new C,C.prototype=null,L}}(),ue={},w=ue.lib={},pe=w.Base=function(){return{extend:function(C){var H=W(this);return C&&H.mixIn(C),(!H.hasOwnProperty("init")||this.init===H.init)&&(H.init=function(){H.$super.init.apply(this,arguments)}),H.init.prototype=H,H.$super=this,H},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var H in C)C.hasOwnProperty(H)&&(this[H]=C[H]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),ie=w.WordArray=pe.extend({init:function(C,H){C=this.words=C||[],H!=b?this.sigBytes=H:this.sigBytes=C.length*4},toString:function(C){return(C||G).stringify(this)},concat:function(C){var H=this.words,L=C.words,$=this.sigBytes,J=C.sigBytes;if(this.clamp(),$%4)for(var i=0;i<J;i++){var he=L[i>>>2]>>>24-i%4*8&255;H[$+i>>>2]|=he<<24-($+i)%4*8}else for(var Q=0;Q<J;Q+=4)H[$+Q>>>2]=L[Q>>>2];return this.sigBytes+=J,this},clamp:function(){var C=this.words,H=this.sigBytes;C[H>>>2]&=4294967295<<32-H%4*8,C.length=T.ceil(H/4)},clone:function(){var C=pe.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var H=[],L=0;L<C;L+=4)H.push(X());return new ie.init(H,C)}}),ae=ue.enc={},G=ae.Hex={stringify:function(C){for(var H=C.words,L=C.sigBytes,$=[],J=0;J<L;J++){var i=H[J>>>2]>>>24-J%4*8&255;$.push((i>>>4).toString(16)),$.push((i&15).toString(16))}return $.join("")},parse:function(C){for(var H=C.length,L=[],$=0;$<H;$+=2)L[$>>>3]|=parseInt(C.substr($,2),16)<<24-$%8*4;return new ie.init(L,H/2)}},D=ae.Latin1={stringify:function(C){for(var H=C.words,L=C.sigBytes,$=[],J=0;J<L;J++){var i=H[J>>>2]>>>24-J%4*8&255;$.push(String.fromCharCode(i))}return $.join("")},parse:function(C){for(var H=C.length,L=[],$=0;$<H;$++)L[$>>>2]|=(C.charCodeAt($)&255)<<24-$%4*8;return new ie.init(L,H)}},m=ae.Utf8={stringify:function(C){try{return decodeURIComponent(escape(D.stringify(C)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(C){return D.parse(unescape(encodeURIComponent(C)))}},U=w.BufferedBlockAlgorithm=pe.extend({reset:function(){this._data=new ie.init,this._nDataBytes=0},_append:function(C){typeof C=="string"&&(C=m.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var H,L=this._data,$=L.words,J=L.sigBytes,i=this.blockSize,he=i*4,Q=J/he;C?Q=T.ceil(Q):Q=T.max((Q|0)-this._minBufferSize,0);var ke=Q*i,Fe=T.min(ke*4,J);if(ke){for(var De=0;De<ke;De+=i)this._doProcessBlock($,De);H=$.splice(0,ke),L.sigBytes-=Fe}return new ie.init(H,Fe)},clone:function(){var C=pe.clone.call(this);return C._data=this._data.clone(),C},_minBufferSize:0});w.Hasher=U.extend({cfg:pe.extend(),init:function(C){this.cfg=this.cfg.extend(C),this.reset()},reset:function(){U.reset.call(this),this._doReset()},update:function(C){return this._append(C),this._process(),this},finalize:function(C){C&&this._append(C);var H=this._doFinalize();return H},blockSize:16,_createHelper:function(C){return function(H,L){return new C.init(L).finalize(H)}},_createHmacHelper:function(C){return function(H,L){return new P.HMAC.init(C,L).finalize(H)}}});var P=ue.algo={};return ue}(Math);return O})}(rn)),rn.exports}(function(ne,I){(function(O,T){ne.exports=T(ri())})(tt,function(O){return function(T){var b=O,N=b.lib,X=N.WordArray,W=N.Hasher,ue=b.algo,w=[];(function(){for(var m=0;m<64;m++)w[m]=T.abs(T.sin(m+1))*4294967296|0})();var pe=ue.MD5=W.extend({_doReset:function(){this._hash=new X.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,U){for(var P=0;P<16;P++){var C=U+P,H=m[C];m[C]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360}var L=this._hash.words,$=m[U+0],J=m[U+1],i=m[U+2],he=m[U+3],Q=m[U+4],ke=m[U+5],Fe=m[U+6],De=m[U+7],oe=m[U+8],Oe=m[U+9],nt=m[U+10],rt=m[U+11],xe=m[U+12],Ue=m[U+13],je=m[U+14],Ge=m[U+15],k=L[0],j=L[1],E=L[2],_=L[3];k=ie(k,j,E,_,$,7,w[0]),_=ie(_,k,j,E,J,12,w[1]),E=ie(E,_,k,j,i,17,w[2]),j=ie(j,E,_,k,he,22,w[3]),k=ie(k,j,E,_,Q,7,w[4]),_=ie(_,k,j,E,ke,12,w[5]),E=ie(E,_,k,j,Fe,17,w[6]),j=ie(j,E,_,k,De,22,w[7]),k=ie(k,j,E,_,oe,7,w[8]),_=ie(_,k,j,E,Oe,12,w[9]),E=ie(E,_,k,j,nt,17,w[10]),j=ie(j,E,_,k,rt,22,w[11]),k=ie(k,j,E,_,xe,7,w[12]),_=ie(_,k,j,E,Ue,12,w[13]),E=ie(E,_,k,j,je,17,w[14]),j=ie(j,E,_,k,Ge,22,w[15]),k=ae(k,j,E,_,J,5,w[16]),_=ae(_,k,j,E,Fe,9,w[17]),E=ae(E,_,k,j,rt,14,w[18]),j=ae(j,E,_,k,$,20,w[19]),k=ae(k,j,E,_,ke,5,w[20]),_=ae(_,k,j,E,nt,9,w[21]),E=ae(E,_,k,j,Ge,14,w[22]),j=ae(j,E,_,k,Q,20,w[23]),k=ae(k,j,E,_,Oe,5,w[24]),_=ae(_,k,j,E,je,9,w[25]),E=ae(E,_,k,j,he,14,w[26]),j=ae(j,E,_,k,oe,20,w[27]),k=ae(k,j,E,_,Ue,5,w[28]),_=ae(_,k,j,E,i,9,w[29]),E=ae(E,_,k,j,De,14,w[30]),j=ae(j,E,_,k,xe,20,w[31]),k=G(k,j,E,_,ke,4,w[32]),_=G(_,k,j,E,oe,11,w[33]),E=G(E,_,k,j,rt,16,w[34]),j=G(j,E,_,k,je,23,w[35]),k=G(k,j,E,_,J,4,w[36]),_=G(_,k,j,E,Q,11,w[37]),E=G(E,_,k,j,De,16,w[38]),j=G(j,E,_,k,nt,23,w[39]),k=G(k,j,E,_,Ue,4,w[40]),_=G(_,k,j,E,$,11,w[41]),E=G(E,_,k,j,he,16,w[42]),j=G(j,E,_,k,Fe,23,w[43]),k=G(k,j,E,_,Oe,4,w[44]),_=G(_,k,j,E,xe,11,w[45]),E=G(E,_,k,j,Ge,16,w[46]),j=G(j,E,_,k,i,23,w[47]),k=D(k,j,E,_,$,6,w[48]),_=D(_,k,j,E,De,10,w[49]),E=D(E,_,k,j,je,15,w[50]),j=D(j,E,_,k,ke,21,w[51]),k=D(k,j,E,_,xe,6,w[52]),_=D(_,k,j,E,he,10,w[53]),E=D(E,_,k,j,nt,15,w[54]),j=D(j,E,_,k,J,21,w[55]),k=D(k,j,E,_,oe,6,w[56]),_=D(_,k,j,E,Ge,10,w[57]),E=D(E,_,k,j,Fe,15,w[58]),j=D(j,E,_,k,Ue,21,w[59]),k=D(k,j,E,_,Q,6,w[60]),_=D(_,k,j,E,rt,10,w[61]),E=D(E,_,k,j,i,15,w[62]),j=D(j,E,_,k,Oe,21,w[63]),L[0]=L[0]+k|0,L[1]=L[1]+j|0,L[2]=L[2]+E|0,L[3]=L[3]+_|0},_doFinalize:function(){var m=this._data,U=m.words,P=this._nDataBytes*8,C=m.sigBytes*8;U[C>>>5]|=128<<24-C%32;var H=T.floor(P/4294967296),L=P;U[(C+64>>>9<<4)+15]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,U[(C+64>>>9<<4)+14]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,m.sigBytes=(U.length+1)*4,this._process();for(var $=this._hash,J=$.words,i=0;i<4;i++){var he=J[i];J[i]=(he<<8|he>>>24)&16711935|(he<<24|he>>>8)&4278255360}return $},clone:function(){var m=W.clone.call(this);return m._hash=this._hash.clone(),m}});function ie(m,U,P,C,H,L,$){var J=m+(U&P|~U&C)+H+$;return(J<<L|J>>>32-L)+U}function ae(m,U,P,C,H,L,$){var J=m+(U&C|P&~C)+H+$;return(J<<L|J>>>32-L)+U}function G(m,U,P,C,H,L,$){var J=m+(U^P^C)+H+$;return(J<<L|J>>>32-L)+U}function D(m,U,P,C,H,L,$){var J=m+(P^(U|~C))+H+$;return(J<<L|J>>>32-L)+U}b.MD5=W._createHelper(pe),b.HmacMD5=W._createHmacHelper(pe)}(Math),O.MD5})})(Un);var ii=Un.exports;const Vn=sn(ii);var Xn={exports:{}};/*!
|
|
2
2
|
* jQuery JavaScript Library v3.7.1
|
|
3
3
|
* https://jquery.com/
|
|
4
4
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* https://jquery.org/license
|
|
8
8
|
*
|
|
9
9
|
* Date: 2023-08-28T13:37Z
|
|
10
|
-
*/(function(fe){(function(F,I){fe.exports=F.document?I(F,!0):function(T){if(!T.document)throw new Error("jQuery requires a window with a document");return I(T)}})(typeof window<"u"?window:tt,function(F,I){var T=[],b=Object.getPrototypeOf,N=T.slice,X=T.flat?function(e){return T.flat.call(e)}:function(e){return T.concat.apply([],e)},W=T.push,se=T.indexOf,w={},pe=w.toString,re=w.hasOwnProperty,ue=re.toString,G=ue.call(Object),D={},m=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},U=function(t){return t!=null&&t===t.window},R=F.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function O(e,t,n){n=n||R;var r,o,s=n.createElement("script");if(s.text=e,t)for(r in C)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&s.setAttribute(r,o);n.head.appendChild(s).parentNode.removeChild(s)}function L(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?w[pe.call(e)]||"object":typeof e}var $="3.7.1",J=/HTML$/i,i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:$,constructor:i,length:0,toArray:function(){return N.call(this)},get:function(e){return e==null?N.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(N.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:W,sort:T.sort,splice:T.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,s,u=arguments[0]||{},c=1,f=arguments.length,d=!1;for(typeof u=="boolean"&&(d=u,u=arguments[c]||{},c++),typeof u!="object"&&!m(u)&&(u={}),c===f&&(u=this,c--);c<f;c++)if((e=arguments[c])!=null)for(t in e)r=e[t],!(t==="__proto__"||u===r)&&(d&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=u[t],o&&!Array.isArray(n)?s=[]:!o&&!i.isPlainObject(n)?s={}:s=n,o=!1,u[t]=i.extend(d,s,r)):r!==void 0&&(u[t]=r));return u},i.extend({expando:"jQuery"+($+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||pe.call(e)!=="[object Object]"?!1:(t=b(e),t?(n=re.call(t,"constructor")&&t.constructor,typeof n=="function"&&ue.call(n)===G):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){O(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(he(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&&(he(Object(e))?i.merge(n,typeof e=="string"?[e]:e):W.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!J.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=[],s=0,u=e.length,c=!n;s<u;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(he(e))for(r=e.length;s<r;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 X(u)},guid:1,support:D}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=T[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){w["[object "+t+"]"]=t.toLowerCase()});function he(e){var t=!!e&&"length"in e&&e.length,n=L(e);return m(e)||U(e)?!1:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function Q(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var je=T.pop,Fe=T.sort,De=T.splice,ie="[\\x20\\t\\r\\n\\f]",Oe=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g");i.contains=function(e,t){var n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(e.contains?e.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))};var nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function rt(e,t){return t?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}i.escapeSelector=function(e){return(e+"").replace(nt,rt)};var xe=R,Ue=W;(function(){var e,t,n,r,o,s=Ue,u,c,f,d,y,x=i.expando,h=0,S=0,V=Dt(),ne=Dt(),Y=Dt(),ge=Dt(),de=function(a,l){return a===l&&(o=!0),0},qe="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Re="(?:\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",te="\\["+ie+"*("+Re+")(?:"+ie+"*([*^$|!~]?=)"+ie+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Re+"))|)"+ie+"*\\]",Ze=":("+Re+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+te+")*)|.*)\\)|)",oe=new RegExp(ie+"+","g"),le=new RegExp("^"+ie+"*,"+ie+"*"),Ct=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),Qt=new RegExp(ie+"|>"),Ie=new RegExp(Ze),Tt=new RegExp("^"+Re+"$"),Me={ID:new RegExp("^#("+Re+")"),CLASS:new RegExp("^\\.("+Re+")"),TAG:new RegExp("^("+Re+"|[*])"),ATTR:new RegExp("^"+te),PSEUDO:new RegExp("^"+Ze),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+qe+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},Ve=/^(?:input|select|textarea|button)$/i,Ke=/^h\d$/i,Ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Yt=/[+~]/,$e=new RegExp("\\\\[\\da-fA-F]{1,6}"+ie+"?|\\\\([^\\r\\n\\f])","g"),ze=function(a,l){var p="0x"+a.slice(1)-65536;return l||(p<0?String.fromCharCode(p+65536):String.fromCharCode(p>>10|55296,p&1023|56320))},Wr=function(){Xe()},$r=Lt(function(a){return a.disabled===!0&&Q(a,"fieldset")},{dir:"parentNode",next:"legend"});function zr(){try{return u.activeElement}catch{}}try{s.apply(T=N.call(xe.childNodes),xe.childNodes),T[xe.childNodes.length].nodeType}catch{s={apply:function(l,p){Ue.apply(l,N.call(p))},call:function(l){Ue.apply(l,N.call(arguments,1))}}}function ae(a,l,p,g){var v,_,H,M,q,Z,z,K=l&&l.ownerDocument,ee=l?l.nodeType:9;if(p=p||[],typeof a!="string"||!a||ee!==1&&ee!==9&&ee!==11)return p;if(!g&&(Xe(l),l=l||u,f)){if(ee!==11&&(q=Ne.exec(a)))if(v=q[1]){if(ee===9)if(H=l.getElementById(v)){if(H.id===v)return s.call(p,H),p}else return p;else if(K&&(H=K.getElementById(v))&&ae.contains(l,H)&&H.id===v)return s.call(p,H),p}else{if(q[2])return s.apply(p,l.getElementsByTagName(a)),p;if((v=q[3])&&l.getElementsByClassName)return s.apply(p,l.getElementsByClassName(v)),p}if(!ge[a+" "]&&(!d||!d.test(a))){if(z=a,K=l,ee===1&&(Qt.test(a)||Ct.test(a))){for(K=Yt.test(a)&&Jt(l.parentNode)||l,(K!=l||!D.scope)&&((M=l.getAttribute("id"))?M=i.escapeSelector(M):l.setAttribute("id",M=x)),Z=wt(a),_=Z.length;_--;)Z[_]=(M?"#"+M:":scope")+" "+Ot(Z[_]);z=Z.join(",")}try{return s.apply(p,K.querySelectorAll(z)),p}catch{ge(a,!0)}finally{M===x&&l.removeAttribute("id")}}}return Bn(a.replace(Oe,"$1"),l,p,g)}function Dt(){var a=[];function l(p,g){return a.push(p+" ")>t.cacheLength&&delete l[a.shift()],l[p+" "]=g}return l}function _e(a){return a[x]=!0,a}function lt(a){var l=u.createElement("fieldset");try{return!!a(l)}catch{return!1}finally{l.parentNode&&l.parentNode.removeChild(l),l=null}}function Ur(a){return function(l){return Q(l,"input")&&l.type===a}}function Vr(a){return function(l){return(Q(l,"input")||Q(l,"button"))&&l.type===a}}function Pn(a){return function(l){return"form"in l?l.parentNode&&l.disabled===!1?"label"in l?"label"in l.parentNode?l.parentNode.disabled===a:l.disabled===a:l.isDisabled===a||l.isDisabled!==!a&&$r(l)===a:l.disabled===a:"label"in l?l.disabled===a:!1}}function et(a){return _e(function(l){return l=+l,_e(function(p,g){for(var v,_=a([],p.length,l),H=_.length;H--;)p[v=_[H]]&&(p[v]=!(g[v]=p[v]))})})}function Jt(a){return a&&typeof a.getElementsByTagName<"u"&&a}function Xe(a){var l,p=a?a.ownerDocument||a:xe;return p==u||p.nodeType!==9||!p.documentElement||(u=p,c=u.documentElement,f=!i.isXMLDoc(u),y=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&xe!=u&&(l=u.defaultView)&&l.top!==l&&l.addEventListener("unload",Wr),D.getById=lt(function(g){return c.appendChild(g).id=i.expando,!u.getElementsByName||!u.getElementsByName(i.expando).length}),D.disconnectedMatch=lt(function(g){return y.call(g,"*")}),D.scope=lt(function(){return u.querySelectorAll(":scope")}),D.cssHas=lt(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),D.getById?(t.filter.ID=function(g){var v=g.replace($e,ze);return function(_){return _.getAttribute("id")===v}},t.find.ID=function(g,v){if(typeof v.getElementById<"u"&&f){var _=v.getElementById(g);return _?[_]:[]}}):(t.filter.ID=function(g){var v=g.replace($e,ze);return function(_){var H=typeof _.getAttributeNode<"u"&&_.getAttributeNode("id");return H&&H.value===v}},t.find.ID=function(g,v){if(typeof v.getElementById<"u"&&f){var _,H,M,q=v.getElementById(g);if(q){if(_=q.getAttributeNode("id"),_&&_.value===g)return[q];for(M=v.getElementsByName(g),H=0;q=M[H++];)if(_=q.getAttributeNode("id"),_&&_.value===g)return[q]}return[]}}),t.find.TAG=function(g,v){return typeof v.getElementsByTagName<"u"?v.getElementsByTagName(g):v.querySelectorAll(g)},t.find.CLASS=function(g,v){if(typeof v.getElementsByClassName<"u"&&f)return v.getElementsByClassName(g)},d=[],lt(function(g){var v;c.appendChild(g).innerHTML="<a id='"+x+"' href='' disabled='disabled'></a><select id='"+x+"-\r\\' disabled='disabled'><option selected=''></option></select>",g.querySelectorAll("[selected]").length||d.push("\\["+ie+"*(?:value|"+qe+")"),g.querySelectorAll("[id~="+x+"-]").length||d.push("~="),g.querySelectorAll("a#"+x+"+*").length||d.push(".#.+[+~]"),g.querySelectorAll(":checked").length||d.push(":checked"),v=u.createElement("input"),v.setAttribute("type","hidden"),g.appendChild(v).setAttribute("name","D"),c.appendChild(g).disabled=!0,g.querySelectorAll(":disabled").length!==2&&d.push(":enabled",":disabled"),v=u.createElement("input"),v.setAttribute("name",""),g.appendChild(v),g.querySelectorAll("[name='']").length||d.push("\\["+ie+"*name"+ie+"*="+ie+`*(?:''|"")`)}),D.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),de=function(g,v){if(g===v)return o=!0,0;var _=!g.compareDocumentPosition-!v.compareDocumentPosition;return _||(_=(g.ownerDocument||g)==(v.ownerDocument||v)?g.compareDocumentPosition(v):1,_&1||!D.sortDetached&&v.compareDocumentPosition(g)===_?g===u||g.ownerDocument==xe&&ae.contains(xe,g)?-1:v===u||v.ownerDocument==xe&&ae.contains(xe,v)?1:r?se.call(r,g)-se.call(r,v):0:_&4?-1:1)}),u}ae.matches=function(a,l){return ae(a,null,null,l)},ae.matchesSelector=function(a,l){if(Xe(a),f&&!ge[l+" "]&&(!d||!d.test(l)))try{var p=y.call(a,l);if(p||D.disconnectedMatch||a.document&&a.document.nodeType!==11)return p}catch{ge(l,!0)}return ae(l,u,null,[a]).length>0},ae.contains=function(a,l){return(a.ownerDocument||a)!=u&&Xe(a),i.contains(a,l)},ae.attr=function(a,l){(a.ownerDocument||a)!=u&&Xe(a);var p=t.attrHandle[l.toLowerCase()],g=p&&re.call(t.attrHandle,l.toLowerCase())?p(a,l,!f):void 0;return g!==void 0?g:a.getAttribute(l)},ae.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},i.uniqueSort=function(a){var l,p=[],g=0,v=0;if(o=!D.sortStable,r=!D.sortStable&&N.call(a,0),Fe.call(a,de),o){for(;l=a[v++];)l===a[v]&&(g=p.push(v));for(;g--;)De.call(a,p[g],1)}return r=null,a},i.fn.uniqueSort=function(){return this.pushStack(i.uniqueSort(N.apply(this)))},t=i.expr={cacheLength:50,createPseudo:_e,match:Me,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace($e,ze),a[3]=(a[3]||a[4]||a[5]||"").replace($e,ze),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1].slice(0,3)==="nth"?(a[3]||ae.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(a[3]==="even"||a[3]==="odd")),a[5]=+(a[7]+a[8]||a[3]==="odd")):a[3]&&ae.error(a[0]),a},PSEUDO:function(a){var l,p=!a[6]&&a[2];return Me.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":p&&Ie.test(p)&&(l=wt(p,!0))&&(l=p.indexOf(")",p.length-l)-p.length)&&(a[0]=a[0].slice(0,l),a[2]=p.slice(0,l)),a.slice(0,3))}},filter:{TAG:function(a){var l=a.replace($e,ze).toLowerCase();return a==="*"?function(){return!0}:function(p){return Q(p,l)}},CLASS:function(a){var l=V[a+" "];return l||(l=new RegExp("(^|"+ie+")"+a+"("+ie+"|$)"))&&V(a,function(p){return l.test(typeof p.className=="string"&&p.className||typeof p.getAttribute<"u"&&p.getAttribute("class")||"")})},ATTR:function(a,l,p){return function(g){var v=ae.attr(g,a);return v==null?l==="!=":l?(v+="",l==="="?v===p:l==="!="?v!==p:l==="^="?p&&v.indexOf(p)===0:l==="*="?p&&v.indexOf(p)>-1:l==="$="?p&&v.slice(-p.length)===p:l==="~="?(" "+v.replace(oe," ")+" ").indexOf(p)>-1:l==="|="?v===p||v.slice(0,p.length+1)===p+"-":!1):!0}},CHILD:function(a,l,p,g,v){var _=a.slice(0,3)!=="nth",H=a.slice(-4)!=="last",M=l==="of-type";return g===1&&v===0?function(q){return!!q.parentNode}:function(q,Z,z){var K,ee,B,ce,Te,ye=_!==H?"nextSibling":"previousSibling",Ee=q.parentNode,Pe=M&&q.nodeName.toLowerCase(),dt=!z&&!M,ve=!1;if(Ee){if(_){for(;ye;){for(B=q;B=B[ye];)if(M?Q(B,Pe):B.nodeType===1)return!1;Te=ye=a==="only"&&!Te&&"nextSibling"}return!0}if(Te=[H?Ee.firstChild:Ee.lastChild],H&&dt){for(ee=Ee[x]||(Ee[x]={}),K=ee[a]||[],ce=K[0]===h&&K[1],ve=ce&&K[2],B=ce&&Ee.childNodes[ce];B=++ce&&B&&B[ye]||(ve=ce=0)||Te.pop();)if(B.nodeType===1&&++ve&&B===q){ee[a]=[h,ce,ve];break}}else if(dt&&(ee=q[x]||(q[x]={}),K=ee[a]||[],ce=K[0]===h&&K[1],ve=ce),ve===!1)for(;(B=++ce&&B&&B[ye]||(ve=ce=0)||Te.pop())&&!((M?Q(B,Pe):B.nodeType===1)&&++ve&&(dt&&(ee=B[x]||(B[x]={}),ee[a]=[h,ve]),B===q)););return ve-=v,ve===g||ve%g===0&&ve/g>=0}}},PSEUDO:function(a,l){var p,g=t.pseudos[a]||t.setFilters[a.toLowerCase()]||ae.error("unsupported pseudo: "+a);return g[x]?g(l):g.length>1?(p=[a,a,"",l],t.setFilters.hasOwnProperty(a.toLowerCase())?_e(function(v,_){for(var H,M=g(v,l),q=M.length;q--;)H=se.call(v,M[q]),v[H]=!(_[H]=M[q])}):function(v){return g(v,0,p)}):g}},pseudos:{not:_e(function(a){var l=[],p=[],g=nn(a.replace(Oe,"$1"));return g[x]?_e(function(v,_,H,M){for(var q,Z=g(v,null,M,[]),z=v.length;z--;)(q=Z[z])&&(v[z]=!(_[z]=q))}):function(v,_,H){return l[0]=v,g(l,null,H,p),l[0]=null,!p.pop()}}),has:_e(function(a){return function(l){return ae(a,l).length>0}}),contains:_e(function(a){return a=a.replace($e,ze),function(l){return(l.textContent||i.text(l)).indexOf(a)>-1}}),lang:_e(function(a){return Tt.test(a||"")||ae.error("unsupported lang: "+a),a=a.replace($e,ze).toLowerCase(),function(l){var p;do if(p=f?l.lang:l.getAttribute("xml:lang")||l.getAttribute("lang"))return p=p.toLowerCase(),p===a||p.indexOf(a+"-")===0;while((l=l.parentNode)&&l.nodeType===1);return!1}}),target:function(a){var l=F.location&&F.location.hash;return l&&l.slice(1)===a.id},root:function(a){return a===c},focus:function(a){return a===zr()&&u.hasFocus()&&!!(a.type||a.href||~a.tabIndex)},enabled:Pn(!1),disabled:Pn(!0),checked:function(a){return Q(a,"input")&&!!a.checked||Q(a,"option")&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!t.pseudos.empty(a)},header:function(a){return Ke.test(a.nodeName)},input:function(a){return Ve.test(a.nodeName)},button:function(a){return Q(a,"input")&&a.type==="button"||Q(a,"button")},text:function(a){var l;return Q(a,"input")&&a.type==="text"&&((l=a.getAttribute("type"))==null||l.toLowerCase()==="text")},first:et(function(){return[0]}),last:et(function(a,l){return[l-1]}),eq:et(function(a,l,p){return[p<0?p+l:p]}),even:et(function(a,l){for(var p=0;p<l;p+=2)a.push(p);return a}),odd:et(function(a,l){for(var p=1;p<l;p+=2)a.push(p);return a}),lt:et(function(a,l,p){var g;for(p<0?g=p+l:p>l?g=l:g=p;--g>=0;)a.push(g);return a}),gt:et(function(a,l,p){for(var g=p<0?p+l:p;++g<l;)a.push(g);return a})}},t.pseudos.nth=t.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=Ur(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=Vr(e);function Fn(){}Fn.prototype=t.filters=t.pseudos,t.setFilters=new Fn;function wt(a,l){var p,g,v,_,H,M,q,Z=ne[a+" "];if(Z)return l?0:Z.slice(0);for(H=a,M=[],q=t.preFilter;H;){(!p||(g=le.exec(H)))&&(g&&(H=H.slice(g[0].length)||H),M.push(v=[])),p=!1,(g=Ct.exec(H))&&(p=g.shift(),v.push({value:p,type:g[0].replace(Oe," ")}),H=H.slice(p.length));for(_ in t.filter)(g=Me[_].exec(H))&&(!q[_]||(g=q[_](g)))&&(p=g.shift(),v.push({value:p,type:_,matches:g}),H=H.slice(p.length));if(!p)break}return l?H.length:H?ae.error(a):ne(a,M).slice(0)}function Ot(a){for(var l=0,p=a.length,g="";l<p;l++)g+=a[l].value;return g}function Lt(a,l,p){var g=l.dir,v=l.next,_=v||g,H=p&&_==="parentNode",M=S++;return l.first?function(q,Z,z){for(;q=q[g];)if(q.nodeType===1||H)return a(q,Z,z);return!1}:function(q,Z,z){var K,ee,B=[h,M];if(z){for(;q=q[g];)if((q.nodeType===1||H)&&a(q,Z,z))return!0}else for(;q=q[g];)if(q.nodeType===1||H)if(ee=q[x]||(q[x]={}),v&&Q(q,v))q=q[g]||q;else{if((K=ee[_])&&K[0]===h&&K[1]===M)return B[2]=K[2];if(ee[_]=B,B[2]=a(q,Z,z))return!0}return!1}}function Zt(a){return a.length>1?function(l,p,g){for(var v=a.length;v--;)if(!a[v](l,p,g))return!1;return!0}:a[0]}function Kr(a,l,p){for(var g=0,v=l.length;g<v;g++)ae(a,l[g],p);return p}function Ht(a,l,p,g,v){for(var _,H=[],M=0,q=a.length,Z=l!=null;M<q;M++)(_=a[M])&&(!p||p(_,g,v))&&(H.push(_),Z&&l.push(M));return H}function en(a,l,p,g,v,_){return g&&!g[x]&&(g=en(g)),v&&!v[x]&&(v=en(v,_)),_e(function(H,M,q,Z){var z,K,ee,B,ce=[],Te=[],ye=M.length,Ee=H||Kr(l||"*",q.nodeType?[q]:q,[]),Pe=a&&(H||!l)?Ht(Ee,ce,a,q,Z):Ee;if(p?(B=v||(H?a:ye||g)?[]:M,p(Pe,B,q,Z)):B=Pe,g)for(z=Ht(B,Te),g(z,[],q,Z),K=z.length;K--;)(ee=z[K])&&(B[Te[K]]=!(Pe[Te[K]]=ee));if(H){if(v||a){if(v){for(z=[],K=B.length;K--;)(ee=B[K])&&z.push(Pe[K]=ee);v(null,B=[],z,Z)}for(K=B.length;K--;)(ee=B[K])&&(z=v?se.call(H,ee):ce[K])>-1&&(H[z]=!(M[z]=ee))}}else B=Ht(B===M?B.splice(ye,B.length):B),v?v(null,M,B,Z):s.apply(M,B)})}function tn(a){for(var l,p,g,v=a.length,_=t.relative[a[0].type],H=_||t.relative[" "],M=_?1:0,q=Lt(function(K){return K===l},H,!0),Z=Lt(function(K){return se.call(l,K)>-1},H,!0),z=[function(K,ee,B){var ce=!_&&(B||ee!=n)||((l=ee).nodeType?q(K,ee,B):Z(K,ee,B));return l=null,ce}];M<v;M++)if(p=t.relative[a[M].type])z=[Lt(Zt(z),p)];else{if(p=t.filter[a[M].type].apply(null,a[M].matches),p[x]){for(g=++M;g<v&&!t.relative[a[g].type];g++);return en(M>1&&Zt(z),M>1&&Ot(a.slice(0,M-1).concat({value:a[M-2].type===" "?"*":""})).replace(Oe,"$1"),p,M<g&&tn(a.slice(M,g)),g<v&&tn(a=a.slice(g)),g<v&&Ot(a))}z.push(p)}return Zt(z)}function Xr(a,l){var p=l.length>0,g=a.length>0,v=function(_,H,M,q,Z){var z,K,ee,B=0,ce="0",Te=_&&[],ye=[],Ee=n,Pe=_||g&&t.find.TAG("*",Z),dt=h+=Ee==null?1:Math.random()||.1,ve=Pe.length;for(Z&&(n=H==u||H||Z);ce!==ve&&(z=Pe[ce])!=null;ce++){if(g&&z){for(K=0,!H&&z.ownerDocument!=u&&(Xe(z),M=!f);ee=a[K++];)if(ee(z,H||u,M)){s.call(q,z);break}Z&&(h=dt)}p&&((z=!ee&&z)&&B--,_&&Te.push(z))}if(B+=ce,p&&ce!==B){for(K=0;ee=l[K++];)ee(Te,ye,H,M);if(_){if(B>0)for(;ce--;)Te[ce]||ye[ce]||(ye[ce]=je.call(q));ye=Ht(ye)}s.apply(q,ye),Z&&!_&&ye.length>0&&B+l.length>1&&i.uniqueSort(q)}return Z&&(h=dt,n=Ee),Te};return p?_e(v):v}function nn(a,l){var p,g=[],v=[],_=Y[a+" "];if(!_){for(l||(l=wt(a)),p=l.length;p--;)_=tn(l[p]),_[x]?g.push(_):v.push(_);_=Y(a,Xr(v,g)),_.selector=a}return _}function Bn(a,l,p,g){var v,_,H,M,q,Z=typeof a=="function"&&a,z=!g&&wt(a=Z.selector||a);if(p=p||[],z.length===1){if(_=z[0]=z[0].slice(0),_.length>2&&(H=_[0]).type==="ID"&&l.nodeType===9&&f&&t.relative[_[1].type]){if(l=(t.find.ID(H.matches[0].replace($e,ze),l)||[])[0],l)Z&&(l=l.parentNode);else return p;a=a.slice(_.shift().value.length)}for(v=Me.needsContext.test(a)?0:_.length;v--&&(H=_[v],!t.relative[M=H.type]);)if((q=t.find[M])&&(g=q(H.matches[0].replace($e,ze),Yt.test(_[0].type)&&Jt(l.parentNode)||l))){if(_.splice(v,1),a=g.length&&Ot(_),!a)return s.apply(p,g),p;break}}return(Z||nn(a,z))(g,l,!f,p,!l||Yt.test(a)&&Jt(l.parentNode)||l),p}D.sortStable=x.split("").sort(de).join("")===x,Xe(),D.sortDetached=lt(function(a){return a.compareDocumentPosition(u.createElement("fieldset"))&1}),i.find=ae,i.expr[":"]=i.expr.pseudos,i.unique=i.uniqueSort,ae.compile=nn,ae.select=Bn,ae.setDocument=Xe,ae.tokenize=wt,ae.escape=i.escapeSelector,ae.getText=i.text,ae.isXML=i.isXMLDoc,ae.selectors=i.expr,ae.support=i.support,ae.uniqueSort=i.uniqueSort})();var ke=function(e,t,n){for(var r=[],o=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&i(e).is(n))break;r.push(e)}return r},Ge=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},j=i.expr.match.needsContext,k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,t,n){return m(t)?i.grep(e,function(r,o){return!!t.call(r,o,r)!==n}):t.nodeType?i.grep(e,function(r){return r===t!==n}):typeof t!="string"?i.grep(e,function(r){return se.call(t,r)>-1!==n}):i.filter(t,e,n)}i.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?i.find.matchesSelector(r,e)?[r]:[]:i.find.matches(e,i.grep(t,function(o){return o.nodeType===1}))},i.fn.extend({find:function(e){var t,n,r=this.length,o=this;if(typeof e!="string")return this.pushStack(i(e).filter(function(){for(t=0;t<r;t++)if(i.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)i.find(e,o[t],n);return r>1?i.uniqueSort(n):n},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,typeof e=="string"&&j.test(e)?i(e):e||[],!1).length}});var A,Xn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Gn=i.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||A,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?r=[null,e,null]:r=Xn.exec(e),r&&(r[1]||!t))if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:R,!0)),k.test(r[1])&&i.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}else return o=R.getElementById(r[2]),o&&(this[0]=o,this.length=1),this;else return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(m(e))return n.ready!==void 0?n.ready(e):e(i)}return i.makeArray(e,this)};Gn.prototype=i.fn,A=i(R);var Qn=/^(?:parents|prev(?:Until|All))/,Yn={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(e){var t=i(e,this),n=t.length;return this.filter(function(){for(var r=0;r<n;r++)if(i.contains(this,t[r]))return!0})},closest:function(e,t){var n,r=0,o=this.length,s=[],u=typeof e!="string"&&i(e);if(!j.test(e)){for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(u?u.index(n)>-1:n.nodeType===1&&i.find.matchesSelector(n,e))){s.push(n);break}}return this.pushStack(s.length>1?i.uniqueSort(s):s)},index:function(e){return e?typeof e=="string"?se.call(i(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function sn(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return ke(e,"parentNode")},parentsUntil:function(e,t,n){return ke(e,"parentNode",n)},next:function(e){return sn(e,"nextSibling")},prev:function(e){return sn(e,"previousSibling")},nextAll:function(e){return ke(e,"nextSibling")},prevAll:function(e){return ke(e,"previousSibling")},nextUntil:function(e,t,n){return ke(e,"nextSibling",n)},prevUntil:function(e,t,n){return ke(e,"previousSibling",n)},siblings:function(e){return Ge((e.parentNode||{}).firstChild,e)},children:function(e){return Ge(e.firstChild)},contents:function(e){return e.contentDocument!=null&&b(e.contentDocument)?e.contentDocument:(Q(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(n,r){var o=i.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(o=i.filter(r,o)),this.length>1&&(Yn[e]||i.uniqueSort(o),Qn.test(e)&&o.reverse()),this.pushStack(o)}});var Le=/[^\x20\t\r\n\f]+/g;function Jn(e){var t={};return i.each(e.match(Le)||[],function(n,r){t[r]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?Jn(e):i.extend({},e);var t,n,r,o,s=[],u=[],c=-1,f=function(){for(o=o||e.once,r=t=!0;u.length;c=-1)for(n=u.shift();++c<s.length;)s[c].apply(n[0],n[1])===!1&&e.stopOnFalse&&(c=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(n?s=[]:s="")},d={add:function(){return s&&(n&&!t&&(c=s.length-1,u.push(n)),function y(x){i.each(x,function(h,S){m(S)?(!e.unique||!d.has(S))&&s.push(S):S&&S.length&&L(S)!=="string"&&y(S)})}(arguments),n&&!t&&f()),this},remove:function(){return i.each(arguments,function(y,x){for(var h;(h=i.inArray(x,s,h))>-1;)s.splice(h,1),h<=c&&c--}),this},has:function(y){return y?i.inArray(y,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=u=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=u=[],!n&&!t&&(s=n=""),this},locked:function(){return!!o},fireWith:function(y,x){return o||(x=x||[],x=[y,x.slice?x.slice():x],u.push(x),t||f()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d};function it(e){return e}function St(e){throw e}function un(e,t,n,r){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(s){n.apply(void 0,[s])}}i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(s){return r.then(null,s)},pipe:function(){var s=arguments;return i.Deferred(function(u){i.each(t,function(c,f){var d=m(s[f[4]])&&s[f[4]];o[f[1]](function(){var y=d&&d.apply(this,arguments);y&&m(y.promise)?y.promise().progress(u.notify).done(u.resolve).fail(u.reject):u[f[0]+"With"](this,d?[y]:arguments)})}),s=null}).promise()},then:function(s,u,c){var f=0;function d(y,x,h,S){return function(){var V=this,ne=arguments,Y=function(){var de,qe;if(!(y<f)){if(de=h.apply(V,ne),de===x.promise())throw new TypeError("Thenable self-resolution");qe=de&&(typeof de=="object"||typeof de=="function")&&de.then,m(qe)?S?qe.call(de,d(f,x,it,S),d(f,x,St,S)):(f++,qe.call(de,d(f,x,it,S),d(f,x,St,S),d(f,x,it,x.notifyWith))):(h!==it&&(V=void 0,ne=[de]),(S||x.resolveWith)(V,ne))}},ge=S?Y:function(){try{Y()}catch(de){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(de,ge.error),y+1>=f&&(h!==St&&(V=void 0,ne=[de]),x.rejectWith(V,ne))}};y?ge():(i.Deferred.getErrorHook?ge.error=i.Deferred.getErrorHook():i.Deferred.getStackHook&&(ge.error=i.Deferred.getStackHook()),F.setTimeout(ge))}}return i.Deferred(function(y){t[0][3].add(d(0,y,m(c)?c:it,y.notifyWith)),t[1][3].add(d(0,y,m(s)?s:it)),t[2][3].add(d(0,y,m(u)?u:St))}).promise()},promise:function(s){return s!=null?i.extend(s,r):r}},o={};return i.each(t,function(s,u){var c=u[2],f=u[5];r[u[1]]=c.add,f&&c.add(function(){n=f},t[3-s][2].disable,t[3-s][3].disable,t[0][2].lock,t[0][3].lock),c.add(u[3].fire),o[u[0]]=function(){return o[u[0]+"With"](this===o?void 0:this,arguments),this},o[u[0]+"With"]=c.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=N.call(arguments),s=i.Deferred(),u=function(c){return function(f){r[c]=this,o[c]=arguments.length>1?N.call(arguments):f,--t||s.resolveWith(r,o)}};if(t<=1&&(un(e,s.done(u(n)).resolve,s.reject,!t),s.state()==="pending"||m(o[n]&&o[n].then)))return s.then();for(;n--;)un(o[n],u(n),s.reject);return s.promise()}});var Zn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){F.console&&F.console.warn&&e&&Zn.test(e.name)&&F.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){F.setTimeout(function(){throw e})};var qt=i.Deferred();i.fn.ready=function(e){return qt.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--i.readyWait:i.isReady)||(i.isReady=!0,!(e!==!0&&--i.readyWait>0)&&qt.resolveWith(R,[i]))}}),i.ready.then=qt.then;function Nt(){R.removeEventListener("DOMContentLoaded",Nt),F.removeEventListener("load",Nt),i.ready()}R.readyState==="complete"||R.readyState!=="loading"&&!R.documentElement.doScroll?F.setTimeout(i.ready):(R.addEventListener("DOMContentLoaded",Nt),F.addEventListener("load",Nt));var Be=function(e,t,n,r,o,s,u){var c=0,f=e.length,d=n==null;if(L(n)==="object"){o=!0;for(c in n)Be(e,t,c,n[c],!0,s,u)}else if(r!==void 0&&(o=!0,m(r)||(u=!0),d&&(u?(t.call(e,r),t=null):(d=t,t=function(y,x,h){return d.call(i(y),h)})),t))for(;c<f;c++)t(e[c],n,u?r:r.call(e[c],c,t(e[c],n)));return o?e:d?t.call(e):f?t(e[0],n):s},er=/^-ms-/,tr=/-([a-z])/g;function nr(e,t){return t.toUpperCase()}function He(e){return e.replace(er,"ms-").replace(tr,nr)}var pt=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function ht(){this.expando=i.expando+ht.uid++}ht.uid=1,ht.prototype={cache:function(e){var t=e[this.expando];return t||(t={},pt(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if(typeof t=="string")o[He(t)]=n;else for(r in t)o[He(r)]=t[r];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][He(t)]},access:function(e,t,n){return t===void 0||t&&typeof t=="string"&&n===void 0?this.get(e,t):(this.set(e,t,n),n!==void 0?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(He):(t=He(t),t=t in r?[t]:t.match(Le)||[]),n=t.length;n--;)delete r[t[n]];(t===void 0||i.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!i.isEmptyObject(t)}};var P=new ht,be=new ht,rr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ir=/[A-Z]/g;function or(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:rr.test(e)?JSON.parse(e):e}function an(e,t,n){var r;if(n===void 0&&e.nodeType===1)if(r="data-"+t.replace(ir,"-$&").toLowerCase(),n=e.getAttribute(r),typeof n=="string"){try{n=or(n)}catch{}be.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return be.hasData(e)||P.hasData(e)},data:function(e,t,n){return be.access(e,t,n)},removeData:function(e,t){be.remove(e,t)},_data:function(e,t,n){return P.access(e,t,n)},_removeData:function(e,t){P.remove(e,t)}}),i.fn.extend({data:function(e,t){var n,r,o,s=this[0],u=s&&s.attributes;if(e===void 0){if(this.length&&(o=be.get(s),s.nodeType===1&&!P.get(s,"hasDataAttrs"))){for(n=u.length;n--;)u[n]&&(r=u[n].name,r.indexOf("data-")===0&&(r=He(r.slice(5)),an(s,r,o[r])));P.set(s,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){be.set(this,e)}):Be(this,function(c){var f;if(s&&c===void 0)return f=be.get(s,e),f!==void 0||(f=an(s,e),f!==void 0)?f:void 0;this.each(function(){be.set(this,e,c)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){be.remove(this,e)})}}),i.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=P.get(e,t),n&&(!r||Array.isArray(n)?r=P.access(e,t,i.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=i.queue(e,t),r=n.length,o=n.shift(),s=i._queueHooks(e,t),u=function(){i.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),r--),o&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,o.call(e,u,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return P.get(e,n)||P.access(e,n,{empty:i.Callbacks("once memory").add(function(){P.remove(e,[t+"queue",n])})})}}),i.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):t===void 0?this:this.each(function(){var r=i.queue(this,e,t);i._queueHooks(this,e),e==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=i.Deferred(),s=this,u=this.length,c=function(){--r||o.resolveWith(s,[s])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";u--;)n=P.get(s[u],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(c));return c(),o.promise(t)}});var fn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,gt=new RegExp("^(?:([+-])=|)("+fn+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],Qe=R.documentElement,ot=function(e){return i.contains(e.ownerDocument,e)},sr={composed:!0};Qe.getRootNode&&(ot=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(sr)===e.ownerDocument});var Et=function(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&ot(e)&&i.css(e,"display")==="none"};function cn(e,t,n,r){var o,s,u=20,c=r?function(){return r.cur()}:function(){return i.css(e,t,"")},f=c(),d=n&&n[3]||(i.cssNumber[t]?"":"px"),y=e.nodeType&&(i.cssNumber[t]||d!=="px"&&+f)&>.exec(i.css(e,t));if(y&&y[3]!==d){for(f=f/2,d=d||y[3],y=+f||1;u--;)i.style(e,t,y+d),(1-s)*(1-(s=c()/f||.5))<=0&&(u=0),y=y/s;y=y*2,i.style(e,t,y+d),n=n||[]}return n&&(y=+y||+f||0,o=n[1]?y+(n[1]+1)*n[2]:+n[2],r&&(r.unit=d,r.start=y,r.end=o)),o}var ln={};function ur(e){var t,n=e.ownerDocument,r=e.nodeName,o=ln[r];return o||(t=n.body.appendChild(n.createElement(r)),o=i.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),ln[r]=o,o)}function st(e,t){for(var n,r,o=[],s=0,u=e.length;s<u;s++)r=e[s],r.style&&(n=r.style.display,t?(n==="none"&&(o[s]=P.get(r,"display")||null,o[s]||(r.style.display="")),r.style.display===""&&Et(r)&&(o[s]=ur(r))):n!=="none"&&(o[s]="none",P.set(r,"display",n)));for(s=0;s<u;s++)o[s]!=null&&(e[s].style.display=o[s]);return e}i.fn.extend({show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Et(this)?i(this).show():i(this).hide()})}});var yt=/^(?:checkbox|radio)$/i,dn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=R.createDocumentFragment(),t=e.appendChild(R.createElement("div")),n=R.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),D.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",D.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",D.option=!!t.lastChild})();var Se={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Se.tbody=Se.tfoot=Se.colgroup=Se.caption=Se.thead,Se.th=Se.td,D.option||(Se.optgroup=Se.option=[1,"<select multiple='multiple'>","</select>"]);function me(e,t){var n;return typeof e.getElementsByTagName<"u"?n=e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?n=e.querySelectorAll(t||"*"):n=[],t===void 0||t&&Q(e,t)?i.merge([e],n):n}function Rt(e,t){for(var n=0,r=e.length;n<r;n++)P.set(e[n],"globalEval",!t||P.get(t[n],"globalEval"))}var ar=/<|&#?\w+;/;function hn(e,t,n,r,o){for(var s,u,c,f,d,y,x=t.createDocumentFragment(),h=[],S=0,V=e.length;S<V;S++)if(s=e[S],s||s===0)if(L(s)==="object")i.merge(h,s.nodeType?[s]:s);else if(!ar.test(s))h.push(t.createTextNode(s));else{for(u=u||x.appendChild(t.createElement("div")),c=(dn.exec(s)||["",""])[1].toLowerCase(),f=Se[c]||Se._default,u.innerHTML=f[1]+i.htmlPrefilter(s)+f[2],y=f[0];y--;)u=u.lastChild;i.merge(h,u.childNodes),u=x.firstChild,u.textContent=""}for(x.textContent="",S=0;s=h[S++];){if(r&&i.inArray(s,r)>-1){o&&o.push(s);continue}if(d=ot(s),u=me(x.appendChild(s),"script"),d&&Rt(u),n)for(y=0;s=u[y++];)pn.test(s.type||"")&&n.push(s)}return x}var gn=/^([^.]*)(?:\.(.+)|)/;function ut(){return!0}function at(){return!1}function It(e,t,n,r,o,s){var u,c;if(typeof t=="object"){typeof n!="string"&&(r=r||n,n=void 0);for(c in t)It(e,c,n,r,t[c],s);return e}if(r==null&&o==null?(o=n,r=n=void 0):o==null&&(typeof n=="string"?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=at;else if(!o)return e;return s===1&&(u=o,o=function(f){return i().off(f),u.apply(this,arguments)},o.guid=u.guid||(u.guid=i.guid++)),e.each(function(){i.event.add(this,t,o,r,n)})}i.event={global:{},add:function(e,t,n,r,o){var s,u,c,f,d,y,x,h,S,V,ne,Y=P.get(e);if(pt(e))for(n.handler&&(s=n,n=s.handler,o=s.selector),o&&i.find.matchesSelector(Qe,o),n.guid||(n.guid=i.guid++),(f=Y.events)||(f=Y.events=Object.create(null)),(u=Y.handle)||(u=Y.handle=function(ge){return typeof i<"u"&&i.event.triggered!==ge.type?i.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Le)||[""],d=t.length;d--;)c=gn.exec(t[d])||[],S=ne=c[1],V=(c[2]||"").split(".").sort(),S&&(x=i.event.special[S]||{},S=(o?x.delegateType:x.bindType)||S,x=i.event.special[S]||{},y=i.extend({type:S,origType:ne,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:V.join(".")},s),(h=f[S])||(h=f[S]=[],h.delegateCount=0,(!x.setup||x.setup.call(e,r,V,u)===!1)&&e.addEventListener&&e.addEventListener(S,u)),x.add&&(x.add.call(e,y),y.handler.guid||(y.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,y):h.push(y),i.event.global[S]=!0)},remove:function(e,t,n,r,o){var s,u,c,f,d,y,x,h,S,V,ne,Y=P.hasData(e)&&P.get(e);if(!(!Y||!(f=Y.events))){for(t=(t||"").match(Le)||[""],d=t.length;d--;){if(c=gn.exec(t[d])||[],S=ne=c[1],V=(c[2]||"").split(".").sort(),!S){for(S in f)i.event.remove(e,S+t[d],n,r,!0);continue}for(x=i.event.special[S]||{},S=(r?x.delegateType:x.bindType)||S,h=f[S]||[],c=c[2]&&new RegExp("(^|\\.)"+V.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=s=h.length;s--;)y=h[s],(o||ne===y.origType)&&(!n||n.guid===y.guid)&&(!c||c.test(y.namespace))&&(!r||r===y.selector||r==="**"&&y.selector)&&(h.splice(s,1),y.selector&&h.delegateCount--,x.remove&&x.remove.call(e,y));u&&!h.length&&((!x.teardown||x.teardown.call(e,V,Y.handle)===!1)&&i.removeEvent(e,S,Y.handle),delete f[S])}i.isEmptyObject(f)&&P.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,s,u,c=new Array(arguments.length),f=i.event.fix(e),d=(P.get(this,"events")||Object.create(null))[f.type]||[],y=i.event.special[f.type]||{};for(c[0]=f,t=1;t<arguments.length;t++)c[t]=arguments[t];if(f.delegateTarget=this,!(y.preDispatch&&y.preDispatch.call(this,f)===!1)){for(u=i.event.handlers.call(this,f,d),t=0;(o=u[t++])&&!f.isPropagationStopped();)for(f.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!f.isImmediatePropagationStopped();)(!f.rnamespace||s.namespace===!1||f.rnamespace.test(s.namespace))&&(f.handleObj=s,f.data=s.data,r=((i.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,c),r!==void 0&&(f.result=r)===!1&&(f.preventDefault(),f.stopPropagation()));return y.postDispatch&&y.postDispatch.call(this,f),f.result}},handlers:function(e,t){var n,r,o,s,u,c=[],f=t.delegateCount,d=e.target;if(f&&d.nodeType&&!(e.type==="click"&&e.button>=1)){for(;d!==this;d=d.parentNode||this)if(d.nodeType===1&&!(e.type==="click"&&d.disabled===!0)){for(s=[],u={},n=0;n<f;n++)r=t[n],o=r.selector+" ",u[o]===void 0&&(u[o]=r.needsContext?i(o,this).index(d)>-1:i.find(o,this,null,[d]).length),u[o]&&s.push(r);s.length&&c.push({elem:d,handlers:s})}}return d=this,f<t.length&&c.push({elem:d,handlers:t.slice(f)}),c},addProp:function(e,t){Object.defineProperty(i.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[i.expando]?e:new i.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return yt.test(t.type)&&t.click&&Q(t,"input")&&jt(t,"click",!0),!1},trigger:function(e){var t=this||e;return yt.test(t.type)&&t.click&&Q(t,"input")&&jt(t,"click"),!0},_default:function(e){var t=e.target;return yt.test(t.type)&&t.click&&Q(t,"input")&&P.get(t,"click")||Q(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function jt(e,t,n){if(!n){P.get(e,t)===void 0&&i.event.add(e,t,ut);return}P.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(r){var o,s=P.get(this,t);if(r.isTrigger&1&&this[t]){if(s)(i.event.special[t]||{}).delegateType&&r.stopPropagation();else if(s=N.call(arguments),P.set(this,t,s),this[t](),o=P.get(this,t),P.set(this,t,!1),s!==o)return r.stopImmediatePropagation(),r.preventDefault(),o}else s&&(P.set(this,t,i.event.trigger(s[0],s.slice(1),this)),r.stopPropagation(),r.isImmediatePropagationStopped=ut)}})}i.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?ut:at,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[i.expando]=!0},i.Event.prototype={constructor:i.Event,isDefaultPrevented:at,isPropagationStopped:at,isImmediatePropagationStopped:at,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ut,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ut,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ut,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},i.event.addProp),i.each({focus:"focusin",blur:"focusout"},function(e,t){function n(r){if(R.documentMode){var o=P.get(this,"handle"),s=i.event.fix(r);s.type=r.type==="focusin"?"focus":"blur",s.isSimulated=!0,o(r),s.target===s.currentTarget&&o(s)}else i.event.simulate(t,r.target,i.event.fix(r))}i.event.special[e]={setup:function(){var r;if(jt(this,e,!0),R.documentMode)r=P.get(this,t),r||this.addEventListener(t,n),P.set(this,t,(r||0)+1);else return!1},trigger:function(){return jt(this,e),!0},teardown:function(){var r;if(R.documentMode)r=P.get(this,t)-1,r?P.set(this,t,r):(this.removeEventListener(t,n),P.remove(this,t));else return!1},_default:function(r){return P.get(r.target,e)},delegateType:t},i.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=R.documentMode?this:r,s=P.get(o,t);s||(R.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),P.set(o,t,(s||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=R.documentMode?this:r,s=P.get(o,t)-1;s?P.set(o,t,s):(R.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),P.remove(o,t))}}}),i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var r,o=this,s=n.relatedTarget,u=n.handleObj;return(!s||s!==o&&!i.contains(o,s))&&(n.type=u.origType,r=u.handler.apply(this,arguments),n.type=t),r}}}),i.fn.extend({on:function(e,t,n,r){return It(this,e,t,n,r)},one:function(e,t,n,r){return It(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,i(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||typeof t=="function")&&(n=t,t=void 0),n===!1&&(n=at),this.each(function(){i.event.remove(this,e,n,t)})}});var fr=/<script|<style|<link/i,cr=/checked\s*(?:[^=]|=\s*.checked.)/i,lr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function yn(e,t){return Q(e,"table")&&Q(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function dr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function pr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function vn(e,t){var n,r,o,s,u,c,f;if(t.nodeType===1){if(P.hasData(e)&&(s=P.get(e),f=s.events,f)){P.remove(t,"handle events");for(o in f)for(n=0,r=f[o].length;n<r;n++)i.event.add(t,o,f[o][n])}be.hasData(e)&&(u=be.access(e),c=i.extend({},u),be.set(t,c))}}function hr(e,t){var n=t.nodeName.toLowerCase();n==="input"&&yt.test(e.type)?t.checked=e.checked:(n==="input"||n==="textarea")&&(t.defaultValue=e.defaultValue)}function ft(e,t,n,r){t=X(t);var o,s,u,c,f,d,y=0,x=e.length,h=x-1,S=t[0],V=m(S);if(V||x>1&&typeof S=="string"&&!D.checkClone&&cr.test(S))return e.each(function(ne){var Y=e.eq(ne);V&&(t[0]=S.call(this,ne,Y.html())),ft(Y,t,n,r)});if(x&&(o=hn(t,e[0].ownerDocument,!1,e,r),s=o.firstChild,o.childNodes.length===1&&(o=s),s||r)){for(u=i.map(me(o,"script"),dr),c=u.length;y<x;y++)f=o,y!==h&&(f=i.clone(f,!0,!0),c&&i.merge(u,me(f,"script"))),n.call(e[y],f,y);if(c)for(d=u[u.length-1].ownerDocument,i.map(u,pr),y=0;y<c;y++)f=u[y],pn.test(f.type||"")&&!P.access(f,"globalEval")&&i.contains(d,f)&&(f.src&&(f.type||"").toLowerCase()!=="module"?i._evalUrl&&!f.noModule&&i._evalUrl(f.src,{nonce:f.nonce||f.getAttribute("nonce")},d):O(f.textContent.replace(lr,""),f,d))}return e}function xn(e,t,n){for(var r,o=t?i.filter(t,e):e,s=0;(r=o[s])!=null;s++)!n&&r.nodeType===1&&i.cleanData(me(r)),r.parentNode&&(n&&ot(r)&&Rt(me(r,"script")),r.parentNode.removeChild(r));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,s,u,c=e.cloneNode(!0),f=ot(e);if(!D.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!i.isXMLDoc(e))for(u=me(c),s=me(e),r=0,o=s.length;r<o;r++)hr(s[r],u[r]);if(t)if(n)for(s=s||me(e),u=u||me(c),r=0,o=s.length;r<o;r++)vn(s[r],u[r]);else vn(e,c);return u=me(c,"script"),u.length>0&&Rt(u,!f&&me(e,"script")),c},cleanData:function(e){for(var t,n,r,o=i.event.special,s=0;(n=e[s])!==void 0;s++)if(pt(n)){if(t=n[P.expando]){if(t.events)for(r in t.events)o[r]?i.event.remove(n,r):i.removeEvent(n,r,t.handle);n[P.expando]=void 0}n[be.expando]&&(n[be.expando]=void 0)}}}),i.fn.extend({detach:function(e){return xn(this,e,!0)},remove:function(e){return xn(this,e)},text:function(e){return Be(this,function(t){return t===void 0?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=t)})},null,e,arguments.length)},append:function(){return ft(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=yn(this,e);t.appendChild(e)}})},prepend:function(){return ft(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=yn(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ft(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ft(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(i.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return i.clone(this,e,t)})},html:function(e){return Be(this,function(t){var n=this[0]||{},r=0,o=this.length;if(t===void 0&&n.nodeType===1)return n.innerHTML;if(typeof t=="string"&&!fr.test(t)&&!Se[(dn.exec(t)||["",""])[1].toLowerCase()]){t=i.htmlPrefilter(t);try{for(;r<o;r++)n=this[r]||{},n.nodeType===1&&(i.cleanData(me(n,!1)),n.innerHTML=t);n=0}catch{}}n&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(){var e=[];return ft(this,arguments,function(t){var n=this.parentNode;i.inArray(this,e)<0&&(i.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){i.fn[e]=function(n){for(var r,o=[],s=i(n),u=s.length-1,c=0;c<=u;c++)r=c===u?this:this.clone(!0),i(s[c])[t](r),W.apply(o,r.get());return this.pushStack(o)}});var Mt=new RegExp("^("+fn+")(?!px)[a-z%]+$","i"),Pt=/^--/,kt=function(e){var t=e.ownerDocument.defaultView;return(!t||!t.opener)&&(t=F),t.getComputedStyle(e)},bn=function(e,t,n){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=n.call(e);for(o in t)e.style[o]=s[o];return r},gr=new RegExp(We.join("|"),"i");(function(){function e(){if(d){f.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Qe.appendChild(f).appendChild(d);var y=F.getComputedStyle(d);n=y.top!=="1%",c=t(y.marginLeft)===12,d.style.right="60%",s=t(y.right)===36,r=t(y.width)===36,d.style.position="absolute",o=t(d.offsetWidth/3)===12,Qe.removeChild(f),d=null}}function t(y){return Math.round(parseFloat(y))}var n,r,o,s,u,c,f=R.createElement("div"),d=R.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",D.clearCloneStyle=d.style.backgroundClip==="content-box",i.extend(D,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var y,x,h,S;return u==null&&(y=R.createElement("table"),x=R.createElement("tr"),h=R.createElement("div"),y.style.cssText="position:absolute;left:-11111px;border-collapse:separate",x.style.cssText="box-sizing:content-box;border:1px solid",x.style.height="1px",h.style.height="9px",h.style.display="block",Qe.appendChild(y).appendChild(x).appendChild(h),S=F.getComputedStyle(x),u=parseInt(S.height,10)+parseInt(S.borderTopWidth,10)+parseInt(S.borderBottomWidth,10)===x.offsetHeight,Qe.removeChild(y)),u}}))})();function vt(e,t,n){var r,o,s,u,c=Pt.test(t),f=e.style;return n=n||kt(e),n&&(u=n.getPropertyValue(t)||n[t],c&&u&&(u=u.replace(Oe,"$1")||void 0),u===""&&!ot(e)&&(u=i.style(e,t)),!D.pixelBoxStyles()&&Mt.test(u)&&gr.test(t)&&(r=f.width,o=f.minWidth,s=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=n.width,f.width=r,f.minWidth=o,f.maxWidth=s)),u!==void 0?u+"":u}function mn(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var Cn=["Webkit","Moz","ms"],Tn=R.createElement("div").style,wn={};function yr(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Cn.length;n--;)if(e=Cn[n]+t,e in Tn)return e}function Ft(e){var t=i.cssProps[e]||wn[e];return t||(e in Tn?e:wn[e]=yr(e)||e)}var vr=/^(none|table(?!-c[ea]).+)/,xr={position:"absolute",visibility:"hidden",display:"block"},Sn={letterSpacing:"0",fontWeight:"400"};function Nn(e,t,n){var r=gt.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Bt(e,t,n,r,o,s){var u=t==="width"?1:0,c=0,f=0,d=0;if(n===(r?"border":"content"))return 0;for(;u<4;u+=2)n==="margin"&&(d+=i.css(e,n+We[u],!0,o)),r?(n==="content"&&(f-=i.css(e,"padding"+We[u],!0,o)),n!=="margin"&&(f-=i.css(e,"border"+We[u]+"Width",!0,o))):(f+=i.css(e,"padding"+We[u],!0,o),n!=="padding"?f+=i.css(e,"border"+We[u]+"Width",!0,o):c+=i.css(e,"border"+We[u]+"Width",!0,o));return!r&&s>=0&&(f+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-f-c-.5))||0),f+d}function En(e,t,n){var r=kt(e),o=!D.boxSizingReliable()||n,s=o&&i.css(e,"boxSizing",!1,r)==="border-box",u=s,c=vt(e,t,r),f="offset"+t[0].toUpperCase()+t.slice(1);if(Mt.test(c)){if(!n)return c;c="auto"}return(!D.boxSizingReliable()&&s||!D.reliableTrDimensions()&&Q(e,"tr")||c==="auto"||!parseFloat(c)&&i.css(e,"display",!1,r)==="inline")&&e.getClientRects().length&&(s=i.css(e,"boxSizing",!1,r)==="border-box",u=f in e,u&&(c=e[f])),c=parseFloat(c)||0,c+Bt(e,t,n||(s?"border":"content"),u,r,c)+"px"}i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return n===""?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var o,s,u,c=He(t),f=Pt.test(t),d=e.style;if(f||(t=Ft(c)),u=i.cssHooks[t]||i.cssHooks[c],n!==void 0){if(s=typeof n,s==="string"&&(o=gt.exec(n))&&o[1]&&(n=cn(e,t,o),s="number"),n==null||n!==n)return;s==="number"&&!f&&(n+=o&&o[3]||(i.cssNumber[c]?"":"px")),!D.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(d[t]="inherit"),(!u||!("set"in u)||(n=u.set(e,n,r))!==void 0)&&(f?d.setProperty(t,n):d[t]=n)}else return u&&"get"in u&&(o=u.get(e,!1,r))!==void 0?o:d[t]}},css:function(e,t,n,r){var o,s,u,c=He(t),f=Pt.test(t);return f||(t=Ft(c)),u=i.cssHooks[t]||i.cssHooks[c],u&&"get"in u&&(o=u.get(e,!0,n)),o===void 0&&(o=vt(e,t,r)),o==="normal"&&t in Sn&&(o=Sn[t]),n===""||n?(s=parseFloat(o),n===!0||isFinite(s)?s||0:o):o}}),i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(n,r,o){if(r)return vr.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?bn(n,xr,function(){return En(n,t,o)}):En(n,t,o)},set:function(n,r,o){var s,u=kt(n),c=!D.scrollboxSize()&&u.position==="absolute",f=c||o,d=f&&i.css(n,"boxSizing",!1,u)==="border-box",y=o?Bt(n,t,o,d,u):0;return d&&c&&(y-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(u[t])-Bt(n,t,"border",!1,u)-.5)),y&&(s=gt.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),Nn(n,r,y)}}}),i.cssHooks.marginLeft=mn(D.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||e.getBoundingClientRect().left-bn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(n){for(var r=0,o={},s=typeof n=="string"?n.split(" "):[n];r<4;r++)o[e+We[r]+t]=s[r]||s[r-2]||s[0];return o}},e!=="margin"&&(i.cssHooks[e+t].set=Nn)}),i.fn.extend({css:function(e,t){return Be(this,function(n,r,o){var s,u,c={},f=0;if(Array.isArray(r)){for(s=kt(n),u=r.length;f<u;f++)c[r[f]]=i.css(n,r[f],!1,s);return c}return o!==void 0?i.style(n,r,o):i.css(n,r)},e,t,arguments.length>1)}});function Ce(e,t,n,r,o){return new Ce.prototype.init(e,t,n,r,o)}i.Tween=Ce,Ce.prototype={constructor:Ce,init:function(e,t,n,r,o,s){this.elem=e,this.prop=n,this.easing=o||i.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(i.cssNumber[n]?"":"px")},cur:function(){var e=Ce.propHooks[this.prop];return e&&e.get?e.get(this):Ce.propHooks._default.get(this)},run:function(e){var t,n=Ce.propHooks[this.prop];return this.options.duration?this.pos=t=i.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ce.propHooks._default.set(this),this}},Ce.prototype.init.prototype=Ce.prototype,Ce.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=i.css(e.elem,e.prop,""),!t||t==="auto"?0:t)},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):e.elem.nodeType===1&&(i.cssHooks[e.prop]||e.elem.style[Ft(e.prop)]!=null)?i.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ce.propHooks.scrollTop=Ce.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},i.fx=Ce.prototype.init,i.fx.step={};var ct,At,br=/^(?:toggle|show|hide)$/,mr=/queueHooks$/;function Wt(){At&&(R.hidden===!1&&F.requestAnimationFrame?F.requestAnimationFrame(Wt):F.setTimeout(Wt,i.fx.interval),i.fx.tick())}function jn(){return F.setTimeout(function(){ct=void 0}),ct=Date.now()}function _t(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=We[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function kn(e,t,n){for(var r,o=(Ae.tweeners[t]||[]).concat(Ae.tweeners["*"]),s=0,u=o.length;s<u;s++)if(r=o[s].call(n,t,e))return r}function Cr(e,t,n){var r,o,s,u,c,f,d,y,x="width"in t||"height"in t,h=this,S={},V=e.style,ne=e.nodeType&&Et(e),Y=P.get(e,"fxshow");n.queue||(u=i._queueHooks(e,"fx"),u.unqueued==null&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,h.always(function(){h.always(function(){u.unqueued--,i.queue(e,"fx").length||u.empty.fire()})}));for(r in t)if(o=t[r],br.test(o)){if(delete t[r],s=s||o==="toggle",o===(ne?"hide":"show"))if(o==="show"&&Y&&Y[r]!==void 0)ne=!0;else continue;S[r]=Y&&Y[r]||i.style(e,r)}if(f=!i.isEmptyObject(t),!(!f&&i.isEmptyObject(S))){x&&e.nodeType===1&&(n.overflow=[V.overflow,V.overflowX,V.overflowY],d=Y&&Y.display,d==null&&(d=P.get(e,"display")),y=i.css(e,"display"),y==="none"&&(d?y=d:(st([e],!0),d=e.style.display||d,y=i.css(e,"display"),st([e]))),(y==="inline"||y==="inline-block"&&d!=null)&&i.css(e,"float")==="none"&&(f||(h.done(function(){V.display=d}),d==null&&(y=V.display,d=y==="none"?"":y)),V.display="inline-block")),n.overflow&&(V.overflow="hidden",h.always(function(){V.overflow=n.overflow[0],V.overflowX=n.overflow[1],V.overflowY=n.overflow[2]})),f=!1;for(r in S)f||(Y?"hidden"in Y&&(ne=Y.hidden):Y=P.access(e,"fxshow",{display:d}),s&&(Y.hidden=!ne),ne&&st([e],!0),h.done(function(){ne||st([e]),P.remove(e,"fxshow");for(r in S)i.style(e,r,S[r])})),f=kn(ne?Y[r]:0,r,h),r in Y||(Y[r]=f.start,ne&&(f.end=f.start,f.start=0))}}function Tr(e,t){var n,r,o,s,u;for(n in e)if(r=He(n),o=t[r],s=e[n],Array.isArray(s)&&(o=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),u=i.cssHooks[r],u&&"expand"in u){s=u.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=o)}else t[r]=o}function Ae(e,t,n){var r,o,s=0,u=Ae.prefilters.length,c=i.Deferred().always(function(){delete f.elem}),f=function(){if(o)return!1;for(var x=ct||jn(),h=Math.max(0,d.startTime+d.duration-x),S=h/d.duration||0,V=1-S,ne=0,Y=d.tweens.length;ne<Y;ne++)d.tweens[ne].run(V);return c.notifyWith(e,[d,V,h]),V<1&&Y?h:(Y||c.notifyWith(e,[d,1,0]),c.resolveWith(e,[d]),!1)},d=c.promise({elem:e,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},n),originalProperties:t,originalOptions:n,startTime:ct||jn(),duration:n.duration,tweens:[],createTween:function(x,h){var S=i.Tween(e,d.opts,x,h,d.opts.specialEasing[x]||d.opts.easing);return d.tweens.push(S),S},stop:function(x){var h=0,S=x?d.tweens.length:0;if(o)return this;for(o=!0;h<S;h++)d.tweens[h].run(1);return x?(c.notifyWith(e,[d,1,0]),c.resolveWith(e,[d,x])):c.rejectWith(e,[d,x]),this}}),y=d.props;for(Tr(y,d.opts.specialEasing);s<u;s++)if(r=Ae.prefilters[s].call(d,e,y,d.opts),r)return m(r.stop)&&(i._queueHooks(d.elem,d.opts.queue).stop=r.stop.bind(r)),r;return i.map(y,kn,d),m(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),i.fx.timer(i.extend(f,{elem:e,anim:d,queue:d.opts.queue})),d}i.Animation=i.extend(Ae,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return cn(n.elem,e,gt.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(Le);for(var n,r=0,o=e.length;r<o;r++)n=e[r],Ae.tweeners[n]=Ae.tweeners[n]||[],Ae.tweeners[n].unshift(t)},prefilters:[Cr],prefilter:function(e,t){t?Ae.prefilters.unshift(e):Ae.prefilters.push(e)}}),i.speed=function(e,t,n){var r=e&&typeof e=="object"?i.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return i.fx.off?r.duration=0:typeof r.duration!="number"&&(r.duration in i.fx.speeds?r.duration=i.fx.speeds[r.duration]:r.duration=i.fx.speeds._default),(r.queue==null||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&i.dequeue(this,r.queue)},r},i.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Et).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=i.isEmptyObject(e),s=i.speed(t,n,r),u=function(){var c=Ae(this,i.extend({},e),s);(o||P.get(this,"finish"))&&c.stop(!0)};return u.finish=u,o||s.queue===!1?this.each(u):this.queue(s.queue,u)},stop:function(e,t,n){var r=function(o){var s=o.stop;delete o.stop,s(n)};return typeof e!="string"&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var o=!0,s=e!=null&&e+"queueHooks",u=i.timers,c=P.get(this);if(s)c[s]&&c[s].stop&&r(c[s]);else for(s in c)c[s]&&c[s].stop&&mr.test(s)&&r(c[s]);for(s=u.length;s--;)u[s].elem===this&&(e==null||u[s].queue===e)&&(u[s].anim.stop(n),o=!1,u.splice(s,1));(o||!n)&&i.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=P.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],s=i.timers,u=r?r.length:0;for(n.finish=!0,i.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<u;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),i.each(["toggle","show","hide"],function(e,t){var n=i.fn[t];i.fn[t]=function(r,o,s){return r==null||typeof r=="boolean"?n.apply(this,arguments):this.animate(_t(t,!0),r,o,s)}}),i.each({slideDown:_t("show"),slideUp:_t("hide"),slideToggle:_t("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){i.fn[e]=function(n,r,o){return this.animate(t,n,r,o)}}),i.timers=[],i.fx.tick=function(){var e,t=0,n=i.timers;for(ct=Date.now();t<n.length;t++)e=n[t],!e()&&n[t]===e&&n.splice(t--,1);n.length||i.fx.stop(),ct=void 0},i.fx.timer=function(e){i.timers.push(e),i.fx.start()},i.fx.interval=13,i.fx.start=function(){At||(At=!0,Wt())},i.fx.stop=function(){At=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fn.delay=function(e,t){return e=i.fx&&i.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(n,r){var o=F.setTimeout(n,e);r.stop=function(){F.clearTimeout(o)}})},function(){var e=R.createElement("input"),t=R.createElement("select"),n=t.appendChild(R.createElement("option"));e.type="checkbox",D.checkOn=e.value!=="",D.optSelected=n.selected,e=R.createElement("input"),e.value="t",e.type="radio",D.radioValue=e.value==="t"}();var An,xt=i.expr.attrHandle;i.fn.extend({attr:function(e,t){return Be(this,i.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})}}),i.extend({attr:function(e,t,n){var r,o,s=e.nodeType;if(!(s===3||s===8||s===2)){if(typeof e.getAttribute>"u")return i.prop(e,t,n);if((s!==1||!i.isXMLDoc(e))&&(o=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?An:void 0)),n!==void 0){if(n===null){i.removeAttr(e,t);return}return o&&"set"in o&&(r=o.set(e,n,t))!==void 0?r:(e.setAttribute(t,n+""),n)}return o&&"get"in o&&(r=o.get(e,t))!==null?r:(r=i.find.attr(e,t),r??void 0)}},attrHooks:{type:{set:function(e,t){if(!D.radioValue&&t==="radio"&&Q(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Le);if(o&&e.nodeType===1)for(;n=o[r++];)e.removeAttribute(n)}}),An={set:function(e,t,n){return t===!1?i.removeAttr(e,n):e.setAttribute(n,n),n}},i.each(i.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||i.find.attr;xt[t]=function(r,o,s){var u,c,f=o.toLowerCase();return s||(c=xt[f],xt[f]=u,u=n(r,o,s)!=null?f:null,xt[f]=c),u}});var wr=/^(?:input|select|textarea|button)$/i,Sr=/^(?:a|area)$/i;i.fn.extend({prop:function(e,t){return Be(this,i.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[i.propFix[e]||e]})}}),i.extend({prop:function(e,t,n){var r,o,s=e.nodeType;if(!(s===3||s===8||s===2))return(s!==1||!i.isXMLDoc(e))&&(t=i.propFix[t]||t,o=i.propHooks[t]),n!==void 0?o&&"set"in o&&(r=o.set(e,n,t))!==void 0?r:e[t]=n:o&&"get"in o&&(r=o.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=i.find.attr(e,"tabindex");return t?parseInt(t,10):wr.test(e.nodeName)||Sr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),D.optSelected||(i.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});function Ye(e){var t=e.match(Le)||[];return t.join(" ")}function Je(e){return e.getAttribute&&e.getAttribute("class")||""}function $t(e){return Array.isArray(e)?e:typeof e=="string"?e.match(Le)||[]:[]}i.fn.extend({addClass:function(e){var t,n,r,o,s,u;return m(e)?this.each(function(c){i(this).addClass(e.call(this,c,Je(this)))}):(t=$t(e),t.length?this.each(function(){if(r=Je(this),n=this.nodeType===1&&" "+Ye(r)+" ",n){for(s=0;s<t.length;s++)o=t[s],n.indexOf(" "+o+" ")<0&&(n+=o+" ");u=Ye(n),r!==u&&this.setAttribute("class",u)}}):this)},removeClass:function(e){var t,n,r,o,s,u;return m(e)?this.each(function(c){i(this).removeClass(e.call(this,c,Je(this)))}):arguments.length?(t=$t(e),t.length?this.each(function(){if(r=Je(this),n=this.nodeType===1&&" "+Ye(r)+" ",n){for(s=0;s<t.length;s++)for(o=t[s];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");u=Ye(n),r!==u&&this.setAttribute("class",u)}}):this):this.attr("class","")},toggleClass:function(e,t){var n,r,o,s,u=typeof e,c=u==="string"||Array.isArray(e);return m(e)?this.each(function(f){i(this).toggleClass(e.call(this,f,Je(this),t),t)}):typeof t=="boolean"&&c?t?this.addClass(e):this.removeClass(e):(n=$t(e),this.each(function(){if(c)for(s=i(this),o=0;o<n.length;o++)r=n[o],s.hasClass(r)?s.removeClass(r):s.addClass(r);else(e===void 0||u==="boolean")&&(r=Je(this),r&&P.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||e===!1?"":P.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(n.nodeType===1&&(" "+Ye(Je(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nr=/\r/g;i.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=m(e),this.each(function(s){var u;this.nodeType===1&&(r?u=e.call(this,s,i(this).val()):u=e,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(c){return c==null?"":c+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,u,"value")===void 0)&&(this.value=u))})):o?(t=i.valHooks[o.type]||i.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(o,"value"))!==void 0?n:(n=o.value,typeof n=="string"?n.replace(Nr,""):n??"")):void 0}}),i.extend({valHooks:{option:{get:function(e){var t=i.find.attr(e,"value");return t??Ye(i.text(e))}},select:{get:function(e){var t,n,r,o=e.options,s=e.selectedIndex,u=e.type==="select-one",c=u?null:[],f=u?s+1:o.length;for(s<0?r=f:r=u?s:0;r<f;r++)if(n=o[r],(n.selected||r===s)&&!n.disabled&&(!n.parentNode.disabled||!Q(n.parentNode,"optgroup"))){if(t=i(n).val(),u)return t;c.push(t)}return c},set:function(e,t){for(var n,r,o=e.options,s=i.makeArray(t),u=o.length;u--;)r=o[u],(r.selected=i.inArray(i.valHooks.option.get(r),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=i.inArray(i(e).val(),t)>-1}},D.checkOn||(i.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var bt=F.location,_n={guid:Date.now()},zt=/\?/;i.parseXML=function(e){var t,n;if(!e||typeof e!="string")return null;try{t=new F.DOMParser().parseFromString(e,"text/xml")}catch{}return n=t&&t.getElementsByTagName("parsererror")[0],(!t||n)&&i.error("Invalid XML: "+(n?i.map(n.childNodes,function(r){return r.textContent}).join(`
|
|
11
|
-
`):e)),t};var
|
|
12
|
-
`)}}):{name:t.name,value:n.replace(
|
|
13
|
-
`)}}).get()}});var Ar=/%20/g,_r=/#.*$/,Dr=/([?&])_=[^&]*/,Or=/^(.*?):[ \t]*([^\r\n]*)$/mg,Lr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Hr=/^(?:GET|HEAD)$/,qr=/^\/\//,Hn={},Vt={},qn="*/".concat("*"),Kt=R.createElement("a");Kt.href=bt.href;function Rn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,o=0,s=t.toLowerCase().match(Le)||[];if(m(n))for(;r=s[o++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function In(e,t,n,r){var o={},s=e===Vt;function u(c){var f;return o[c]=!0,i.each(e[c]||[],function(d,y){var x=y(t,n,r);if(typeof x=="string"&&!s&&!o[x])return t.dataTypes.unshift(x),u(x),!1;if(s)return!(f=x)}),f}return u(t.dataTypes[0])||!o["*"]&&u("*")}function Xt(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 Rr(e,t,n){for(var r,o,s,u,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)s=f[0];else{for(o in n){if(!f[0]||e.converters[o+" "+f[0]]){s=o;break}u||(u=o)}s=s||u}if(s)return s!==f[0]&&f.unshift(s),n[s]}function Ir(e,t,n,r){var o,s,u,c,f,d={},y=e.dataTypes.slice();if(y[1])for(u in e.converters)d[u.toLowerCase()]=e.converters[u];for(s=y.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!f&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),f=s,s=y.shift(),s){if(s==="*")s=f;else if(f!=="*"&&f!==s){if(u=d[f+" "+s]||d["* "+s],!u){for(o in d)if(c=o.split(" "),c[1]===s&&(u=d[f+" "+c[0]]||d["* "+c[0]],u)){u===!0?u=d[o]:d[o]!==!0&&(s=c[0],y.unshift(c[1]));break}}if(u!==!0)if(u&&e.throws)t=u(t);else try{t=u(t)}catch(x){return{state:"parsererror",error:u?x:"No conversion from "+f+" to "+s}}}}return{state:"success",data:t}}i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:Lr.test(bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qn,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?Xt(Xt(e,i.ajaxSettings),t):Xt(i.ajaxSettings,e)},ajaxPrefilter:Rn(Hn),ajaxTransport:Rn(Vt),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,r,o,s,u,c,f,d,y,x,h=i.ajaxSetup({},t),S=h.context||h,V=h.context&&(S.nodeType||S.jquery)?i(S):i.event,ne=i.Deferred(),Y=i.Callbacks("once memory"),ge=h.statusCode||{},de={},qe={},Re="canceled",te={readyState:0,getResponseHeader:function(oe){var le;if(f){if(!s)for(s={};le=Or.exec(o);)s[le[1].toLowerCase()+" "]=(s[le[1].toLowerCase()+" "]||[]).concat(le[2]);le=s[oe.toLowerCase()+" "]}return le==null?null:le.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(oe,le){return f==null&&(oe=qe[oe.toLowerCase()]=qe[oe.toLowerCase()]||oe,de[oe]=le),this},overrideMimeType:function(oe){return f==null&&(h.mimeType=oe),this},statusCode:function(oe){var le;if(oe)if(f)te.always(oe[te.status]);else for(le in oe)ge[le]=[ge[le],oe[le]];return this},abort:function(oe){var le=oe||Re;return n&&n.abort(le),Ze(0,le),this}};if(ne.promise(te),h.url=((e||h.url||bt.href)+"").replace(qr,bt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Le)||[""],h.crossDomain==null){c=R.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Kt.protocol+"//"+Kt.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)),In(Hn,h,t,te),f)return te;d=i.event&&h.global,d&&i.active++===0&&i.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Hr.test(h.type),r=h.url.replace(_r,""),h.hasContent?h.data&&h.processData&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(h.data=h.data.replace(Ar,"+")):(x=h.url.slice(r.length),h.data&&(h.processData||typeof h.data=="string")&&(r+=(zt.test(r)?"&":"?")+h.data,delete h.data),h.cache===!1&&(r=r.replace(Dr,"$1"),x=(zt.test(r)?"&":"?")+"_="+_n.guid+++x),h.url=r+x),h.ifModified&&(i.lastModified[r]&&te.setRequestHeader("If-Modified-Since",i.lastModified[r]),i.etag[r]&&te.setRequestHeader("If-None-Match",i.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||t.contentType)&&te.setRequestHeader("Content-Type",h.contentType),te.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", "+qn+"; q=0.01":""):h.accepts["*"]);for(y in h.headers)te.setRequestHeader(y,h.headers[y]);if(h.beforeSend&&(h.beforeSend.call(S,te,h)===!1||f))return te.abort();if(Re="abort",Y.add(h.complete),te.done(h.success),te.fail(h.error),n=In(Vt,h,t,te),!n)Ze(-1,"No Transport");else{if(te.readyState=1,d&&V.trigger("ajaxSend",[te,h]),f)return te;h.async&&h.timeout>0&&(u=F.setTimeout(function(){te.abort("timeout")},h.timeout));try{f=!1,n.send(de,Ze)}catch(oe){if(f)throw oe;Ze(-1,oe)}}function Ze(oe,le,Ct,Qt){var Ie,Tt,Me,Ve,Ke,Ne=le;f||(f=!0,u&&F.clearTimeout(u),n=void 0,o=Qt||"",te.readyState=oe>0?4:0,Ie=oe>=200&&oe<300||oe===304,Ct&&(Ve=Rr(h,te,Ct)),!Ie&&i.inArray("script",h.dataTypes)>-1&&i.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),Ve=Ir(h,Ve,te,Ie),Ie?(h.ifModified&&(Ke=te.getResponseHeader("Last-Modified"),Ke&&(i.lastModified[r]=Ke),Ke=te.getResponseHeader("etag"),Ke&&(i.etag[r]=Ke)),oe===204||h.type==="HEAD"?Ne="nocontent":oe===304?Ne="notmodified":(Ne=Ve.state,Tt=Ve.data,Me=Ve.error,Ie=!Me)):(Me=Ne,(oe||!Ne)&&(Ne="error",oe<0&&(oe=0))),te.status=oe,te.statusText=(le||Ne)+"",Ie?ne.resolveWith(S,[Tt,Ne,te]):ne.rejectWith(S,[te,Ne,Me]),te.statusCode(ge),ge=void 0,d&&V.trigger(Ie?"ajaxSuccess":"ajaxError",[te,h,Ie?Tt:Me]),Y.fireWith(S,[te,Ne]),d&&(V.trigger("ajaxComplete",[te,h]),--i.active||i.event.trigger("ajaxStop")))}return te},getJSON:function(e,t,n){return i.get(e,t,n,"json")},getScript:function(e,t){return i.get(e,void 0,t,"script")}}),i.each(["get","post"],function(e,t){i[t]=function(n,r,o,s){return m(r)&&(s=s||o,o=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:s,data:r,success:o},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(e){var t;for(t in e.headers)t.toLowerCase()==="content-type"&&(e.contentType=e.headers[t]||"")}),i._evalUrl=function(e,t,n){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(r){i.globalEval(r,t,n)}})},i.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=i(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){i(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(e){return!i.expr.pseudos.visible(e)},i.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new F.XMLHttpRequest}catch{}};var Mr={0:200,1223:204},mt=i.ajaxSettings.xhr();D.cors=!!mt&&"withCredentials"in mt,D.ajax=mt=!!mt,i.ajaxTransport(function(e){var t,n;if(D.cors||mt&&!e.crossDomain)return{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.ontimeout=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=u.ontimeout=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()}}}),i.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),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||e.scriptAttrs){var t,n;return{send:function(r,o){t=i("<script>").attr(e.scriptAttrs||{}).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)}),R.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Mn=[],Gt=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||i.expando+"_"+_n.guid++;return this[e]=!0,e}}),i.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,u=e.jsonp!==!1&&(Gt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Gt.test(e.data)&&"data");if(u||e.dataTypes[0]==="jsonp")return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(Gt,"$1"+r):e.jsonp!==!1&&(e.url+=(zt.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,Mn.push(r)),s&&m(o)&&o(s[0]),s=o=void 0}),"script"}),D.createHTMLDocument=function(){var e=R.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),i.parseHTML=function(e,t,n){if(typeof e!="string")return[];typeof t=="boolean"&&(n=t,t=!1);var r,o,s;return t||(D.createHTMLDocument?(t=R.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=R.location.href,t.head.appendChild(r)):t=R),o=k.exec(e),s=!n&&[],o?[t.createElement(o[1])]:(o=hn([e],t,s),s&&s.length&&i(s).remove(),i.merge([],o.childNodes))},i.fn.load=function(e,t,n){var r,o,s,u=this,c=e.indexOf(" ");return c>-1&&(r=Ye(e.slice(c)),e=e.slice(0,c)),m(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(f){s=arguments,u.html(r?i("<div>").append(i.parseHTML(f)).find(r):f)}).always(n&&function(f,d){u.each(function(){n.apply(this,s||[f.responseText,d,f])})}),this},i.expr.pseudos.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length},i.offset={setOffset:function(e,t,n){var r,o,s,u,c,f,d,y=i.css(e,"position"),x=i(e),h={};y==="static"&&(e.style.position="relative"),c=x.offset(),s=i.css(e,"top"),f=i.css(e,"left"),d=(y==="absolute"||y==="fixed")&&(s+f).indexOf("auto")>-1,d?(r=x.position(),u=r.top,o=r.left):(u=parseFloat(s)||0,o=parseFloat(f)||0),m(t)&&(t=t.call(e,n,i.extend({},c))),t.top!=null&&(h.top=t.top-c.top+u),t.left!=null&&(h.left=t.left-c.left+o),"using"in t?t.using.call(e,h):x.css(h)}},i.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(o){i.offset.setOffset(this,e,o)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if(i.css(r,"position")==="fixed")t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&i.css(e,"position")==="static";)e=e.parentNode;e&&e!==r&&e.nodeType===1&&(o=i(e).offset(),o.top+=i.css(e,"borderTopWidth",!0),o.left+=i.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-i.css(r,"marginTop",!0),left:t.left-o.left-i.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&i.css(e,"position")==="static";)e=e.offsetParent;return e||Qe})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=t==="pageYOffset";i.fn[e]=function(r){return Be(this,function(o,s,u){var c;if(U(o)?c=o:o.nodeType===9&&(c=o.defaultView),u===void 0)return c?c[t]:o[s];c?c.scrollTo(n?c.pageXOffset:u,n?u:c.pageYOffset):o[s]=u},e,r,arguments.length)}}),i.each(["top","left"],function(e,t){i.cssHooks[t]=mn(D.pixelPosition,function(n,r){if(r)return r=vt(n,t),Mt.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(e,t){i.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){i.fn[r]=function(o,s){var u=arguments.length&&(n||typeof o!="boolean"),c=n||(o===!0||s===!0?"margin":"border");return Be(this,function(f,d,y){var x;return U(f)?r.indexOf("outer")===0?f["inner"+e]:f.document.documentElement["client"+e]:f.nodeType===9?(x=f.documentElement,Math.max(f.body["scroll"+e],x["scroll"+e],f.body["offset"+e],x["offset"+e],x["client"+e])):y===void 0?i.css(f,d,c):i.style(f,d,y,c)},t,u?o:void 0,u)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){i.fn[t]=function(n,r){return arguments.length>0?this.on(t,null,n,r):this.trigger(t)}});var Pr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;i.proxy=function(e,t){var n,r,o;if(typeof t=="string"&&(n=e[t],t=e,e=n),!!m(e))return r=N.call(arguments,2),o=function(){return e.apply(t||this,r.concat(N.call(arguments)))},o.guid=e.guid=e.guid||i.guid++,o},i.holdReady=function(e){e?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=Q,i.isFunction=m,i.isWindow=U,i.camelCase=He,i.type=L,i.now=Date.now,i.isNumeric=function(e){var t=i.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))},i.trim=function(e){return e==null?"":(e+"").replace(Pr,"$1")};var Fr=F.jQuery,Br=F.$;return i.noConflict=function(e){return F.$===i&&(F.$=Br),e&&F.jQuery===i&&(F.jQuery=Fr),i},typeof I>"u"&&(F.jQuery=F.$=i),i})})(Kn);var ti=Kn.exports;const we=on(ti);function ni(fe){var F={protocol:location.protocol||"https:",urlDns:"http://wanproxy.127.net/lbs",retryCount:2,fileInputID:"fileInput",timeout:5e4,onError:function(b){console.log(b)},onProgress:function(b){console.log(b.status),console.log(b.progress)}},I,T;return I=we.extend({},F,fe),T={version:"1.0",uploadFile:null,edgeNodeList:null,dnsRetryCount:0,uTRetryCount:I.retryCount,gORetryCount:I.retryCount,gDRetryCount:I.retryCount,createAjax:function(){var b={};return window.XMLHttpRequest&&(b=new XMLHttpRequest),b},clearStorage:function(b,N,X){localStorage.removeItem(X+"_progress"),localStorage.removeItem(X+"_"+b+"_"+N+"_context")},addFile:function(b,N){if(b){var X=Vn(b.name+":"+b.size).toString(),W;W={fileKey:X,file:b,fileName:b.name,status:0,progress:localStorage.getItem(X+"_progress")||0},T.uploadFile&&(T.uploadFile=null),T.uploadFile=we.extend(!0,{},W),N&&N(W)}},getFile:function(b){var N;return T.uploadFile.fileKey===b&&(N=T.uploadFile),N},getDNS:function(b,N){if((b==null||b==="")&&(b=""),T.edgeNodeList)N(T.edgeNodeList);else if(I.protocol==="https:"){let X=["https://wanproxy-web.127.net"];T.edgeNodeList=X,N(X,I.urlDns)}else we.ajax({type:"get",url:I.urlDns,data:{version:T.version,bucketname:b},dataType:"json",success:function(X){X.code?I.onError({errCode:X.Code,errMsg:X.Message}):(T.edgeNodeList=X.upload,N(X.upload,X.lbs))},error:function(X){X.status.toString().match(/^5/)&&T.gDRetryCount>0&&T.gDRetryCount<I.retryCount+1?(T.getDNS(b,N),T.gDRetryCount--):(I.onError(X.responseText),T.gDRetryCount=I.retryCount)}})},getOffset:function(b,N){var X;if(X=localStorage.getItem(b.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context"),!X)return N(0);we.ajax({type:"get",url:b.serveIp+"/"+b.bucketName+"/"+encodeURIComponent(b.objectName)+"?uploadContext",data:{version:T.version,context:X},dataType:"json",beforeSend:function(W){W.setRequestHeader("x-nos-token",b.token)},success:function(W){W.errCode?I.onError({errCode:W.errCode,errMsg:W.errMsg}):N(W.offset)},error:function(W){W.status.toString().match(/^5/)&&T.gORetryCount>0&&T.gORetryCount<I.retryCount+1?(T.getOffset(b,N),T.gORetryCount--):(I.onError(W.responseText),T.gORetryCount=I.retryCount,W.status===404&&T.clearStorage(b.bucketName,b.objectName,b.fileKey))}})},uploadTrunk:function(b,N,X){var W,se="",w,pe,re=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice;if(w=T.getFile(N.fileKey),pe=localStorage.getItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context"),w.xhr?W=w.xhr:(W=T.createAjax(),w.xhr=W),W.upload.onprogress=function(G){var D=0;G.lengthComputable?(D=(N.offset+G.loaded)/N.file.size,w.progress=(D*100).toFixed(2),D>0&&D<1?(w.status=1,we("#"+I.fileInputID).attr("disabled",!0)):D===1&&(w.status=2,we("#"+I.fileInputID).attr("disabled",!1)),localStorage.setItem(N.fileKey+"_progress",w.progress),I.onProgress(w)):(console.log("浏览器不支持进度事件",G),I.onError({errMsg:"浏览器不支持进度事件"}))},W.onreadystatechange=function(){if(W.readyState===4){var G;try{G=JSON.parse(W.responseText)}catch{G={errMsg:"未知错误"}}if(W.status===200)w.file.size===0&&(w.status=2,w.progress=100,I.onProgress(w)),localStorage.setItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context",G.context),G.offset<N.file.size?T.uploadTrunk(b,we.extend({},N,{offset:G.offset,trunkEnd:G.offset+N.trunkSize,context:pe||G.context}),X):X(N);else if(W.status.toString().match(/^5/))if(T.uTRetryCount<I.retryCount+1&&T.uTRetryCount>0)T.getOffset({serveIp:b.serveIp,bucketName:b.bucketName,objectName:b.objectName,token:b.token,fileKey:N.fileKey},function(m){T.uploadTrunk(b,we.extend({},N,{offset:m,trunkEnd:m+N.trunkSize,context:localStorage.getItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context")||""}),X)}),T.uTRetryCount--;else if(T.dnsRetryCount<T.edgeNodeList.length-1){T.uTRetryCount=I.retryCount,T.dnsRetryCount++;var D=we.extend({},b,{serveIp:T.edgeNodeList[T.dnsRetryCount]});T.getOffset({serveIp:D.serveIp,bucketName:D.bucketName,objectName:D.objectName,token:D.token,fileKey:N.fileKey},function(m){T.uploadTrunk(D,we.extend({},N,{offset:m,trunkEnd:m+N.trunkSize,context:localStorage.getItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context")||""}),X)})}else T.dnsRetryCount=0,I.onError({errCode:G.errCode,errMsg:G.errMsg}),we("#"+I.fileInputID).attr("disabled",!1),T.clearStorage(b.bucketName,b.objectName,N.fileKey);else we("#"+I.fileInputID).attr("disabled",!1),W.status&&(T.clearStorage(b.bucketName,b.objectName,N.fileKey),I.onError({errCode:G.errCode,errMsg:G.errMsg}))}},se="?offset="+N.offset+"&complete="+(N.trunkEnd>=N.file.size)+"&context="+(pe||N.context)+"&version="+T.version,W.open("post",b.serveIp+"/"+b.bucketName+"/"+encodeURIComponent(b.objectName)+se),W.timeout=I.timeout,W.setRequestHeader("x-nos-token",b.token),navigator.userAgent.indexOf("WindowsWechat")>=0){var ue=new FileReader;ue.addEventListener("loadend",function(){var G=new Blob([ue.result]);W.send(G)}),ue.readAsArrayBuffer(re.call(N.file,N.offset,N.trunkEnd))}else W.send(re.call(N.file,N.offset,N.trunkEnd))},pauseUpload:function(){var b;T.uploadFile?T.uploadFile.xhr?T.uploadFile.status<2&&(b=T.uploadFile.xhr,b.abort(),we("#"+I.fileInputID).attr("disabled",!1)):I.onError({errMsg:"当前文件未开始上传"}):I.onError({errMsg:"未选择需上传的文件"})},upload:function(b,N){if(!b.bucketName&&b.bucketName!==0){I.onError({errMsg:"桶名不能为空"});return}if(!b.objectName&&b.objectName!==0){I.onError({errMsg:"对象名不能为空"});return}if(!b.token){I.onError({errMsg:"上传凭证不能为空"});return}if(b.trunkSize?Object.prototype.toString.call(b.trunkSize)==="[object String]"&&(b.trunkSize=parseInt(b.trunkSize)):b.trunkSize=128*1024,!T.uploadFile){I.onError({errMsg:"未选择需上传的文件"});return}var X=T.uploadFile;T.getDNS(b.bucketName,function(W){if(W.length===0){I.onError({errMsg:"暂无边缘节点"});return}T.getOffset({serveIp:W[0],bucketName:b.bucketName,objectName:b.objectName,fileKey:X.fileKey,token:b.token},function(se){T.uploadTrunk({serveIp:W[0],bucketName:b.bucketName,objectName:b.objectName,token:b.token},{file:X.file,fileKey:X.fileKey,offset:se||0,trunkSize:b.trunkSize,trunkEnd:(se||0)+b.trunkSize,context:""},function(w){T.clearStorage(b.bucketName,b.objectName,w.fileKey),N&&N(X)})})})}},T}const ri=4*1024*1024,ii=12e4,oi=13e4,si=3e4;async function $n(fe,F){const I=new AbortController,T=setTimeout(()=>I.abort(),si);try{const b=await fetch(fe,{headers:F,credentials:"same-origin",signal:I.signal});if(!b.ok)throw new Error(`NOS 网关请求失败:HTTP ${b.status}(${fe})`);const N=await b.json();if(+N.code!=200)throw new Error(`NOS 网关业务错误:code=${N.code} message=${N.message??""}`);return N.data}finally{clearTimeout(T)}}function ui(fe){const{baseURL:F,headers:I,trunkSize:T=ri,onProgress:b,chunkTimeoutMs:N=ii,stallTimeoutMs:X=oi,fetchNosUrl:W=!0}=fe;return async se=>{const w=Vn(`${se.name}:${se.size}:${Date.now()}`).toString(),pe=`objectName=${encodeURIComponent(w)}`,re=await $n(`${F}/nos/token?${pe}`,I);await new Promise((G,D)=>{let m=setTimeout(R,X);const U=()=>{m&&clearTimeout(m),m=setTimeout(R,X)};function R(){m=null,D(new Error(`上传停滞超时(${Math.round(X/1e3)}s 无进度):可能为网络中断或服务端响应超时,请重试`))}const C=L=>{m&&clearTimeout(m),m=null,L()},O=ni({timeout:N,onProgress:L=>{U(),b==null||b(parseFloat(L.progress)||0)},onError:L=>{C(()=>{var $;return D(L instanceof Error?L:new Error(`NOS 上传失败:${($=JSON.stringify(L))==null?void 0:$.slice(0,200)}`))})}});O.addFile(se,()=>{O.upload({...re,trunkSize:T},()=>C(G))})});let ue;if(W){const G=`objectName=${encodeURIComponent(w)}&fileName=${encodeURIComponent(se.name)}`;ue=await $n(`${F}/nos/url?${G}`,I).then(D=>D==null?void 0:D.url).catch(D=>{console.warn("[super-agent-sdk] 获取 NOS 下载地址失败(不影响上传结果):",D)})}return{nosKey:w,filename:se.name,size:se.size,mime:se.type||void 0,url:ue}}}exports.commonjsGlobal=tt;exports.commonjsRequire=Un;exports.createNosUploader=ui;exports.getDefaultExportFromCjs=on;
|
|
10
|
+
*/(function(ne){(function(I,O){ne.exports=I.document?O(I,!0):function(T){if(!T.document)throw new Error("jQuery requires a window with a document");return O(T)}})(typeof window<"u"?window:tt,function(I,O){var T=[],b=Object.getPrototypeOf,N=T.slice,X=T.flat?function(e){return T.flat.call(e)}:function(e){return T.concat.apply([],e)},W=T.push,ue=T.indexOf,w={},pe=w.toString,ie=w.hasOwnProperty,ae=ie.toString,G=ae.call(Object),D={},m=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},U=function(t){return t!=null&&t===t.window},P=I.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function H(e,t,n){n=n||P;var r,o,s=n.createElement("script");if(s.text=e,t)for(r in C)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&s.setAttribute(r,o);n.head.appendChild(s).parentNode.removeChild(s)}function L(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?w[pe.call(e)]||"object":typeof e}var $="3.7.1",J=/HTML$/i,i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:$,constructor:i,length:0,toArray:function(){return N.call(this)},get:function(e){return e==null?N.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(N.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:W,sort:T.sort,splice:T.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,s,u=arguments[0]||{},c=1,f=arguments.length,d=!1;for(typeof u=="boolean"&&(d=u,u=arguments[c]||{},c++),typeof u!="object"&&!m(u)&&(u={}),c===f&&(u=this,c--);c<f;c++)if((e=arguments[c])!=null)for(t in e)r=e[t],!(t==="__proto__"||u===r)&&(d&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=u[t],o&&!Array.isArray(n)?s=[]:!o&&!i.isPlainObject(n)?s={}:s=n,o=!1,u[t]=i.extend(d,s,r)):r!==void 0&&(u[t]=r));return u},i.extend({expando:"jQuery"+($+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||pe.call(e)!=="[object Object]"?!1:(t=b(e),t?(n=ie.call(t,"constructor")&&t.constructor,typeof n=="function"&&ae.call(n)===G):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){H(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(he(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&&(he(Object(e))?i.merge(n,typeof e=="string"?[e]:e):W.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:ue.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!J.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=[],s=0,u=e.length,c=!n;s<u;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(he(e))for(r=e.length;s<r;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 X(u)},guid:1,support:D}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=T[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){w["[object "+t+"]"]=t.toLowerCase()});function he(e){var t=!!e&&"length"in e&&e.length,n=L(e);return m(e)||U(e)?!1:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function Q(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var ke=T.pop,Fe=T.sort,De=T.splice,oe="[\\x20\\t\\r\\n\\f]",Oe=new RegExp("^"+oe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+oe+"+$","g");i.contains=function(e,t){var n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(e.contains?e.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))};var nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function rt(e,t){return t?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}i.escapeSelector=function(e){return(e+"").replace(nt,rt)};var xe=P,Ue=W;(function(){var e,t,n,r,o,s=Ue,u,c,f,d,y,x=i.expando,h=0,S=0,K=Dt(),re=Dt(),Y=Dt(),ge=Dt(),de=function(a,l){return a===l&&(o=!0),0},Le="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",qe="(?:\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",te="\\["+oe+"*("+qe+")(?:"+oe+"*([*^$|!~]?=)"+oe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+qe+"))|)"+oe+"*\\]",Ze=":("+qe+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+te+")*)|.*)\\)|)",se=new RegExp(oe+"+","g"),le=new RegExp("^"+oe+"*,"+oe+"*"),Ct=new RegExp("^"+oe+"*([>+~]|"+oe+")"+oe+"*"),Qt=new RegExp(oe+"|>"),Re=new RegExp(Ze),Tt=new RegExp("^"+qe+"$"),Pe={ID:new RegExp("^#("+qe+")"),CLASS:new RegExp("^\\.("+qe+")"),TAG:new RegExp("^("+qe+"|[*])"),ATTR:new RegExp("^"+te),PSEUDO:new RegExp("^"+Ze),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+oe+"*(even|odd|(([+-]|)(\\d*)n|)"+oe+"*(?:([+-]|)"+oe+"*(\\d+)|))"+oe+"*\\)|)","i"),bool:new RegExp("^(?:"+Le+")$","i"),needsContext:new RegExp("^"+oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+oe+"*((?:-\\d)?\\d*)"+oe+"*\\)|)(?=[^-]|$)","i")},Ke=/^(?:input|select|textarea|button)$/i,Ve=/^h\d$/i,Ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Yt=/[+~]/,$e=new RegExp("\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\([^\\r\\n\\f])","g"),ze=function(a,l){var p="0x"+a.slice(1)-65536;return l||(p<0?String.fromCharCode(p+65536):String.fromCharCode(p>>10|55296,p&1023|56320))},$r=function(){Xe()},zr=It(function(a){return a.disabled===!0&&Q(a,"fieldset")},{dir:"parentNode",next:"legend"});function Ur(){try{return u.activeElement}catch{}}try{s.apply(T=N.call(xe.childNodes),xe.childNodes),T[xe.childNodes.length].nodeType}catch{s={apply:function(l,p){Ue.apply(l,N.call(p))},call:function(l){Ue.apply(l,N.call(arguments,1))}}}function fe(a,l,p,g){var v,A,q,M,R,Z,z,V=l&&l.ownerDocument,ee=l?l.nodeType:9;if(p=p||[],typeof a!="string"||!a||ee!==1&&ee!==9&&ee!==11)return p;if(!g&&(Xe(l),l=l||u,f)){if(ee!==11&&(R=Ne.exec(a)))if(v=R[1]){if(ee===9)if(q=l.getElementById(v)){if(q.id===v)return s.call(p,q),p}else return p;else if(V&&(q=V.getElementById(v))&&fe.contains(l,q)&&q.id===v)return s.call(p,q),p}else{if(R[2])return s.apply(p,l.getElementsByTagName(a)),p;if((v=R[3])&&l.getElementsByClassName)return s.apply(p,l.getElementsByClassName(v)),p}if(!ge[a+" "]&&(!d||!d.test(a))){if(z=a,V=l,ee===1&&(Qt.test(a)||Ct.test(a))){for(V=Yt.test(a)&&Jt(l.parentNode)||l,(V!=l||!D.scope)&&((M=l.getAttribute("id"))?M=i.escapeSelector(M):l.setAttribute("id",M=x)),Z=wt(a),A=Z.length;A--;)Z[A]=(M?"#"+M:":scope")+" "+Ot(Z[A]);z=Z.join(",")}try{return s.apply(p,V.querySelectorAll(z)),p}catch{ge(a,!0)}finally{M===x&&l.removeAttribute("id")}}}return Wn(a.replace(Oe,"$1"),l,p,g)}function Dt(){var a=[];function l(p,g){return a.push(p+" ")>t.cacheLength&&delete l[a.shift()],l[p+" "]=g}return l}function Ae(a){return a[x]=!0,a}function lt(a){var l=u.createElement("fieldset");try{return!!a(l)}catch{return!1}finally{l.parentNode&&l.parentNode.removeChild(l),l=null}}function Kr(a){return function(l){return Q(l,"input")&&l.type===a}}function Vr(a){return function(l){return(Q(l,"input")||Q(l,"button"))&&l.type===a}}function Fn(a){return function(l){return"form"in l?l.parentNode&&l.disabled===!1?"label"in l?"label"in l.parentNode?l.parentNode.disabled===a:l.disabled===a:l.isDisabled===a||l.isDisabled!==!a&&zr(l)===a:l.disabled===a:"label"in l?l.disabled===a:!1}}function et(a){return Ae(function(l){return l=+l,Ae(function(p,g){for(var v,A=a([],p.length,l),q=A.length;q--;)p[v=A[q]]&&(p[v]=!(g[v]=p[v]))})})}function Jt(a){return a&&typeof a.getElementsByTagName<"u"&&a}function Xe(a){var l,p=a?a.ownerDocument||a:xe;return p==u||p.nodeType!==9||!p.documentElement||(u=p,c=u.documentElement,f=!i.isXMLDoc(u),y=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&xe!=u&&(l=u.defaultView)&&l.top!==l&&l.addEventListener("unload",$r),D.getById=lt(function(g){return c.appendChild(g).id=i.expando,!u.getElementsByName||!u.getElementsByName(i.expando).length}),D.disconnectedMatch=lt(function(g){return y.call(g,"*")}),D.scope=lt(function(){return u.querySelectorAll(":scope")}),D.cssHas=lt(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),D.getById?(t.filter.ID=function(g){var v=g.replace($e,ze);return function(A){return A.getAttribute("id")===v}},t.find.ID=function(g,v){if(typeof v.getElementById<"u"&&f){var A=v.getElementById(g);return A?[A]:[]}}):(t.filter.ID=function(g){var v=g.replace($e,ze);return function(A){var q=typeof A.getAttributeNode<"u"&&A.getAttributeNode("id");return q&&q.value===v}},t.find.ID=function(g,v){if(typeof v.getElementById<"u"&&f){var A,q,M,R=v.getElementById(g);if(R){if(A=R.getAttributeNode("id"),A&&A.value===g)return[R];for(M=v.getElementsByName(g),q=0;R=M[q++];)if(A=R.getAttributeNode("id"),A&&A.value===g)return[R]}return[]}}),t.find.TAG=function(g,v){return typeof v.getElementsByTagName<"u"?v.getElementsByTagName(g):v.querySelectorAll(g)},t.find.CLASS=function(g,v){if(typeof v.getElementsByClassName<"u"&&f)return v.getElementsByClassName(g)},d=[],lt(function(g){var v;c.appendChild(g).innerHTML="<a id='"+x+"' href='' disabled='disabled'></a><select id='"+x+"-\r\\' disabled='disabled'><option selected=''></option></select>",g.querySelectorAll("[selected]").length||d.push("\\["+oe+"*(?:value|"+Le+")"),g.querySelectorAll("[id~="+x+"-]").length||d.push("~="),g.querySelectorAll("a#"+x+"+*").length||d.push(".#.+[+~]"),g.querySelectorAll(":checked").length||d.push(":checked"),v=u.createElement("input"),v.setAttribute("type","hidden"),g.appendChild(v).setAttribute("name","D"),c.appendChild(g).disabled=!0,g.querySelectorAll(":disabled").length!==2&&d.push(":enabled",":disabled"),v=u.createElement("input"),v.setAttribute("name",""),g.appendChild(v),g.querySelectorAll("[name='']").length||d.push("\\["+oe+"*name"+oe+"*="+oe+`*(?:''|"")`)}),D.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),de=function(g,v){if(g===v)return o=!0,0;var A=!g.compareDocumentPosition-!v.compareDocumentPosition;return A||(A=(g.ownerDocument||g)==(v.ownerDocument||v)?g.compareDocumentPosition(v):1,A&1||!D.sortDetached&&v.compareDocumentPosition(g)===A?g===u||g.ownerDocument==xe&&fe.contains(xe,g)?-1:v===u||v.ownerDocument==xe&&fe.contains(xe,v)?1:r?ue.call(r,g)-ue.call(r,v):0:A&4?-1:1)}),u}fe.matches=function(a,l){return fe(a,null,null,l)},fe.matchesSelector=function(a,l){if(Xe(a),f&&!ge[l+" "]&&(!d||!d.test(l)))try{var p=y.call(a,l);if(p||D.disconnectedMatch||a.document&&a.document.nodeType!==11)return p}catch{ge(l,!0)}return fe(l,u,null,[a]).length>0},fe.contains=function(a,l){return(a.ownerDocument||a)!=u&&Xe(a),i.contains(a,l)},fe.attr=function(a,l){(a.ownerDocument||a)!=u&&Xe(a);var p=t.attrHandle[l.toLowerCase()],g=p&&ie.call(t.attrHandle,l.toLowerCase())?p(a,l,!f):void 0;return g!==void 0?g:a.getAttribute(l)},fe.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},i.uniqueSort=function(a){var l,p=[],g=0,v=0;if(o=!D.sortStable,r=!D.sortStable&&N.call(a,0),Fe.call(a,de),o){for(;l=a[v++];)l===a[v]&&(g=p.push(v));for(;g--;)De.call(a,p[g],1)}return r=null,a},i.fn.uniqueSort=function(){return this.pushStack(i.uniqueSort(N.apply(this)))},t=i.expr={cacheLength:50,createPseudo:Ae,match:Pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace($e,ze),a[3]=(a[3]||a[4]||a[5]||"").replace($e,ze),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1].slice(0,3)==="nth"?(a[3]||fe.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(a[3]==="even"||a[3]==="odd")),a[5]=+(a[7]+a[8]||a[3]==="odd")):a[3]&&fe.error(a[0]),a},PSEUDO:function(a){var l,p=!a[6]&&a[2];return Pe.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":p&&Re.test(p)&&(l=wt(p,!0))&&(l=p.indexOf(")",p.length-l)-p.length)&&(a[0]=a[0].slice(0,l),a[2]=p.slice(0,l)),a.slice(0,3))}},filter:{TAG:function(a){var l=a.replace($e,ze).toLowerCase();return a==="*"?function(){return!0}:function(p){return Q(p,l)}},CLASS:function(a){var l=K[a+" "];return l||(l=new RegExp("(^|"+oe+")"+a+"("+oe+"|$)"))&&K(a,function(p){return l.test(typeof p.className=="string"&&p.className||typeof p.getAttribute<"u"&&p.getAttribute("class")||"")})},ATTR:function(a,l,p){return function(g){var v=fe.attr(g,a);return v==null?l==="!=":l?(v+="",l==="="?v===p:l==="!="?v!==p:l==="^="?p&&v.indexOf(p)===0:l==="*="?p&&v.indexOf(p)>-1:l==="$="?p&&v.slice(-p.length)===p:l==="~="?(" "+v.replace(se," ")+" ").indexOf(p)>-1:l==="|="?v===p||v.slice(0,p.length+1)===p+"-":!1):!0}},CHILD:function(a,l,p,g,v){var A=a.slice(0,3)!=="nth",q=a.slice(-4)!=="last",M=l==="of-type";return g===1&&v===0?function(R){return!!R.parentNode}:function(R,Z,z){var V,ee,B,ce,Te,ye=A!==q?"nextSibling":"previousSibling",Ee=R.parentNode,Me=M&&R.nodeName.toLowerCase(),dt=!z&&!M,ve=!1;if(Ee){if(A){for(;ye;){for(B=R;B=B[ye];)if(M?Q(B,Me):B.nodeType===1)return!1;Te=ye=a==="only"&&!Te&&"nextSibling"}return!0}if(Te=[q?Ee.firstChild:Ee.lastChild],q&&dt){for(ee=Ee[x]||(Ee[x]={}),V=ee[a]||[],ce=V[0]===h&&V[1],ve=ce&&V[2],B=ce&&Ee.childNodes[ce];B=++ce&&B&&B[ye]||(ve=ce=0)||Te.pop();)if(B.nodeType===1&&++ve&&B===R){ee[a]=[h,ce,ve];break}}else if(dt&&(ee=R[x]||(R[x]={}),V=ee[a]||[],ce=V[0]===h&&V[1],ve=ce),ve===!1)for(;(B=++ce&&B&&B[ye]||(ve=ce=0)||Te.pop())&&!((M?Q(B,Me):B.nodeType===1)&&++ve&&(dt&&(ee=B[x]||(B[x]={}),ee[a]=[h,ve]),B===R)););return ve-=v,ve===g||ve%g===0&&ve/g>=0}}},PSEUDO:function(a,l){var p,g=t.pseudos[a]||t.setFilters[a.toLowerCase()]||fe.error("unsupported pseudo: "+a);return g[x]?g(l):g.length>1?(p=[a,a,"",l],t.setFilters.hasOwnProperty(a.toLowerCase())?Ae(function(v,A){for(var q,M=g(v,l),R=M.length;R--;)q=ue.call(v,M[R]),v[q]=!(A[q]=M[R])}):function(v){return g(v,0,p)}):g}},pseudos:{not:Ae(function(a){var l=[],p=[],g=nn(a.replace(Oe,"$1"));return g[x]?Ae(function(v,A,q,M){for(var R,Z=g(v,null,M,[]),z=v.length;z--;)(R=Z[z])&&(v[z]=!(A[z]=R))}):function(v,A,q){return l[0]=v,g(l,null,q,p),l[0]=null,!p.pop()}}),has:Ae(function(a){return function(l){return fe(a,l).length>0}}),contains:Ae(function(a){return a=a.replace($e,ze),function(l){return(l.textContent||i.text(l)).indexOf(a)>-1}}),lang:Ae(function(a){return Tt.test(a||"")||fe.error("unsupported lang: "+a),a=a.replace($e,ze).toLowerCase(),function(l){var p;do if(p=f?l.lang:l.getAttribute("xml:lang")||l.getAttribute("lang"))return p=p.toLowerCase(),p===a||p.indexOf(a+"-")===0;while((l=l.parentNode)&&l.nodeType===1);return!1}}),target:function(a){var l=I.location&&I.location.hash;return l&&l.slice(1)===a.id},root:function(a){return a===c},focus:function(a){return a===Ur()&&u.hasFocus()&&!!(a.type||a.href||~a.tabIndex)},enabled:Fn(!1),disabled:Fn(!0),checked:function(a){return Q(a,"input")&&!!a.checked||Q(a,"option")&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!t.pseudos.empty(a)},header:function(a){return Ve.test(a.nodeName)},input:function(a){return Ke.test(a.nodeName)},button:function(a){return Q(a,"input")&&a.type==="button"||Q(a,"button")},text:function(a){var l;return Q(a,"input")&&a.type==="text"&&((l=a.getAttribute("type"))==null||l.toLowerCase()==="text")},first:et(function(){return[0]}),last:et(function(a,l){return[l-1]}),eq:et(function(a,l,p){return[p<0?p+l:p]}),even:et(function(a,l){for(var p=0;p<l;p+=2)a.push(p);return a}),odd:et(function(a,l){for(var p=1;p<l;p+=2)a.push(p);return a}),lt:et(function(a,l,p){var g;for(p<0?g=p+l:p>l?g=l:g=p;--g>=0;)a.push(g);return a}),gt:et(function(a,l,p){for(var g=p<0?p+l:p;++g<l;)a.push(g);return a})}},t.pseudos.nth=t.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=Kr(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=Vr(e);function Bn(){}Bn.prototype=t.filters=t.pseudos,t.setFilters=new Bn;function wt(a,l){var p,g,v,A,q,M,R,Z=re[a+" "];if(Z)return l?0:Z.slice(0);for(q=a,M=[],R=t.preFilter;q;){(!p||(g=le.exec(q)))&&(g&&(q=q.slice(g[0].length)||q),M.push(v=[])),p=!1,(g=Ct.exec(q))&&(p=g.shift(),v.push({value:p,type:g[0].replace(Oe," ")}),q=q.slice(p.length));for(A in t.filter)(g=Pe[A].exec(q))&&(!R[A]||(g=R[A](g)))&&(p=g.shift(),v.push({value:p,type:A,matches:g}),q=q.slice(p.length));if(!p)break}return l?q.length:q?fe.error(a):re(a,M).slice(0)}function Ot(a){for(var l=0,p=a.length,g="";l<p;l++)g+=a[l].value;return g}function It(a,l,p){var g=l.dir,v=l.next,A=v||g,q=p&&A==="parentNode",M=S++;return l.first?function(R,Z,z){for(;R=R[g];)if(R.nodeType===1||q)return a(R,Z,z);return!1}:function(R,Z,z){var V,ee,B=[h,M];if(z){for(;R=R[g];)if((R.nodeType===1||q)&&a(R,Z,z))return!0}else for(;R=R[g];)if(R.nodeType===1||q)if(ee=R[x]||(R[x]={}),v&&Q(R,v))R=R[g]||R;else{if((V=ee[A])&&V[0]===h&&V[1]===M)return B[2]=V[2];if(ee[A]=B,B[2]=a(R,Z,z))return!0}return!1}}function Zt(a){return a.length>1?function(l,p,g){for(var v=a.length;v--;)if(!a[v](l,p,g))return!1;return!0}:a[0]}function Xr(a,l,p){for(var g=0,v=l.length;g<v;g++)fe(a,l[g],p);return p}function Ht(a,l,p,g,v){for(var A,q=[],M=0,R=a.length,Z=l!=null;M<R;M++)(A=a[M])&&(!p||p(A,g,v))&&(q.push(A),Z&&l.push(M));return q}function en(a,l,p,g,v,A){return g&&!g[x]&&(g=en(g)),v&&!v[x]&&(v=en(v,A)),Ae(function(q,M,R,Z){var z,V,ee,B,ce=[],Te=[],ye=M.length,Ee=q||Xr(l||"*",R.nodeType?[R]:R,[]),Me=a&&(q||!l)?Ht(Ee,ce,a,R,Z):Ee;if(p?(B=v||(q?a:ye||g)?[]:M,p(Me,B,R,Z)):B=Me,g)for(z=Ht(B,Te),g(z,[],R,Z),V=z.length;V--;)(ee=z[V])&&(B[Te[V]]=!(Me[Te[V]]=ee));if(q){if(v||a){if(v){for(z=[],V=B.length;V--;)(ee=B[V])&&z.push(Me[V]=ee);v(null,B=[],z,Z)}for(V=B.length;V--;)(ee=B[V])&&(z=v?ue.call(q,ee):ce[V])>-1&&(q[z]=!(M[z]=ee))}}else B=Ht(B===M?B.splice(ye,B.length):B),v?v(null,M,B,Z):s.apply(M,B)})}function tn(a){for(var l,p,g,v=a.length,A=t.relative[a[0].type],q=A||t.relative[" "],M=A?1:0,R=It(function(V){return V===l},q,!0),Z=It(function(V){return ue.call(l,V)>-1},q,!0),z=[function(V,ee,B){var ce=!A&&(B||ee!=n)||((l=ee).nodeType?R(V,ee,B):Z(V,ee,B));return l=null,ce}];M<v;M++)if(p=t.relative[a[M].type])z=[It(Zt(z),p)];else{if(p=t.filter[a[M].type].apply(null,a[M].matches),p[x]){for(g=++M;g<v&&!t.relative[a[g].type];g++);return en(M>1&&Zt(z),M>1&&Ot(a.slice(0,M-1).concat({value:a[M-2].type===" "?"*":""})).replace(Oe,"$1"),p,M<g&&tn(a.slice(M,g)),g<v&&tn(a=a.slice(g)),g<v&&Ot(a))}z.push(p)}return Zt(z)}function Gr(a,l){var p=l.length>0,g=a.length>0,v=function(A,q,M,R,Z){var z,V,ee,B=0,ce="0",Te=A&&[],ye=[],Ee=n,Me=A||g&&t.find.TAG("*",Z),dt=h+=Ee==null?1:Math.random()||.1,ve=Me.length;for(Z&&(n=q==u||q||Z);ce!==ve&&(z=Me[ce])!=null;ce++){if(g&&z){for(V=0,!q&&z.ownerDocument!=u&&(Xe(z),M=!f);ee=a[V++];)if(ee(z,q||u,M)){s.call(R,z);break}Z&&(h=dt)}p&&((z=!ee&&z)&&B--,A&&Te.push(z))}if(B+=ce,p&&ce!==B){for(V=0;ee=l[V++];)ee(Te,ye,q,M);if(A){if(B>0)for(;ce--;)Te[ce]||ye[ce]||(ye[ce]=ke.call(R));ye=Ht(ye)}s.apply(R,ye),Z&&!A&&ye.length>0&&B+l.length>1&&i.uniqueSort(R)}return Z&&(h=dt,n=Ee),Te};return p?Ae(v):v}function nn(a,l){var p,g=[],v=[],A=Y[a+" "];if(!A){for(l||(l=wt(a)),p=l.length;p--;)A=tn(l[p]),A[x]?g.push(A):v.push(A);A=Y(a,Gr(v,g)),A.selector=a}return A}function Wn(a,l,p,g){var v,A,q,M,R,Z=typeof a=="function"&&a,z=!g&&wt(a=Z.selector||a);if(p=p||[],z.length===1){if(A=z[0]=z[0].slice(0),A.length>2&&(q=A[0]).type==="ID"&&l.nodeType===9&&f&&t.relative[A[1].type]){if(l=(t.find.ID(q.matches[0].replace($e,ze),l)||[])[0],l)Z&&(l=l.parentNode);else return p;a=a.slice(A.shift().value.length)}for(v=Pe.needsContext.test(a)?0:A.length;v--&&(q=A[v],!t.relative[M=q.type]);)if((R=t.find[M])&&(g=R(q.matches[0].replace($e,ze),Yt.test(A[0].type)&&Jt(l.parentNode)||l))){if(A.splice(v,1),a=g.length&&Ot(A),!a)return s.apply(p,g),p;break}}return(Z||nn(a,z))(g,l,!f,p,!l||Yt.test(a)&&Jt(l.parentNode)||l),p}D.sortStable=x.split("").sort(de).join("")===x,Xe(),D.sortDetached=lt(function(a){return a.compareDocumentPosition(u.createElement("fieldset"))&1}),i.find=fe,i.expr[":"]=i.expr.pseudos,i.unique=i.uniqueSort,fe.compile=nn,fe.select=Wn,fe.setDocument=Xe,fe.tokenize=wt,fe.escape=i.escapeSelector,fe.getText=i.text,fe.isXML=i.isXMLDoc,fe.selectors=i.expr,fe.support=i.support,fe.uniqueSort=i.uniqueSort})();var je=function(e,t,n){for(var r=[],o=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&i(e).is(n))break;r.push(e)}return r},Ge=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},k=i.expr.match.needsContext,j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,t,n){return m(t)?i.grep(e,function(r,o){return!!t.call(r,o,r)!==n}):t.nodeType?i.grep(e,function(r){return r===t!==n}):typeof t!="string"?i.grep(e,function(r){return ue.call(t,r)>-1!==n}):i.filter(t,e,n)}i.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?i.find.matchesSelector(r,e)?[r]:[]:i.find.matches(e,i.grep(t,function(o){return o.nodeType===1}))},i.fn.extend({find:function(e){var t,n,r=this.length,o=this;if(typeof e!="string")return this.pushStack(i(e).filter(function(){for(t=0;t<r;t++)if(i.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)i.find(e,o[t],n);return r>1?i.uniqueSort(n):n},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,typeof e=="string"&&k.test(e)?i(e):e||[],!1).length}});var _,Gn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Qn=i.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||_,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?r=[null,e,null]:r=Gn.exec(e),r&&(r[1]||!t))if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:P,!0)),j.test(r[1])&&i.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}else return o=P.getElementById(r[2]),o&&(this[0]=o,this.length=1),this;else return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(m(e))return n.ready!==void 0?n.ready(e):e(i)}return i.makeArray(e,this)};Qn.prototype=i.fn,_=i(P);var Yn=/^(?:parents|prev(?:Until|All))/,Jn={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(e){var t=i(e,this),n=t.length;return this.filter(function(){for(var r=0;r<n;r++)if(i.contains(this,t[r]))return!0})},closest:function(e,t){var n,r=0,o=this.length,s=[],u=typeof e!="string"&&i(e);if(!k.test(e)){for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(u?u.index(n)>-1:n.nodeType===1&&i.find.matchesSelector(n,e))){s.push(n);break}}return this.pushStack(s.length>1?i.uniqueSort(s):s)},index:function(e){return e?typeof e=="string"?ue.call(i(e),this[0]):ue.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function un(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return je(e,"parentNode")},parentsUntil:function(e,t,n){return je(e,"parentNode",n)},next:function(e){return un(e,"nextSibling")},prev:function(e){return un(e,"previousSibling")},nextAll:function(e){return je(e,"nextSibling")},prevAll:function(e){return je(e,"previousSibling")},nextUntil:function(e,t,n){return je(e,"nextSibling",n)},prevUntil:function(e,t,n){return je(e,"previousSibling",n)},siblings:function(e){return Ge((e.parentNode||{}).firstChild,e)},children:function(e){return Ge(e.firstChild)},contents:function(e){return e.contentDocument!=null&&b(e.contentDocument)?e.contentDocument:(Q(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(n,r){var o=i.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(o=i.filter(r,o)),this.length>1&&(Jn[e]||i.uniqueSort(o),Yn.test(e)&&o.reverse()),this.pushStack(o)}});var Ie=/[^\x20\t\r\n\f]+/g;function Zn(e){var t={};return i.each(e.match(Ie)||[],function(n,r){t[r]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?Zn(e):i.extend({},e);var t,n,r,o,s=[],u=[],c=-1,f=function(){for(o=o||e.once,r=t=!0;u.length;c=-1)for(n=u.shift();++c<s.length;)s[c].apply(n[0],n[1])===!1&&e.stopOnFalse&&(c=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(n?s=[]:s="")},d={add:function(){return s&&(n&&!t&&(c=s.length-1,u.push(n)),function y(x){i.each(x,function(h,S){m(S)?(!e.unique||!d.has(S))&&s.push(S):S&&S.length&&L(S)!=="string"&&y(S)})}(arguments),n&&!t&&f()),this},remove:function(){return i.each(arguments,function(y,x){for(var h;(h=i.inArray(x,s,h))>-1;)s.splice(h,1),h<=c&&c--}),this},has:function(y){return y?i.inArray(y,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=u=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=u=[],!n&&!t&&(s=n=""),this},locked:function(){return!!o},fireWith:function(y,x){return o||(x=x||[],x=[y,x.slice?x.slice():x],u.push(x),t||f()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d};function it(e){return e}function St(e){throw e}function an(e,t,n,r){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(s){n.apply(void 0,[s])}}i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(s){return r.then(null,s)},pipe:function(){var s=arguments;return i.Deferred(function(u){i.each(t,function(c,f){var d=m(s[f[4]])&&s[f[4]];o[f[1]](function(){var y=d&&d.apply(this,arguments);y&&m(y.promise)?y.promise().progress(u.notify).done(u.resolve).fail(u.reject):u[f[0]+"With"](this,d?[y]:arguments)})}),s=null}).promise()},then:function(s,u,c){var f=0;function d(y,x,h,S){return function(){var K=this,re=arguments,Y=function(){var de,Le;if(!(y<f)){if(de=h.apply(K,re),de===x.promise())throw new TypeError("Thenable self-resolution");Le=de&&(typeof de=="object"||typeof de=="function")&&de.then,m(Le)?S?Le.call(de,d(f,x,it,S),d(f,x,St,S)):(f++,Le.call(de,d(f,x,it,S),d(f,x,St,S),d(f,x,it,x.notifyWith))):(h!==it&&(K=void 0,re=[de]),(S||x.resolveWith)(K,re))}},ge=S?Y:function(){try{Y()}catch(de){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(de,ge.error),y+1>=f&&(h!==St&&(K=void 0,re=[de]),x.rejectWith(K,re))}};y?ge():(i.Deferred.getErrorHook?ge.error=i.Deferred.getErrorHook():i.Deferred.getStackHook&&(ge.error=i.Deferred.getStackHook()),I.setTimeout(ge))}}return i.Deferred(function(y){t[0][3].add(d(0,y,m(c)?c:it,y.notifyWith)),t[1][3].add(d(0,y,m(s)?s:it)),t[2][3].add(d(0,y,m(u)?u:St))}).promise()},promise:function(s){return s!=null?i.extend(s,r):r}},o={};return i.each(t,function(s,u){var c=u[2],f=u[5];r[u[1]]=c.add,f&&c.add(function(){n=f},t[3-s][2].disable,t[3-s][3].disable,t[0][2].lock,t[0][3].lock),c.add(u[3].fire),o[u[0]]=function(){return o[u[0]+"With"](this===o?void 0:this,arguments),this},o[u[0]+"With"]=c.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=N.call(arguments),s=i.Deferred(),u=function(c){return function(f){r[c]=this,o[c]=arguments.length>1?N.call(arguments):f,--t||s.resolveWith(r,o)}};if(t<=1&&(an(e,s.done(u(n)).resolve,s.reject,!t),s.state()==="pending"||m(o[n]&&o[n].then)))return s.then();for(;n--;)an(o[n],u(n),s.reject);return s.promise()}});var er=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){I.console&&I.console.warn&&e&&er.test(e.name)&&I.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){I.setTimeout(function(){throw e})};var Lt=i.Deferred();i.fn.ready=function(e){return Lt.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--i.readyWait:i.isReady)||(i.isReady=!0,!(e!==!0&&--i.readyWait>0)&&Lt.resolveWith(P,[i]))}}),i.ready.then=Lt.then;function Nt(){P.removeEventListener("DOMContentLoaded",Nt),I.removeEventListener("load",Nt),i.ready()}P.readyState==="complete"||P.readyState!=="loading"&&!P.documentElement.doScroll?I.setTimeout(i.ready):(P.addEventListener("DOMContentLoaded",Nt),I.addEventListener("load",Nt));var Be=function(e,t,n,r,o,s,u){var c=0,f=e.length,d=n==null;if(L(n)==="object"){o=!0;for(c in n)Be(e,t,c,n[c],!0,s,u)}else if(r!==void 0&&(o=!0,m(r)||(u=!0),d&&(u?(t.call(e,r),t=null):(d=t,t=function(y,x,h){return d.call(i(y),h)})),t))for(;c<f;c++)t(e[c],n,u?r:r.call(e[c],c,t(e[c],n)));return o?e:d?t.call(e):f?t(e[0],n):s},tr=/^-ms-/,nr=/-([a-z])/g;function rr(e,t){return t.toUpperCase()}function He(e){return e.replace(tr,"ms-").replace(nr,rr)}var pt=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function ht(){this.expando=i.expando+ht.uid++}ht.uid=1,ht.prototype={cache:function(e){var t=e[this.expando];return t||(t={},pt(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if(typeof t=="string")o[He(t)]=n;else for(r in t)o[He(r)]=t[r];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][He(t)]},access:function(e,t,n){return t===void 0||t&&typeof t=="string"&&n===void 0?this.get(e,t):(this.set(e,t,n),n!==void 0?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(He):(t=He(t),t=t in r?[t]:t.match(Ie)||[]),n=t.length;n--;)delete r[t[n]];(t===void 0||i.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!i.isEmptyObject(t)}};var F=new ht,be=new ht,ir=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,or=/[A-Z]/g;function sr(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:ir.test(e)?JSON.parse(e):e}function fn(e,t,n){var r;if(n===void 0&&e.nodeType===1)if(r="data-"+t.replace(or,"-$&").toLowerCase(),n=e.getAttribute(r),typeof n=="string"){try{n=sr(n)}catch{}be.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return be.hasData(e)||F.hasData(e)},data:function(e,t,n){return be.access(e,t,n)},removeData:function(e,t){be.remove(e,t)},_data:function(e,t,n){return F.access(e,t,n)},_removeData:function(e,t){F.remove(e,t)}}),i.fn.extend({data:function(e,t){var n,r,o,s=this[0],u=s&&s.attributes;if(e===void 0){if(this.length&&(o=be.get(s),s.nodeType===1&&!F.get(s,"hasDataAttrs"))){for(n=u.length;n--;)u[n]&&(r=u[n].name,r.indexOf("data-")===0&&(r=He(r.slice(5)),fn(s,r,o[r])));F.set(s,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){be.set(this,e)}):Be(this,function(c){var f;if(s&&c===void 0)return f=be.get(s,e),f!==void 0||(f=fn(s,e),f!==void 0)?f:void 0;this.each(function(){be.set(this,e,c)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){be.remove(this,e)})}}),i.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=F.get(e,t),n&&(!r||Array.isArray(n)?r=F.access(e,t,i.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=i.queue(e,t),r=n.length,o=n.shift(),s=i._queueHooks(e,t),u=function(){i.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),r--),o&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,o.call(e,u,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return F.get(e,n)||F.access(e,n,{empty:i.Callbacks("once memory").add(function(){F.remove(e,[t+"queue",n])})})}}),i.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):t===void 0?this:this.each(function(){var r=i.queue(this,e,t);i._queueHooks(this,e),e==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=i.Deferred(),s=this,u=this.length,c=function(){--r||o.resolveWith(s,[s])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";u--;)n=F.get(s[u],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(c));return c(),o.promise(t)}});var cn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,gt=new RegExp("^(?:([+-])=|)("+cn+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],Qe=P.documentElement,ot=function(e){return i.contains(e.ownerDocument,e)},ur={composed:!0};Qe.getRootNode&&(ot=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(ur)===e.ownerDocument});var Et=function(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&ot(e)&&i.css(e,"display")==="none"};function ln(e,t,n,r){var o,s,u=20,c=r?function(){return r.cur()}:function(){return i.css(e,t,"")},f=c(),d=n&&n[3]||(i.cssNumber[t]?"":"px"),y=e.nodeType&&(i.cssNumber[t]||d!=="px"&&+f)&>.exec(i.css(e,t));if(y&&y[3]!==d){for(f=f/2,d=d||y[3],y=+f||1;u--;)i.style(e,t,y+d),(1-s)*(1-(s=c()/f||.5))<=0&&(u=0),y=y/s;y=y*2,i.style(e,t,y+d),n=n||[]}return n&&(y=+y||+f||0,o=n[1]?y+(n[1]+1)*n[2]:+n[2],r&&(r.unit=d,r.start=y,r.end=o)),o}var dn={};function ar(e){var t,n=e.ownerDocument,r=e.nodeName,o=dn[r];return o||(t=n.body.appendChild(n.createElement(r)),o=i.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),dn[r]=o,o)}function st(e,t){for(var n,r,o=[],s=0,u=e.length;s<u;s++)r=e[s],r.style&&(n=r.style.display,t?(n==="none"&&(o[s]=F.get(r,"display")||null,o[s]||(r.style.display="")),r.style.display===""&&Et(r)&&(o[s]=ar(r))):n!=="none"&&(o[s]="none",F.set(r,"display",n)));for(s=0;s<u;s++)o[s]!=null&&(e[s].style.display=o[s]);return e}i.fn.extend({show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Et(this)?i(this).show():i(this).hide()})}});var yt=/^(?:checkbox|radio)$/i,pn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,hn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=P.createDocumentFragment(),t=e.appendChild(P.createElement("div")),n=P.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),D.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",D.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",D.option=!!t.lastChild})();var Se={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Se.tbody=Se.tfoot=Se.colgroup=Se.caption=Se.thead,Se.th=Se.td,D.option||(Se.optgroup=Se.option=[1,"<select multiple='multiple'>","</select>"]);function me(e,t){var n;return typeof e.getElementsByTagName<"u"?n=e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?n=e.querySelectorAll(t||"*"):n=[],t===void 0||t&&Q(e,t)?i.merge([e],n):n}function qt(e,t){for(var n=0,r=e.length;n<r;n++)F.set(e[n],"globalEval",!t||F.get(t[n],"globalEval"))}var fr=/<|&#?\w+;/;function gn(e,t,n,r,o){for(var s,u,c,f,d,y,x=t.createDocumentFragment(),h=[],S=0,K=e.length;S<K;S++)if(s=e[S],s||s===0)if(L(s)==="object")i.merge(h,s.nodeType?[s]:s);else if(!fr.test(s))h.push(t.createTextNode(s));else{for(u=u||x.appendChild(t.createElement("div")),c=(pn.exec(s)||["",""])[1].toLowerCase(),f=Se[c]||Se._default,u.innerHTML=f[1]+i.htmlPrefilter(s)+f[2],y=f[0];y--;)u=u.lastChild;i.merge(h,u.childNodes),u=x.firstChild,u.textContent=""}for(x.textContent="",S=0;s=h[S++];){if(r&&i.inArray(s,r)>-1){o&&o.push(s);continue}if(d=ot(s),u=me(x.appendChild(s),"script"),d&&qt(u),n)for(y=0;s=u[y++];)hn.test(s.type||"")&&n.push(s)}return x}var yn=/^([^.]*)(?:\.(.+)|)/;function ut(){return!0}function at(){return!1}function Rt(e,t,n,r,o,s){var u,c;if(typeof t=="object"){typeof n!="string"&&(r=r||n,n=void 0);for(c in t)Rt(e,c,n,r,t[c],s);return e}if(r==null&&o==null?(o=n,r=n=void 0):o==null&&(typeof n=="string"?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=at;else if(!o)return e;return s===1&&(u=o,o=function(f){return i().off(f),u.apply(this,arguments)},o.guid=u.guid||(u.guid=i.guid++)),e.each(function(){i.event.add(this,t,o,r,n)})}i.event={global:{},add:function(e,t,n,r,o){var s,u,c,f,d,y,x,h,S,K,re,Y=F.get(e);if(pt(e))for(n.handler&&(s=n,n=s.handler,o=s.selector),o&&i.find.matchesSelector(Qe,o),n.guid||(n.guid=i.guid++),(f=Y.events)||(f=Y.events=Object.create(null)),(u=Y.handle)||(u=Y.handle=function(ge){return typeof i<"u"&&i.event.triggered!==ge.type?i.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ie)||[""],d=t.length;d--;)c=yn.exec(t[d])||[],S=re=c[1],K=(c[2]||"").split(".").sort(),S&&(x=i.event.special[S]||{},S=(o?x.delegateType:x.bindType)||S,x=i.event.special[S]||{},y=i.extend({type:S,origType:re,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:K.join(".")},s),(h=f[S])||(h=f[S]=[],h.delegateCount=0,(!x.setup||x.setup.call(e,r,K,u)===!1)&&e.addEventListener&&e.addEventListener(S,u)),x.add&&(x.add.call(e,y),y.handler.guid||(y.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,y):h.push(y),i.event.global[S]=!0)},remove:function(e,t,n,r,o){var s,u,c,f,d,y,x,h,S,K,re,Y=F.hasData(e)&&F.get(e);if(!(!Y||!(f=Y.events))){for(t=(t||"").match(Ie)||[""],d=t.length;d--;){if(c=yn.exec(t[d])||[],S=re=c[1],K=(c[2]||"").split(".").sort(),!S){for(S in f)i.event.remove(e,S+t[d],n,r,!0);continue}for(x=i.event.special[S]||{},S=(r?x.delegateType:x.bindType)||S,h=f[S]||[],c=c[2]&&new RegExp("(^|\\.)"+K.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=s=h.length;s--;)y=h[s],(o||re===y.origType)&&(!n||n.guid===y.guid)&&(!c||c.test(y.namespace))&&(!r||r===y.selector||r==="**"&&y.selector)&&(h.splice(s,1),y.selector&&h.delegateCount--,x.remove&&x.remove.call(e,y));u&&!h.length&&((!x.teardown||x.teardown.call(e,K,Y.handle)===!1)&&i.removeEvent(e,S,Y.handle),delete f[S])}i.isEmptyObject(f)&&F.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,s,u,c=new Array(arguments.length),f=i.event.fix(e),d=(F.get(this,"events")||Object.create(null))[f.type]||[],y=i.event.special[f.type]||{};for(c[0]=f,t=1;t<arguments.length;t++)c[t]=arguments[t];if(f.delegateTarget=this,!(y.preDispatch&&y.preDispatch.call(this,f)===!1)){for(u=i.event.handlers.call(this,f,d),t=0;(o=u[t++])&&!f.isPropagationStopped();)for(f.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!f.isImmediatePropagationStopped();)(!f.rnamespace||s.namespace===!1||f.rnamespace.test(s.namespace))&&(f.handleObj=s,f.data=s.data,r=((i.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,c),r!==void 0&&(f.result=r)===!1&&(f.preventDefault(),f.stopPropagation()));return y.postDispatch&&y.postDispatch.call(this,f),f.result}},handlers:function(e,t){var n,r,o,s,u,c=[],f=t.delegateCount,d=e.target;if(f&&d.nodeType&&!(e.type==="click"&&e.button>=1)){for(;d!==this;d=d.parentNode||this)if(d.nodeType===1&&!(e.type==="click"&&d.disabled===!0)){for(s=[],u={},n=0;n<f;n++)r=t[n],o=r.selector+" ",u[o]===void 0&&(u[o]=r.needsContext?i(o,this).index(d)>-1:i.find(o,this,null,[d]).length),u[o]&&s.push(r);s.length&&c.push({elem:d,handlers:s})}}return d=this,f<t.length&&c.push({elem:d,handlers:t.slice(f)}),c},addProp:function(e,t){Object.defineProperty(i.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[i.expando]?e:new i.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return yt.test(t.type)&&t.click&&Q(t,"input")&&kt(t,"click",!0),!1},trigger:function(e){var t=this||e;return yt.test(t.type)&&t.click&&Q(t,"input")&&kt(t,"click"),!0},_default:function(e){var t=e.target;return yt.test(t.type)&&t.click&&Q(t,"input")&&F.get(t,"click")||Q(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function kt(e,t,n){if(!n){F.get(e,t)===void 0&&i.event.add(e,t,ut);return}F.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(r){var o,s=F.get(this,t);if(r.isTrigger&1&&this[t]){if(s)(i.event.special[t]||{}).delegateType&&r.stopPropagation();else if(s=N.call(arguments),F.set(this,t,s),this[t](),o=F.get(this,t),F.set(this,t,!1),s!==o)return r.stopImmediatePropagation(),r.preventDefault(),o}else s&&(F.set(this,t,i.event.trigger(s[0],s.slice(1),this)),r.stopPropagation(),r.isImmediatePropagationStopped=ut)}})}i.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?ut:at,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[i.expando]=!0},i.Event.prototype={constructor:i.Event,isDefaultPrevented:at,isPropagationStopped:at,isImmediatePropagationStopped:at,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ut,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ut,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ut,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},i.event.addProp),i.each({focus:"focusin",blur:"focusout"},function(e,t){function n(r){if(P.documentMode){var o=F.get(this,"handle"),s=i.event.fix(r);s.type=r.type==="focusin"?"focus":"blur",s.isSimulated=!0,o(r),s.target===s.currentTarget&&o(s)}else i.event.simulate(t,r.target,i.event.fix(r))}i.event.special[e]={setup:function(){var r;if(kt(this,e,!0),P.documentMode)r=F.get(this,t),r||this.addEventListener(t,n),F.set(this,t,(r||0)+1);else return!1},trigger:function(){return kt(this,e),!0},teardown:function(){var r;if(P.documentMode)r=F.get(this,t)-1,r?F.set(this,t,r):(this.removeEventListener(t,n),F.remove(this,t));else return!1},_default:function(r){return F.get(r.target,e)},delegateType:t},i.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=P.documentMode?this:r,s=F.get(o,t);s||(P.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),F.set(o,t,(s||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=P.documentMode?this:r,s=F.get(o,t)-1;s?F.set(o,t,s):(P.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),F.remove(o,t))}}}),i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var r,o=this,s=n.relatedTarget,u=n.handleObj;return(!s||s!==o&&!i.contains(o,s))&&(n.type=u.origType,r=u.handler.apply(this,arguments),n.type=t),r}}}),i.fn.extend({on:function(e,t,n,r){return Rt(this,e,t,n,r)},one:function(e,t,n,r){return Rt(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,i(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||typeof t=="function")&&(n=t,t=void 0),n===!1&&(n=at),this.each(function(){i.event.remove(this,e,n,t)})}});var cr=/<script|<style|<link/i,lr=/checked\s*(?:[^=]|=\s*.checked.)/i,dr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function vn(e,t){return Q(e,"table")&&Q(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function pr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function hr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function xn(e,t){var n,r,o,s,u,c,f;if(t.nodeType===1){if(F.hasData(e)&&(s=F.get(e),f=s.events,f)){F.remove(t,"handle events");for(o in f)for(n=0,r=f[o].length;n<r;n++)i.event.add(t,o,f[o][n])}be.hasData(e)&&(u=be.access(e),c=i.extend({},u),be.set(t,c))}}function gr(e,t){var n=t.nodeName.toLowerCase();n==="input"&&yt.test(e.type)?t.checked=e.checked:(n==="input"||n==="textarea")&&(t.defaultValue=e.defaultValue)}function ft(e,t,n,r){t=X(t);var o,s,u,c,f,d,y=0,x=e.length,h=x-1,S=t[0],K=m(S);if(K||x>1&&typeof S=="string"&&!D.checkClone&&lr.test(S))return e.each(function(re){var Y=e.eq(re);K&&(t[0]=S.call(this,re,Y.html())),ft(Y,t,n,r)});if(x&&(o=gn(t,e[0].ownerDocument,!1,e,r),s=o.firstChild,o.childNodes.length===1&&(o=s),s||r)){for(u=i.map(me(o,"script"),pr),c=u.length;y<x;y++)f=o,y!==h&&(f=i.clone(f,!0,!0),c&&i.merge(u,me(f,"script"))),n.call(e[y],f,y);if(c)for(d=u[u.length-1].ownerDocument,i.map(u,hr),y=0;y<c;y++)f=u[y],hn.test(f.type||"")&&!F.access(f,"globalEval")&&i.contains(d,f)&&(f.src&&(f.type||"").toLowerCase()!=="module"?i._evalUrl&&!f.noModule&&i._evalUrl(f.src,{nonce:f.nonce||f.getAttribute("nonce")},d):H(f.textContent.replace(dr,""),f,d))}return e}function bn(e,t,n){for(var r,o=t?i.filter(t,e):e,s=0;(r=o[s])!=null;s++)!n&&r.nodeType===1&&i.cleanData(me(r)),r.parentNode&&(n&&ot(r)&&qt(me(r,"script")),r.parentNode.removeChild(r));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,s,u,c=e.cloneNode(!0),f=ot(e);if(!D.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!i.isXMLDoc(e))for(u=me(c),s=me(e),r=0,o=s.length;r<o;r++)gr(s[r],u[r]);if(t)if(n)for(s=s||me(e),u=u||me(c),r=0,o=s.length;r<o;r++)xn(s[r],u[r]);else xn(e,c);return u=me(c,"script"),u.length>0&&qt(u,!f&&me(e,"script")),c},cleanData:function(e){for(var t,n,r,o=i.event.special,s=0;(n=e[s])!==void 0;s++)if(pt(n)){if(t=n[F.expando]){if(t.events)for(r in t.events)o[r]?i.event.remove(n,r):i.removeEvent(n,r,t.handle);n[F.expando]=void 0}n[be.expando]&&(n[be.expando]=void 0)}}}),i.fn.extend({detach:function(e){return bn(this,e,!0)},remove:function(e){return bn(this,e)},text:function(e){return Be(this,function(t){return t===void 0?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=t)})},null,e,arguments.length)},append:function(){return ft(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vn(this,e);t.appendChild(e)}})},prepend:function(){return ft(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vn(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ft(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ft(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(i.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return i.clone(this,e,t)})},html:function(e){return Be(this,function(t){var n=this[0]||{},r=0,o=this.length;if(t===void 0&&n.nodeType===1)return n.innerHTML;if(typeof t=="string"&&!cr.test(t)&&!Se[(pn.exec(t)||["",""])[1].toLowerCase()]){t=i.htmlPrefilter(t);try{for(;r<o;r++)n=this[r]||{},n.nodeType===1&&(i.cleanData(me(n,!1)),n.innerHTML=t);n=0}catch{}}n&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(){var e=[];return ft(this,arguments,function(t){var n=this.parentNode;i.inArray(this,e)<0&&(i.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){i.fn[e]=function(n){for(var r,o=[],s=i(n),u=s.length-1,c=0;c<=u;c++)r=c===u?this:this.clone(!0),i(s[c])[t](r),W.apply(o,r.get());return this.pushStack(o)}});var Pt=new RegExp("^("+cn+")(?!px)[a-z%]+$","i"),Mt=/^--/,jt=function(e){var t=e.ownerDocument.defaultView;return(!t||!t.opener)&&(t=I),t.getComputedStyle(e)},mn=function(e,t,n){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=n.call(e);for(o in t)e.style[o]=s[o];return r},yr=new RegExp(We.join("|"),"i");(function(){function e(){if(d){f.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Qe.appendChild(f).appendChild(d);var y=I.getComputedStyle(d);n=y.top!=="1%",c=t(y.marginLeft)===12,d.style.right="60%",s=t(y.right)===36,r=t(y.width)===36,d.style.position="absolute",o=t(d.offsetWidth/3)===12,Qe.removeChild(f),d=null}}function t(y){return Math.round(parseFloat(y))}var n,r,o,s,u,c,f=P.createElement("div"),d=P.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",D.clearCloneStyle=d.style.backgroundClip==="content-box",i.extend(D,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var y,x,h,S;return u==null&&(y=P.createElement("table"),x=P.createElement("tr"),h=P.createElement("div"),y.style.cssText="position:absolute;left:-11111px;border-collapse:separate",x.style.cssText="box-sizing:content-box;border:1px solid",x.style.height="1px",h.style.height="9px",h.style.display="block",Qe.appendChild(y).appendChild(x).appendChild(h),S=I.getComputedStyle(x),u=parseInt(S.height,10)+parseInt(S.borderTopWidth,10)+parseInt(S.borderBottomWidth,10)===x.offsetHeight,Qe.removeChild(y)),u}}))})();function vt(e,t,n){var r,o,s,u,c=Mt.test(t),f=e.style;return n=n||jt(e),n&&(u=n.getPropertyValue(t)||n[t],c&&u&&(u=u.replace(Oe,"$1")||void 0),u===""&&!ot(e)&&(u=i.style(e,t)),!D.pixelBoxStyles()&&Pt.test(u)&&yr.test(t)&&(r=f.width,o=f.minWidth,s=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=n.width,f.width=r,f.minWidth=o,f.maxWidth=s)),u!==void 0?u+"":u}function Cn(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var Tn=["Webkit","Moz","ms"],wn=P.createElement("div").style,Sn={};function vr(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Tn.length;n--;)if(e=Tn[n]+t,e in wn)return e}function Ft(e){var t=i.cssProps[e]||Sn[e];return t||(e in wn?e:Sn[e]=vr(e)||e)}var xr=/^(none|table(?!-c[ea]).+)/,br={position:"absolute",visibility:"hidden",display:"block"},Nn={letterSpacing:"0",fontWeight:"400"};function En(e,t,n){var r=gt.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Bt(e,t,n,r,o,s){var u=t==="width"?1:0,c=0,f=0,d=0;if(n===(r?"border":"content"))return 0;for(;u<4;u+=2)n==="margin"&&(d+=i.css(e,n+We[u],!0,o)),r?(n==="content"&&(f-=i.css(e,"padding"+We[u],!0,o)),n!=="margin"&&(f-=i.css(e,"border"+We[u]+"Width",!0,o))):(f+=i.css(e,"padding"+We[u],!0,o),n!=="padding"?f+=i.css(e,"border"+We[u]+"Width",!0,o):c+=i.css(e,"border"+We[u]+"Width",!0,o));return!r&&s>=0&&(f+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-f-c-.5))||0),f+d}function kn(e,t,n){var r=jt(e),o=!D.boxSizingReliable()||n,s=o&&i.css(e,"boxSizing",!1,r)==="border-box",u=s,c=vt(e,t,r),f="offset"+t[0].toUpperCase()+t.slice(1);if(Pt.test(c)){if(!n)return c;c="auto"}return(!D.boxSizingReliable()&&s||!D.reliableTrDimensions()&&Q(e,"tr")||c==="auto"||!parseFloat(c)&&i.css(e,"display",!1,r)==="inline")&&e.getClientRects().length&&(s=i.css(e,"boxSizing",!1,r)==="border-box",u=f in e,u&&(c=e[f])),c=parseFloat(c)||0,c+Bt(e,t,n||(s?"border":"content"),u,r,c)+"px"}i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return n===""?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var o,s,u,c=He(t),f=Mt.test(t),d=e.style;if(f||(t=Ft(c)),u=i.cssHooks[t]||i.cssHooks[c],n!==void 0){if(s=typeof n,s==="string"&&(o=gt.exec(n))&&o[1]&&(n=ln(e,t,o),s="number"),n==null||n!==n)return;s==="number"&&!f&&(n+=o&&o[3]||(i.cssNumber[c]?"":"px")),!D.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(d[t]="inherit"),(!u||!("set"in u)||(n=u.set(e,n,r))!==void 0)&&(f?d.setProperty(t,n):d[t]=n)}else return u&&"get"in u&&(o=u.get(e,!1,r))!==void 0?o:d[t]}},css:function(e,t,n,r){var o,s,u,c=He(t),f=Mt.test(t);return f||(t=Ft(c)),u=i.cssHooks[t]||i.cssHooks[c],u&&"get"in u&&(o=u.get(e,!0,n)),o===void 0&&(o=vt(e,t,r)),o==="normal"&&t in Nn&&(o=Nn[t]),n===""||n?(s=parseFloat(o),n===!0||isFinite(s)?s||0:o):o}}),i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(n,r,o){if(r)return xr.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?mn(n,br,function(){return kn(n,t,o)}):kn(n,t,o)},set:function(n,r,o){var s,u=jt(n),c=!D.scrollboxSize()&&u.position==="absolute",f=c||o,d=f&&i.css(n,"boxSizing",!1,u)==="border-box",y=o?Bt(n,t,o,d,u):0;return d&&c&&(y-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(u[t])-Bt(n,t,"border",!1,u)-.5)),y&&(s=gt.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),En(n,r,y)}}}),i.cssHooks.marginLeft=Cn(D.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||e.getBoundingClientRect().left-mn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(n){for(var r=0,o={},s=typeof n=="string"?n.split(" "):[n];r<4;r++)o[e+We[r]+t]=s[r]||s[r-2]||s[0];return o}},e!=="margin"&&(i.cssHooks[e+t].set=En)}),i.fn.extend({css:function(e,t){return Be(this,function(n,r,o){var s,u,c={},f=0;if(Array.isArray(r)){for(s=jt(n),u=r.length;f<u;f++)c[r[f]]=i.css(n,r[f],!1,s);return c}return o!==void 0?i.style(n,r,o):i.css(n,r)},e,t,arguments.length>1)}});function Ce(e,t,n,r,o){return new Ce.prototype.init(e,t,n,r,o)}i.Tween=Ce,Ce.prototype={constructor:Ce,init:function(e,t,n,r,o,s){this.elem=e,this.prop=n,this.easing=o||i.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(i.cssNumber[n]?"":"px")},cur:function(){var e=Ce.propHooks[this.prop];return e&&e.get?e.get(this):Ce.propHooks._default.get(this)},run:function(e){var t,n=Ce.propHooks[this.prop];return this.options.duration?this.pos=t=i.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ce.propHooks._default.set(this),this}},Ce.prototype.init.prototype=Ce.prototype,Ce.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=i.css(e.elem,e.prop,""),!t||t==="auto"?0:t)},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):e.elem.nodeType===1&&(i.cssHooks[e.prop]||e.elem.style[Ft(e.prop)]!=null)?i.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ce.propHooks.scrollTop=Ce.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},i.fx=Ce.prototype.init,i.fx.step={};var ct,_t,mr=/^(?:toggle|show|hide)$/,Cr=/queueHooks$/;function Wt(){_t&&(P.hidden===!1&&I.requestAnimationFrame?I.requestAnimationFrame(Wt):I.setTimeout(Wt,i.fx.interval),i.fx.tick())}function jn(){return I.setTimeout(function(){ct=void 0}),ct=Date.now()}function At(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=We[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function _n(e,t,n){for(var r,o=(_e.tweeners[t]||[]).concat(_e.tweeners["*"]),s=0,u=o.length;s<u;s++)if(r=o[s].call(n,t,e))return r}function Tr(e,t,n){var r,o,s,u,c,f,d,y,x="width"in t||"height"in t,h=this,S={},K=e.style,re=e.nodeType&&Et(e),Y=F.get(e,"fxshow");n.queue||(u=i._queueHooks(e,"fx"),u.unqueued==null&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,h.always(function(){h.always(function(){u.unqueued--,i.queue(e,"fx").length||u.empty.fire()})}));for(r in t)if(o=t[r],mr.test(o)){if(delete t[r],s=s||o==="toggle",o===(re?"hide":"show"))if(o==="show"&&Y&&Y[r]!==void 0)re=!0;else continue;S[r]=Y&&Y[r]||i.style(e,r)}if(f=!i.isEmptyObject(t),!(!f&&i.isEmptyObject(S))){x&&e.nodeType===1&&(n.overflow=[K.overflow,K.overflowX,K.overflowY],d=Y&&Y.display,d==null&&(d=F.get(e,"display")),y=i.css(e,"display"),y==="none"&&(d?y=d:(st([e],!0),d=e.style.display||d,y=i.css(e,"display"),st([e]))),(y==="inline"||y==="inline-block"&&d!=null)&&i.css(e,"float")==="none"&&(f||(h.done(function(){K.display=d}),d==null&&(y=K.display,d=y==="none"?"":y)),K.display="inline-block")),n.overflow&&(K.overflow="hidden",h.always(function(){K.overflow=n.overflow[0],K.overflowX=n.overflow[1],K.overflowY=n.overflow[2]})),f=!1;for(r in S)f||(Y?"hidden"in Y&&(re=Y.hidden):Y=F.access(e,"fxshow",{display:d}),s&&(Y.hidden=!re),re&&st([e],!0),h.done(function(){re||st([e]),F.remove(e,"fxshow");for(r in S)i.style(e,r,S[r])})),f=_n(re?Y[r]:0,r,h),r in Y||(Y[r]=f.start,re&&(f.end=f.start,f.start=0))}}function wr(e,t){var n,r,o,s,u;for(n in e)if(r=He(n),o=t[r],s=e[n],Array.isArray(s)&&(o=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),u=i.cssHooks[r],u&&"expand"in u){s=u.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=o)}else t[r]=o}function _e(e,t,n){var r,o,s=0,u=_e.prefilters.length,c=i.Deferred().always(function(){delete f.elem}),f=function(){if(o)return!1;for(var x=ct||jn(),h=Math.max(0,d.startTime+d.duration-x),S=h/d.duration||0,K=1-S,re=0,Y=d.tweens.length;re<Y;re++)d.tweens[re].run(K);return c.notifyWith(e,[d,K,h]),K<1&&Y?h:(Y||c.notifyWith(e,[d,1,0]),c.resolveWith(e,[d]),!1)},d=c.promise({elem:e,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},n),originalProperties:t,originalOptions:n,startTime:ct||jn(),duration:n.duration,tweens:[],createTween:function(x,h){var S=i.Tween(e,d.opts,x,h,d.opts.specialEasing[x]||d.opts.easing);return d.tweens.push(S),S},stop:function(x){var h=0,S=x?d.tweens.length:0;if(o)return this;for(o=!0;h<S;h++)d.tweens[h].run(1);return x?(c.notifyWith(e,[d,1,0]),c.resolveWith(e,[d,x])):c.rejectWith(e,[d,x]),this}}),y=d.props;for(wr(y,d.opts.specialEasing);s<u;s++)if(r=_e.prefilters[s].call(d,e,y,d.opts),r)return m(r.stop)&&(i._queueHooks(d.elem,d.opts.queue).stop=r.stop.bind(r)),r;return i.map(y,_n,d),m(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),i.fx.timer(i.extend(f,{elem:e,anim:d,queue:d.opts.queue})),d}i.Animation=i.extend(_e,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ln(n.elem,e,gt.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(Ie);for(var n,r=0,o=e.length;r<o;r++)n=e[r],_e.tweeners[n]=_e.tweeners[n]||[],_e.tweeners[n].unshift(t)},prefilters:[Tr],prefilter:function(e,t){t?_e.prefilters.unshift(e):_e.prefilters.push(e)}}),i.speed=function(e,t,n){var r=e&&typeof e=="object"?i.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return i.fx.off?r.duration=0:typeof r.duration!="number"&&(r.duration in i.fx.speeds?r.duration=i.fx.speeds[r.duration]:r.duration=i.fx.speeds._default),(r.queue==null||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&i.dequeue(this,r.queue)},r},i.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Et).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=i.isEmptyObject(e),s=i.speed(t,n,r),u=function(){var c=_e(this,i.extend({},e),s);(o||F.get(this,"finish"))&&c.stop(!0)};return u.finish=u,o||s.queue===!1?this.each(u):this.queue(s.queue,u)},stop:function(e,t,n){var r=function(o){var s=o.stop;delete o.stop,s(n)};return typeof e!="string"&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var o=!0,s=e!=null&&e+"queueHooks",u=i.timers,c=F.get(this);if(s)c[s]&&c[s].stop&&r(c[s]);else for(s in c)c[s]&&c[s].stop&&Cr.test(s)&&r(c[s]);for(s=u.length;s--;)u[s].elem===this&&(e==null||u[s].queue===e)&&(u[s].anim.stop(n),o=!1,u.splice(s,1));(o||!n)&&i.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=F.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],s=i.timers,u=r?r.length:0;for(n.finish=!0,i.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<u;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),i.each(["toggle","show","hide"],function(e,t){var n=i.fn[t];i.fn[t]=function(r,o,s){return r==null||typeof r=="boolean"?n.apply(this,arguments):this.animate(At(t,!0),r,o,s)}}),i.each({slideDown:At("show"),slideUp:At("hide"),slideToggle:At("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){i.fn[e]=function(n,r,o){return this.animate(t,n,r,o)}}),i.timers=[],i.fx.tick=function(){var e,t=0,n=i.timers;for(ct=Date.now();t<n.length;t++)e=n[t],!e()&&n[t]===e&&n.splice(t--,1);n.length||i.fx.stop(),ct=void 0},i.fx.timer=function(e){i.timers.push(e),i.fx.start()},i.fx.interval=13,i.fx.start=function(){_t||(_t=!0,Wt())},i.fx.stop=function(){_t=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fn.delay=function(e,t){return e=i.fx&&i.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(n,r){var o=I.setTimeout(n,e);r.stop=function(){I.clearTimeout(o)}})},function(){var e=P.createElement("input"),t=P.createElement("select"),n=t.appendChild(P.createElement("option"));e.type="checkbox",D.checkOn=e.value!=="",D.optSelected=n.selected,e=P.createElement("input"),e.value="t",e.type="radio",D.radioValue=e.value==="t"}();var An,xt=i.expr.attrHandle;i.fn.extend({attr:function(e,t){return Be(this,i.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})}}),i.extend({attr:function(e,t,n){var r,o,s=e.nodeType;if(!(s===3||s===8||s===2)){if(typeof e.getAttribute>"u")return i.prop(e,t,n);if((s!==1||!i.isXMLDoc(e))&&(o=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?An:void 0)),n!==void 0){if(n===null){i.removeAttr(e,t);return}return o&&"set"in o&&(r=o.set(e,n,t))!==void 0?r:(e.setAttribute(t,n+""),n)}return o&&"get"in o&&(r=o.get(e,t))!==null?r:(r=i.find.attr(e,t),r??void 0)}},attrHooks:{type:{set:function(e,t){if(!D.radioValue&&t==="radio"&&Q(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Ie);if(o&&e.nodeType===1)for(;n=o[r++];)e.removeAttribute(n)}}),An={set:function(e,t,n){return t===!1?i.removeAttr(e,n):e.setAttribute(n,n),n}},i.each(i.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||i.find.attr;xt[t]=function(r,o,s){var u,c,f=o.toLowerCase();return s||(c=xt[f],xt[f]=u,u=n(r,o,s)!=null?f:null,xt[f]=c),u}});var Sr=/^(?:input|select|textarea|button)$/i,Nr=/^(?:a|area)$/i;i.fn.extend({prop:function(e,t){return Be(this,i.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[i.propFix[e]||e]})}}),i.extend({prop:function(e,t,n){var r,o,s=e.nodeType;if(!(s===3||s===8||s===2))return(s!==1||!i.isXMLDoc(e))&&(t=i.propFix[t]||t,o=i.propHooks[t]),n!==void 0?o&&"set"in o&&(r=o.set(e,n,t))!==void 0?r:e[t]=n:o&&"get"in o&&(r=o.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=i.find.attr(e,"tabindex");return t?parseInt(t,10):Sr.test(e.nodeName)||Nr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),D.optSelected||(i.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});function Ye(e){var t=e.match(Ie)||[];return t.join(" ")}function Je(e){return e.getAttribute&&e.getAttribute("class")||""}function $t(e){return Array.isArray(e)?e:typeof e=="string"?e.match(Ie)||[]:[]}i.fn.extend({addClass:function(e){var t,n,r,o,s,u;return m(e)?this.each(function(c){i(this).addClass(e.call(this,c,Je(this)))}):(t=$t(e),t.length?this.each(function(){if(r=Je(this),n=this.nodeType===1&&" "+Ye(r)+" ",n){for(s=0;s<t.length;s++)o=t[s],n.indexOf(" "+o+" ")<0&&(n+=o+" ");u=Ye(n),r!==u&&this.setAttribute("class",u)}}):this)},removeClass:function(e){var t,n,r,o,s,u;return m(e)?this.each(function(c){i(this).removeClass(e.call(this,c,Je(this)))}):arguments.length?(t=$t(e),t.length?this.each(function(){if(r=Je(this),n=this.nodeType===1&&" "+Ye(r)+" ",n){for(s=0;s<t.length;s++)for(o=t[s];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");u=Ye(n),r!==u&&this.setAttribute("class",u)}}):this):this.attr("class","")},toggleClass:function(e,t){var n,r,o,s,u=typeof e,c=u==="string"||Array.isArray(e);return m(e)?this.each(function(f){i(this).toggleClass(e.call(this,f,Je(this),t),t)}):typeof t=="boolean"&&c?t?this.addClass(e):this.removeClass(e):(n=$t(e),this.each(function(){if(c)for(s=i(this),o=0;o<n.length;o++)r=n[o],s.hasClass(r)?s.removeClass(r):s.addClass(r);else(e===void 0||u==="boolean")&&(r=Je(this),r&&F.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||e===!1?"":F.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(n.nodeType===1&&(" "+Ye(Je(n))+" ").indexOf(t)>-1)return!0;return!1}});var Er=/\r/g;i.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=m(e),this.each(function(s){var u;this.nodeType===1&&(r?u=e.call(this,s,i(this).val()):u=e,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(c){return c==null?"":c+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,u,"value")===void 0)&&(this.value=u))})):o?(t=i.valHooks[o.type]||i.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(o,"value"))!==void 0?n:(n=o.value,typeof n=="string"?n.replace(Er,""):n??"")):void 0}}),i.extend({valHooks:{option:{get:function(e){var t=i.find.attr(e,"value");return t??Ye(i.text(e))}},select:{get:function(e){var t,n,r,o=e.options,s=e.selectedIndex,u=e.type==="select-one",c=u?null:[],f=u?s+1:o.length;for(s<0?r=f:r=u?s:0;r<f;r++)if(n=o[r],(n.selected||r===s)&&!n.disabled&&(!n.parentNode.disabled||!Q(n.parentNode,"optgroup"))){if(t=i(n).val(),u)return t;c.push(t)}return c},set:function(e,t){for(var n,r,o=e.options,s=i.makeArray(t),u=o.length;u--;)r=o[u],(r.selected=i.inArray(i.valHooks.option.get(r),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=i.inArray(i(e).val(),t)>-1}},D.checkOn||(i.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var bt=I.location,Dn={guid:Date.now()},zt=/\?/;i.parseXML=function(e){var t,n;if(!e||typeof e!="string")return null;try{t=new I.DOMParser().parseFromString(e,"text/xml")}catch{}return n=t&&t.getElementsByTagName("parsererror")[0],(!t||n)&&i.error("Invalid XML: "+(n?i.map(n.childNodes,function(r){return r.textContent}).join(`
|
|
11
|
+
`):e)),t};var On=/^(?:focusinfocus|focusoutblur)$/,In=function(e){e.stopPropagation()};i.extend(i.event,{trigger:function(e,t,n,r){var o,s,u,c,f,d,y,x,h=[n||P],S=ie.call(e,"type")?e.type:e,K=ie.call(e,"namespace")?e.namespace.split("."):[];if(s=x=u=n=n||P,!(n.nodeType===3||n.nodeType===8)&&!On.test(S+i.event.triggered)&&(S.indexOf(".")>-1&&(K=S.split("."),S=K.shift(),K.sort()),f=S.indexOf(":")<0&&"on"+S,e=e[i.expando]?e:new i.Event(S,typeof e=="object"&&e),e.isTrigger=r?2:3,e.namespace=K.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+K.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=t==null?[e]:i.makeArray(t,[e]),y=i.event.special[S]||{},!(!r&&y.trigger&&y.trigger.apply(n,t)===!1))){if(!r&&!y.noBubble&&!U(n)){for(c=y.delegateType||S,On.test(c+S)||(s=s.parentNode);s;s=s.parentNode)h.push(s),u=s;u===(n.ownerDocument||P)&&h.push(u.defaultView||u.parentWindow||I)}for(o=0;(s=h[o++])&&!e.isPropagationStopped();)x=s,e.type=o>1?c:y.bindType||S,d=(F.get(s,"events")||Object.create(null))[e.type]&&F.get(s,"handle"),d&&d.apply(s,t),d=f&&s[f],d&&d.apply&&pt(s)&&(e.result=d.apply(s,t),e.result===!1&&e.preventDefault());return e.type=S,!r&&!e.isDefaultPrevented()&&(!y._default||y._default.apply(h.pop(),t)===!1)&&pt(n)&&f&&m(n[S])&&!U(n)&&(u=n[f],u&&(n[f]=null),i.event.triggered=S,e.isPropagationStopped()&&x.addEventListener(S,In),n[S](),e.isPropagationStopped()&&x.removeEventListener(S,In),i.event.triggered=void 0,u&&(n[f]=u)),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 kr=/\[\]$/,Hn=/\r?\n/g,jr=/^(?:submit|button|image|reset|file)$/i,_r=/^(?:input|select|textarea|keygen)/i;function Ut(e,t,n,r){var o;if(Array.isArray(t))i.each(t,function(s,u){n||kr.test(e)?r(e,u):Ut(e+"["+(typeof u=="object"&&u!=null?s:"")+"]",u,n,r)});else if(!n&&L(t)==="object")for(o in t)Ut(e+"["+o+"]",t[o],n,r);else r(e,t)}i.param=function(e,t){var n,r=[],o=function(s,u){var c=m(u)?u():u;r[r.length]=encodeURIComponent(s)+"="+encodeURIComponent(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)Ut(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")&&_r.test(this.nodeName)&&!jr.test(e)&&(this.checked||!yt.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(Hn,`\r
|
|
12
|
+
`)}}):{name:t.name,value:n.replace(Hn,`\r
|
|
13
|
+
`)}}).get()}});var Ar=/%20/g,Dr=/#.*$/,Or=/([?&])_=[^&]*/,Ir=/^(.*?):[ \t]*([^\r\n]*)$/mg,Hr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lr=/^(?:GET|HEAD)$/,qr=/^\/\//,Ln={},Kt={},qn="*/".concat("*"),Vt=P.createElement("a");Vt.href=bt.href;function Rn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,o=0,s=t.toLowerCase().match(Ie)||[];if(m(n))for(;r=s[o++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Pn(e,t,n,r){var o={},s=e===Kt;function u(c){var f;return o[c]=!0,i.each(e[c]||[],function(d,y){var x=y(t,n,r);if(typeof x=="string"&&!s&&!o[x])return t.dataTypes.unshift(x),u(x),!1;if(s)return!(f=x)}),f}return u(t.dataTypes[0])||!o["*"]&&u("*")}function Xt(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 Rr(e,t,n){for(var r,o,s,u,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)s=f[0];else{for(o in n){if(!f[0]||e.converters[o+" "+f[0]]){s=o;break}u||(u=o)}s=s||u}if(s)return s!==f[0]&&f.unshift(s),n[s]}function Pr(e,t,n,r){var o,s,u,c,f,d={},y=e.dataTypes.slice();if(y[1])for(u in e.converters)d[u.toLowerCase()]=e.converters[u];for(s=y.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!f&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),f=s,s=y.shift(),s){if(s==="*")s=f;else if(f!=="*"&&f!==s){if(u=d[f+" "+s]||d["* "+s],!u){for(o in d)if(c=o.split(" "),c[1]===s&&(u=d[f+" "+c[0]]||d["* "+c[0]],u)){u===!0?u=d[o]:d[o]!==!0&&(s=c[0],y.unshift(c[1]));break}}if(u!==!0)if(u&&e.throws)t=u(t);else try{t=u(t)}catch(x){return{state:"parsererror",error:u?x:"No conversion from "+f+" to "+s}}}}return{state:"success",data:t}}i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:Hr.test(bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qn,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?Xt(Xt(e,i.ajaxSettings),t):Xt(i.ajaxSettings,e)},ajaxPrefilter:Rn(Ln),ajaxTransport:Rn(Kt),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,r,o,s,u,c,f,d,y,x,h=i.ajaxSetup({},t),S=h.context||h,K=h.context&&(S.nodeType||S.jquery)?i(S):i.event,re=i.Deferred(),Y=i.Callbacks("once memory"),ge=h.statusCode||{},de={},Le={},qe="canceled",te={readyState:0,getResponseHeader:function(se){var le;if(f){if(!s)for(s={};le=Ir.exec(o);)s[le[1].toLowerCase()+" "]=(s[le[1].toLowerCase()+" "]||[]).concat(le[2]);le=s[se.toLowerCase()+" "]}return le==null?null:le.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(se,le){return f==null&&(se=Le[se.toLowerCase()]=Le[se.toLowerCase()]||se,de[se]=le),this},overrideMimeType:function(se){return f==null&&(h.mimeType=se),this},statusCode:function(se){var le;if(se)if(f)te.always(se[te.status]);else for(le in se)ge[le]=[ge[le],se[le]];return this},abort:function(se){var le=se||qe;return n&&n.abort(le),Ze(0,le),this}};if(re.promise(te),h.url=((e||h.url||bt.href)+"").replace(qr,bt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ie)||[""],h.crossDomain==null){c=P.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Vt.protocol+"//"+Vt.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)),Pn(Ln,h,t,te),f)return te;d=i.event&&h.global,d&&i.active++===0&&i.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Lr.test(h.type),r=h.url.replace(Dr,""),h.hasContent?h.data&&h.processData&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(h.data=h.data.replace(Ar,"+")):(x=h.url.slice(r.length),h.data&&(h.processData||typeof h.data=="string")&&(r+=(zt.test(r)?"&":"?")+h.data,delete h.data),h.cache===!1&&(r=r.replace(Or,"$1"),x=(zt.test(r)?"&":"?")+"_="+Dn.guid+++x),h.url=r+x),h.ifModified&&(i.lastModified[r]&&te.setRequestHeader("If-Modified-Since",i.lastModified[r]),i.etag[r]&&te.setRequestHeader("If-None-Match",i.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||t.contentType)&&te.setRequestHeader("Content-Type",h.contentType),te.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", "+qn+"; q=0.01":""):h.accepts["*"]);for(y in h.headers)te.setRequestHeader(y,h.headers[y]);if(h.beforeSend&&(h.beforeSend.call(S,te,h)===!1||f))return te.abort();if(qe="abort",Y.add(h.complete),te.done(h.success),te.fail(h.error),n=Pn(Kt,h,t,te),!n)Ze(-1,"No Transport");else{if(te.readyState=1,d&&K.trigger("ajaxSend",[te,h]),f)return te;h.async&&h.timeout>0&&(u=I.setTimeout(function(){te.abort("timeout")},h.timeout));try{f=!1,n.send(de,Ze)}catch(se){if(f)throw se;Ze(-1,se)}}function Ze(se,le,Ct,Qt){var Re,Tt,Pe,Ke,Ve,Ne=le;f||(f=!0,u&&I.clearTimeout(u),n=void 0,o=Qt||"",te.readyState=se>0?4:0,Re=se>=200&&se<300||se===304,Ct&&(Ke=Rr(h,te,Ct)),!Re&&i.inArray("script",h.dataTypes)>-1&&i.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),Ke=Pr(h,Ke,te,Re),Re?(h.ifModified&&(Ve=te.getResponseHeader("Last-Modified"),Ve&&(i.lastModified[r]=Ve),Ve=te.getResponseHeader("etag"),Ve&&(i.etag[r]=Ve)),se===204||h.type==="HEAD"?Ne="nocontent":se===304?Ne="notmodified":(Ne=Ke.state,Tt=Ke.data,Pe=Ke.error,Re=!Pe)):(Pe=Ne,(se||!Ne)&&(Ne="error",se<0&&(se=0))),te.status=se,te.statusText=(le||Ne)+"",Re?re.resolveWith(S,[Tt,Ne,te]):re.rejectWith(S,[te,Ne,Pe]),te.statusCode(ge),ge=void 0,d&&K.trigger(Re?"ajaxSuccess":"ajaxError",[te,h,Re?Tt:Pe]),Y.fireWith(S,[te,Ne]),d&&(K.trigger("ajaxComplete",[te,h]),--i.active||i.event.trigger("ajaxStop")))}return te},getJSON:function(e,t,n){return i.get(e,t,n,"json")},getScript:function(e,t){return i.get(e,void 0,t,"script")}}),i.each(["get","post"],function(e,t){i[t]=function(n,r,o,s){return m(r)&&(s=s||o,o=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:s,data:r,success:o},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(e){var t;for(t in e.headers)t.toLowerCase()==="content-type"&&(e.contentType=e.headers[t]||"")}),i._evalUrl=function(e,t,n){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(r){i.globalEval(r,t,n)}})},i.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=i(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){i(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(e){return!i.expr.pseudos.visible(e)},i.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new I.XMLHttpRequest}catch{}};var Mr={0:200,1223:204},mt=i.ajaxSettings.xhr();D.cors=!!mt&&"withCredentials"in mt,D.ajax=mt=!!mt,i.ajaxTransport(function(e){var t,n;if(D.cors||mt&&!e.crossDomain)return{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.ontimeout=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=u.ontimeout=t("error"),u.onabort!==void 0?u.onabort=n:u.onreadystatechange=function(){u.readyState===4&&I.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()}}}),i.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),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||e.scriptAttrs){var t,n;return{send:function(r,o){t=i("<script>").attr(e.scriptAttrs||{}).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 Mn=[],Gt=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||i.expando+"_"+Dn.guid++;return this[e]=!0,e}}),i.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,u=e.jsonp!==!1&&(Gt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Gt.test(e.data)&&"data");if(u||e.dataTypes[0]==="jsonp")return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(Gt,"$1"+r):e.jsonp!==!1&&(e.url+=(zt.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=I[r],I[r]=function(){s=arguments},n.always(function(){o===void 0?i(I).removeProp(r):I[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Mn.push(r)),s&&m(o)&&o(s[0]),s=o=void 0}),"script"}),D.createHTMLDocument=function(){var e=P.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),i.parseHTML=function(e,t,n){if(typeof e!="string")return[];typeof t=="boolean"&&(n=t,t=!1);var r,o,s;return t||(D.createHTMLDocument?(t=P.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=P.location.href,t.head.appendChild(r)):t=P),o=j.exec(e),s=!n&&[],o?[t.createElement(o[1])]:(o=gn([e],t,s),s&&s.length&&i(s).remove(),i.merge([],o.childNodes))},i.fn.load=function(e,t,n){var r,o,s,u=this,c=e.indexOf(" ");return c>-1&&(r=Ye(e.slice(c)),e=e.slice(0,c)),m(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(f){s=arguments,u.html(r?i("<div>").append(i.parseHTML(f)).find(r):f)}).always(n&&function(f,d){u.each(function(){n.apply(this,s||[f.responseText,d,f])})}),this},i.expr.pseudos.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length},i.offset={setOffset:function(e,t,n){var r,o,s,u,c,f,d,y=i.css(e,"position"),x=i(e),h={};y==="static"&&(e.style.position="relative"),c=x.offset(),s=i.css(e,"top"),f=i.css(e,"left"),d=(y==="absolute"||y==="fixed")&&(s+f).indexOf("auto")>-1,d?(r=x.position(),u=r.top,o=r.left):(u=parseFloat(s)||0,o=parseFloat(f)||0),m(t)&&(t=t.call(e,n,i.extend({},c))),t.top!=null&&(h.top=t.top-c.top+u),t.left!=null&&(h.left=t.left-c.left+o),"using"in t?t.using.call(e,h):x.css(h)}},i.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(o){i.offset.setOffset(this,e,o)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if(i.css(r,"position")==="fixed")t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&i.css(e,"position")==="static";)e=e.parentNode;e&&e!==r&&e.nodeType===1&&(o=i(e).offset(),o.top+=i.css(e,"borderTopWidth",!0),o.left+=i.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-i.css(r,"marginTop",!0),left:t.left-o.left-i.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&i.css(e,"position")==="static";)e=e.offsetParent;return e||Qe})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=t==="pageYOffset";i.fn[e]=function(r){return Be(this,function(o,s,u){var c;if(U(o)?c=o:o.nodeType===9&&(c=o.defaultView),u===void 0)return c?c[t]:o[s];c?c.scrollTo(n?c.pageXOffset:u,n?u:c.pageYOffset):o[s]=u},e,r,arguments.length)}}),i.each(["top","left"],function(e,t){i.cssHooks[t]=Cn(D.pixelPosition,function(n,r){if(r)return r=vt(n,t),Pt.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(e,t){i.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){i.fn[r]=function(o,s){var u=arguments.length&&(n||typeof o!="boolean"),c=n||(o===!0||s===!0?"margin":"border");return Be(this,function(f,d,y){var x;return U(f)?r.indexOf("outer")===0?f["inner"+e]:f.document.documentElement["client"+e]:f.nodeType===9?(x=f.documentElement,Math.max(f.body["scroll"+e],x["scroll"+e],f.body["offset"+e],x["offset"+e],x["client"+e])):y===void 0?i.css(f,d,c):i.style(f,d,y,c)},t,u?o:void 0,u)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){i.fn[t]=function(n,r){return arguments.length>0?this.on(t,null,n,r):this.trigger(t)}});var Fr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;i.proxy=function(e,t){var n,r,o;if(typeof t=="string"&&(n=e[t],t=e,e=n),!!m(e))return r=N.call(arguments,2),o=function(){return e.apply(t||this,r.concat(N.call(arguments)))},o.guid=e.guid=e.guid||i.guid++,o},i.holdReady=function(e){e?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=Q,i.isFunction=m,i.isWindow=U,i.camelCase=He,i.type=L,i.now=Date.now,i.isNumeric=function(e){var t=i.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))},i.trim=function(e){return e==null?"":(e+"").replace(Fr,"$1")};var Br=I.jQuery,Wr=I.$;return i.noConflict=function(e){return I.$===i&&(I.$=Wr),e&&I.jQuery===i&&(I.jQuery=Br),i},typeof O>"u"&&(I.jQuery=I.$=i),i})})(Xn);var oi=Xn.exports;const we=sn(oi);function si(ne){var I={protocol:location.protocol||"https:",urlDns:"http://wanproxy.127.net/lbs",retryCount:2,fileInputID:"fileInput",timeout:5e4,onError:function(b){console.log(b)},onProgress:function(b){console.log(b.status),console.log(b.progress)}},O,T;return O=we.extend({},I,ne),T={version:"1.0",uploadFile:null,edgeNodeList:null,dnsRetryCount:0,uTRetryCount:O.retryCount,gORetryCount:O.retryCount,gDRetryCount:O.retryCount,createAjax:function(){var b={};return window.XMLHttpRequest&&(b=new XMLHttpRequest),b},clearStorage:function(b,N,X){localStorage.removeItem(X+"_progress"),localStorage.removeItem(X+"_"+b+"_"+N+"_context")},addFile:function(b,N){if(b){var X=Vn(b.name+":"+b.size).toString(),W;W={fileKey:X,file:b,fileName:b.name,status:0,progress:localStorage.getItem(X+"_progress")||0},T.uploadFile&&(T.uploadFile=null),T.uploadFile=we.extend(!0,{},W),N&&N(W)}},getFile:function(b){var N;return T.uploadFile.fileKey===b&&(N=T.uploadFile),N},getDNS:function(b,N){if((b==null||b==="")&&(b=""),T.edgeNodeList)N(T.edgeNodeList);else if(O.protocol==="https:"){let X=["https://wanproxy-web.127.net"];T.edgeNodeList=X,N(X,O.urlDns)}else we.ajax({type:"get",url:O.urlDns,data:{version:T.version,bucketname:b},dataType:"json",success:function(X){X.code?O.onError({errCode:X.Code,errMsg:X.Message}):(T.edgeNodeList=X.upload,N(X.upload,X.lbs))},error:function(X){X.status.toString().match(/^5/)&&T.gDRetryCount>0&&T.gDRetryCount<O.retryCount+1?(T.getDNS(b,N),T.gDRetryCount--):(O.onError(X.responseText),T.gDRetryCount=O.retryCount)}})},getOffset:function(b,N){var X;if(X=localStorage.getItem(b.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context"),!X)return N(0);we.ajax({type:"get",url:b.serveIp+"/"+b.bucketName+"/"+encodeURIComponent(b.objectName)+"?uploadContext",data:{version:T.version,context:X},dataType:"json",beforeSend:function(W){W.setRequestHeader("x-nos-token",b.token)},success:function(W){W.errCode?O.onError({errCode:W.errCode,errMsg:W.errMsg}):N(W.offset)},error:function(W){W.status.toString().match(/^5/)&&T.gORetryCount>0&&T.gORetryCount<O.retryCount+1?(T.getOffset(b,N),T.gORetryCount--):(O.onError(W.responseText),T.gORetryCount=O.retryCount,W.status===404&&T.clearStorage(b.bucketName,b.objectName,b.fileKey))}})},uploadTrunk:function(b,N,X){var W,ue="",w,pe,ie=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice;if(w=T.getFile(N.fileKey),pe=localStorage.getItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context"),w.xhr?W=w.xhr:(W=T.createAjax(),w.xhr=W),W.upload.onprogress=function(G){var D=0;G.lengthComputable?(D=(N.offset+G.loaded)/N.file.size,w.progress=(D*100).toFixed(2),D>0&&D<1?(w.status=1,we("#"+O.fileInputID).attr("disabled",!0)):D===1&&(w.status=2,we("#"+O.fileInputID).attr("disabled",!1)),localStorage.setItem(N.fileKey+"_progress",w.progress),O.onProgress(w)):(console.log("浏览器不支持进度事件",G),O.onError({errMsg:"浏览器不支持进度事件"}))},W.onreadystatechange=function(){if(W.readyState===4){var G;try{G=JSON.parse(W.responseText)}catch{G={errMsg:"未知错误"}}if(W.status===200)w.file.size===0&&(w.status=2,w.progress=100,O.onProgress(w)),localStorage.setItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context",G.context),G.offset<N.file.size?T.uploadTrunk(b,we.extend({},N,{offset:G.offset,trunkEnd:G.offset+N.trunkSize,context:pe||G.context}),X):X(N);else if(W.status.toString().match(/^5/))if(T.uTRetryCount<O.retryCount+1&&T.uTRetryCount>0)T.getOffset({serveIp:b.serveIp,bucketName:b.bucketName,objectName:b.objectName,token:b.token,fileKey:N.fileKey},function(m){T.uploadTrunk(b,we.extend({},N,{offset:m,trunkEnd:m+N.trunkSize,context:localStorage.getItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context")||""}),X)}),T.uTRetryCount--;else if(T.dnsRetryCount<T.edgeNodeList.length-1){T.uTRetryCount=O.retryCount,T.dnsRetryCount++;var D=we.extend({},b,{serveIp:T.edgeNodeList[T.dnsRetryCount]});T.getOffset({serveIp:D.serveIp,bucketName:D.bucketName,objectName:D.objectName,token:D.token,fileKey:N.fileKey},function(m){T.uploadTrunk(D,we.extend({},N,{offset:m,trunkEnd:m+N.trunkSize,context:localStorage.getItem(N.fileKey+"_"+b.bucketName+"_"+b.objectName+"_context")||""}),X)})}else T.dnsRetryCount=0,O.onError({errCode:G.errCode,errMsg:G.errMsg}),we("#"+O.fileInputID).attr("disabled",!1),T.clearStorage(b.bucketName,b.objectName,N.fileKey);else we("#"+O.fileInputID).attr("disabled",!1),W.status&&(T.clearStorage(b.bucketName,b.objectName,N.fileKey),O.onError({errCode:G.errCode,errMsg:G.errMsg}))}},ue="?offset="+N.offset+"&complete="+(N.trunkEnd>=N.file.size)+"&context="+(pe||N.context)+"&version="+T.version,W.open("post",b.serveIp+"/"+b.bucketName+"/"+encodeURIComponent(b.objectName)+ue),W.timeout=O.timeout,W.setRequestHeader("x-nos-token",b.token),navigator.userAgent.indexOf("WindowsWechat")>=0){var ae=new FileReader;ae.addEventListener("loadend",function(){var G=new Blob([ae.result]);W.send(G)}),ae.readAsArrayBuffer(ie.call(N.file,N.offset,N.trunkEnd))}else W.send(ie.call(N.file,N.offset,N.trunkEnd))},pauseUpload:function(){var b;T.uploadFile?T.uploadFile.xhr?T.uploadFile.status<2&&(b=T.uploadFile.xhr,b.abort(),we("#"+O.fileInputID).attr("disabled",!1)):O.onError({errMsg:"当前文件未开始上传"}):O.onError({errMsg:"未选择需上传的文件"})},upload:function(b,N){if(!b.bucketName&&b.bucketName!==0){O.onError({errMsg:"桶名不能为空"});return}if(!b.objectName&&b.objectName!==0){O.onError({errMsg:"对象名不能为空"});return}if(!b.token){O.onError({errMsg:"上传凭证不能为空"});return}if(b.trunkSize?Object.prototype.toString.call(b.trunkSize)==="[object String]"&&(b.trunkSize=parseInt(b.trunkSize)):b.trunkSize=128*1024,!T.uploadFile){O.onError({errMsg:"未选择需上传的文件"});return}var X=T.uploadFile;T.getDNS(b.bucketName,function(W){if(W.length===0){O.onError({errMsg:"暂无边缘节点"});return}T.getOffset({serveIp:W[0],bucketName:b.bucketName,objectName:b.objectName,fileKey:X.fileKey,token:b.token},function(ue){T.uploadTrunk({serveIp:W[0],bucketName:b.bucketName,objectName:b.objectName,token:b.token},{file:X.file,fileKey:X.fileKey,offset:ue||0,trunkSize:b.trunkSize,trunkEnd:(ue||0)+b.trunkSize,context:""},function(w){T.clearStorage(b.bucketName,b.objectName,w.fileKey),N&&N(X)})})})}},T}const ui=4*1024*1024,ai=12e4,fi=13e4,ci=3e4;async function zn(ne,I){const O=new AbortController,T=setTimeout(()=>O.abort(),ci);try{const b=await fetch(ne,{headers:I,credentials:"same-origin",signal:O.signal});if(!b.ok)throw new Error(`NOS 网关请求失败:HTTP ${b.status}(${ne})`);const N=await b.json();if(+N.code!=200)throw new Error(`NOS 网关业务错误:code=${N.code} message=${N.message??""}`);return N.data}finally{clearTimeout(T)}}function li(ne){const{baseURL:I,headers:O,trunkSize:T=ui,onProgress:b,chunkTimeoutMs:N=ai,stallTimeoutMs:X=fi,fetchNosUrl:W=!0}=ne;return async ue=>{const w=Vn(`${ue.name}:${ue.size}:${Date.now()}`).toString(),pe=`objectName=${encodeURIComponent(w)}`,ie=await zn(`${I}/nos/token?${pe}`,O);await new Promise((G,D)=>{let m=setTimeout(P,X);const U=()=>{m&&clearTimeout(m),m=setTimeout(P,X)};function P(){m=null,D(new Error(`上传停滞超时(${Math.round(X/1e3)}s 无进度):可能为网络中断或服务端响应超时,请重试`))}const C=L=>{m&&clearTimeout(m),m=null,L()},H=si({timeout:N,onProgress:L=>{U(),b==null||b(parseFloat(L.progress)||0)},onError:L=>{C(()=>{var $;return D(L instanceof Error?L:new Error(`NOS 上传失败:${($=JSON.stringify(L))==null?void 0:$.slice(0,200)}`))})}});H.addFile(ue,()=>{H.upload({...ie,trunkSize:T},()=>C(G))})});let ae;if(W){const G=`objectName=${encodeURIComponent(w)}&fileName=${encodeURIComponent(ue.name)}`;ae=await zn(`${I}/nos/url?${G}`,O).then(D=>D==null?void 0:D.url).catch(D=>{console.warn("[super-agent-sdk] 获取 NOS 下载地址失败(不影响上传结果):",D)})}return{nosKey:w,filename:ue.name,size:ue.size,mime:ue.type||void 0,url:ae}}}exports.commonjsGlobal=tt;exports.commonjsRequire=Kn;exports.createNosUploader=li;exports.getDefaultExportFromCjs=sn;exports.peekCookieExpired=Jr;exports.popPendingChat=Yr;exports.stashPendingChat=Qr;
|