super-agent-sdk 1.0.23 → 1.0.25

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.
@@ -0,0 +1,13 @@
1
+ "use strict";const on="sa.chat.pending";function Jr(J){try{localStorage.setItem(on,JSON.stringify(J))}catch{}}function Zr(){try{const J=localStorage.getItem(on);if(!J)return null;localStorage.removeItem(on);const L=JSON.parse(J);return typeof(L==null?void 0:L.message)=="string"&&typeof(L==null?void 0:L.sessionId)=="string"&&typeof(L==null?void 0:L.botCode)=="string"?L:null}catch{return null}}const $n="{returnUrl}";function ei(J){return!J||!J.includes($n)?J:J.replaceAll($n,encodeURIComponent(window.location.href))}async function ti(J){try{const L=await J.json(),O=(L==null?void 0:L.data)??L;return(O==null?void 0:O.code)==="cookie_expired"||(L==null?void 0:L.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(J){return J&&J.__esModule&&Object.prototype.hasOwnProperty.call(J,"default")?J.default:J}function Kn(J){if(J.__esModule)return J;var L=J.default;if(typeof L=="function"){var O=function T(){return this instanceof T?Reflect.construct(L,arguments,this.constructor):L.apply(this,arguments)};O.prototype=L.prototype}else O={};return Object.defineProperty(O,"__esModule",{value:!0}),Object.keys(J).forEach(function(T){var m=Object.getOwnPropertyDescriptor(J,T);Object.defineProperty(O,T,m.get?m:{enumerable:!0,get:function(){return J[T]}})}),O}var Vn={exports:{}};function Xn(J){throw new Error('Could not dynamically require "'+J+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var rn={exports:{}};const ni={},ri=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"})),ii=Kn(ri);var zn;function oi(){return zn||(zn=1,function(J,L){(function(O,T){J.exports=T()})(tt,function(){var O=O||function(T,m){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 Xn=="function")try{N=ii}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(I){var H;return C.prototype=I,H=new C,C.prototype=null,H}}(),ue={},w=ue.lib={},pe=w.Base=function(){return{extend:function(C){var I=W(this);return C&&I.mixIn(C),(!I.hasOwnProperty("init")||this.init===I.init)&&(I.init=function(){I.$super.init.apply(this,arguments)}),I.init.prototype=I,I.$super=this,I},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var I in C)C.hasOwnProperty(I)&&(this[I]=C[I]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),ie=w.WordArray=pe.extend({init:function(C,I){C=this.words=C||[],I!=m?this.sigBytes=I:this.sigBytes=C.length*4},toString:function(C){return(C||G).stringify(this)},concat:function(C){var I=this.words,H=C.words,$=this.sigBytes,Z=C.sigBytes;if(this.clamp(),$%4)for(var i=0;i<Z;i++){var he=H[i>>>2]>>>24-i%4*8&255;I[$+i>>>2]|=he<<24-($+i)%4*8}else for(var Q=0;Q<Z;Q+=4)I[$+Q>>>2]=H[Q>>>2];return this.sigBytes+=Z,this},clamp:function(){var C=this.words,I=this.sigBytes;C[I>>>2]&=4294967295<<32-I%4*8,C.length=T.ceil(I/4)},clone:function(){var C=pe.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var I=[],H=0;H<C;H+=4)I.push(X());return new ie.init(I,C)}}),ae=ue.enc={},G=ae.Hex={stringify:function(C){for(var I=C.words,H=C.sigBytes,$=[],Z=0;Z<H;Z++){var i=I[Z>>>2]>>>24-Z%4*8&255;$.push((i>>>4).toString(16)),$.push((i&15).toString(16))}return $.join("")},parse:function(C){for(var I=C.length,H=[],$=0;$<I;$+=2)H[$>>>3]|=parseInt(C.substr($,2),16)<<24-$%8*4;return new ie.init(H,I/2)}},D=ae.Latin1={stringify:function(C){for(var I=C.words,H=C.sigBytes,$=[],Z=0;Z<H;Z++){var i=I[Z>>>2]>>>24-Z%4*8&255;$.push(String.fromCharCode(i))}return $.join("")},parse:function(C){for(var I=C.length,H=[],$=0;$<I;$++)H[$>>>2]|=(C.charCodeAt($)&255)<<24-$%4*8;return new ie.init(H,I)}},b=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=b.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var I,H=this._data,$=H.words,Z=H.sigBytes,i=this.blockSize,he=i*4,Q=Z/he;C?Q=T.ceil(Q):Q=T.max((Q|0)-this._minBufferSize,0);var ke=Q*i,Fe=T.min(ke*4,Z);if(ke){for(var De=0;De<ke;De+=i)this._doProcessBlock($,De);I=$.splice(0,ke),H.sigBytes-=Fe}return new ie.init(I,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 I=this._doFinalize();return I},blockSize:16,_createHelper:function(C){return function(I,H){return new C.init(H).finalize(I)}},_createHmacHelper:function(C){return function(I,H){return new P.HMAC.init(C,H).finalize(I)}}});var P=ue.algo={};return ue}(Math);return O})}(rn)),rn.exports}(function(J,L){(function(O,T){J.exports=T(oi())})(tt,function(O){return function(T){var m=O,N=m.lib,X=N.WordArray,W=N.Hasher,ue=m.algo,w=[];(function(){for(var b=0;b<64;b++)w[b]=T.abs(T.sin(b+1))*4294967296|0})();var pe=ue.MD5=W.extend({_doReset:function(){this._hash=new X.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,U){for(var P=0;P<16;P++){var C=U+P,I=b[C];b[C]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}var H=this._hash.words,$=b[U+0],Z=b[U+1],i=b[U+2],he=b[U+3],Q=b[U+4],ke=b[U+5],Fe=b[U+6],De=b[U+7],oe=b[U+8],Oe=b[U+9],nt=b[U+10],rt=b[U+11],xe=b[U+12],Ue=b[U+13],je=b[U+14],Ge=b[U+15],k=H[0],j=H[1],E=H[2],_=H[3];k=ie(k,j,E,_,$,7,w[0]),_=ie(_,k,j,E,Z,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,_,Z,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,_,Z,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,Z,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]),H[0]=H[0]+k|0,H[1]=H[1]+j|0,H[2]=H[2]+E|0,H[3]=H[3]+_|0},_doFinalize:function(){var b=this._data,U=b.words,P=this._nDataBytes*8,C=b.sigBytes*8;U[C>>>5]|=128<<24-C%32;var I=T.floor(P/4294967296),H=P;U[(C+64>>>9<<4)+15]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,U[(C+64>>>9<<4)+14]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,b.sigBytes=(U.length+1)*4,this._process();for(var $=this._hash,Z=$.words,i=0;i<4;i++){var he=Z[i];Z[i]=(he<<8|he>>>24)&16711935|(he<<24|he>>>8)&4278255360}return $},clone:function(){var b=W.clone.call(this);return b._hash=this._hash.clone(),b}});function ie(b,U,P,C,I,H,$){var Z=b+(U&P|~U&C)+I+$;return(Z<<H|Z>>>32-H)+U}function ae(b,U,P,C,I,H,$){var Z=b+(U&C|P&~C)+I+$;return(Z<<H|Z>>>32-H)+U}function G(b,U,P,C,I,H,$){var Z=b+(U^P^C)+I+$;return(Z<<H|Z>>>32-H)+U}function D(b,U,P,C,I,H,$){var Z=b+(P^(U|~C))+I+$;return(Z<<H|Z>>>32-H)+U}m.MD5=W._createHelper(pe),m.HmacMD5=W._createHmacHelper(pe)}(Math),O.MD5})})(Vn);var si=Vn.exports;const Gn=sn(si);var Qn={exports:{}};/*!
2
+ * jQuery JavaScript Library v3.7.1
3
+ * https://jquery.com/
4
+ *
5
+ * Copyright OpenJS Foundation and other contributors
6
+ * Released under the MIT license
7
+ * https://jquery.org/license
8
+ *
9
+ * Date: 2023-08-28T13:37Z
10
+ */(function(J){(function(L,O){J.exports=L.document?O(L,!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(L,O){var T=[],m=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={},b=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},U=function(t){return t!=null&&t===t.window},P=L.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function I(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 H(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?w[pe.call(e)]||"object":typeof e}var $="3.7.1",Z=/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"&&!b(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=m(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){I(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!Z.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=H(e);return b(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},He="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Re="(?:\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ne="\\["+oe+"*("+Re+")(?:"+oe+"*([*^$|!~]?=)"+oe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Re+"))|)"+oe+"*\\]",Ze=":("+Re+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ne+")*)|.*)\\)|)",se=new RegExp(oe+"+","g"),le=new RegExp("^"+oe+"*,"+oe+"*"),Ct=new RegExp("^"+oe+"*([>+~]|"+oe+")"+oe+"*"),Qt=new RegExp(oe+"|>"),qe=new RegExp(Ze),Tt=new RegExp("^"+Re+"$"),Pe={ID:new RegExp("^#("+Re+")"),CLASS:new RegExp("^\\.("+Re+")"),TAG:new RegExp("^("+Re+"|[*])"),ATTR:new RegExp("^"+ne),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("^(?:"+He+")$","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))},Ur=function(){Xe()},Kr=Lt(function(a){return a.disabled===!0&&Q(a,"fieldset")},{dir:"parentNode",next:"legend"});function Vr(){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,R,M,q,ee,z,V=l&&l.ownerDocument,te=l?l.nodeType:9;if(p=p||[],typeof a!="string"||!a||te!==1&&te!==9&&te!==11)return p;if(!g&&(Xe(l),l=l||u,f)){if(te!==11&&(q=Ne.exec(a)))if(v=q[1]){if(te===9)if(R=l.getElementById(v)){if(R.id===v)return s.call(p,R),p}else return p;else if(V&&(R=V.getElementById(v))&&fe.contains(l,R)&&R.id===v)return s.call(p,R),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,V=l,te===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)),ee=wt(a),A=ee.length;A--;)ee[A]=(M?"#"+M:":scope")+" "+Ot(ee[A]);z=ee.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 Xr(a){return function(l){return Q(l,"input")&&l.type===a}}function Gr(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&&Kr(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),R=A.length;R--;)p[v=A[R]]&&(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",Ur),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 R=typeof A.getAttributeNode<"u"&&A.getAttributeNode("id");return R&&R.value===v}},t.find.ID=function(g,v){if(typeof v.getElementById<"u"&&f){var A,R,M,q=v.getElementById(g);if(q){if(A=q.getAttributeNode("id"),A&&A.value===g)return[q];for(M=v.getElementsByName(g),R=0;q=M[R++];)if(A=q.getAttributeNode("id"),A&&A.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("\\["+oe+"*(?:value|"+He+")"),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&&qe.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",R=a.slice(-4)!=="last",M=l==="of-type";return g===1&&v===0?function(q){return!!q.parentNode}:function(q,ee,z){var V,te,B,ce,Te,ye=A!==R?"nextSibling":"previousSibling",Ee=q.parentNode,Me=M&&q.nodeName.toLowerCase(),dt=!z&&!M,ve=!1;if(Ee){if(A){for(;ye;){for(B=q;B=B[ye];)if(M?Q(B,Me):B.nodeType===1)return!1;Te=ye=a==="only"&&!Te&&"nextSibling"}return!0}if(Te=[R?Ee.firstChild:Ee.lastChild],R&&dt){for(te=Ee[x]||(Ee[x]={}),V=te[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===q){te[a]=[h,ce,ve];break}}else if(dt&&(te=q[x]||(q[x]={}),V=te[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&&(te=B[x]||(B[x]={}),te[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()]||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 R,M=g(v,l),q=M.length;q--;)R=ue.call(v,M[q]),v[R]=!(A[R]=M[q])}):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,R,M){for(var q,ee=g(v,null,M,[]),z=v.length;z--;)(q=ee[z])&&(v[z]=!(A[z]=q))}):function(v,A,R){return l[0]=v,g(l,null,R,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=L.location&&L.location.hash;return l&&l.slice(1)===a.id},root:function(a){return a===c},focus:function(a){return a===Vr()&&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]=Xr(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=Gr(e);function Bn(){}Bn.prototype=t.filters=t.pseudos,t.setFilters=new Bn;function wt(a,l){var p,g,v,A,R,M,q,ee=re[a+" "];if(ee)return l?0:ee.slice(0);for(R=a,M=[],q=t.preFilter;R;){(!p||(g=le.exec(R)))&&(g&&(R=R.slice(g[0].length)||R),M.push(v=[])),p=!1,(g=Ct.exec(R))&&(p=g.shift(),v.push({value:p,type:g[0].replace(Oe," ")}),R=R.slice(p.length));for(A in t.filter)(g=Pe[A].exec(R))&&(!q[A]||(g=q[A](g)))&&(p=g.shift(),v.push({value:p,type:A,matches:g}),R=R.slice(p.length));if(!p)break}return l?R.length:R?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 Lt(a,l,p){var g=l.dir,v=l.next,A=v||g,R=p&&A==="parentNode",M=S++;return l.first?function(q,ee,z){for(;q=q[g];)if(q.nodeType===1||R)return a(q,ee,z);return!1}:function(q,ee,z){var V,te,B=[h,M];if(z){for(;q=q[g];)if((q.nodeType===1||R)&&a(q,ee,z))return!0}else for(;q=q[g];)if(q.nodeType===1||R)if(te=q[x]||(q[x]={}),v&&Q(q,v))q=q[g]||q;else{if((V=te[A])&&V[0]===h&&V[1]===M)return B[2]=V[2];if(te[A]=B,B[2]=a(q,ee,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 Qr(a,l,p){for(var g=0,v=l.length;g<v;g++)fe(a,l[g],p);return p}function It(a,l,p,g,v){for(var A,R=[],M=0,q=a.length,ee=l!=null;M<q;M++)(A=a[M])&&(!p||p(A,g,v))&&(R.push(A),ee&&l.push(M));return R}function en(a,l,p,g,v,A){return g&&!g[x]&&(g=en(g)),v&&!v[x]&&(v=en(v,A)),Ae(function(R,M,q,ee){var z,V,te,B,ce=[],Te=[],ye=M.length,Ee=R||Qr(l||"*",q.nodeType?[q]:q,[]),Me=a&&(R||!l)?It(Ee,ce,a,q,ee):Ee;if(p?(B=v||(R?a:ye||g)?[]:M,p(Me,B,q,ee)):B=Me,g)for(z=It(B,Te),g(z,[],q,ee),V=z.length;V--;)(te=z[V])&&(B[Te[V]]=!(Me[Te[V]]=te));if(R){if(v||a){if(v){for(z=[],V=B.length;V--;)(te=B[V])&&z.push(Me[V]=te);v(null,B=[],z,ee)}for(V=B.length;V--;)(te=B[V])&&(z=v?ue.call(R,te):ce[V])>-1&&(R[z]=!(M[z]=te))}}else B=It(B===M?B.splice(ye,B.length):B),v?v(null,M,B,ee):s.apply(M,B)})}function tn(a){for(var l,p,g,v=a.length,A=t.relative[a[0].type],R=A||t.relative[" "],M=A?1:0,q=Lt(function(V){return V===l},R,!0),ee=Lt(function(V){return ue.call(l,V)>-1},R,!0),z=[function(V,te,B){var ce=!A&&(B||te!=n)||((l=te).nodeType?q(V,te,B):ee(V,te,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 Yr(a,l){var p=l.length>0,g=a.length>0,v=function(A,R,M,q,ee){var z,V,te,B=0,ce="0",Te=A&&[],ye=[],Ee=n,Me=A||g&&t.find.TAG("*",ee),dt=h+=Ee==null?1:Math.random()||.1,ve=Me.length;for(ee&&(n=R==u||R||ee);ce!==ve&&(z=Me[ce])!=null;ce++){if(g&&z){for(V=0,!R&&z.ownerDocument!=u&&(Xe(z),M=!f);te=a[V++];)if(te(z,R||u,M)){s.call(q,z);break}ee&&(h=dt)}p&&((z=!te&&z)&&B--,A&&Te.push(z))}if(B+=ce,p&&ce!==B){for(V=0;te=l[V++];)te(Te,ye,R,M);if(A){if(B>0)for(;ce--;)Te[ce]||ye[ce]||(ye[ce]=ke.call(q));ye=It(ye)}s.apply(q,ye),ee&&!A&&ye.length>0&&B+l.length>1&&i.uniqueSort(q)}return ee&&(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,Yr(v,g)),A.selector=a}return A}function Wn(a,l,p,g){var v,A,R,M,q,ee=typeof a=="function"&&a,z=!g&&wt(a=ee.selector||a);if(p=p||[],z.length===1){if(A=z[0]=z[0].slice(0),A.length>2&&(R=A[0]).type==="ID"&&l.nodeType===9&&f&&t.relative[A[1].type]){if(l=(t.find.ID(R.matches[0].replace($e,ze),l)||[])[0],l)ee&&(l=l.parentNode);else return p;a=a.slice(A.shift().value.length)}for(v=Pe.needsContext.test(a)?0:A.length;v--&&(R=A[v],!t.relative[M=R.type]);)if((q=t.find[M])&&(g=q(R.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(ee||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 b(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 _,Yn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Jn=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=Yn.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)b(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(b(e))return n.ready!==void 0?n.ready(e):e(i)}return i.makeArray(e,this)};Jn.prototype=i.fn,_=i(P);var Zn=/^(?:parents|prev(?:Until|All))/,er={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&&m(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&&(er[e]||i.uniqueSort(o),Zn.test(e)&&o.reverse()),this.pushStack(o)}});var Le=/[^\x20\t\r\n\f]+/g;function tr(e){var t={};return i.each(e.match(Le)||[],function(n,r){t[r]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?tr(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){b(S)?(!e.unique||!d.has(S))&&s.push(S):S&&S.length&&H(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&&b(o=e.promise)?o.call(e).done(t).fail(n):e&&b(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=b(s[f[4]])&&s[f[4]];o[f[1]](function(){var y=d&&d.apply(this,arguments);y&&b(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,He;if(!(y<f)){if(de=h.apply(K,re),de===x.promise())throw new TypeError("Thenable self-resolution");He=de&&(typeof de=="object"||typeof de=="function")&&de.then,b(He)?S?He.call(de,d(f,x,it,S),d(f,x,St,S)):(f++,He.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()),L.setTimeout(ge))}}return i.Deferred(function(y){t[0][3].add(d(0,y,b(c)?c:it,y.notifyWith)),t[1][3].add(d(0,y,b(s)?s:it)),t[2][3].add(d(0,y,b(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"||b(o[n]&&o[n].then)))return s.then();for(;n--;)an(o[n],u(n),s.reject);return s.promise()}});var nr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){L.console&&L.console.warn&&e&&nr.test(e.name)&&L.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){L.setTimeout(function(){throw e})};var Ht=i.Deferred();i.fn.ready=function(e){return Ht.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)&&Ht.resolveWith(P,[i]))}}),i.ready.then=Ht.then;function Nt(){P.removeEventListener("DOMContentLoaded",Nt),L.removeEventListener("load",Nt),i.ready()}P.readyState==="complete"||P.readyState!=="loading"&&!P.documentElement.doScroll?L.setTimeout(i.ready):(P.addEventListener("DOMContentLoaded",Nt),L.addEventListener("load",Nt));var Be=function(e,t,n,r,o,s,u){var c=0,f=e.length,d=n==null;if(H(n)==="object"){o=!0;for(c in n)Be(e,t,c,n[c],!0,s,u)}else if(r!==void 0&&(o=!0,b(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},rr=/^-ms-/,ir=/-([a-z])/g;function or(e,t){return t.toUpperCase()}function Ie(e){return e.replace(rr,"ms-").replace(ir,or)}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[Ie(t)]=n;else for(r in t)o[Ie(r)]=t[r];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][Ie(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(Ie):(t=Ie(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 F=new ht,me=new ht,sr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ur=/[A-Z]/g;function ar(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:sr.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(ur,"-$&").toLowerCase(),n=e.getAttribute(r),typeof n=="string"){try{n=ar(n)}catch{}me.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return me.hasData(e)||F.hasData(e)},data:function(e,t,n){return me.access(e,t,n)},removeData:function(e,t){me.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=me.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=Ie(r.slice(5)),fn(s,r,o[r])));F.set(s,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){me.set(this,e)}):Be(this,function(c){var f;if(s&&c===void 0)return f=me.get(s,e),f!==void 0||(f=fn(s,e),f!==void 0)?f:void 0;this.each(function(){me.set(this,e,c)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){me.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)},fr={composed:!0};Qe.getRootNode&&(ot=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(fr)===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)&&gt.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 cr(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]=cr(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 be(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++)F.set(e[n],"globalEval",!t||F.get(t[n],"globalEval"))}var lr=/<|&#?\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(H(s)==="object")i.merge(h,s.nodeType?[s]:s);else if(!lr.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=be(x.appendChild(s),"script"),d&&Rt(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 qt(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)qt(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(Le)||[""],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(Le)||[""],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:b(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 qt(this,e,t,n,r)},one:function(e,t,n,r){return qt(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 dr=/<script|<style|<link/i,pr=/checked\s*(?:[^=]|=\s*.checked.)/i,hr=/^\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 gr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function yr(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])}me.hasData(e)&&(u=me.access(e),c=i.extend({},u),me.set(t,c))}}function vr(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=b(S);if(K||x>1&&typeof S=="string"&&!D.checkClone&&pr.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(be(o,"script"),gr),c=u.length;y<x;y++)f=o,y!==h&&(f=i.clone(f,!0,!0),c&&i.merge(u,be(f,"script"))),n.call(e[y],f,y);if(c)for(d=u[u.length-1].ownerDocument,i.map(u,yr),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):I(f.textContent.replace(hr,""),f,d))}return e}function mn(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(be(r)),r.parentNode&&(n&&ot(r)&&Rt(be(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=be(c),s=be(e),r=0,o=s.length;r<o;r++)vr(s[r],u[r]);if(t)if(n)for(s=s||be(e),u=u||be(c),r=0,o=s.length;r<o;r++)xn(s[r],u[r]);else xn(e,c);return u=be(c,"script"),u.length>0&&Rt(u,!f&&be(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[me.expando]&&(n[me.expando]=void 0)}}}),i.fn.extend({detach:function(e){return mn(this,e,!0)},remove:function(e){return mn(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(be(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"&&!dr.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(be(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(be(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=L),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},xr=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=L.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=L.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)&&xr.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 mr(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]=mr(e)||e)}var br=/^(none|table(?!-c[ea]).+)/,Cr={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=Ie(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=Ie(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 br.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?bn(n,Cr,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-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=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,Tr=/^(?:toggle|show|hide)$/,wr=/queueHooks$/;function Wt(){_t&&(P.hidden===!1&&L.requestAnimationFrame?L.requestAnimationFrame(Wt):L.setTimeout(Wt,i.fx.interval),i.fx.tick())}function jn(){return L.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 Sr(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],Tr.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 Nr(e,t){var n,r,o,s,u;for(n in e)if(r=Ie(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(Nr(y,d.opts.specialEasing);s<u;s++)if(r=_e.prefilters[s].call(d,e,y,d.opts),r)return b(r.stop)&&(i._queueHooks(d.elem,d.opts.queue).stop=r.stop.bind(r)),r;return i.map(y,_n,d),b(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){b(e)?(t=e,e=["*"]):e=e.match(Le);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:[Sr],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||b(e)&&e,duration:e,easing:n&&t||t&&!b(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(){b(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&&wr.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=L.setTimeout(n,e);r.stop=function(){L.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(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 Er=/^(?:input|select|textarea|button)$/i,kr=/^(?: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):Er.test(e.nodeName)||kr.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 b(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 b(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 b(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 jr=/\r/g;i.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=b(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(jr,""):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 mt=L.location,Dn={guid:Date.now()},zt=/\?/;i.parseXML=function(e){var t,n;if(!e||typeof e!="string")return null;try{t=new L.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)$/,Ln=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||L)}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&&b(n[S])&&!U(n)&&(u=n[f],u&&(n[f]=null),i.event.triggered=S,e.isPropagationStopped()&&x.addEventListener(S,Ln),n[S](),e.isPropagationStopped()&&x.removeEventListener(S,Ln),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 _r=/\[\]$/,In=/\r?\n/g,Ar=/^(?:submit|button|image|reset|file)$/i,Dr=/^(?:input|select|textarea|keygen)/i;function Ut(e,t,n,r){var o;if(Array.isArray(t))i.each(t,function(s,u){n||_r.test(e)?r(e,u):Ut(e+"["+(typeof u=="object"&&u!=null?s:"")+"]",u,n,r)});else if(!n&&H(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=b(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")&&Dr.test(this.nodeName)&&!Ar.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(In,`\r
12
+ `)}}):{name:t.name,value:n.replace(In,`\r
13
+ `)}}).get()}});var Or=/%20/g,Lr=/#.*$/,Ir=/([?&])_=[^&]*/,Hr=/^(.*?):[ \t]*([^\r\n]*)$/mg,Rr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qr=/^(?:GET|HEAD)$/,Pr=/^\/\//,Hn={},Kt={},Rn="*/".concat("*"),Vt=P.createElement("a");Vt.href=mt.href;function qn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,o=0,s=t.toLowerCase().match(Le)||[];if(b(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 Mr(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 Fr(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:mt.href,type:"GET",isLocal:Rr.test(mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rn,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:qn(Hn),ajaxTransport:qn(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={},He={},Re="canceled",ne={readyState:0,getResponseHeader:function(se){var le;if(f){if(!s)for(s={};le=Hr.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=He[se.toLowerCase()]=He[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)ne.always(se[ne.status]);else for(le in se)ge[le]=[ge[le],se[le]];return this},abort:function(se){var le=se||Re;return n&&n.abort(le),Ze(0,le),this}};if(re.promise(ne),h.url=((e||h.url||mt.href)+"").replace(Pr,mt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Le)||[""],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(Hn,h,t,ne),f)return ne;d=i.event&&h.global,d&&i.active++===0&&i.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qr.test(h.type),r=h.url.replace(Lr,""),h.hasContent?h.data&&h.processData&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(h.data=h.data.replace(Or,"+")):(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(Ir,"$1"),x=(zt.test(r)?"&":"?")+"_="+Dn.guid+++x),h.url=r+x),h.ifModified&&(i.lastModified[r]&&ne.setRequestHeader("If-Modified-Since",i.lastModified[r]),i.etag[r]&&ne.setRequestHeader("If-None-Match",i.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||t.contentType)&&ne.setRequestHeader("Content-Type",h.contentType),ne.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", "+Rn+"; q=0.01":""):h.accepts["*"]);for(y in h.headers)ne.setRequestHeader(y,h.headers[y]);if(h.beforeSend&&(h.beforeSend.call(S,ne,h)===!1||f))return ne.abort();if(Re="abort",Y.add(h.complete),ne.done(h.success),ne.fail(h.error),n=Pn(Kt,h,t,ne),!n)Ze(-1,"No Transport");else{if(ne.readyState=1,d&&K.trigger("ajaxSend",[ne,h]),f)return ne;h.async&&h.timeout>0&&(u=L.setTimeout(function(){ne.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 qe,Tt,Pe,Ke,Ve,Ne=le;f||(f=!0,u&&L.clearTimeout(u),n=void 0,o=Qt||"",ne.readyState=se>0?4:0,qe=se>=200&&se<300||se===304,Ct&&(Ke=Mr(h,ne,Ct)),!qe&&i.inArray("script",h.dataTypes)>-1&&i.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),Ke=Fr(h,Ke,ne,qe),qe?(h.ifModified&&(Ve=ne.getResponseHeader("Last-Modified"),Ve&&(i.lastModified[r]=Ve),Ve=ne.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,qe=!Pe)):(Pe=Ne,(se||!Ne)&&(Ne="error",se<0&&(se=0))),ne.status=se,ne.statusText=(le||Ne)+"",qe?re.resolveWith(S,[Tt,Ne,ne]):re.rejectWith(S,[ne,Ne,Pe]),ne.statusCode(ge),ge=void 0,d&&K.trigger(qe?"ajaxSuccess":"ajaxError",[ne,h,qe?Tt:Pe]),Y.fireWith(S,[ne,Ne]),d&&(K.trigger("ajaxComplete",[ne,h]),--i.active||i.event.trigger("ajaxStop")))}return ne},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 b(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]&&(b(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 b(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=b(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 L.XMLHttpRequest}catch{}};var Br={0:200,1223:204},bt=i.ajaxSettings.xhr();D.cors=!!bt&&"withCredentials"in bt,D.ajax=bt=!!bt,i.ajaxTransport(function(e){var t,n;if(D.cors||bt&&!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(Br[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&&L.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=b(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=L[r],L[r]=function(){s=arguments},n.always(function(){o===void 0?i(L).removeProp(r):L[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Mn.push(r)),s&&b(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)),b(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),b(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 Wr=/^[\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),!!b(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=b,i.isWindow=U,i.camelCase=Ie,i.type=H,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(Wr,"$1")};var $r=L.jQuery,zr=L.$;return i.noConflict=function(e){return L.$===i&&(L.$=zr),e&&L.jQuery===i&&(L.jQuery=$r),i},typeof O>"u"&&(L.jQuery=L.$=i),i})})(Qn);var ui=Qn.exports;const we=sn(ui);function ai(J){var L={protocol:location.protocol||"https:",urlDns:"http://wanproxy.127.net/lbs",retryCount:2,fileInputID:"fileInput",timeout:5e4,onError:function(m){console.log(m)},onProgress:function(m){console.log(m.status),console.log(m.progress)}},O,T;return O=we.extend({},L,J),T={version:"1.0",uploadFile:null,edgeNodeList:null,dnsRetryCount:0,uTRetryCount:O.retryCount,gORetryCount:O.retryCount,gDRetryCount:O.retryCount,createAjax:function(){var m={};return window.XMLHttpRequest&&(m=new XMLHttpRequest),m},clearStorage:function(m,N,X){localStorage.removeItem(X+"_progress"),localStorage.removeItem(X+"_"+m+"_"+N+"_context")},addFile:function(m,N){if(m){var X=Gn(m.name+":"+m.size).toString(),W;W={fileKey:X,file:m,fileName:m.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(m){var N;return T.uploadFile.fileKey===m&&(N=T.uploadFile),N},getDNS:function(m,N){if((m==null||m==="")&&(m=""),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:m},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(m,N),T.gDRetryCount--):(O.onError(X.responseText),T.gDRetryCount=O.retryCount)}})},getOffset:function(m,N){var X;if(X=localStorage.getItem(m.fileKey+"_"+m.bucketName+"_"+m.objectName+"_context"),!X)return N(0);we.ajax({type:"get",url:m.serveIp+"/"+m.bucketName+"/"+encodeURIComponent(m.objectName)+"?uploadContext",data:{version:T.version,context:X},dataType:"json",beforeSend:function(W){W.setRequestHeader("x-nos-token",m.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(m,N),T.gORetryCount--):(O.onError(W.responseText),T.gORetryCount=O.retryCount,W.status===404&&T.clearStorage(m.bucketName,m.objectName,m.fileKey))}})},uploadTrunk:function(m,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+"_"+m.bucketName+"_"+m.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+"_"+m.bucketName+"_"+m.objectName+"_context",G.context),G.offset<N.file.size?T.uploadTrunk(m,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:m.serveIp,bucketName:m.bucketName,objectName:m.objectName,token:m.token,fileKey:N.fileKey},function(b){T.uploadTrunk(m,we.extend({},N,{offset:b,trunkEnd:b+N.trunkSize,context:localStorage.getItem(N.fileKey+"_"+m.bucketName+"_"+m.objectName+"_context")||""}),X)}),T.uTRetryCount--;else if(T.dnsRetryCount<T.edgeNodeList.length-1){T.uTRetryCount=O.retryCount,T.dnsRetryCount++;var D=we.extend({},m,{serveIp:T.edgeNodeList[T.dnsRetryCount]});T.getOffset({serveIp:D.serveIp,bucketName:D.bucketName,objectName:D.objectName,token:D.token,fileKey:N.fileKey},function(b){T.uploadTrunk(D,we.extend({},N,{offset:b,trunkEnd:b+N.trunkSize,context:localStorage.getItem(N.fileKey+"_"+m.bucketName+"_"+m.objectName+"_context")||""}),X)})}else T.dnsRetryCount=0,O.onError({errCode:G.errCode,errMsg:G.errMsg}),we("#"+O.fileInputID).attr("disabled",!1),T.clearStorage(m.bucketName,m.objectName,N.fileKey);else we("#"+O.fileInputID).attr("disabled",!1),W.status&&(T.clearStorage(m.bucketName,m.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",m.serveIp+"/"+m.bucketName+"/"+encodeURIComponent(m.objectName)+ue),W.timeout=O.timeout,W.setRequestHeader("x-nos-token",m.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 m;T.uploadFile?T.uploadFile.xhr?T.uploadFile.status<2&&(m=T.uploadFile.xhr,m.abort(),we("#"+O.fileInputID).attr("disabled",!1)):O.onError({errMsg:"当前文件未开始上传"}):O.onError({errMsg:"未选择需上传的文件"})},upload:function(m,N){if(!m.bucketName&&m.bucketName!==0){O.onError({errMsg:"桶名不能为空"});return}if(!m.objectName&&m.objectName!==0){O.onError({errMsg:"对象名不能为空"});return}if(!m.token){O.onError({errMsg:"上传凭证不能为空"});return}if(m.trunkSize?Object.prototype.toString.call(m.trunkSize)==="[object String]"&&(m.trunkSize=parseInt(m.trunkSize)):m.trunkSize=128*1024,!T.uploadFile){O.onError({errMsg:"未选择需上传的文件"});return}var X=T.uploadFile;T.getDNS(m.bucketName,function(W){if(W.length===0){O.onError({errMsg:"暂无边缘节点"});return}T.getOffset({serveIp:W[0],bucketName:m.bucketName,objectName:m.objectName,fileKey:X.fileKey,token:m.token},function(ue){T.uploadTrunk({serveIp:W[0],bucketName:m.bucketName,objectName:m.objectName,token:m.token},{file:X.file,fileKey:X.fileKey,offset:ue||0,trunkSize:m.trunkSize,trunkEnd:(ue||0)+m.trunkSize,context:""},function(w){T.clearStorage(m.bucketName,m.objectName,w.fileKey),N&&N(X)})})})}},T}const fi=4*1024*1024,ci=12e4,li=13e4,di=3e4;async function Un(J,L){const O=new AbortController,T=setTimeout(()=>O.abort(),di);try{const m=await fetch(J,{headers:L,credentials:"same-origin",signal:O.signal});if(!m.ok)throw new Error(`NOS 网关请求失败:HTTP ${m.status}(${J})`);const N=await m.json();if(+N.code!=200)throw new Error(`NOS 网关业务错误:code=${N.code} message=${N.message??""}`);return N.data}finally{clearTimeout(T)}}function pi(J){const{baseURL:L,headers:O,trunkSize:T=fi,onProgress:m,chunkTimeoutMs:N=ci,stallTimeoutMs:X=li,fetchNosUrl:W=!0}=J;return async ue=>{const w=Gn(`${ue.name}:${ue.size}:${Date.now()}`).toString(),pe=`objectName=${encodeURIComponent(w)}`,ie=await Un(`${L}/nos/token?${pe}`,O);await new Promise((G,D)=>{let b=setTimeout(P,X);const U=()=>{b&&clearTimeout(b),b=setTimeout(P,X)};function P(){b=null,D(new Error(`上传停滞超时(${Math.round(X/1e3)}s 无进度):可能为网络中断或服务端响应超时,请重试`))}const C=H=>{b&&clearTimeout(b),b=null,H()},I=ai({timeout:N,onProgress:H=>{U(),m==null||m(parseFloat(H.progress)||0)},onError:H=>{C(()=>{var $;return D(H instanceof Error?H:new Error(`NOS 上传失败:${($=JSON.stringify(H))==null?void 0:$.slice(0,200)}`))})}});I.addFile(ue,()=>{I.upload({...ie,trunkSize:T},()=>C(G))})});let ae;if(W){const G=`objectName=${encodeURIComponent(w)}&fileName=${encodeURIComponent(ue.name)}`;ae=await Un(`${L}/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=Xn;exports.createNosUploader=pi;exports.getAugmentedNamespace=Kn;exports.getDefaultExportFromCjs=sn;exports.peekCookieExpired=ti;exports.popPendingChat=Zr;exports.resolveLoginUrl=ei;exports.stashPendingChat=Jr;