forked from TFMM/silent-auction
36 lines
209 KiB
JavaScript
Vendored
36 lines
209 KiB
JavaScript
Vendored
function wa(l,u){return function(){return l.apply(u,arguments)}}const{toString:Bl}=Object.prototype,{getPrototypeOf:hs}=Object,{iterator:ps,toStringTag:Aa}=Symbol,gs=(l=>u=>{const h=Bl.call(u);return l[h]||(l[h]=h.slice(8,-1).toLowerCase())})(Object.create(null)),Yt=l=>(l=l.toLowerCase(),u=>gs(u)===l),ms=l=>u=>typeof u===l,{isArray:Lr}=Array,Dr=ms("undefined");function ui(l){return l!==null&&!Dr(l)&&l.constructor!==null&&!Dr(l.constructor)&>(l.constructor.isBuffer)&&l.constructor.isBuffer(l)}const Sa=Yt("ArrayBuffer");function ql(l){let u;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?u=ArrayBuffer.isView(l):u=l&&l.buffer&&Sa(l.buffer),u}const Vl=ms("string"),gt=ms("function"),Ca=ms("number"),ci=l=>l!==null&&typeof l=="object",Ul=l=>l===!0||l===!1,cs=l=>{if(gs(l)!=="object")return!1;const u=hs(l);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Aa in l)&&!(ps in l)},Wl=l=>{if(!ci(l)||ui(l))return!1;try{return Object.keys(l).length===0&&Object.getPrototypeOf(l)===Object.prototype}catch{return!1}},Kl=Yt("Date"),zl=Yt("File"),Yl=l=>!!(l&&typeof l.uri<"u"),Xl=l=>l&&typeof l.getParts<"u",Gl=Yt("Blob"),Jl=Yt("FileList"),Ql=l=>ci(l)&>(l.pipe);function Zl(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const sa=Zl(),oa=typeof sa.FormData<"u"?sa.FormData:void 0,ef=l=>{if(!l)return!1;if(oa&&l instanceof oa)return!0;const u=hs(l);if(!u||u===Object.prototype||!gt(l.append))return!1;const h=gs(l);return h==="formdata"||h==="object"&>(l.toString)&&l.toString()==="[object FormData]"},tf=Yt("URLSearchParams"),[nf,rf,sf,of]=["ReadableStream","Request","Response","Headers"].map(Yt),af=l=>l.trim?l.trim():l.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(l,u,{allOwnKeys:h=!1}={}){if(l===null||typeof l>"u")return;let g,_;if(typeof l!="object"&&(l=[l]),Lr(l))for(g=0,_=l.length;g<_;g++)u.call(null,l[g],g,l);else{if(ui(l))return;const T=h?Object.getOwnPropertyNames(l):Object.keys(l),A=T.length;let D;for(g=0;g<A;g++)D=T[g],u.call(null,l[D],D,l)}}function Oa(l,u){if(ui(l))return null;u=u.toLowerCase();const h=Object.keys(l);let g=h.length,_;for(;g-- >0;)if(_=h[g],u===_.toLowerCase())return _;return null}const rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xa=l=>!Dr(l)&&l!==rr;function to(){const{caseless:l,skipUndefined:u}=xa(this)&&this||{},h={},g=(_,T)=>{if(T==="__proto__"||T==="constructor"||T==="prototype")return;const A=l&&Oa(h,T)||T;cs(h[A])&&cs(_)?h[A]=to(h[A],_):cs(_)?h[A]=to({},_):Lr(_)?h[A]=_.slice():(!u||!Dr(_))&&(h[A]=_)};for(let _=0,T=arguments.length;_<T;_++)arguments[_]&&li(arguments[_],g);return h}const uf=(l,u,h,{allOwnKeys:g}={})=>(li(u,(_,T)=>{h&>(_)?Object.defineProperty(l,T,{value:wa(_,h),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(l,T,{value:_,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:g}),l),cf=l=>(l.charCodeAt(0)===65279&&(l=l.slice(1)),l),lf=(l,u,h,g)=>{l.prototype=Object.create(u.prototype,g),Object.defineProperty(l.prototype,"constructor",{value:l,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(l,"super",{value:u.prototype}),h&&Object.assign(l.prototype,h)},ff=(l,u,h,g)=>{let _,T,A;const D={};if(u=u||{},l==null)return u;do{for(_=Object.getOwnPropertyNames(l),T=_.length;T-- >0;)A=_[T],(!g||g(A,l,u))&&!D[A]&&(u[A]=l[A],D[A]=!0);l=h!==!1&&hs(l)}while(l&&(!h||h(l,u))&&l!==Object.prototype);return u},df=(l,u,h)=>{l=String(l),(h===void 0||h>l.length)&&(h=l.length),h-=u.length;const g=l.indexOf(u,h);return g!==-1&&g===h},hf=l=>{if(!l)return null;if(Lr(l))return l;let u=l.length;if(!Ca(u))return null;const h=new Array(u);for(;u-- >0;)h[u]=l[u];return h},pf=(l=>u=>l&&u instanceof l)(typeof Uint8Array<"u"&&hs(Uint8Array)),gf=(l,u)=>{const g=(l&&l[ps]).call(l);let _;for(;(_=g.next())&&!_.done;){const T=_.value;u.call(l,T[0],T[1])}},mf=(l,u)=>{let h;const g=[];for(;(h=l.exec(u))!==null;)g.push(h);return g},_f=Yt("HTMLFormElement"),yf=l=>l.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(h,g,_){return g.toUpperCase()+_}),aa=(({hasOwnProperty:l})=>(u,h)=>l.call(u,h))(Object.prototype),vf=Yt("RegExp"),Na=(l,u)=>{const h=Object.getOwnPropertyDescriptors(l),g={};li(h,(_,T)=>{let A;(A=u(_,T,l))!==!1&&(g[T]=A||_)}),Object.defineProperties(l,g)},bf=l=>{Na(l,(u,h)=>{if(gt(l)&&["arguments","caller","callee"].indexOf(h)!==-1)return!1;const g=l[h];if(gt(g)){if(u.enumerable=!1,"writable"in u){u.writable=!1;return}u.set||(u.set=()=>{throw Error("Can not rewrite read-only method '"+h+"'")})}})},Ef=(l,u)=>{const h={},g=_=>{_.forEach(T=>{h[T]=!0})};return Lr(l)?g(l):g(String(l).split(u)),h},Tf=()=>{},wf=(l,u)=>l!=null&&Number.isFinite(l=+l)?l:u;function Af(l){return!!(l&>(l.append)&&l[Aa]==="FormData"&&l[ps])}const Sf=l=>{const u=new Array(10),h=(g,_)=>{if(ci(g)){if(u.indexOf(g)>=0)return;if(ui(g))return g;if(!("toJSON"in g)){u[_]=g;const T=Lr(g)?[]:{};return li(g,(A,D)=>{const q=h(A,_+1);!Dr(q)&&(T[D]=q)}),u[_]=void 0,T}}return g};return h(l,0)},Cf=Yt("AsyncFunction"),Of=l=>l&&(ci(l)||gt(l))&>(l.then)&>(l.catch),Da=((l,u)=>l?setImmediate:u?((h,g)=>(rr.addEventListener("message",({source:_,data:T})=>{_===rr&&T===h&&g.length&&g.shift()()},!1),_=>{g.push(_),rr.postMessage(h,"*")}))(`axios@${Math.random()}`,[]):h=>setTimeout(h))(typeof setImmediate=="function",gt(rr.postMessage)),xf=typeof queueMicrotask<"u"?queueMicrotask.bind(rr):typeof process<"u"&&process.nextTick||Da,Nf=l=>l!=null&>(l[ps]),x={isArray:Lr,isArrayBuffer:Sa,isBuffer:ui,isFormData:ef,isArrayBufferView:ql,isString:Vl,isNumber:Ca,isBoolean:Ul,isObject:ci,isPlainObject:cs,isEmptyObject:Wl,isReadableStream:nf,isRequest:rf,isResponse:sf,isHeaders:of,isUndefined:Dr,isDate:Kl,isFile:zl,isReactNativeBlob:Yl,isReactNative:Xl,isBlob:Gl,isRegExp:vf,isFunction:gt,isStream:Ql,isURLSearchParams:tf,isTypedArray:pf,isFileList:Jl,forEach:li,merge:to,extend:uf,trim:af,stripBOM:cf,inherits:lf,toFlatObject:ff,kindOf:gs,kindOfTest:Yt,endsWith:df,toArray:hf,forEachEntry:gf,matchAll:mf,isHTMLForm:_f,hasOwnProperty:aa,hasOwnProp:aa,reduceDescriptors:Na,freezeMethods:bf,toObjectSet:Ef,toCamelCase:yf,noop:Tf,toFiniteNumber:wf,findKey:Oa,global:rr,isContextDefined:xa,isSpecCompliantForm:Af,toJSONObject:Sf,isAsyncFn:Cf,isThenable:Of,setImmediate:Da,asap:xf,isIterable:Nf};let ne=class La extends Error{static from(u,h,g,_,T,A){const D=new La(u.message,h||u.code,g,_,T);return D.cause=u,D.name=u.name,u.status!=null&&D.status==null&&(D.status=u.status),A&&Object.assign(D,A),D}constructor(u,h,g,_,T){super(u),Object.defineProperty(this,"message",{value:u,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,h&&(this.code=h),g&&(this.config=g),_&&(this.request=_),T&&(this.response=T,this.status=T.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:x.toJSONObject(this.config),code:this.code,status:this.status}}};ne.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ne.ERR_BAD_OPTION="ERR_BAD_OPTION";ne.ECONNABORTED="ECONNABORTED";ne.ETIMEDOUT="ETIMEDOUT";ne.ERR_NETWORK="ERR_NETWORK";ne.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ne.ERR_DEPRECATED="ERR_DEPRECATED";ne.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ne.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ne.ERR_CANCELED="ERR_CANCELED";ne.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ne.ERR_INVALID_URL="ERR_INVALID_URL";ne.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Df=null;function no(l){return x.isPlainObject(l)||x.isArray(l)}function Ra(l){return x.endsWith(l,"[]")?l.slice(0,-2):l}function Js(l,u,h){return l?l.concat(u).map(function(_,T){return _=Ra(_),!h&&T?"["+_+"]":_}).join(h?".":""):u}function Lf(l){return x.isArray(l)&&!l.some(no)}const Rf=x.toFlatObject(x,{},null,function(u){return/^is[A-Z]/.test(u)});function _s(l,u,h){if(!x.isObject(l))throw new TypeError("target must be an object");u=u||new FormData,h=x.toFlatObject(h,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,X){return!x.isUndefined(X[U])});const g=h.metaTokens,_=h.visitor||G,T=h.dots,A=h.indexes,D=h.Blob||typeof Blob<"u"&&Blob,q=h.maxDepth===void 0?100:h.maxDepth,F=D&&x.isSpecCompliantForm(u);if(!x.isFunction(_))throw new TypeError("visitor must be a function");function M(k){if(k===null)return"";if(x.isDate(k))return k.toISOString();if(x.isBoolean(k))return k.toString();if(!F&&x.isBlob(k))throw new ne("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(k)||x.isTypedArray(k)?F&&typeof Blob=="function"?new Blob([k]):Buffer.from(k):k}function G(k,U,X){let st=k;if(x.isReactNative(u)&&x.isReactNativeBlob(k))return u.append(Js(X,U,T),M(k)),!1;if(k&&!X&&typeof k=="object"){if(x.endsWith(U,"{}"))U=g?U:U.slice(0,-2),k=JSON.stringify(k);else if(x.isArray(k)&&Lf(k)||(x.isFileList(k)||x.endsWith(U,"[]"))&&(st=x.toArray(k)))return U=Ra(U),st.forEach(function(ve,je){!(x.isUndefined(ve)||ve===null)&&u.append(A===!0?Js([U],je,T):A===null?U:U+"[]",M(ve))}),!1}return no(k)?!0:(u.append(Js(X,U,T),M(k)),!1)}const se=[],Ee=Object.assign(Rf,{defaultVisitor:G,convertValue:M,isVisitable:no});function j(k,U,X=0){if(!x.isUndefined(k)){if(X>q)throw new ne("Object is too deeply nested ("+X+" levels). Max depth: "+q,ne.ERR_FORM_DATA_DEPTH_EXCEEDED);if(se.indexOf(k)!==-1)throw Error("Circular reference detected in "+U.join("."));se.push(k),x.forEach(k,function(Ce,ve){(!(x.isUndefined(Ce)||Ce===null)&&_.call(u,Ce,x.isString(ve)?ve.trim():ve,U,Ee))===!0&&j(Ce,U?U.concat(ve):[ve],X+1)}),se.pop()}}if(!x.isObject(l))throw new TypeError("data must be an object");return j(l),u}function ua(l){const u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(l).replace(/[!'()~]|%20/g,function(g){return u[g]})}function so(l,u){this._pairs=[],l&&_s(l,this,u)}const Pa=so.prototype;Pa.append=function(u,h){this._pairs.push([u,h])};Pa.toString=function(u){const h=u?function(g){return u.call(this,g,ua)}:ua;return this._pairs.map(function(_){return h(_[0])+"="+h(_[1])},"").join("&")};function Pf(l){return encodeURIComponent(l).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ia(l,u,h){if(!u)return l;const g=h&&h.encode||Pf,_=x.isFunction(h)?{serialize:h}:h,T=_&&_.serialize;let A;if(T?A=T(u,_):A=x.isURLSearchParams(u)?u.toString():new so(u,_).toString(g),A){const D=l.indexOf("#");D!==-1&&(l=l.slice(0,D)),l+=(l.indexOf("?")===-1?"?":"&")+A}return l}class ca{constructor(){this.handlers=[]}use(u,h,g){return this.handlers.push({fulfilled:u,rejected:h,synchronous:g?g.synchronous:!1,runWhen:g?g.runWhen:null}),this.handlers.length-1}eject(u){this.handlers[u]&&(this.handlers[u]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(u){x.forEach(this.handlers,function(g){g!==null&&u(g)})}}const oo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},If=typeof URLSearchParams<"u"?URLSearchParams:so,$f=typeof FormData<"u"?FormData:null,kf=typeof Blob<"u"?Blob:null,Mf={isBrowser:!0,classes:{URLSearchParams:If,FormData:$f,Blob:kf},protocols:["http","https","file","blob","url","data"]},ao=typeof window<"u"&&typeof document<"u",ro=typeof navigator=="object"&&navigator||void 0,jf=ao&&(!ro||["ReactNative","NativeScript","NS"].indexOf(ro.product)<0),Hf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ff=ao&&window.location.href||"http://localhost",Bf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ao,hasStandardBrowserEnv:jf,hasStandardBrowserWebWorkerEnv:Hf,navigator:ro,origin:Ff},Symbol.toStringTag,{value:"Module"})),it={...Bf,...Mf};function qf(l,u){return _s(l,new it.classes.URLSearchParams,{visitor:function(h,g,_,T){return it.isNode&&x.isBuffer(h)?(this.append(g,h.toString("base64")),!1):T.defaultVisitor.apply(this,arguments)},...u})}function Vf(l){return x.matchAll(/\w+|\[(\w*)]/g,l).map(u=>u[0]==="[]"?"":u[1]||u[0])}function Uf(l){const u={},h=Object.keys(l);let g;const _=h.length;let T;for(g=0;g<_;g++)T=h[g],u[T]=l[T];return u}function $a(l){function u(h,g,_,T){let A=h[T++];if(A==="__proto__")return!0;const D=Number.isFinite(+A),q=T>=h.length;return A=!A&&x.isArray(_)?_.length:A,q?(x.hasOwnProp(_,A)?_[A]=x.isArray(_[A])?_[A].concat(g):[_[A],g]:_[A]=g,!D):((!_[A]||!x.isObject(_[A]))&&(_[A]=[]),u(h,g,_[A],T)&&x.isArray(_[A])&&(_[A]=Uf(_[A])),!D)}if(x.isFormData(l)&&x.isFunction(l.entries)){const h={};return x.forEachEntry(l,(g,_)=>{u(Vf(g),_,h,0)}),h}return null}const Nr=(l,u)=>l!=null&&x.hasOwnProp(l,u)?l[u]:void 0;function Wf(l,u,h){if(x.isString(l))try{return(u||JSON.parse)(l),x.trim(l)}catch(g){if(g.name!=="SyntaxError")throw g}return(h||JSON.stringify)(l)}const fi={transitional:oo,adapter:["xhr","http","fetch"],transformRequest:[function(u,h){const g=h.getContentType()||"",_=g.indexOf("application/json")>-1,T=x.isObject(u);if(T&&x.isHTMLForm(u)&&(u=new FormData(u)),x.isFormData(u))return _?JSON.stringify($a(u)):u;if(x.isArrayBuffer(u)||x.isBuffer(u)||x.isStream(u)||x.isFile(u)||x.isBlob(u)||x.isReadableStream(u))return u;if(x.isArrayBufferView(u))return u.buffer;if(x.isURLSearchParams(u))return h.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),u.toString();let D;if(T){const q=Nr(this,"formSerializer");if(g.indexOf("application/x-www-form-urlencoded")>-1)return qf(u,q).toString();if((D=x.isFileList(u))||g.indexOf("multipart/form-data")>-1){const F=Nr(this,"env"),M=F&&F.FormData;return _s(D?{"files[]":u}:u,M&&new M,q)}}return T||_?(h.setContentType("application/json",!1),Wf(u)):u}],transformResponse:[function(u){const h=Nr(this,"transitional")||fi.transitional,g=h&&h.forcedJSONParsing,_=Nr(this,"responseType"),T=_==="json";if(x.isResponse(u)||x.isReadableStream(u))return u;if(u&&x.isString(u)&&(g&&!_||T)){const D=!(h&&h.silentJSONParsing)&&T;try{return JSON.parse(u,Nr(this,"parseReviver"))}catch(q){if(D)throw q.name==="SyntaxError"?ne.from(q,ne.ERR_BAD_RESPONSE,this,null,Nr(this,"response")):q}}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:it.classes.FormData,Blob:it.classes.Blob},validateStatus:function(u){return u>=200&&u<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],l=>{fi.headers[l]={}});const Kf=x.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),zf=l=>{const u={};let h,g,_;return l&&l.split(`
|
|
`).forEach(function(A){_=A.indexOf(":"),h=A.substring(0,_).trim().toLowerCase(),g=A.substring(_+1).trim(),!(!h||u[h]&&Kf[h])&&(h==="set-cookie"?u[h]?u[h].push(g):u[h]=[g]:u[h]=u[h]?u[h]+", "+g:g)}),u},la=Symbol("internals"),Yf=/[^\x09\x20-\x7E\x80-\xFF]/g;function Xf(l){let u=0,h=l.length;for(;u<h;){const g=l.charCodeAt(u);if(g!==9&&g!==32)break;u+=1}for(;h>u;){const g=l.charCodeAt(h-1);if(g!==9&&g!==32)break;h-=1}return u===0&&h===l.length?l:l.slice(u,h)}function ai(l){return l&&String(l).trim().toLowerCase()}function Gf(l){return Xf(l.replace(Yf,""))}function ls(l){return l===!1||l==null?l:x.isArray(l)?l.map(ls):Gf(String(l))}function Jf(l){const u=Object.create(null),h=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let g;for(;g=h.exec(l);)u[g[1]]=g[2];return u}const Qf=l=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(l.trim());function Qs(l,u,h,g,_){if(x.isFunction(g))return g.call(this,u,h);if(_&&(u=h),!!x.isString(u)){if(x.isString(g))return u.indexOf(g)!==-1;if(x.isRegExp(g))return g.test(u)}}function Zf(l){return l.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(u,h,g)=>h.toUpperCase()+g)}function ed(l,u){const h=x.toCamelCase(" "+u);["get","set","has"].forEach(g=>{Object.defineProperty(l,g+h,{value:function(_,T,A){return this[g].call(this,u,_,T,A)},configurable:!0})})}let mt=class{constructor(u){u&&this.set(u)}set(u,h,g){const _=this;function T(D,q,F){const M=ai(q);if(!M)throw new Error("header name must be a non-empty string");const G=x.findKey(_,M);(!G||_[G]===void 0||F===!0||F===void 0&&_[G]!==!1)&&(_[G||q]=ls(D))}const A=(D,q)=>x.forEach(D,(F,M)=>T(F,M,q));if(x.isPlainObject(u)||u instanceof this.constructor)A(u,h);else if(x.isString(u)&&(u=u.trim())&&!Qf(u))A(zf(u),h);else if(x.isObject(u)&&x.isIterable(u)){let D={},q,F;for(const M of u){if(!x.isArray(M))throw TypeError("Object iterator must return a key-value pair");D[F=M[0]]=(q=D[F])?x.isArray(q)?[...q,M[1]]:[q,M[1]]:M[1]}A(D,h)}else u!=null&&T(h,u,g);return this}get(u,h){if(u=ai(u),u){const g=x.findKey(this,u);if(g){const _=this[g];if(!h)return _;if(h===!0)return Jf(_);if(x.isFunction(h))return h.call(this,_,g);if(x.isRegExp(h))return h.exec(_);throw new TypeError("parser must be boolean|regexp|function")}}}has(u,h){if(u=ai(u),u){const g=x.findKey(this,u);return!!(g&&this[g]!==void 0&&(!h||Qs(this,this[g],g,h)))}return!1}delete(u,h){const g=this;let _=!1;function T(A){if(A=ai(A),A){const D=x.findKey(g,A);D&&(!h||Qs(g,g[D],D,h))&&(delete g[D],_=!0)}}return x.isArray(u)?u.forEach(T):T(u),_}clear(u){const h=Object.keys(this);let g=h.length,_=!1;for(;g--;){const T=h[g];(!u||Qs(this,this[T],T,u,!0))&&(delete this[T],_=!0)}return _}normalize(u){const h=this,g={};return x.forEach(this,(_,T)=>{const A=x.findKey(g,T);if(A){h[A]=ls(_),delete h[T];return}const D=u?Zf(T):String(T).trim();D!==T&&delete h[T],h[D]=ls(_),g[D]=!0}),this}concat(...u){return this.constructor.concat(this,...u)}toJSON(u){const h=Object.create(null);return x.forEach(this,(g,_)=>{g!=null&&g!==!1&&(h[_]=u&&x.isArray(g)?g.join(", "):g)}),h}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([u,h])=>u+": "+h).join(`
|
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(u){return u instanceof this?u:new this(u)}static concat(u,...h){const g=new this(u);return h.forEach(_=>g.set(_)),g}static accessor(u){const g=(this[la]=this[la]={accessors:{}}).accessors,_=this.prototype;function T(A){const D=ai(A);g[D]||(ed(_,A),g[D]=!0)}return x.isArray(u)?u.forEach(T):T(u),this}};mt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(mt.prototype,({value:l},u)=>{let h=u[0].toUpperCase()+u.slice(1);return{get:()=>l,set(g){this[h]=g}}});x.freezeMethods(mt);function Zs(l,u){const h=this||fi,g=u||h,_=mt.from(g.headers);let T=g.data;return x.forEach(l,function(D){T=D.call(h,T,_.normalize(),u?u.status:void 0)}),_.normalize(),T}function ka(l){return!!(l&&l.__CANCEL__)}let di=class extends ne{constructor(u,h,g){super(u??"canceled",ne.ERR_CANCELED,h,g),this.name="CanceledError",this.__CANCEL__=!0}};function Ma(l,u,h){const g=h.config.validateStatus;!h.status||!g||g(h.status)?l(h):u(new ne("Request failed with status code "+h.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(h.status/100)-4],h.config,h.request,h))}function td(l){const u=/^([-+\w]{1,25})(:?\/\/|:)/.exec(l);return u&&u[1]||""}function nd(l,u){l=l||10;const h=new Array(l),g=new Array(l);let _=0,T=0,A;return u=u!==void 0?u:1e3,function(q){const F=Date.now(),M=g[T];A||(A=F),h[_]=q,g[_]=F;let G=T,se=0;for(;G!==_;)se+=h[G++],G=G%l;if(_=(_+1)%l,_===T&&(T=(T+1)%l),F-A<u)return;const Ee=M&&F-M;return Ee?Math.round(se*1e3/Ee):void 0}}function rd(l,u){let h=0,g=1e3/u,_,T;const A=(F,M=Date.now())=>{h=M,_=null,T&&(clearTimeout(T),T=null),l(...F)};return[(...F)=>{const M=Date.now(),G=M-h;G>=g?A(F,M):(_=F,T||(T=setTimeout(()=>{T=null,A(_)},g-G)))},()=>_&&A(_)]}const ds=(l,u,h=3)=>{let g=0;const _=nd(50,250);return rd(T=>{const A=T.loaded,D=T.lengthComputable?T.total:void 0,q=D!=null?Math.min(A,D):A,F=Math.max(0,q-g),M=_(F);g=Math.max(g,q);const G={loaded:q,total:D,progress:D?q/D:void 0,bytes:F,rate:M||void 0,estimated:M&&D?(D-q)/M:void 0,event:T,lengthComputable:D!=null,[u?"download":"upload"]:!0};l(G)},h)},fa=(l,u)=>{const h=l!=null;return[g=>u[0]({lengthComputable:h,total:l,loaded:g}),u[1]]},da=l=>(...u)=>x.asap(()=>l(...u)),id=it.hasStandardBrowserEnv?((l,u)=>h=>(h=new URL(h,it.origin),l.protocol===h.protocol&&l.host===h.host&&(u||l.port===h.port)))(new URL(it.origin),it.navigator&&/(msie|trident)/i.test(it.navigator.userAgent)):()=>!0,sd=it.hasStandardBrowserEnv?{write(l,u,h,g,_,T,A){if(typeof document>"u")return;const D=[`${l}=${encodeURIComponent(u)}`];x.isNumber(h)&&D.push(`expires=${new Date(h).toUTCString()}`),x.isString(g)&&D.push(`path=${g}`),x.isString(_)&&D.push(`domain=${_}`),T===!0&&D.push("secure"),x.isString(A)&&D.push(`SameSite=${A}`),document.cookie=D.join("; ")},read(l){if(typeof document>"u")return null;const u=document.cookie.match(new RegExp("(?:^|; )"+l+"=([^;]*)"));return u?decodeURIComponent(u[1]):null},remove(l){this.write(l,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function od(l){return typeof l!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(l)}function ad(l,u){return u?l.replace(/\/?\/$/,"")+"/"+u.replace(/^\/+/,""):l}function ja(l,u,h){let g=!od(u);return l&&(g||h===!1)?ad(l,u):u}const ha=l=>l instanceof mt?{...l}:l;function sr(l,u){u=u||{};const h=Object.create(null);Object.defineProperty(h,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function g(F,M,G,se){return x.isPlainObject(F)&&x.isPlainObject(M)?x.merge.call({caseless:se},F,M):x.isPlainObject(M)?x.merge({},M):x.isArray(M)?M.slice():M}function _(F,M,G,se){if(x.isUndefined(M)){if(!x.isUndefined(F))return g(void 0,F,G,se)}else return g(F,M,G,se)}function T(F,M){if(!x.isUndefined(M))return g(void 0,M)}function A(F,M){if(x.isUndefined(M)){if(!x.isUndefined(F))return g(void 0,F)}else return g(void 0,M)}function D(F,M,G){if(x.hasOwnProp(u,G))return g(F,M);if(x.hasOwnProp(l,G))return g(void 0,F)}const q={url:T,method:T,data:T,baseURL:A,transformRequest:A,transformResponse:A,paramsSerializer:A,timeout:A,timeoutMessage:A,withCredentials:A,withXSRFToken:A,adapter:A,responseType:A,xsrfCookieName:A,xsrfHeaderName:A,onUploadProgress:A,onDownloadProgress:A,decompress:A,maxContentLength:A,maxBodyLength:A,beforeRedirect:A,transport:A,httpAgent:A,httpsAgent:A,cancelToken:A,socketPath:A,allowedSocketPaths:A,responseEncoding:A,validateStatus:D,headers:(F,M,G)=>_(ha(F),ha(M),G,!0)};return x.forEach(Object.keys({...l,...u}),function(M){if(M==="__proto__"||M==="constructor"||M==="prototype")return;const G=x.hasOwnProp(q,M)?q[M]:_,se=x.hasOwnProp(l,M)?l[M]:void 0,Ee=x.hasOwnProp(u,M)?u[M]:void 0,j=G(se,Ee,M);x.isUndefined(j)&&G!==D||(h[M]=j)}),h}const Ha=l=>{const u=sr({},l),h=se=>x.hasOwnProp(u,se)?u[se]:void 0,g=h("data");let _=h("withXSRFToken");const T=h("xsrfHeaderName"),A=h("xsrfCookieName");let D=h("headers");const q=h("auth"),F=h("baseURL"),M=h("allowAbsoluteUrls"),G=h("url");if(u.headers=D=mt.from(D),u.url=Ia(ja(F,G,M),l.params,l.paramsSerializer),q&&D.set("Authorization","Basic "+btoa((q.username||"")+":"+(q.password?unescape(encodeURIComponent(q.password)):""))),x.isFormData(g)){if(it.hasStandardBrowserEnv||it.hasStandardBrowserWebWorkerEnv)D.setContentType(void 0);else if(x.isFunction(g.getHeaders)){const se=g.getHeaders(),Ee=["content-type","content-length"];Object.entries(se).forEach(([j,k])=>{Ee.includes(j.toLowerCase())&&D.set(j,k)})}}if(it.hasStandardBrowserEnv&&(x.isFunction(_)&&(_=_(u)),_===!0||_==null&&id(u.url))){const Ee=T&&A&&sd.read(A);Ee&&D.set(T,Ee)}return u},ud=typeof XMLHttpRequest<"u",cd=ud&&function(l){return new Promise(function(h,g){const _=Ha(l);let T=_.data;const A=mt.from(_.headers).normalize();let{responseType:D,onUploadProgress:q,onDownloadProgress:F}=_,M,G,se,Ee,j;function k(){Ee&&Ee(),j&&j(),_.cancelToken&&_.cancelToken.unsubscribe(M),_.signal&&_.signal.removeEventListener("abort",M)}let U=new XMLHttpRequest;U.open(_.method.toUpperCase(),_.url,!0),U.timeout=_.timeout;function X(){if(!U)return;const Ce=mt.from("getAllResponseHeaders"in U&&U.getAllResponseHeaders()),je={data:!D||D==="text"||D==="json"?U.responseText:U.response,status:U.status,statusText:U.statusText,headers:Ce,config:l,request:U};Ma(function(o){h(o),k()},function(o){g(o),k()},je),U=null}"onloadend"in U?U.onloadend=X:U.onreadystatechange=function(){!U||U.readyState!==4||U.status===0&&!(U.responseURL&&U.responseURL.indexOf("file:")===0)||setTimeout(X)},U.onabort=function(){U&&(g(new ne("Request aborted",ne.ECONNABORTED,l,U)),U=null)},U.onerror=function(ve){const je=ve&&ve.message?ve.message:"Network Error",Ct=new ne(je,ne.ERR_NETWORK,l,U);Ct.event=ve||null,g(Ct),U=null},U.ontimeout=function(){let ve=_.timeout?"timeout of "+_.timeout+"ms exceeded":"timeout exceeded";const je=_.transitional||oo;_.timeoutErrorMessage&&(ve=_.timeoutErrorMessage),g(new ne(ve,je.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,l,U)),U=null},T===void 0&&A.setContentType(null),"setRequestHeader"in U&&x.forEach(A.toJSON(),function(ve,je){U.setRequestHeader(je,ve)}),x.isUndefined(_.withCredentials)||(U.withCredentials=!!_.withCredentials),D&&D!=="json"&&(U.responseType=_.responseType),F&&([se,j]=ds(F,!0),U.addEventListener("progress",se)),q&&U.upload&&([G,Ee]=ds(q),U.upload.addEventListener("progress",G),U.upload.addEventListener("loadend",Ee)),(_.cancelToken||_.signal)&&(M=Ce=>{U&&(g(!Ce||Ce.type?new di(null,l,U):Ce),U.abort(),U=null)},_.cancelToken&&_.cancelToken.subscribe(M),_.signal&&(_.signal.aborted?M():_.signal.addEventListener("abort",M)));const st=td(_.url);if(st&&it.protocols.indexOf(st)===-1){g(new ne("Unsupported protocol "+st+":",ne.ERR_BAD_REQUEST,l));return}U.send(T||null)})},ld=(l,u)=>{const{length:h}=l=l?l.filter(Boolean):[];if(u||h){let g=new AbortController,_;const T=function(F){if(!_){_=!0,D();const M=F instanceof Error?F:this.reason;g.abort(M instanceof ne?M:new di(M instanceof Error?M.message:M))}};let A=u&&setTimeout(()=>{A=null,T(new ne(`timeout of ${u}ms exceeded`,ne.ETIMEDOUT))},u);const D=()=>{l&&(A&&clearTimeout(A),A=null,l.forEach(F=>{F.unsubscribe?F.unsubscribe(T):F.removeEventListener("abort",T)}),l=null)};l.forEach(F=>F.addEventListener("abort",T));const{signal:q}=g;return q.unsubscribe=()=>x.asap(D),q}},fd=function*(l,u){let h=l.byteLength;if(h<u){yield l;return}let g=0,_;for(;g<h;)_=g+u,yield l.slice(g,_),g=_},dd=async function*(l,u){for await(const h of hd(l))yield*fd(h,u)},hd=async function*(l){if(l[Symbol.asyncIterator]){yield*l;return}const u=l.getReader();try{for(;;){const{done:h,value:g}=await u.read();if(h)break;yield g}}finally{await u.cancel()}},pa=(l,u,h,g)=>{const _=dd(l,u);let T=0,A,D=q=>{A||(A=!0,g&&g(q))};return new ReadableStream({async pull(q){try{const{done:F,value:M}=await _.next();if(F){D(),q.close();return}let G=M.byteLength;if(h){let se=T+=G;h(se)}q.enqueue(new Uint8Array(M))}catch(F){throw D(F),F}},cancel(q){return D(q),_.return()}},{highWaterMark:2})},ga=64*1024,{isFunction:us}=x,pd=(({Request:l,Response:u})=>({Request:l,Response:u}))(x.global),{ReadableStream:ma,TextEncoder:_a}=x.global,ya=(l,...u)=>{try{return!!l(...u)}catch{return!1}},gd=l=>{l=x.merge.call({skipUndefined:!0},pd,l);const{fetch:u,Request:h,Response:g}=l,_=u?us(u):typeof fetch=="function",T=us(h),A=us(g);if(!_)return!1;const D=_&&us(ma),q=_&&(typeof _a=="function"?(j=>k=>j.encode(k))(new _a):async j=>new Uint8Array(await new h(j).arrayBuffer())),F=T&&D&&ya(()=>{let j=!1;const k=new h(it.origin,{body:new ma,method:"POST",get duplex(){return j=!0,"half"}}),U=k.headers.has("Content-Type");return k.body!=null&&k.body.cancel(),j&&!U}),M=A&&D&&ya(()=>x.isReadableStream(new g("").body)),G={stream:M&&(j=>j.body)};_&&["text","arrayBuffer","blob","formData","stream"].forEach(j=>{!G[j]&&(G[j]=(k,U)=>{let X=k&&k[j];if(X)return X.call(k);throw new ne(`Response type '${j}' is not supported`,ne.ERR_NOT_SUPPORT,U)})});const se=async j=>{if(j==null)return 0;if(x.isBlob(j))return j.size;if(x.isSpecCompliantForm(j))return(await new h(it.origin,{method:"POST",body:j}).arrayBuffer()).byteLength;if(x.isArrayBufferView(j)||x.isArrayBuffer(j))return j.byteLength;if(x.isURLSearchParams(j)&&(j=j+""),x.isString(j))return(await q(j)).byteLength},Ee=async(j,k)=>{const U=x.toFiniteNumber(j.getContentLength());return U??se(k)};return async j=>{let{url:k,method:U,data:X,signal:st,cancelToken:Ce,timeout:ve,onDownloadProgress:je,onUploadProgress:Ct,responseType:o,headers:Ot,withCredentials:ye="same-origin",fetchOptions:Ln}=Ha(j),Rn=u||fetch;o=o?(o+"").toLowerCase():"text";let rn=ld([st,Ce&&Ce.toAbortSignal()],ve),pe=null;const De=rn&&rn.unsubscribe&&(()=>{rn.unsubscribe()});let Ue;try{if(Ct&&F&&U!=="get"&&U!=="head"&&(Ue=await Ee(Ot,X))!==0){let Fe=new h(k,{method:"POST",body:X,duplex:"half"}),He;if(x.isFormData(X)&&(He=Fe.headers.get("content-type"))&&Ot.setContentType(He),Fe.body){const[ot,xt]=fa(Ue,ds(da(Ct)));X=pa(Fe.body,ga,ot,xt)}}x.isString(ye)||(ye=ye?"include":"omit");const Le=T&&"credentials"in h.prototype;if(x.isFormData(X)){const Fe=Ot.getContentType();Fe&&/^multipart\/form-data/i.test(Fe)&&!/boundary=/i.test(Fe)&&Ot.delete("content-type")}const xe={...Ln,signal:rn,method:U.toUpperCase(),headers:Ot.normalize().toJSON(),body:X,duplex:"half",credentials:Le?ye:void 0};pe=T&&new h(k,xe);let Ge=await(T?Rn(pe,Ln):Rn(k,xe));const Ht=M&&(o==="stream"||o==="response");if(M&&(je||Ht&&De)){const Fe={};["status","statusText","headers"].forEach(Ft=>{Fe[Ft]=Ge[Ft]});const He=x.toFiniteNumber(Ge.headers.get("content-length")),[ot,xt]=je&&fa(He,ds(da(je),!0))||[];Ge=new g(pa(Ge.body,ga,ot,()=>{xt&&xt(),De&&De()}),Fe)}o=o||"text";let or=await G[x.findKey(G,o)||"text"](Ge,j);return!Ht&&De&&De(),await new Promise((Fe,He)=>{Ma(Fe,He,{data:or,headers:mt.from(Ge.headers),status:Ge.status,statusText:Ge.statusText,config:j,request:pe})})}catch(Le){throw De&&De(),Le&&Le.name==="TypeError"&&/Load failed|fetch/i.test(Le.message)?Object.assign(new ne("Network Error",ne.ERR_NETWORK,j,pe,Le&&Le.response),{cause:Le.cause||Le}):ne.from(Le,Le&&Le.code,j,pe,Le&&Le.response)}}},md=new Map,Fa=l=>{let u=l&&l.env||{};const{fetch:h,Request:g,Response:_}=u,T=[g,_,h];let A=T.length,D=A,q,F,M=md;for(;D--;)q=T[D],F=M.get(q),F===void 0&&M.set(q,F=D?new Map:gd(u)),M=F;return F};Fa();const uo={http:Df,xhr:cd,fetch:{get:Fa}};x.forEach(uo,(l,u)=>{if(l){try{Object.defineProperty(l,"name",{value:u})}catch{}Object.defineProperty(l,"adapterName",{value:u})}});const va=l=>`- ${l}`,_d=l=>x.isFunction(l)||l===null||l===!1;function yd(l,u){l=x.isArray(l)?l:[l];const{length:h}=l;let g,_;const T={};for(let A=0;A<h;A++){g=l[A];let D;if(_=g,!_d(g)&&(_=uo[(D=String(g)).toLowerCase()],_===void 0))throw new ne(`Unknown adapter '${D}'`);if(_&&(x.isFunction(_)||(_=_.get(u))))break;T[D||"#"+A]=_}if(!_){const A=Object.entries(T).map(([q,F])=>`adapter ${q} `+(F===!1?"is not supported by the environment":"is not available in the build"));let D=h?A.length>1?`since :
|
|
`+A.map(va).join(`
|
|
`):" "+va(A[0]):"as no adapter specified";throw new ne("There is no suitable adapter to dispatch the request "+D,"ERR_NOT_SUPPORT")}return _}const Ba={getAdapter:yd,adapters:uo};function eo(l){if(l.cancelToken&&l.cancelToken.throwIfRequested(),l.signal&&l.signal.aborted)throw new di(null,l)}function ba(l){return eo(l),l.headers=mt.from(l.headers),l.data=Zs.call(l,l.transformRequest),["post","put","patch"].indexOf(l.method)!==-1&&l.headers.setContentType("application/x-www-form-urlencoded",!1),Ba.getAdapter(l.adapter||fi.adapter,l)(l).then(function(g){return eo(l),g.data=Zs.call(l,l.transformResponse,g),g.headers=mt.from(g.headers),g},function(g){return ka(g)||(eo(l),g&&g.response&&(g.response.data=Zs.call(l,l.transformResponse,g.response),g.response.headers=mt.from(g.response.headers))),Promise.reject(g)})}const qa="1.15.2",ys={};["object","boolean","number","function","string","symbol"].forEach((l,u)=>{ys[l]=function(g){return typeof g===l||"a"+(u<1?"n ":" ")+l}});const Ea={};ys.transitional=function(u,h,g){function _(T,A){return"[Axios v"+qa+"] Transitional option '"+T+"'"+A+(g?". "+g:"")}return(T,A,D)=>{if(u===!1)throw new ne(_(A," has been removed"+(h?" in "+h:"")),ne.ERR_DEPRECATED);return h&&!Ea[A]&&(Ea[A]=!0,console.warn(_(A," has been deprecated since v"+h+" and will be removed in the near future"))),u?u(T,A,D):!0}};ys.spelling=function(u){return(h,g)=>(console.warn(`${g} is likely a misspelling of ${u}`),!0)};function vd(l,u,h){if(typeof l!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);const g=Object.keys(l);let _=g.length;for(;_-- >0;){const T=g[_],A=Object.prototype.hasOwnProperty.call(u,T)?u[T]:void 0;if(A){const D=l[T],q=D===void 0||A(D,T,l);if(q!==!0)throw new ne("option "+T+" must be "+q,ne.ERR_BAD_OPTION_VALUE);continue}if(h!==!0)throw new ne("Unknown option "+T,ne.ERR_BAD_OPTION)}}const fs={assertOptions:vd,validators:ys},jt=fs.validators;let ir=class{constructor(u){this.defaults=u||{},this.interceptors={request:new ca,response:new ca}}async request(u,h){try{return await this._request(u,h)}catch(g){if(g instanceof Error){let _={};Error.captureStackTrace?Error.captureStackTrace(_):_=new Error;const T=(()=>{if(!_.stack)return"";const A=_.stack.indexOf(`
|
|
`);return A===-1?"":_.stack.slice(A+1)})();try{if(!g.stack)g.stack=T;else if(T){const A=T.indexOf(`
|
|
`),D=A===-1?-1:T.indexOf(`
|
|
`,A+1),q=D===-1?"":T.slice(D+1);String(g.stack).endsWith(q)||(g.stack+=`
|
|
`+T)}}catch{}}throw g}}_request(u,h){typeof u=="string"?(h=h||{},h.url=u):h=u||{},h=sr(this.defaults,h);const{transitional:g,paramsSerializer:_,headers:T}=h;g!==void 0&&fs.assertOptions(g,{silentJSONParsing:jt.transitional(jt.boolean),forcedJSONParsing:jt.transitional(jt.boolean),clarifyTimeoutError:jt.transitional(jt.boolean),legacyInterceptorReqResOrdering:jt.transitional(jt.boolean)},!1),_!=null&&(x.isFunction(_)?h.paramsSerializer={serialize:_}:fs.assertOptions(_,{encode:jt.function,serialize:jt.function},!0)),h.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?h.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:h.allowAbsoluteUrls=!0),fs.assertOptions(h,{baseUrl:jt.spelling("baseURL"),withXsrfToken:jt.spelling("withXSRFToken")},!0),h.method=(h.method||this.defaults.method||"get").toLowerCase();let A=T&&x.merge(T.common,T[h.method]);T&&x.forEach(["delete","get","head","post","put","patch","common"],j=>{delete T[j]}),h.headers=mt.concat(A,T);const D=[];let q=!0;this.interceptors.request.forEach(function(k){if(typeof k.runWhen=="function"&&k.runWhen(h)===!1)return;q=q&&k.synchronous;const U=h.transitional||oo;U&&U.legacyInterceptorReqResOrdering?D.unshift(k.fulfilled,k.rejected):D.push(k.fulfilled,k.rejected)});const F=[];this.interceptors.response.forEach(function(k){F.push(k.fulfilled,k.rejected)});let M,G=0,se;if(!q){const j=[ba.bind(this),void 0];for(j.unshift(...D),j.push(...F),se=j.length,M=Promise.resolve(h);G<se;)M=M.then(j[G++],j[G++]);return M}se=D.length;let Ee=h;for(;G<se;){const j=D[G++],k=D[G++];try{Ee=j(Ee)}catch(U){k.call(this,U);break}}try{M=ba.call(this,Ee)}catch(j){return Promise.reject(j)}for(G=0,se=F.length;G<se;)M=M.then(F[G++],F[G++]);return M}getUri(u){u=sr(this.defaults,u);const h=ja(u.baseURL,u.url,u.allowAbsoluteUrls);return Ia(h,u.params,u.paramsSerializer)}};x.forEach(["delete","get","head","options"],function(u){ir.prototype[u]=function(h,g){return this.request(sr(g||{},{method:u,url:h,data:(g||{}).data}))}});x.forEach(["post","put","patch"],function(u){function h(g){return function(T,A,D){return this.request(sr(D||{},{method:u,headers:g?{"Content-Type":"multipart/form-data"}:{},url:T,data:A}))}}ir.prototype[u]=h(),ir.prototype[u+"Form"]=h(!0)});let bd=class Va{constructor(u){if(typeof u!="function")throw new TypeError("executor must be a function.");let h;this.promise=new Promise(function(T){h=T});const g=this;this.promise.then(_=>{if(!g._listeners)return;let T=g._listeners.length;for(;T-- >0;)g._listeners[T](_);g._listeners=null}),this.promise.then=_=>{let T;const A=new Promise(D=>{g.subscribe(D),T=D}).then(_);return A.cancel=function(){g.unsubscribe(T)},A},u(function(T,A,D){g.reason||(g.reason=new di(T,A,D),h(g.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(u){if(this.reason){u(this.reason);return}this._listeners?this._listeners.push(u):this._listeners=[u]}unsubscribe(u){if(!this._listeners)return;const h=this._listeners.indexOf(u);h!==-1&&this._listeners.splice(h,1)}toAbortSignal(){const u=new AbortController,h=g=>{u.abort(g)};return this.subscribe(h),u.signal.unsubscribe=()=>this.unsubscribe(h),u.signal}static source(){let u;return{token:new Va(function(_){u=_}),cancel:u}}};function Ed(l){return function(h){return l.apply(null,h)}}function Td(l){return x.isObject(l)&&l.isAxiosError===!0}const io={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(io).forEach(([l,u])=>{io[u]=l});function Ua(l){const u=new ir(l),h=wa(ir.prototype.request,u);return x.extend(h,ir.prototype,u,{allOwnKeys:!0}),x.extend(h,u,null,{allOwnKeys:!0}),h.create=function(_){return Ua(sr(l,_))},h}const Me=Ua(fi);Me.Axios=ir;Me.CanceledError=di;Me.CancelToken=bd;Me.isCancel=ka;Me.VERSION=qa;Me.toFormData=_s;Me.AxiosError=ne;Me.Cancel=Me.CanceledError;Me.all=function(u){return Promise.all(u)};Me.spread=Ed;Me.isAxiosError=Td;Me.mergeConfig=sr;Me.AxiosHeaders=mt;Me.formToJSON=l=>$a(x.isHTMLForm(l)?new FormData(l):l);Me.getAdapter=Ba.getAdapter;Me.HttpStatusCode=io;Me.default=Me;const{Axios:Kd,AxiosError:zd,CanceledError:Yd,isCancel:Xd,CancelToken:Gd,VERSION:Jd,all:Qd,Cancel:Zd,isAxiosError:eh,spread:th,toFormData:nh,AxiosHeaders:rh,HttpStatusCode:ih,formToJSON:sh,getAdapter:oh,mergeConfig:ah}=Me;window.axios=Me;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var Wa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wd(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Ka={exports:{}};/*!
|
|
* jQuery JavaScript Library v3.7.1
|
|
* https://jquery.com/
|
|
*
|
|
* Copyright OpenJS Foundation and other contributors
|
|
* Released under the MIT license
|
|
* https://jquery.org/license
|
|
*
|
|
* Date: 2023-08-28T13:37Z
|
|
*/(function(l){(function(u,h){l.exports=u.document?h(u,!0):function(g){if(!g.document)throw new Error("jQuery requires a window with a document");return h(g)}})(typeof window<"u"?window:Wa,function(u,h){var g=[],_=Object.getPrototypeOf,T=g.slice,A=g.flat?function(e){return g.flat.call(e)}:function(e){return g.concat.apply([],e)},D=g.push,q=g.indexOf,F={},M=F.toString,G=F.hasOwnProperty,se=G.toString,Ee=se.call(Object),j={},k=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},U=function(n){return n!=null&&n===n.window},X=u.document,st={type:!0,src:!0,nonce:!0,noModule:!0};function Ce(e,n,r){r=r||X;var i,c,f=r.createElement("script");if(f.text=e,n)for(i in st)c=n[i]||n.getAttribute&&n.getAttribute(i),c&&f.setAttribute(i,c);r.head.appendChild(f).parentNode.removeChild(f)}function ve(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?F[M.call(e)]||"object":typeof e}var je="3.7.1",Ct=/HTML$/i,o=function(e,n){return new o.fn.init(e,n)};o.fn=o.prototype={jquery:je,constructor:o,length:0,toArray:function(){return T.call(this)},get:function(e){return e==null?T.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=o.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return o.each(this,e)},map:function(e){return this.pushStack(o.map(this,function(n,r){return e.call(n,r,n)}))},slice:function(){return this.pushStack(T.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(o.grep(this,function(e,n){return n%2}))},eq:function(e){var n=this.length,r=+e+(e<0?n:0);return this.pushStack(r>=0&&r<n?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:D,sort:g.sort,splice:g.splice},o.extend=o.fn.extend=function(){var e,n,r,i,c,f,d=arguments[0]||{},b=1,y=arguments.length,w=!1;for(typeof d=="boolean"&&(w=d,d=arguments[b]||{},b++),typeof d!="object"&&!k(d)&&(d={}),b===y&&(d=this,b--);b<y;b++)if((e=arguments[b])!=null)for(n in e)i=e[n],!(n==="__proto__"||d===i)&&(w&&i&&(o.isPlainObject(i)||(c=Array.isArray(i)))?(r=d[n],c&&!Array.isArray(r)?f=[]:!c&&!o.isPlainObject(r)?f={}:f=r,c=!1,d[n]=o.extend(w,f,i)):i!==void 0&&(d[n]=i));return d},o.extend({expando:"jQuery"+(je+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,r;return!e||M.call(e)!=="[object Object]"?!1:(n=_(e),n?(r=G.call(n,"constructor")&&n.constructor,typeof r=="function"&&se.call(r)===Ee):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,r){Ce(e,{nonce:n&&n.nonce},r)},each:function(e,n){var r,i=0;if(Ot(e))for(r=e.length;i<r&&n.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(n.call(e[i],i,e[i])===!1)break;return e},text:function(e){var n,r="",i=0,c=e.nodeType;if(!c)for(;n=e[i++];)r+=o.text(n);return c===1||c===11?e.textContent:c===9?e.documentElement.textContent:c===3||c===4?e.nodeValue:r},makeArray:function(e,n){var r=n||[];return e!=null&&(Ot(Object(e))?o.merge(r,typeof e=="string"?[e]:e):D.call(r,e)),r},inArray:function(e,n,r){return n==null?-1:q.call(n,e,r)},isXMLDoc:function(e){var n=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!Ct.test(n||r&&r.nodeName||"HTML")},merge:function(e,n){for(var r=+n.length,i=0,c=e.length;i<r;i++)e[c++]=n[i];return e.length=c,e},grep:function(e,n,r){for(var i,c=[],f=0,d=e.length,b=!r;f<d;f++)i=!n(e[f],f),i!==b&&c.push(e[f]);return c},map:function(e,n,r){var i,c,f=0,d=[];if(Ot(e))for(i=e.length;f<i;f++)c=n(e[f],f,r),c!=null&&d.push(c);else for(f in e)c=n(e[f],f,r),c!=null&&d.push(c);return A(d)},guid:1,support:j}),typeof Symbol=="function"&&(o.fn[Symbol.iterator]=g[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){F["[object "+n+"]"]=n.toLowerCase()});function Ot(e){var n=!!e&&"length"in e&&e.length,r=ve(e);return k(e)||U(e)?!1:r==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function ye(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var Ln=g.pop,Rn=g.sort,rn=g.splice,pe="[\\x20\\t\\r\\n\\f]",De=new RegExp("^"+pe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+pe+"+$","g");o.contains=function(e,n){var r=n&&n.parentNode;return e===r||!!(r&&r.nodeType===1&&(e.contains?e.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16))};var Ue=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Le(e,n){return n?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}o.escapeSelector=function(e){return(e+"").replace(Ue,Le)};var xe=X,Ge=D;(function(){var e,n,r,i,c,f=Ge,d,b,y,w,R,I=o.expando,C=0,B=0,re=br(),ge=br(),ae=br(),Be=br(),Pe=function(m,E){return m===E&&(c=!0),0},Rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ye="(?:\\\\[\\da-fA-F]{1,6}"+pe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",le="\\["+pe+"*("+Ye+")(?:"+pe+"*([*^$|!~]?=)"+pe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ye+"))|)"+pe+"*\\]",ft=":("+Ye+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+le+")*)|.*)\\)|)",_e=new RegExp(pe+"+","g"),Re=new RegExp("^"+pe+"*,"+pe+"*"),Bn=new RegExp("^"+pe+"*([>+~]|"+pe+")"+pe+"*"),Qr=new RegExp(pe+"|>"),Pt=new RegExp(ft),qn=new RegExp("^"+Ye+"$"),It={ID:new RegExp("^#("+Ye+")"),CLASS:new RegExp("^\\.("+Ye+")"),TAG:new RegExp("^("+Ye+"|[*])"),ATTR:new RegExp("^"+le),PSEUDO:new RegExp("^"+ft),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+pe+"*(even|odd|(([+-]|)(\\d*)n|)"+pe+"*(?:([+-]|)"+pe+"*(\\d+)|))"+pe+"*\\)|)","i"),bool:new RegExp("^(?:"+Rt+")$","i"),needsContext:new RegExp("^"+pe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+pe+"*((?:-\\d)?\\d*)"+pe+"*\\)|)(?=[^-]|$)","i")},Qt=/^(?:input|select|textarea|button)$/i,Zt=/^h\d$/i,dt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Zr=/[+~]/,ht=new RegExp("\\\\[\\da-fA-F]{1,6}"+pe+"?|\\\\([^\\r\\n\\f])","g"),Wt=function(m,E){var O="0x"+m.slice(1)-65536;return E||(O<0?String.fromCharCode(O+65536):String.fromCharCode(O>>10|55296,O&1023|56320))},co=function(){tn()},en=Tr(function(m){return m.disabled===!0&&ye(m,"fieldset")},{dir:"parentNode",next:"legend"});function Ki(){try{return d.activeElement}catch{}}try{f.apply(g=T.call(xe.childNodes),xe.childNodes),g[xe.childNodes.length].nodeType}catch{f={apply:function(E,O){Ge.apply(E,T.call(O))},call:function(E){Ge.apply(E,T.call(arguments,1))}}}function Te(m,E,O,L){var P,K,z,J,Y,ce,te,ie=E&&E.ownerDocument,fe=E?E.nodeType:9;if(O=O||[],typeof m!="string"||!m||fe!==1&&fe!==9&&fe!==11)return O;if(!L&&(tn(E),E=E||d,y)){if(fe!==11&&(Y=dt.exec(m)))if(P=Y[1]){if(fe===9)if(z=E.getElementById(P)){if(z.id===P)return f.call(O,z),O}else return O;else if(ie&&(z=ie.getElementById(P))&&Te.contains(E,z)&&z.id===P)return f.call(O,z),O}else{if(Y[2])return f.apply(O,E.getElementsByTagName(m)),O;if((P=Y[3])&&E.getElementsByClassName)return f.apply(O,E.getElementsByClassName(P)),O}if(!Be[m+" "]&&(!w||!w.test(m))){if(te=m,ie=E,fe===1&&(Qr.test(m)||Bn.test(m))){for(ie=Zr.test(m)&&Un(E.parentNode)||E,(ie!=E||!j.scope)&&((J=E.getAttribute("id"))?J=o.escapeSelector(J):E.setAttribute("id",J=I)),ce=Wn(m),K=ce.length;K--;)ce[K]=(J?"#"+J:":scope")+" "+Er(ce[K]);te=ce.join(",")}try{return f.apply(O,ie.querySelectorAll(te)),O}catch{Be(m,!0)}finally{J===I&&E.removeAttribute("id")}}}return Xi(m.replace(De,"$1"),E,O,L)}function br(){var m=[];function E(O,L){return m.push(O+" ")>n.cacheLength&&delete E[m.shift()],E[O+" "]=L}return E}function wt(m){return m[I]=!0,m}function $t(m){var E=d.createElement("fieldset");try{return!!m(E)}catch{return!1}finally{E.parentNode&&E.parentNode.removeChild(E),E=null}}function Sn(m){return function(E){return ye(E,"input")&&E.type===m}}function Cn(m){return function(E){return(ye(E,"input")||ye(E,"button"))&&E.type===m}}function Vn(m){return function(E){return"form"in E?E.parentNode&&E.disabled===!1?"label"in E?"label"in E.parentNode?E.parentNode.disabled===m:E.disabled===m:E.isDisabled===m||E.isDisabled!==!m&&en(E)===m:E.disabled===m:"label"in E?E.disabled===m:!1}}function an(m){return wt(function(E){return E=+E,wt(function(O,L){for(var P,K=m([],O.length,E),z=K.length;z--;)O[P=K[z]]&&(O[P]=!(L[P]=O[P]))})})}function Un(m){return m&&typeof m.getElementsByTagName<"u"&&m}function tn(m){var E,O=m?m.ownerDocument||m:xe;return O==d||O.nodeType!==9||!O.documentElement||(d=O,b=d.documentElement,y=!o.isXMLDoc(d),R=b.matches||b.webkitMatchesSelector||b.msMatchesSelector,b.msMatchesSelector&&xe!=d&&(E=d.defaultView)&&E.top!==E&&E.addEventListener("unload",co),j.getById=$t(function(L){return b.appendChild(L).id=o.expando,!d.getElementsByName||!d.getElementsByName(o.expando).length}),j.disconnectedMatch=$t(function(L){return R.call(L,"*")}),j.scope=$t(function(){return d.querySelectorAll(":scope")}),j.cssHas=$t(function(){try{return d.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),j.getById?(n.filter.ID=function(L){var P=L.replace(ht,Wt);return function(K){return K.getAttribute("id")===P}},n.find.ID=function(L,P){if(typeof P.getElementById<"u"&&y){var K=P.getElementById(L);return K?[K]:[]}}):(n.filter.ID=function(L){var P=L.replace(ht,Wt);return function(K){var z=typeof K.getAttributeNode<"u"&&K.getAttributeNode("id");return z&&z.value===P}},n.find.ID=function(L,P){if(typeof P.getElementById<"u"&&y){var K,z,J,Y=P.getElementById(L);if(Y){if(K=Y.getAttributeNode("id"),K&&K.value===L)return[Y];for(J=P.getElementsByName(L),z=0;Y=J[z++];)if(K=Y.getAttributeNode("id"),K&&K.value===L)return[Y]}return[]}}),n.find.TAG=function(L,P){return typeof P.getElementsByTagName<"u"?P.getElementsByTagName(L):P.querySelectorAll(L)},n.find.CLASS=function(L,P){if(typeof P.getElementsByClassName<"u"&&y)return P.getElementsByClassName(L)},w=[],$t(function(L){var P;b.appendChild(L).innerHTML="<a id='"+I+"' href='' disabled='disabled'></a><select id='"+I+"-\r\\' disabled='disabled'><option selected=''></option></select>",L.querySelectorAll("[selected]").length||w.push("\\["+pe+"*(?:value|"+Rt+")"),L.querySelectorAll("[id~="+I+"-]").length||w.push("~="),L.querySelectorAll("a#"+I+"+*").length||w.push(".#.+[+~]"),L.querySelectorAll(":checked").length||w.push(":checked"),P=d.createElement("input"),P.setAttribute("type","hidden"),L.appendChild(P).setAttribute("name","D"),b.appendChild(L).disabled=!0,L.querySelectorAll(":disabled").length!==2&&w.push(":enabled",":disabled"),P=d.createElement("input"),P.setAttribute("name",""),L.appendChild(P),L.querySelectorAll("[name='']").length||w.push("\\["+pe+"*name"+pe+"*="+pe+`*(?:''|"")`)}),j.cssHas||w.push(":has"),w=w.length&&new RegExp(w.join("|")),Pe=function(L,P){if(L===P)return c=!0,0;var K=!L.compareDocumentPosition-!P.compareDocumentPosition;return K||(K=(L.ownerDocument||L)==(P.ownerDocument||P)?L.compareDocumentPosition(P):1,K&1||!j.sortDetached&&P.compareDocumentPosition(L)===K?L===d||L.ownerDocument==xe&&Te.contains(xe,L)?-1:P===d||P.ownerDocument==xe&&Te.contains(xe,P)?1:i?q.call(i,L)-q.call(i,P):0:K&4?-1:1)}),d}Te.matches=function(m,E){return Te(m,null,null,E)},Te.matchesSelector=function(m,E){if(tn(m),y&&!Be[E+" "]&&(!w||!w.test(E)))try{var O=R.call(m,E);if(O||j.disconnectedMatch||m.document&&m.document.nodeType!==11)return O}catch{Be(E,!0)}return Te(E,d,null,[m]).length>0},Te.contains=function(m,E){return(m.ownerDocument||m)!=d&&tn(m),o.contains(m,E)},Te.attr=function(m,E){(m.ownerDocument||m)!=d&&tn(m);var O=n.attrHandle[E.toLowerCase()],L=O&&G.call(n.attrHandle,E.toLowerCase())?O(m,E,!y):void 0;return L!==void 0?L:m.getAttribute(E)},Te.error=function(m){throw new Error("Syntax error, unrecognized expression: "+m)},o.uniqueSort=function(m){var E,O=[],L=0,P=0;if(c=!j.sortStable,i=!j.sortStable&&T.call(m,0),Rn.call(m,Pe),c){for(;E=m[P++];)E===m[P]&&(L=O.push(P));for(;L--;)rn.call(m,O[L],1)}return i=null,m},o.fn.uniqueSort=function(){return this.pushStack(o.uniqueSort(T.apply(this)))},n=o.expr={cacheLength:50,createPseudo:wt,match:It,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(m){return m[1]=m[1].replace(ht,Wt),m[3]=(m[3]||m[4]||m[5]||"").replace(ht,Wt),m[2]==="~="&&(m[3]=" "+m[3]+" "),m.slice(0,4)},CHILD:function(m){return m[1]=m[1].toLowerCase(),m[1].slice(0,3)==="nth"?(m[3]||Te.error(m[0]),m[4]=+(m[4]?m[5]+(m[6]||1):2*(m[3]==="even"||m[3]==="odd")),m[5]=+(m[7]+m[8]||m[3]==="odd")):m[3]&&Te.error(m[0]),m},PSEUDO:function(m){var E,O=!m[6]&&m[2];return It.CHILD.test(m[0])?null:(m[3]?m[2]=m[4]||m[5]||"":O&&Pt.test(O)&&(E=Wn(O,!0))&&(E=O.indexOf(")",O.length-E)-O.length)&&(m[0]=m[0].slice(0,E),m[2]=O.slice(0,E)),m.slice(0,3))}},filter:{TAG:function(m){var E=m.replace(ht,Wt).toLowerCase();return m==="*"?function(){return!0}:function(O){return ye(O,E)}},CLASS:function(m){var E=re[m+" "];return E||(E=new RegExp("(^|"+pe+")"+m+"("+pe+"|$)"))&&re(m,function(O){return E.test(typeof O.className=="string"&&O.className||typeof O.getAttribute<"u"&&O.getAttribute("class")||"")})},ATTR:function(m,E,O){return function(L){var P=Te.attr(L,m);return P==null?E==="!=":E?(P+="",E==="="?P===O:E==="!="?P!==O:E==="^="?O&&P.indexOf(O)===0:E==="*="?O&&P.indexOf(O)>-1:E==="$="?O&&P.slice(-O.length)===O:E==="~="?(" "+P.replace(_e," ")+" ").indexOf(O)>-1:E==="|="?P===O||P.slice(0,O.length+1)===O+"-":!1):!0}},CHILD:function(m,E,O,L,P){var K=m.slice(0,3)!=="nth",z=m.slice(-4)!=="last",J=E==="of-type";return L===1&&P===0?function(Y){return!!Y.parentNode}:function(Y,ce,te){var ie,fe,ee,we,nt,We=K!==z?"nextSibling":"previousSibling",pt=Y.parentNode,kt=J&&Y.nodeName.toLowerCase(),On=!te&&!J,qe=!1;if(pt){if(K){for(;We;){for(ee=Y;ee=ee[We];)if(J?ye(ee,kt):ee.nodeType===1)return!1;nt=We=m==="only"&&!nt&&"nextSibling"}return!0}if(nt=[z?pt.firstChild:pt.lastChild],z&&On){for(fe=pt[I]||(pt[I]={}),ie=fe[m]||[],we=ie[0]===C&&ie[1],qe=we&&ie[2],ee=we&&pt.childNodes[we];ee=++we&&ee&&ee[We]||(qe=we=0)||nt.pop();)if(ee.nodeType===1&&++qe&&ee===Y){fe[m]=[C,we,qe];break}}else if(On&&(fe=Y[I]||(Y[I]={}),ie=fe[m]||[],we=ie[0]===C&&ie[1],qe=we),qe===!1)for(;(ee=++we&&ee&&ee[We]||(qe=we=0)||nt.pop())&&!((J?ye(ee,kt):ee.nodeType===1)&&++qe&&(On&&(fe=ee[I]||(ee[I]={}),fe[m]=[C,qe]),ee===Y)););return qe-=P,qe===L||qe%L===0&&qe/L>=0}}},PSEUDO:function(m,E){var O,L=n.pseudos[m]||n.setFilters[m.toLowerCase()]||Te.error("unsupported pseudo: "+m);return L[I]?L(E):L.length>1?(O=[m,m,"",E],n.setFilters.hasOwnProperty(m.toLowerCase())?wt(function(P,K){for(var z,J=L(P,E),Y=J.length;Y--;)z=q.call(P,J[Y]),P[z]=!(K[z]=J[Y])}):function(P){return L(P,0,O)}):L}},pseudos:{not:wt(function(m){var E=[],O=[],L=ri(m.replace(De,"$1"));return L[I]?wt(function(P,K,z,J){for(var Y,ce=L(P,null,J,[]),te=P.length;te--;)(Y=ce[te])&&(P[te]=!(K[te]=Y))}):function(P,K,z){return E[0]=P,L(E,null,z,O),E[0]=null,!O.pop()}}),has:wt(function(m){return function(E){return Te(m,E).length>0}}),contains:wt(function(m){return m=m.replace(ht,Wt),function(E){return(E.textContent||o.text(E)).indexOf(m)>-1}}),lang:wt(function(m){return qn.test(m||"")||Te.error("unsupported lang: "+m),m=m.replace(ht,Wt).toLowerCase(),function(E){var O;do if(O=y?E.lang:E.getAttribute("xml:lang")||E.getAttribute("lang"))return O=O.toLowerCase(),O===m||O.indexOf(m+"-")===0;while((E=E.parentNode)&&E.nodeType===1);return!1}}),target:function(m){var E=u.location&&u.location.hash;return E&&E.slice(1)===m.id},root:function(m){return m===b},focus:function(m){return m===Ki()&&d.hasFocus()&&!!(m.type||m.href||~m.tabIndex)},enabled:Vn(!1),disabled:Vn(!0),checked:function(m){return ye(m,"input")&&!!m.checked||ye(m,"option")&&!!m.selected},selected:function(m){return m.parentNode&&m.parentNode.selectedIndex,m.selected===!0},empty:function(m){for(m=m.firstChild;m;m=m.nextSibling)if(m.nodeType<6)return!1;return!0},parent:function(m){return!n.pseudos.empty(m)},header:function(m){return Zt.test(m.nodeName)},input:function(m){return Qt.test(m.nodeName)},button:function(m){return ye(m,"input")&&m.type==="button"||ye(m,"button")},text:function(m){var E;return ye(m,"input")&&m.type==="text"&&((E=m.getAttribute("type"))==null||E.toLowerCase()==="text")},first:an(function(){return[0]}),last:an(function(m,E){return[E-1]}),eq:an(function(m,E,O){return[O<0?O+E:O]}),even:an(function(m,E){for(var O=0;O<E;O+=2)m.push(O);return m}),odd:an(function(m,E){for(var O=1;O<E;O+=2)m.push(O);return m}),lt:an(function(m,E,O){var L;for(O<0?L=O+E:O>E?L=E:L=O;--L>=0;)m.push(L);return m}),gt:an(function(m,E,O){for(var L=O<0?O+E:O;++L<E;)m.push(L);return m})}},n.pseudos.nth=n.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=Sn(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=Cn(e);function zi(){}zi.prototype=n.filters=n.pseudos,n.setFilters=new zi;function Wn(m,E){var O,L,P,K,z,J,Y,ce=ge[m+" "];if(ce)return E?0:ce.slice(0);for(z=m,J=[],Y=n.preFilter;z;){(!O||(L=Re.exec(z)))&&(L&&(z=z.slice(L[0].length)||z),J.push(P=[])),O=!1,(L=Bn.exec(z))&&(O=L.shift(),P.push({value:O,type:L[0].replace(De," ")}),z=z.slice(O.length));for(K in n.filter)(L=It[K].exec(z))&&(!Y[K]||(L=Y[K](L)))&&(O=L.shift(),P.push({value:O,type:K,matches:L}),z=z.slice(O.length));if(!O)break}return E?z.length:z?Te.error(m):ge(m,J).slice(0)}function Er(m){for(var E=0,O=m.length,L="";E<O;E++)L+=m[E].value;return L}function Tr(m,E,O){var L=E.dir,P=E.next,K=P||L,z=O&&K==="parentNode",J=B++;return E.first?function(Y,ce,te){for(;Y=Y[L];)if(Y.nodeType===1||z)return m(Y,ce,te);return!1}:function(Y,ce,te){var ie,fe,ee=[C,J];if(te){for(;Y=Y[L];)if((Y.nodeType===1||z)&&m(Y,ce,te))return!0}else for(;Y=Y[L];)if(Y.nodeType===1||z)if(fe=Y[I]||(Y[I]={}),P&&ye(Y,P))Y=Y[L]||Y;else{if((ie=fe[K])&&ie[0]===C&&ie[1]===J)return ee[2]=ie[2];if(fe[K]=ee,ee[2]=m(Y,ce,te))return!0}return!1}}function ei(m){return m.length>1?function(E,O,L){for(var P=m.length;P--;)if(!m[P](E,O,L))return!1;return!0}:m[0]}function Yi(m,E,O){for(var L=0,P=E.length;L<P;L++)Te(m,E[L],O);return O}function un(m,E,O,L,P){for(var K,z=[],J=0,Y=m.length,ce=E!=null;J<Y;J++)(K=m[J])&&(!O||O(K,L,P))&&(z.push(K),ce&&E.push(J));return z}function ti(m,E,O,L,P,K){return L&&!L[I]&&(L=ti(L)),P&&!P[I]&&(P=ti(P,K)),wt(function(z,J,Y,ce){var te,ie,fe,ee,we=[],nt=[],We=J.length,pt=z||Yi(E||"*",Y.nodeType?[Y]:Y,[]),kt=m&&(z||!E)?un(pt,we,m,Y,ce):pt;if(O?(ee=P||(z?m:We||L)?[]:J,O(kt,ee,Y,ce)):ee=kt,L)for(te=un(ee,nt),L(te,[],Y,ce),ie=te.length;ie--;)(fe=te[ie])&&(ee[nt[ie]]=!(kt[nt[ie]]=fe));if(z){if(P||m){if(P){for(te=[],ie=ee.length;ie--;)(fe=ee[ie])&&te.push(kt[ie]=fe);P(null,ee=[],te,ce)}for(ie=ee.length;ie--;)(fe=ee[ie])&&(te=P?q.call(z,fe):we[ie])>-1&&(z[te]=!(J[te]=fe))}}else ee=un(ee===J?ee.splice(We,ee.length):ee),P?P(null,J,ee,ce):f.apply(J,ee)})}function ni(m){for(var E,O,L,P=m.length,K=n.relative[m[0].type],z=K||n.relative[" "],J=K?1:0,Y=Tr(function(ie){return ie===E},z,!0),ce=Tr(function(ie){return q.call(E,ie)>-1},z,!0),te=[function(ie,fe,ee){var we=!K&&(ee||fe!=r)||((E=fe).nodeType?Y(ie,fe,ee):ce(ie,fe,ee));return E=null,we}];J<P;J++)if(O=n.relative[m[J].type])te=[Tr(ei(te),O)];else{if(O=n.filter[m[J].type].apply(null,m[J].matches),O[I]){for(L=++J;L<P&&!n.relative[m[L].type];L++);return ti(J>1&&ei(te),J>1&&Er(m.slice(0,J-1).concat({value:m[J-2].type===" "?"*":""})).replace(De,"$1"),O,J<L&&ni(m.slice(J,L)),L<P&&ni(m=m.slice(L)),L<P&&Er(m))}te.push(O)}return ei(te)}function Ps(m,E){var O=E.length>0,L=m.length>0,P=function(K,z,J,Y,ce){var te,ie,fe,ee=0,we="0",nt=K&&[],We=[],pt=r,kt=K||L&&n.find.TAG("*",ce),On=C+=pt==null?1:Math.random()||.1,qe=kt.length;for(ce&&(r=z==d||z||ce);we!==qe&&(te=kt[we])!=null;we++){if(L&&te){for(ie=0,!z&&te.ownerDocument!=d&&(tn(te),J=!y);fe=m[ie++];)if(fe(te,z||d,J)){f.call(Y,te);break}ce&&(C=On)}O&&((te=!fe&&te)&&ee--,K&&nt.push(te))}if(ee+=we,O&&we!==ee){for(ie=0;fe=E[ie++];)fe(nt,We,z,J);if(K){if(ee>0)for(;we--;)nt[we]||We[we]||(We[we]=Ln.call(Y));We=un(We)}f.apply(Y,We),ce&&!K&&We.length>0&&ee+E.length>1&&o.uniqueSort(Y)}return ce&&(C=On,r=pt),nt};return O?wt(P):P}function ri(m,E){var O,L=[],P=[],K=ae[m+" "];if(!K){for(E||(E=Wn(m)),O=E.length;O--;)K=ni(E[O]),K[I]?L.push(K):P.push(K);K=ae(m,Ps(P,L)),K.selector=m}return K}function Xi(m,E,O,L){var P,K,z,J,Y,ce=typeof m=="function"&&m,te=!L&&Wn(m=ce.selector||m);if(O=O||[],te.length===1){if(K=te[0]=te[0].slice(0),K.length>2&&(z=K[0]).type==="ID"&&E.nodeType===9&&y&&n.relative[K[1].type]){if(E=(n.find.ID(z.matches[0].replace(ht,Wt),E)||[])[0],E)ce&&(E=E.parentNode);else return O;m=m.slice(K.shift().value.length)}for(P=It.needsContext.test(m)?0:K.length;P--&&(z=K[P],!n.relative[J=z.type]);)if((Y=n.find[J])&&(L=Y(z.matches[0].replace(ht,Wt),Zr.test(K[0].type)&&Un(E.parentNode)||E))){if(K.splice(P,1),m=L.length&&Er(K),!m)return f.apply(O,L),O;break}}return(ce||ri(m,te))(L,E,!y,O,!E||Zr.test(m)&&Un(E.parentNode)||E),O}j.sortStable=I.split("").sort(Pe).join("")===I,tn(),j.sortDetached=$t(function(m){return m.compareDocumentPosition(d.createElement("fieldset"))&1}),o.find=Te,o.expr[":"]=o.expr.pseudos,o.unique=o.uniqueSort,Te.compile=ri,Te.select=Xi,Te.setDocument=tn,Te.tokenize=Wn,Te.escape=o.escapeSelector,Te.getText=o.text,Te.isXML=o.isXMLDoc,Te.selectors=o.expr,Te.support=o.support,Te.uniqueSort=o.uniqueSort})();var Ht=function(e,n,r){for(var i=[],c=r!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(c&&o(e).is(r))break;i.push(e)}return i},or=function(e,n){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&r.push(e);return r},Fe=o.expr.match.needsContext,He=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ot(e,n,r){return k(n)?o.grep(e,function(i,c){return!!n.call(i,c,i)!==r}):n.nodeType?o.grep(e,function(i){return i===n!==r}):typeof n!="string"?o.grep(e,function(i){return q.call(n,i)>-1!==r}):o.filter(n,e,r)}o.filter=function(e,n,r){var i=n[0];return r&&(e=":not("+e+")"),n.length===1&&i.nodeType===1?o.find.matchesSelector(i,e)?[i]:[]:o.find.matches(e,o.grep(n,function(c){return c.nodeType===1}))},o.fn.extend({find:function(e){var n,r,i=this.length,c=this;if(typeof e!="string")return this.pushStack(o(e).filter(function(){for(n=0;n<i;n++)if(o.contains(c[n],this))return!0}));for(r=this.pushStack([]),n=0;n<i;n++)o.find(e,c[n],r);return i>1?o.uniqueSort(r):r},filter:function(e){return this.pushStack(ot(this,e||[],!1))},not:function(e){return this.pushStack(ot(this,e||[],!0))},is:function(e){return!!ot(this,typeof e=="string"&&Fe.test(e)?o(e):e||[],!1).length}});var xt,Ft=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Rr=o.fn.init=function(e,n,r){var i,c;if(!e)return this;if(r=r||xt,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?i=[null,e,null]:i=Ft.exec(e),i&&(i[1]||!n))if(i[1]){if(n=n instanceof o?n[0]:n,o.merge(this,o.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:X,!0)),He.test(i[1])&&o.isPlainObject(n))for(i in n)k(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}else return c=X.getElementById(i[2]),c&&(this[0]=c,this.length=1),this;else return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(k(e))return r.ready!==void 0?r.ready(e):e(o)}return o.makeArray(e,this)};Rr.prototype=o.fn,xt=o(X);var hi=/^(?:parents|prev(?:Until|All))/,dn={children:!0,contents:!0,next:!0,prev:!0};o.fn.extend({has:function(e){var n=o(e,this),r=n.length;return this.filter(function(){for(var i=0;i<r;i++)if(o.contains(this,n[i]))return!0})},closest:function(e,n){var r,i=0,c=this.length,f=[],d=typeof e!="string"&&o(e);if(!Fe.test(e)){for(;i<c;i++)for(r=this[i];r&&r!==n;r=r.parentNode)if(r.nodeType<11&&(d?d.index(r)>-1:r.nodeType===1&&o.find.matchesSelector(r,e))){f.push(r);break}}return this.pushStack(f.length>1?o.uniqueSort(f):f)},index:function(e){return e?typeof e=="string"?q.call(o(e),this[0]):q.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function ar(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}o.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return Ht(e,"parentNode")},parentsUntil:function(e,n,r){return Ht(e,"parentNode",r)},next:function(e){return ar(e,"nextSibling")},prev:function(e){return ar(e,"previousSibling")},nextAll:function(e){return Ht(e,"nextSibling")},prevAll:function(e){return Ht(e,"previousSibling")},nextUntil:function(e,n,r){return Ht(e,"nextSibling",r)},prevUntil:function(e,n,r){return Ht(e,"previousSibling",r)},siblings:function(e){return or((e.parentNode||{}).firstChild,e)},children:function(e){return or(e.firstChild)},contents:function(e){return e.contentDocument!=null&&_(e.contentDocument)?e.contentDocument:(ye(e,"template")&&(e=e.content||e),o.merge([],e.childNodes))}},function(e,n){o.fn[e]=function(r,i){var c=o.map(this,n,r);return e.slice(-5)!=="Until"&&(i=r),i&&typeof i=="string"&&(c=o.filter(i,c)),this.length>1&&(dn[e]||o.uniqueSort(c),hi.test(e)&&c.reverse()),this.pushStack(c)}});var _t=/[^\x20\t\r\n\f]+/g;function Bt(e){var n={};return o.each(e.match(_t)||[],function(r,i){n[i]=!0}),n}o.Callbacks=function(e){e=typeof e=="string"?Bt(e):o.extend({},e);var n,r,i,c,f=[],d=[],b=-1,y=function(){for(c=c||e.once,i=n=!0;d.length;b=-1)for(r=d.shift();++b<f.length;)f[b].apply(r[0],r[1])===!1&&e.stopOnFalse&&(b=f.length,r=!1);e.memory||(r=!1),n=!1,c&&(r?f=[]:f="")},w={add:function(){return f&&(r&&!n&&(b=f.length-1,d.push(r)),function R(I){o.each(I,function(C,B){k(B)?(!e.unique||!w.has(B))&&f.push(B):B&&B.length&&ve(B)!=="string"&&R(B)})}(arguments),r&&!n&&y()),this},remove:function(){return o.each(arguments,function(R,I){for(var C;(C=o.inArray(I,f,C))>-1;)f.splice(C,1),C<=b&&b--}),this},has:function(R){return R?o.inArray(R,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return c=d=[],f=r="",this},disabled:function(){return!f},lock:function(){return c=d=[],!r&&!n&&(f=r=""),this},locked:function(){return!!c},fireWith:function(R,I){return c||(I=I||[],I=[R,I.slice?I.slice():I],d.push(I),n||y()),this},fire:function(){return w.fireWith(this,arguments),this},fired:function(){return!!i}};return w};function hn(e){return e}function yt(e){throw e}function Pn(e,n,r,i){var c;try{e&&k(c=e.promise)?c.call(e).done(n).fail(r):e&&k(c=e.then)?c.call(e,n,r):n.apply(void 0,[e].slice(i))}catch(f){r.apply(void 0,[f])}}o.extend({Deferred:function(e){var n=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return c.done(arguments).fail(arguments),this},catch:function(f){return i.then(null,f)},pipe:function(){var f=arguments;return o.Deferred(function(d){o.each(n,function(b,y){var w=k(f[y[4]])&&f[y[4]];c[y[1]](function(){var R=w&&w.apply(this,arguments);R&&k(R.promise)?R.promise().progress(d.notify).done(d.resolve).fail(d.reject):d[y[0]+"With"](this,w?[R]:arguments)})}),f=null}).promise()},then:function(f,d,b){var y=0;function w(R,I,C,B){return function(){var re=this,ge=arguments,ae=function(){var Pe,Rt;if(!(R<y)){if(Pe=C.apply(re,ge),Pe===I.promise())throw new TypeError("Thenable self-resolution");Rt=Pe&&(typeof Pe=="object"||typeof Pe=="function")&&Pe.then,k(Rt)?B?Rt.call(Pe,w(y,I,hn,B),w(y,I,yt,B)):(y++,Rt.call(Pe,w(y,I,hn,B),w(y,I,yt,B),w(y,I,hn,I.notifyWith))):(C!==hn&&(re=void 0,ge=[Pe]),(B||I.resolveWith)(re,ge))}},Be=B?ae:function(){try{ae()}catch(Pe){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(Pe,Be.error),R+1>=y&&(C!==yt&&(re=void 0,ge=[Pe]),I.rejectWith(re,ge))}};R?Be():(o.Deferred.getErrorHook?Be.error=o.Deferred.getErrorHook():o.Deferred.getStackHook&&(Be.error=o.Deferred.getStackHook()),u.setTimeout(Be))}}return o.Deferred(function(R){n[0][3].add(w(0,R,k(b)?b:hn,R.notifyWith)),n[1][3].add(w(0,R,k(f)?f:hn)),n[2][3].add(w(0,R,k(d)?d:yt))}).promise()},promise:function(f){return f!=null?o.extend(f,i):i}},c={};return o.each(n,function(f,d){var b=d[2],y=d[5];i[d[1]]=b.add,y&&b.add(function(){r=y},n[3-f][2].disable,n[3-f][3].disable,n[0][2].lock,n[0][3].lock),b.add(d[3].fire),c[d[0]]=function(){return c[d[0]+"With"](this===c?void 0:this,arguments),this},c[d[0]+"With"]=b.fireWith}),i.promise(c),e&&e.call(c,c),c},when:function(e){var n=arguments.length,r=n,i=Array(r),c=T.call(arguments),f=o.Deferred(),d=function(b){return function(y){i[b]=this,c[b]=arguments.length>1?T.call(arguments):y,--n||f.resolveWith(i,c)}};if(n<=1&&(Pn(e,f.done(d(r)).resolve,f.reject,!n),f.state()==="pending"||k(c[r]&&c[r].then)))return f.then();for(;r--;)Pn(c[r],d(r),f.reject);return f.promise()}});var pi=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(e,n){u.console&&u.console.warn&&e&&pi.test(e.name)&&u.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},o.readyException=function(e){u.setTimeout(function(){throw e})};var Pr=o.Deferred();o.fn.ready=function(e){return Pr.then(e).catch(function(n){o.readyException(n)}),this},o.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--o.readyWait:o.isReady)||(o.isReady=!0,!(e!==!0&&--o.readyWait>0)&&Pr.resolveWith(X,[o]))}}),o.ready.then=Pr.then;function Xt(){X.removeEventListener("DOMContentLoaded",Xt),u.removeEventListener("load",Xt),o.ready()}X.readyState==="complete"||X.readyState!=="loading"&&!X.documentElement.doScroll?u.setTimeout(o.ready):(X.addEventListener("DOMContentLoaded",Xt),u.addEventListener("load",Xt));var vt=function(e,n,r,i,c,f,d){var b=0,y=e.length,w=r==null;if(ve(r)==="object"){c=!0;for(b in r)vt(e,n,b,r[b],!0,f,d)}else if(i!==void 0&&(c=!0,k(i)||(d=!0),w&&(d?(n.call(e,i),n=null):(w=n,n=function(R,I,C){return w.call(o(R),C)})),n))for(;b<y;b++)n(e[b],r,d?i:i.call(e[b],b,n(e[b],r)));return c?e:w?n.call(e):y?n(e[0],r):f},In=/^-ms-/,vs=/-([a-z])/g;function gi(e,n){return n.toUpperCase()}function bt(e){return e.replace(In,"ms-").replace(vs,gi)}var pn=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function $n(){this.expando=o.expando+$n.uid++}$n.uid=1,$n.prototype={cache:function(e){var n=e[this.expando];return n||(n={},pn(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,r){var i,c=this.cache(e);if(typeof n=="string")c[bt(n)]=r;else for(i in n)c[bt(i)]=n[i];return c},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][bt(n)]},access:function(e,n,r){return n===void 0||n&&typeof n=="string"&&r===void 0?this.get(e,n):(this.set(e,n,r),r!==void 0?r:n)},remove:function(e,n){var r,i=e[this.expando];if(i!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map(bt):(n=bt(n),n=n in i?[n]:n.match(_t)||[]),r=n.length;r--;)delete i[n[r]];(n===void 0||o.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!o.isEmptyObject(n)}};var Z=new $n,Je=new $n,mi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,gn=/[A-Z]/g;function bs(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:mi.test(e)?JSON.parse(e):e}function _i(e,n,r){var i;if(r===void 0&&e.nodeType===1)if(i="data-"+n.replace(gn,"-$&").toLowerCase(),r=e.getAttribute(i),typeof r=="string"){try{r=bs(r)}catch{}Je.set(e,n,r)}else r=void 0;return r}o.extend({hasData:function(e){return Je.hasData(e)||Z.hasData(e)},data:function(e,n,r){return Je.access(e,n,r)},removeData:function(e,n){Je.remove(e,n)},_data:function(e,n,r){return Z.access(e,n,r)},_removeData:function(e,n){Z.remove(e,n)}}),o.fn.extend({data:function(e,n){var r,i,c,f=this[0],d=f&&f.attributes;if(e===void 0){if(this.length&&(c=Je.get(f),f.nodeType===1&&!Z.get(f,"hasDataAttrs"))){for(r=d.length;r--;)d[r]&&(i=d[r].name,i.indexOf("data-")===0&&(i=bt(i.slice(5)),_i(f,i,c[i])));Z.set(f,"hasDataAttrs",!0)}return c}return typeof e=="object"?this.each(function(){Je.set(this,e)}):vt(this,function(b){var y;if(f&&b===void 0)return y=Je.get(f,e),y!==void 0||(y=_i(f,e),y!==void 0)?y:void 0;this.each(function(){Je.set(this,e,b)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Je.remove(this,e)})}}),o.extend({queue:function(e,n,r){var i;if(e)return n=(n||"fx")+"queue",i=Z.get(e,n),r&&(!i||Array.isArray(r)?i=Z.access(e,n,o.makeArray(r)):i.push(r)),i||[]},dequeue:function(e,n){n=n||"fx";var r=o.queue(e,n),i=r.length,c=r.shift(),f=o._queueHooks(e,n),d=function(){o.dequeue(e,n)};c==="inprogress"&&(c=r.shift(),i--),c&&(n==="fx"&&r.unshift("inprogress"),delete f.stop,c.call(e,d,f)),!i&&f&&f.empty.fire()},_queueHooks:function(e,n){var r=n+"queueHooks";return Z.get(e,r)||Z.access(e,r,{empty:o.Callbacks("once memory").add(function(){Z.remove(e,[n+"queue",r])})})}}),o.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?o.queue(this[0],e):n===void 0?this:this.each(function(){var i=o.queue(this,e,n);o._queueHooks(this,e),e==="fx"&&i[0]!=="inprogress"&&o.dequeue(this,e)})},dequeue:function(e){return this.each(function(){o.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,c=o.Deferred(),f=this,d=this.length,b=function(){--i||c.resolveWith(f,[f])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";d--;)r=Z.get(f[d],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(b));return b(),c.promise(n)}});var Ir=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,kn=new RegExp("^(?:([+-])=|)("+Ir+")([a-z%]*)$","i"),Et=["Top","Right","Bottom","Left"],Nt=X.documentElement,mn=function(e){return o.contains(e.ownerDocument,e)},$r={composed:!0};Nt.getRootNode&&(mn=function(e){return o.contains(e.ownerDocument,e)||e.getRootNode($r)===e.ownerDocument});var ur=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&mn(e)&&o.css(e,"display")==="none"};function Mn(e,n,r,i){var c,f,d=20,b=i?function(){return i.cur()}:function(){return o.css(e,n,"")},y=b(),w=r&&r[3]||(o.cssNumber[n]?"":"px"),R=e.nodeType&&(o.cssNumber[n]||w!=="px"&&+y)&&kn.exec(o.css(e,n));if(R&&R[3]!==w){for(y=y/2,w=w||R[3],R=+y||1;d--;)o.style(e,n,R+w),(1-f)*(1-(f=b()/y||.5))<=0&&(d=0),R=R/f;R=R*2,o.style(e,n,R+w),r=r||[]}return r&&(R=+R||+y||0,c=r[1]?R+(r[1]+1)*r[2]:+r[2],i&&(i.unit=w,i.start=R,i.end=c)),c}var yi={};function vi(e){var n,r=e.ownerDocument,i=e.nodeName,c=yi[i];return c||(n=r.body.appendChild(r.createElement(i)),c=o.css(n,"display"),n.parentNode.removeChild(n),c==="none"&&(c="block"),yi[i]=c,c)}function Gt(e,n){for(var r,i,c=[],f=0,d=e.length;f<d;f++)i=e[f],i.style&&(r=i.style.display,n?(r==="none"&&(c[f]=Z.get(i,"display")||null,c[f]||(i.style.display="")),i.style.display===""&&ur(i)&&(c[f]=vi(i))):r!=="none"&&(c[f]="none",Z.set(i,"display",r)));for(f=0;f<d;f++)c[f]!=null&&(e[f].style.display=c[f]);return e}o.fn.extend({show:function(){return Gt(this,!0)},hide:function(){return Gt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){ur(this)?o(this).show():o(this).hide()})}});var sn=/^(?:checkbox|radio)$/i,bi=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ei=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=X.createDocumentFragment(),n=e.appendChild(X.createElement("div")),r=X.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),n.appendChild(r),j.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",j.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",j.option=!!n.lastChild})();var Qe={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,"",""]};Qe.tbody=Qe.tfoot=Qe.colgroup=Qe.caption=Qe.thead,Qe.th=Qe.td,j.option||(Qe.optgroup=Qe.option=[1,"<select multiple='multiple'>","</select>"]);function ze(e,n){var r;return typeof e.getElementsByTagName<"u"?r=e.getElementsByTagName(n||"*"):typeof e.querySelectorAll<"u"?r=e.querySelectorAll(n||"*"):r=[],n===void 0||n&&ye(e,n)?o.merge([e],r):r}function on(e,n){for(var r=0,i=e.length;r<i;r++)Z.set(e[r],"globalEval",!n||Z.get(n[r],"globalEval"))}var kr=/<|&#?\w+;/;function Ti(e,n,r,i,c){for(var f,d,b,y,w,R,I=n.createDocumentFragment(),C=[],B=0,re=e.length;B<re;B++)if(f=e[B],f||f===0)if(ve(f)==="object")o.merge(C,f.nodeType?[f]:f);else if(!kr.test(f))C.push(n.createTextNode(f));else{for(d=d||I.appendChild(n.createElement("div")),b=(bi.exec(f)||["",""])[1].toLowerCase(),y=Qe[b]||Qe._default,d.innerHTML=y[1]+o.htmlPrefilter(f)+y[2],R=y[0];R--;)d=d.lastChild;o.merge(C,d.childNodes),d=I.firstChild,d.textContent=""}for(I.textContent="",B=0;f=C[B++];){if(i&&o.inArray(f,i)>-1){c&&c.push(f);continue}if(w=mn(f),d=ze(I.appendChild(f),"script"),w&&on(d),r)for(R=0;f=d[R++];)Ei.test(f.type||"")&&r.push(f)}return I}var Mr=/^([^.]*)(?:\.(.+)|)/;function _n(){return!0}function yn(){return!1}function cr(e,n,r,i,c,f){var d,b;if(typeof n=="object"){typeof r!="string"&&(i=i||r,r=void 0);for(b in n)cr(e,b,r,i,n[b],f);return e}if(i==null&&c==null?(c=r,i=r=void 0):c==null&&(typeof r=="string"?(c=i,i=void 0):(c=i,i=r,r=void 0)),c===!1)c=yn;else if(!c)return e;return f===1&&(d=c,c=function(y){return o().off(y),d.apply(this,arguments)},c.guid=d.guid||(d.guid=o.guid++)),e.each(function(){o.event.add(this,n,c,i,r)})}o.event={global:{},add:function(e,n,r,i,c){var f,d,b,y,w,R,I,C,B,re,ge,ae=Z.get(e);if(pn(e))for(r.handler&&(f=r,r=f.handler,c=f.selector),c&&o.find.matchesSelector(Nt,c),r.guid||(r.guid=o.guid++),(y=ae.events)||(y=ae.events=Object.create(null)),(d=ae.handle)||(d=ae.handle=function(Be){return typeof o<"u"&&o.event.triggered!==Be.type?o.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(_t)||[""],w=n.length;w--;)b=Mr.exec(n[w])||[],B=ge=b[1],re=(b[2]||"").split(".").sort(),B&&(I=o.event.special[B]||{},B=(c?I.delegateType:I.bindType)||B,I=o.event.special[B]||{},R=o.extend({type:B,origType:ge,data:i,handler:r,guid:r.guid,selector:c,needsContext:c&&o.expr.match.needsContext.test(c),namespace:re.join(".")},f),(C=y[B])||(C=y[B]=[],C.delegateCount=0,(!I.setup||I.setup.call(e,i,re,d)===!1)&&e.addEventListener&&e.addEventListener(B,d)),I.add&&(I.add.call(e,R),R.handler.guid||(R.handler.guid=r.guid)),c?C.splice(C.delegateCount++,0,R):C.push(R),o.event.global[B]=!0)},remove:function(e,n,r,i,c){var f,d,b,y,w,R,I,C,B,re,ge,ae=Z.hasData(e)&&Z.get(e);if(!(!ae||!(y=ae.events))){for(n=(n||"").match(_t)||[""],w=n.length;w--;){if(b=Mr.exec(n[w])||[],B=ge=b[1],re=(b[2]||"").split(".").sort(),!B){for(B in y)o.event.remove(e,B+n[w],r,i,!0);continue}for(I=o.event.special[B]||{},B=(i?I.delegateType:I.bindType)||B,C=y[B]||[],b=b[2]&&new RegExp("(^|\\.)"+re.join("\\.(?:.*\\.|)")+"(\\.|$)"),d=f=C.length;f--;)R=C[f],(c||ge===R.origType)&&(!r||r.guid===R.guid)&&(!b||b.test(R.namespace))&&(!i||i===R.selector||i==="**"&&R.selector)&&(C.splice(f,1),R.selector&&C.delegateCount--,I.remove&&I.remove.call(e,R));d&&!C.length&&((!I.teardown||I.teardown.call(e,re,ae.handle)===!1)&&o.removeEvent(e,B,ae.handle),delete y[B])}o.isEmptyObject(y)&&Z.remove(e,"handle events")}},dispatch:function(e){var n,r,i,c,f,d,b=new Array(arguments.length),y=o.event.fix(e),w=(Z.get(this,"events")||Object.create(null))[y.type]||[],R=o.event.special[y.type]||{};for(b[0]=y,n=1;n<arguments.length;n++)b[n]=arguments[n];if(y.delegateTarget=this,!(R.preDispatch&&R.preDispatch.call(this,y)===!1)){for(d=o.event.handlers.call(this,y,w),n=0;(c=d[n++])&&!y.isPropagationStopped();)for(y.currentTarget=c.elem,r=0;(f=c.handlers[r++])&&!y.isImmediatePropagationStopped();)(!y.rnamespace||f.namespace===!1||y.rnamespace.test(f.namespace))&&(y.handleObj=f,y.data=f.data,i=((o.event.special[f.origType]||{}).handle||f.handler).apply(c.elem,b),i!==void 0&&(y.result=i)===!1&&(y.preventDefault(),y.stopPropagation()));return R.postDispatch&&R.postDispatch.call(this,y),y.result}},handlers:function(e,n){var r,i,c,f,d,b=[],y=n.delegateCount,w=e.target;if(y&&w.nodeType&&!(e.type==="click"&&e.button>=1)){for(;w!==this;w=w.parentNode||this)if(w.nodeType===1&&!(e.type==="click"&&w.disabled===!0)){for(f=[],d={},r=0;r<y;r++)i=n[r],c=i.selector+" ",d[c]===void 0&&(d[c]=i.needsContext?o(c,this).index(w)>-1:o.find(c,this,null,[w]).length),d[c]&&f.push(i);f.length&&b.push({elem:w,handlers:f})}}return w=this,y<n.length&&b.push({elem:w,handlers:n.slice(y)}),b},addProp:function(e,n){Object.defineProperty(o.Event.prototype,e,{enumerable:!0,configurable:!0,get:k(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(r){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}})},fix:function(e){return e[o.expando]?e:new o.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return sn.test(n.type)&&n.click&&ye(n,"input")&&qt(n,"click",!0),!1},trigger:function(e){var n=this||e;return sn.test(n.type)&&n.click&&ye(n,"input")&&qt(n,"click"),!0},_default:function(e){var n=e.target;return sn.test(n.type)&&n.click&&ye(n,"input")&&Z.get(n,"click")||ye(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function qt(e,n,r){if(!r){Z.get(e,n)===void 0&&o.event.add(e,n,_n);return}Z.set(e,n,!1),o.event.add(e,n,{namespace:!1,handler:function(i){var c,f=Z.get(this,n);if(i.isTrigger&1&&this[n]){if(f)(o.event.special[n]||{}).delegateType&&i.stopPropagation();else if(f=T.call(arguments),Z.set(this,n,f),this[n](),c=Z.get(this,n),Z.set(this,n,!1),f!==c)return i.stopImmediatePropagation(),i.preventDefault(),c}else f&&(Z.set(this,n,o.event.trigger(f[0],f.slice(1),this)),i.stopPropagation(),i.isImmediatePropagationStopped=_n)}})}o.removeEvent=function(e,n,r){e.removeEventListener&&e.removeEventListener(n,r)},o.Event=function(e,n){if(!(this instanceof o.Event))return new o.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?_n:yn,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&o.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:yn,isPropagationStopped:yn,isImmediatePropagationStopped:yn,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=_n,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=_n,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=_n,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},o.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},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(e,n){function r(i){if(X.documentMode){var c=Z.get(this,"handle"),f=o.event.fix(i);f.type=i.type==="focusin"?"focus":"blur",f.isSimulated=!0,c(i),f.target===f.currentTarget&&c(f)}else o.event.simulate(n,i.target,o.event.fix(i))}o.event.special[e]={setup:function(){var i;if(qt(this,e,!0),X.documentMode)i=Z.get(this,n),i||this.addEventListener(n,r),Z.set(this,n,(i||0)+1);else return!1},trigger:function(){return qt(this,e),!0},teardown:function(){var i;if(X.documentMode)i=Z.get(this,n)-1,i?Z.set(this,n,i):(this.removeEventListener(n,r),Z.remove(this,n));else return!1},_default:function(i){return Z.get(i.target,e)},delegateType:n},o.event.special[n]={setup:function(){var i=this.ownerDocument||this.document||this,c=X.documentMode?this:i,f=Z.get(c,n);f||(X.documentMode?this.addEventListener(n,r):i.addEventListener(e,r,!0)),Z.set(c,n,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,c=X.documentMode?this:i,f=Z.get(c,n)-1;f?Z.set(c,n,f):(X.documentMode?this.removeEventListener(n,r):i.removeEventListener(e,r,!0),Z.remove(c,n))}}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){o.event.special[e]={delegateType:n,bindType:n,handle:function(r){var i,c=this,f=r.relatedTarget,d=r.handleObj;return(!f||f!==c&&!o.contains(c,f))&&(r.type=d.origType,i=d.handler.apply(this,arguments),r.type=n),i}}}),o.fn.extend({on:function(e,n,r,i){return cr(this,e,n,r,i)},one:function(e,n,r,i){return cr(this,e,n,r,i,1)},off:function(e,n,r){var i,c;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,o(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(c in e)this.off(c,n,e[c]);return this}return(n===!1||typeof n=="function")&&(r=n,n=void 0),r===!1&&(r=yn),this.each(function(){o.event.remove(this,e,r,n)})}});var Es=/<script|<style|<link/i,Ts=/checked\s*(?:[^=]|=\s*.checked.)/i,ws=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function jr(e,n){return ye(e,"table")&&ye(n.nodeType!==11?n:n.firstChild,"tr")&&o(e).children("tbody")[0]||e}function wi(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Ai(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Si(e,n){var r,i,c,f,d,b,y;if(n.nodeType===1){if(Z.hasData(e)&&(f=Z.get(e),y=f.events,y)){Z.remove(n,"handle events");for(c in y)for(r=0,i=y[c].length;r<i;r++)o.event.add(n,c,y[c][r])}Je.hasData(e)&&(d=Je.access(e),b=o.extend({},d),Je.set(n,b))}}function Ci(e,n){var r=n.nodeName.toLowerCase();r==="input"&&sn.test(e.type)?n.checked=e.checked:(r==="input"||r==="textarea")&&(n.defaultValue=e.defaultValue)}function vn(e,n,r,i){n=A(n);var c,f,d,b,y,w,R=0,I=e.length,C=I-1,B=n[0],re=k(B);if(re||I>1&&typeof B=="string"&&!j.checkClone&&Ts.test(B))return e.each(function(ge){var ae=e.eq(ge);re&&(n[0]=B.call(this,ge,ae.html())),vn(ae,n,r,i)});if(I&&(c=Ti(n,e[0].ownerDocument,!1,e,i),f=c.firstChild,c.childNodes.length===1&&(c=f),f||i)){for(d=o.map(ze(c,"script"),wi),b=d.length;R<I;R++)y=c,R!==C&&(y=o.clone(y,!0,!0),b&&o.merge(d,ze(y,"script"))),r.call(e[R],y,R);if(b)for(w=d[d.length-1].ownerDocument,o.map(d,Ai),R=0;R<b;R++)y=d[R],Ei.test(y.type||"")&&!Z.access(y,"globalEval")&&o.contains(w,y)&&(y.src&&(y.type||"").toLowerCase()!=="module"?o._evalUrl&&!y.noModule&&o._evalUrl(y.src,{nonce:y.nonce||y.getAttribute("nonce")},w):Ce(y.textContent.replace(ws,""),y,w))}return e}function Oi(e,n,r){for(var i,c=n?o.filter(n,e):e,f=0;(i=c[f])!=null;f++)!r&&i.nodeType===1&&o.cleanData(ze(i)),i.parentNode&&(r&&mn(i)&&on(ze(i,"script")),i.parentNode.removeChild(i));return e}o.extend({htmlPrefilter:function(e){return e},clone:function(e,n,r){var i,c,f,d,b=e.cloneNode(!0),y=mn(e);if(!j.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!o.isXMLDoc(e))for(d=ze(b),f=ze(e),i=0,c=f.length;i<c;i++)Ci(f[i],d[i]);if(n)if(r)for(f=f||ze(e),d=d||ze(b),i=0,c=f.length;i<c;i++)Si(f[i],d[i]);else Si(e,b);return d=ze(b,"script"),d.length>0&&on(d,!y&&ze(e,"script")),b},cleanData:function(e){for(var n,r,i,c=o.event.special,f=0;(r=e[f])!==void 0;f++)if(pn(r)){if(n=r[Z.expando]){if(n.events)for(i in n.events)c[i]?o.event.remove(r,i):o.removeEvent(r,i,n.handle);r[Z.expando]=void 0}r[Je.expando]&&(r[Je.expando]=void 0)}}}),o.fn.extend({detach:function(e){return Oi(this,e,!0)},remove:function(e){return Oi(this,e)},text:function(e){return vt(this,function(n){return n===void 0?o.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,e,arguments.length)},append:function(){return vn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=jr(this,e);n.appendChild(e)}})},prepend:function(){return vn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=jr(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return vn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return vn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;(e=this[n])!=null;n++)e.nodeType===1&&(o.cleanData(ze(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e??!1,n=n??e,this.map(function(){return o.clone(this,e,n)})},html:function(e){return vt(this,function(n){var r=this[0]||{},i=0,c=this.length;if(n===void 0&&r.nodeType===1)return r.innerHTML;if(typeof n=="string"&&!Es.test(n)&&!Qe[(bi.exec(n)||["",""])[1].toLowerCase()]){n=o.htmlPrefilter(n);try{for(;i<c;i++)r=this[i]||{},r.nodeType===1&&(o.cleanData(ze(r,!1)),r.innerHTML=n);r=0}catch{}}r&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return vn(this,arguments,function(n){var r=this.parentNode;o.inArray(this,e)<0&&(o.cleanData(ze(this)),r&&r.replaceChild(n,this))},e)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){o.fn[e]=function(r){for(var i,c=[],f=o(r),d=f.length-1,b=0;b<=d;b++)i=b===d?this:this.clone(!0),o(f[b])[n](i),D.apply(c,i.get());return this.pushStack(c)}});var lr=new RegExp("^("+Ir+")(?!px)[a-z%]+$","i"),Hr=/^--/,bn=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=u),n.getComputedStyle(e)},xi=function(e,n,r){var i,c,f={};for(c in n)f[c]=e.style[c],e.style[c]=n[c];i=r.call(e);for(c in n)e.style[c]=f[c];return i},As=new RegExp(Et.join("|"),"i");(function(){function e(){if(w){y.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",w.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Nt.appendChild(y).appendChild(w);var R=u.getComputedStyle(w);r=R.top!=="1%",b=n(R.marginLeft)===12,w.style.right="60%",f=n(R.right)===36,i=n(R.width)===36,w.style.position="absolute",c=n(w.offsetWidth/3)===12,Nt.removeChild(y),w=null}}function n(R){return Math.round(parseFloat(R))}var r,i,c,f,d,b,y=X.createElement("div"),w=X.createElement("div");w.style&&(w.style.backgroundClip="content-box",w.cloneNode(!0).style.backgroundClip="",j.clearCloneStyle=w.style.backgroundClip==="content-box",o.extend(j,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),f},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),b},scrollboxSize:function(){return e(),c},reliableTrDimensions:function(){var R,I,C,B;return d==null&&(R=X.createElement("table"),I=X.createElement("tr"),C=X.createElement("div"),R.style.cssText="position:absolute;left:-11111px;border-collapse:separate",I.style.cssText="box-sizing:content-box;border:1px solid",I.style.height="1px",C.style.height="9px",C.style.display="block",Nt.appendChild(R).appendChild(I).appendChild(C),B=u.getComputedStyle(I),d=parseInt(B.height,10)+parseInt(B.borderTopWidth,10)+parseInt(B.borderBottomWidth,10)===I.offsetHeight,Nt.removeChild(R)),d}}))})();function En(e,n,r){var i,c,f,d,b=Hr.test(n),y=e.style;return r=r||bn(e),r&&(d=r.getPropertyValue(n)||r[n],b&&d&&(d=d.replace(De,"$1")||void 0),d===""&&!mn(e)&&(d=o.style(e,n)),!j.pixelBoxStyles()&&lr.test(d)&&As.test(n)&&(i=y.width,c=y.minWidth,f=y.maxWidth,y.minWidth=y.maxWidth=y.width=d,d=r.width,y.width=i,y.minWidth=c,y.maxWidth=f)),d!==void 0?d+"":d}function Ni(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var Di=["Webkit","Moz","ms"],Li=X.createElement("div").style,Ri={};function Ss(e){for(var n=e[0].toUpperCase()+e.slice(1),r=Di.length;r--;)if(e=Di[r]+n,e in Li)return e}function Fr(e){var n=o.cssProps[e]||Ri[e];return n||(e in Li?e:Ri[e]=Ss(e)||e)}var Cs=/^(none|table(?!-c[ea]).+)/,Os={position:"absolute",visibility:"hidden",display:"block"},Br={letterSpacing:"0",fontWeight:"400"};function qr(e,n,r){var i=kn.exec(n);return i?Math.max(0,i[2]-(r||0))+(i[3]||"px"):n}function Tn(e,n,r,i,c,f){var d=n==="width"?1:0,b=0,y=0,w=0;if(r===(i?"border":"content"))return 0;for(;d<4;d+=2)r==="margin"&&(w+=o.css(e,r+Et[d],!0,c)),i?(r==="content"&&(y-=o.css(e,"padding"+Et[d],!0,c)),r!=="margin"&&(y-=o.css(e,"border"+Et[d]+"Width",!0,c))):(y+=o.css(e,"padding"+Et[d],!0,c),r!=="padding"?y+=o.css(e,"border"+Et[d]+"Width",!0,c):b+=o.css(e,"border"+Et[d]+"Width",!0,c));return!i&&f>=0&&(y+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-f-y-b-.5))||0),y+w}function Pi(e,n,r){var i=bn(e),c=!j.boxSizingReliable()||r,f=c&&o.css(e,"boxSizing",!1,i)==="border-box",d=f,b=En(e,n,i),y="offset"+n[0].toUpperCase()+n.slice(1);if(lr.test(b)){if(!r)return b;b="auto"}return(!j.boxSizingReliable()&&f||!j.reliableTrDimensions()&&ye(e,"tr")||b==="auto"||!parseFloat(b)&&o.css(e,"display",!1,i)==="inline")&&e.getClientRects().length&&(f=o.css(e,"boxSizing",!1,i)==="border-box",d=y in e,d&&(b=e[y])),b=parseFloat(b)||0,b+Tn(e,n,r||(f?"border":"content"),d,i,b)+"px"}o.extend({cssHooks:{opacity:{get:function(e,n){if(n){var r=En(e,"opacity");return r===""?"1":r}}}},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,n,r,i){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var c,f,d,b=bt(n),y=Hr.test(n),w=e.style;if(y||(n=Fr(b)),d=o.cssHooks[n]||o.cssHooks[b],r!==void 0){if(f=typeof r,f==="string"&&(c=kn.exec(r))&&c[1]&&(r=Mn(e,n,c),f="number"),r==null||r!==r)return;f==="number"&&!y&&(r+=c&&c[3]||(o.cssNumber[b]?"":"px")),!j.clearCloneStyle&&r===""&&n.indexOf("background")===0&&(w[n]="inherit"),(!d||!("set"in d)||(r=d.set(e,r,i))!==void 0)&&(y?w.setProperty(n,r):w[n]=r)}else return d&&"get"in d&&(c=d.get(e,!1,i))!==void 0?c:w[n]}},css:function(e,n,r,i){var c,f,d,b=bt(n),y=Hr.test(n);return y||(n=Fr(b)),d=o.cssHooks[n]||o.cssHooks[b],d&&"get"in d&&(c=d.get(e,!0,r)),c===void 0&&(c=En(e,n,i)),c==="normal"&&n in Br&&(c=Br[n]),r===""||r?(f=parseFloat(c),r===!0||isFinite(f)?f||0:c):c}}),o.each(["height","width"],function(e,n){o.cssHooks[n]={get:function(r,i,c){if(i)return Cs.test(o.css(r,"display"))&&(!r.getClientRects().length||!r.getBoundingClientRect().width)?xi(r,Os,function(){return Pi(r,n,c)}):Pi(r,n,c)},set:function(r,i,c){var f,d=bn(r),b=!j.scrollboxSize()&&d.position==="absolute",y=b||c,w=y&&o.css(r,"boxSizing",!1,d)==="border-box",R=c?Tn(r,n,c,w,d):0;return w&&b&&(R-=Math.ceil(r["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(d[n])-Tn(r,n,"border",!1,d)-.5)),R&&(f=kn.exec(i))&&(f[3]||"px")!=="px"&&(r.style[n]=i,i=o.css(r,n)),qr(r,i,R)}}}),o.cssHooks.marginLeft=Ni(j.reliableMarginLeft,function(e,n){if(n)return(parseFloat(En(e,"marginLeft"))||e.getBoundingClientRect().left-xi(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),o.each({margin:"",padding:"",border:"Width"},function(e,n){o.cssHooks[e+n]={expand:function(r){for(var i=0,c={},f=typeof r=="string"?r.split(" "):[r];i<4;i++)c[e+Et[i]+n]=f[i]||f[i-2]||f[0];return c}},e!=="margin"&&(o.cssHooks[e+n].set=qr)}),o.fn.extend({css:function(e,n){return vt(this,function(r,i,c){var f,d,b={},y=0;if(Array.isArray(i)){for(f=bn(r),d=i.length;y<d;y++)b[i[y]]=o.css(r,i[y],!1,f);return b}return c!==void 0?o.style(r,i,c):o.css(r,i)},e,n,arguments.length>1)}});function Ze(e,n,r,i,c){return new Ze.prototype.init(e,n,r,i,c)}o.Tween=Ze,Ze.prototype={constructor:Ze,init:function(e,n,r,i,c,f){this.elem=e,this.prop=r,this.easing=c||o.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=i,this.unit=f||(o.cssNumber[r]?"":"px")},cur:function(){var e=Ze.propHooks[this.prop];return e&&e.get?e.get(this):Ze.propHooks._default.get(this)},run:function(e){var n,r=Ze.propHooks[this.prop];return this.options.duration?this.pos=n=o.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):Ze.propHooks._default.set(this),this}},Ze.prototype.init.prototype=Ze.prototype,Ze.propHooks={_default:{get:function(e){var n;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(n=o.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){o.fx.step[e.prop]?o.fx.step[e.prop](e):e.elem.nodeType===1&&(o.cssHooks[e.prop]||e.elem.style[Fr(e.prop)]!=null)?o.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ze.propHooks.scrollTop=Ze.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},o.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},o.fx=Ze.prototype.init,o.fx.step={};var wn,fr,Vr=/^(?:toggle|show|hide)$/,Ii=/queueHooks$/;function Dt(){fr&&(X.hidden===!1&&u.requestAnimationFrame?u.requestAnimationFrame(Dt):u.setTimeout(Dt,o.fx.interval),o.fx.tick())}function dr(){return u.setTimeout(function(){wn=void 0}),wn=Date.now()}function hr(e,n){var r,i=0,c={height:e};for(n=n?1:0;i<4;i+=2-n)r=Et[i],c["margin"+r]=c["padding"+r]=e;return n&&(c.opacity=c.width=e),c}function $i(e,n,r){for(var i,c=(Tt.tweeners[n]||[]).concat(Tt.tweeners["*"]),f=0,d=c.length;f<d;f++)if(i=c[f].call(r,n,e))return i}function Ur(e,n,r){var i,c,f,d,b,y,w,R,I="width"in n||"height"in n,C=this,B={},re=e.style,ge=e.nodeType&&ur(e),ae=Z.get(e,"fxshow");r.queue||(d=o._queueHooks(e,"fx"),d.unqueued==null&&(d.unqueued=0,b=d.empty.fire,d.empty.fire=function(){d.unqueued||b()}),d.unqueued++,C.always(function(){C.always(function(){d.unqueued--,o.queue(e,"fx").length||d.empty.fire()})}));for(i in n)if(c=n[i],Vr.test(c)){if(delete n[i],f=f||c==="toggle",c===(ge?"hide":"show"))if(c==="show"&&ae&&ae[i]!==void 0)ge=!0;else continue;B[i]=ae&&ae[i]||o.style(e,i)}if(y=!o.isEmptyObject(n),!(!y&&o.isEmptyObject(B))){I&&e.nodeType===1&&(r.overflow=[re.overflow,re.overflowX,re.overflowY],w=ae&&ae.display,w==null&&(w=Z.get(e,"display")),R=o.css(e,"display"),R==="none"&&(w?R=w:(Gt([e],!0),w=e.style.display||w,R=o.css(e,"display"),Gt([e]))),(R==="inline"||R==="inline-block"&&w!=null)&&o.css(e,"float")==="none"&&(y||(C.done(function(){re.display=w}),w==null&&(R=re.display,w=R==="none"?"":R)),re.display="inline-block")),r.overflow&&(re.overflow="hidden",C.always(function(){re.overflow=r.overflow[0],re.overflowX=r.overflow[1],re.overflowY=r.overflow[2]})),y=!1;for(i in B)y||(ae?"hidden"in ae&&(ge=ae.hidden):ae=Z.access(e,"fxshow",{display:w}),f&&(ae.hidden=!ge),ge&&Gt([e],!0),C.done(function(){ge||Gt([e]),Z.remove(e,"fxshow");for(i in B)o.style(e,i,B[i])})),y=$i(ge?ae[i]:0,i,C),i in ae||(ae[i]=y.start,ge&&(y.end=y.start,y.start=0))}}function ki(e,n){var r,i,c,f,d;for(r in e)if(i=bt(r),c=n[i],f=e[r],Array.isArray(f)&&(c=f[1],f=e[r]=f[0]),r!==i&&(e[i]=f,delete e[r]),d=o.cssHooks[i],d&&"expand"in d){f=d.expand(f),delete e[i];for(r in f)r in e||(e[r]=f[r],n[r]=c)}else n[i]=c}function Tt(e,n,r){var i,c,f=0,d=Tt.prefilters.length,b=o.Deferred().always(function(){delete y.elem}),y=function(){if(c)return!1;for(var I=wn||dr(),C=Math.max(0,w.startTime+w.duration-I),B=C/w.duration||0,re=1-B,ge=0,ae=w.tweens.length;ge<ae;ge++)w.tweens[ge].run(re);return b.notifyWith(e,[w,re,C]),re<1&&ae?C:(ae||b.notifyWith(e,[w,1,0]),b.resolveWith(e,[w]),!1)},w=b.promise({elem:e,props:o.extend({},n),opts:o.extend(!0,{specialEasing:{},easing:o.easing._default},r),originalProperties:n,originalOptions:r,startTime:wn||dr(),duration:r.duration,tweens:[],createTween:function(I,C){var B=o.Tween(e,w.opts,I,C,w.opts.specialEasing[I]||w.opts.easing);return w.tweens.push(B),B},stop:function(I){var C=0,B=I?w.tweens.length:0;if(c)return this;for(c=!0;C<B;C++)w.tweens[C].run(1);return I?(b.notifyWith(e,[w,1,0]),b.resolveWith(e,[w,I])):b.rejectWith(e,[w,I]),this}}),R=w.props;for(ki(R,w.opts.specialEasing);f<d;f++)if(i=Tt.prefilters[f].call(w,e,R,w.opts),i)return k(i.stop)&&(o._queueHooks(w.elem,w.opts.queue).stop=i.stop.bind(i)),i;return o.map(R,$i,w),k(w.opts.start)&&w.opts.start.call(e,w),w.progress(w.opts.progress).done(w.opts.done,w.opts.complete).fail(w.opts.fail).always(w.opts.always),o.fx.timer(o.extend(y,{elem:e,anim:w,queue:w.opts.queue})),w}o.Animation=o.extend(Tt,{tweeners:{"*":[function(e,n){var r=this.createTween(e,n);return Mn(r.elem,e,kn.exec(n),r),r}]},tweener:function(e,n){k(e)?(n=e,e=["*"]):e=e.match(_t);for(var r,i=0,c=e.length;i<c;i++)r=e[i],Tt.tweeners[r]=Tt.tweeners[r]||[],Tt.tweeners[r].unshift(n)},prefilters:[Ur],prefilter:function(e,n){n?Tt.prefilters.unshift(e):Tt.prefilters.push(e)}}),o.speed=function(e,n,r){var i=e&&typeof e=="object"?o.extend({},e):{complete:r||!r&&n||k(e)&&e,duration:e,easing:r&&n||n&&!k(n)&&n};return o.fx.off?i.duration=0:typeof i.duration!="number"&&(i.duration in o.fx.speeds?i.duration=o.fx.speeds[i.duration]:i.duration=o.fx.speeds._default),(i.queue==null||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){k(i.old)&&i.old.call(this),i.queue&&o.dequeue(this,i.queue)},i},o.fn.extend({fadeTo:function(e,n,r,i){return this.filter(ur).css("opacity",0).show().end().animate({opacity:n},e,r,i)},animate:function(e,n,r,i){var c=o.isEmptyObject(e),f=o.speed(n,r,i),d=function(){var b=Tt(this,o.extend({},e),f);(c||Z.get(this,"finish"))&&b.stop(!0)};return d.finish=d,c||f.queue===!1?this.each(d):this.queue(f.queue,d)},stop:function(e,n,r){var i=function(c){var f=c.stop;delete c.stop,f(r)};return typeof e!="string"&&(r=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var c=!0,f=e!=null&&e+"queueHooks",d=o.timers,b=Z.get(this);if(f)b[f]&&b[f].stop&&i(b[f]);else for(f in b)b[f]&&b[f].stop&&Ii.test(f)&&i(b[f]);for(f=d.length;f--;)d[f].elem===this&&(e==null||d[f].queue===e)&&(d[f].anim.stop(r),c=!1,d.splice(f,1));(c||!r)&&o.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,r=Z.get(this),i=r[e+"queue"],c=r[e+"queueHooks"],f=o.timers,d=i?i.length:0;for(r.finish=!0,o.queue(this,e,[]),c&&c.stop&&c.stop.call(this,!0),n=f.length;n--;)f[n].elem===this&&f[n].queue===e&&(f[n].anim.stop(!0),f.splice(n,1));for(n=0;n<d;n++)i[n]&&i[n].finish&&i[n].finish.call(this);delete r.finish})}}),o.each(["toggle","show","hide"],function(e,n){var r=o.fn[n];o.fn[n]=function(i,c,f){return i==null||typeof i=="boolean"?r.apply(this,arguments):this.animate(hr(n,!0),i,c,f)}}),o.each({slideDown:hr("show"),slideUp:hr("hide"),slideToggle:hr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){o.fn[e]=function(r,i,c){return this.animate(n,r,i,c)}}),o.timers=[],o.fx.tick=function(){var e,n=0,r=o.timers;for(wn=Date.now();n<r.length;n++)e=r[n],!e()&&r[n]===e&&r.splice(n--,1);r.length||o.fx.stop(),wn=void 0},o.fx.timer=function(e){o.timers.push(e),o.fx.start()},o.fx.interval=13,o.fx.start=function(){fr||(fr=!0,Dt())},o.fx.stop=function(){fr=null},o.fx.speeds={slow:600,fast:200,_default:400},o.fn.delay=function(e,n){return e=o.fx&&o.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(r,i){var c=u.setTimeout(r,e);i.stop=function(){u.clearTimeout(c)}})},function(){var e=X.createElement("input"),n=X.createElement("select"),r=n.appendChild(X.createElement("option"));e.type="checkbox",j.checkOn=e.value!=="",j.optSelected=r.selected,e=X.createElement("input"),e.value="t",e.type="radio",j.radioValue=e.value==="t"}();var Mi,jn=o.expr.attrHandle;o.fn.extend({attr:function(e,n){return vt(this,o.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){o.removeAttr(this,e)})}}),o.extend({attr:function(e,n,r){var i,c,f=e.nodeType;if(!(f===3||f===8||f===2)){if(typeof e.getAttribute>"u")return o.prop(e,n,r);if((f!==1||!o.isXMLDoc(e))&&(c=o.attrHooks[n.toLowerCase()]||(o.expr.match.bool.test(n)?Mi:void 0)),r!==void 0){if(r===null){o.removeAttr(e,n);return}return c&&"set"in c&&(i=c.set(e,r,n))!==void 0?i:(e.setAttribute(n,r+""),r)}return c&&"get"in c&&(i=c.get(e,n))!==null?i:(i=o.find.attr(e,n),i??void 0)}},attrHooks:{type:{set:function(e,n){if(!j.radioValue&&n==="radio"&&ye(e,"input")){var r=e.value;return e.setAttribute("type",n),r&&(e.value=r),n}}}},removeAttr:function(e,n){var r,i=0,c=n&&n.match(_t);if(c&&e.nodeType===1)for(;r=c[i++];)e.removeAttribute(r)}}),Mi={set:function(e,n,r){return n===!1?o.removeAttr(e,r):e.setAttribute(r,r),r}},o.each(o.expr.match.bool.source.match(/\w+/g),function(e,n){var r=jn[n]||o.find.attr;jn[n]=function(i,c,f){var d,b,y=c.toLowerCase();return f||(b=jn[y],jn[y]=d,d=r(i,c,f)!=null?y:null,jn[y]=b),d}});var ji=/^(?:input|select|textarea|button)$/i,Vt=/^(?:a|area)$/i;o.fn.extend({prop:function(e,n){return vt(this,o.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[o.propFix[e]||e]})}}),o.extend({prop:function(e,n,r){var i,c,f=e.nodeType;if(!(f===3||f===8||f===2))return(f!==1||!o.isXMLDoc(e))&&(n=o.propFix[n]||n,c=o.propHooks[n]),r!==void 0?c&&"set"in c&&(i=c.set(e,r,n))!==void 0?i:e[n]=r:c&&"get"in c&&(i=c.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=o.find.attr(e,"tabindex");return n?parseInt(n,10):ji.test(e.nodeName)||Vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),j.optSelected||(o.propHooks.selected={get:function(e){var n=e.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(e){var n=e.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this});function et(e){var n=e.match(_t)||[];return n.join(" ")}function ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Lt(e){return Array.isArray(e)?e:typeof e=="string"?e.match(_t)||[]:[]}o.fn.extend({addClass:function(e){var n,r,i,c,f,d;return k(e)?this.each(function(b){o(this).addClass(e.call(this,b,ct(this)))}):(n=Lt(e),n.length?this.each(function(){if(i=ct(this),r=this.nodeType===1&&" "+et(i)+" ",r){for(f=0;f<n.length;f++)c=n[f],r.indexOf(" "+c+" ")<0&&(r+=c+" ");d=et(r),i!==d&&this.setAttribute("class",d)}}):this)},removeClass:function(e){var n,r,i,c,f,d;return k(e)?this.each(function(b){o(this).removeClass(e.call(this,b,ct(this)))}):arguments.length?(n=Lt(e),n.length?this.each(function(){if(i=ct(this),r=this.nodeType===1&&" "+et(i)+" ",r){for(f=0;f<n.length;f++)for(c=n[f];r.indexOf(" "+c+" ")>-1;)r=r.replace(" "+c+" "," ");d=et(r),i!==d&&this.setAttribute("class",d)}}):this):this.attr("class","")},toggleClass:function(e,n){var r,i,c,f,d=typeof e,b=d==="string"||Array.isArray(e);return k(e)?this.each(function(y){o(this).toggleClass(e.call(this,y,ct(this),n),n)}):typeof n=="boolean"&&b?n?this.addClass(e):this.removeClass(e):(r=Lt(e),this.each(function(){if(b)for(f=o(this),c=0;c<r.length;c++)i=r[c],f.hasClass(i)?f.removeClass(i):f.addClass(i);else(e===void 0||d==="boolean")&&(i=ct(this),i&&Z.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||e===!1?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var n,r,i=0;for(n=" "+e+" ";r=this[i++];)if(r.nodeType===1&&(" "+et(ct(r))+" ").indexOf(n)>-1)return!0;return!1}});var Hi=/\r/g;o.fn.extend({val:function(e){var n,r,i,c=this[0];return arguments.length?(i=k(e),this.each(function(f){var d;this.nodeType===1&&(i?d=e.call(this,f,o(this).val()):d=e,d==null?d="":typeof d=="number"?d+="":Array.isArray(d)&&(d=o.map(d,function(b){return b==null?"":b+""})),n=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,d,"value")===void 0)&&(this.value=d))})):c?(n=o.valHooks[c.type]||o.valHooks[c.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(c,"value"))!==void 0?r:(r=c.value,typeof r=="string"?r.replace(Hi,""):r??"")):void 0}}),o.extend({valHooks:{option:{get:function(e){var n=o.find.attr(e,"value");return n??et(o.text(e))}},select:{get:function(e){var n,r,i,c=e.options,f=e.selectedIndex,d=e.type==="select-one",b=d?null:[],y=d?f+1:c.length;for(f<0?i=y:i=d?f:0;i<y;i++)if(r=c[i],(r.selected||i===f)&&!r.disabled&&(!r.parentNode.disabled||!ye(r.parentNode,"optgroup"))){if(n=o(r).val(),d)return n;b.push(n)}return b},set:function(e,n){for(var r,i,c=e.options,f=o.makeArray(n),d=c.length;d--;)i=c[d],(i.selected=o.inArray(o.valHooks.option.get(i),f)>-1)&&(r=!0);return r||(e.selectedIndex=-1),f}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=o.inArray(o(e).val(),n)>-1}},j.checkOn||(o.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Jt=u.location,An={guid:Date.now()},pr=/\?/;o.parseXML=function(e){var n,r;if(!e||typeof e!="string")return null;try{n=new u.DOMParser().parseFromString(e,"text/xml")}catch{}return r=n&&n.getElementsByTagName("parsererror")[0],(!n||r)&&o.error("Invalid XML: "+(r?o.map(r.childNodes,function(i){return i.textContent}).join(`
|
|
`):e)),n};var gr=/^(?:focusinfocus|focusoutblur)$/,Fi=function(e){e.stopPropagation()};o.extend(o.event,{trigger:function(e,n,r,i){var c,f,d,b,y,w,R,I,C=[r||X],B=G.call(e,"type")?e.type:e,re=G.call(e,"namespace")?e.namespace.split("."):[];if(f=I=d=r=r||X,!(r.nodeType===3||r.nodeType===8)&&!gr.test(B+o.event.triggered)&&(B.indexOf(".")>-1&&(re=B.split("."),B=re.shift(),re.sort()),y=B.indexOf(":")<0&&"on"+B,e=e[o.expando]?e:new o.Event(B,typeof e=="object"&&e),e.isTrigger=i?2:3,e.namespace=re.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+re.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=n==null?[e]:o.makeArray(n,[e]),R=o.event.special[B]||{},!(!i&&R.trigger&&R.trigger.apply(r,n)===!1))){if(!i&&!R.noBubble&&!U(r)){for(b=R.delegateType||B,gr.test(b+B)||(f=f.parentNode);f;f=f.parentNode)C.push(f),d=f;d===(r.ownerDocument||X)&&C.push(d.defaultView||d.parentWindow||u)}for(c=0;(f=C[c++])&&!e.isPropagationStopped();)I=f,e.type=c>1?b:R.bindType||B,w=(Z.get(f,"events")||Object.create(null))[e.type]&&Z.get(f,"handle"),w&&w.apply(f,n),w=y&&f[y],w&&w.apply&&pn(f)&&(e.result=w.apply(f,n),e.result===!1&&e.preventDefault());return e.type=B,!i&&!e.isDefaultPrevented()&&(!R._default||R._default.apply(C.pop(),n)===!1)&&pn(r)&&y&&k(r[B])&&!U(r)&&(d=r[y],d&&(r[y]=null),o.event.triggered=B,e.isPropagationStopped()&&I.addEventListener(B,Fi),r[B](),e.isPropagationStopped()&&I.removeEventListener(B,Fi),o.event.triggered=void 0,d&&(r[y]=d)),e.result}},simulate:function(e,n,r){var i=o.extend(new o.Event,r,{type:e,isSimulated:!0});o.event.trigger(i,null,n)}}),o.fn.extend({trigger:function(e,n){return this.each(function(){o.event.trigger(e,n,this)})},triggerHandler:function(e,n){var r=this[0];if(r)return o.event.trigger(e,n,r,!0)}});var lt=/\[\]$/,at=/\r?\n/g,tt=/^(?:submit|button|image|reset|file)$/i,Bi=/^(?:input|select|textarea|keygen)/i;function Hn(e,n,r,i){var c;if(Array.isArray(n))o.each(n,function(f,d){r||lt.test(e)?i(e,d):Hn(e+"["+(typeof d=="object"&&d!=null?f:"")+"]",d,r,i)});else if(!r&&ve(n)==="object")for(c in n)Hn(e+"["+c+"]",n[c],r,i);else i(e,n)}o.param=function(e,n){var r,i=[],c=function(f,d){var b=k(d)?d():d;i[i.length]=encodeURIComponent(f)+"="+encodeURIComponent(b??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!o.isPlainObject(e))o.each(e,function(){c(this.name,this.value)});else for(r in e)Hn(r,e[r],n,c);return i.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=o.prop(this,"elements");return e?o.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!o(this).is(":disabled")&&Bi.test(this.nodeName)&&!tt.test(e)&&(this.checked||!sn.test(e))}).map(function(e,n){var r=o(this).val();return r==null?null:Array.isArray(r)?o.map(r,function(i){return{name:n.name,value:i.replace(at,`\r
|
|
`)}}):{name:n.name,value:r.replace(at,`\r
|
|
`)}}).get()}});var xs=/%20/g,Ns=/#.*$/,Ds=/([?&])_=[^&]*/,Wr=/^(.*?):[ \t]*([^\r\n]*)$/mg,qi=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Vi=/^(?:GET|HEAD)$/,Ls=/^\/\//,Kr={},mr={},Ui="*/".concat("*"),zr=X.createElement("a");zr.href=Jt.href;function Yr(e){return function(n,r){typeof n!="string"&&(r=n,n="*");var i,c=0,f=n.toLowerCase().match(_t)||[];if(k(r))for(;i=f[c++];)i[0]==="+"?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(r)):(e[i]=e[i]||[]).push(r)}}function Xr(e,n,r,i){var c={},f=e===mr;function d(b){var y;return c[b]=!0,o.each(e[b]||[],function(w,R){var I=R(n,r,i);if(typeof I=="string"&&!f&&!c[I])return n.dataTypes.unshift(I),d(I),!1;if(f)return!(y=I)}),y}return d(n.dataTypes[0])||!c["*"]&&d("*")}function _r(e,n){var r,i,c=o.ajaxSettings.flatOptions||{};for(r in n)n[r]!==void 0&&((c[r]?e:i||(i={}))[r]=n[r]);return i&&o.extend(!0,e,i),e}function Gr(e,n,r){for(var i,c,f,d,b=e.contents,y=e.dataTypes;y[0]==="*";)y.shift(),i===void 0&&(i=e.mimeType||n.getResponseHeader("Content-Type"));if(i){for(c in b)if(b[c]&&b[c].test(i)){y.unshift(c);break}}if(y[0]in r)f=y[0];else{for(c in r){if(!y[0]||e.converters[c+" "+y[0]]){f=c;break}d||(d=c)}f=f||d}if(f)return f!==y[0]&&y.unshift(f),r[f]}function Rs(e,n,r,i){var c,f,d,b,y,w={},R=e.dataTypes.slice();if(R[1])for(d in e.converters)w[d.toLowerCase()]=e.converters[d];for(f=R.shift();f;)if(e.responseFields[f]&&(r[e.responseFields[f]]=n),!y&&i&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),y=f,f=R.shift(),f){if(f==="*")f=y;else if(y!=="*"&&y!==f){if(d=w[y+" "+f]||w["* "+f],!d){for(c in w)if(b=c.split(" "),b[1]===f&&(d=w[y+" "+b[0]]||w["* "+b[0]],d)){d===!0?d=w[c]:w[c]!==!0&&(f=b[0],R.unshift(b[1]));break}}if(d!==!0)if(d&&e.throws)n=d(n);else try{n=d(n)}catch(I){return{state:"parsererror",error:d?I:"No conversion from "+y+" to "+f}}}}return{state:"success",data:n}}o.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Jt.href,type:"GET",isLocal:qi.test(Jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ui,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":o.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?_r(_r(e,o.ajaxSettings),n):_r(o.ajaxSettings,e)},ajaxPrefilter:Yr(Kr),ajaxTransport:Yr(mr),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var r,i,c,f,d,b,y,w,R,I,C=o.ajaxSetup({},n),B=C.context||C,re=C.context&&(B.nodeType||B.jquery)?o(B):o.event,ge=o.Deferred(),ae=o.Callbacks("once memory"),Be=C.statusCode||{},Pe={},Rt={},Ye="canceled",le={readyState:0,getResponseHeader:function(_e){var Re;if(y){if(!f)for(f={};Re=Wr.exec(c);)f[Re[1].toLowerCase()+" "]=(f[Re[1].toLowerCase()+" "]||[]).concat(Re[2]);Re=f[_e.toLowerCase()+" "]}return Re==null?null:Re.join(", ")},getAllResponseHeaders:function(){return y?c:null},setRequestHeader:function(_e,Re){return y==null&&(_e=Rt[_e.toLowerCase()]=Rt[_e.toLowerCase()]||_e,Pe[_e]=Re),this},overrideMimeType:function(_e){return y==null&&(C.mimeType=_e),this},statusCode:function(_e){var Re;if(_e)if(y)le.always(_e[le.status]);else for(Re in _e)Be[Re]=[Be[Re],_e[Re]];return this},abort:function(_e){var Re=_e||Ye;return r&&r.abort(Re),ft(0,Re),this}};if(ge.promise(le),C.url=((e||C.url||Jt.href)+"").replace(Ls,Jt.protocol+"//"),C.type=n.method||n.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(_t)||[""],C.crossDomain==null){b=X.createElement("a");try{b.href=C.url,b.href=b.href,C.crossDomain=zr.protocol+"//"+zr.host!=b.protocol+"//"+b.host}catch{C.crossDomain=!0}}if(C.data&&C.processData&&typeof C.data!="string"&&(C.data=o.param(C.data,C.traditional)),Xr(Kr,C,n,le),y)return le;w=o.event&&C.global,w&&o.active++===0&&o.event.trigger("ajaxStart"),C.type=C.type.toUpperCase(),C.hasContent=!Vi.test(C.type),i=C.url.replace(Ns,""),C.hasContent?C.data&&C.processData&&(C.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(C.data=C.data.replace(xs,"+")):(I=C.url.slice(i.length),C.data&&(C.processData||typeof C.data=="string")&&(i+=(pr.test(i)?"&":"?")+C.data,delete C.data),C.cache===!1&&(i=i.replace(Ds,"$1"),I=(pr.test(i)?"&":"?")+"_="+An.guid+++I),C.url=i+I),C.ifModified&&(o.lastModified[i]&&le.setRequestHeader("If-Modified-Since",o.lastModified[i]),o.etag[i]&&le.setRequestHeader("If-None-Match",o.etag[i])),(C.data&&C.hasContent&&C.contentType!==!1||n.contentType)&&le.setRequestHeader("Content-Type",C.contentType),le.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+(C.dataTypes[0]!=="*"?", "+Ui+"; q=0.01":""):C.accepts["*"]);for(R in C.headers)le.setRequestHeader(R,C.headers[R]);if(C.beforeSend&&(C.beforeSend.call(B,le,C)===!1||y))return le.abort();if(Ye="abort",ae.add(C.complete),le.done(C.success),le.fail(C.error),r=Xr(mr,C,n,le),!r)ft(-1,"No Transport");else{if(le.readyState=1,w&&re.trigger("ajaxSend",[le,C]),y)return le;C.async&&C.timeout>0&&(d=u.setTimeout(function(){le.abort("timeout")},C.timeout));try{y=!1,r.send(Pe,ft)}catch(_e){if(y)throw _e;ft(-1,_e)}}function ft(_e,Re,Bn,Qr){var Pt,qn,It,Qt,Zt,dt=Re;y||(y=!0,d&&u.clearTimeout(d),r=void 0,c=Qr||"",le.readyState=_e>0?4:0,Pt=_e>=200&&_e<300||_e===304,Bn&&(Qt=Gr(C,le,Bn)),!Pt&&o.inArray("script",C.dataTypes)>-1&&o.inArray("json",C.dataTypes)<0&&(C.converters["text script"]=function(){}),Qt=Rs(C,Qt,le,Pt),Pt?(C.ifModified&&(Zt=le.getResponseHeader("Last-Modified"),Zt&&(o.lastModified[i]=Zt),Zt=le.getResponseHeader("etag"),Zt&&(o.etag[i]=Zt)),_e===204||C.type==="HEAD"?dt="nocontent":_e===304?dt="notmodified":(dt=Qt.state,qn=Qt.data,It=Qt.error,Pt=!It)):(It=dt,(_e||!dt)&&(dt="error",_e<0&&(_e=0))),le.status=_e,le.statusText=(Re||dt)+"",Pt?ge.resolveWith(B,[qn,dt,le]):ge.rejectWith(B,[le,dt,It]),le.statusCode(Be),Be=void 0,w&&re.trigger(Pt?"ajaxSuccess":"ajaxError",[le,C,Pt?qn:It]),ae.fireWith(B,[le,dt]),w&&(re.trigger("ajaxComplete",[le,C]),--o.active||o.event.trigger("ajaxStop")))}return le},getJSON:function(e,n,r){return o.get(e,n,r,"json")},getScript:function(e,n){return o.get(e,void 0,n,"script")}}),o.each(["get","post"],function(e,n){o[n]=function(r,i,c,f){return k(i)&&(f=f||c,c=i,i=void 0),o.ajax(o.extend({url:r,type:n,dataType:f,data:i,success:c},o.isPlainObject(r)&&r))}}),o.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),o._evalUrl=function(e,n,r){return o.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){o.globalEval(i,n,r)}})},o.fn.extend({wrapAll:function(e){var n;return this[0]&&(k(e)&&(e=e.call(this[0])),n=o(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var r=this;r.firstElementChild;)r=r.firstElementChild;return r}).append(this)),this},wrapInner:function(e){return k(e)?this.each(function(n){o(this).wrapInner(e.call(this,n))}):this.each(function(){var n=o(this),r=n.contents();r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){var n=k(e);return this.each(function(r){o(this).wrapAll(n?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.pseudos.hidden=function(e){return!o.expr.pseudos.visible(e)},o.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},o.ajaxSettings.xhr=function(){try{return new u.XMLHttpRequest}catch{}};var Wi={0:200,1223:204},H=o.ajaxSettings.xhr();j.cors=!!H&&"withCredentials"in H,j.ajax=H=!!H,o.ajaxTransport(function(e){var n,r;if(j.cors||H&&!e.crossDomain)return{send:function(i,c){var f,d=e.xhr();if(d.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(f in e.xhrFields)d[f]=e.xhrFields[f];e.mimeType&&d.overrideMimeType&&d.overrideMimeType(e.mimeType),!e.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");for(f in i)d.setRequestHeader(f,i[f]);n=function(b){return function(){n&&(n=r=d.onload=d.onerror=d.onabort=d.ontimeout=d.onreadystatechange=null,b==="abort"?d.abort():b==="error"?typeof d.status!="number"?c(0,"error"):c(d.status,d.statusText):c(Wi[d.status]||d.status,d.statusText,(d.responseType||"text")!=="text"||typeof d.responseText!="string"?{binary:d.response}:{text:d.responseText},d.getAllResponseHeaders()))}},d.onload=n(),r=d.onerror=d.ontimeout=n("error"),d.onabort!==void 0?d.onabort=r:d.onreadystatechange=function(){d.readyState===4&&u.setTimeout(function(){n&&r()})},n=n("abort");try{d.send(e.hasContent&&e.data||null)}catch(b){if(n)throw b}},abort:function(){n&&n()}}}),o.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),o.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 o.globalEval(e),e}}}),o.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),o.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,r;return{send:function(i,c){n=o("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(f){n.remove(),r=null,f&&c(f.type==="error"?404:200,f.type)}),X.head.appendChild(n[0])},abort:function(){r&&r()}}}});var yr=[],vr=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=yr.pop()||o.expando+"_"+An.guid++;return this[e]=!0,e}}),o.ajaxPrefilter("json jsonp",function(e,n,r){var i,c,f,d=e.jsonp!==!1&&(vr.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&vr.test(e.data)&&"data");if(d||e.dataTypes[0]==="jsonp")return i=e.jsonpCallback=k(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,d?e[d]=e[d].replace(vr,"$1"+i):e.jsonp!==!1&&(e.url+=(pr.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return f||o.error(i+" was not called"),f[0]},e.dataTypes[0]="json",c=u[i],u[i]=function(){f=arguments},r.always(function(){c===void 0?o(u).removeProp(i):u[i]=c,e[i]&&(e.jsonpCallback=n.jsonpCallback,yr.push(i)),f&&k(c)&&c(f[0]),f=c=void 0}),"script"}),j.createHTMLDocument=function(){var e=X.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),o.parseHTML=function(e,n,r){if(typeof e!="string")return[];typeof n=="boolean"&&(r=n,n=!1);var i,c,f;return n||(j.createHTMLDocument?(n=X.implementation.createHTMLDocument(""),i=n.createElement("base"),i.href=X.location.href,n.head.appendChild(i)):n=X),c=He.exec(e),f=!r&&[],c?[n.createElement(c[1])]:(c=Ti([e],n,f),f&&f.length&&o(f).remove(),o.merge([],c.childNodes))},o.fn.load=function(e,n,r){var i,c,f,d=this,b=e.indexOf(" ");return b>-1&&(i=et(e.slice(b)),e=e.slice(0,b)),k(n)?(r=n,n=void 0):n&&typeof n=="object"&&(c="POST"),d.length>0&&o.ajax({url:e,type:c||"GET",dataType:"html",data:n}).done(function(y){f=arguments,d.html(i?o("<div>").append(o.parseHTML(y)).find(i):y)}).always(r&&function(y,w){d.each(function(){r.apply(this,f||[y.responseText,w,y])})}),this},o.expr.pseudos.animated=function(e){return o.grep(o.timers,function(n){return e===n.elem}).length},o.offset={setOffset:function(e,n,r){var i,c,f,d,b,y,w,R=o.css(e,"position"),I=o(e),C={};R==="static"&&(e.style.position="relative"),b=I.offset(),f=o.css(e,"top"),y=o.css(e,"left"),w=(R==="absolute"||R==="fixed")&&(f+y).indexOf("auto")>-1,w?(i=I.position(),d=i.top,c=i.left):(d=parseFloat(f)||0,c=parseFloat(y)||0),k(n)&&(n=n.call(e,r,o.extend({},b))),n.top!=null&&(C.top=n.top-b.top+d),n.left!=null&&(C.left=n.left-b.left+c),"using"in n?n.using.call(e,C):I.css(C)}},o.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(c){o.offset.setOffset(this,e,c)});var n,r,i=this[0];if(i)return i.getClientRects().length?(n=i.getBoundingClientRect(),r=i.ownerDocument.defaultView,{top:n.top+r.pageYOffset,left:n.left+r.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,n,r,i=this[0],c={top:0,left:0};if(o.css(i,"position")==="fixed")n=i.getBoundingClientRect();else{for(n=this.offset(),r=i.ownerDocument,e=i.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&o.css(e,"position")==="static";)e=e.parentNode;e&&e!==i&&e.nodeType===1&&(c=o(e).offset(),c.top+=o.css(e,"borderTopWidth",!0),c.left+=o.css(e,"borderLeftWidth",!0))}return{top:n.top-c.top-o.css(i,"marginTop",!0),left:n.left-c.left-o.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&o.css(e,"position")==="static";)e=e.offsetParent;return e||Nt})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=n==="pageYOffset";o.fn[e]=function(i){return vt(this,function(c,f,d){var b;if(U(c)?b=c:c.nodeType===9&&(b=c.defaultView),d===void 0)return b?b[n]:c[f];b?b.scrollTo(r?b.pageXOffset:d,r?d:b.pageYOffset):c[f]=d},e,i,arguments.length)}}),o.each(["top","left"],function(e,n){o.cssHooks[n]=Ni(j.pixelPosition,function(r,i){if(i)return i=En(r,n),lr.test(i)?o(r).position()[n]+"px":i})}),o.each({Height:"height",Width:"width"},function(e,n){o.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){o.fn[i]=function(c,f){var d=arguments.length&&(r||typeof c!="boolean"),b=r||(c===!0||f===!0?"margin":"border");return vt(this,function(y,w,R){var I;return U(y)?i.indexOf("outer")===0?y["inner"+e]:y.document.documentElement["client"+e]:y.nodeType===9?(I=y.documentElement,Math.max(y.body["scroll"+e],I["scroll"+e],y.body["offset"+e],I["offset"+e],I["client"+e])):R===void 0?o.css(y,w,b):o.style(y,w,R,b)},n,d?c:void 0,d)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){o.fn[n]=function(r){return this.on(n,r)}}),o.fn.extend({bind:function(e,n,r){return this.on(e,null,n,r)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,r,i){return this.on(n,e,r,i)},undelegate:function(e,n,r){return arguments.length===1?this.off(e,"**"):this.off(n,e||"**",r)},hover:function(e,n){return this.on("mouseenter",e).on("mouseleave",n||e)}}),o.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,n){o.fn[n]=function(r,i){return arguments.length>0?this.on(n,null,r,i):this.trigger(n)}});var Jr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;o.proxy=function(e,n){var r,i,c;if(typeof n=="string"&&(r=e[n],n=e,e=r),!!k(e))return i=T.call(arguments,2),c=function(){return e.apply(n||this,i.concat(T.call(arguments)))},c.guid=e.guid=e.guid||o.guid++,c},o.holdReady=function(e){e?o.readyWait++:o.ready(!0)},o.isArray=Array.isArray,o.parseJSON=JSON.parse,o.nodeName=ye,o.isFunction=k,o.isWindow=U,o.camelCase=bt,o.type=ve,o.now=Date.now,o.isNumeric=function(e){var n=o.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},o.trim=function(e){return e==null?"":(e+"").replace(Jr,"$1")};var Ut=u.jQuery,Fn=u.$;return o.noConflict=function(e){return u.$===o&&(u.$=Fn),e&&u.jQuery===o&&(u.jQuery=Ut),o},typeof h>"u"&&(u.jQuery=u.$=o),o})})(Ka);var Ad=Ka.exports;const Sd=wd(Ad);var Ta={exports:{}};/*!
|
|
* Tabler v1.4.0 (https://tabler.io)
|
|
* Copyright 2018-2025 The Tabler Authors
|
|
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
*/(function(l,u){(function(h,g){g(u)})(Wa,function(h){const g=document.querySelectorAll('[data-bs-toggle="autosize"]');g.length&&g.forEach(function(a){window.autosize&&window.autosize(a)});const _=document.querySelectorAll("[data-countup]");_.length&&_.forEach(function(a){let t={};try{const p=a.getAttribute("data-countup")?JSON.parse(a.getAttribute("data-countup")):{};t=Object.assign({enableScrollSpy:!0},p)}catch{}const s=parseInt(a.innerHTML,10);if(window.countUp&&window.countUp.CountUp){const p=new window.countUp.CountUp(a,s,t);p.error||p.start()}});var T=[].slice.call(document.querySelectorAll("[data-mask]"));T.map(function(a){window.IMask&&new window.IMask(a,{mask:a.dataset.mask,lazy:a.dataset["mask-visible"]==="true"})});var A="top",D="bottom",q="right",F="left",M="auto",G=[A,D,q,F],se="start",Ee="end",j="clippingParents",k="viewport",U="popper",X="reference",st=G.reduce(function(a,t){return a.concat([t+"-"+se,t+"-"+Ee])},[]),Ce=[].concat(G,[M]).reduce(function(a,t){return a.concat([t,t+"-"+se,t+"-"+Ee])},[]),ve="beforeRead",je="read",Ct="afterRead",o="beforeMain",Ot="main",ye="afterMain",Ln="beforeWrite",Rn="write",rn="afterWrite",pe=[ve,je,Ct,o,Ot,ye,Ln,Rn,rn];function De(a){return a?(a.nodeName||"").toLowerCase():null}function Ue(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var t=a.ownerDocument;return t&&t.defaultView||window}return a}function Le(a){var t=Ue(a).Element;return a instanceof t||a instanceof Element}function xe(a){var t=Ue(a).HTMLElement;return a instanceof t||a instanceof HTMLElement}function Ge(a){if(typeof ShadowRoot>"u")return!1;var t=Ue(a).ShadowRoot;return a instanceof t||a instanceof ShadowRoot}function Ht(a){var t=a.state;Object.keys(t.elements).forEach(function(s){var p=t.styles[s]||{},v=t.attributes[s]||{},S=t.elements[s];!xe(S)||!De(S)||(Object.assign(S.style,p),Object.keys(v).forEach(function(N){var $=v[N];$===!1?S.removeAttribute(N):S.setAttribute(N,$===!0?"":$)}))})}function or(a){var t=a.state,s={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,s.popper),t.styles=s,t.elements.arrow&&Object.assign(t.elements.arrow.style,s.arrow),function(){Object.keys(t.elements).forEach(function(p){var v=t.elements[p],S=t.attributes[p]||{},N=Object.keys(t.styles.hasOwnProperty(p)?t.styles[p]:s[p]),$=N.reduce(function(V,Q){return V[Q]="",V},{});!xe(v)||!De(v)||(Object.assign(v.style,$),Object.keys(S).forEach(function(V){v.removeAttribute(V)}))})}}const Fe={name:"applyStyles",enabled:!0,phase:"write",fn:Ht,effect:or,requires:["computeStyles"]};function He(a){return a.split("-")[0]}var ot=Math.max,xt=Math.min,Ft=Math.round;function Rr(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function hi(){return!/^((?!chrome|android).)*safari/i.test(Rr())}function dn(a,t,s){t===void 0&&(t=!1),s===void 0&&(s=!1);var p=a.getBoundingClientRect(),v=1,S=1;t&&xe(a)&&(v=a.offsetWidth>0&&Ft(p.width)/a.offsetWidth||1,S=a.offsetHeight>0&&Ft(p.height)/a.offsetHeight||1);var N=Le(a)?Ue(a):window,$=N.visualViewport,V=!hi()&&s,Q=(p.left+(V&&$?$.offsetLeft:0))/v,W=(p.top+(V&&$?$.offsetTop:0))/S,ue=p.width/v,de=p.height/S;return{width:ue,height:de,top:W,right:Q+ue,bottom:W+de,left:Q,x:Q,y:W}}function ar(a){var t=dn(a),s=a.offsetWidth,p=a.offsetHeight;return Math.abs(t.width-s)<=1&&(s=t.width),Math.abs(t.height-p)<=1&&(p=t.height),{x:a.offsetLeft,y:a.offsetTop,width:s,height:p}}function _t(a,t){var s=t.getRootNode&&t.getRootNode();if(a.contains(t))return!0;if(s&&Ge(s)){var p=t;do{if(p&&a.isSameNode(p))return!0;p=p.parentNode||p.host}while(p)}return!1}function Bt(a){return Ue(a).getComputedStyle(a)}function hn(a){return["table","td","th"].indexOf(De(a))>=0}function yt(a){return((Le(a)?a.ownerDocument:a.document)||window.document).documentElement}function Pn(a){return De(a)==="html"?a:a.assignedSlot||a.parentNode||(Ge(a)?a.host:null)||yt(a)}function pi(a){return!xe(a)||Bt(a).position==="fixed"?null:a.offsetParent}function Pr(a){var t=/firefox/i.test(Rr()),s=/Trident/i.test(Rr());if(s&&xe(a)){var p=Bt(a);if(p.position==="fixed")return null}var v=Pn(a);for(Ge(v)&&(v=v.host);xe(v)&&["html","body"].indexOf(De(v))<0;){var S=Bt(v);if(S.transform!=="none"||S.perspective!=="none"||S.contain==="paint"||["transform","perspective"].indexOf(S.willChange)!==-1||t&&S.willChange==="filter"||t&&S.filter&&S.filter!=="none")return v;v=v.parentNode}return null}function Xt(a){for(var t=Ue(a),s=pi(a);s&&hn(s)&&Bt(s).position==="static";)s=pi(s);return s&&(De(s)==="html"||De(s)==="body"&&Bt(s).position==="static")?t:s||Pr(a)||t}function vt(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function In(a,t,s){return ot(a,xt(t,s))}function vs(a,t,s){var p=In(a,t,s);return p>s?s:p}function gi(){return{top:0,right:0,bottom:0,left:0}}function bt(a){return Object.assign({},gi(),a)}function pn(a,t){return t.reduce(function(s,p){return s[p]=a,s},{})}var $n=function(t,s){return t=typeof t=="function"?t(Object.assign({},s.rects,{placement:s.placement})):t,bt(typeof t!="number"?t:pn(t,G))};function Z(a){var t,s=a.state,p=a.name,v=a.options,S=s.elements.arrow,N=s.modifiersData.popperOffsets,$=He(s.placement),V=vt($),Q=[F,q].indexOf($)>=0,W=Q?"height":"width";if(!(!S||!N)){var ue=$n(v.padding,s),de=ar(S),oe=V==="y"?A:F,Oe=V==="y"?D:q,he=s.rects.reference[W]+s.rects.reference[V]-N[V]-s.rects.popper[W],be=N[V]-s.rects.reference[V],Ne=Xt(S),$e=Ne?V==="y"?Ne.clientHeight||0:Ne.clientWidth||0:0,ke=he/2-be/2,me=ue[oe],Ae=$e-de[W]-ue[Oe],Se=$e/2-de[W]/2+ke,Ie=In(me,Se,Ae),Xe=V;s.modifiersData[p]=(t={},t[Xe]=Ie,t.centerOffset=Ie-Se,t)}}function Je(a){var t=a.state,s=a.options,p=s.element,v=p===void 0?"[data-popper-arrow]":p;v!=null&&(typeof v=="string"&&(v=t.elements.popper.querySelector(v),!v)||_t(t.elements.popper,v)&&(t.elements.arrow=v))}const mi={name:"arrow",enabled:!0,phase:"main",fn:Z,effect:Je,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gn(a){return a.split("-")[1]}var bs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _i(a,t){var s=a.x,p=a.y,v=t.devicePixelRatio||1;return{x:Ft(s*v)/v||0,y:Ft(p*v)/v||0}}function Ir(a){var t,s=a.popper,p=a.popperRect,v=a.placement,S=a.variation,N=a.offsets,$=a.position,V=a.gpuAcceleration,Q=a.adaptive,W=a.roundOffsets,ue=a.isFixed,de=N.x,oe=de===void 0?0:de,Oe=N.y,he=Oe===void 0?0:Oe,be=typeof W=="function"?W({x:oe,y:he}):{x:oe,y:he};oe=be.x,he=be.y;var Ne=N.hasOwnProperty("x"),$e=N.hasOwnProperty("y"),ke=F,me=A,Ae=window;if(Q){var Se=Xt(s),Ie="clientHeight",Xe="clientWidth";if(Se===Ue(s)&&(Se=yt(s),Bt(Se).position!=="static"&&$==="absolute"&&(Ie="scrollHeight",Xe="scrollWidth")),Se=Se,v===A||(v===F||v===q)&&S===Ee){me=D;var Ke=ue&&Se===Ae&&Ae.visualViewport?Ae.visualViewport.height:Se[Ie];he-=Ke-p.height,he*=V?1:-1}if(v===F||(v===A||v===D)&&S===Ee){ke=q;var Ve=ue&&Se===Ae&&Ae.visualViewport?Ae.visualViewport.width:Se[Xe];oe-=Ve-p.width,oe*=V?1:-1}}var rt=Object.assign({position:$},Q&&bs),Kt=W===!0?_i({x:oe,y:he},Ue(s)):{x:oe,y:he};if(oe=Kt.x,he=Kt.y,V){var ut;return Object.assign({},rt,(ut={},ut[me]=$e?"0":"",ut[ke]=Ne?"0":"",ut.transform=(Ae.devicePixelRatio||1)<=1?"translate("+oe+"px, "+he+"px)":"translate3d("+oe+"px, "+he+"px, 0)",ut))}return Object.assign({},rt,(t={},t[me]=$e?he+"px":"",t[ke]=Ne?oe+"px":"",t.transform="",t))}function kn(a){var t=a.state,s=a.options,p=s.gpuAcceleration,v=p===void 0?!0:p,S=s.adaptive,N=S===void 0?!0:S,$=s.roundOffsets,V=$===void 0?!0:$,Q={placement:He(t.placement),variation:gn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:v,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ir(Object.assign({},Q,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:N,roundOffsets:V})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ir(Object.assign({},Q,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:V})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Et={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:kn,data:{}};var Nt={passive:!0};function mn(a){var t=a.state,s=a.instance,p=a.options,v=p.scroll,S=v===void 0?!0:v,N=p.resize,$=N===void 0?!0:N,V=Ue(t.elements.popper),Q=[].concat(t.scrollParents.reference,t.scrollParents.popper);return S&&Q.forEach(function(W){W.addEventListener("scroll",s.update,Nt)}),$&&V.addEventListener("resize",s.update,Nt),function(){S&&Q.forEach(function(W){W.removeEventListener("scroll",s.update,Nt)}),$&&V.removeEventListener("resize",s.update,Nt)}}const $r={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:mn,data:{}};var ur={left:"right",right:"left",bottom:"top",top:"bottom"};function Mn(a){return a.replace(/left|right|bottom|top/g,function(t){return ur[t]})}var yi={start:"end",end:"start"};function vi(a){return a.replace(/start|end/g,function(t){return yi[t]})}function Gt(a){var t=Ue(a),s=t.pageXOffset,p=t.pageYOffset;return{scrollLeft:s,scrollTop:p}}function sn(a){return dn(yt(a)).left+Gt(a).scrollLeft}function bi(a,t){var s=Ue(a),p=yt(a),v=s.visualViewport,S=p.clientWidth,N=p.clientHeight,$=0,V=0;if(v){S=v.width,N=v.height;var Q=hi();(Q||!Q&&t==="fixed")&&($=v.offsetLeft,V=v.offsetTop)}return{width:S,height:N,x:$+sn(a),y:V}}function Ei(a){var t,s=yt(a),p=Gt(a),v=(t=a.ownerDocument)==null?void 0:t.body,S=ot(s.scrollWidth,s.clientWidth,v?v.scrollWidth:0,v?v.clientWidth:0),N=ot(s.scrollHeight,s.clientHeight,v?v.scrollHeight:0,v?v.clientHeight:0),$=-p.scrollLeft+sn(a),V=-p.scrollTop;return Bt(v||s).direction==="rtl"&&($+=ot(s.clientWidth,v?v.clientWidth:0)-S),{width:S,height:N,x:$,y:V}}function Qe(a){var t=Bt(a),s=t.overflow,p=t.overflowX,v=t.overflowY;return/auto|scroll|overlay|hidden/.test(s+v+p)}function ze(a){return["html","body","#document"].indexOf(De(a))>=0?a.ownerDocument.body:xe(a)&&Qe(a)?a:ze(Pn(a))}function on(a,t){var s;t===void 0&&(t=[]);var p=ze(a),v=p===((s=a.ownerDocument)==null?void 0:s.body),S=Ue(p),N=v?[S].concat(S.visualViewport||[],Qe(p)?p:[]):p,$=t.concat(N);return v?$:$.concat(on(Pn(N)))}function kr(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function Ti(a,t){var s=dn(a,!1,t==="fixed");return s.top=s.top+a.clientTop,s.left=s.left+a.clientLeft,s.bottom=s.top+a.clientHeight,s.right=s.left+a.clientWidth,s.width=a.clientWidth,s.height=a.clientHeight,s.x=s.left,s.y=s.top,s}function Mr(a,t,s){return t===k?kr(bi(a,s)):Le(t)?Ti(t,s):kr(Ei(yt(a)))}function _n(a){var t=on(Pn(a)),s=["absolute","fixed"].indexOf(Bt(a).position)>=0,p=s&&xe(a)?Xt(a):a;return Le(p)?t.filter(function(v){return Le(v)&&_t(v,p)&&De(v)!=="body"}):[]}function yn(a,t,s,p){var v=t==="clippingParents"?_n(a):[].concat(t),S=[].concat(v,[s]),N=S[0],$=S.reduce(function(V,Q){var W=Mr(a,Q,p);return V.top=ot(W.top,V.top),V.right=xt(W.right,V.right),V.bottom=xt(W.bottom,V.bottom),V.left=ot(W.left,V.left),V},Mr(a,N,p));return $.width=$.right-$.left,$.height=$.bottom-$.top,$.x=$.left,$.y=$.top,$}function cr(a){var t=a.reference,s=a.element,p=a.placement,v=p?He(p):null,S=p?gn(p):null,N=t.x+t.width/2-s.width/2,$=t.y+t.height/2-s.height/2,V;switch(v){case A:V={x:N,y:t.y-s.height};break;case D:V={x:N,y:t.y+t.height};break;case q:V={x:t.x+t.width,y:$};break;case F:V={x:t.x-s.width,y:$};break;default:V={x:t.x,y:t.y}}var Q=v?vt(v):null;if(Q!=null){var W=Q==="y"?"height":"width";switch(S){case se:V[Q]=V[Q]-(t[W]/2-s[W]/2);break;case Ee:V[Q]=V[Q]+(t[W]/2-s[W]/2);break}}return V}function qt(a,t){t===void 0&&(t={});var s=t,p=s.placement,v=p===void 0?a.placement:p,S=s.strategy,N=S===void 0?a.strategy:S,$=s.boundary,V=$===void 0?j:$,Q=s.rootBoundary,W=Q===void 0?k:Q,ue=s.elementContext,de=ue===void 0?U:ue,oe=s.altBoundary,Oe=oe===void 0?!1:oe,he=s.padding,be=he===void 0?0:he,Ne=bt(typeof be!="number"?be:pn(be,G)),$e=de===U?X:U,ke=a.rects.popper,me=a.elements[Oe?$e:de],Ae=yn(Le(me)?me:me.contextElement||yt(a.elements.popper),V,W,N),Se=dn(a.elements.reference),Ie=cr({reference:Se,element:ke,placement:v}),Xe=kr(Object.assign({},ke,Ie)),Ke=de===U?Xe:Se,Ve={top:Ae.top-Ke.top+Ne.top,bottom:Ke.bottom-Ae.bottom+Ne.bottom,left:Ae.left-Ke.left+Ne.left,right:Ke.right-Ae.right+Ne.right},rt=a.modifiersData.offset;if(de===U&&rt){var Kt=rt[v];Object.keys(Ve).forEach(function(ut){var Qn=[q,D].indexOf(ut)>=0?1:-1,Zn=[A,D].indexOf(ut)>=0?"y":"x";Ve[ut]+=Kt[Zn]*Qn})}return Ve}function Es(a,t){t===void 0&&(t={});var s=t,p=s.placement,v=s.boundary,S=s.rootBoundary,N=s.padding,$=s.flipVariations,V=s.allowedAutoPlacements,Q=V===void 0?Ce:V,W=gn(p),ue=W?$?st:st.filter(function(Oe){return gn(Oe)===W}):G,de=ue.filter(function(Oe){return Q.indexOf(Oe)>=0});de.length===0&&(de=ue);var oe=de.reduce(function(Oe,he){return Oe[he]=qt(a,{placement:he,boundary:v,rootBoundary:S,padding:N})[He(he)],Oe},{});return Object.keys(oe).sort(function(Oe,he){return oe[Oe]-oe[he]})}function Ts(a){if(He(a)===M)return[];var t=Mn(a);return[vi(a),t,vi(t)]}function ws(a){var t=a.state,s=a.options,p=a.name;if(!t.modifiersData[p]._skip){for(var v=s.mainAxis,S=v===void 0?!0:v,N=s.altAxis,$=N===void 0?!0:N,V=s.fallbackPlacements,Q=s.padding,W=s.boundary,ue=s.rootBoundary,de=s.altBoundary,oe=s.flipVariations,Oe=oe===void 0?!0:oe,he=s.allowedAutoPlacements,be=t.options.placement,Ne=He(be),$e=Ne===be,ke=V||($e||!Oe?[Mn(be)]:Ts(be)),me=[be].concat(ke).reduce(function(xr,Dn){return xr.concat(He(Dn)===M?Es(t,{placement:Dn,boundary:W,rootBoundary:ue,padding:Q,flipVariations:Oe,allowedAutoPlacements:he}):Dn)},[]),Ae=t.rects.reference,Se=t.rects.popper,Ie=new Map,Xe=!0,Ke=me[0],Ve=0;Ve<me.length;Ve++){var rt=me[Ve],Kt=He(rt),ut=gn(rt)===se,Qn=[A,D].indexOf(Kt)>=0,Zn=Qn?"width":"height",St=qt(t,{placement:rt,boundary:W,rootBoundary:ue,altBoundary:de,padding:Q}),zt=Qn?ut?q:F:ut?D:A;Ae[Zn]>Se[Zn]&&(zt=Mn(zt));var rs=Mn(zt),er=[];if(S&&er.push(St[Kt]<=0),$&&er.push(St[zt]<=0,St[rs]<=0),er.every(function(xr){return xr})){Ke=rt,Xe=!1;break}Ie.set(rt,er)}if(Xe)for(var is=Oe?3:1,zs=function(Dn){var oi=me.find(function(os){var tr=Ie.get(os);if(tr)return tr.slice(0,Dn).every(function(Ys){return Ys})});if(oi)return Ke=oi,"break"},si=is;si>0;si--){var ss=zs(si);if(ss==="break")break}t.placement!==Ke&&(t.modifiersData[p]._skip=!0,t.placement=Ke,t.reset=!0)}}const jr={name:"flip",enabled:!0,phase:"main",fn:ws,requiresIfExists:["offset"],data:{_skip:!1}};function wi(a,t,s){return s===void 0&&(s={x:0,y:0}),{top:a.top-t.height-s.y,right:a.right-t.width+s.x,bottom:a.bottom-t.height+s.y,left:a.left-t.width-s.x}}function Ai(a){return[A,q,D,F].some(function(t){return a[t]>=0})}function Si(a){var t=a.state,s=a.name,p=t.rects.reference,v=t.rects.popper,S=t.modifiersData.preventOverflow,N=qt(t,{elementContext:"reference"}),$=qt(t,{altBoundary:!0}),V=wi(N,p),Q=wi($,v,S),W=Ai(V),ue=Ai(Q);t.modifiersData[s]={referenceClippingOffsets:V,popperEscapeOffsets:Q,isReferenceHidden:W,hasPopperEscaped:ue},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":W,"data-popper-escaped":ue})}const Ci={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Si};function vn(a,t,s){var p=He(a),v=[F,A].indexOf(p)>=0?-1:1,S=typeof s=="function"?s(Object.assign({},t,{placement:a})):s,N=S[0],$=S[1];return N=N||0,$=($||0)*v,[F,q].indexOf(p)>=0?{x:$,y:N}:{x:N,y:$}}function Oi(a){var t=a.state,s=a.options,p=a.name,v=s.offset,S=v===void 0?[0,0]:v,N=Ce.reduce(function(W,ue){return W[ue]=vn(ue,t.rects,S),W},{}),$=N[t.placement],V=$.x,Q=$.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=V,t.modifiersData.popperOffsets.y+=Q),t.modifiersData[p]=N}const lr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Oi};function Hr(a){var t=a.state,s=a.name;t.modifiersData[s]=cr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const bn={name:"popperOffsets",enabled:!0,phase:"read",fn:Hr,data:{}};function xi(a){return a==="x"?"y":"x"}function As(a){var t=a.state,s=a.options,p=a.name,v=s.mainAxis,S=v===void 0?!0:v,N=s.altAxis,$=N===void 0?!1:N,V=s.boundary,Q=s.rootBoundary,W=s.altBoundary,ue=s.padding,de=s.tether,oe=de===void 0?!0:de,Oe=s.tetherOffset,he=Oe===void 0?0:Oe,be=qt(t,{boundary:V,rootBoundary:Q,padding:ue,altBoundary:W}),Ne=He(t.placement),$e=gn(t.placement),ke=!$e,me=vt(Ne),Ae=xi(me),Se=t.modifiersData.popperOffsets,Ie=t.rects.reference,Xe=t.rects.popper,Ke=typeof he=="function"?he(Object.assign({},t.rects,{placement:t.placement})):he,Ve=typeof Ke=="number"?{mainAxis:Ke,altAxis:Ke}:Object.assign({mainAxis:0,altAxis:0},Ke),rt=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Kt={x:0,y:0};if(Se){if(S){var ut,Qn=me==="y"?A:F,Zn=me==="y"?D:q,St=me==="y"?"height":"width",zt=Se[me],rs=zt+be[Qn],er=zt-be[Zn],is=oe?-Xe[St]/2:0,zs=$e===se?Ie[St]:Xe[St],si=$e===se?-Xe[St]:-Ie[St],ss=t.elements.arrow,xr=oe&&ss?ar(ss):{width:0,height:0},Dn=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gi(),oi=Dn[Qn],os=Dn[Zn],tr=In(0,Ie[St],xr[St]),Ys=ke?Ie[St]/2-is-tr-oi-Ve.mainAxis:zs-tr-oi-Ve.mainAxis,$l=ke?-Ie[St]/2+is+tr+os+Ve.mainAxis:si+tr+os+Ve.mainAxis,Xs=t.elements.arrow&&Xt(t.elements.arrow),kl=Xs?me==="y"?Xs.clientTop||0:Xs.clientLeft||0:0,Go=(ut=rt==null?void 0:rt[me])!=null?ut:0,Ml=zt+Ys-Go-kl,jl=zt+$l-Go,Jo=In(oe?xt(rs,Ml):rs,zt,oe?ot(er,jl):er);Se[me]=Jo,Kt[me]=Jo-zt}if($){var Qo,Hl=me==="x"?A:F,Fl=me==="x"?D:q,nr=Se[Ae],as=Ae==="y"?"height":"width",Zo=nr+be[Hl],ea=nr-be[Fl],Gs=[A,F].indexOf(Ne)!==-1,ta=(Qo=rt==null?void 0:rt[Ae])!=null?Qo:0,na=Gs?Zo:nr-Ie[as]-Xe[as]-ta+Ve.altAxis,ra=Gs?nr+Ie[as]+Xe[as]-ta-Ve.altAxis:ea,ia=oe&&Gs?vs(na,nr,ra):In(oe?na:Zo,nr,oe?ra:ea);Se[Ae]=ia,Kt[Ae]=ia-nr}t.modifiersData[p]=Kt}}const En={name:"preventOverflow",enabled:!0,phase:"main",fn:As,requiresIfExists:["offset"]};function Ni(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function Di(a){return a===Ue(a)||!xe(a)?Gt(a):Ni(a)}function Li(a){var t=a.getBoundingClientRect(),s=Ft(t.width)/a.offsetWidth||1,p=Ft(t.height)/a.offsetHeight||1;return s!==1||p!==1}function Ri(a,t,s){s===void 0&&(s=!1);var p=xe(t),v=xe(t)&&Li(t),S=yt(t),N=dn(a,v,s),$={scrollLeft:0,scrollTop:0},V={x:0,y:0};return(p||!p&&!s)&&((De(t)!=="body"||Qe(S))&&($=Di(t)),xe(t)?(V=dn(t,!0),V.x+=t.clientLeft,V.y+=t.clientTop):S&&(V.x=sn(S))),{x:N.left+$.scrollLeft-V.x,y:N.top+$.scrollTop-V.y,width:N.width,height:N.height}}function Ss(a){var t=new Map,s=new Set,p=[];a.forEach(function(S){t.set(S.name,S)});function v(S){s.add(S.name);var N=[].concat(S.requires||[],S.requiresIfExists||[]);N.forEach(function($){if(!s.has($)){var V=t.get($);V&&v(V)}}),p.push(S)}return a.forEach(function(S){s.has(S.name)||v(S)}),p}function Fr(a){var t=Ss(a);return pe.reduce(function(s,p){return s.concat(t.filter(function(v){return v.phase===p}))},[])}function Cs(a){var t;return function(){return t||(t=new Promise(function(s){Promise.resolve().then(function(){t=void 0,s(a())})})),t}}function Os(a){var t=a.reduce(function(s,p){var v=s[p.name];return s[p.name]=v?Object.assign({},v,p,{options:Object.assign({},v.options,p.options),data:Object.assign({},v.data,p.data)}):p,s},{});return Object.keys(t).map(function(s){return t[s]})}var Br={placement:"bottom",modifiers:[],strategy:"absolute"};function qr(){for(var a=arguments.length,t=new Array(a),s=0;s<a;s++)t[s]=arguments[s];return!t.some(function(p){return!(p&&typeof p.getBoundingClientRect=="function")})}function Tn(a){a===void 0&&(a={});var t=a,s=t.defaultModifiers,p=s===void 0?[]:s,v=t.defaultOptions,S=v===void 0?Br:v;return function($,V,Q){Q===void 0&&(Q=S);var W={placement:"bottom",orderedModifiers:[],options:Object.assign({},Br,S),modifiersData:{},elements:{reference:$,popper:V},attributes:{},styles:{}},ue=[],de=!1,oe={state:W,setOptions:function(Ne){var $e=typeof Ne=="function"?Ne(W.options):Ne;he(),W.options=Object.assign({},S,W.options,$e),W.scrollParents={reference:Le($)?on($):$.contextElement?on($.contextElement):[],popper:on(V)};var ke=Fr(Os([].concat(p,W.options.modifiers)));return W.orderedModifiers=ke.filter(function(me){return me.enabled}),Oe(),oe.update()},forceUpdate:function(){if(!de){var Ne=W.elements,$e=Ne.reference,ke=Ne.popper;if(qr($e,ke)){W.rects={reference:Ri($e,Xt(ke),W.options.strategy==="fixed"),popper:ar(ke)},W.reset=!1,W.placement=W.options.placement,W.orderedModifiers.forEach(function(Ve){return W.modifiersData[Ve.name]=Object.assign({},Ve.data)});for(var me=0;me<W.orderedModifiers.length;me++){if(W.reset===!0){W.reset=!1,me=-1;continue}var Ae=W.orderedModifiers[me],Se=Ae.fn,Ie=Ae.options,Xe=Ie===void 0?{}:Ie,Ke=Ae.name;typeof Se=="function"&&(W=Se({state:W,options:Xe,name:Ke,instance:oe})||W)}}}},update:Cs(function(){return new Promise(function(be){oe.forceUpdate(),be(W)})}),destroy:function(){he(),de=!0}};if(!qr($,V))return oe;oe.setOptions(Q).then(function(be){!de&&Q.onFirstUpdate&&Q.onFirstUpdate(be)});function Oe(){W.orderedModifiers.forEach(function(be){var Ne=be.name,$e=be.options,ke=$e===void 0?{}:$e,me=be.effect;if(typeof me=="function"){var Ae=me({state:W,name:Ne,instance:oe,options:ke}),Se=function(){};ue.push(Ae||Se)}})}function he(){ue.forEach(function(be){return be()}),ue=[]}return oe}}var Pi=Tn(),Ze=[$r,bn,Et,Fe],wn=Tn({defaultModifiers:Ze}),fr=[$r,bn,Et,Fe,lr,jr,En,mi,Ci],Vr=Tn({defaultModifiers:fr});const Ii=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ye,afterRead:Ct,afterWrite:rn,applyStyles:Fe,arrow:mi,auto:M,basePlacements:G,beforeMain:o,beforeRead:ve,beforeWrite:Ln,bottom:D,clippingParents:j,computeStyles:Et,createPopper:Vr,createPopperBase:Pi,createPopperLite:wn,detectOverflow:qt,end:Ee,eventListeners:$r,flip:jr,hide:Ci,left:F,main:Ot,modifierPhases:pe,offset:lr,placements:Ce,popper:U,popperGenerator:Tn,popperOffsets:bn,preventOverflow:En,read:je,reference:X,right:q,start:se,top:A,variationPlacements:st,viewport:k,write:Rn},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* Bootstrap v5.3.7 (https://getbootstrap.com/)
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/const Dt=new Map,dr={set(a,t,s){Dt.has(a)||Dt.set(a,new Map);const p=Dt.get(a);if(!p.has(t)&&p.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(p.keys())[0]}.`);return}p.set(t,s)},get(a,t){return Dt.has(a)&&Dt.get(a).get(t)||null},remove(a,t){if(!Dt.has(a))return;const s=Dt.get(a);s.delete(t),s.size===0&&Dt.delete(a)}},hr=1e6,$i=1e3,Ur="transitionend",ki=a=>(a&&window.CSS&&window.CSS.escape&&(a=a.replace(/#([^\s"#']+)/g,(t,s)=>`#${CSS.escape(s)}`)),a),Tt=a=>a==null?`${a}`:Object.prototype.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase(),Mi=a=>{do a+=Math.floor(Math.random()*hr);while(document.getElementById(a));return a},jn=a=>{if(!a)return 0;let{transitionDuration:t,transitionDelay:s}=window.getComputedStyle(a);const p=Number.parseFloat(t),v=Number.parseFloat(s);return!p&&!v?0:(t=t.split(",")[0],s=s.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(s))*$i)},ji=a=>{a.dispatchEvent(new Event(Ur))},Vt=a=>!a||typeof a!="object"?!1:(typeof a.jquery<"u"&&(a=a[0]),typeof a.nodeType<"u"),et=a=>Vt(a)?a.jquery?a[0]:a:typeof a=="string"&&a.length>0?document.querySelector(ki(a)):null,ct=a=>{if(!Vt(a)||a.getClientRects().length===0)return!1;const t=getComputedStyle(a).getPropertyValue("visibility")==="visible",s=a.closest("details:not([open])");if(!s)return t;if(s!==a){const p=a.closest("summary");if(p&&p.parentNode!==s||p===null)return!1}return t},Lt=a=>!a||a.nodeType!==Node.ELEMENT_NODE||a.classList.contains("disabled")?!0:typeof a.disabled<"u"?a.disabled:a.hasAttribute("disabled")&&a.getAttribute("disabled")!=="false",Hi=a=>{if(!document.documentElement.attachShadow)return null;if(typeof a.getRootNode=="function"){const t=a.getRootNode();return t instanceof ShadowRoot?t:null}return a instanceof ShadowRoot?a:a.parentNode?Hi(a.parentNode):null},Jt=()=>{},An=a=>{a.offsetHeight},pr=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,gr=[],Fi=a=>{document.readyState==="loading"?(gr.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of gr)t()}),gr.push(a)):a()},lt=()=>document.documentElement.dir==="rtl",at=a=>{Fi(()=>{const t=pr();if(t){const s=a.NAME,p=t.fn[s];t.fn[s]=a.jQueryInterface,t.fn[s].Constructor=a,t.fn[s].noConflict=()=>(t.fn[s]=p,a.jQueryInterface)}})},tt=(a,t=[],s=a)=>typeof a=="function"?a.call(...t):s,Bi=(a,t,s=!0)=>{if(!s){tt(a);return}const v=jn(t)+5;let S=!1;const N=({target:$})=>{$===t&&(S=!0,t.removeEventListener(Ur,N),tt(a))};t.addEventListener(Ur,N),setTimeout(()=>{S||ji(t)},v)},Hn=(a,t,s,p)=>{const v=a.length;let S=a.indexOf(t);return S===-1?!s&&p?a[v-1]:a[0]:(S+=s?1:-1,p&&(S=(S+v)%v),a[Math.max(0,Math.min(S,v-1))])},xs=/[^.]*(?=\..*)\.|.*/,Ns=/\..*/,Ds=/::\d+$/,Wr={};let qi=1;const Vi={mouseenter:"mouseover",mouseleave:"mouseout"},Ls=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Kr(a,t){return t&&`${t}::${qi++}`||a.uidEvent||qi++}function mr(a){const t=Kr(a);return a.uidEvent=t,Wr[t]=Wr[t]||{},Wr[t]}function Ui(a,t){return function s(p){return yr(p,{delegateTarget:a}),s.oneOff&&H.off(a,p.type,t),t.apply(a,[p])}}function zr(a,t,s){return function p(v){const S=a.querySelectorAll(t);for(let{target:N}=v;N&&N!==this;N=N.parentNode)for(const $ of S)if($===N)return yr(v,{delegateTarget:N}),p.oneOff&&H.off(a,v.type,t,s),s.apply(N,[v])}}function Yr(a,t,s=null){return Object.values(a).find(p=>p.callable===t&&p.delegationSelector===s)}function Xr(a,t,s){const p=typeof t=="string",v=p?s:t||s;let S=Wi(a);return Ls.has(S)||(S=a),[p,v,S]}function _r(a,t,s,p,v){if(typeof t!="string"||!a)return;let[S,N,$]=Xr(t,s,p);t in Vi&&(N=(Oe=>function(he){if(!he.relatedTarget||he.relatedTarget!==he.delegateTarget&&!he.delegateTarget.contains(he.relatedTarget))return Oe.call(this,he)})(N));const V=mr(a),Q=V[$]||(V[$]={}),W=Yr(Q,N,S?s:null);if(W){W.oneOff=W.oneOff&&v;return}const ue=Kr(N,t.replace(xs,"")),de=S?zr(a,s,N):Ui(a,N);de.delegationSelector=S?s:null,de.callable=N,de.oneOff=v,de.uidEvent=ue,Q[ue]=de,a.addEventListener($,de,S)}function Gr(a,t,s,p,v){const S=Yr(t[s],p,v);S&&(a.removeEventListener(s,S,!!v),delete t[s][S.uidEvent])}function Rs(a,t,s,p){const v=t[s]||{};for(const[S,N]of Object.entries(v))S.includes(p)&&Gr(a,t,s,N.callable,N.delegationSelector)}function Wi(a){return a=a.replace(Ns,""),Vi[a]||a}const H={on(a,t,s,p){_r(a,t,s,p,!1)},one(a,t,s,p){_r(a,t,s,p,!0)},off(a,t,s,p){if(typeof t!="string"||!a)return;const[v,S,N]=Xr(t,s,p),$=N!==t,V=mr(a),Q=V[N]||{},W=t.startsWith(".");if(typeof S<"u"){if(!Object.keys(Q).length)return;Gr(a,V,N,S,v?s:null);return}if(W)for(const ue of Object.keys(V))Rs(a,V,ue,t.slice(1));for(const[ue,de]of Object.entries(Q)){const oe=ue.replace(Ds,"");(!$||t.includes(oe))&&Gr(a,V,N,de.callable,de.delegationSelector)}},trigger(a,t,s){if(typeof t!="string"||!a)return null;const p=pr(),v=Wi(t),S=t!==v;let N=null,$=!0,V=!0,Q=!1;S&&p&&(N=p.Event(t,s),p(a).trigger(N),$=!N.isPropagationStopped(),V=!N.isImmediatePropagationStopped(),Q=N.isDefaultPrevented());const W=yr(new Event(t,{bubbles:$,cancelable:!0}),s);return Q&&W.preventDefault(),V&&a.dispatchEvent(W),W.defaultPrevented&&N&&N.preventDefault(),W}};function yr(a,t={}){for(const[s,p]of Object.entries(t))try{a[s]=p}catch{Object.defineProperty(a,s,{configurable:!0,get(){return p}})}return a}function vr(a){if(a==="true")return!0;if(a==="false")return!1;if(a===Number(a).toString())return Number(a);if(a===""||a==="null")return null;if(typeof a!="string")return a;try{return JSON.parse(decodeURIComponent(a))}catch{return a}}function Jr(a){return a.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Ut={setDataAttribute(a,t,s){a.setAttribute(`data-bs-${Jr(t)}`,s)},removeDataAttribute(a,t){a.removeAttribute(`data-bs-${Jr(t)}`)},getDataAttributes(a){if(!a)return{};const t={},s=Object.keys(a.dataset).filter(p=>p.startsWith("bs")&&!p.startsWith("bsConfig"));for(const p of s){let v=p.replace(/^bs/,"");v=v.charAt(0).toLowerCase()+v.slice(1),t[v]=vr(a.dataset[p])}return t},getDataAttribute(a,t){return vr(a.getAttribute(`data-bs-${Jr(t)}`))}};class Fn{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,s){const p=Vt(s)?Ut.getDataAttribute(s,"config"):{};return{...this.constructor.Default,...typeof p=="object"?p:{},...Vt(s)?Ut.getDataAttributes(s):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,s=this.constructor.DefaultType){for(const[p,v]of Object.entries(s)){const S=t[p],N=Vt(S)?"element":Tt(S);if(!new RegExp(v).test(N))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${p}" provided type "${N}" but expected type "${v}".`)}}}const e="5.3.7";class n extends Fn{constructor(t,s){super(),t=et(t),t&&(this._element=t,this._config=this._getConfig(s),dr.set(this._element,this.constructor.DATA_KEY,this))}dispose(){dr.remove(this._element,this.constructor.DATA_KEY),H.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,s,p=!0){Bi(t,s,p)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return dr.get(et(t),this.DATA_KEY)}static getOrCreateInstance(t,s={}){return this.getInstance(t)||new this(t,typeof s=="object"?s:null)}static get VERSION(){return e}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const r=a=>{let t=a.getAttribute("data-bs-target");if(!t||t==="#"){let s=a.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&s!=="#"?s.trim():null}return t?t.split(",").map(s=>ki(s)).join(","):null},i={find(a,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,a))},findOne(a,t=document.documentElement){return Element.prototype.querySelector.call(t,a)},children(a,t){return[].concat(...a.children).filter(s=>s.matches(t))},parents(a,t){const s=[];let p=a.parentNode.closest(t);for(;p;)s.push(p),p=p.parentNode.closest(t);return s},prev(a,t){let s=a.previousElementSibling;for(;s;){if(s.matches(t))return[s];s=s.previousElementSibling}return[]},next(a,t){let s=a.nextElementSibling;for(;s;){if(s.matches(t))return[s];s=s.nextElementSibling}return[]},focusableChildren(a){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(s=>`${s}:not([tabindex^="-"])`).join(",");return this.find(t,a).filter(s=>!Lt(s)&&ct(s))},getSelectorFromElement(a){const t=r(a);return t&&i.findOne(t)?t:null},getElementFromSelector(a){const t=r(a);return t?i.findOne(t):null},getMultipleElementsFromSelector(a){const t=r(a);return t?i.find(t):[]}},c=(a,t="hide")=>{const s=`click.dismiss${a.EVENT_KEY}`,p=a.NAME;H.on(document,s,`[data-bs-dismiss="${p}"]`,function(v){if(["A","AREA"].includes(this.tagName)&&v.preventDefault(),Lt(this))return;const S=i.getElementFromSelector(this)||this.closest(`.${p}`);a.getOrCreateInstance(S)[t]()})},f="alert",b=".bs.alert",y=`close${b}`,w=`closed${b}`,R="fade",I="show";class C extends n{static get NAME(){return f}close(){if(H.trigger(this._element,y).defaultPrevented)return;this._element.classList.remove(I);const s=this._element.classList.contains(R);this._queueCallback(()=>this._destroyElement(),this._element,s)}_destroyElement(){this._element.remove(),H.trigger(this._element,w),this.dispose()}static jQueryInterface(t){return this.each(function(){const s=C.getOrCreateInstance(this);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t](this)}})}}c(C,"close"),at(C);const B="button",ge=".bs.button",ae=".data-api",Be="active",Pe='[data-bs-toggle="button"]',Rt=`click${ge}${ae}`;class Ye extends n{static get NAME(){return B}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Be))}static jQueryInterface(t){return this.each(function(){const s=Ye.getOrCreateInstance(this);t==="toggle"&&s[t]()})}}H.on(document,Rt,Pe,a=>{a.preventDefault();const t=a.target.closest(Pe);Ye.getOrCreateInstance(t).toggle()}),at(Ye);const le="swipe",ft=".bs.swipe",_e=`touchstart${ft}`,Re=`touchmove${ft}`,Bn=`touchend${ft}`,Qr=`pointerdown${ft}`,Pt=`pointerup${ft}`,qn="touch",It="pen",Qt="pointer-event",Zt=40,dt={endCallback:null,leftCallback:null,rightCallback:null},Zr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ht extends Fn{constructor(t,s){super(),this._element=t,!(!t||!ht.isSupported())&&(this._config=this._getConfig(s),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return dt}static get DefaultType(){return Zr}static get NAME(){return le}dispose(){H.off(this._element,ft)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),tt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Zt)return;const s=t/this._deltaX;this._deltaX=0,s&&tt(s>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(H.on(this._element,Qr,t=>this._start(t)),H.on(this._element,Pt,t=>this._end(t)),this._element.classList.add(Qt)):(H.on(this._element,_e,t=>this._start(t)),H.on(this._element,Re,t=>this._move(t)),H.on(this._element,Bn,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===It||t.pointerType===qn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Wt="carousel",en=".bs.carousel",Ki=".data-api",Te="ArrowLeft",br="ArrowRight",wt=500,$t="next",Sn="prev",Cn="left",Vn="right",an=`slide${en}`,Un=`slid${en}`,tn=`keydown${en}`,zi=`mouseenter${en}`,Wn=`mouseleave${en}`,Er=`dragstart${en}`,Tr=`load${en}${Ki}`,ei=`click${en}${Ki}`,Yi="carousel",un="active",ti="slide",ni="carousel-item-end",Ps="carousel-item-start",ri="carousel-item-next",Xi="carousel-item-prev",m=".active",E=".carousel-item",O=m+E,L=".carousel-item img",P=".carousel-indicators",K="[data-bs-slide], [data-bs-slide-to]",z='[data-bs-ride="carousel"]',J={[Te]:Vn,[br]:Cn},Y={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ce={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class te extends n{constructor(t,s){super(t,s),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=i.findOne(P,this._element),this._addEventListeners(),this._config.ride===Yi&&this.cycle()}static get Default(){return Y}static get DefaultType(){return ce}static get NAME(){return Wt}next(){this._slide($t)}nextWhenVisible(){!document.hidden&&ct(this._element)&&this.next()}prev(){this._slide(Sn)}pause(){this._isSliding&&ji(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){H.one(this._element,Un,()=>this.cycle());return}this.cycle()}}to(t){const s=this._getItems();if(t>s.length-1||t<0)return;if(this._isSliding){H.one(this._element,Un,()=>this.to(t));return}const p=this._getItemIndex(this._getActive());if(p===t)return;const v=t>p?$t:Sn;this._slide(v,s[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&H.on(this._element,tn,t=>this._keydown(t)),this._config.pause==="hover"&&(H.on(this._element,zi,()=>this.pause()),H.on(this._element,Wn,()=>this._maybeEnableCycle())),this._config.touch&&ht.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const p of i.find(L,this._element))H.on(p,Er,v=>v.preventDefault());const s={leftCallback:()=>this._slide(this._directionToOrder(Cn)),rightCallback:()=>this._slide(this._directionToOrder(Vn)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),wt+this._config.interval))}};this._swipeHelper=new ht(this._element,s)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const s=J[t.key];s&&(t.preventDefault(),this._slide(this._directionToOrder(s)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const s=i.findOne(m,this._indicatorsElement);s.classList.remove(un),s.removeAttribute("aria-current");const p=i.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);p&&(p.classList.add(un),p.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const s=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=s||this._config.defaultInterval}_slide(t,s=null){if(this._isSliding)return;const p=this._getActive(),v=t===$t,S=s||Hn(this._getItems(),p,v,this._config.wrap);if(S===p)return;const N=this._getItemIndex(S),$=oe=>H.trigger(this._element,oe,{relatedTarget:S,direction:this._orderToDirection(t),from:this._getItemIndex(p),to:N});if($(an).defaultPrevented||!p||!S)return;const Q=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(N),this._activeElement=S;const W=v?Ps:ni,ue=v?ri:Xi;S.classList.add(ue),An(S),p.classList.add(W),S.classList.add(W);const de=()=>{S.classList.remove(W,ue),S.classList.add(un),p.classList.remove(un,ue,W),this._isSliding=!1,$(Un)};this._queueCallback(de,p,this._isAnimated()),Q&&this.cycle()}_isAnimated(){return this._element.classList.contains(ti)}_getActive(){return i.findOne(O,this._element)}_getItems(){return i.find(E,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return lt()?t===Cn?Sn:$t:t===Cn?$t:Sn}_orderToDirection(t){return lt()?t===Sn?Cn:Vn:t===Sn?Vn:Cn}static jQueryInterface(t){return this.each(function(){const s=te.getOrCreateInstance(this,t);if(typeof t=="number"){s.to(t);return}if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t]()}})}}H.on(document,ei,K,function(a){const t=i.getElementFromSelector(this);if(!t||!t.classList.contains(Yi))return;a.preventDefault();const s=te.getOrCreateInstance(t),p=this.getAttribute("data-bs-slide-to");if(p){s.to(p),s._maybeEnableCycle();return}if(Ut.getDataAttribute(this,"slide")==="next"){s.next(),s._maybeEnableCycle();return}s.prev(),s._maybeEnableCycle()}),H.on(window,Tr,()=>{const a=i.find(z);for(const t of a)te.getOrCreateInstance(t)}),at(te);const ie="collapse",ee=".bs.collapse",we=".data-api",nt=`show${ee}`,We=`shown${ee}`,pt=`hide${ee}`,kt=`hidden${ee}`,On=`click${ee}${we}`,qe="show",wr="collapse",Gi="collapsing",za="collapsed",Ya=`:scope .${wr} .${wr}`,Xa="collapse-horizontal",Ga="width",Ja="height",Qa=".collapse.show, .collapse.collapsing",Is='[data-bs-toggle="collapse"]',Za={parent:null,toggle:!0},eu={parent:"(null|element)",toggle:"boolean"};class Kn extends n{constructor(t,s){super(t,s),this._isTransitioning=!1,this._triggerArray=[];const p=i.find(Is);for(const v of p){const S=i.getSelectorFromElement(v),N=i.find(S).filter($=>$===this._element);S!==null&&N.length&&this._triggerArray.push(v)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Za}static get DefaultType(){return eu}static get NAME(){return ie}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Qa).filter($=>$!==this._element).map($=>Kn.getOrCreateInstance($,{toggle:!1}))),t.length&&t[0]._isTransitioning||H.trigger(this._element,nt).defaultPrevented)return;for(const $ of t)$.hide();const p=this._getDimension();this._element.classList.remove(wr),this._element.classList.add(Gi),this._element.style[p]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const v=()=>{this._isTransitioning=!1,this._element.classList.remove(Gi),this._element.classList.add(wr,qe),this._element.style[p]="",H.trigger(this._element,We)},N=`scroll${p[0].toUpperCase()+p.slice(1)}`;this._queueCallback(v,this._element,!0),this._element.style[p]=`${this._element[N]}px`}hide(){if(this._isTransitioning||!this._isShown()||H.trigger(this._element,pt).defaultPrevented)return;const s=this._getDimension();this._element.style[s]=`${this._element.getBoundingClientRect()[s]}px`,An(this._element),this._element.classList.add(Gi),this._element.classList.remove(wr,qe);for(const v of this._triggerArray){const S=i.getElementFromSelector(v);S&&!this._isShown(S)&&this._addAriaAndCollapsedClass([v],!1)}this._isTransitioning=!0;const p=()=>{this._isTransitioning=!1,this._element.classList.remove(Gi),this._element.classList.add(wr),H.trigger(this._element,kt)};this._element.style[s]="",this._queueCallback(p,this._element,!0)}_isShown(t=this._element){return t.classList.contains(qe)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=et(t.parent),t}_getDimension(){return this._element.classList.contains(Xa)?Ga:Ja}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Is);for(const s of t){const p=i.getElementFromSelector(s);p&&this._addAriaAndCollapsedClass([s],this._isShown(p))}}_getFirstLevelChildren(t){const s=i.find(Ya,this._config.parent);return i.find(t,this._config.parent).filter(p=>!s.includes(p))}_addAriaAndCollapsedClass(t,s){if(t.length)for(const p of t)p.classList.toggle(za,!s),p.setAttribute("aria-expanded",s)}static jQueryInterface(t){const s={};return typeof t=="string"&&/show|hide/.test(t)&&(s.toggle=!1),this.each(function(){const p=Kn.getOrCreateInstance(this,s);if(typeof t=="string"){if(typeof p[t]>"u")throw new TypeError(`No method named "${t}"`);p[t]()}})}}H.on(document,On,Is,function(a){(a.target.tagName==="A"||a.delegateTarget&&a.delegateTarget.tagName==="A")&&a.preventDefault();for(const t of i.getMultipleElementsFromSelector(this))Kn.getOrCreateInstance(t,{toggle:!1}).toggle()}),at(Kn);const lo="dropdown",zn=".bs.dropdown",$s=".data-api",tu="Escape",fo="Tab",nu="ArrowUp",ho="ArrowDown",ru=2,iu=`hide${zn}`,su=`hidden${zn}`,ou=`show${zn}`,au=`shown${zn}`,po=`click${zn}${$s}`,go=`keydown${zn}${$s}`,uu=`keyup${zn}${$s}`,Ar="show",cu="dropup",lu="dropend",fu="dropstart",du="dropup-center",hu="dropdown-center",Yn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',pu=`${Yn}.${Ar}`,Ji=".dropdown-menu",gu=".navbar",mu=".navbar-nav",_u=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",yu=lt()?"top-end":"top-start",vu=lt()?"top-start":"top-end",bu=lt()?"bottom-end":"bottom-start",Eu=lt()?"bottom-start":"bottom-end",Tu=lt()?"left-start":"right-start",wu=lt()?"right-start":"left-start",Au="top",Su="bottom",Cu={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ou={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class At extends n{constructor(t,s){super(t,s),this._popper=null,this._parent=this._element.parentNode,this._menu=i.next(this._element,Ji)[0]||i.prev(this._element,Ji)[0]||i.findOne(Ji,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Cu}static get DefaultType(){return Ou}static get NAME(){return lo}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Lt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!H.trigger(this._element,ou,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(mu))for(const p of[].concat(...document.body.children))H.on(p,"mouseover",Jt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ar),this._element.classList.add(Ar),H.trigger(this._element,au,t)}}hide(){if(Lt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!H.trigger(this._element,iu,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))H.off(p,"mouseover",Jt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ar),this._element.classList.remove(Ar),this._element.setAttribute("aria-expanded","false"),Ut.removeDataAttribute(this._menu,"popper"),H.trigger(this._element,su,t),this._element.focus()}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Vt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${lo.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Ii>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:Vt(this._config.reference)?t=et(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const s=this._getPopperConfig();this._popper=Vr(t,this._menu,s)}_isShown(){return this._menu.classList.contains(Ar)}_getPlacement(){const t=this._parent;if(t.classList.contains(lu))return Tu;if(t.classList.contains(fu))return wu;if(t.classList.contains(du))return Au;if(t.classList.contains(hu))return Su;const s=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(cu)?s?vu:yu:s?Eu:bu}_detectNavbar(){return this._element.closest(gu)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(s=>Number.parseInt(s,10)):typeof t=="function"?s=>t(s,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ut.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...tt(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:s}){const p=i.find(_u,this._menu).filter(v=>ct(v));p.length&&Hn(p,s,t===ho,!p.includes(s)).focus()}static jQueryInterface(t){return this.each(function(){const s=At.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}static clearMenus(t){if(t.button===ru||t.type==="keyup"&&t.key!==fo)return;const s=i.find(pu);for(const p of s){const v=At.getInstance(p);if(!v||v._config.autoClose===!1)continue;const S=t.composedPath(),N=S.includes(v._menu);if(S.includes(v._element)||v._config.autoClose==="inside"&&!N||v._config.autoClose==="outside"&&N||v._menu.contains(t.target)&&(t.type==="keyup"&&t.key===fo||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const $={relatedTarget:v._element};t.type==="click"&&($.clickEvent=t),v._completeHide($)}}static dataApiKeydownHandler(t){const s=/input|textarea/i.test(t.target.tagName),p=t.key===tu,v=[nu,ho].includes(t.key);if(!v&&!p||s&&!p)return;t.preventDefault();const S=this.matches(Yn)?this:i.prev(this,Yn)[0]||i.next(this,Yn)[0]||i.findOne(Yn,t.delegateTarget.parentNode),N=At.getOrCreateInstance(S);if(v){t.stopPropagation(),N.show(),N._selectMenuItem(t);return}N._isShown()&&(t.stopPropagation(),N.hide(),S.focus())}}H.on(document,go,Yn,At.dataApiKeydownHandler),H.on(document,go,Ji,At.dataApiKeydownHandler),H.on(document,po,At.clearMenus),H.on(document,uu,At.clearMenus),H.on(document,po,Yn,function(a){a.preventDefault(),At.getOrCreateInstance(this).toggle()}),at(At);const mo="backdrop",xu="fade",_o="show",yo=`mousedown.bs.${mo}`,Nu={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Du={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class vo extends Fn{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Nu}static get DefaultType(){return Du}static get NAME(){return mo}show(t){if(!this._config.isVisible){tt(t);return}this._append();const s=this._getElement();this._config.isAnimated&&An(s),s.classList.add(_o),this._emulateAnimation(()=>{tt(t)})}hide(t){if(!this._config.isVisible){tt(t);return}this._getElement().classList.remove(_o),this._emulateAnimation(()=>{this.dispose(),tt(t)})}dispose(){this._isAppended&&(H.off(this._element,yo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(xu),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=et(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),H.on(t,yo,()=>{tt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Bi(t,this._getElement(),this._config.isAnimated)}}const Lu="focustrap",Qi=".bs.focustrap",Ru=`focusin${Qi}`,Pu=`keydown.tab${Qi}`,Iu="Tab",$u="forward",bo="backward",ku={autofocus:!0,trapElement:null},Mu={autofocus:"boolean",trapElement:"element"};class Eo extends Fn{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ku}static get DefaultType(){return Mu}static get NAME(){return Lu}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),H.off(document,Qi),H.on(document,Ru,t=>this._handleFocusin(t)),H.on(document,Pu,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,H.off(document,Qi))}_handleFocusin(t){const{trapElement:s}=this._config;if(t.target===document||t.target===s||s.contains(t.target))return;const p=i.focusableChildren(s);p.length===0?s.focus():this._lastTabNavDirection===bo?p[p.length-1].focus():p[0].focus()}_handleKeydown(t){t.key===Iu&&(this._lastTabNavDirection=t.shiftKey?bo:$u)}}const To=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",wo=".sticky-top",Zi="padding-right",Ao="margin-right";class ks{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Zi,s=>s+t),this._setElementAttributes(To,Zi,s=>s+t),this._setElementAttributes(wo,Ao,s=>s-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Zi),this._resetElementAttributes(To,Zi),this._resetElementAttributes(wo,Ao)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,s,p){const v=this.getWidth(),S=N=>{if(N!==this._element&&window.innerWidth>N.clientWidth+v)return;this._saveInitialAttribute(N,s);const $=window.getComputedStyle(N).getPropertyValue(s);N.style.setProperty(s,`${p(Number.parseFloat($))}px`)};this._applyManipulationCallback(t,S)}_saveInitialAttribute(t,s){const p=t.style.getPropertyValue(s);p&&Ut.setDataAttribute(t,s,p)}_resetElementAttributes(t,s){const p=v=>{const S=Ut.getDataAttribute(v,s);if(S===null){v.style.removeProperty(s);return}Ut.removeDataAttribute(v,s),v.style.setProperty(s,S)};this._applyManipulationCallback(t,p)}_applyManipulationCallback(t,s){if(Vt(t)){s(t);return}for(const p of i.find(t,this._element))s(p)}}const ju="modal",Mt=".bs.modal",Hu=".data-api",Fu="Escape",Bu=`hide${Mt}`,qu=`hidePrevented${Mt}`,So=`hidden${Mt}`,Co=`show${Mt}`,Vu=`shown${Mt}`,Uu=`resize${Mt}`,Wu=`click.dismiss${Mt}`,Ku=`mousedown.dismiss${Mt}`,zu=`keydown.dismiss${Mt}`,Yu=`click${Mt}${Hu}`,Oo="modal-open",Xu="fade",xo="show",Ms="modal-static",Gu=".modal.show",Ju=".modal-dialog",Qu=".modal-body",Zu='[data-bs-toggle="modal"]',ec={backdrop:!0,focus:!0,keyboard:!0},tc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class xn extends n{constructor(t,s){super(t,s),this._dialog=i.findOne(Ju,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ks,this._addEventListeners()}static get Default(){return ec}static get DefaultType(){return tc}static get NAME(){return ju}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||H.trigger(this._element,Co,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Oo),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||H.trigger(this._element,Bu).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(xo),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){H.off(window,Mt),H.off(this._dialog,Mt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new vo({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Eo({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const s=i.findOne(Qu,this._dialog);s&&(s.scrollTop=0),An(this._element),this._element.classList.add(xo);const p=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,H.trigger(this._element,Vu,{relatedTarget:t})};this._queueCallback(p,this._dialog,this._isAnimated())}_addEventListeners(){H.on(this._element,zu,t=>{if(t.key===Fu){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),H.on(window,Uu,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),H.on(this._element,Ku,t=>{H.one(this._element,Wu,s=>{if(!(this._element!==t.target||this._element!==s.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Oo),this._resetAdjustments(),this._scrollBar.reset(),H.trigger(this._element,So)})}_isAnimated(){return this._element.classList.contains(Xu)}_triggerBackdropTransition(){if(H.trigger(this._element,qu).defaultPrevented)return;const s=this._element.scrollHeight>document.documentElement.clientHeight,p=this._element.style.overflowY;p==="hidden"||this._element.classList.contains(Ms)||(s||(this._element.style.overflowY="hidden"),this._element.classList.add(Ms),this._queueCallback(()=>{this._element.classList.remove(Ms),this._queueCallback(()=>{this._element.style.overflowY=p},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,s=this._scrollBar.getWidth(),p=s>0;if(p&&!t){const v=lt()?"paddingLeft":"paddingRight";this._element.style[v]=`${s}px`}if(!p&&t){const v=lt()?"paddingRight":"paddingLeft";this._element.style[v]=`${s}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,s){return this.each(function(){const p=xn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof p[t]>"u")throw new TypeError(`No method named "${t}"`);p[t](s)}})}}H.on(document,Yu,Zu,function(a){const t=i.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&a.preventDefault(),H.one(t,Co,v=>{v.defaultPrevented||H.one(t,So,()=>{ct(this)&&this.focus()})});const s=i.findOne(Gu);s&&xn.getInstance(s).hide(),xn.getOrCreateInstance(t).toggle(this)}),c(xn),at(xn);const nc="offcanvas",cn=".bs.offcanvas",No=".data-api",rc=`load${cn}${No}`,ic="Escape",Do="show",Lo="showing",Ro="hiding",sc="offcanvas-backdrop",Po=".offcanvas.show",oc=`show${cn}`,ac=`shown${cn}`,uc=`hide${cn}`,Io=`hidePrevented${cn}`,$o=`hidden${cn}`,cc=`resize${cn}`,lc=`click${cn}${No}`,fc=`keydown.dismiss${cn}`,dc='[data-bs-toggle="offcanvas"]',hc={backdrop:!0,keyboard:!0,scroll:!1},pc={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nn extends n{constructor(t,s){super(t,s),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return hc}static get DefaultType(){return pc}static get NAME(){return nc}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||H.trigger(this._element,oc,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ks().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Lo);const p=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Do),this._element.classList.remove(Lo),H.trigger(this._element,ac,{relatedTarget:t})};this._queueCallback(p,this._element,!0)}hide(){if(!this._isShown||H.trigger(this._element,uc).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ro),this._backdrop.hide();const s=()=>{this._element.classList.remove(Do,Ro),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ks().reset(),H.trigger(this._element,$o)};this._queueCallback(s,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){H.trigger(this._element,Io);return}this.hide()},s=!!this._config.backdrop;return new vo({className:sc,isVisible:s,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:s?t:null})}_initializeFocusTrap(){return new Eo({trapElement:this._element})}_addEventListeners(){H.on(this._element,fc,t=>{if(t.key===ic){if(this._config.keyboard){this.hide();return}H.trigger(this._element,Io)}})}static jQueryInterface(t){return this.each(function(){const s=nn.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t](this)}})}}H.on(document,lc,dc,function(a){const t=i.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),Lt(this))return;H.one(t,$o,()=>{ct(this)&&this.focus()});const s=i.findOne(Po);s&&s!==t&&nn.getInstance(s).hide(),nn.getOrCreateInstance(t).toggle(this)}),H.on(window,rc,()=>{for(const a of i.find(Po))nn.getOrCreateInstance(a).show()}),H.on(window,cc,()=>{for(const a of i.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(a).position!=="fixed"&&nn.getOrCreateInstance(a).hide()}),c(nn),at(nn);const ko={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},gc=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),mc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,_c=(a,t)=>{const s=a.nodeName.toLowerCase();return t.includes(s)?gc.has(s)?!!mc.test(a.nodeValue):!0:t.filter(p=>p instanceof RegExp).some(p=>p.test(s))};function yc(a,t,s){if(!a.length)return a;if(s&&typeof s=="function")return s(a);const v=new window.DOMParser().parseFromString(a,"text/html"),S=[].concat(...v.body.querySelectorAll("*"));for(const N of S){const $=N.nodeName.toLowerCase();if(!Object.keys(t).includes($)){N.remove();continue}const V=[].concat(...N.attributes),Q=[].concat(t["*"]||[],t[$]||[]);for(const W of V)_c(W,Q)||N.removeAttribute(W.nodeName)}return v.body.innerHTML}const vc="TemplateFactory",bc={allowList:ko,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ec={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Tc={entry:"(string|element|function|null)",selector:"(string|element)"};class wc extends Fn{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return bc}static get DefaultType(){return Ec}static get NAME(){return vc}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[v,S]of Object.entries(this._config.content))this._setContent(t,S,v);const s=t.children[0],p=this._resolvePossibleFunction(this._config.extraClass);return p&&s.classList.add(...p.split(" ")),s}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[s,p]of Object.entries(t))super._typeCheckConfig({selector:s,entry:p},Tc)}_setContent(t,s,p){const v=i.findOne(p,t);if(v){if(s=this._resolvePossibleFunction(s),!s){v.remove();return}if(Vt(s)){this._putElementInTemplate(et(s),v);return}if(this._config.html){v.innerHTML=this._maybeSanitize(s);return}v.textContent=s}}_maybeSanitize(t){return this._config.sanitize?yc(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return tt(t,[void 0,this])}_putElementInTemplate(t,s){if(this._config.html){s.innerHTML="",s.append(t);return}s.textContent=t.textContent}}const Ac="tooltip",Sc=new Set(["sanitize","allowList","sanitizeFn"]),js="fade",Cc="modal",es="show",Oc=".tooltip-inner",Mo=`.${Cc}`,jo="hide.bs.modal",ii="hover",Hs="focus",Fs="click",xc="manual",Nc="hide",Dc="hidden",Lc="show",Rc="shown",Pc="inserted",Ic="click",$c="focusin",kc="focusout",Mc="mouseenter",jc="mouseleave",Hc={AUTO:"auto",TOP:"top",RIGHT:lt()?"left":"right",BOTTOM:"bottom",LEFT:lt()?"right":"left"},Fc={allowList:ko,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Bc={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ln extends n{constructor(t,s){if(typeof Ii>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,s),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Fc}static get DefaultType(){return Bc}static get NAME(){return Ac}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),H.off(this._element.closest(Mo),jo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=H.trigger(this._element,this.constructor.eventName(Lc)),p=(Hi(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!p)return;this._disposePopper();const v=this._getTipElement();this._element.setAttribute("aria-describedby",v.getAttribute("id"));const{container:S}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(S.append(v),H.trigger(this._element,this.constructor.eventName(Pc))),this._popper=this._createPopper(v),v.classList.add(es),"ontouchstart"in document.documentElement)for(const $ of[].concat(...document.body.children))H.on($,"mouseover",Jt);const N=()=>{H.trigger(this._element,this.constructor.eventName(Rc)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(N,this.tip,this._isAnimated())}hide(){if(!this._isShown()||H.trigger(this._element,this.constructor.eventName(Nc)).defaultPrevented)return;if(this._getTipElement().classList.remove(es),"ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))H.off(v,"mouseover",Jt);this._activeTrigger[Fs]=!1,this._activeTrigger[Hs]=!1,this._activeTrigger[ii]=!1,this._isHovered=null;const p=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),H.trigger(this._element,this.constructor.eventName(Dc)))};this._queueCallback(p,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const s=this._getTemplateFactory(t).toHtml();if(!s)return null;s.classList.remove(js,es),s.classList.add(`bs-${this.constructor.NAME}-auto`);const p=Mi(this.constructor.NAME).toString();return s.setAttribute("id",p),this._isAnimated()&&s.classList.add(js),s}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new wc({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Oc]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(js)}_isShown(){return this.tip&&this.tip.classList.contains(es)}_createPopper(t){const s=tt(this._config.placement,[this,t,this._element]),p=Hc[s.toUpperCase()];return Vr(this._element,t,this._getPopperConfig(p))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(s=>Number.parseInt(s,10)):typeof t=="function"?s=>t(s,this._element):t}_resolvePossibleFunction(t){return tt(t,[this._element,this._element])}_getPopperConfig(t){const s={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:p=>{this._getTipElement().setAttribute("data-popper-placement",p.state.placement)}}]};return{...s,...tt(this._config.popperConfig,[void 0,s])}}_setListeners(){const t=this._config.trigger.split(" ");for(const s of t)if(s==="click")H.on(this._element,this.constructor.eventName(Ic),this._config.selector,p=>{const v=this._initializeOnDelegatedTarget(p);v._activeTrigger[Fs]=!(v._isShown()&&v._activeTrigger[Fs]),v.toggle()});else if(s!==xc){const p=s===ii?this.constructor.eventName(Mc):this.constructor.eventName($c),v=s===ii?this.constructor.eventName(jc):this.constructor.eventName(kc);H.on(this._element,p,this._config.selector,S=>{const N=this._initializeOnDelegatedTarget(S);N._activeTrigger[S.type==="focusin"?Hs:ii]=!0,N._enter()}),H.on(this._element,v,this._config.selector,S=>{const N=this._initializeOnDelegatedTarget(S);N._activeTrigger[S.type==="focusout"?Hs:ii]=N._element.contains(S.relatedTarget),N._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},H.on(this._element.closest(Mo),jo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,s){clearTimeout(this._timeout),this._timeout=setTimeout(t,s)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const s=Ut.getDataAttributes(this._element);for(const p of Object.keys(s))Sc.has(p)&&delete s[p];return t={...s,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:et(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[s,p]of Object.entries(this._config))this.constructor.Default[s]!==p&&(t[s]=p);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const s=ln.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}at(ln);const qc="popover",Vc=".popover-header",Uc=".popover-body",Wc={...ln.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Kc={...ln.DefaultType,content:"(null|string|element|function)"};class Sr extends ln{static get Default(){return Wc}static get DefaultType(){return Kc}static get NAME(){return qc}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Vc]:this._getTitle(),[Uc]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const s=Sr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}at(Sr);const zc="scrollspy",Bs=".bs.scrollspy",Yc=".data-api",Xc=`activate${Bs}`,Ho=`click${Bs}`,Gc=`load${Bs}${Yc}`,Jc="dropdown-item",Cr="active",Qc='[data-bs-spy="scroll"]',qs="[href]",Zc=".nav, .list-group",Fo=".nav-link",el=`${Fo}, .nav-item > ${Fo}, .list-group-item`,tl=".dropdown",nl=".dropdown-toggle",rl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},il={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Or extends n{constructor(t,s){super(t,s),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return rl}static get DefaultType(){return il}static get NAME(){return zc}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=et(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(s=>Number.parseFloat(s))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(H.off(this._config.target,Ho),H.on(this._config.target,Ho,qs,t=>{const s=this._observableSections.get(t.target.hash);if(s){t.preventDefault();const p=this._rootElement||window,v=s.offsetTop-this._element.offsetTop;if(p.scrollTo){p.scrollTo({top:v,behavior:"smooth"});return}p.scrollTop=v}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(s=>this._observerCallback(s),t)}_observerCallback(t){const s=N=>this._targetLinks.get(`#${N.target.id}`),p=N=>{this._previousScrollData.visibleEntryTop=N.target.offsetTop,this._process(s(N))},v=(this._rootElement||document.documentElement).scrollTop,S=v>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=v;for(const N of t){if(!N.isIntersecting){this._activeTarget=null,this._clearActiveClass(s(N));continue}const $=N.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(S&&$){if(p(N),!v)return;continue}!S&&!$&&p(N)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=i.find(qs,this._config.target);for(const s of t){if(!s.hash||Lt(s))continue;const p=i.findOne(decodeURI(s.hash),this._element);ct(p)&&(this._targetLinks.set(decodeURI(s.hash),s),this._observableSections.set(s.hash,p))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Cr),this._activateParents(t),H.trigger(this._element,Xc,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Jc)){i.findOne(nl,t.closest(tl)).classList.add(Cr);return}for(const s of i.parents(t,Zc))for(const p of i.prev(s,el))p.classList.add(Cr)}_clearActiveClass(t){t.classList.remove(Cr);const s=i.find(`${qs}.${Cr}`,t);for(const p of s)p.classList.remove(Cr)}static jQueryInterface(t){return this.each(function(){const s=Or.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t]()}})}}H.on(window,Gc,()=>{for(const a of i.find(Qc))Or.getOrCreateInstance(a)}),at(Or);const sl="tab",Xn=".bs.tab",ol=`hide${Xn}`,al=`hidden${Xn}`,ul=`show${Xn}`,cl=`shown${Xn}`,ll=`click${Xn}`,fl=`keydown${Xn}`,dl=`load${Xn}`,hl="ArrowLeft",Bo="ArrowRight",pl="ArrowUp",qo="ArrowDown",Vs="Home",Vo="End",Gn="active",Uo="fade",Us="show",gl="dropdown",Wo=".dropdown-toggle",ml=".dropdown-menu",Ws=`:not(${Wo})`,_l='.list-group, .nav, [role="tablist"]',yl=".nav-item, .list-group-item",vl=`.nav-link${Ws}, .list-group-item${Ws}, [role="tab"]${Ws}`,Ko='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ks=`${vl}, ${Ko}`,bl=`.${Gn}[data-bs-toggle="tab"], .${Gn}[data-bs-toggle="pill"], .${Gn}[data-bs-toggle="list"]`;class fn extends n{constructor(t){super(t),this._parent=this._element.closest(_l),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),H.on(this._element,fl,s=>this._keydown(s)))}static get NAME(){return sl}show(){const t=this._element;if(this._elemIsActive(t))return;const s=this._getActiveElem(),p=s?H.trigger(s,ol,{relatedTarget:t}):null;H.trigger(t,ul,{relatedTarget:s}).defaultPrevented||p&&p.defaultPrevented||(this._deactivate(s,t),this._activate(t,s))}_activate(t,s){if(!t)return;t.classList.add(Gn),this._activate(i.getElementFromSelector(t));const p=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Us);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),H.trigger(t,cl,{relatedTarget:s})};this._queueCallback(p,t,t.classList.contains(Uo))}_deactivate(t,s){if(!t)return;t.classList.remove(Gn),t.blur(),this._deactivate(i.getElementFromSelector(t));const p=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Us);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),H.trigger(t,al,{relatedTarget:s})};this._queueCallback(p,t,t.classList.contains(Uo))}_keydown(t){if(![hl,Bo,pl,qo,Vs,Vo].includes(t.key))return;t.stopPropagation(),t.preventDefault();const s=this._getChildren().filter(v=>!Lt(v));let p;if([Vs,Vo].includes(t.key))p=s[t.key===Vs?0:s.length-1];else{const v=[Bo,qo].includes(t.key);p=Hn(s,t.target,v,!0)}p&&(p.focus({preventScroll:!0}),fn.getOrCreateInstance(p).show())}_getChildren(){return i.find(Ks,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,s){this._setAttributeIfNotExists(t,"role","tablist");for(const p of s)this._setInitialAttributesOnChild(p)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const s=this._elemIsActive(t),p=this._getOuterElement(t);t.setAttribute("aria-selected",s),p!==t&&this._setAttributeIfNotExists(p,"role","presentation"),s||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const s=i.getElementFromSelector(t);s&&(this._setAttributeIfNotExists(s,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(s,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,s){const p=this._getOuterElement(t);if(!p.classList.contains(gl))return;const v=(S,N)=>{const $=i.findOne(S,p);$&&$.classList.toggle(N,s)};v(Wo,Gn),v(ml,Us),p.setAttribute("aria-expanded",s)}_setAttributeIfNotExists(t,s,p){t.hasAttribute(s)||t.setAttribute(s,p)}_elemIsActive(t){return t.classList.contains(Gn)}_getInnerElement(t){return t.matches(Ks)?t:i.findOne(Ks,t)}_getOuterElement(t){return t.closest(yl)||t}static jQueryInterface(t){return this.each(function(){const s=fn.getOrCreateInstance(this);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t]()}})}}H.on(document,ll,Ko,function(a){["A","AREA"].includes(this.tagName)&&a.preventDefault(),!Lt(this)&&fn.getOrCreateInstance(this).show()}),H.on(window,dl,()=>{for(const a of i.find(bl))fn.getOrCreateInstance(a)}),at(fn);const El="toast",Nn=".bs.toast",Tl=`mouseover${Nn}`,wl=`mouseout${Nn}`,Al=`focusin${Nn}`,Sl=`focusout${Nn}`,Cl=`hide${Nn}`,Ol=`hidden${Nn}`,xl=`show${Nn}`,Nl=`shown${Nn}`,Dl="fade",zo="hide",ts="show",ns="showing",Ll={animation:"boolean",autohide:"boolean",delay:"number"},Rl={animation:!0,autohide:!0,delay:5e3};class Jn extends n{constructor(t,s){super(t,s),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Rl}static get DefaultType(){return Ll}static get NAME(){return El}show(){if(H.trigger(this._element,xl).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Dl);const s=()=>{this._element.classList.remove(ns),H.trigger(this._element,Nl),this._maybeScheduleHide()};this._element.classList.remove(zo),An(this._element),this._element.classList.add(ts,ns),this._queueCallback(s,this._element,this._config.animation)}hide(){if(!this.isShown()||H.trigger(this._element,Cl).defaultPrevented)return;const s=()=>{this._element.classList.add(zo),this._element.classList.remove(ns,ts),H.trigger(this._element,Ol)};this._element.classList.add(ns),this._queueCallback(s,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ts),super.dispose()}isShown(){return this._element.classList.contains(ts)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,s){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=s;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=s;break}}if(s){this._clearTimeout();return}const p=t.relatedTarget;this._element===p||this._element.contains(p)||this._maybeScheduleHide()}_setListeners(){H.on(this._element,Tl,t=>this._onInteraction(t,!0)),H.on(this._element,wl,t=>this._onInteraction(t,!1)),H.on(this._element,Al,t=>this._onInteraction(t,!0)),H.on(this._element,Sl,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const s=Jn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](this)}})}}c(Jn),at(Jn);const Pl=Object.freeze(Object.defineProperty({__proto__:null,Alert:C,Button:Ye,Carousel:te,Collapse:Kn,Dropdown:At,Modal:xn,Offcanvas:nn,Popover:Sr,ScrollSpy:Or,Tab:fn,Toast:Jn,Tooltip:ln},Symbol.toStringTag,{value:"Module"}));[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]')).map(function(a){let t={boundary:a.getAttribute("data-bs-boundary")==="viewport"?document.querySelector(".btn"):"clippingParents"};return new At(a,t)}),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(a){let t={delay:{show:50,hide:50},html:a.getAttribute("data-bs-html")==="true",placement:a.getAttribute("data-bs-placement")??"auto"};return new ln(a,t)}),[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(a){let t={delay:{show:50,hide:50},html:a.getAttribute("data-bs-html")==="true",placement:a.getAttribute("data-bs-placement")??"auto"};return new Sr(a,t)}),[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]')).map(function(a){a.addEventListener("click",t=>{t.stopPropagation(),a.classList.toggle("active")})}),(()=>{const a=window.location.hash;a&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(p=>p.hash===a).map(p=>{new fn(p).show()})})(),[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]')).map(function(a){if(!a.hasAttribute("data-bs-target"))return;const t=new Jn(a.getAttribute("data-bs-target"));a.addEventListener("click",()=>{t.show()})});const Yo="tblr-",Xo=(a,t)=>{const s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return s?`rgba(${parseInt(s[1],16)}, ${parseInt(s[2],16)}, ${parseInt(s[3],16)}, ${t})`:null},Il=Object.freeze(Object.defineProperty({__proto__:null,getColor:(a,t=1)=>{const s=getComputedStyle(document.body).getPropertyValue(`--${Yo}${a}`).trim();return t!==1?Xo(s,t):s},hexToRgba:Xo,prefix:Yo},Symbol.toStringTag,{value:"Module"}));h.Alert=C,h.Button=Ye,h.Carousel=te,h.Collapse=Kn,h.Dropdown=At,h.Modal=xn,h.Offcanvas=nn,h.Popover=Sr,h.ScrollSpy=Or,h.Tab=fn,h.Toast=Jn,h.Tooltip=ln,h.bootstrap=Pl,h.tabler=Il,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})})})(Ta,Ta.exports);/*!
|
|
* Tabler v1.4.0 (https://tabler.io)
|
|
* Copyright 2018-2025 The Tabler Authors
|
|
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
*/(function(l){typeof define=="function"&&define.amd?define(l):l()})(function(){const l={theme:"light","theme-base":"gray","theme-font":"sans-serif","theme-primary":"blue","theme-radius":"1"},u=new Proxy(new URLSearchParams(window.location.search),{get:(h,g)=>h.get(g)});for(const h in l){const g=u[h];let _;if(g)localStorage.setItem("tabler-"+h,g),_=g;else{const T=localStorage.getItem("tabler-"+h);_=T||l[h]}_!==l[h]?document.documentElement.setAttribute("data-bs-"+h,_):document.documentElement.removeAttribute("data-bs-"+h)}});window.$=window.jQuery=Sd;
|