10 lines
234 KiB
JavaScript
10 lines
234 KiB
JavaScript
function sa(n,e){return function(){return n.apply(e,arguments)}}const{toString:$c}=Object.prototype,{getPrototypeOf:Fr}=Object,{iterator:Ti,toStringTag:oa}=Symbol,wi=(n=>e=>{const r=$c.call(e);return n[r]||(n[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Vt=n=>(n=n.toLowerCase(),e=>wi(e)===n),Si=n=>e=>typeof e===n,{isArray:on}=Array,Qe=Si("undefined");function Cn(n){return n!==null&&!Qe(n)&&n.constructor!==null&&!Qe(n.constructor)&&Ot(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const aa=Vt("ArrayBuffer");function Hc(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&aa(n.buffer),e}const Fc=Si("string"),Ot=Si("function"),la=Si("number"),On=n=>n!==null&&typeof n=="object",Bc=n=>n===!0||n===!1,li=n=>{if(wi(n)!=="object")return!1;const e=Fr(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(oa in n)&&!(Ti in n)},qc=n=>{if(!On(n)||Cn(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},Uc=Vt("Date"),Wc=Vt("File"),Vc=Vt("Blob"),zc=Vt("FileList"),Kc=n=>On(n)&&Ot(n.pipe),Yc=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||Ot(n.append)&&((e=wi(n))==="formdata"||e==="object"&&Ot(n.toString)&&n.toString()==="[object FormData]"))},Gc=Vt("URLSearchParams"),[Xc,Qc,Jc,Zc]=["ReadableStream","Request","Response","Headers"].map(Vt),tu=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Nn(n,e,{allOwnKeys:r=!1}={}){if(n===null||typeof n>"u")return;let o,c;if(typeof n!="object"&&(n=[n]),on(n))for(o=0,c=n.length;o<c;o++)e.call(null,n[o],o,n);else{if(Cn(n))return;const d=r?Object.getOwnPropertyNames(n):Object.keys(n),h=d.length;let p;for(o=0;o<h;o++)p=d[o],e.call(null,n[p],p,n)}}function ca(n,e){if(Cn(n))return null;e=e.toLowerCase();const r=Object.keys(n);let o=r.length,c;for(;o-- >0;)if(c=r[o],e===c.toLowerCase())return c;return null}const Te=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ua=n=>!Qe(n)&&n!==Te;function Nr(){const{caseless:n,skipUndefined:e}=ua(this)&&this||{},r={},o=(c,d)=>{const h=n&&ca(r,d)||d;li(r[h])&&li(c)?r[h]=Nr(r[h],c):li(c)?r[h]=Nr({},c):on(c)?r[h]=c.slice():(!e||!Qe(c))&&(r[h]=c)};for(let c=0,d=arguments.length;c<d;c++)arguments[c]&&Nn(arguments[c],o);return r}const eu=(n,e,r,{allOwnKeys:o}={})=>(Nn(e,(c,d)=>{r&&Ot(c)?n[d]=sa(c,r):n[d]=c},{allOwnKeys:o}),n),nu=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),iu=(n,e,r,o)=>{n.prototype=Object.create(e.prototype,o),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),r&&Object.assign(n.prototype,r)},ru=(n,e,r,o)=>{let c,d,h;const p={};if(e=e||{},n==null)return e;do{for(c=Object.getOwnPropertyNames(n),d=c.length;d-- >0;)h=c[d],(!o||o(h,n,e))&&!p[h]&&(e[h]=n[h],p[h]=!0);n=r!==!1&&Fr(n)}while(n&&(!r||r(n,e))&&n!==Object.prototype);return e},su=(n,e,r)=>{n=String(n),(r===void 0||r>n.length)&&(r=n.length),r-=e.length;const o=n.indexOf(e,r);return o!==-1&&o===r},ou=n=>{if(!n)return null;if(on(n))return n;let e=n.length;if(!la(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=n[e];return r},au=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Fr(Uint8Array)),lu=(n,e)=>{const o=(n&&n[Ti]).call(n);let c;for(;(c=o.next())&&!c.done;){const d=c.value;e.call(n,d[0],d[1])}},cu=(n,e)=>{let r;const o=[];for(;(r=n.exec(e))!==null;)o.push(r);return o},uu=Vt("HTMLFormElement"),fu=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,c){return o.toUpperCase()+c}),Xs=(({hasOwnProperty:n})=>(e,r)=>n.call(e,r))(Object.prototype),du=Vt("RegExp"),fa=(n,e)=>{const r=Object.getOwnPropertyDescriptors(n),o={};Nn(r,(c,d)=>{let h;(h=e(c,d,n))!==!1&&(o[d]=h||c)}),Object.defineProperties(n,o)},hu=n=>{fa(n,(e,r)=>{if(Ot(n)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=n[r];if(Ot(o)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},pu=(n,e)=>{const r={},o=c=>{c.forEach(d=>{r[d]=!0})};return on(n)?o(n):o(String(n).split(e)),r},gu=()=>{},mu=(n,e)=>n!=null&&Number.isFinite(n=+n)?n:e;function yu(n){return!!(n&&Ot(n.append)&&n[oa]==="FormData"&&n[Ti])}const vu=n=>{const e=new Array(10),r=(o,c)=>{if(On(o)){if(e.indexOf(o)>=0)return;if(Cn(o))return o;if(!("toJSON"in o)){e[c]=o;const d=on(o)?[]:{};return Nn(o,(h,p)=>{const m=r(h,c+1);!Qe(m)&&(d[p]=m)}),e[c]=void 0,d}}return o};return r(n,0)},_u=Vt("AsyncFunction"),bu=n=>n&&(On(n)||Ot(n))&&Ot(n.then)&&Ot(n.catch),da=((n,e)=>n?setImmediate:e?((r,o)=>(Te.addEventListener("message",({source:c,data:d})=>{c===Te&&d===r&&o.length&&o.shift()()},!1),c=>{o.push(c),Te.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ot(Te.postMessage)),Eu=typeof queueMicrotask<"u"?queueMicrotask.bind(Te):typeof process<"u"&&process.nextTick||da,Tu=n=>n!=null&&Ot(n[Ti]),N={isArray:on,isArrayBuffer:aa,isBuffer:Cn,isFormData:Yc,isArrayBufferView:Hc,isString:Fc,isNumber:la,isBoolean:Bc,isObject:On,isPlainObject:li,isEmptyObject:qc,isReadableStream:Xc,isRequest:Qc,isResponse:Jc,isHeaders:Zc,isUndefined:Qe,isDate:Uc,isFile:Wc,isBlob:Vc,isRegExp:du,isFunction:Ot,isStream:Kc,isURLSearchParams:Gc,isTypedArray:au,isFileList:zc,forEach:Nn,merge:Nr,extend:eu,trim:tu,stripBOM:nu,inherits:iu,toFlatObject:ru,kindOf:wi,kindOfTest:Vt,endsWith:su,toArray:ou,forEachEntry:lu,matchAll:cu,isHTMLForm:uu,hasOwnProperty:Xs,hasOwnProp:Xs,reduceDescriptors:fa,freezeMethods:hu,toObjectSet:pu,toCamelCase:fu,noop:gu,toFiniteNumber:mu,findKey:ca,global:Te,isContextDefined:ua,isSpecCompliantForm:yu,toJSONObject:vu,isAsyncFn:_u,isThenable:bu,setImmediate:da,asap:Eu,isIterable:Tu};function rt(n,e,r,o,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),o&&(this.request=o),c&&(this.response=c,this.status=c.status?c.status:null)}N.inherits(rt,Error,{toJSON:function(){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:N.toJSONObject(this.config),code:this.code,status:this.status}}});const ha=rt.prototype,pa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{pa[n]={value:n}});Object.defineProperties(rt,pa);Object.defineProperty(ha,"isAxiosError",{value:!0});rt.from=(n,e,r,o,c,d)=>{const h=Object.create(ha);N.toFlatObject(n,h,function(v){return v!==Error.prototype},_=>_!=="isAxiosError");const p=n&&n.message?n.message:"Error",m=e==null&&n?n.code:e;return rt.call(h,p,m,r,o,c),n&&h.cause==null&&Object.defineProperty(h,"cause",{value:n,configurable:!0}),h.name=n&&n.name||"Error",d&&Object.assign(h,d),h};const wu=null;function Dr(n){return N.isPlainObject(n)||N.isArray(n)}function ga(n){return N.endsWith(n,"[]")?n.slice(0,-2):n}function Qs(n,e,r){return n?n.concat(e).map(function(c,d){return c=ga(c),!r&&d?"["+c+"]":c}).join(r?".":""):e}function Su(n){return N.isArray(n)&&!n.some(Dr)}const Au=N.toFlatObject(N,{},null,function(e){return/^is[A-Z]/.test(e)});function Ai(n,e,r){if(!N.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,r=N.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,x){return!N.isUndefined(x[S])});const o=r.metaTokens,c=r.visitor||v,d=r.dots,h=r.indexes,m=(r.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(e);if(!N.isFunction(c))throw new TypeError("visitor must be a function");function _(E){if(E===null)return"";if(N.isDate(E))return E.toISOString();if(N.isBoolean(E))return E.toString();if(!m&&N.isBlob(E))throw new rt("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(E)||N.isTypedArray(E)?m&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function v(E,S,x){let P=E;if(E&&!x&&typeof E=="object"){if(N.endsWith(S,"{}"))S=o?S:S.slice(0,-2),E=JSON.stringify(E);else if(N.isArray(E)&&Su(E)||(N.isFileList(E)||N.endsWith(S,"[]"))&&(P=N.toArray(E)))return S=ga(S),P.forEach(function(W,$){!(N.isUndefined(W)||W===null)&&e.append(h===!0?Qs([S],$,d):h===null?S:S+"[]",_(W))}),!1}return Dr(E)?!0:(e.append(Qs(x,S,d),_(E)),!1)}const O=[],I=Object.assign(Au,{defaultVisitor:v,convertValue:_,isVisitable:Dr});function k(E,S){if(!N.isUndefined(E)){if(O.indexOf(E)!==-1)throw Error("Circular reference detected in "+S.join("."));O.push(E),N.forEach(E,function(P,U){(!(N.isUndefined(P)||P===null)&&c.call(e,P,N.isString(U)?U.trim():U,S,I))===!0&&k(P,S?S.concat(U):[U])}),O.pop()}}if(!N.isObject(n))throw new TypeError("data must be an object");return k(n),e}function Js(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(o){return e[o]})}function Br(n,e){this._pairs=[],n&&Ai(n,this,e)}const ma=Br.prototype;ma.append=function(e,r){this._pairs.push([e,r])};ma.toString=function(e){const r=e?function(o){return e.call(this,o,Js)}:Js;return this._pairs.map(function(c){return r(c[0])+"="+r(c[1])},"").join("&")};function xu(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ya(n,e,r){if(!e)return n;const o=r&&r.encode||xu;N.isFunction(r)&&(r={serialize:r});const c=r&&r.serialize;let d;if(c?d=c(e,r):d=N.isURLSearchParams(e)?e.toString():new Br(e,r).toString(o),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Zs{constructor(){this.handlers=[]}use(e,r,o){return this.handlers.push({fulfilled:e,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){N.forEach(this.handlers,function(o){o!==null&&e(o)})}}const va={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cu=typeof URLSearchParams<"u"?URLSearchParams:Br,Ou=typeof FormData<"u"?FormData:null,Nu=typeof Blob<"u"?Blob:null,Du={isBrowser:!0,classes:{URLSearchParams:Cu,FormData:Ou,Blob:Nu},protocols:["http","https","file","blob","url","data"]},qr=typeof window<"u"&&typeof document<"u",Lr=typeof navigator=="object"&&navigator||void 0,Lu=qr&&(!Lr||["ReactNative","NativeScript","NS"].indexOf(Lr.product)<0),Pu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ru=qr&&window.location.href||"http://localhost",Iu=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qr,hasStandardBrowserEnv:Lu,hasStandardBrowserWebWorkerEnv:Pu,navigator:Lr,origin:Ru},Symbol.toStringTag,{value:"Module"})),Et={...Iu,...Du};function ku(n,e){return Ai(n,new Et.classes.URLSearchParams,{visitor:function(r,o,c,d){return Et.isNode&&N.isBuffer(r)?(this.append(o,r.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...e})}function Mu(n){return N.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ju(n){const e={},r=Object.keys(n);let o;const c=r.length;let d;for(o=0;o<c;o++)d=r[o],e[d]=n[d];return e}function _a(n){function e(r,o,c,d){let h=r[d++];if(h==="__proto__")return!0;const p=Number.isFinite(+h),m=d>=r.length;return h=!h&&N.isArray(c)?c.length:h,m?(N.hasOwnProp(c,h)?c[h]=[c[h],o]:c[h]=o,!p):((!c[h]||!N.isObject(c[h]))&&(c[h]=[]),e(r,o,c[h],d)&&N.isArray(c[h])&&(c[h]=ju(c[h])),!p)}if(N.isFormData(n)&&N.isFunction(n.entries)){const r={};return N.forEachEntry(n,(o,c)=>{e(Mu(o),c,r,0)}),r}return null}function $u(n,e,r){if(N.isString(n))try{return(e||JSON.parse)(n),N.trim(n)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(n)}const Dn={transitional:va,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const o=r.getContentType()||"",c=o.indexOf("application/json")>-1,d=N.isObject(e);if(d&&N.isHTMLForm(e)&&(e=new FormData(e)),N.isFormData(e))return c?JSON.stringify(_a(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e)||N.isReadableStream(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let p;if(d){if(o.indexOf("application/x-www-form-urlencoded")>-1)return ku(e,this.formSerializer).toString();if((p=N.isFileList(e))||o.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return Ai(p?{"files[]":e}:e,m&&new m,this.formSerializer)}}return d||c?(r.setContentType("application/json",!1),$u(e)):e}],transformResponse:[function(e){const r=this.transitional||Dn.transitional,o=r&&r.forcedJSONParsing,c=this.responseType==="json";if(N.isResponse(e)||N.isReadableStream(e))return e;if(e&&N.isString(e)&&(o&&!this.responseType||c)){const h=!(r&&r.silentJSONParsing)&&c;try{return JSON.parse(e,this.parseReviver)}catch(p){if(h)throw p.name==="SyntaxError"?rt.from(p,rt.ERR_BAD_RESPONSE,this,null,this.response):p}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Et.classes.FormData,Blob:Et.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],n=>{Dn.headers[n]={}});const Hu=N.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"]),Fu=n=>{const e={};let r,o,c;return n&&n.split(`
|
||
`).forEach(function(h){c=h.indexOf(":"),r=h.substring(0,c).trim().toLowerCase(),o=h.substring(c+1).trim(),!(!r||e[r]&&Hu[r])&&(r==="set-cookie"?e[r]?e[r].push(o):e[r]=[o]:e[r]=e[r]?e[r]+", "+o:o)}),e},to=Symbol("internals");function En(n){return n&&String(n).trim().toLowerCase()}function ci(n){return n===!1||n==null?n:N.isArray(n)?n.map(ci):String(n)}function Bu(n){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(n);)e[o[1]]=o[2];return e}const qu=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ir(n,e,r,o,c){if(N.isFunction(o))return o.call(this,e,r);if(c&&(e=r),!!N.isString(e)){if(N.isString(o))return e.indexOf(o)!==-1;if(N.isRegExp(o))return o.test(e)}}function Uu(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,o)=>r.toUpperCase()+o)}function Wu(n,e){const r=N.toCamelCase(" "+e);["get","set","has"].forEach(o=>{Object.defineProperty(n,o+r,{value:function(c,d,h){return this[o].call(this,e,c,d,h)},configurable:!0})})}let Nt=class{constructor(e){e&&this.set(e)}set(e,r,o){const c=this;function d(p,m,_){const v=En(m);if(!v)throw new Error("header name must be a non-empty string");const O=N.findKey(c,v);(!O||c[O]===void 0||_===!0||_===void 0&&c[O]!==!1)&&(c[O||m]=ci(p))}const h=(p,m)=>N.forEach(p,(_,v)=>d(_,v,m));if(N.isPlainObject(e)||e instanceof this.constructor)h(e,r);else if(N.isString(e)&&(e=e.trim())&&!qu(e))h(Fu(e),r);else if(N.isObject(e)&&N.isIterable(e)){let p={},m,_;for(const v of e){if(!N.isArray(v))throw TypeError("Object iterator must return a key-value pair");p[_=v[0]]=(m=p[_])?N.isArray(m)?[...m,v[1]]:[m,v[1]]:v[1]}h(p,r)}else e!=null&&d(r,e,o);return this}get(e,r){if(e=En(e),e){const o=N.findKey(this,e);if(o){const c=this[o];if(!r)return c;if(r===!0)return Bu(c);if(N.isFunction(r))return r.call(this,c,o);if(N.isRegExp(r))return r.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=En(e),e){const o=N.findKey(this,e);return!!(o&&this[o]!==void 0&&(!r||ir(this,this[o],o,r)))}return!1}delete(e,r){const o=this;let c=!1;function d(h){if(h=En(h),h){const p=N.findKey(o,h);p&&(!r||ir(o,o[p],p,r))&&(delete o[p],c=!0)}}return N.isArray(e)?e.forEach(d):d(e),c}clear(e){const r=Object.keys(this);let o=r.length,c=!1;for(;o--;){const d=r[o];(!e||ir(this,this[d],d,e,!0))&&(delete this[d],c=!0)}return c}normalize(e){const r=this,o={};return N.forEach(this,(c,d)=>{const h=N.findKey(o,d);if(h){r[h]=ci(c),delete r[d];return}const p=e?Uu(d):String(d).trim();p!==d&&delete r[d],r[p]=ci(c),o[p]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return N.forEach(this,(o,c)=>{o!=null&&o!==!1&&(r[c]=e&&N.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const o=new this(e);return r.forEach(c=>o.set(c)),o}static accessor(e){const o=(this[to]=this[to]={accessors:{}}).accessors,c=this.prototype;function d(h){const p=En(h);o[p]||(Wu(c,h),o[p]=!0)}return N.isArray(e)?e.forEach(d):d(e),this}};Nt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Nt.prototype,({value:n},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(o){this[r]=o}}});N.freezeMethods(Nt);function rr(n,e){const r=this||Dn,o=e||r,c=Nt.from(o.headers);let d=o.data;return N.forEach(n,function(p){d=p.call(r,d,c.normalize(),e?e.status:void 0)}),c.normalize(),d}function ba(n){return!!(n&&n.__CANCEL__)}function an(n,e,r){rt.call(this,n??"canceled",rt.ERR_CANCELED,e,r),this.name="CanceledError"}N.inherits(an,rt,{__CANCEL__:!0});function Ea(n,e,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?n(r):e(new rt("Request failed with status code "+r.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Vu(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function zu(n,e){n=n||10;const r=new Array(n),o=new Array(n);let c=0,d=0,h;return e=e!==void 0?e:1e3,function(m){const _=Date.now(),v=o[d];h||(h=_),r[c]=m,o[c]=_;let O=d,I=0;for(;O!==c;)I+=r[O++],O=O%n;if(c=(c+1)%n,c===d&&(d=(d+1)%n),_-h<e)return;const k=v&&_-v;return k?Math.round(I*1e3/k):void 0}}function Ku(n,e){let r=0,o=1e3/e,c,d;const h=(_,v=Date.now())=>{r=v,c=null,d&&(clearTimeout(d),d=null),n(..._)};return[(..._)=>{const v=Date.now(),O=v-r;O>=o?h(_,v):(c=_,d||(d=setTimeout(()=>{d=null,h(c)},o-O)))},()=>c&&h(c)]}const yi=(n,e,r=3)=>{let o=0;const c=zu(50,250);return Ku(d=>{const h=d.loaded,p=d.lengthComputable?d.total:void 0,m=h-o,_=c(m),v=h<=p;o=h;const O={loaded:h,total:p,progress:p?h/p:void 0,bytes:m,rate:_||void 0,estimated:_&&p&&v?(p-h)/_:void 0,event:d,lengthComputable:p!=null,[e?"download":"upload"]:!0};n(O)},r)},eo=(n,e)=>{const r=n!=null;return[o=>e[0]({lengthComputable:r,total:n,loaded:o}),e[1]]},no=n=>(...e)=>N.asap(()=>n(...e)),Yu=Et.hasStandardBrowserEnv?((n,e)=>r=>(r=new URL(r,Et.origin),n.protocol===r.protocol&&n.host===r.host&&(e||n.port===r.port)))(new URL(Et.origin),Et.navigator&&/(msie|trident)/i.test(Et.navigator.userAgent)):()=>!0,Gu=Et.hasStandardBrowserEnv?{write(n,e,r,o,c,d,h){if(typeof document>"u")return;const p=[`${n}=${encodeURIComponent(e)}`];N.isNumber(r)&&p.push(`expires=${new Date(r).toUTCString()}`),N.isString(o)&&p.push(`path=${o}`),N.isString(c)&&p.push(`domain=${c}`),d===!0&&p.push("secure"),N.isString(h)&&p.push(`SameSite=${h}`),document.cookie=p.join("; ")},read(n){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Xu(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Qu(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function Ta(n,e,r){let o=!Xu(e);return n&&(o||r==!1)?Qu(n,e):e}const io=n=>n instanceof Nt?{...n}:n;function Oe(n,e){e=e||{};const r={};function o(_,v,O,I){return N.isPlainObject(_)&&N.isPlainObject(v)?N.merge.call({caseless:I},_,v):N.isPlainObject(v)?N.merge({},v):N.isArray(v)?v.slice():v}function c(_,v,O,I){if(N.isUndefined(v)){if(!N.isUndefined(_))return o(void 0,_,O,I)}else return o(_,v,O,I)}function d(_,v){if(!N.isUndefined(v))return o(void 0,v)}function h(_,v){if(N.isUndefined(v)){if(!N.isUndefined(_))return o(void 0,_)}else return o(void 0,v)}function p(_,v,O){if(O in e)return o(_,v);if(O in n)return o(void 0,_)}const m={url:d,method:d,data:d,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:p,headers:(_,v,O)=>c(io(_),io(v),O,!0)};return N.forEach(Object.keys({...n,...e}),function(v){const O=m[v]||c,I=O(n[v],e[v],v);N.isUndefined(I)&&O!==p||(r[v]=I)}),r}const wa=n=>{const e=Oe({},n);let{data:r,withXSRFToken:o,xsrfHeaderName:c,xsrfCookieName:d,headers:h,auth:p}=e;if(e.headers=h=Nt.from(h),e.url=ya(Ta(e.baseURL,e.url,e.allowAbsoluteUrls),n.params,n.paramsSerializer),p&&h.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),N.isFormData(r)){if(Et.hasStandardBrowserEnv||Et.hasStandardBrowserWebWorkerEnv)h.setContentType(void 0);else if(N.isFunction(r.getHeaders)){const m=r.getHeaders(),_=["content-type","content-length"];Object.entries(m).forEach(([v,O])=>{_.includes(v.toLowerCase())&&h.set(v,O)})}}if(Et.hasStandardBrowserEnv&&(o&&N.isFunction(o)&&(o=o(e)),o||o!==!1&&Yu(e.url))){const m=c&&d&&Gu.read(d);m&&h.set(c,m)}return e},Ju=typeof XMLHttpRequest<"u",Zu=Ju&&function(n){return new Promise(function(r,o){const c=wa(n);let d=c.data;const h=Nt.from(c.headers).normalize();let{responseType:p,onUploadProgress:m,onDownloadProgress:_}=c,v,O,I,k,E;function S(){k&&k(),E&&E(),c.cancelToken&&c.cancelToken.unsubscribe(v),c.signal&&c.signal.removeEventListener("abort",v)}let x=new XMLHttpRequest;x.open(c.method.toUpperCase(),c.url,!0),x.timeout=c.timeout;function P(){if(!x)return;const W=Nt.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),J={data:!p||p==="text"||p==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:W,config:n,request:x};Ea(function(B){r(B),S()},function(B){o(B),S()},J),x=null}"onloadend"in x?x.onloadend=P:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(P)},x.onabort=function(){x&&(o(new rt("Request aborted",rt.ECONNABORTED,n,x)),x=null)},x.onerror=function($){const J=$&&$.message?$.message:"Network Error",l=new rt(J,rt.ERR_NETWORK,n,x);l.event=$||null,o(l),x=null},x.ontimeout=function(){let $=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded";const J=c.transitional||va;c.timeoutErrorMessage&&($=c.timeoutErrorMessage),o(new rt($,J.clarifyTimeoutError?rt.ETIMEDOUT:rt.ECONNABORTED,n,x)),x=null},d===void 0&&h.setContentType(null),"setRequestHeader"in x&&N.forEach(h.toJSON(),function($,J){x.setRequestHeader(J,$)}),N.isUndefined(c.withCredentials)||(x.withCredentials=!!c.withCredentials),p&&p!=="json"&&(x.responseType=c.responseType),_&&([I,E]=yi(_,!0),x.addEventListener("progress",I)),m&&x.upload&&([O,k]=yi(m),x.upload.addEventListener("progress",O),x.upload.addEventListener("loadend",k)),(c.cancelToken||c.signal)&&(v=W=>{x&&(o(!W||W.type?new an(null,n,x):W),x.abort(),x=null)},c.cancelToken&&c.cancelToken.subscribe(v),c.signal&&(c.signal.aborted?v():c.signal.addEventListener("abort",v)));const U=Vu(c.url);if(U&&Et.protocols.indexOf(U)===-1){o(new rt("Unsupported protocol "+U+":",rt.ERR_BAD_REQUEST,n));return}x.send(d||null)})},tf=(n,e)=>{const{length:r}=n=n?n.filter(Boolean):[];if(e||r){let o=new AbortController,c;const d=function(_){if(!c){c=!0,p();const v=_ instanceof Error?_:this.reason;o.abort(v instanceof rt?v:new an(v instanceof Error?v.message:v))}};let h=e&&setTimeout(()=>{h=null,d(new rt(`timeout ${e} of ms exceeded`,rt.ETIMEDOUT))},e);const p=()=>{n&&(h&&clearTimeout(h),h=null,n.forEach(_=>{_.unsubscribe?_.unsubscribe(d):_.removeEventListener("abort",d)}),n=null)};n.forEach(_=>_.addEventListener("abort",d));const{signal:m}=o;return m.unsubscribe=()=>N.asap(p),m}},ef=function*(n,e){let r=n.byteLength;if(r<e){yield n;return}let o=0,c;for(;o<r;)c=o+e,yield n.slice(o,c),o=c},nf=async function*(n,e){for await(const r of rf(n))yield*ef(r,e)},rf=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const e=n.getReader();try{for(;;){const{done:r,value:o}=await e.read();if(r)break;yield o}}finally{await e.cancel()}},ro=(n,e,r,o)=>{const c=nf(n,e);let d=0,h,p=m=>{h||(h=!0,o&&o(m))};return new ReadableStream({async pull(m){try{const{done:_,value:v}=await c.next();if(_){p(),m.close();return}let O=v.byteLength;if(r){let I=d+=O;r(I)}m.enqueue(new Uint8Array(v))}catch(_){throw p(_),_}},cancel(m){return p(m),c.return()}},{highWaterMark:2})},so=64*1024,{isFunction:ti}=N,sf=(({Request:n,Response:e})=>({Request:n,Response:e}))(N.global),{ReadableStream:oo,TextEncoder:ao}=N.global,lo=(n,...e)=>{try{return!!n(...e)}catch{return!1}},of=n=>{n=N.merge.call({skipUndefined:!0},sf,n);const{fetch:e,Request:r,Response:o}=n,c=e?ti(e):typeof fetch=="function",d=ti(r),h=ti(o);if(!c)return!1;const p=c&&ti(oo),m=c&&(typeof ao=="function"?(E=>S=>E.encode(S))(new ao):async E=>new Uint8Array(await new r(E).arrayBuffer())),_=d&&p&&lo(()=>{let E=!1;const S=new r(Et.origin,{body:new oo,method:"POST",get duplex(){return E=!0,"half"}}).headers.has("Content-Type");return E&&!S}),v=h&&p&&lo(()=>N.isReadableStream(new o("").body)),O={stream:v&&(E=>E.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!O[E]&&(O[E]=(S,x)=>{let P=S&&S[E];if(P)return P.call(S);throw new rt(`Response type '${E}' is not supported`,rt.ERR_NOT_SUPPORT,x)})});const I=async E=>{if(E==null)return 0;if(N.isBlob(E))return E.size;if(N.isSpecCompliantForm(E))return(await new r(Et.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(N.isArrayBufferView(E)||N.isArrayBuffer(E))return E.byteLength;if(N.isURLSearchParams(E)&&(E=E+""),N.isString(E))return(await m(E)).byteLength},k=async(E,S)=>{const x=N.toFiniteNumber(E.getContentLength());return x??I(S)};return async E=>{let{url:S,method:x,data:P,signal:U,cancelToken:W,timeout:$,onDownloadProgress:J,onUploadProgress:l,responseType:B,headers:at,withCredentials:C="same-origin",fetchOptions:R}=wa(E),X=e||fetch;B=B?(B+"").toLowerCase():"text";let it=tf([U,W&&W.toAbortSignal()],$),G=null;const ot=it&&it.unsubscribe&&(()=>{it.unsubscribe()});let yt;try{if(l&&_&&x!=="get"&&x!=="head"&&(yt=await k(at,P))!==0){let gt=new r(S,{method:"POST",body:P,duplex:"half"}),V;if(N.isFormData(P)&&(V=gt.headers.get("content-type"))&&at.setContentType(V),gt.body){const[H,j]=eo(yt,yi(no(l)));P=ro(gt.body,so,H,j)}}N.isString(C)||(C=C?"include":"omit");const K=d&&"credentials"in r.prototype,st={...R,signal:it,method:x.toUpperCase(),headers:at.normalize().toJSON(),body:P,duplex:"half",credentials:K?C:void 0};G=d&&new r(S,st);let ut=await(d?X(G,R):X(S,st));const q=v&&(B==="stream"||B==="response");if(v&&(J||q&&ot)){const gt={};["status","statusText","headers"].forEach(z=>{gt[z]=ut[z]});const V=N.toFiniteNumber(ut.headers.get("content-length")),[H,j]=J&&eo(V,yi(no(J),!0))||[];ut=new o(ro(ut.body,so,H,()=>{j&&j(),ot&&ot()}),gt)}B=B||"text";let _t=await O[N.findKey(O,B)||"text"](ut,E);return!q&&ot&&ot(),await new Promise((gt,V)=>{Ea(gt,V,{data:_t,headers:Nt.from(ut.headers),status:ut.status,statusText:ut.statusText,config:E,request:G})})}catch(K){throw ot&&ot(),K&&K.name==="TypeError"&&/Load failed|fetch/i.test(K.message)?Object.assign(new rt("Network Error",rt.ERR_NETWORK,E,G),{cause:K.cause||K}):rt.from(K,K&&K.code,E,G)}}},af=new Map,Sa=n=>{let e=n&&n.env||{};const{fetch:r,Request:o,Response:c}=e,d=[o,c,r];let h=d.length,p=h,m,_,v=af;for(;p--;)m=d[p],_=v.get(m),_===void 0&&v.set(m,_=p?new Map:of(e)),v=_;return _};Sa();const Ur={http:wu,xhr:Zu,fetch:{get:Sa}};N.forEach(Ur,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const co=n=>`- ${n}`,lf=n=>N.isFunction(n)||n===null||n===!1;function cf(n,e){n=N.isArray(n)?n:[n];const{length:r}=n;let o,c;const d={};for(let h=0;h<r;h++){o=n[h];let p;if(c=o,!lf(o)&&(c=Ur[(p=String(o)).toLowerCase()],c===void 0))throw new rt(`Unknown adapter '${p}'`);if(c&&(N.isFunction(c)||(c=c.get(e))))break;d[p||"#"+h]=c}if(!c){const h=Object.entries(d).map(([m,_])=>`adapter ${m} `+(_===!1?"is not supported by the environment":"is not available in the build"));let p=r?h.length>1?`since :
|
||
`+h.map(co).join(`
|
||
`):" "+co(h[0]):"as no adapter specified";throw new rt("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return c}const Aa={getAdapter:cf,adapters:Ur};function sr(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new an(null,n)}function uo(n){return sr(n),n.headers=Nt.from(n.headers),n.data=rr.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Aa.getAdapter(n.adapter||Dn.adapter,n)(n).then(function(o){return sr(n),o.data=rr.call(n,n.transformResponse,o),o.headers=Nt.from(o.headers),o},function(o){return ba(o)||(sr(n),o&&o.response&&(o.response.data=rr.call(n,n.transformResponse,o.response),o.response.headers=Nt.from(o.response.headers))),Promise.reject(o)})}const xa="1.13.2",xi={};["object","boolean","number","function","string","symbol"].forEach((n,e)=>{xi[n]=function(o){return typeof o===n||"a"+(e<1?"n ":" ")+n}});const fo={};xi.transitional=function(e,r,o){function c(d,h){return"[Axios v"+xa+"] Transitional option '"+d+"'"+h+(o?". "+o:"")}return(d,h,p)=>{if(e===!1)throw new rt(c(h," has been removed"+(r?" in "+r:"")),rt.ERR_DEPRECATED);return r&&!fo[h]&&(fo[h]=!0,console.warn(c(h," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(d,h,p):!0}};xi.spelling=function(e){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${e}`),!0)};function uf(n,e,r){if(typeof n!="object")throw new rt("options must be an object",rt.ERR_BAD_OPTION_VALUE);const o=Object.keys(n);let c=o.length;for(;c-- >0;){const d=o[c],h=e[d];if(h){const p=n[d],m=p===void 0||h(p,d,n);if(m!==!0)throw new rt("option "+d+" must be "+m,rt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new rt("Unknown option "+d,rt.ERR_BAD_OPTION)}}const ui={assertOptions:uf,validators:xi},Xt=ui.validators;let Ae=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Zs,response:new Zs}}async request(e,r){try{return await this._request(e,r)}catch(o){if(o instanceof Error){let c={};Error.captureStackTrace?Error.captureStackTrace(c):c=new Error;const d=c.stack?c.stack.replace(/^.+\n/,""):"";try{o.stack?d&&!String(o.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
||
`+d):o.stack=d}catch{}}throw o}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Oe(this.defaults,r);const{transitional:o,paramsSerializer:c,headers:d}=r;o!==void 0&&ui.assertOptions(o,{silentJSONParsing:Xt.transitional(Xt.boolean),forcedJSONParsing:Xt.transitional(Xt.boolean),clarifyTimeoutError:Xt.transitional(Xt.boolean)},!1),c!=null&&(N.isFunction(c)?r.paramsSerializer={serialize:c}:ui.assertOptions(c,{encode:Xt.function,serialize:Xt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ui.assertOptions(r,{baseUrl:Xt.spelling("baseURL"),withXsrfToken:Xt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let h=d&&N.merge(d.common,d[r.method]);d&&N.forEach(["delete","get","head","post","put","patch","common"],E=>{delete d[E]}),r.headers=Nt.concat(h,d);const p=[];let m=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(r)===!1||(m=m&&S.synchronous,p.unshift(S.fulfilled,S.rejected))});const _=[];this.interceptors.response.forEach(function(S){_.push(S.fulfilled,S.rejected)});let v,O=0,I;if(!m){const E=[uo.bind(this),void 0];for(E.unshift(...p),E.push(..._),I=E.length,v=Promise.resolve(r);O<I;)v=v.then(E[O++],E[O++]);return v}I=p.length;let k=r;for(;O<I;){const E=p[O++],S=p[O++];try{k=E(k)}catch(x){S.call(this,x);break}}try{v=uo.call(this,k)}catch(E){return Promise.reject(E)}for(O=0,I=_.length;O<I;)v=v.then(_[O++],_[O++]);return v}getUri(e){e=Oe(this.defaults,e);const r=Ta(e.baseURL,e.url,e.allowAbsoluteUrls);return ya(r,e.params,e.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(e){Ae.prototype[e]=function(r,o){return this.request(Oe(o||{},{method:e,url:r,data:(o||{}).data}))}});N.forEach(["post","put","patch"],function(e){function r(o){return function(d,h,p){return this.request(Oe(p||{},{method:e,headers:o?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}Ae.prototype[e]=r(),Ae.prototype[e+"Form"]=r(!0)});let ff=class Ca{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(d){r=d});const o=this;this.promise.then(c=>{if(!o._listeners)return;let d=o._listeners.length;for(;d-- >0;)o._listeners[d](c);o._listeners=null}),this.promise.then=c=>{let d;const h=new Promise(p=>{o.subscribe(p),d=p}).then(c);return h.cancel=function(){o.unsubscribe(d)},h},e(function(d,h,p){o.reason||(o.reason=new an(d,h,p),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=o=>{e.abort(o)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new Ca(function(c){e=c}),cancel:e}}};function df(n){return function(r){return n.apply(null,r)}}function hf(n){return N.isObject(n)&&n.isAxiosError===!0}const Pr={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(Pr).forEach(([n,e])=>{Pr[e]=n});function Oa(n){const e=new Ae(n),r=sa(Ae.prototype.request,e);return N.extend(r,Ae.prototype,e,{allOwnKeys:!0}),N.extend(r,e,null,{allOwnKeys:!0}),r.create=function(c){return Oa(Oe(n,c))},r}const pt=Oa(Dn);pt.Axios=Ae;pt.CanceledError=an;pt.CancelToken=ff;pt.isCancel=ba;pt.VERSION=xa;pt.toFormData=Ai;pt.AxiosError=rt;pt.Cancel=pt.CanceledError;pt.all=function(e){return Promise.all(e)};pt.spread=df;pt.isAxiosError=hf;pt.mergeConfig=Oe;pt.AxiosHeaders=Nt;pt.formToJSON=n=>_a(N.isHTMLForm(n)?new FormData(n):n);pt.getAdapter=Aa.getAdapter;pt.HttpStatusCode=Pr;pt.default=pt;const{Axios:Dm,AxiosError:Lm,CanceledError:Pm,isCancel:Rm,CancelToken:Im,VERSION:km,all:Mm,Cancel:jm,isAxiosError:$m,spread:Hm,toFormData:Fm,AxiosHeaders:Bm,HttpStatusCode:qm,formToJSON:Um,getAdapter:Wm,mergeConfig:Vm}=pt;window.axios=pt;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var Tt="top",Dt="bottom",Lt="right",wt="left",Ci="auto",ln=[Tt,Dt,Lt,wt],Ne="start",Je="end",Na="clippingParents",Wr="viewport",Ke="popper",Da="reference",Rr=ln.reduce(function(n,e){return n.concat([e+"-"+Ne,e+"-"+Je])},[]),Vr=[].concat(ln,[Ci]).reduce(function(n,e){return n.concat([e,e+"-"+Ne,e+"-"+Je])},[]),La="beforeRead",Pa="read",Ra="afterRead",Ia="beforeMain",ka="main",Ma="afterMain",ja="beforeWrite",$a="write",Ha="afterWrite",Fa=[La,Pa,Ra,Ia,ka,Ma,ja,$a,Ha];function Zt(n){return n?(n.nodeName||"").toLowerCase():null}function Pt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function De(n){var e=Pt(n).Element;return n instanceof e||n instanceof Element}function jt(n){var e=Pt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function zr(n){if(typeof ShadowRoot>"u")return!1;var e=Pt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function pf(n){var e=n.state;Object.keys(e.elements).forEach(function(r){var o=e.styles[r]||{},c=e.attributes[r]||{},d=e.elements[r];!jt(d)||!Zt(d)||(Object.assign(d.style,o),Object.keys(c).forEach(function(h){var p=c[h];p===!1?d.removeAttribute(h):d.setAttribute(h,p===!0?"":p)}))})}function gf(n){var e=n.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(o){var c=e.elements[o],d=e.attributes[o]||{},h=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:r[o]),p=h.reduce(function(m,_){return m[_]="",m},{});!jt(c)||!Zt(c)||(Object.assign(c.style,p),Object.keys(d).forEach(function(m){c.removeAttribute(m)}))})}}const Ba={name:"applyStyles",enabled:!0,phase:"write",fn:pf,effect:gf,requires:["computeStyles"]};function Qt(n){return n.split("-")[0]}var xe=Math.max,vi=Math.min,Ze=Math.round;function Ir(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function qa(){return!/^((?!chrome|android).)*safari/i.test(Ir())}function tn(n,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var o=n.getBoundingClientRect(),c=1,d=1;e&&jt(n)&&(c=n.offsetWidth>0&&Ze(o.width)/n.offsetWidth||1,d=n.offsetHeight>0&&Ze(o.height)/n.offsetHeight||1);var h=De(n)?Pt(n):window,p=h.visualViewport,m=!qa()&&r,_=(o.left+(m&&p?p.offsetLeft:0))/c,v=(o.top+(m&&p?p.offsetTop:0))/d,O=o.width/c,I=o.height/d;return{width:O,height:I,top:v,right:_+O,bottom:v+I,left:_,x:_,y:v}}function Kr(n){var e=tn(n),r=n.offsetWidth,o=n.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:n.offsetLeft,y:n.offsetTop,width:r,height:o}}function Ua(n,e){var r=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(r&&zr(r)){var o=e;do{if(o&&n.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function se(n){return Pt(n).getComputedStyle(n)}function mf(n){return["table","td","th"].indexOf(Zt(n))>=0}function pe(n){return((De(n)?n.ownerDocument:n.document)||window.document).documentElement}function Oi(n){return Zt(n)==="html"?n:n.assignedSlot||n.parentNode||(zr(n)?n.host:null)||pe(n)}function ho(n){return!jt(n)||se(n).position==="fixed"?null:n.offsetParent}function yf(n){var e=/firefox/i.test(Ir()),r=/Trident/i.test(Ir());if(r&&jt(n)){var o=se(n);if(o.position==="fixed")return null}var c=Oi(n);for(zr(c)&&(c=c.host);jt(c)&&["html","body"].indexOf(Zt(c))<0;){var d=se(c);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||e&&d.willChange==="filter"||e&&d.filter&&d.filter!=="none")return c;c=c.parentNode}return null}function Ln(n){for(var e=Pt(n),r=ho(n);r&&mf(r)&&se(r).position==="static";)r=ho(r);return r&&(Zt(r)==="html"||Zt(r)==="body"&&se(r).position==="static")?e:r||yf(n)||e}function Yr(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Sn(n,e,r){return xe(n,vi(e,r))}function vf(n,e,r){var o=Sn(n,e,r);return o>r?r:o}function Wa(){return{top:0,right:0,bottom:0,left:0}}function Va(n){return Object.assign({},Wa(),n)}function za(n,e){return e.reduce(function(r,o){return r[o]=n,r},{})}var _f=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,Va(typeof e!="number"?e:za(e,ln))};function bf(n){var e,r=n.state,o=n.name,c=n.options,d=r.elements.arrow,h=r.modifiersData.popperOffsets,p=Qt(r.placement),m=Yr(p),_=[wt,Lt].indexOf(p)>=0,v=_?"height":"width";if(!(!d||!h)){var O=_f(c.padding,r),I=Kr(d),k=m==="y"?Tt:wt,E=m==="y"?Dt:Lt,S=r.rects.reference[v]+r.rects.reference[m]-h[m]-r.rects.popper[v],x=h[m]-r.rects.reference[m],P=Ln(d),U=P?m==="y"?P.clientHeight||0:P.clientWidth||0:0,W=S/2-x/2,$=O[k],J=U-I[v]-O[E],l=U/2-I[v]/2+W,B=Sn($,l,J),at=m;r.modifiersData[o]=(e={},e[at]=B,e.centerOffset=B-l,e)}}function Ef(n){var e=n.state,r=n.options,o=r.element,c=o===void 0?"[data-popper-arrow]":o;c!=null&&(typeof c=="string"&&(c=e.elements.popper.querySelector(c),!c)||Ua(e.elements.popper,c)&&(e.elements.arrow=c))}const Ka={name:"arrow",enabled:!0,phase:"main",fn:bf,effect:Ef,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function en(n){return n.split("-")[1]}var Tf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wf(n,e){var r=n.x,o=n.y,c=e.devicePixelRatio||1;return{x:Ze(r*c)/c||0,y:Ze(o*c)/c||0}}function po(n){var e,r=n.popper,o=n.popperRect,c=n.placement,d=n.variation,h=n.offsets,p=n.position,m=n.gpuAcceleration,_=n.adaptive,v=n.roundOffsets,O=n.isFixed,I=h.x,k=I===void 0?0:I,E=h.y,S=E===void 0?0:E,x=typeof v=="function"?v({x:k,y:S}):{x:k,y:S};k=x.x,S=x.y;var P=h.hasOwnProperty("x"),U=h.hasOwnProperty("y"),W=wt,$=Tt,J=window;if(_){var l=Ln(r),B="clientHeight",at="clientWidth";if(l===Pt(r)&&(l=pe(r),se(l).position!=="static"&&p==="absolute"&&(B="scrollHeight",at="scrollWidth")),l=l,c===Tt||(c===wt||c===Lt)&&d===Je){$=Dt;var C=O&&l===J&&J.visualViewport?J.visualViewport.height:l[B];S-=C-o.height,S*=m?1:-1}if(c===wt||(c===Tt||c===Dt)&&d===Je){W=Lt;var R=O&&l===J&&J.visualViewport?J.visualViewport.width:l[at];k-=R-o.width,k*=m?1:-1}}var X=Object.assign({position:p},_&&Tf),it=v===!0?wf({x:k,y:S},Pt(r)):{x:k,y:S};if(k=it.x,S=it.y,m){var G;return Object.assign({},X,(G={},G[$]=U?"0":"",G[W]=P?"0":"",G.transform=(J.devicePixelRatio||1)<=1?"translate("+k+"px, "+S+"px)":"translate3d("+k+"px, "+S+"px, 0)",G))}return Object.assign({},X,(e={},e[$]=U?S+"px":"",e[W]=P?k+"px":"",e.transform="",e))}function Sf(n){var e=n.state,r=n.options,o=r.gpuAcceleration,c=o===void 0?!0:o,d=r.adaptive,h=d===void 0?!0:d,p=r.roundOffsets,m=p===void 0?!0:p,_={placement:Qt(e.placement),variation:en(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:c,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,po(Object.assign({},_,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:h,roundOffsets:m})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,po(Object.assign({},_,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:m})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Ya={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Sf,data:{}};var ei={passive:!0};function Af(n){var e=n.state,r=n.instance,o=n.options,c=o.scroll,d=c===void 0?!0:c,h=o.resize,p=h===void 0?!0:h,m=Pt(e.elements.popper),_=[].concat(e.scrollParents.reference,e.scrollParents.popper);return d&&_.forEach(function(v){v.addEventListener("scroll",r.update,ei)}),p&&m.addEventListener("resize",r.update,ei),function(){d&&_.forEach(function(v){v.removeEventListener("scroll",r.update,ei)}),p&&m.removeEventListener("resize",r.update,ei)}}const Ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Af,data:{}};var xf={left:"right",right:"left",bottom:"top",top:"bottom"};function fi(n){return n.replace(/left|right|bottom|top/g,function(e){return xf[e]})}var Cf={start:"end",end:"start"};function go(n){return n.replace(/start|end/g,function(e){return Cf[e]})}function Gr(n){var e=Pt(n),r=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:r,scrollTop:o}}function Xr(n){return tn(pe(n)).left+Gr(n).scrollLeft}function Of(n,e){var r=Pt(n),o=pe(n),c=r.visualViewport,d=o.clientWidth,h=o.clientHeight,p=0,m=0;if(c){d=c.width,h=c.height;var _=qa();(_||!_&&e==="fixed")&&(p=c.offsetLeft,m=c.offsetTop)}return{width:d,height:h,x:p+Xr(n),y:m}}function Nf(n){var e,r=pe(n),o=Gr(n),c=(e=n.ownerDocument)==null?void 0:e.body,d=xe(r.scrollWidth,r.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),h=xe(r.scrollHeight,r.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),p=-o.scrollLeft+Xr(n),m=-o.scrollTop;return se(c||r).direction==="rtl"&&(p+=xe(r.clientWidth,c?c.clientWidth:0)-d),{width:d,height:h,x:p,y:m}}function Qr(n){var e=se(n),r=e.overflow,o=e.overflowX,c=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+c+o)}function Xa(n){return["html","body","#document"].indexOf(Zt(n))>=0?n.ownerDocument.body:jt(n)&&Qr(n)?n:Xa(Oi(n))}function An(n,e){var r;e===void 0&&(e=[]);var o=Xa(n),c=o===((r=n.ownerDocument)==null?void 0:r.body),d=Pt(o),h=c?[d].concat(d.visualViewport||[],Qr(o)?o:[]):o,p=e.concat(h);return c?p:p.concat(An(Oi(h)))}function kr(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Df(n,e){var r=tn(n,!1,e==="fixed");return r.top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r}function mo(n,e,r){return e===Wr?kr(Of(n,r)):De(e)?Df(e,r):kr(Nf(pe(n)))}function Lf(n){var e=An(Oi(n)),r=["absolute","fixed"].indexOf(se(n).position)>=0,o=r&&jt(n)?Ln(n):n;return De(o)?e.filter(function(c){return De(c)&&Ua(c,o)&&Zt(c)!=="body"}):[]}function Pf(n,e,r,o){var c=e==="clippingParents"?Lf(n):[].concat(e),d=[].concat(c,[r]),h=d[0],p=d.reduce(function(m,_){var v=mo(n,_,o);return m.top=xe(v.top,m.top),m.right=vi(v.right,m.right),m.bottom=vi(v.bottom,m.bottom),m.left=xe(v.left,m.left),m},mo(n,h,o));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Qa(n){var e=n.reference,r=n.element,o=n.placement,c=o?Qt(o):null,d=o?en(o):null,h=e.x+e.width/2-r.width/2,p=e.y+e.height/2-r.height/2,m;switch(c){case Tt:m={x:h,y:e.y-r.height};break;case Dt:m={x:h,y:e.y+e.height};break;case Lt:m={x:e.x+e.width,y:p};break;case wt:m={x:e.x-r.width,y:p};break;default:m={x:e.x,y:e.y}}var _=c?Yr(c):null;if(_!=null){var v=_==="y"?"height":"width";switch(d){case Ne:m[_]=m[_]-(e[v]/2-r[v]/2);break;case Je:m[_]=m[_]+(e[v]/2-r[v]/2);break}}return m}function nn(n,e){e===void 0&&(e={});var r=e,o=r.placement,c=o===void 0?n.placement:o,d=r.strategy,h=d===void 0?n.strategy:d,p=r.boundary,m=p===void 0?Na:p,_=r.rootBoundary,v=_===void 0?Wr:_,O=r.elementContext,I=O===void 0?Ke:O,k=r.altBoundary,E=k===void 0?!1:k,S=r.padding,x=S===void 0?0:S,P=Va(typeof x!="number"?x:za(x,ln)),U=I===Ke?Da:Ke,W=n.rects.popper,$=n.elements[E?U:I],J=Pf(De($)?$:$.contextElement||pe(n.elements.popper),m,v,h),l=tn(n.elements.reference),B=Qa({reference:l,element:W,placement:c}),at=kr(Object.assign({},W,B)),C=I===Ke?at:l,R={top:J.top-C.top+P.top,bottom:C.bottom-J.bottom+P.bottom,left:J.left-C.left+P.left,right:C.right-J.right+P.right},X=n.modifiersData.offset;if(I===Ke&&X){var it=X[c];Object.keys(R).forEach(function(G){var ot=[Lt,Dt].indexOf(G)>=0?1:-1,yt=[Tt,Dt].indexOf(G)>=0?"y":"x";R[G]+=it[yt]*ot})}return R}function Rf(n,e){e===void 0&&(e={});var r=e,o=r.placement,c=r.boundary,d=r.rootBoundary,h=r.padding,p=r.flipVariations,m=r.allowedAutoPlacements,_=m===void 0?Vr:m,v=en(o),O=v?p?Rr:Rr.filter(function(E){return en(E)===v}):ln,I=O.filter(function(E){return _.indexOf(E)>=0});I.length===0&&(I=O);var k=I.reduce(function(E,S){return E[S]=nn(n,{placement:S,boundary:c,rootBoundary:d,padding:h})[Qt(S)],E},{});return Object.keys(k).sort(function(E,S){return k[E]-k[S]})}function If(n){if(Qt(n)===Ci)return[];var e=fi(n);return[go(n),e,go(e)]}function kf(n){var e=n.state,r=n.options,o=n.name;if(!e.modifiersData[o]._skip){for(var c=r.mainAxis,d=c===void 0?!0:c,h=r.altAxis,p=h===void 0?!0:h,m=r.fallbackPlacements,_=r.padding,v=r.boundary,O=r.rootBoundary,I=r.altBoundary,k=r.flipVariations,E=k===void 0?!0:k,S=r.allowedAutoPlacements,x=e.options.placement,P=Qt(x),U=P===x,W=m||(U||!E?[fi(x)]:If(x)),$=[x].concat(W).reduce(function(j,z){return j.concat(Qt(z)===Ci?Rf(e,{placement:z,boundary:v,rootBoundary:O,padding:_,flipVariations:E,allowedAutoPlacements:S}):z)},[]),J=e.rects.reference,l=e.rects.popper,B=new Map,at=!0,C=$[0],R=0;R<$.length;R++){var X=$[R],it=Qt(X),G=en(X)===Ne,ot=[Tt,Dt].indexOf(it)>=0,yt=ot?"width":"height",K=nn(e,{placement:X,boundary:v,rootBoundary:O,altBoundary:I,padding:_}),st=ot?G?Lt:wt:G?Dt:Tt;J[yt]>l[yt]&&(st=fi(st));var ut=fi(st),q=[];if(d&&q.push(K[it]<=0),p&&q.push(K[st]<=0,K[ut]<=0),q.every(function(j){return j})){C=X,at=!1;break}B.set(X,q)}if(at)for(var _t=E?3:1,gt=function(z){var Z=$.find(function(tt){var ft=B.get(tt);if(ft)return ft.slice(0,z).every(function(Kt){return Kt})});if(Z)return C=Z,"break"},V=_t;V>0;V--){var H=gt(V);if(H==="break")break}e.placement!==C&&(e.modifiersData[o]._skip=!0,e.placement=C,e.reset=!0)}}const Ja={name:"flip",enabled:!0,phase:"main",fn:kf,requiresIfExists:["offset"],data:{_skip:!1}};function yo(n,e,r){return r===void 0&&(r={x:0,y:0}),{top:n.top-e.height-r.y,right:n.right-e.width+r.x,bottom:n.bottom-e.height+r.y,left:n.left-e.width-r.x}}function vo(n){return[Tt,Lt,Dt,wt].some(function(e){return n[e]>=0})}function Mf(n){var e=n.state,r=n.name,o=e.rects.reference,c=e.rects.popper,d=e.modifiersData.preventOverflow,h=nn(e,{elementContext:"reference"}),p=nn(e,{altBoundary:!0}),m=yo(h,o),_=yo(p,c,d),v=vo(m),O=vo(_);e.modifiersData[r]={referenceClippingOffsets:m,popperEscapeOffsets:_,isReferenceHidden:v,hasPopperEscaped:O},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":O})}const Za={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Mf};function jf(n,e,r){var o=Qt(n),c=[wt,Tt].indexOf(o)>=0?-1:1,d=typeof r=="function"?r(Object.assign({},e,{placement:n})):r,h=d[0],p=d[1];return h=h||0,p=(p||0)*c,[wt,Lt].indexOf(o)>=0?{x:p,y:h}:{x:h,y:p}}function $f(n){var e=n.state,r=n.options,o=n.name,c=r.offset,d=c===void 0?[0,0]:c,h=Vr.reduce(function(v,O){return v[O]=jf(O,e.rects,d),v},{}),p=h[e.placement],m=p.x,_=p.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=m,e.modifiersData.popperOffsets.y+=_),e.modifiersData[o]=h}const tl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$f};function Hf(n){var e=n.state,r=n.name;e.modifiersData[r]=Qa({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const el={name:"popperOffsets",enabled:!0,phase:"read",fn:Hf,data:{}};function Ff(n){return n==="x"?"y":"x"}function Bf(n){var e=n.state,r=n.options,o=n.name,c=r.mainAxis,d=c===void 0?!0:c,h=r.altAxis,p=h===void 0?!1:h,m=r.boundary,_=r.rootBoundary,v=r.altBoundary,O=r.padding,I=r.tether,k=I===void 0?!0:I,E=r.tetherOffset,S=E===void 0?0:E,x=nn(e,{boundary:m,rootBoundary:_,padding:O,altBoundary:v}),P=Qt(e.placement),U=en(e.placement),W=!U,$=Yr(P),J=Ff($),l=e.modifiersData.popperOffsets,B=e.rects.reference,at=e.rects.popper,C=typeof S=="function"?S(Object.assign({},e.rects,{placement:e.placement})):S,R=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),X=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,it={x:0,y:0};if(l){if(d){var G,ot=$==="y"?Tt:wt,yt=$==="y"?Dt:Lt,K=$==="y"?"height":"width",st=l[$],ut=st+x[ot],q=st-x[yt],_t=k?-at[K]/2:0,gt=U===Ne?B[K]:at[K],V=U===Ne?-at[K]:-B[K],H=e.elements.arrow,j=k&&H?Kr(H):{width:0,height:0},z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Wa(),Z=z[ot],tt=z[yt],ft=Sn(0,B[K],j[K]),Kt=W?B[K]/2-_t-ft-Z-R.mainAxis:gt-ft-Z-R.mainAxis,hn=W?-B[K]/2+_t+ft+tt+R.mainAxis:V+ft+tt+R.mainAxis,te=e.elements.arrow&&Ln(e.elements.arrow),Ii=te?$==="y"?te.clientTop||0:te.clientLeft||0:0,ye=(G=X?.[$])!=null?G:0,Bt=st+Kt-ye-Ii,Rt=st+hn-ye,jn=Sn(k?vi(ut,Bt):ut,st,k?xe(q,Rt):q);l[$]=jn,it[$]=jn-st}if(p){var $n,ki=$==="x"?Tt:wt,Mi=$==="x"?Dt:Lt,qt=l[J],Re=J==="y"?"height":"width",ee=qt+x[ki],ve=qt-x[Mi],vt=[Tt,wt].indexOf(P)!==-1,pn=($n=X?.[J])!=null?$n:0,It=vt?ee:qt-B[Re]-at[Re]-pn+R.altAxis,kt=vt?qt+B[Re]+at[Re]-pn-R.altAxis:ve,Hn=k&&vt?vf(It,qt,kt):Sn(k?It:ee,qt,k?kt:ve);l[J]=Hn,it[J]=Hn-qt}e.modifiersData[o]=it}}const nl={name:"preventOverflow",enabled:!0,phase:"main",fn:Bf,requiresIfExists:["offset"]};function qf(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Uf(n){return n===Pt(n)||!jt(n)?Gr(n):qf(n)}function Wf(n){var e=n.getBoundingClientRect(),r=Ze(e.width)/n.offsetWidth||1,o=Ze(e.height)/n.offsetHeight||1;return r!==1||o!==1}function Vf(n,e,r){r===void 0&&(r=!1);var o=jt(e),c=jt(e)&&Wf(e),d=pe(e),h=tn(n,c,r),p={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(o||!o&&!r)&&((Zt(e)!=="body"||Qr(d))&&(p=Uf(e)),jt(e)?(m=tn(e,!0),m.x+=e.clientLeft,m.y+=e.clientTop):d&&(m.x=Xr(d))),{x:h.left+p.scrollLeft-m.x,y:h.top+p.scrollTop-m.y,width:h.width,height:h.height}}function zf(n){var e=new Map,r=new Set,o=[];n.forEach(function(d){e.set(d.name,d)});function c(d){r.add(d.name);var h=[].concat(d.requires||[],d.requiresIfExists||[]);h.forEach(function(p){if(!r.has(p)){var m=e.get(p);m&&c(m)}}),o.push(d)}return n.forEach(function(d){r.has(d.name)||c(d)}),o}function Kf(n){var e=zf(n);return Fa.reduce(function(r,o){return r.concat(e.filter(function(c){return c.phase===o}))},[])}function Yf(n){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(n())})})),e}}function Gf(n){var e=n.reduce(function(r,o){var c=r[o.name];return r[o.name]=c?Object.assign({},c,o,{options:Object.assign({},c.options,o.options),data:Object.assign({},c.data,o.data)}):o,r},{});return Object.keys(e).map(function(r){return e[r]})}var _o={placement:"bottom",modifiers:[],strategy:"absolute"};function bo(){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return!e.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function il(n){n===void 0&&(n={});var e=n,r=e.defaultModifiers,o=r===void 0?[]:r,c=e.defaultOptions,d=c===void 0?_o:c;return function(p,m,_){_===void 0&&(_=d);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},_o,d),modifiersData:{},elements:{reference:p,popper:m},attributes:{},styles:{}},O=[],I=!1,k={state:v,setOptions:function(P){var U=typeof P=="function"?P(v.options):P;S(),v.options=Object.assign({},d,v.options,U),v.scrollParents={reference:De(p)?An(p):p.contextElement?An(p.contextElement):[],popper:An(m)};var W=Kf(Gf([].concat(o,v.options.modifiers)));return v.orderedModifiers=W.filter(function($){return $.enabled}),E(),k.update()},forceUpdate:function(){if(!I){var P=v.elements,U=P.reference,W=P.popper;if(bo(U,W)){v.rects={reference:Vf(U,Ln(W),v.options.strategy==="fixed"),popper:Kr(W)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(R){return v.modifiersData[R.name]=Object.assign({},R.data)});for(var $=0;$<v.orderedModifiers.length;$++){if(v.reset===!0){v.reset=!1,$=-1;continue}var J=v.orderedModifiers[$],l=J.fn,B=J.options,at=B===void 0?{}:B,C=J.name;typeof l=="function"&&(v=l({state:v,options:at,name:C,instance:k})||v)}}}},update:Yf(function(){return new Promise(function(x){k.forceUpdate(),x(v)})}),destroy:function(){S(),I=!0}};if(!bo(p,m))return k;k.setOptions(_).then(function(x){!I&&_.onFirstUpdate&&_.onFirstUpdate(x)});function E(){v.orderedModifiers.forEach(function(x){var P=x.name,U=x.options,W=U===void 0?{}:U,$=x.effect;if(typeof $=="function"){var J=$({state:v,name:P,instance:k,options:W}),l=function(){};O.push(J||l)}})}function S(){O.forEach(function(x){return x()}),O=[]}return k}}var Xf=[Ga,el,Ya,Ba,tl,Ja,nl,Ka,Za],Jr=il({defaultModifiers:Xf});const rl=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ma,afterRead:Ra,afterWrite:Ha,applyStyles:Ba,arrow:Ka,auto:Ci,basePlacements:ln,beforeMain:Ia,beforeRead:La,beforeWrite:ja,bottom:Dt,clippingParents:Na,computeStyles:Ya,createPopper:Jr,detectOverflow:nn,end:Je,eventListeners:Ga,flip:Ja,hide:Za,left:wt,main:ka,modifierPhases:Fa,offset:tl,placements:Vr,popper:Ke,popperGenerator:il,popperOffsets:el,preventOverflow:nl,read:Pa,reference:Da,right:Lt,start:Ne,top:Tt,variationPlacements:Rr,viewport:Wr,write:$a},Symbol.toStringTag,{value:"Module"}));const ue=new Map,or={set(n,e,r){ue.has(n)||ue.set(n,new Map);const o=ue.get(n);if(!o.has(e)&&o.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`);return}o.set(e,r)},get(n,e){return ue.has(n)&&ue.get(n).get(e)||null},remove(n,e){if(!ue.has(n))return;const r=ue.get(n);r.delete(e),r.size===0&&ue.delete(n)}},Qf=1e6,Jf=1e3,Mr="transitionend",sl=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,r)=>`#${CSS.escape(r)}`)),n),Zf=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),td=n=>{do n+=Math.floor(Math.random()*Qf);while(document.getElementById(n));return n},ed=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(n);const o=Number.parseFloat(e),c=Number.parseFloat(r);return!o&&!c?0:(e=e.split(",")[0],r=r.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(r))*Jf)},ol=n=>{n.dispatchEvent(new Event(Mr))},ie=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),fe=n=>ie(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(sl(n)):null,cn=n=>{if(!ie(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",r=n.closest("details:not([open])");if(!r)return e;if(r!==n){const o=n.closest("summary");if(o&&o.parentNode!==r||o===null)return!1}return e},de=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",al=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?al(n.parentNode):null},_i=()=>{},Pn=n=>{n.offsetHeight},ll=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ar=[],nd=n=>{document.readyState==="loading"?(ar.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of ar)e()}),ar.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Ft=n=>{nd(()=>{const e=ll();if(e){const r=n.NAME,o=e.fn[r];e.fn[r]=n.jQueryInterface,e.fn[r].Constructor=n,e.fn[r].noConflict=()=>(e.fn[r]=o,n.jQueryInterface)}})},Ct=(n,e=[],r=n)=>typeof n=="function"?n.call(...e):r,cl=(n,e,r=!0)=>{if(!r){Ct(n);return}const c=ed(e)+5;let d=!1;const h=({target:p})=>{p===e&&(d=!0,e.removeEventListener(Mr,h),Ct(n))};e.addEventListener(Mr,h),setTimeout(()=>{d||ol(e)},c)},Zr=(n,e,r,o)=>{const c=n.length;let d=n.indexOf(e);return d===-1?!r&&o?n[c-1]:n[0]:(d+=r?1:-1,o&&(d=(d+c)%c),n[Math.max(0,Math.min(d,c-1))])},id=/[^.]*(?=\..*)\.|.*/,rd=/\..*/,sd=/::\d+$/,lr={};let Eo=1;const ul={mouseenter:"mouseover",mouseleave:"mouseout"},od=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 fl(n,e){return e&&`${e}::${Eo++}`||n.uidEvent||Eo++}function dl(n){const e=fl(n);return n.uidEvent=e,lr[e]=lr[e]||{},lr[e]}function ad(n,e){return function r(o){return ts(o,{delegateTarget:n}),r.oneOff&&M.off(n,o.type,e),e.apply(n,[o])}}function ld(n,e,r){return function o(c){const d=n.querySelectorAll(e);for(let{target:h}=c;h&&h!==this;h=h.parentNode)for(const p of d)if(p===h)return ts(c,{delegateTarget:h}),o.oneOff&&M.off(n,c.type,e,r),r.apply(h,[c])}}function hl(n,e,r=null){return Object.values(n).find(o=>o.callable===e&&o.delegationSelector===r)}function pl(n,e,r){const o=typeof e=="string",c=o?r:e||r;let d=gl(n);return od.has(d)||(d=n),[o,c,d]}function To(n,e,r,o,c){if(typeof e!="string"||!n)return;let[d,h,p]=pl(e,r,o);e in ul&&(h=(E=>function(S){if(!S.relatedTarget||S.relatedTarget!==S.delegateTarget&&!S.delegateTarget.contains(S.relatedTarget))return E.call(this,S)})(h));const m=dl(n),_=m[p]||(m[p]={}),v=hl(_,h,d?r:null);if(v){v.oneOff=v.oneOff&&c;return}const O=fl(h,e.replace(id,"")),I=d?ld(n,r,h):ad(n,h);I.delegationSelector=d?r:null,I.callable=h,I.oneOff=c,I.uidEvent=O,_[O]=I,n.addEventListener(p,I,d)}function jr(n,e,r,o,c){const d=hl(e[r],o,c);d&&(n.removeEventListener(r,d,!!c),delete e[r][d.uidEvent])}function cd(n,e,r,o){const c=e[r]||{};for(const[d,h]of Object.entries(c))d.includes(o)&&jr(n,e,r,h.callable,h.delegationSelector)}function gl(n){return n=n.replace(rd,""),ul[n]||n}const M={on(n,e,r,o){To(n,e,r,o,!1)},one(n,e,r,o){To(n,e,r,o,!0)},off(n,e,r,o){if(typeof e!="string"||!n)return;const[c,d,h]=pl(e,r,o),p=h!==e,m=dl(n),_=m[h]||{},v=e.startsWith(".");if(typeof d<"u"){if(!Object.keys(_).length)return;jr(n,m,h,d,c?r:null);return}if(v)for(const O of Object.keys(m))cd(n,m,O,e.slice(1));for(const[O,I]of Object.entries(_)){const k=O.replace(sd,"");(!p||e.includes(k))&&jr(n,m,h,I.callable,I.delegationSelector)}},trigger(n,e,r){if(typeof e!="string"||!n)return null;const o=ll(),c=gl(e),d=e!==c;let h=null,p=!0,m=!0,_=!1;d&&o&&(h=o.Event(e,r),o(n).trigger(h),p=!h.isPropagationStopped(),m=!h.isImmediatePropagationStopped(),_=h.isDefaultPrevented());const v=ts(new Event(e,{bubbles:p,cancelable:!0}),r);return _&&v.preventDefault(),m&&n.dispatchEvent(v),v.defaultPrevented&&h&&h.preventDefault(),v}};function ts(n,e={}){for(const[r,o]of Object.entries(e))try{n[r]=o}catch{Object.defineProperty(n,r,{configurable:!0,get(){return o}})}return n}function wo(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function cr(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const re={setDataAttribute(n,e,r){n.setAttribute(`data-bs-${cr(e)}`,r)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${cr(e)}`)},getDataAttributes(n){if(!n)return{};const e={},r=Object.keys(n.dataset).filter(o=>o.startsWith("bs")&&!o.startsWith("bsConfig"));for(const o of r){let c=o.replace(/^bs/,"");c=c.charAt(0).toLowerCase()+c.slice(1),e[c]=wo(n.dataset[o])}return e},getDataAttribute(n,e){return wo(n.getAttribute(`data-bs-${cr(e)}`))}};class Rn{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,r){const o=ie(r)?re.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof o=="object"?o:{},...ie(r)?re.getDataAttributes(r):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,r=this.constructor.DefaultType){for(const[o,c]of Object.entries(r)){const d=e[o],h=ie(d)?"element":Zf(d);if(!new RegExp(c).test(h))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${h}" but expected type "${c}".`)}}}const ud="5.3.8";class zt extends Rn{constructor(e,r){super(),e=fe(e),e&&(this._element=e,this._config=this._getConfig(r),or.set(this._element,this.constructor.DATA_KEY,this))}dispose(){or.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,r,o=!0){cl(e,r,o)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return or.get(fe(e),this.DATA_KEY)}static getOrCreateInstance(e,r={}){return this.getInstance(e)||new this(e,typeof r=="object"?r:null)}static get VERSION(){return ud}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const ur=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let r=n.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),e=r&&r!=="#"?r.trim():null}return e?e.split(",").map(r=>sl(r)).join(","):null},Y={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(r=>r.matches(e))},parents(n,e){const r=[];let o=n.parentNode.closest(e);for(;o;)r.push(o),o=o.parentNode.closest(e);return r},prev(n,e){let r=n.previousElementSibling;for(;r;){if(r.matches(e))return[r];r=r.previousElementSibling}return[]},next(n,e){let r=n.nextElementSibling;for(;r;){if(r.matches(e))return[r];r=r.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(r=>!de(r)&&cn(r))},getSelectorFromElement(n){const e=ur(n);return e&&Y.findOne(e)?e:null},getElementFromSelector(n){const e=ur(n);return e?Y.findOne(e):null},getMultipleElementsFromSelector(n){const e=ur(n);return e?Y.find(e):[]}},Ni=(n,e="hide")=>{const r=`click.dismiss${n.EVENT_KEY}`,o=n.NAME;M.on(document,r,`[data-bs-dismiss="${o}"]`,function(c){if(["A","AREA"].includes(this.tagName)&&c.preventDefault(),de(this))return;const d=Y.getElementFromSelector(this)||this.closest(`.${o}`);n.getOrCreateInstance(d)[e]()})},fd="alert",dd="bs.alert",ml=`.${dd}`,hd=`close${ml}`,pd=`closed${ml}`,gd="fade",md="show";class Di extends zt{static get NAME(){return fd}close(){if(M.trigger(this._element,hd).defaultPrevented)return;this._element.classList.remove(md);const r=this._element.classList.contains(gd);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),M.trigger(this._element,pd),this.dispose()}static jQueryInterface(e){return this.each(function(){const r=Di.getOrCreateInstance(this);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}Ni(Di,"close");Ft(Di);const yd="button",vd="bs.button",_d=`.${vd}`,bd=".data-api",Ed="active",So='[data-bs-toggle="button"]',Td=`click${_d}${bd}`;class Li extends zt{static get NAME(){return yd}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ed))}static jQueryInterface(e){return this.each(function(){const r=Li.getOrCreateInstance(this);e==="toggle"&&r[e]()})}}M.on(document,Td,So,n=>{n.preventDefault();const e=n.target.closest(So);Li.getOrCreateInstance(e).toggle()});Ft(Li);const wd="swipe",un=".bs.swipe",Sd=`touchstart${un}`,Ad=`touchmove${un}`,xd=`touchend${un}`,Cd=`pointerdown${un}`,Od=`pointerup${un}`,Nd="touch",Dd="pen",Ld="pointer-event",Pd=40,Rd={endCallback:null,leftCallback:null,rightCallback:null},Id={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class bi extends Rn{constructor(e,r){super(),this._element=e,!(!e||!bi.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Rd}static get DefaultType(){return Id}static get NAME(){return wd}dispose(){M.off(this._element,un)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Ct(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Pd)return;const r=e/this._deltaX;this._deltaX=0,r&&Ct(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(M.on(this._element,Cd,e=>this._start(e)),M.on(this._element,Od,e=>this._end(e)),this._element.classList.add(Ld)):(M.on(this._element,Sd,e=>this._start(e)),M.on(this._element,Ad,e=>this._move(e)),M.on(this._element,xd,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Dd||e.pointerType===Nd)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const kd="carousel",Md="bs.carousel",ge=`.${Md}`,yl=".data-api",jd="ArrowLeft",$d="ArrowRight",Hd=500,Tn="next",Ve="prev",Ye="left",di="right",Fd=`slide${ge}`,fr=`slid${ge}`,Bd=`keydown${ge}`,qd=`mouseenter${ge}`,Ud=`mouseleave${ge}`,Wd=`dragstart${ge}`,Vd=`load${ge}${yl}`,zd=`click${ge}${yl}`,vl="carousel",ni="active",Kd="slide",Yd="carousel-item-end",Gd="carousel-item-start",Xd="carousel-item-next",Qd="carousel-item-prev",_l=".active",bl=".carousel-item",Jd=_l+bl,Zd=".carousel-item img",th=".carousel-indicators",eh="[data-bs-slide], [data-bs-slide-to]",nh='[data-bs-ride="carousel"]',ih={[jd]:di,[$d]:Ye},rh={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},sh={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class In extends zt{constructor(e,r){super(e,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(th,this._element),this._addEventListeners(),this._config.ride===vl&&this.cycle()}static get Default(){return rh}static get DefaultType(){return sh}static get NAME(){return kd}next(){this._slide(Tn)}nextWhenVisible(){!document.hidden&&cn(this._element)&&this.next()}prev(){this._slide(Ve)}pause(){this._isSliding&&ol(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){M.one(this._element,fr,()=>this.cycle());return}this.cycle()}}to(e){const r=this._getItems();if(e>r.length-1||e<0)return;if(this._isSliding){M.one(this._element,fr,()=>this.to(e));return}const o=this._getItemIndex(this._getActive());if(o===e)return;const c=e>o?Tn:Ve;this._slide(c,r[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&M.on(this._element,Bd,e=>this._keydown(e)),this._config.pause==="hover"&&(M.on(this._element,qd,()=>this.pause()),M.on(this._element,Ud,()=>this._maybeEnableCycle())),this._config.touch&&bi.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const o of Y.find(Zd,this._element))M.on(o,Wd,c=>c.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Ye)),rightCallback:()=>this._slide(this._directionToOrder(di)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Hd+this._config.interval))}};this._swipeHelper=new bi(this._element,r)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const r=ih[e.key];r&&(e.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const r=Y.findOne(_l,this._indicatorsElement);r.classList.remove(ni),r.removeAttribute("aria-current");const o=Y.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);o&&(o.classList.add(ni),o.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const r=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(e,r=null){if(this._isSliding)return;const o=this._getActive(),c=e===Tn,d=r||Zr(this._getItems(),o,c,this._config.wrap);if(d===o)return;const h=this._getItemIndex(d),p=k=>M.trigger(this._element,k,{relatedTarget:d,direction:this._orderToDirection(e),from:this._getItemIndex(o),to:h});if(p(Fd).defaultPrevented||!o||!d)return;const _=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(h),this._activeElement=d;const v=c?Gd:Yd,O=c?Xd:Qd;d.classList.add(O),Pn(d),o.classList.add(v),d.classList.add(v);const I=()=>{d.classList.remove(v,O),d.classList.add(ni),o.classList.remove(ni,O,v),this._isSliding=!1,p(fr)};this._queueCallback(I,o,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains(Kd)}_getActive(){return Y.findOne(Jd,this._element)}_getItems(){return Y.find(bl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Ye?Ve:Tn:e===Ye?Tn:Ve}_orderToDirection(e){return $t()?e===Ve?Ye:di:e===Ve?di:Ye}static jQueryInterface(e){return this.each(function(){const r=In.getOrCreateInstance(this,e);if(typeof e=="number"){r.to(e);return}if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}M.on(document,zd,eh,function(n){const e=Y.getElementFromSelector(this);if(!e||!e.classList.contains(vl))return;n.preventDefault();const r=In.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");if(o){r.to(o),r._maybeEnableCycle();return}if(re.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});M.on(window,Vd,()=>{const n=Y.find(nh);for(const e of n)In.getOrCreateInstance(e)});Ft(In);const oh="collapse",ah="bs.collapse",kn=`.${ah}`,lh=".data-api",ch=`show${kn}`,uh=`shown${kn}`,fh=`hide${kn}`,dh=`hidden${kn}`,hh=`click${kn}${lh}`,dr="show",Xe="collapse",ii="collapsing",ph="collapsed",gh=`:scope .${Xe} .${Xe}`,mh="collapse-horizontal",yh="width",vh="height",_h=".collapse.show, .collapse.collapsing",$r='[data-bs-toggle="collapse"]',bh={parent:null,toggle:!0},Eh={parent:"(null|element)",toggle:"boolean"};class xn extends zt{constructor(e,r){super(e,r),this._isTransitioning=!1,this._triggerArray=[];const o=Y.find($r);for(const c of o){const d=Y.getSelectorFromElement(c),h=Y.find(d).filter(p=>p===this._element);d!==null&&h.length&&this._triggerArray.push(c)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return bh}static get DefaultType(){return Eh}static get NAME(){return oh}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(_h).filter(p=>p!==this._element).map(p=>xn.getOrCreateInstance(p,{toggle:!1}))),e.length&&e[0]._isTransitioning||M.trigger(this._element,ch).defaultPrevented)return;for(const p of e)p.hide();const o=this._getDimension();this._element.classList.remove(Xe),this._element.classList.add(ii),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const c=()=>{this._isTransitioning=!1,this._element.classList.remove(ii),this._element.classList.add(Xe,dr),this._element.style[o]="",M.trigger(this._element,uh)},h=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback(c,this._element,!0),this._element.style[o]=`${this._element[h]}px`}hide(){if(this._isTransitioning||!this._isShown()||M.trigger(this._element,fh).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Pn(this._element),this._element.classList.add(ii),this._element.classList.remove(Xe,dr);for(const c of this._triggerArray){const d=Y.getElementFromSelector(c);d&&!this._isShown(d)&&this._addAriaAndCollapsedClass([c],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(ii),this._element.classList.add(Xe),M.trigger(this._element,dh)};this._element.style[r]="",this._queueCallback(o,this._element,!0)}_isShown(e=this._element){return e.classList.contains(dr)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=fe(e.parent),e}_getDimension(){return this._element.classList.contains(mh)?yh:vh}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren($r);for(const r of e){const o=Y.getElementFromSelector(r);o&&this._addAriaAndCollapsedClass([r],this._isShown(o))}}_getFirstLevelChildren(e){const r=Y.find(gh,this._config.parent);return Y.find(e,this._config.parent).filter(o=>!r.includes(o))}_addAriaAndCollapsedClass(e,r){if(e.length)for(const o of e)o.classList.toggle(ph,!r),o.setAttribute("aria-expanded",r)}static jQueryInterface(e){const r={};return typeof e=="string"&&/show|hide/.test(e)&&(r.toggle=!1),this.each(function(){const o=xn.getOrCreateInstance(this,r);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}}M.on(document,hh,$r,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Y.getMultipleElementsFromSelector(this))xn.getOrCreateInstance(e,{toggle:!1}).toggle()});Ft(xn);const Ao="dropdown",Th="bs.dropdown",Le=`.${Th}`,es=".data-api",wh="Escape",xo="Tab",Sh="ArrowUp",Co="ArrowDown",Ah=2,xh=`hide${Le}`,Ch=`hidden${Le}`,Oh=`show${Le}`,Nh=`shown${Le}`,El=`click${Le}${es}`,Tl=`keydown${Le}${es}`,Dh=`keyup${Le}${es}`,Ge="show",Lh="dropup",Ph="dropend",Rh="dropstart",Ih="dropup-center",kh="dropdown-center",we='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Mh=`${we}.${Ge}`,hi=".dropdown-menu",jh=".navbar",$h=".navbar-nav",Hh=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Fh=$t()?"top-end":"top-start",Bh=$t()?"top-start":"top-end",qh=$t()?"bottom-end":"bottom-start",Uh=$t()?"bottom-start":"bottom-end",Wh=$t()?"left-start":"right-start",Vh=$t()?"right-start":"left-start",zh="top",Kh="bottom",Yh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gh={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Jt extends zt{constructor(e,r){super(e,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,hi)[0]||Y.prev(this._element,hi)[0]||Y.findOne(hi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Yh}static get DefaultType(){return Gh}static get NAME(){return Ao}toggle(){return this._isShown()?this.hide():this.show()}show(){if(de(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!M.trigger(this._element,Oh,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest($h))for(const o of[].concat(...document.body.children))M.on(o,"mouseover",_i);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ge),this._element.classList.add(Ge),M.trigger(this._element,Nh,e)}}hide(){if(de(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!M.trigger(this._element,xh,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))M.off(o,"mouseover",_i);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ge),this._element.classList.remove(Ge),this._element.setAttribute("aria-expanded","false"),re.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,Ch,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!ie(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Ao.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof rl>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;this._config.reference==="parent"?e=this._parent:ie(this._config.reference)?e=fe(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const r=this._getPopperConfig();this._popper=Jr(e,this._menu,r)}_isShown(){return this._menu.classList.contains(Ge)}_getPlacement(){const e=this._parent;if(e.classList.contains(Ph))return Wh;if(e.classList.contains(Rh))return Vh;if(e.classList.contains(Ih))return zh;if(e.classList.contains(kh))return Kh;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(Lh)?r?Bh:Fh:r?Uh:qh}_detectNavbar(){return this._element.closest(jh)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(r=>Number.parseInt(r,10)):typeof e=="function"?r=>e(r,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(re.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Ct(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:r}){const o=Y.find(Hh,this._menu).filter(c=>cn(c));o.length&&Zr(o,r,e===Co,!o.includes(r)).focus()}static jQueryInterface(e){return this.each(function(){const r=Jt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}static clearMenus(e){if(e.button===Ah||e.type==="keyup"&&e.key!==xo)return;const r=Y.find(Mh);for(const o of r){const c=Jt.getInstance(o);if(!c||c._config.autoClose===!1)continue;const d=e.composedPath(),h=d.includes(c._menu);if(d.includes(c._element)||c._config.autoClose==="inside"&&!h||c._config.autoClose==="outside"&&h||c._menu.contains(e.target)&&(e.type==="keyup"&&e.key===xo||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const p={relatedTarget:c._element};e.type==="click"&&(p.clickEvent=e),c._completeHide(p)}}static dataApiKeydownHandler(e){const r=/input|textarea/i.test(e.target.tagName),o=e.key===wh,c=[Sh,Co].includes(e.key);if(!c&&!o||r&&!o)return;e.preventDefault();const d=this.matches(we)?this:Y.prev(this,we)[0]||Y.next(this,we)[0]||Y.findOne(we,e.delegateTarget.parentNode),h=Jt.getOrCreateInstance(d);if(c){e.stopPropagation(),h.show(),h._selectMenuItem(e);return}h._isShown()&&(e.stopPropagation(),h.hide(),d.focus())}}M.on(document,Tl,we,Jt.dataApiKeydownHandler);M.on(document,Tl,hi,Jt.dataApiKeydownHandler);M.on(document,El,Jt.clearMenus);M.on(document,Dh,Jt.clearMenus);M.on(document,El,we,function(n){n.preventDefault(),Jt.getOrCreateInstance(this).toggle()});Ft(Jt);const wl="backdrop",Xh="fade",Oo="show",No=`mousedown.bs.${wl}`,Qh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Jh={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Sl extends Rn{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qh}static get DefaultType(){return Jh}static get NAME(){return wl}show(e){if(!this._config.isVisible){Ct(e);return}this._append();const r=this._getElement();this._config.isAnimated&&Pn(r),r.classList.add(Oo),this._emulateAnimation(()=>{Ct(e)})}hide(e){if(!this._config.isVisible){Ct(e);return}this._getElement().classList.remove(Oo),this._emulateAnimation(()=>{this.dispose(),Ct(e)})}dispose(){this._isAppended&&(M.off(this._element,No),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Xh),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=fe(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),M.on(e,No,()=>{Ct(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){cl(e,this._getElement(),this._config.isAnimated)}}const Zh="focustrap",tp="bs.focustrap",Ei=`.${tp}`,ep=`focusin${Ei}`,np=`keydown.tab${Ei}`,ip="Tab",rp="forward",Do="backward",sp={autofocus:!0,trapElement:null},op={autofocus:"boolean",trapElement:"element"};class Al extends Rn{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return sp}static get DefaultType(){return op}static get NAME(){return Zh}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),M.off(document,Ei),M.on(document,ep,e=>this._handleFocusin(e)),M.on(document,np,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,Ei))}_handleFocusin(e){const{trapElement:r}=this._config;if(e.target===document||e.target===r||r.contains(e.target))return;const o=Y.focusableChildren(r);o.length===0?r.focus():this._lastTabNavDirection===Do?o[o.length-1].focus():o[0].focus()}_handleKeydown(e){e.key===ip&&(this._lastTabNavDirection=e.shiftKey?Do:rp)}}const Lo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Po=".sticky-top",ri="padding-right",Ro="margin-right";class Hr{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ri,r=>r+e),this._setElementAttributes(Lo,ri,r=>r+e),this._setElementAttributes(Po,Ro,r=>r-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ri),this._resetElementAttributes(Lo,ri),this._resetElementAttributes(Po,Ro)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,r,o){const c=this.getWidth(),d=h=>{if(h!==this._element&&window.innerWidth>h.clientWidth+c)return;this._saveInitialAttribute(h,r);const p=window.getComputedStyle(h).getPropertyValue(r);h.style.setProperty(r,`${o(Number.parseFloat(p))}px`)};this._applyManipulationCallback(e,d)}_saveInitialAttribute(e,r){const o=e.style.getPropertyValue(r);o&&re.setDataAttribute(e,r,o)}_resetElementAttributes(e,r){const o=c=>{const d=re.getDataAttribute(c,r);if(d===null){c.style.removeProperty(r);return}re.removeDataAttribute(c,r),c.style.setProperty(r,d)};this._applyManipulationCallback(e,o)}_applyManipulationCallback(e,r){if(ie(e)){r(e);return}for(const o of Y.find(e,this._element))r(o)}}const ap="modal",lp="bs.modal",Ht=`.${lp}`,cp=".data-api",up="Escape",fp=`hide${Ht}`,dp=`hidePrevented${Ht}`,xl=`hidden${Ht}`,Cl=`show${Ht}`,hp=`shown${Ht}`,pp=`resize${Ht}`,gp=`click.dismiss${Ht}`,mp=`mousedown.dismiss${Ht}`,yp=`keydown.dismiss${Ht}`,vp=`click${Ht}${cp}`,Io="modal-open",_p="fade",ko="show",hr="modal-static",bp=".modal.show",Ep=".modal-dialog",Tp=".modal-body",wp='[data-bs-toggle="modal"]',Sp={backdrop:!0,focus:!0,keyboard:!0},Ap={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class rn extends zt{constructor(e,r){super(e,r),this._dialog=Y.findOne(Ep,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Hr,this._addEventListeners()}static get Default(){return Sp}static get DefaultType(){return Ap}static get NAME(){return ap}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||M.trigger(this._element,Cl,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Io),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||M.trigger(this._element,fp).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ko),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){M.off(window,Ht),M.off(this._dialog,Ht),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Sl({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Al({trapElement:this._element})}_showElement(e){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 r=Y.findOne(Tp,this._dialog);r&&(r.scrollTop=0),Pn(this._element),this._element.classList.add(ko);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,hp,{relatedTarget:e})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){M.on(this._element,yp,e=>{if(e.key===up){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),M.on(window,pp,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),M.on(this._element,mp,e=>{M.one(this._element,gp,r=>{if(!(this._element!==e.target||this._element!==r.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(Io),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,xl)})}_isAnimated(){return this._element.classList.contains(_p)}_triggerBackdropTransition(){if(M.trigger(this._element,dp).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,o=this._element.style.overflowY;o==="hidden"||this._element.classList.contains(hr)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(hr),this._queueCallback(()=>{this._element.classList.remove(hr),this._queueCallback(()=>{this._element.style.overflowY=o},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),o=r>0;if(o&&!e){const c=$t()?"paddingLeft":"paddingRight";this._element.style[c]=`${r}px`}if(!o&&e){const c=$t()?"paddingRight":"paddingLeft";this._element.style[c]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,r){return this.each(function(){const o=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e](r)}})}}M.on(document,vp,wp,function(n){const e=Y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),M.one(e,Cl,c=>{c.defaultPrevented||M.one(e,xl,()=>{cn(this)&&this.focus()})});const r=Y.findOne(bp);r&&rn.getInstance(r).hide(),rn.getOrCreateInstance(e).toggle(this)});Ni(rn);Ft(rn);const xp="offcanvas",Cp="bs.offcanvas",oe=`.${Cp}`,Ol=".data-api",Op=`load${oe}${Ol}`,Np="Escape",Mo="show",jo="showing",$o="hiding",Dp="offcanvas-backdrop",Nl=".offcanvas.show",Lp=`show${oe}`,Pp=`shown${oe}`,Rp=`hide${oe}`,Ho=`hidePrevented${oe}`,Dl=`hidden${oe}`,Ip=`resize${oe}`,kp=`click${oe}${Ol}`,Mp=`keydown.dismiss${oe}`,jp='[data-bs-toggle="offcanvas"]',$p={backdrop:!0,keyboard:!0,scroll:!1},Hp={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class he extends zt{constructor(e,r){super(e,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return $p}static get DefaultType(){return Hp}static get NAME(){return xp}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||M.trigger(this._element,Lp,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Hr().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(jo);const o=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Mo),this._element.classList.remove(jo),M.trigger(this._element,Pp,{relatedTarget:e})};this._queueCallback(o,this._element,!0)}hide(){if(!this._isShown||M.trigger(this._element,Rp).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($o),this._backdrop.hide();const r=()=>{this._element.classList.remove(Mo,$o),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Hr().reset(),M.trigger(this._element,Dl)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){M.trigger(this._element,Ho);return}this.hide()},r=!!this._config.backdrop;return new Sl({className:Dp,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?e:null})}_initializeFocusTrap(){return new Al({trapElement:this._element})}_addEventListeners(){M.on(this._element,Mp,e=>{if(e.key===Np){if(this._config.keyboard){this.hide();return}M.trigger(this._element,Ho)}})}static jQueryInterface(e){return this.each(function(){const r=he.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}M.on(document,kp,jp,function(n){const e=Y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),de(this))return;M.one(e,Dl,()=>{cn(this)&&this.focus()});const r=Y.findOne(Nl);r&&r!==e&&he.getInstance(r).hide(),he.getOrCreateInstance(e).toggle(this)});M.on(window,Op,()=>{for(const n of Y.find(Nl))he.getOrCreateInstance(n).show()});M.on(window,Ip,()=>{for(const n of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&he.getOrCreateInstance(n).hide()});Ni(he);Ft(he);const Fp=/^aria-[\w-]*$/i,Ll={"*":["class","dir","id","lang","role",Fp],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:[]},Bp=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Up=(n,e)=>{const r=n.nodeName.toLowerCase();return e.includes(r)?Bp.has(r)?!!qp.test(n.nodeValue):!0:e.filter(o=>o instanceof RegExp).some(o=>o.test(r))};function Wp(n,e,r){if(!n.length)return n;if(r&&typeof r=="function")return r(n);const c=new window.DOMParser().parseFromString(n,"text/html"),d=[].concat(...c.body.querySelectorAll("*"));for(const h of d){const p=h.nodeName.toLowerCase();if(!Object.keys(e).includes(p)){h.remove();continue}const m=[].concat(...h.attributes),_=[].concat(e["*"]||[],e[p]||[]);for(const v of m)Up(v,_)||h.removeAttribute(v.nodeName)}return c.body.innerHTML}const Vp="TemplateFactory",zp={allowList:Ll,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Kp={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yp={entry:"(string|element|function|null)",selector:"(string|element)"};class Gp extends Rn{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return zp}static get DefaultType(){return Kp}static get NAME(){return Vp}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[c,d]of Object.entries(this._config.content))this._setContent(e,d,c);const r=e.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&r.classList.add(...o.split(" ")),r}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[r,o]of Object.entries(e))super._typeCheckConfig({selector:r,entry:o},Yp)}_setContent(e,r,o){const c=Y.findOne(o,e);if(c){if(r=this._resolvePossibleFunction(r),!r){c.remove();return}if(ie(r)){this._putElementInTemplate(fe(r),c);return}if(this._config.html){c.innerHTML=this._maybeSanitize(r);return}c.textContent=r}}_maybeSanitize(e){return this._config.sanitize?Wp(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Ct(e,[void 0,this])}_putElementInTemplate(e,r){if(this._config.html){r.innerHTML="",r.append(e);return}r.textContent=e.textContent}}const Xp="tooltip",Qp=new Set(["sanitize","allowList","sanitizeFn"]),pr="fade",Jp="modal",si="show",Zp=".tooltip-inner",Fo=`.${Jp}`,Bo="hide.bs.modal",wn="hover",gr="focus",mr="click",tg="manual",eg="hide",ng="hidden",ig="show",rg="shown",sg="inserted",og="click",ag="focusin",lg="focusout",cg="mouseenter",ug="mouseleave",fg={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},dg={allowList:Ll,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"},hg={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 fn extends zt{constructor(e,r){if(typeof rl>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,r),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 dg}static get DefaultType(){return hg}static get NAME(){return Xp}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),M.off(this._element.closest(Fo),Bo,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 e=M.trigger(this._element,this.constructor.eventName(ig)),o=(al(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!o)return;this._disposePopper();const c=this._getTipElement();this._element.setAttribute("aria-describedby",c.getAttribute("id"));const{container:d}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(d.append(c),M.trigger(this._element,this.constructor.eventName(sg))),this._popper=this._createPopper(c),c.classList.add(si),"ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))M.on(p,"mouseover",_i);const h=()=>{M.trigger(this._element,this.constructor.eventName(rg)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(h,this.tip,this._isAnimated())}hide(){if(!this._isShown()||M.trigger(this._element,this.constructor.eventName(eg)).defaultPrevented)return;if(this._getTipElement().classList.remove(si),"ontouchstart"in document.documentElement)for(const c of[].concat(...document.body.children))M.off(c,"mouseover",_i);this._activeTrigger[mr]=!1,this._activeTrigger[gr]=!1,this._activeTrigger[wn]=!1,this._isHovered=null;const o=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.eventName(ng)))};this._queueCallback(o,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(e){const r=this._getTemplateFactory(e).toHtml();if(!r)return null;r.classList.remove(pr,si),r.classList.add(`bs-${this.constructor.NAME}-auto`);const o=td(this.constructor.NAME).toString();return r.setAttribute("id",o),this._isAnimated()&&r.classList.add(pr),r}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Gp({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Zp]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(pr)}_isShown(){return this.tip&&this.tip.classList.contains(si)}_createPopper(e){const r=Ct(this._config.placement,[this,e,this._element]),o=fg[r.toUpperCase()];return Jr(this._element,e,this._getPopperConfig(o))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(r=>Number.parseInt(r,10)):typeof e=="function"?r=>e(r,this._element):e}_resolvePossibleFunction(e){return Ct(e,[this._element,this._element])}_getPopperConfig(e){const r={placement:e,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:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...r,...Ct(this._config.popperConfig,[void 0,r])}}_setListeners(){const e=this._config.trigger.split(" ");for(const r of e)if(r==="click")M.on(this._element,this.constructor.eventName(og),this._config.selector,o=>{const c=this._initializeOnDelegatedTarget(o);c._activeTrigger[mr]=!(c._isShown()&&c._activeTrigger[mr]),c.toggle()});else if(r!==tg){const o=r===wn?this.constructor.eventName(cg):this.constructor.eventName(ag),c=r===wn?this.constructor.eventName(ug):this.constructor.eventName(lg);M.on(this._element,o,this._config.selector,d=>{const h=this._initializeOnDelegatedTarget(d);h._activeTrigger[d.type==="focusin"?gr:wn]=!0,h._enter()}),M.on(this._element,c,this._config.selector,d=>{const h=this._initializeOnDelegatedTarget(d);h._activeTrigger[d.type==="focusout"?gr:wn]=h._element.contains(d.relatedTarget),h._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(Fo),Bo,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),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(e,r){clearTimeout(this._timeout),this._timeout=setTimeout(e,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const r=re.getDataAttributes(this._element);for(const o of Object.keys(r))Qp.has(o)&&delete r[o];return e={...r,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:fe(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[r,o]of Object.entries(this._config))this.constructor.Default[r]!==o&&(e[r]=o);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const r=fn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Ft(fn);const pg="popover",gg=".popover-header",mg=".popover-body",yg={...fn.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"},vg={...fn.DefaultType,content:"(null|string|element|function)"};class ns extends fn{static get Default(){return yg}static get DefaultType(){return vg}static get NAME(){return pg}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[gg]:this._getTitle(),[mg]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const r=ns.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Ft(ns);const _g="scrollspy",bg="bs.scrollspy",is=`.${bg}`,Eg=".data-api",Tg=`activate${is}`,qo=`click${is}`,wg=`load${is}${Eg}`,Sg="dropdown-item",ze="active",Ag='[data-bs-spy="scroll"]',yr="[href]",xg=".nav, .list-group",Uo=".nav-link",Cg=".nav-item",Og=".list-group-item",Ng=`${Uo}, ${Cg} > ${Uo}, ${Og}`,Dg=".dropdown",Lg=".dropdown-toggle",Pg={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Rg={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Pi extends zt{constructor(e,r){super(e,r),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 Pg}static get DefaultType(){return Rg}static get NAME(){return _g}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=fe(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(r=>Number.parseFloat(r))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(M.off(this._config.target,qo),M.on(this._config.target,qo,yr,e=>{const r=this._observableSections.get(e.target.hash);if(r){e.preventDefault();const o=this._rootElement||window,c=r.offsetTop-this._element.offsetTop;if(o.scrollTo){o.scrollTo({top:c,behavior:"smooth"});return}o.scrollTop=c}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),e)}_observerCallback(e){const r=h=>this._targetLinks.get(`#${h.target.id}`),o=h=>{this._previousScrollData.visibleEntryTop=h.target.offsetTop,this._process(r(h))},c=(this._rootElement||document.documentElement).scrollTop,d=c>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=c;for(const h of e){if(!h.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(h));continue}const p=h.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&p){if(o(h),!c)return;continue}!d&&!p&&o(h)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Y.find(yr,this._config.target);for(const r of e){if(!r.hash||de(r))continue;const o=Y.findOne(decodeURI(r.hash),this._element);cn(o)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,o))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ze),this._activateParents(e),M.trigger(this._element,Tg,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Sg)){Y.findOne(Lg,e.closest(Dg)).classList.add(ze);return}for(const r of Y.parents(e,xg))for(const o of Y.prev(r,Ng))o.classList.add(ze)}_clearActiveClass(e){e.classList.remove(ze);const r=Y.find(`${yr}.${ze}`,e);for(const o of r)o.classList.remove(ze)}static jQueryInterface(e){return this.each(function(){const r=Pi.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}M.on(window,wg,()=>{for(const n of Y.find(Ag))Pi.getOrCreateInstance(n)});Ft(Pi);const Ig="tab",kg="bs.tab",Pe=`.${kg}`,Mg=`hide${Pe}`,jg=`hidden${Pe}`,$g=`show${Pe}`,Hg=`shown${Pe}`,Fg=`click${Pe}`,Bg=`keydown${Pe}`,qg=`load${Pe}`,Ug="ArrowLeft",Wo="ArrowRight",Wg="ArrowUp",Vo="ArrowDown",vr="Home",zo="End",Se="active",Ko="fade",_r="show",Vg="dropdown",Pl=".dropdown-toggle",zg=".dropdown-menu",br=`:not(${Pl})`,Kg='.list-group, .nav, [role="tablist"]',Yg=".nav-item, .list-group-item",Gg=`.nav-link${br}, .list-group-item${br}, [role="tab"]${br}`,Rl='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Er=`${Gg}, ${Rl}`,Xg=`.${Se}[data-bs-toggle="tab"], .${Se}[data-bs-toggle="pill"], .${Se}[data-bs-toggle="list"]`;class sn extends zt{constructor(e){super(e),this._parent=this._element.closest(Kg),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),M.on(this._element,Bg,r=>this._keydown(r)))}static get NAME(){return Ig}show(){const e=this._element;if(this._elemIsActive(e))return;const r=this._getActiveElem(),o=r?M.trigger(r,Mg,{relatedTarget:e}):null;M.trigger(e,$g,{relatedTarget:r}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(r,e),this._activate(e,r))}_activate(e,r){if(!e)return;e.classList.add(Se),this._activate(Y.getElementFromSelector(e));const o=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(_r);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),M.trigger(e,Hg,{relatedTarget:r})};this._queueCallback(o,e,e.classList.contains(Ko))}_deactivate(e,r){if(!e)return;e.classList.remove(Se),e.blur(),this._deactivate(Y.getElementFromSelector(e));const o=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(_r);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),M.trigger(e,jg,{relatedTarget:r})};this._queueCallback(o,e,e.classList.contains(Ko))}_keydown(e){if(![Ug,Wo,Wg,Vo,vr,zo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const r=this._getChildren().filter(c=>!de(c));let o;if([vr,zo].includes(e.key))o=r[e.key===vr?0:r.length-1];else{const c=[Wo,Vo].includes(e.key);o=Zr(r,e.target,c,!0)}o&&(o.focus({preventScroll:!0}),sn.getOrCreateInstance(o).show())}_getChildren(){return Y.find(Er,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,r){this._setAttributeIfNotExists(e,"role","tablist");for(const o of r)this._setInitialAttributesOnChild(o)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const r=this._elemIsActive(e),o=this._getOuterElement(e);e.setAttribute("aria-selected",r),o!==e&&this._setAttributeIfNotExists(o,"role","presentation"),r||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const r=Y.getElementFromSelector(e);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,r){const o=this._getOuterElement(e);if(!o.classList.contains(Vg))return;const c=(d,h)=>{const p=Y.findOne(d,o);p&&p.classList.toggle(h,r)};c(Pl,Se),c(zg,_r),o.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(e,r,o){e.hasAttribute(r)||e.setAttribute(r,o)}_elemIsActive(e){return e.classList.contains(Se)}_getInnerElement(e){return e.matches(Er)?e:Y.findOne(Er,e)}_getOuterElement(e){return e.closest(Yg)||e}static jQueryInterface(e){return this.each(function(){const r=sn.getOrCreateInstance(this);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}M.on(document,Fg,Rl,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!de(this)&&sn.getOrCreateInstance(this).show()});M.on(window,qg,()=>{for(const n of Y.find(Xg))sn.getOrCreateInstance(n)});Ft(sn);const Qg="toast",Jg="bs.toast",me=`.${Jg}`,Zg=`mouseover${me}`,tm=`mouseout${me}`,em=`focusin${me}`,nm=`focusout${me}`,im=`hide${me}`,rm=`hidden${me}`,sm=`show${me}`,om=`shown${me}`,am="fade",Yo="hide",oi="show",ai="showing",lm={animation:"boolean",autohide:"boolean",delay:"number"},cm={animation:!0,autohide:!0,delay:5e3};class Ri extends zt{constructor(e,r){super(e,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return cm}static get DefaultType(){return lm}static get NAME(){return Qg}show(){if(M.trigger(this._element,sm).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(am);const r=()=>{this._element.classList.remove(ai),M.trigger(this._element,om),this._maybeScheduleHide()};this._element.classList.remove(Yo),Pn(this._element),this._element.classList.add(oi,ai),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||M.trigger(this._element,im).defaultPrevented)return;const r=()=>{this._element.classList.add(Yo),this._element.classList.remove(ai,oi),M.trigger(this._element,rm)};this._element.classList.add(ai),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(oi),super.dispose()}isShown(){return this._element.classList.contains(oi)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,r){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const o=e.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,Zg,e=>this._onInteraction(e,!0)),M.on(this._element,tm,e=>this._onInteraction(e,!1)),M.on(this._element,em,e=>this._onInteraction(e,!0)),M.on(this._element,nm,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const r=Ri.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}Ni(Ri);Ft(Ri);function um(n,e){if(typeof n>"u"||!n.document)throw new Error("jQuery requires a window with a document");var r=[],o=Object.getPrototypeOf,c=r.slice,d=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},h=r.push,p=r.indexOf,m={},_=m.toString,v=m.hasOwnProperty,O=v.toString,I=O.call(Object),k={};function E(t){return t==null?t+"":typeof t=="object"?m[_.call(t)]||"object":typeof t}function S(t){return t!=null&&t===t.window}function x(t){var i=!!t&&t.length,s=E(t);return typeof t=="function"||S(t)?!1:s==="array"||i===0||typeof i=="number"&&i>0&&i-1 in t}var P=n.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function W(t,i,s){s=s||P;var a,u=s.createElement("script");u.text=t;for(a in U)i&&i[a]&&(u[a]=i[a]);s.head.appendChild(u).parentNode&&u.parentNode.removeChild(u)}var $="4.0.0",J=/HTML$/i,l=function(t,i){return new l.fn.init(t,i)};l.fn=l.prototype={jquery:$,constructor:l,length:0,toArray:function(){return c.call(this)},get:function(t){return t==null?c.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var i=l.merge(this.constructor(),t);return i.prevObject=this,i},each:function(t){return l.each(this,t)},map:function(t){return this.pushStack(l.map(this,function(i,s){return t.call(i,s,i)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(l.grep(this,function(t,i){return(i+1)%2}))},odd:function(){return this.pushStack(l.grep(this,function(t,i){return i%2}))},eq:function(t){var i=this.length,s=+t+(t<0?i:0);return this.pushStack(s>=0&&s<i?[this[s]]:[])},end:function(){return this.prevObject||this.constructor()}},l.extend=l.fn.extend=function(){var t,i,s,a,u,f,g=arguments[0]||{},b=1,y=arguments.length,T=!1;for(typeof g=="boolean"&&(T=g,g=arguments[b]||{},b++),typeof g!="object"&&typeof g!="function"&&(g={}),b===y&&(g=this,b--);b<y;b++)if((t=arguments[b])!=null)for(i in t)a=t[i],!(i==="__proto__"||g===a)&&(T&&a&&(l.isPlainObject(a)||(u=Array.isArray(a)))?(s=g[i],u&&!Array.isArray(s)?f=[]:!u&&!l.isPlainObject(s)?f={}:f=s,u=!1,g[i]=l.extend(T,f,a)):a!==void 0&&(g[i]=a));return g},l.extend({expando:"jQuery"+($+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var i,s;return!t||_.call(t)!=="[object Object]"?!1:(i=o(t),i?(s=v.call(i,"constructor")&&i.constructor,typeof s=="function"&&O.call(s)===I):!0)},isEmptyObject:function(t){var i;for(i in t)return!1;return!0},globalEval:function(t,i,s){W(t,{nonce:i&&i.nonce},s)},each:function(t,i){var s,a=0;if(x(t))for(s=t.length;a<s&&i.call(t[a],a,t[a])!==!1;a++);else for(a in t)if(i.call(t[a],a,t[a])===!1)break;return t},text:function(t){var i,s="",a=0,u=t.nodeType;if(!u)for(;i=t[a++];)s+=l.text(i);return u===1||u===11?t.textContent:u===9?t.documentElement.textContent:u===3||u===4?t.nodeValue:s},makeArray:function(t,i){var s=i||[];return t!=null&&(x(Object(t))?l.merge(s,typeof t=="string"?[t]:t):h.call(s,t)),s},inArray:function(t,i,s){return i==null?-1:p.call(i,t,s)},isXMLDoc:function(t){var i=t&&t.namespaceURI,s=t&&(t.ownerDocument||t).documentElement;return!J.test(i||s&&s.nodeName||"HTML")},contains:function(t,i){var s=i&&i.parentNode;return t===s||!!(s&&s.nodeType===1&&(t.contains?t.contains(s):t.compareDocumentPosition&&t.compareDocumentPosition(s)&16))},merge:function(t,i){for(var s=+i.length,a=0,u=t.length;a<s;a++)t[u++]=i[a];return t.length=u,t},grep:function(t,i,s){for(var a,u=[],f=0,g=t.length,b=!s;f<g;f++)a=!i(t[f],f),a!==b&&u.push(t[f]);return u},map:function(t,i,s){var a,u,f=0,g=[];if(x(t))for(a=t.length;f<a;f++)u=i(t[f],f,s),u!=null&&g.push(u);else for(f in t)u=i(t[f],f,s),u!=null&&g.push(u);return d(g)},guid:1,support:k}),typeof Symbol=="function"&&(l.fn[Symbol.iterator]=r[Symbol.iterator]),l.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,i){m["[object "+i+"]"]=i.toLowerCase()});function B(t,i){return t.nodeName&&t.nodeName.toLowerCase()===i.toLowerCase()}var at=r.pop,C="[\\x20\\t\\r\\n\\f]",R=P.documentMode,X=R&&new RegExp(":enabled|:disabled|\\["+C+"*name"+C+"*="+C+`*(?:''|"")`),it=new RegExp("^"+C+"+|((?:^|[^\\\\])(?:\\\\.)*)"+C+"+$","g"),G="(?:\\\\[\\da-fA-F]{1,6}"+C+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ot=new RegExp("^"+C+"*([>+~]|"+C+")"+C+"*"),yt=new RegExp(C+"|>"),K=/[+~]/,st=P.documentElement,ut=st.matches||st.msMatchesSelector;function q(){var t=[];function i(s,a){return t.push(s+" ")>l.expr.cacheLength&&delete i[t.shift()],i[s+" "]=a}return i}function _t(t){return t&&typeof t.getElementsByTagName<"u"&&t}var gt="\\["+C+"*("+G+")(?:"+C+"*([*^$|!~]?=)"+C+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+G+"))|)"+C+"*\\]",V=":("+G+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+gt+")*)|.*)\\)|)",H={ID:new RegExp("^#("+G+")"),CLASS:new RegExp("^\\.("+G+")"),TAG:new RegExp("^("+G+"|[*])"),ATTR:new RegExp("^"+gt),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+C+"*(even|odd|(([+-]|)(\\d*)n|)"+C+"*(?:([+-]|)"+C+"*(\\d+)|))"+C+"*\\)|)","i")},j=new RegExp(V),z=new RegExp("\\\\[\\da-fA-F]{1,6}"+C+"?|\\\\([^\\r\\n\\f])","g"),Z=function(t,i){var s="0x"+t.slice(1)-65536;return i||(s<0?String.fromCharCode(s+65536):String.fromCharCode(s>>10|55296,s&1023|56320))};function tt(t){return t.replace(z,Z)}function ft(t){l.error("Syntax error, unrecognized expression: "+t)}var Kt=new RegExp("^"+C+"*,"+C+"*"),hn=q();function te(t,i){var s,a,u,f,g,b,y,T=hn[t+" "];if(T)return i?0:T.slice(0);for(g=t,b=[],y=l.expr.preFilter;g;){(!s||(a=Kt.exec(g)))&&(a&&(g=g.slice(a[0].length)||g),b.push(u=[])),s=!1,(a=ot.exec(g))&&(s=a.shift(),u.push({value:s,type:a[0].replace(it," ")}),g=g.slice(s.length));for(f in H)(a=l.expr.match[f].exec(g))&&(!y[f]||(a=y[f](a)))&&(s=a.shift(),u.push({value:s,type:f,matches:a}),g=g.slice(s.length));if(!s)break}return i?g.length:g?ft(t):hn(t,b).slice(0)}var Ii={ATTR:function(t){return t[1]=tt(t[1]),t[3]=tt(t[3]||t[4]||t[5]||""),t[2]==="~="&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),t[1].slice(0,3)==="nth"?(t[3]||ft(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*(t[3]==="even"||t[3]==="odd")),t[5]=+(t[7]+t[8]||t[3]==="odd")):t[3]&&ft(t[0]),t},PSEUDO:function(t){var i,s=!t[6]&&t[2];return H.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":s&&j.test(s)&&(i=te(s,!0))&&(i=s.indexOf(")",s.length-i)-s.length)&&(t[0]=t[0].slice(0,i),t[2]=s.slice(0,i)),t.slice(0,3))}};function ye(t){for(var i=0,s=t.length,a="";i<s;i++)a+=t[i].value;return a}function Bt(t,i,s,a,u,f,g){var b=0,y=t.length,T=s==null;if(E(s)==="object"){u=!0;for(b in s)Bt(t,i,b,s[b],!0,f,g)}else if(a!==void 0&&(u=!0,typeof a!="function"&&(g=!0),T&&(g?(i.call(t,a),i=null):(T=i,i=function(A,L,w){return T.call(l(A),w)})),i))for(;b<y;b++)i(t[b],s,g?a:a.call(t[b],b,i(t[b],s)));return u?t:T?i.call(t):y?i(t[0],s):f}var Rt=/[^\x20\t\r\n\f]+/g;l.fn.extend({attr:function(t,i){return Bt(this,l.attr,t,i,arguments.length>1)},removeAttr:function(t){return this.each(function(){l.removeAttr(this,t)})}}),l.extend({attr:function(t,i,s){var a,u,f=t.nodeType;if(!(f===3||f===8||f===2)){if(typeof t.getAttribute>"u")return l.prop(t,i,s);if((f!==1||!l.isXMLDoc(t))&&(u=l.attrHooks[i.toLowerCase()]),s!==void 0){if(s===null||s===!1&&i.toLowerCase().indexOf("aria-")!==0){l.removeAttr(t,i);return}return u&&"set"in u&&(a=u.set(t,s,i))!==void 0?a:(t.setAttribute(i,s),s)}return u&&"get"in u&&(a=u.get(t,i))!==null?a:(a=t.getAttribute(i),a??void 0)}},attrHooks:{},removeAttr:function(t,i){var s,a=0,u=i&&i.match(Rt);if(u&&t.nodeType===1)for(;s=u[a++];)t.removeAttribute(s)}}),R&&(l.attrHooks.type={set:function(t,i){if(i==="radio"&&B(t,"input")){var s=t.value;return t.setAttribute("type",i),s&&(t.value=s),i}}});var jn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function $n(t,i){return i?t==="\0"?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}l.escapeSelector=function(t){return(t+"").replace(jn,$n)};var ki=r.sort,Mi=r.splice,qt;function Re(t,i){if(t===i)return qt=!0,0;var s=!t.compareDocumentPosition-!i.compareDocumentPosition;return s||(s=(t.ownerDocument||t)==(i.ownerDocument||i)?t.compareDocumentPosition(i):1,s&1?t==P||t.ownerDocument==P&&l.contains(P,t)?-1:i==P||i.ownerDocument==P&&l.contains(P,i)?1:0:s&4?-1:1)}l.uniqueSort=function(t){var i,s=[],a=0,u=0;if(qt=!1,ki.call(t,Re),qt){for(;i=t[u++];)i===t[u]&&(a=s.push(u));for(;a--;)Mi.call(t,s[a],1)}return t},l.fn.uniqueSort=function(){return this.pushStack(l.uniqueSort(c.apply(this)))};var ee,ve,vt,pn,It,kt=0,Hn=0,rs=q(),ss=q(),Fn=q(),kl=new RegExp(C+"+","g"),Ml=new RegExp("^"+G+"$"),os=l.extend({needsContext:new RegExp("^"+C+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+C+"*((?:-\\d)?\\d*)"+C+"*\\)|)(?=[^-]|$)","i")},H),jl=/^(?:input|select|textarea|button)$/i,$l=/^h\d$/i,Hl=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Fl=function(){Ie()},Bl=Bn(function(t){return t.disabled===!0&&B(t,"fieldset")},{dir:"parentNode",next:"legend"});function Ut(t,i,s,a){var u,f,g,b,y,T,A,L=i&&i.ownerDocument,w=i?i.nodeType:9;if(s=s||[],typeof t!="string"||!t||w!==1&&w!==9&&w!==11)return s;if(!a&&(Ie(i),i=i||vt,It)){if(w!==11&&(y=Hl.exec(t)))if(u=y[1]){if(w===9)return(g=i.getElementById(u))&&h.call(s,g),s;if(L&&(g=L.getElementById(u))&&l.contains(i,g))return h.call(s,g),s}else{if(y[2])return h.apply(s,i.getElementsByTagName(t)),s;if((u=y[3])&&i.getElementsByClassName)return h.apply(s,i.getElementsByClassName(u)),s}if(!Fn[t+" "]&&(!X||!X.test(t))){if(A=t,L=i,w===1&&(yt.test(t)||ot.test(t))){for(L=K.test(t)&&_t(i.parentNode)||i,(L!=i||R)&&((b=i.getAttribute("id"))?b=l.escapeSelector(b):i.setAttribute("id",b=l.expando)),T=te(t),f=T.length;f--;)T[f]=(b?"#"+b:":scope")+" "+ye(T[f]);A=T.join(",")}try{return h.apply(s,L.querySelectorAll(A)),s}catch{Fn(t,!0)}finally{b===l.expando&&i.removeAttribute("id")}}}return cs(t.replace(it,"$1"),i,s,a)}function Yt(t){return t[l.expando]=!0,t}function ql(t){return function(i){return B(i,"input")&&i.type===t}}function Ul(t){return function(i){return(B(i,"input")||B(i,"button"))&&i.type===t}}function as(t){return function(i){return"form"in i?i.parentNode&&i.disabled===!1?"label"in i?"label"in i.parentNode?i.parentNode.disabled===t:i.disabled===t:i.isDisabled===t||i.isDisabled!==!t&&Bl(i)===t:i.disabled===t:"label"in i?i.disabled===t:!1}}function _e(t){return Yt(function(i){return i=+i,Yt(function(s,a){for(var u,f=t([],s.length,i),g=f.length;g--;)s[u=f[g]]&&(s[u]=!(a[u]=s[u]))})})}function Ie(t){var i,s=t?t.ownerDocument||t:P;s==vt||s.nodeType!==9||(vt=s,pn=vt.documentElement,It=!l.isXMLDoc(vt),R&&P!=vt&&(i=vt.defaultView)&&i.top!==i&&i.addEventListener("unload",Fl))}Ut.matches=function(t,i){return Ut(t,null,null,i)},Ut.matchesSelector=function(t,i){if(Ie(t),It&&!Fn[i+" "]&&(!X||!X.test(i)))try{return ut.call(t,i)}catch{Fn(i,!0)}return Ut(i,vt,null,[t]).length>0},l.expr={cacheLength:50,createPseudo:Yt,match:os,find:{ID:function(t,i){if(typeof i.getElementById<"u"&&It){var s=i.getElementById(t);return s?[s]:[]}},TAG:function(t,i){return typeof i.getElementsByTagName<"u"?i.getElementsByTagName(t):i.querySelectorAll(t)},CLASS:function(t,i){if(typeof i.getElementsByClassName<"u"&&It)return i.getElementsByClassName(t)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:Ii,filter:{ID:function(t){var i=tt(t);return function(s){return s.getAttribute("id")===i}},TAG:function(t){var i=tt(t).toLowerCase();return t==="*"?function(){return!0}:function(s){return B(s,i)}},CLASS:function(t){var i=rs[t+" "];return i||(i=new RegExp("(^|"+C+")"+t+"("+C+"|$)"))&&rs(t,function(s){return i.test(typeof s.className=="string"&&s.className||typeof s.getAttribute<"u"&&s.getAttribute("class")||"")})},ATTR:function(t,i,s){return function(a){var u=l.attr(a,t);return u==null?i==="!=":i?(u+="",i==="="?u===s:i==="!="?u!==s:i==="^="?s&&u.indexOf(s)===0:i==="*="?s&&u.indexOf(s)>-1:i==="$="?s&&u.slice(-s.length)===s:i==="~="?(" "+u.replace(kl," ")+" ").indexOf(s)>-1:i==="|="?u===s||u.slice(0,s.length+1)===s+"-":!1):!0}},CHILD:function(t,i,s,a,u){var f=t.slice(0,3)!=="nth",g=t.slice(-4)!=="last",b=i==="of-type";return a===1&&u===0?function(y){return!!y.parentNode}:function(y,T,A){var L,w,D,F,et,Q=f!==g?"nextSibling":"previousSibling",ht=y.parentNode,dt=b&&y.nodeName.toLowerCase(),xt=!A&&!b,bt=!1;if(ht){if(f){for(;Q;){for(D=y;D=D[Q];)if(b?B(D,dt):D.nodeType===1)return!1;et=Q=t==="only"&&!et&&"nextSibling"}return!0}if(et=[g?ht.firstChild:ht.lastChild],g&&xt){for(w=ht[l.expando]||(ht[l.expando]={}),L=w[t]||[],F=L[0]===kt&&L[1],bt=F&&L[2],D=F&&ht.childNodes[F];D=++F&&D&&D[Q]||(bt=F=0)||et.pop();)if(D.nodeType===1&&++bt&&D===y){w[t]=[kt,F,bt];break}}else if(xt&&(w=y[l.expando]||(y[l.expando]={}),L=w[t]||[],F=L[0]===kt&&L[1],bt=F),bt===!1)for(;(D=++F&&D&&D[Q]||(bt=F=0)||et.pop())&&!((b?B(D,dt):D.nodeType===1)&&++bt&&(xt&&(w=D[l.expando]||(D[l.expando]={}),w[t]=[kt,bt]),D===y)););return bt-=u,bt===a||bt%a===0&&bt/a>=0}}},PSEUDO:function(t,i){var s=l.expr.pseudos[t]||l.expr.setFilters[t.toLowerCase()]||ft("unsupported pseudo: "+t);return s[l.expando]?s(i):s}},pseudos:{not:Yt(function(t){var i=[],s=[],a=Fi(t.replace(it,"$1"));return a[l.expando]?Yt(function(u,f,g,b){for(var y,T=a(u,null,b,[]),A=u.length;A--;)(y=T[A])&&(u[A]=!(f[A]=y))}):function(u,f,g){return i[0]=u,a(i,null,g,s),i[0]=null,!s.pop()}}),has:Yt(function(t){return function(i){return Ut(t,i).length>0}}),contains:Yt(function(t){return t=tt(t),function(i){return(i.textContent||l.text(i)).indexOf(t)>-1}}),lang:Yt(function(t){return Ml.test(t||"")||ft("unsupported lang: "+t),t=tt(t).toLowerCase(),function(i){var s;do if(s=It?i.lang:i.getAttribute("xml:lang")||i.getAttribute("lang"))return s=s.toLowerCase(),s===t||s.indexOf(t+"-")===0;while((i=i.parentNode)&&i.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(t){return t===pn},focus:function(t){return t===vt.activeElement&&vt.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:as(!1),disabled:as(!0),checked:function(t){return B(t,"input")&&!!t.checked||B(t,"option")&&!!t.selected},selected:function(t){return R&&t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!l.expr.pseudos.empty(t)},header:function(t){return $l.test(t.nodeName)},input:function(t){return jl.test(t.nodeName)},button:function(t){return B(t,"input")&&t.type==="button"||B(t,"button")},text:function(t){return B(t,"input")&&t.type==="text"},first:_e(function(){return[0]}),last:_e(function(t,i){return[i-1]}),eq:_e(function(t,i,s){return[s<0?s+i:s]}),even:_e(function(t,i){for(var s=0;s<i;s+=2)t.push(s);return t}),odd:_e(function(t,i){for(var s=1;s<i;s+=2)t.push(s);return t}),lt:_e(function(t,i,s){var a;for(s<0?a=s+i:s>i?a=i:a=s;--a>=0;)t.push(a);return t}),gt:_e(function(t,i,s){for(var a=s<0?s+i:s;++a<i;)t.push(a);return t})}},l.expr.pseudos.nth=l.expr.pseudos.eq;for(ee in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.expr.pseudos[ee]=ql(ee);for(ee in{submit:!0,reset:!0})l.expr.pseudos[ee]=Ul(ee);function ls(){}ls.prototype=l.expr.pseudos,l.expr.setFilters=new ls;function Bn(t,i,s){var a=i.dir,u=i.next,f=u||a,g=s&&f==="parentNode",b=Hn++;return i.first?function(y,T,A){for(;y=y[a];)if(y.nodeType===1||g)return t(y,T,A);return!1}:function(y,T,A){var L,w,D=[kt,b];if(A){for(;y=y[a];)if((y.nodeType===1||g)&&t(y,T,A))return!0}else for(;y=y[a];)if(y.nodeType===1||g)if(w=y[l.expando]||(y[l.expando]={}),u&&B(y,u))y=y[a]||y;else{if((L=w[f])&&L[0]===kt&&L[1]===b)return D[2]=L[2];if(w[f]=D,D[2]=t(y,T,A))return!0}return!1}}function ji(t){return t.length>1?function(i,s,a){for(var u=t.length;u--;)if(!t[u](i,s,a))return!1;return!0}:t[0]}function Wl(t,i,s){for(var a=0,u=i.length;a<u;a++)Ut(t,i[a],s);return s}function qn(t,i,s,a,u){for(var f,g=[],b=0,y=t.length,T=i!=null;b<y;b++)(f=t[b])&&(!s||s(f,a,u))&&(g.push(f),T&&i.push(b));return g}function $i(t,i,s,a,u,f){return a&&!a[l.expando]&&(a=$i(a)),u&&!u[l.expando]&&(u=$i(u,f)),Yt(function(g,b,y,T){var A,L,w,D,F=[],et=[],Q=b.length,ht=g||Wl(i||"*",y.nodeType?[y]:y,[]),dt=t&&(g||!i)?qn(ht,F,t,y,T):ht;if(s?(D=u||(g?t:Q||a)?[]:b,s(dt,D,y,T)):D=dt,a)for(A=qn(D,et),a(A,[],y,T),L=A.length;L--;)(w=A[L])&&(D[et[L]]=!(dt[et[L]]=w));if(g){if(u||t){if(u){for(A=[],L=D.length;L--;)(w=D[L])&&A.push(dt[L]=w);u(null,D=[],A,T)}for(L=D.length;L--;)(w=D[L])&&(A=u?p.call(g,w):F[L])>-1&&(g[A]=!(b[A]=w))}}else D=qn(D===b?D.splice(Q,D.length):D),u?u(null,b,D,T):h.apply(b,D)})}function Hi(t){for(var i,s,a,u=t.length,f=l.expr.relative[t[0].type],g=f||l.expr.relative[" "],b=f?1:0,y=Bn(function(L){return L===i},g,!0),T=Bn(function(L){return p.call(i,L)>-1},g,!0),A=[function(L,w,D){var F=!f&&(D||w!=ve)||((i=w).nodeType?y(L,w,D):T(L,w,D));return i=null,F}];b<u;b++)if(s=l.expr.relative[t[b].type])A=[Bn(ji(A),s)];else{if(s=l.expr.filter[t[b].type].apply(null,t[b].matches),s[l.expando]){for(a=++b;a<u&&!l.expr.relative[t[a].type];a++);return $i(b>1&&ji(A),b>1&&ye(t.slice(0,b-1).concat({value:t[b-2].type===" "?"*":""})).replace(it,"$1"),s,b<a&&Hi(t.slice(b,a)),a<u&&Hi(t=t.slice(a)),a<u&&ye(t))}A.push(s)}return ji(A)}function Vl(t,i){var s=i.length>0,a=t.length>0,u=function(f,g,b,y,T){var A,L,w,D=0,F="0",et=f&&[],Q=[],ht=ve,dt=f||a&&l.expr.find.TAG("*",T),xt=kt+=ht==null?1:Math.random()||.1;for(T&&(ve=g==vt||g||T);(A=dt[F])!=null;F++){if(a&&A){for(L=0,!g&&A.ownerDocument!=vt&&(Ie(A),b=!It);w=t[L++];)if(w(A,g||vt,b)){h.call(y,A);break}T&&(kt=xt)}s&&((A=!w&&A)&&D--,f&&et.push(A))}if(D+=F,s&&F!==D){for(L=0;w=i[L++];)w(et,Q,g,b);if(f){if(D>0)for(;F--;)et[F]||Q[F]||(Q[F]=at.call(y));Q=qn(Q)}h.apply(y,Q),T&&!f&&Q.length>0&&D+i.length>1&&l.uniqueSort(y)}return T&&(kt=xt,ve=ht),et};return s?Yt(u):u}function Fi(t,i){var s,a=[],u=[],f=ss[t+" "];if(!f){for(i||(i=te(t)),s=i.length;s--;)f=Hi(i[s]),f[l.expando]?a.push(f):u.push(f);f=ss(t,Vl(u,a)),f.selector=t}return f}function cs(t,i,s,a){var u,f,g,b,y,T=typeof t=="function"&&t,A=!a&&te(t=T.selector||t);if(s=s||[],A.length===1){if(f=A[0]=A[0].slice(0),f.length>2&&(g=f[0]).type==="ID"&&i.nodeType===9&&It&&l.expr.relative[f[1].type]){if(i=(l.expr.find.ID(tt(g.matches[0]),i)||[])[0],i)T&&(i=i.parentNode);else return s;t=t.slice(f.shift().value.length)}for(u=os.needsContext.test(t)?0:f.length;u--&&(g=f[u],!l.expr.relative[b=g.type]);)if((y=l.expr.find[b])&&(a=y(tt(g.matches[0]),K.test(f[0].type)&&_t(i.parentNode)||i))){if(f.splice(u,1),t=a.length&&ye(f),!t)return h.apply(s,a),s;break}}return(T||Fi(t,A))(a,i,!It,s,!i||K.test(t)&&_t(i.parentNode)||i),s}Ie(),l.find=Ut,Ut.compile=Fi,Ut.select=cs,Ut.setDocument=Ie,Ut.tokenize=te;function ke(t,i,s){for(var a=[],u=s!==void 0;(t=t[i])&&t.nodeType!==9;)if(t.nodeType===1){if(u&&l(t).is(s))break;a.push(t)}return a}function us(t,i){for(var s=[];t;t=t.nextSibling)t.nodeType===1&&t!==i&&s.push(t);return s}var fs=l.expr.match.needsContext,ds=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function hs(t){return t[0]==="<"&&t[t.length-1]===">"&&t.length>=3}function Bi(t,i,s){return typeof i=="function"?l.grep(t,function(a,u){return!!i.call(a,u,a)!==s}):i.nodeType?l.grep(t,function(a){return a===i!==s}):typeof i!="string"?l.grep(t,function(a){return p.call(i,a)>-1!==s}):l.filter(i,t,s)}l.filter=function(t,i,s){var a=i[0];return s&&(t=":not("+t+")"),i.length===1&&a.nodeType===1?l.find.matchesSelector(a,t)?[a]:[]:l.find.matches(t,l.grep(i,function(u){return u.nodeType===1}))},l.fn.extend({find:function(t){var i,s,a=this.length,u=this;if(typeof t!="string")return this.pushStack(l(t).filter(function(){for(i=0;i<a;i++)if(l.contains(u[i],this))return!0}));for(s=this.pushStack([]),i=0;i<a;i++)l.find(t,u[i],s);return a>1?l.uniqueSort(s):s},filter:function(t){return this.pushStack(Bi(this,t||[],!1))},not:function(t){return this.pushStack(Bi(this,t||[],!0))},is:function(t){return!!Bi(this,typeof t=="string"&&fs.test(t)?l(t):t||[],!1).length}});var Un,zl=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Kl=l.fn.init=function(t,i){var s,a;if(!t)return this;if(t.nodeType)return this[0]=t,this.length=1,this;if(typeof t=="function")return Un.ready!==void 0?Un.ready(t):t(l);if(s=t+"",hs(s))s=[null,t,null];else if(typeof t=="string")s=zl.exec(t);else return l.makeArray(t,this);if(s&&(s[1]||!i))if(s[1]){if(i=i instanceof l?i[0]:i,l.merge(this,l.parseHTML(s[1],i&&i.nodeType?i.ownerDocument||i:P,!0)),ds.test(s[1])&&l.isPlainObject(i))for(s in i)typeof this[s]=="function"?this[s](i[s]):this.attr(s,i[s]);return this}else return a=P.getElementById(s[2]),a&&(this[0]=a,this.length=1),this;else return!i||i.jquery?(i||Un).find(t):this.constructor(i).find(t)};Kl.prototype=l.fn,Un=l(P);var Yl=/^(?:parents|prev(?:Until|All))/,Gl={children:!0,contents:!0,next:!0,prev:!0};l.fn.extend({has:function(t){var i=l(t,this),s=i.length;return this.filter(function(){for(var a=0;a<s;a++)if(l.contains(this,i[a]))return!0})},closest:function(t,i){var s,a=0,u=this.length,f=[],g=typeof t!="string"&&l(t);if(!fs.test(t)){for(;a<u;a++)for(s=this[a];s&&s!==i;s=s.parentNode)if(s.nodeType<11&&(g?g.index(s)>-1:s.nodeType===1&&l.find.matchesSelector(s,t))){f.push(s);break}}return this.pushStack(f.length>1?l.uniqueSort(f):f)},index:function(t){return t?typeof t=="string"?p.call(l(t),this[0]):p.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,i){return this.pushStack(l.uniqueSort(l.merge(this.get(),l(t,i))))},addBack:function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}});function ps(t,i){for(;(t=t[i])&&t.nodeType!==1;);return t}l.each({parent:function(t){var i=t.parentNode;return i&&i.nodeType!==11?i:null},parents:function(t){return ke(t,"parentNode")},parentsUntil:function(t,i,s){return ke(t,"parentNode",s)},next:function(t){return ps(t,"nextSibling")},prev:function(t){return ps(t,"previousSibling")},nextAll:function(t){return ke(t,"nextSibling")},prevAll:function(t){return ke(t,"previousSibling")},nextUntil:function(t,i,s){return ke(t,"nextSibling",s)},prevUntil:function(t,i,s){return ke(t,"previousSibling",s)},siblings:function(t){return us((t.parentNode||{}).firstChild,t)},children:function(t){return us(t.firstChild)},contents:function(t){return t.contentDocument!=null&&o(t.contentDocument)?t.contentDocument:(B(t,"template")&&(t=t.content||t),l.merge([],t.childNodes))}},function(t,i){l.fn[t]=function(s,a){var u=l.map(this,i,s);return t.slice(-5)!=="Until"&&(a=s),a&&typeof a=="string"&&(u=l.filter(a,u)),this.length>1&&(Gl[t]||l.uniqueSort(u),Yl.test(t)&&u.reverse()),this.pushStack(u)}});function Xl(t){var i={};return l.each(t.match(Rt)||[],function(s,a){i[a]=!0}),i}l.Callbacks=function(t){t=typeof t=="string"?Xl(t):l.extend({},t);var i,s,a,u,f=[],g=[],b=-1,y=function(){for(u=u||t.once,a=i=!0;g.length;b=-1)for(s=g.shift();++b<f.length;)f[b].apply(s[0],s[1])===!1&&t.stopOnFalse&&(b=f.length,s=!1);t.memory||(s=!1),i=!1,u&&(s?f=[]:f="")},T={add:function(){return f&&(s&&!i&&(b=f.length-1,g.push(s)),(function A(L){l.each(L,function(w,D){typeof D=="function"?(!t.unique||!T.has(D))&&f.push(D):D&&D.length&&E(D)!=="string"&&A(D)})})(arguments),s&&!i&&y()),this},remove:function(){return l.each(arguments,function(A,L){for(var w;(w=l.inArray(L,f,w))>-1;)f.splice(w,1),w<=b&&b--}),this},has:function(A){return A?l.inArray(A,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return u=g=[],f=s="",this},disabled:function(){return!f},lock:function(){return u=g=[],!s&&!i&&(f=s=""),this},locked:function(){return!!u},fireWith:function(A,L){return u||(L=L||[],L=[A,L.slice?L.slice():L],g.push(L),i||y()),this},fire:function(){return T.fireWith(this,arguments),this},fired:function(){return!!a}};return T};function Me(t){return t}function Wn(t){throw t}function gs(t,i,s,a){var u;try{t&&typeof(u=t.promise)=="function"?u.call(t).done(i).fail(s):t&&typeof(u=t.then)=="function"?u.call(t,i,s):i.apply(void 0,[t].slice(a))}catch(f){s(f)}}l.extend({Deferred:function(t){var i=[["notify","progress",l.Callbacks("memory"),l.Callbacks("memory"),2],["resolve","done",l.Callbacks("once memory"),l.Callbacks("once memory"),0,"resolved"],["reject","fail",l.Callbacks("once memory"),l.Callbacks("once memory"),1,"rejected"]],s="pending",a={state:function(){return s},always:function(){return u.done(arguments).fail(arguments),this},catch:function(f){return a.then(null,f)},pipe:function(){var f=arguments;return l.Deferred(function(g){l.each(i,function(b,y){var T=typeof f[y[4]]=="function"&&f[y[4]];u[y[1]](function(){var A=T&&T.apply(this,arguments);A&&typeof A.promise=="function"?A.promise().progress(g.notify).done(g.resolve).fail(g.reject):g[y[0]+"With"](this,T?[A]:arguments)})}),f=null}).promise()},then:function(f,g,b){var y=0;function T(A,L,w,D){return function(){var F=this,et=arguments,Q=function(){var dt,xt;if(!(A<y)){if(dt=w.apply(F,et),dt===L.promise())throw new TypeError("Thenable self-resolution");xt=dt&&(typeof dt=="object"||typeof dt=="function")&&dt.then,typeof xt=="function"?D?xt.call(dt,T(y,L,Me,D),T(y,L,Wn,D)):(y++,xt.call(dt,T(y,L,Me,D),T(y,L,Wn,D),T(y,L,Me,L.notifyWith))):(w!==Me&&(F=void 0,et=[dt]),(D||L.resolveWith)(F,et))}},ht=D?Q:function(){try{Q()}catch(dt){l.Deferred.exceptionHook&&l.Deferred.exceptionHook(dt,ht.error),A+1>=y&&(w!==Wn&&(F=void 0,et=[dt]),L.rejectWith(F,et))}};A?ht():(l.Deferred.getErrorHook&&(ht.error=l.Deferred.getErrorHook()),n.setTimeout(ht))}}return l.Deferred(function(A){i[0][3].add(T(0,A,typeof b=="function"?b:Me,A.notifyWith)),i[1][3].add(T(0,A,typeof f=="function"?f:Me)),i[2][3].add(T(0,A,typeof g=="function"?g:Wn))}).promise()},promise:function(f){return f!=null?l.extend(f,a):a}},u={};return l.each(i,function(f,g){var b=g[2],y=g[5];a[g[1]]=b.add,y&&b.add(function(){s=y},i[3-f][2].disable,i[3-f][3].disable,i[0][2].lock,i[0][3].lock),b.add(g[3].fire),u[g[0]]=function(){return u[g[0]+"With"](this===u?void 0:this,arguments),this},u[g[0]+"With"]=b.fireWith}),a.promise(u),t&&t.call(u,u),u},when:function(t){var i=arguments.length,s=i,a=Array(s),u=c.call(arguments),f=l.Deferred(),g=function(b){return function(y){a[b]=this,u[b]=arguments.length>1?c.call(arguments):y,--i||f.resolveWith(a,u)}};if(i<=1&&(gs(t,f.done(g(s)).resolve,f.reject,!i),f.state()==="pending"||typeof(u[s]&&u[s].then)=="function"))return f.then();for(;s--;)gs(u[s],g(s),f.reject);return f.promise()}});var Ql=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;l.Deferred.exceptionHook=function(t,i){t&&Ql.test(t.name)&&n.console.warn("jQuery.Deferred exception",t,i)},l.readyException=function(t){n.setTimeout(function(){throw t})};var qi=l.Deferred();l.fn.ready=function(t){return qi.then(t).catch(function(i){l.readyException(i)}),this},l.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--l.readyWait:l.isReady)||(l.isReady=!0,!(t!==!0&&--l.readyWait>0)&&qi.resolveWith(P,[l]))}}),l.ready.then=qi.then;function Vn(){P.removeEventListener("DOMContentLoaded",Vn),n.removeEventListener("load",Vn),l.ready()}P.readyState!=="loading"?n.setTimeout(l.ready):(P.addEventListener("DOMContentLoaded",Vn),n.addEventListener("load",Vn));var Jl=/-([a-z])/g;function Zl(t,i){return i.toUpperCase()}function be(t){return t.replace(Jl,Zl)}function gn(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType}function mn(){this.expando=l.expando+mn.uid++}mn.uid=1,mn.prototype={cache:function(t){var i=t[this.expando];return i||(i=Object.create(null),gn(t)&&(t.nodeType?t[this.expando]=i:Object.defineProperty(t,this.expando,{value:i,configurable:!0}))),i},set:function(t,i,s){var a,u=this.cache(t);if(typeof i=="string")u[be(i)]=s;else for(a in i)u[be(a)]=i[a];return s},get:function(t,i){return i===void 0?this.cache(t):t[this.expando]&&t[this.expando][be(i)]},access:function(t,i,s){return i===void 0||i&&typeof i=="string"&&s===void 0?this.get(t,i):(this.set(t,i,s),s!==void 0?s:i)},remove:function(t,i){var s,a=t[this.expando];if(a!==void 0){if(i!==void 0)for(Array.isArray(i)?i=i.map(be):(i=be(i),i=i in a?[i]:i.match(Rt)||[]),s=i.length;s--;)delete a[i[s]];(i===void 0||l.isEmptyObject(a))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var i=t[this.expando];return i!==void 0&&!l.isEmptyObject(i)}};var nt=new mn,St=new mn,tc=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ec=/[A-Z]/g;function nc(t){return t==="true"?!0:t==="false"?!1:t==="null"?null:t===+t+""?+t:tc.test(t)?JSON.parse(t):t}function ms(t,i,s){var a;if(s===void 0&&t.nodeType===1)if(a="data-"+i.replace(ec,"-$&").toLowerCase(),s=t.getAttribute(a),typeof s=="string"){try{s=nc(s)}catch{}St.set(t,i,s)}else s=void 0;return s}l.extend({hasData:function(t){return St.hasData(t)||nt.hasData(t)},data:function(t,i,s){return St.access(t,i,s)},removeData:function(t,i){St.remove(t,i)},_data:function(t,i,s){return nt.access(t,i,s)},_removeData:function(t,i){nt.remove(t,i)}}),l.fn.extend({data:function(t,i){var s,a,u,f=this[0],g=f&&f.attributes;if(t===void 0){if(this.length&&(u=St.get(f),f.nodeType===1&&!nt.get(f,"hasDataAttrs"))){for(s=g.length;s--;)g[s]&&(a=g[s].name,a.indexOf("data-")===0&&(a=be(a.slice(5)),ms(f,a,u[a])));nt.set(f,"hasDataAttrs",!0)}return u}return typeof t=="object"?this.each(function(){St.set(this,t)}):Bt(this,function(b){var y;if(f&&b===void 0)return y=St.get(f,t),y!==void 0||(y=ms(f,t),y!==void 0)?y:void 0;this.each(function(){St.set(this,t,b)})},null,i,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){St.remove(this,t)})}}),l.extend({queue:function(t,i,s){var a;if(t)return i=(i||"fx")+"queue",a=nt.get(t,i),s&&(!a||Array.isArray(s)?a=nt.set(t,i,l.makeArray(s)):a.push(s)),a||[]},dequeue:function(t,i){i=i||"fx";var s=l.queue(t,i),a=s.length,u=s.shift(),f=l._queueHooks(t,i),g=function(){l.dequeue(t,i)};u==="inprogress"&&(u=s.shift(),a--),u&&(i==="fx"&&s.unshift("inprogress"),delete f.stop,u.call(t,g,f)),!a&&f&&f.empty.fire()},_queueHooks:function(t,i){var s=i+"queueHooks";return nt.get(t,s)||nt.set(t,s,{empty:l.Callbacks("once memory").add(function(){nt.remove(t,[i+"queue",s])})})}}),l.fn.extend({queue:function(t,i){var s=2;return typeof t!="string"&&(i=t,t="fx",s--),arguments.length<s?l.queue(this[0],t):i===void 0?this:this.each(function(){var a=l.queue(this,t,i);l._queueHooks(this,t),t==="fx"&&a[0]!=="inprogress"&&l.dequeue(this,t)})},dequeue:function(t){return this.each(function(){l.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,i){var s,a=1,u=l.Deferred(),f=this,g=this.length,b=function(){--a||u.resolveWith(f,[f])};for(typeof t!="string"&&(i=t,t=void 0),t=t||"fx";g--;)s=nt.get(f[g],t+"queueHooks"),s&&s.empty&&(a++,s.empty.add(b));return b(),u.promise(i)}});var ys=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,yn=new RegExp("^(?:([+-])=|)("+ys+")([a-z%]*)$","i"),ae=["Top","Right","Bottom","Left"];function zn(t,i){return t=i||t,t.style.display==="none"||t.style.display===""&&l.css(t,"display")==="none"}var ic=/^[a-z]/,rc=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function Kn(t){return ic.test(t)&&rc.test(t[0].toUpperCase()+t.slice(1))}function vs(t,i,s,a){var u,f,g=20,b=a?function(){return a.cur()}:function(){return l.css(t,i,"")},y=b(),T=s&&s[3]||(Kn(i)?"px":""),A=t.nodeType&&(!Kn(i)||T!=="px"&&+y)&&yn.exec(l.css(t,i));if(A&&A[3]!==T){for(y=y/2,T=T||A[3],A=+y||1;g--;)l.style(t,i,A+T),(1-f)*(1-(f=b()/y||.5))<=0&&(g=0),A=A/f;A=A*2,l.style(t,i,A+T),s=s||[]}return s&&(A=+A||+y||0,u=s[1]?A+(s[1]+1)*s[2]:+s[2],a&&(a.unit=T,a.start=A,a.end=u)),u}var sc=/^-ms-/;function Ui(t){return be(t.replace(sc,"ms-"))}var _s={};function oc(t){var i,s=t.ownerDocument,a=t.nodeName,u=_s[a];return u||(i=s.body.appendChild(s.createElement(a)),u=l.css(i,"display"),i.parentNode.removeChild(i),u==="none"&&(u="block"),_s[a]=u,u)}function je(t,i){for(var s,a,u=[],f=0,g=t.length;f<g;f++)a=t[f],a.style&&(s=a.style.display,i?(s==="none"&&(u[f]=nt.get(a,"display")||null,u[f]||(a.style.display="")),a.style.display===""&&zn(a)&&(u[f]=oc(a))):s!=="none"&&(u[f]="none",nt.set(a,"display",s)));for(f=0;f<g;f++)u[f]!=null&&(t[f].style.display=u[f]);return t}l.fn.extend({show:function(){return je(this,!0)},hide:function(){return je(this)},toggle:function(t){return typeof t=="boolean"?t?this.show():this.hide():this.each(function(){zn(this)?l(this).show():l(this).hide()})}});var vn=function(t){return l.contains(t.ownerDocument,t)||t.getRootNode(ac)===t.ownerDocument},ac={composed:!0};st.getRootNode||(vn=function(t){return l.contains(t.ownerDocument,t)});var bs=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ne={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td;function At(t,i){var s;return typeof t.getElementsByTagName<"u"?s=r.slice.call(t.getElementsByTagName(i||"*")):typeof t.querySelectorAll<"u"?s=t.querySelectorAll(i||"*"):s=[],i===void 0||i&&B(t,i)?l.merge([t],s):s}var Es=/^$|^module$|\/(?:java|ecma)script/i;function Wi(t,i){for(var s=0,a=t.length;s<a;s++)nt.set(t[s],"globalEval",!i||nt.get(i[s],"globalEval"))}var lc=/<|&#?\w+;/;function Ts(t,i,s,a,u){for(var f,g,b,y,T,A,L=i.createDocumentFragment(),w=[],D=0,F=t.length;D<F;D++)if(f=t[D],f||f===0)if(E(f)==="object"&&(f.nodeType||x(f)))l.merge(w,f.nodeType?[f]:f);else if(!lc.test(f))w.push(i.createTextNode(f));else{for(g=g||L.appendChild(i.createElement("div")),b=(bs.exec(f)||["",""])[1].toLowerCase(),y=ne[b]||r,A=y.length;--A>-1;)g=g.appendChild(i.createElement(y[A]));g.innerHTML=l.htmlPrefilter(f),l.merge(w,g.childNodes),g=L.firstChild,g.textContent=""}for(L.textContent="",D=0;f=w[D++];){if(a&&l.inArray(f,a)>-1){u&&u.push(f);continue}if(T=vn(f),g=At(L.appendChild(f),"script"),T&&Wi(g),s)for(A=0;f=g[A++];)Es.test(f.type||"")&&s.push(f)}return L}function cc(t){return t.type=(t.getAttribute("type")!==null)+"/"+t.type,t}function uc(t){return(t.type||"").slice(0,5)==="true/"?t.type=t.type.slice(5):t.removeAttribute("type"),t}function $e(t,i,s,a){i=d(i);var u,f,g,b,y,T,A=0,L=t.length,w=L-1,D=i[0],F=typeof D=="function";if(F)return t.each(function(et){var Q=t.eq(et);i[0]=D.call(this,et,Q.html()),$e(Q,i,s,a)});if(L&&(u=Ts(i,t[0].ownerDocument,!1,t,a),f=u.firstChild,u.childNodes.length===1&&(u=f),f||a)){for(g=l.map(At(u,"script"),cc),b=g.length;A<L;A++)y=u,A!==w&&(y=l.clone(y,!0,!0),b&&l.merge(g,At(y,"script"))),s.call(t[A],y,A);if(b)for(T=g[g.length-1].ownerDocument,l.map(g,uc),A=0;A<b;A++)y=g[A],Es.test(y.type||"")&&!nt.get(y,"globalEval")&&l.contains(T,y)&&(y.src&&(y.type||"").toLowerCase()!=="module"?l._evalUrl&&!y.noModule&&l._evalUrl(y.src,{nonce:y.nonce,crossOrigin:y.crossOrigin},T):W(y.textContent,y,T))}return t}var Yn=/^(?:checkbox|radio)$/i,ws=/^([^.]*)(?:\.(.+)|)/;function He(){return!0}function Fe(){return!1}function Vi(t,i,s,a,u,f){var g,b;if(typeof i=="object"){typeof s!="string"&&(a=a||s,s=void 0);for(b in i)Vi(t,b,s,a,i[b],f);return t}if(a==null&&u==null?(u=s,a=s=void 0):u==null&&(typeof s=="string"?(u=a,a=void 0):(u=a,a=s,s=void 0)),u===!1)u=Fe;else if(!u)return t;return f===1&&(g=u,u=function(y){return l().off(y),g.apply(this,arguments)},u.guid=g.guid||(g.guid=l.guid++)),t.each(function(){l.event.add(this,i,u,a,s)})}l.event={add:function(t,i,s,a,u){var f,g,b,y,T,A,L,w,D,F,et,Q=nt.get(t);if(gn(t))for(s.handler&&(f=s,s=f.handler,u=f.selector),u&&l.find.matchesSelector(st,u),s.guid||(s.guid=l.guid++),(y=Q.events)||(y=Q.events=Object.create(null)),(g=Q.handle)||(g=Q.handle=function(ht){return typeof l<"u"&&l.event.triggered!==ht.type?l.event.dispatch.apply(t,arguments):void 0}),i=(i||"").match(Rt)||[""],T=i.length;T--;)b=ws.exec(i[T])||[],D=et=b[1],F=(b[2]||"").split(".").sort(),D&&(L=l.event.special[D]||{},D=(u?L.delegateType:L.bindType)||D,L=l.event.special[D]||{},A=l.extend({type:D,origType:et,data:a,handler:s,guid:s.guid,selector:u,needsContext:u&&l.expr.match.needsContext.test(u),namespace:F.join(".")},f),(w=y[D])||(w=y[D]=[],w.delegateCount=0,(!L.setup||L.setup.call(t,a,F,g)===!1)&&t.addEventListener&&t.addEventListener(D,g)),L.add&&(L.add.call(t,A),A.handler.guid||(A.handler.guid=s.guid)),u?w.splice(w.delegateCount++,0,A):w.push(A))},remove:function(t,i,s,a,u){var f,g,b,y,T,A,L,w,D,F,et,Q=nt.hasData(t)&&nt.get(t);if(!(!Q||!(y=Q.events))){for(i=(i||"").match(Rt)||[""],T=i.length;T--;){if(b=ws.exec(i[T])||[],D=et=b[1],F=(b[2]||"").split(".").sort(),!D){for(D in y)l.event.remove(t,D+i[T],s,a,!0);continue}for(L=l.event.special[D]||{},D=(a?L.delegateType:L.bindType)||D,w=y[D]||[],b=b[2]&&new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=w.length;f--;)A=w[f],(u||et===A.origType)&&(!s||s.guid===A.guid)&&(!b||b.test(A.namespace))&&(!a||a===A.selector||a==="**"&&A.selector)&&(w.splice(f,1),A.selector&&w.delegateCount--,L.remove&&L.remove.call(t,A));g&&!w.length&&((!L.teardown||L.teardown.call(t,F,Q.handle)===!1)&&l.removeEvent(t,D,Q.handle),delete y[D])}l.isEmptyObject(y)&&nt.remove(t,"handle events")}},dispatch:function(t){var i,s,a,u,f,g,b=new Array(arguments.length),y=l.event.fix(t),T=(nt.get(this,"events")||Object.create(null))[y.type]||[],A=l.event.special[y.type]||{};for(b[0]=y,i=1;i<arguments.length;i++)b[i]=arguments[i];if(y.delegateTarget=this,!(A.preDispatch&&A.preDispatch.call(this,y)===!1)){for(g=l.event.handlers.call(this,y,T),i=0;(u=g[i++])&&!y.isPropagationStopped();)for(y.currentTarget=u.elem,s=0;(f=u.handlers[s++])&&!y.isImmediatePropagationStopped();)(!y.rnamespace||f.namespace===!1||y.rnamespace.test(f.namespace))&&(y.handleObj=f,y.data=f.data,a=((l.event.special[f.origType]||{}).handle||f.handler).apply(u.elem,b),a!==void 0&&(y.result=a)===!1&&(y.preventDefault(),y.stopPropagation()));return A.postDispatch&&A.postDispatch.call(this,y),y.result}},handlers:function(t,i){var s,a,u,f,g,b=[],y=i.delegateCount,T=t.target;if(y&&!(t.type==="click"&&t.button>=1)){for(;T!==this;T=T.parentNode||this)if(T.nodeType===1&&!(t.type==="click"&&T.disabled===!0)){for(f=[],g={},s=0;s<y;s++)a=i[s],u=a.selector+" ",g[u]===void 0&&(g[u]=a.needsContext?l(u,this).index(T)>-1:l.find(u,this,null,[T]).length),g[u]&&f.push(a);f.length&&b.push({elem:T,handlers:f})}}return T=this,y<i.length&&b.push({elem:T,handlers:i.slice(y)}),b},addProp:function(t,i){Object.defineProperty(l.Event.prototype,t,{enumerable:!0,configurable:!0,get:typeof i=="function"?function(){if(this.originalEvent)return i(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(s){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:s})}})},fix:function(t){return t[l.expando]?t:new l.Event(t)},special:l.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(t){var i=this||t;return Yn.test(i.type)&&i.click&&B(i,"input")&&Gn(i,"click",!0),!1},trigger:function(t){var i=this||t;return Yn.test(i.type)&&i.click&&B(i,"input")&&Gn(i,"click"),!0},_default:function(t){var i=t.target;return Yn.test(i.type)&&i.click&&B(i,"input")&&nt.get(i,"click")||B(i,"a")}},beforeunload:{postDispatch:function(t){t.result!==void 0&&t.preventDefault()}}})};function Gn(t,i,s){if(!s){nt.get(t,i)===void 0&&l.event.add(t,i,He);return}nt.set(t,i,!1),l.event.add(t,i,{namespace:!1,handler:function(a){var u,f=nt.get(this,i);if(a.isTrigger&1&&this[i]){if(f.length)(l.event.special[i]||{}).delegateType&&a.stopPropagation();else if(f=c.call(arguments),nt.set(this,i,f),this[i](),u=nt.get(this,i),nt.set(this,i,!1),f!==u)return a.stopImmediatePropagation(),a.preventDefault(),u&&u.value}else f.length&&(nt.set(this,i,{value:l.event.trigger(f[0],f.slice(1),this)}),a.stopPropagation(),a.isImmediatePropagationStopped=He)}})}l.removeEvent=function(t,i,s){t.removeEventListener&&t.removeEventListener(i,s)},l.Event=function(t,i){if(!(this instanceof l.Event))return new l.Event(t,i);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?He:Fe,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,i&&l.extend(this,i),this.timeStamp=t&&t.timeStamp||Date.now(),this[l.expando]=!0},l.Event.prototype={constructor:l.Event,isDefaultPrevented:Fe,isPropagationStopped:Fe,isImmediatePropagationStopped:Fe,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=He,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=He,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=He,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},l.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},l.event.addProp),l.each({focus:"focusin",blur:"focusout"},function(t,i){function s(a){var u=l.event.fix(a);u.type=a.type==="focusin"?"focus":"blur",u.isSimulated=!0,u.target===u.currentTarget&&nt.get(this,"handle")(u)}l.event.special[t]={setup:function(){if(Gn(this,t,!0),R)this.addEventListener(i,s);else return!1},trigger:function(){return Gn(this,t),!0},teardown:function(){if(R)this.removeEventListener(i,s);else return!1},_default:function(a){return nt.get(a.target,t)},delegateType:i}}),l.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,i){l.event.special[t]={delegateType:i,bindType:i,handle:function(s){var a,u=this,f=s.relatedTarget,g=s.handleObj;return(!f||f!==u&&!l.contains(u,f))&&(s.type=g.origType,a=g.handler.apply(this,arguments),s.type=i),a}}}),l.fn.extend({on:function(t,i,s,a){return Vi(this,t,i,s,a)},one:function(t,i,s,a){return Vi(this,t,i,s,a,1)},off:function(t,i,s){var a,u;if(t&&t.preventDefault&&t.handleObj)return a=t.handleObj,l(t.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if(typeof t=="object"){for(u in t)this.off(u,i,t[u]);return this}return(i===!1||typeof i=="function")&&(s=i,i=void 0),s===!1&&(s=Fe),this.each(function(){l.event.remove(this,t,s,i)})}});var fc=/<script|<style|<link/i;function Ss(t,i){return B(t,"table")&&B(i.nodeType!==11?i:i.firstChild,"tr")&&l(t).children("tbody")[0]||t}function As(t,i){var s,a,u,f=nt.get(t,"events");if(i.nodeType===1){if(f){nt.remove(i,"handle events");for(s in f)for(a=0,u=f[s].length;a<u;a++)l.event.add(i,s,f[s][a])}St.hasData(t)&&St.set(i,l.extend({},St.get(t)))}}function xs(t,i,s){for(var a,u=i?l.filter(i,t):t,f=0;(a=u[f])!=null;f++)!s&&a.nodeType===1&&l.cleanData(At(a)),a.parentNode&&(s&&vn(a)&&Wi(At(a,"script")),a.parentNode.removeChild(a));return t}l.extend({htmlPrefilter:function(t){return t},clone:function(t,i,s){var a,u,f,g,b=t.cloneNode(!0),y=vn(t);if(R&&(t.nodeType===1||t.nodeType===11)&&!l.isXMLDoc(t))for(g=At(b),f=At(t),a=0,u=f.length;a<u;a++)B(g[a],"textarea")&&(g[a].defaultValue=f[a].defaultValue);if(i)if(s)for(f=f||At(t),g=g||At(b),a=0,u=f.length;a<u;a++)As(f[a],g[a]);else As(t,b);return g=At(b,"script"),g.length>0&&Wi(g,!y&&At(t,"script")),b},cleanData:function(t){for(var i,s,a,u=l.event.special,f=0;(s=t[f])!==void 0;f++)if(gn(s)){if(i=s[nt.expando]){if(i.events)for(a in i.events)u[a]?l.event.remove(s,a):l.removeEvent(s,a,i.handle);s[nt.expando]=void 0}s[St.expando]&&(s[St.expando]=void 0)}}}),l.fn.extend({detach:function(t){return xs(this,t,!0)},remove:function(t){return xs(this,t)},text:function(t){return Bt(this,function(i){return i===void 0?l.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=i)})},null,t,arguments.length)},append:function(){return $e(this,arguments,function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=Ss(this,t);i.appendChild(t)}})},prepend:function(){return $e(this,arguments,function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=Ss(this,t);i.insertBefore(t,i.firstChild)}})},before:function(){return $e(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return $e(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,i=0;(t=this[i])!=null;i++)t.nodeType===1&&(l.cleanData(At(t,!1)),t.textContent="");return this},clone:function(t,i){return t=t??!1,i=i??t,this.map(function(){return l.clone(this,t,i)})},html:function(t){return Bt(this,function(i){var s=this[0]||{},a=0,u=this.length;if(i===void 0&&s.nodeType===1)return s.innerHTML;if(typeof i=="string"&&!fc.test(i)&&!ne[(bs.exec(i)||["",""])[1].toLowerCase()]){i=l.htmlPrefilter(i);try{for(;a<u;a++)s=this[a]||{},s.nodeType===1&&(l.cleanData(At(s,!1)),s.innerHTML=i);s=0}catch{}}s&&this.empty().append(i)},null,t,arguments.length)},replaceWith:function(){var t=[];return $e(this,arguments,function(i){var s=this.parentNode;l.inArray(this,t)<0&&(l.cleanData(At(this)),s&&s.replaceChild(i,this))},t)}}),l.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,i){l.fn[t]=function(s){for(var a,u=[],f=l(s),g=f.length-1,b=0;b<=g;b++)a=b===g?this:this.clone(!0),l(f[b])[i](a),h.apply(u,a);return this.pushStack(u)}});var dc=new RegExp("^("+ys+")(?!px)[a-z%]+$","i"),zi=/^--/;function Xn(t){var i=t.ownerDocument.defaultView;return i||(i=n),i.getComputedStyle(t)}function hc(t,i,s){var a,u,f={};for(u in i)f[u]=t.style[u],t.style[u]=i[u];a=s.call(t);for(u in i)t.style[u]=f[u];return a}function Cs(t,i,s){var a,u=zi.test(i);return s=s||Xn(t),s&&(a=s.getPropertyValue(i)||s[i],u&&a&&(a=a.replace(it,"$1")||void 0),a===""&&!vn(t)&&(a=l.style(t,i))),a!==void 0?a+"":a}var Os=["Webkit","Moz","ms"],Ns=P.createElement("div").style;function pc(t){for(var i=t[0].toUpperCase()+t.slice(1),s=Os.length;s--;)if(t=Os[s]+i,t in Ns)return t}function Ki(t){return t in Ns?t:pc(t)||t}var Ds,Ls,le=P.createElement("table");function Ps(){if(!(!le||!le.style)){var t,i=P.createElement("col"),s=P.createElement("tr"),a=P.createElement("td");if(le.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",s.style.cssText="box-sizing:content-box;border:1px solid;height:1px",a.style.cssText="height:9px;width:9px;padding:0",i.span=2,st.appendChild(le).appendChild(i).parentNode.appendChild(s).appendChild(a).parentNode.appendChild(a.cloneNode(!0)),le.offsetWidth===0){st.removeChild(le);return}t=n.getComputedStyle(s),Ls=R||Math.round(parseFloat(n.getComputedStyle(i).width))===18,Ds=Math.round(parseFloat(t.height)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth))===s.offsetHeight,st.removeChild(le),le=null}}l.extend(k,{reliableTrDimensions:function(){return Ps(),Ds},reliableColDimensions:function(){return Ps(),Ls}});var gc={position:"absolute",visibility:"hidden",display:"block"},Rs={letterSpacing:"0",fontWeight:"400"};function Is(t,i,s){var a=yn.exec(i);return a?Math.max(0,a[2]-(s||0))+(a[3]||"px"):i}function ks(t,i,s,a,u,f){var g=i==="width"?1:0,b=0,y=0,T=0;if(s===(a?"border":"content"))return 0;for(;g<4;g+=2)s==="margin"&&(T+=l.css(t,s+ae[g],!0,u)),a?(s==="content"&&(y-=l.css(t,"padding"+ae[g],!0,u)),s!=="margin"&&(y-=l.css(t,"border"+ae[g]+"Width",!0,u))):(y+=l.css(t,"padding"+ae[g],!0,u),s!=="padding"?y+=l.css(t,"border"+ae[g]+"Width",!0,u):b+=l.css(t,"border"+ae[g]+"Width",!0,u));return!a&&f>=0&&(y+=Math.max(0,Math.ceil(t["offset"+i[0].toUpperCase()+i.slice(1)]-f-y-b-.5))||0),y+T}function Ms(t,i,s){var a=Xn(t),u=R||s,f=u&&l.css(t,"boxSizing",!1,a)==="border-box",g=f,b=Cs(t,i,a),y="offset"+i[0].toUpperCase()+i.slice(1);if(dc.test(b)){if(!s)return b;b="auto"}return(b==="auto"||R&&f||!k.reliableColDimensions()&&B(t,"col")||!k.reliableTrDimensions()&&B(t,"tr"))&&t.getClientRects().length&&(f=l.css(t,"boxSizing",!1,a)==="border-box",g=y in t,g&&(b=t[y])),b=parseFloat(b)||0,b+ks(t,i,s||(f?"border":"content"),g,a,b)+"px"}l.extend({cssHooks:{},style:function(t,i,s,a){if(!(!t||t.nodeType===3||t.nodeType===8||!t.style)){var u,f,g,b=Ui(i),y=zi.test(i),T=t.style;if(y||(i=Ki(b)),g=l.cssHooks[i]||l.cssHooks[b],s!==void 0){if(f=typeof s,f==="string"&&(u=yn.exec(s))&&u[1]&&(s=vs(t,i,u),f="number"),s==null||s!==s)return;f==="number"&&(s+=u&&u[3]||(Kn(b)?"px":"")),R&&s===""&&i.indexOf("background")===0&&(T[i]="inherit"),(!g||!("set"in g)||(s=g.set(t,s,a))!==void 0)&&(y?T.setProperty(i,s):T[i]=s)}else return g&&"get"in g&&(u=g.get(t,!1,a))!==void 0?u:T[i]}},css:function(t,i,s,a){var u,f,g,b=Ui(i),y=zi.test(i);return y||(i=Ki(b)),g=l.cssHooks[i]||l.cssHooks[b],g&&"get"in g&&(u=g.get(t,!0,s)),u===void 0&&(u=Cs(t,i,a)),u==="normal"&&i in Rs&&(u=Rs[i]),s===""||s?(f=parseFloat(u),s===!0||isFinite(f)?f||0:u):u}}),l.each(["height","width"],function(t,i){l.cssHooks[i]={get:function(s,a,u){if(a)return l.css(s,"display")==="none"?hc(s,gc,function(){return Ms(s,i,u)}):Ms(s,i,u)},set:function(s,a,u){var f,g=Xn(s),b=u&&l.css(s,"boxSizing",!1,g)==="border-box",y=u?ks(s,i,u,b,g):0;return y&&(f=yn.exec(a))&&(f[3]||"px")!=="px"&&(s.style[i]=a,a=l.css(s,i)),Is(s,a,y)}}}),l.each({margin:"",padding:"",border:"Width"},function(t,i){l.cssHooks[t+i]={expand:function(s){for(var a=0,u={},f=typeof s=="string"?s.split(" "):[s];a<4;a++)u[t+ae[a]+i]=f[a]||f[a-2]||f[0];return u}},t!=="margin"&&(l.cssHooks[t+i].set=Is)}),l.fn.extend({css:function(t,i){return Bt(this,function(s,a,u){var f,g,b={},y=0;if(Array.isArray(a)){for(f=Xn(s),g=a.length;y<g;y++)b[a[y]]=l.css(s,a[y],!1,f);return b}return u!==void 0?l.style(s,a,u):l.css(s,a)},t,i,arguments.length>1)}});function Mt(t,i,s,a,u){return new Mt.prototype.init(t,i,s,a,u)}l.Tween=Mt,Mt.prototype={constructor:Mt,init:function(t,i,s,a,u,f){this.elem=t,this.prop=s,this.easing=u||l.easing._default,this.options=i,this.start=this.now=this.cur(),this.end=a,this.unit=f||(Kn(s)?"px":"")},cur:function(){var t=Mt.propHooks[this.prop];return t&&t.get?t.get(this):Mt.propHooks._default.get(this)},run:function(t){var i,s=Mt.propHooks[this.prop];return this.options.duration?this.pos=i=l.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=i=t,this.now=(this.end-this.start)*i+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),s&&s.set?s.set(this):Mt.propHooks._default.set(this),this}},Mt.prototype.init.prototype=Mt.prototype,Mt.propHooks={_default:{get:function(t){var i;return t.elem.nodeType!==1||t.elem[t.prop]!=null&&t.elem.style[t.prop]==null?t.elem[t.prop]:(i=l.css(t.elem,t.prop,""),!i||i==="auto"?0:i)},set:function(t){l.fx.step[t.prop]?l.fx.step[t.prop](t):t.elem.nodeType===1&&(l.cssHooks[t.prop]||t.elem.style[Ki(t.prop)]!=null)?l.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},l.easing={linear:function(t){return t},swing:function(t){return .5-Math.cos(t*Math.PI)/2},_default:"swing"},l.fx=Mt.prototype.init,l.fx.step={};var Be,Qn,mc=/^(?:toggle|show|hide)$/,yc=/queueHooks$/;function Yi(){Qn&&(P.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Yi):n.setTimeout(Yi,13),l.fx.tick())}function js(){return n.setTimeout(function(){Be=void 0}),Be=Date.now()}function Jn(t,i){var s,a=0,u={height:t};for(i=i?1:0;a<4;a+=2-i)s=ae[a],u["margin"+s]=u["padding"+s]=t;return i&&(u.opacity=u.width=t),u}function $s(t,i,s){for(var a,u=(Wt.tweeners[i]||[]).concat(Wt.tweeners["*"]),f=0,g=u.length;f<g;f++)if(a=u[f].call(s,i,t))return a}function vc(t,i,s){var a,u,f,g,b,y,T,A,L="width"in i||"height"in i,w=this,D={},F=t.style,et=t.nodeType&&zn(t),Q=nt.get(t,"fxshow");s.queue||(g=l._queueHooks(t,"fx"),g.unqueued==null&&(g.unqueued=0,b=g.empty.fire,g.empty.fire=function(){g.unqueued||b()}),g.unqueued++,w.always(function(){w.always(function(){g.unqueued--,l.queue(t,"fx").length||g.empty.fire()})}));for(a in i)if(u=i[a],mc.test(u)){if(delete i[a],f=f||u==="toggle",u===(et?"hide":"show"))if(u==="show"&&Q&&Q[a]!==void 0)et=!0;else continue;D[a]=Q&&Q[a]||l.style(t,a)}if(y=!l.isEmptyObject(i),!(!y&&l.isEmptyObject(D))){L&&t.nodeType===1&&(s.overflow=[F.overflow,F.overflowX,F.overflowY],T=Q&&Q.display,T==null&&(T=nt.get(t,"display")),A=l.css(t,"display"),A==="none"&&(T?A=T:(je([t],!0),T=t.style.display||T,A=l.css(t,"display"),je([t]))),(A==="inline"||A==="inline-block"&&T!=null)&&l.css(t,"float")==="none"&&(y||(w.done(function(){F.display=T}),T==null&&(A=F.display,T=A==="none"?"":A)),F.display="inline-block")),s.overflow&&(F.overflow="hidden",w.always(function(){F.overflow=s.overflow[0],F.overflowX=s.overflow[1],F.overflowY=s.overflow[2]})),y=!1;for(a in D)y||(Q?"hidden"in Q&&(et=Q.hidden):Q=nt.set(t,"fxshow",{display:T}),f&&(Q.hidden=!et),et&&je([t],!0),w.done(function(){et||je([t]),nt.remove(t,"fxshow");for(a in D)l.style(t,a,D[a])})),y=$s(et?Q[a]:0,a,w),a in Q||(Q[a]=y.start,et&&(y.end=y.start,y.start=0))}}function _c(t,i){var s,a,u,f,g;for(s in t)if(a=Ui(s),u=i[a],f=t[s],Array.isArray(f)&&(u=f[1],f=t[s]=f[0]),s!==a&&(t[a]=f,delete t[s]),g=l.cssHooks[a],g&&"expand"in g){f=g.expand(f),delete t[a];for(s in f)s in t||(t[s]=f[s],i[s]=u)}else i[a]=u}function Wt(t,i,s){var a,u,f=0,g=Wt.prefilters.length,b=l.Deferred().always(function(){delete y.elem}),y=function(){if(u)return!1;for(var L=Be||js(),w=Math.max(0,T.startTime+T.duration-L),D=1-(w/T.duration||0),F=0,et=T.tweens.length;F<et;F++)T.tweens[F].run(D);return b.notifyWith(t,[T,D,w]),D<1&&et?w:(et||b.notifyWith(t,[T,1,0]),b.resolveWith(t,[T]),!1)},T=b.promise({elem:t,props:l.extend({},i),opts:l.extend(!0,{specialEasing:{},easing:l.easing._default},s),originalProperties:i,originalOptions:s,startTime:Be||js(),duration:s.duration,tweens:[],createTween:function(L,w){var D=l.Tween(t,T.opts,L,w,T.opts.specialEasing[L]||T.opts.easing);return T.tweens.push(D),D},stop:function(L){var w=0,D=L?T.tweens.length:0;if(u)return this;for(u=!0;w<D;w++)T.tweens[w].run(1);return L?(b.notifyWith(t,[T,1,0]),b.resolveWith(t,[T,L])):b.rejectWith(t,[T,L]),this}}),A=T.props;for(_c(A,T.opts.specialEasing);f<g;f++)if(a=Wt.prefilters[f].call(T,t,A,T.opts),a)return typeof a.stop=="function"&&(l._queueHooks(T.elem,T.opts.queue).stop=a.stop.bind(a)),a;return l.map(A,$s,T),typeof T.opts.start=="function"&&T.opts.start.call(t,T),T.progress(T.opts.progress).done(T.opts.done,T.opts.complete).fail(T.opts.fail).always(T.opts.always),l.fx.timer(l.extend(y,{elem:t,anim:T,queue:T.opts.queue})),T}l.Animation=l.extend(Wt,{tweeners:{"*":[function(t,i){var s=this.createTween(t,i);return vs(s.elem,t,yn.exec(i),s),s}]},tweener:function(t,i){typeof t=="function"?(i=t,t=["*"]):t=t.match(Rt);for(var s,a=0,u=t.length;a<u;a++)s=t[a],Wt.tweeners[s]=Wt.tweeners[s]||[],Wt.tweeners[s].unshift(i)},prefilters:[vc],prefilter:function(t,i){i?Wt.prefilters.unshift(t):Wt.prefilters.push(t)}}),l.speed=function(t,i,s){var a=t&&typeof t=="object"?l.extend({},t):{complete:s||i||typeof t=="function"&&t,duration:t,easing:s&&i||i&&typeof i!="function"&&i};return l.fx.off?a.duration=0:typeof a.duration!="number"&&(a.duration in l.fx.speeds?a.duration=l.fx.speeds[a.duration]:a.duration=l.fx.speeds._default),(a.queue==null||a.queue===!0)&&(a.queue="fx"),a.old=a.complete,a.complete=function(){typeof a.old=="function"&&a.old.call(this),a.queue&&l.dequeue(this,a.queue)},a},l.fn.extend({fadeTo:function(t,i,s,a){return this.filter(zn).css("opacity",0).show().end().animate({opacity:i},t,s,a)},animate:function(t,i,s,a){var u=l.isEmptyObject(t),f=l.speed(i,s,a),g=function(){var b=Wt(this,l.extend({},t),f);(u||nt.get(this,"finish"))&&b.stop(!0)};return g.finish=g,u||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(t,i,s){var a=function(u){var f=u.stop;delete u.stop,f(s)};return typeof t!="string"&&(s=i,i=t,t=void 0),i&&this.queue(t||"fx",[]),this.each(function(){var u=!0,f=t!=null&&t+"queueHooks",g=l.timers,b=nt.get(this);if(f)b[f]&&b[f].stop&&a(b[f]);else for(f in b)b[f]&&b[f].stop&&yc.test(f)&&a(b[f]);for(f=g.length;f--;)g[f].elem===this&&(t==null||g[f].queue===t)&&(g[f].anim.stop(s),u=!1,g.splice(f,1));(u||!s)&&l.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var i,s=nt.get(this),a=s[t+"queue"],u=s[t+"queueHooks"],f=l.timers,g=a?a.length:0;for(s.finish=!0,l.queue(this,t,[]),u&&u.stop&&u.stop.call(this,!0),i=f.length;i--;)f[i].elem===this&&f[i].queue===t&&(f[i].anim.stop(!0),f.splice(i,1));for(i=0;i<g;i++)a[i]&&a[i].finish&&a[i].finish.call(this);delete s.finish})}}),l.each(["toggle","show","hide"],function(t,i){var s=l.fn[i];l.fn[i]=function(a,u,f){return a==null||typeof a=="boolean"?s.apply(this,arguments):this.animate(Jn(i,!0),a,u,f)}}),l.each({slideDown:Jn("show"),slideUp:Jn("hide"),slideToggle:Jn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){l.fn[t]=function(s,a,u){return this.animate(i,s,a,u)}}),l.timers=[],l.fx.tick=function(){var t,i=0,s=l.timers;for(Be=Date.now();i<s.length;i++)t=s[i],!t()&&s[i]===t&&s.splice(i--,1);s.length||l.fx.stop(),Be=void 0},l.fx.timer=function(t){l.timers.push(t),l.fx.start()},l.fx.start=function(){Qn||(Qn=!0,Yi())},l.fx.stop=function(){Qn=null},l.fx.speeds={slow:600,fast:200,_default:400},l.fn.delay=function(t,i){return t=l.fx&&l.fx.speeds[t]||t,i=i||"fx",this.queue(i,function(s,a){var u=n.setTimeout(s,t);a.stop=function(){n.clearTimeout(u)}})};var bc=/^(?:input|select|textarea|button)$/i,Ec=/^(?:a|area)$/i;l.fn.extend({prop:function(t,i){return Bt(this,l.prop,t,i,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[l.propFix[t]||t]})}}),l.extend({prop:function(t,i,s){var a,u,f=t.nodeType;if(!(f===3||f===8||f===2))return(f!==1||!l.isXMLDoc(t))&&(i=l.propFix[i]||i,u=l.propHooks[i]),s!==void 0?u&&"set"in u&&(a=u.set(t,s,i))!==void 0?a:t[i]=s:u&&"get"in u&&(a=u.get(t,i))!==null?a:t[i]},propHooks:{tabIndex:{get:function(t){var i=t.getAttribute("tabindex");return i?parseInt(i,10):bc.test(t.nodeName)||Ec.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),R&&(l.propHooks.selected={get:function(t){var i=t.parentNode;return i&&i.parentNode&&i.parentNode.selectedIndex,null},set:function(t){var i=t.parentNode;i&&(i.selectedIndex,i.parentNode&&i.parentNode.selectedIndex)}}),l.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){l.propFix[this.toLowerCase()]=this});function Ee(t){var i=t.match(Rt)||[];return i.join(" ")}function qe(t){return t.getAttribute&&t.getAttribute("class")||""}function Gi(t){return Array.isArray(t)?t:typeof t=="string"?t.match(Rt)||[]:[]}l.fn.extend({addClass:function(t){var i,s,a,u,f,g;return typeof t=="function"?this.each(function(b){l(this).addClass(t.call(this,b,qe(this)))}):(i=Gi(t),i.length?this.each(function(){if(a=qe(this),s=this.nodeType===1&&" "+Ee(a)+" ",s){for(f=0;f<i.length;f++)u=i[f],s.indexOf(" "+u+" ")<0&&(s+=u+" ");g=Ee(s),a!==g&&this.setAttribute("class",g)}}):this)},removeClass:function(t){var i,s,a,u,f,g;return typeof t=="function"?this.each(function(b){l(this).removeClass(t.call(this,b,qe(this)))}):arguments.length?(i=Gi(t),i.length?this.each(function(){if(a=qe(this),s=this.nodeType===1&&" "+Ee(a)+" ",s){for(f=0;f<i.length;f++)for(u=i[f];s.indexOf(" "+u+" ")>-1;)s=s.replace(" "+u+" "," ");g=Ee(s),a!==g&&this.setAttribute("class",g)}}):this):this.attr("class","")},toggleClass:function(t,i){var s,a,u,f;return typeof t=="function"?this.each(function(g){l(this).toggleClass(t.call(this,g,qe(this),i),i)}):typeof i=="boolean"?i?this.addClass(t):this.removeClass(t):(s=Gi(t),s.length?this.each(function(){for(f=l(this),u=0;u<s.length;u++)a=s[u],f.hasClass(a)?f.removeClass(a):f.addClass(a)}):this)},hasClass:function(t){var i,s,a=0;for(i=" "+t+" ";s=this[a++];)if(s.nodeType===1&&(" "+Ee(qe(s))+" ").indexOf(i)>-1)return!0;return!1}}),l.fn.extend({val:function(t){var i,s,a,u=this[0];return arguments.length?(a=typeof t=="function",this.each(function(f){var g;this.nodeType===1&&(a?g=t.call(this,f,l(this).val()):g=t,g==null?g="":typeof g=="number"?g+="":Array.isArray(g)&&(g=l.map(g,function(b){return b==null?"":b+""})),i=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()],(!i||!("set"in i)||i.set(this,g,"value")===void 0)&&(this.value=g))})):u?(i=l.valHooks[u.type]||l.valHooks[u.nodeName.toLowerCase()],i&&"get"in i&&(s=i.get(u,"value"))!==void 0?s:(s=u.value,s??"")):void 0}}),l.extend({valHooks:{select:{get:function(t){var i,s,a,u=t.options,f=t.selectedIndex,g=t.type==="select-one",b=g?null:[],y=g?f+1:u.length;for(f<0?a=y:a=g?f:0;a<y;a++)if(s=u[a],s.selected&&!s.disabled&&(!s.parentNode.disabled||!B(s.parentNode,"optgroup"))){if(i=l(s).val(),g)return i;b.push(i)}return b},set:function(t,i){for(var s,a,u=t.options,f=l.makeArray(i),g=u.length;g--;)a=u[g],(a.selected=l.inArray(l(a).val(),f)>-1)&&(s=!0);return s||(t.selectedIndex=-1),f}}}}),R&&(l.valHooks.option={get:function(t){var i=t.getAttribute("value");return i??Ee(l.text(t))}}),l.each(["radio","checkbox"],function(){l.valHooks[this]={set:function(t,i){if(Array.isArray(i))return t.checked=l.inArray(l(t).val(),i)>-1}}});var Hs=/^(?:focusinfocus|focusoutblur)$/,Fs=function(t){t.stopPropagation()};l.extend(l.event,{trigger:function(t,i,s,a){var u,f,g,b,y,T,A,L,w=[s||P],D=v.call(t,"type")?t.type:t,F=v.call(t,"namespace")?t.namespace.split("."):[];if(f=L=g=s=s||P,!(s.nodeType===3||s.nodeType===8)&&!Hs.test(D+l.event.triggered)&&(D.indexOf(".")>-1&&(F=D.split("."),D=F.shift(),F.sort()),y=D.indexOf(":")<0&&"on"+D,t=t[l.expando]?t:new l.Event(D,typeof t=="object"&&t),t.isTrigger=a?2:3,t.namespace=F.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=s),i=i==null?[t]:l.makeArray(i,[t]),A=l.event.special[D]||{},!(!a&&A.trigger&&A.trigger.apply(s,i)===!1))){if(!a&&!A.noBubble&&!S(s)){for(b=A.delegateType||D,Hs.test(b+D)||(f=f.parentNode);f;f=f.parentNode)w.push(f),g=f;g===(s.ownerDocument||P)&&w.push(g.defaultView||g.parentWindow||n)}for(u=0;(f=w[u++])&&!t.isPropagationStopped();)L=f,t.type=u>1?b:A.bindType||D,T=(nt.get(f,"events")||Object.create(null))[t.type]&&nt.get(f,"handle"),T&&T.apply(f,i),T=y&&f[y],T&&T.apply&&gn(f)&&(t.result=T.apply(f,i),t.result===!1&&t.preventDefault());return t.type=D,!a&&!t.isDefaultPrevented()&&(!A._default||A._default.apply(w.pop(),i)===!1)&&gn(s)&&y&&typeof s[D]=="function"&&!S(s)&&(g=s[y],g&&(s[y]=null),l.event.triggered=D,t.isPropagationStopped()&&L.addEventListener(D,Fs),s[D](),t.isPropagationStopped()&&L.removeEventListener(D,Fs),l.event.triggered=void 0,g&&(s[y]=g)),t.result}},simulate:function(t,i,s){var a=l.extend(new l.Event,s,{type:t,isSimulated:!0});l.event.trigger(a,null,i)}}),l.fn.extend({trigger:function(t,i){return this.each(function(){l.event.trigger(t,i,this)})},triggerHandler:function(t,i){var s=this[0];if(s)return l.event.trigger(t,i,s,!0)}});var _n=n.location,Bs={guid:Date.now()},Xi=/\?/;l.parseXML=function(t){var i,s;if(!t||typeof t!="string")return null;try{i=new n.DOMParser().parseFromString(t,"text/xml")}catch{}return s=i&&i.getElementsByTagName("parsererror")[0],(!i||s)&&l.error("Invalid XML: "+(s?l.map(s.childNodes,function(a){return a.textContent}).join(`
|
||
`):t)),i};var Tc=/\[\]$/,qs=/\r?\n/g,wc=/^(?:submit|button|image|reset|file)$/i,Sc=/^(?:input|select|textarea|keygen)/i;function Qi(t,i,s,a){var u;if(Array.isArray(i))l.each(i,function(f,g){s||Tc.test(t)?a(t,g):Qi(t+"["+(typeof g=="object"&&g!=null?f:"")+"]",g,s,a)});else if(!s&&E(i)==="object")for(u in i)Qi(t+"["+u+"]",i[u],s,a);else a(t,i)}l.param=function(t,i){var s,a=[],u=function(f,g){var b=typeof g=="function"?g():g;a[a.length]=encodeURIComponent(f)+"="+encodeURIComponent(b??"")};if(t==null)return"";if(Array.isArray(t)||t.jquery&&!l.isPlainObject(t))l.each(t,function(){u(this.name,this.value)});else for(s in t)Qi(s,t[s],i,u);return a.join("&")},l.fn.extend({serialize:function(){return l.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=l.prop(this,"elements");return t?l.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!l(this).is(":disabled")&&Sc.test(this.nodeName)&&!wc.test(t)&&(this.checked||!Yn.test(t))}).map(function(t,i){var s=l(this).val();return s==null?null:Array.isArray(s)?l.map(s,function(a){return{name:i.name,value:a.replace(qs,`\r
|
||
`)}}):{name:i.name,value:s.replace(qs,`\r
|
||
`)}}).get()}});var Ac=/%20/g,xc=/#.*$/,Cc=/([?&])_=[^&]*/,Oc=/^(.*?):[ \t]*([^\r\n]*)$/mg,Nc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Dc=/^(?:GET|HEAD)$/,Lc=/^\/\//,Us={},Ji={},Ws="*/".concat("*"),Zi=P.createElement("a");Zi.href=_n.href;function Vs(t){return function(i,s){typeof i!="string"&&(s=i,i="*");var a,u=0,f=i.toLowerCase().match(Rt)||[];if(typeof s=="function")for(;a=f[u++];)a[0]==="+"?(a=a.slice(1)||"*",(t[a]=t[a]||[]).unshift(s)):(t[a]=t[a]||[]).push(s)}}function zs(t,i,s,a){var u={},f=t===Ji;function g(b){var y;return u[b]=!0,l.each(t[b]||[],function(T,A){var L=A(i,s,a);if(typeof L=="string"&&!f&&!u[L])return i.dataTypes.unshift(L),g(L),!1;if(f)return!(y=L)}),y}return g(i.dataTypes[0])||!u["*"]&&g("*")}function tr(t,i){var s,a,u=l.ajaxSettings.flatOptions||{};for(s in i)i[s]!==void 0&&((u[s]?t:a||(a={}))[s]=i[s]);return a&&l.extend(!0,t,a),t}function Pc(t,i,s){for(var a,u,f,g,b=t.contents,y=t.dataTypes;y[0]==="*";)y.shift(),a===void 0&&(a=t.mimeType||i.getResponseHeader("Content-Type"));if(a){for(u in b)if(b[u]&&b[u].test(a)){y.unshift(u);break}}if(y[0]in s)f=y[0];else{for(u in s){if(!y[0]||t.converters[u+" "+y[0]]){f=u;break}g||(g=u)}f=f||g}if(f)return f!==y[0]&&y.unshift(f),s[f]}function Rc(t,i,s,a){var u,f,g,b,y,T={},A=t.dataTypes.slice();if(A[1])for(g in t.converters)T[g.toLowerCase()]=t.converters[g];for(f=A.shift();f;)if(t.responseFields[f]&&(s[t.responseFields[f]]=i),!y&&a&&t.dataFilter&&(i=t.dataFilter(i,t.dataType)),y=f,f=A.shift(),f){if(f==="*")f=y;else if(y!=="*"&&y!==f){if(g=T[y+" "+f]||T["* "+f],!g){for(u in T)if(b=u.split(" "),b[1]===f&&(g=T[y+" "+b[0]]||T["* "+b[0]],g)){g===!0?g=T[u]:T[u]!==!0&&(f=b[0],A.unshift(b[1]));break}}if(g!==!0)if(g&&t.throws)i=g(i);else try{i=g(i)}catch(L){return{state:"parsererror",error:g?L:"No conversion from "+y+" to "+f}}}}return{state:"success",data:i}}l.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_n.href,type:"GET",isLocal:Nc.test(_n.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ws,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":l.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,i){return i?tr(tr(t,l.ajaxSettings),i):tr(l.ajaxSettings,t)},ajaxPrefilter:Vs(Us),ajaxTransport:Vs(Ji),ajax:function(t,i){typeof t=="object"&&(i=t,t=void 0),i=i||{};var s,a,u,f,g,b,y,T,A,L,w=l.ajaxSetup({},i),D=w.context||w,F=w.context&&(D.nodeType||D.jquery)?l(D):l.event,et=l.Deferred(),Q=l.Callbacks("once memory"),ht=w.statusCode||{},dt={},xt={},bt="canceled",lt={readyState:0,getResponseHeader:function(ct){var mt;if(y){if(!f)for(f={};mt=Oc.exec(u);)f[mt[1].toLowerCase()+" "]=(f[mt[1].toLowerCase()+" "]||[]).concat(mt[2]);mt=f[ct.toLowerCase()+" "]}return mt==null?null:mt.join(", ")},getAllResponseHeaders:function(){return y?u:null},setRequestHeader:function(ct,mt){return y==null&&(ct=xt[ct.toLowerCase()]=xt[ct.toLowerCase()]||ct,dt[ct]=mt),this},overrideMimeType:function(ct){return y==null&&(w.mimeType=ct),this},statusCode:function(ct){var mt;if(ct)if(y)lt.always(ct[lt.status]);else for(mt in ct)ht[mt]=[ht[mt],ct[mt]];return this},abort:function(ct){var mt=ct||bt;return s&&s.abort(mt),Zn(0,mt),this}};if(et.promise(lt),w.url=((t||w.url||_n.href)+"").replace(Lc,_n.protocol+"//"),w.type=i.method||i.type||w.method||w.type,w.dataTypes=(w.dataType||"*").toLowerCase().match(Rt)||[""],w.crossDomain==null){b=P.createElement("a");try{b.href=w.url,b.href=b.href,w.crossDomain=Zi.protocol+"//"+Zi.host!=b.protocol+"//"+b.host}catch{w.crossDomain=!0}}if(zs(Us,w,i,lt),w.data&&w.processData&&typeof w.data!="string"&&(w.data=l.param(w.data,w.traditional)),y)return lt;T=l.event&&w.global,T&&l.active++===0&&l.event.trigger("ajaxStart"),w.type=w.type.toUpperCase(),w.hasContent=!Dc.test(w.type),a=w.url.replace(xc,""),w.hasContent?w.data&&w.processData&&(w.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(w.data=w.data.replace(Ac,"+")):(L=w.url.slice(a.length),w.data&&(w.processData||typeof w.data=="string")&&(a+=(Xi.test(a)?"&":"?")+w.data,delete w.data),w.cache===!1&&(a=a.replace(Cc,"$1"),L=(Xi.test(a)?"&":"?")+"_="+Bs.guid+++L),w.url=a+L),w.ifModified&&(l.lastModified[a]&<.setRequestHeader("If-Modified-Since",l.lastModified[a]),l.etag[a]&<.setRequestHeader("If-None-Match",l.etag[a])),(w.data&&w.hasContent&&w.contentType!==!1||i.contentType)&<.setRequestHeader("Content-Type",w.contentType),lt.setRequestHeader("Accept",w.dataTypes[0]&&w.accepts[w.dataTypes[0]]?w.accepts[w.dataTypes[0]]+(w.dataTypes[0]!=="*"?", "+Ws+"; q=0.01":""):w.accepts["*"]);for(A in w.headers)lt.setRequestHeader(A,w.headers[A]);if(w.beforeSend&&(w.beforeSend.call(D,lt,w)===!1||y))return lt.abort();if(bt="abort",Q.add(w.complete),lt.done(w.success),lt.fail(w.error),s=zs(Ji,w,i,lt),!s)Zn(-1,"No Transport");else{if(lt.readyState=1,T&&F.trigger("ajaxSend",[lt,w]),y)return lt;w.async&&w.timeout>0&&(g=n.setTimeout(function(){lt.abort("timeout")},w.timeout));try{y=!1,s.send(dt,Zn)}catch(ct){if(y)throw ct;Zn(-1,ct)}}function Zn(ct,mt,Gs,jc){var ce,nr,bn,Ue,We,Gt=mt;y||(y=!0,g&&n.clearTimeout(g),s=void 0,u=jc||"",lt.readyState=ct>0?4:0,ce=ct>=200&&ct<300||ct===304,Gs&&(Ue=Pc(w,lt,Gs)),!ce&&l.inArray("script",w.dataTypes)>-1&&l.inArray("json",w.dataTypes)<0&&(w.converters["text script"]=function(){}),Ue=Rc(w,Ue,lt,ce),ce?(w.ifModified&&(We=lt.getResponseHeader("Last-Modified"),We&&(l.lastModified[a]=We),We=lt.getResponseHeader("etag"),We&&(l.etag[a]=We)),ct===204||w.type==="HEAD"?Gt="nocontent":ct===304?Gt="notmodified":(Gt=Ue.state,nr=Ue.data,bn=Ue.error,ce=!bn)):(bn=Gt,(ct||!Gt)&&(Gt="error",ct<0&&(ct=0))),lt.status=ct,lt.statusText=(mt||Gt)+"",ce?et.resolveWith(D,[nr,Gt,lt]):et.rejectWith(D,[lt,Gt,bn]),lt.statusCode(ht),ht=void 0,T&&F.trigger(ce?"ajaxSuccess":"ajaxError",[lt,w,ce?nr:bn]),Q.fireWith(D,[lt,Gt]),T&&(F.trigger("ajaxComplete",[lt,w]),--l.active||l.event.trigger("ajaxStop")))}return lt},getJSON:function(t,i,s){return l.get(t,i,s,"json")},getScript:function(t,i){return l.get(t,void 0,i,"script")}}),l.each(["get","post"],function(t,i){l[i]=function(s,a,u,f){return(typeof a=="function"||a===null)&&(f=f||u,u=a,a=void 0),l.ajax(l.extend({url:s,type:i,dataType:f,data:a,success:u},l.isPlainObject(s)&&s))}}),l.ajaxPrefilter(function(t){var i;for(i in t.headers)i.toLowerCase()==="content-type"&&(t.contentType=t.headers[i]||"")}),l._evalUrl=function(t,i,s){return l.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,scriptAttrs:i.crossOrigin?{crossOrigin:i.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(a){l.globalEval(a,i,s)}})},l.fn.extend({wrapAll:function(t){var i;return this[0]&&(typeof t=="function"&&(t=t.call(this[0])),i=l(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&i.insertBefore(this[0]),i.map(function(){for(var s=this;s.firstElementChild;)s=s.firstElementChild;return s}).append(this)),this},wrapInner:function(t){return typeof t=="function"?this.each(function(i){l(this).wrapInner(t.call(this,i))}):this.each(function(){var i=l(this),s=i.contents();s.length?s.wrapAll(t):i.append(t)})},wrap:function(t){var i=typeof t=="function";return this.each(function(s){l(this).wrapAll(i?t.call(this,s):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){l(this).replaceWith(this.childNodes)}),this}}),l.expr.pseudos.hidden=function(t){return!l.expr.pseudos.visible(t)},l.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},l.ajaxSettings.xhr=function(){return new n.XMLHttpRequest};var Ic={0:200};l.ajaxTransport(function(t){var i;return{send:function(s,a){var u,f=t.xhr();if(f.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(u in t.xhrFields)f[u]=t.xhrFields[u];t.mimeType&&f.overrideMimeType&&f.overrideMimeType(t.mimeType),!t.crossDomain&&!s["X-Requested-With"]&&(s["X-Requested-With"]="XMLHttpRequest");for(u in s)f.setRequestHeader(u,s[u]);i=function(g){return function(){i&&(i=f.onload=f.onerror=f.onabort=f.ontimeout=null,g==="abort"?f.abort():g==="error"?a(f.status,f.statusText):a(Ic[f.status]||f.status,f.statusText,(f.responseType||"text")==="text"?{text:f.responseText}:{binary:f.response},f.getAllResponseHeaders()))}},f.onload=i(),f.onabort=f.onerror=f.ontimeout=i("error"),i=i("abort");try{f.send(t.hasContent&&t.data||null)}catch(g){if(i)throw g}},abort:function(){i&&i()}}});function Ks(t){return t.scriptAttrs||!t.headers&&(t.crossDomain||t.async&&l.inArray("json",t.dataTypes)<0)}l.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(t){return l.globalEval(t),t}}}),l.ajaxPrefilter("script",function(t){t.cache===void 0&&(t.cache=!1),Ks(t)&&(t.type="GET")}),l.ajaxTransport("script",function(t){if(Ks(t)){var i,s;return{send:function(a,u){i=l("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",s=function(f){i.remove(),s=null,f&&u(f.type==="error"?404:200,f.type)}),P.head.appendChild(i[0])},abort:function(){s&&s()}}}});var Ys=[],er=/(=)\?(?=&|$)|\?\?/;l.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ys.pop()||l.expando+"_"+Bs.guid++;return this[t]=!0,t}}),l.ajaxPrefilter("jsonp",function(t,i,s){var a,u,f,g=t.jsonp!==!1&&(er.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&er.test(t.data)&&"data");return a=t.jsonpCallback=typeof t.jsonpCallback=="function"?t.jsonpCallback():t.jsonpCallback,g?t[g]=t[g].replace(er,"$1"+a):t.jsonp!==!1&&(t.url+=(Xi.test(t.url)?"&":"?")+t.jsonp+"="+a),t.converters["script json"]=function(){return f||l.error(a+" was not called"),f[0]},t.dataTypes[0]="json",u=n[a],n[a]=function(){f=arguments},s.always(function(){u===void 0?l(n).removeProp(a):n[a]=u,t[a]&&(t.jsonpCallback=i.jsonpCallback,Ys.push(a)),f&&typeof u=="function"&&u(f[0]),f=u=void 0}),"script"}),l.ajaxPrefilter(function(t,i){typeof t.data!="string"&&!l.isPlainObject(t.data)&&!Array.isArray(t.data)&&!("processData"in i)&&(t.processData=!1),t.data instanceof n.FormData&&(t.contentType=!1)}),l.parseHTML=function(t,i,s){if(typeof t!="string"&&!hs(t+""))return[];typeof i=="boolean"&&(s=i,i=!1);var a,u;return i||(i=new n.DOMParser().parseFromString("","text/html")),a=ds.exec(t),u=!s&&[],a?[i.createElement(a[1])]:(a=Ts([t],i,u),u&&u.length&&l(u).remove(),l.merge([],a.childNodes))},l.fn.load=function(t,i,s){var a,u,f,g=this,b=t.indexOf(" ");return b>-1&&(a=Ee(t.slice(b)),t=t.slice(0,b)),typeof i=="function"?(s=i,i=void 0):i&&typeof i=="object"&&(u="POST"),g.length>0&&l.ajax({url:t,type:u||"GET",dataType:"html",data:i}).done(function(y){f=arguments,g.html(a?l("<div>").append(l.parseHTML(y)).find(a):y)}).always(s&&function(y,T){g.each(function(){s.apply(this,f||[y.responseText,T,y])})}),this},l.expr.pseudos.animated=function(t){return l.grep(l.timers,function(i){return t===i.elem}).length},l.offset={setOffset:function(t,i,s){var a,u,f,g,b,y,T,A=l.css(t,"position"),L=l(t),w={};A==="static"&&(t.style.position="relative"),b=L.offset(),f=l.css(t,"top"),y=l.css(t,"left"),T=(A==="absolute"||A==="fixed")&&(f+y).indexOf("auto")>-1,T?(a=L.position(),g=a.top,u=a.left):(g=parseFloat(f)||0,u=parseFloat(y)||0),typeof i=="function"&&(i=i.call(t,s,l.extend({},b))),i.top!=null&&(w.top=i.top-b.top+g),i.left!=null&&(w.left=i.left-b.left+u),"using"in i?i.using.call(t,w):L.css(w)}},l.fn.extend({offset:function(t){if(arguments.length)return t===void 0?this:this.each(function(u){l.offset.setOffset(this,t,u)});var i,s,a=this[0];if(a)return a.getClientRects().length?(i=a.getBoundingClientRect(),s=a.ownerDocument.defaultView,{top:i.top+s.pageYOffset,left:i.left+s.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,i,s,a=this[0],u={top:0,left:0};if(l.css(a,"position")==="fixed")i=a.getBoundingClientRect();else{for(i=this.offset(),s=a.ownerDocument,t=a.offsetParent||s.documentElement;t&&t!==s.documentElement&&l.css(t,"position")==="static";)t=t.offsetParent||s.documentElement;t&&t!==a&&t.nodeType===1&&l.css(t,"position")!=="static"&&(u=l(t).offset(),u.top+=l.css(t,"borderTopWidth",!0),u.left+=l.css(t,"borderLeftWidth",!0))}return{top:i.top-u.top-l.css(a,"marginTop",!0),left:i.left-u.left-l.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&l.css(t,"position")==="static";)t=t.offsetParent;return t||st})}}),l.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var s=i==="pageYOffset";l.fn[t]=function(a){return Bt(this,function(u,f,g){var b;if(S(u)?b=u:u.nodeType===9&&(b=u.defaultView),g===void 0)return b?b[i]:u[f];b?b.scrollTo(s?b.pageXOffset:g,s?g:b.pageYOffset):u[f]=g},t,a,arguments.length)}}),l.each({Height:"height",Width:"width"},function(t,i){l.each({padding:"inner"+t,content:i,"":"outer"+t},function(s,a){l.fn[a]=function(u,f){var g=arguments.length&&(s||typeof u!="boolean"),b=s||(u===!0||f===!0?"margin":"border");return Bt(this,function(y,T,A){var L;return S(y)?a.indexOf("outer")===0?y["inner"+t]:y.document.documentElement["client"+t]:y.nodeType===9?(L=y.documentElement,Math.max(y.body["scroll"+t],L["scroll"+t],y.body["offset"+t],L["offset"+t],L["client"+t])):A===void 0?l.css(y,T,b):l.style(y,T,A,b)},i,g?u:void 0,g)}})}),l.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,i){l.fn[i]=function(s){return this.on(i,s)}}),l.fn.extend({bind:function(t,i,s){return this.on(t,null,i,s)},unbind:function(t,i){return this.off(t,null,i)},delegate:function(t,i,s,a){return this.on(i,t,s,a)},undelegate:function(t,i,s){return arguments.length===1?this.off(t,"**"):this.off(i,t||"**",s)},hover:function(t,i){return this.on("mouseenter",t).on("mouseleave",i||t)}}),l.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(t,i){l.fn[i]=function(s,a){return arguments.length>0?this.on(i,null,s,a):this.trigger(i)}}),l.proxy=function(t,i){var s,a,u;if(typeof i=="string"&&(s=t[i],i=t,t=s),typeof t=="function")return a=c.call(arguments,2),u=function(){return t.apply(i||this,a.concat(c.call(arguments)))},u.guid=t.guid=t.guid||l.guid++,u},l.holdReady=function(t){t?l.readyWait++:l.ready(!0)},l.expr[":"]=l.expr.filters=l.expr.pseudos,typeof define=="function"&&define.amd&&define("jquery",[],function(){return l});var kc=n.jQuery,Mc=n.$;return l.noConflict=function(t){return n.$===l&&(n.$=Mc),t&&n.jQuery===l&&(n.jQuery=kc),l},l}var Ce=um(window);function Il(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Tr={exports:{}},wr={exports:{}},pi={exports:{}},fm=pi.exports,Go;function dm(){return Go||(Go=1,(function(n){(function(e,r){n.exports?n.exports=r():e.EvEmitter=r()})(typeof window<"u"?window:fm,function(){function e(){}let r=e.prototype;return r.on=function(o,c){if(!o||!c)return this;let d=this._events=this._events||{},h=d[o]=d[o]||[];return h.includes(c)||h.push(c),this},r.once=function(o,c){if(!o||!c)return this;this.on(o,c);let d=this._onceEvents=this._onceEvents||{},h=d[o]=d[o]||{};return h[c]=!0,this},r.off=function(o,c){let d=this._events&&this._events[o];if(!d||!d.length)return this;let h=d.indexOf(c);return h!=-1&&d.splice(h,1),this},r.emitEvent=function(o,c){let d=this._events&&this._events[o];if(!d||!d.length)return this;d=d.slice(0),c=c||[];let h=this._onceEvents&&this._onceEvents[o];for(let p of d)h&&h[p]&&(this.off(o,p),delete h[p]),p.apply(this,c);return this},r.allOff=function(){return delete this._events,delete this._onceEvents,this},e})})(pi)),pi.exports}var gi={exports:{}},hm=gi.exports,Xo;function Mn(){return Xo||(Xo=1,(function(n){(function(e,r){n.exports?n.exports=r(e):e.fizzyUIUtils=r(e)})(hm,function(r){let o={};o.extend=function(d,h){return Object.assign(d,h)},o.modulo=function(d,h){return(d%h+h)%h},o.makeArray=function(d){return Array.isArray(d)?d:d==null?[]:typeof d=="object"&&typeof d.length=="number"?[...d]:[d]},o.removeFrom=function(d,h){let p=d.indexOf(h);p!=-1&&d.splice(p,1)},o.getParent=function(d,h){for(;d.parentNode&&d!=document.body;)if(d=d.parentNode,d.matches(h))return d},o.getQueryElement=function(d){return typeof d=="string"?document.querySelector(d):d},o.handleEvent=function(d){let h="on"+d.type;this[h]&&this[h](d)},o.filterFindElements=function(d,h){return d=o.makeArray(d),d.filter(p=>p instanceof HTMLElement).reduce((p,m)=>{if(!h)return p.push(m),p;m.matches(h)&&p.push(m);let _=m.querySelectorAll(h);return p=p.concat(..._),p},[])},o.debounceMethod=function(d,h,p){p=p||100;let m=d.prototype[h],_=h+"Timeout";d.prototype[h]=function(){clearTimeout(this[_]);let v=arguments;this[_]=setTimeout(()=>{m.apply(this,v),delete this[_]},p)}},o.docReady=function(d){let h=document.readyState;h=="complete"||h=="interactive"?setTimeout(d):document.addEventListener("DOMContentLoaded",d)},o.toDashed=function(d){return d.replace(/(.)([A-Z])/g,function(h,p,m){return p+"-"+m}).toLowerCase()};let c=r.console;return o.htmlInit=function(d,h){o.docReady(function(){let m="data-"+o.toDashed(h),_=document.querySelectorAll(`[${m}]`),v=r.jQuery;[..._].forEach(O=>{let I=O.getAttribute(m),k;try{k=I&&JSON.parse(I)}catch(S){c&&c.error(`Error parsing ${m} on ${O.className}: ${S}`);return}let E=new d(O,k);v&&v.data(O,h,E)})})},o})})(gi)),gi.exports}var Qo;function dn(){return Qo||(Qo=1,(function(n){(function(e,r){n.exports?n.exports=r(e,dm(),Mn()):e.InfiniteScroll=r(e,e.EvEmitter,e.fizzyUIUtils)})(window,function(r,o,c){let d=r.jQuery,h={};function p(E,S){let x=c.getQueryElement(E);if(!x){console.error("Bad element for InfiniteScroll: "+(x||E));return}if(E=x,E.infiniteScrollGUID){let P=h[E.infiniteScrollGUID];return P.option(S),P}this.element=E,this.options={...p.defaults},this.option(S),d&&(this.$element=d(this.element)),this.create()}p.defaults={},p.create={},p.destroy={};let m=p.prototype;Object.assign(m,o.prototype);let _=0;m.create=function(){let E=this.guid=++_;if(this.element.infiniteScrollGUID=E,h[E]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),!(this.getPath&&this.getPath())){console.error("Disabling InfiniteScroll");return}this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(let x in p.create)p.create[x].call(this)},m.option=function(E){Object.assign(this.options,E)},m.callOnInit=function(){let E=this.options.onInit;E&&E.call(this,this)},m.dispatchEvent=function(E,S,x){this.log(E,x);let P=S?[S].concat(x):x;if(this.emitEvent(E,P),!d||!this.$element)return;E+=".infiniteScroll";let U=E;if(S){let W=d.Event(S);W.type=E,U=W}this.$element.trigger(U,x)};let v={initialized:E=>`on ${E}`,request:E=>`URL: ${E}`,load:(E,S)=>`${E.title||""}. URL: ${S}`,error:(E,S)=>`${E}. URL: ${S}`,append:(E,S,x)=>`${x.length} items. URL: ${S}`,last:(E,S)=>`URL: ${S}`,history:(E,S)=>`URL: ${S}`,pageIndex:function(E,S){return`current page determined to be: ${E} from ${S}`}};m.log=function(E,S){if(!this.options.debug)return;let x=`[InfiniteScroll] ${E}`,P=v[E];P&&(x+=". "+P.apply(this,S)),console.log(x)},m.updateMeasurements=function(){this.windowHeight=r.innerHeight;let E=this.element.getBoundingClientRect();this.top=E.top+r.scrollY},m.updateScroller=function(){let E=this.options.elementScroll;if(!E){this.scroller=r;return}if(this.scroller=E===!0?this.element:c.getQueryElement(E),!this.scroller)throw new Error(`Unable to find elementScroll: ${E}`)},m.updateGetPath=function(){let E=this.options.path;if(!E){console.error(`InfiniteScroll path option required. Set as: ${E}`);return}let S=typeof E;if(S=="function"){this.getPath=E;return}if(S=="string"&&E.match("{{#}}")){this.updateGetPathTemplate(E);return}this.updateGetPathSelector(E)},m.updateGetPathTemplate=function(E){this.getPath=()=>{let U=this.pageIndex+1;return E.replace("{{#}}",U)};let S=E.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),x=new RegExp(S),P=location.href.match(x);P&&(this.pageIndex=parseInt(P[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};let O=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/],I=p.getPathParts=function(E){if(E)for(let S of O){let x=E.match(S);if(x){let[,P,U,W]=x;return{begin:P,index:U,end:W}}}};m.updateGetPathSelector=function(E){let S=document.querySelector(E);if(!S){console.error(`Bad InfiniteScroll path option. Next link not found: ${E}`);return}let x=S.getAttribute("href"),P=I(x);if(!P){console.error(`InfiniteScroll unable to parse next link href: ${x}`);return}let{begin:U,index:W,end:$}=P;this.isPathSelector=!0,this.getPath=()=>U+(this.pageIndex+1)+$,this.pageIndex=parseInt(W,10)-1,this.log("pageIndex",[this.pageIndex,"next link"])},m.updateGetAbsolutePath=function(){let E=this.getPath();if(E.match(/^http/)||E.match(/^\//)){this.getAbsolutePath=this.getPath;return}let{pathname:x}=location,P=E.match(/^\?/),U=x.substring(0,x.lastIndexOf("/")),W=P?x:U+"/";this.getAbsolutePath=()=>W+this.getPath()},p.create.hideNav=function(){let E=c.getQueryElement(this.options.hideNav);E&&(E.style.display="none",this.nav=E)},p.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},m.destroy=function(){this.allOff();for(let E in p.destroy)p.destroy[E].call(this);delete this.element.infiniteScrollGUID,delete h[this.guid],d&&this.$element&&d.removeData(this.element,"infiniteScroll")},p.throttle=function(E,S){S=S||200;let x,P;return function(){let U=+new Date,W=arguments,$=()=>{x=U,E.apply(this,W)};x&&U<x+S?(clearTimeout(P),P=setTimeout($,S)):$()}},p.data=function(E){E=c.getQueryElement(E);let S=E&&E.infiniteScrollGUID;return S&&h[S]},p.setJQuery=function(E){d=E},c.htmlInit(p,"infinite-scroll"),m._init=function(){};let{jQueryBridget:k}=r;return d&&k&&k("infiniteScroll",p,d),p})})(wr)),wr.exports}var Sr={exports:{}},Jo;function pm(){return Jo||(Jo=1,(function(n){(function(e,r){n.exports?n.exports=r(e,dn()):r(e,e.InfiniteScroll)})(window,function(r,o){let c=o.prototype;Object.assign(o.defaults,{loadOnScroll:!0,checkLastPage:!0,responseBody:"text",domParseResponse:!0}),o.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},c.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()};let d=new DOMParser;c.loadNextPage=function(){if(this.isLoading||!this.canLoad)return;let{responseBody:m,domParseResponse:_,fetchOptions:v}=this.options,O=this.getAbsolutePath();this.isLoading=!0,typeof v=="function"&&(v=v());let I=fetch(O,v).then(k=>{if(!k.ok){let E=new Error(k.statusText);return this.onPageError(E,O,k),{response:k}}return k[m]().then(E=>(m=="text"&&_&&(E=d.parseFromString(E,"text/html")),k.status==204?(this.lastPageReached(E,O),{body:E,response:k}):this.onPageLoad(E,O,k)))}).catch(k=>{this.onPageError(k,O)});return this.dispatchEvent("request",null,[O,I]),I},c.onPageLoad=function(m,_,v){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[m,_,v]),this.appendNextPage(m,_,v)},c.appendNextPage=function(m,_,v){let{append:O,responseBody:I,domParseResponse:k}=this.options;if(!(I=="text"&&k)||!O)return{body:m,response:v};let S=m.querySelectorAll(O),x={body:m,response:v,items:S};if(!S||!S.length)return this.lastPageReached(m,_),x;let P=h(S),U=()=>(this.appendItems(S,P),this.isLoading=!1,this.dispatchEvent("append",null,[m,_,S,v]),x);return this.options.outlayer?this.appendOutlayerItems(P,U):U()},c.appendItems=function(m,_){!m||!m.length||(_=_||h(m),p(_),this.element.appendChild(_))};function h(m){let _=document.createDocumentFragment();return m&&_.append(...m),_}function p(m){let _=m.querySelectorAll("script");for(let v of _){let O=document.createElement("script"),I=v.attributes;for(let k of I)O.setAttribute(k.name,k.value);O.innerHTML=v.innerHTML,v.parentNode.replaceChild(O,v)}}return c.appendOutlayerItems=function(m,_){let v=o.imagesLoaded||r.imagesLoaded;if(!v){console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),this.isLoading=!1;return}return new Promise(function(O){v(m,function(){let I=_();O(I)})})},c.onAppendOutlayer=function(m,_,v){this.options.outlayer.appended(v)},c.checkLastPage=function(m,_){let{checkLastPage:v,path:O}=this.options;if(!v)return;if(typeof O=="function"&&!this.getPath()){this.lastPageReached(m,_);return}let I;if(typeof v=="string"?I=v:this.isPathSelector&&(I=O),!I||!m.querySelector)return;m.querySelector(I)||this.lastPageReached(m,_)},c.lastPageReached=function(m,_){this.canLoad=!1,this.dispatchEvent("last",null,[m,_])},c.onPageError=function(m,_,v){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[m,_,v]),m},o.create.prefill=function(){if(!this.options.prefill)return;let m=this.options.append;if(!m){console.error(`append option required for prefill. Set as :${m}`);return}this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()},c.prefill=function(){let m=this.getPrefillDistance();this.isPrefilling=m>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},c.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},c.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},o})})(Sr)),Sr.exports}var Ar={exports:{}},Zo;function gm(){return Zo||(Zo=1,(function(n){(function(e,r){n.exports?n.exports=r(e,dn(),Mn()):r(e,e.InfiniteScroll,e.fizzyUIUtils)})(window,function(r,o,c){let d=o.prototype;return Object.assign(o.defaults,{scrollThreshold:400}),o.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);let h=this.options.scrollThreshold;(h||h===0)&&this.enableScrollWatch()},o.destroy.scrollWatch=function(){this.disableScrollWatch()},d.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},d.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},d.bindScrollWatchEvents=function(h){let p=h?"addEventListener":"removeEventListener";this.scroller[p]("scroll",this.pageScrollHandler),r[p]("resize",this.resizeHandler)},d.onPageScroll=o.throttle(function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),d.getBottomDistance=function(){let h,p;return this.options.elementScroll?(h=this.scroller.scrollHeight,p=this.scroller.scrollTop+this.scroller.clientHeight):(h=this.top+this.element.clientHeight,p=r.scrollY+this.windowHeight),h-p},d.onResize=function(){this.updateMeasurements()},c.debounceMethod(o,"onResize",150),o})})(Ar)),Ar.exports}var xr={exports:{}},ta;function mm(){return ta||(ta=1,(function(n){(function(e,r){n.exports?n.exports=r(e,dn(),Mn()):r(e,e.InfiniteScroll,e.fizzyUIUtils)})(window,function(r,o,c){let d=o.prototype;Object.assign(o.defaults,{history:"replace"});let h=document.createElement("a");return o.create.history=function(){if(!this.options.history)return;if(h.href=this.getAbsolutePath(),!((h.origin||h.protocol+"//"+h.host)==location.origin)){console.error(`[InfiniteScroll] cannot set history with different origin: ${h.origin} on ${location.origin} . History behavior disabled.`);return}this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()},d.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPage=this.scrollPages[0],this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},d.bindHistoryAppendEvents=function(p){let m=p?"addEventListener":"removeEventListener";this.scroller[m]("scroll",this.scrollHistoryHandler),r[m]("unload",this.unloadHandler)},d.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},o.destroy.history=d.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},d.onAppendHistory=function(p,m,_){if(!_||!_.length)return;let v=_[0],O=this.getElementScrollY(v);h.href=m,this.scrollPages.push({top:O,path:h.href,title:p.title})},d.getElementScrollY=function(p){return this.options.elementScroll?p.offsetTop-this.top:p.getBoundingClientRect().top+r.scrollY},d.onScrollHistory=function(){let p=this.getClosestScrollPage();p!=this.scrollPage&&(this.scrollPage=p,this.setHistory(p.title,p.path))},c.debounceMethod(o,"onScrollHistory",150),d.getClosestScrollPage=function(){let p;this.options.elementScroll?p=this.scroller.scrollTop+this.scroller.clientHeight/2:p=r.scrollY+this.windowHeight/2;let m;for(let _ of this.scrollPages){if(_.top>=p)break;m=_}return m},d.setHistory=function(p,m){let _=this.options.history;_&&history[_+"State"]&&(history[_+"State"](null,p,m),this.options.historyTitle&&(document.title=p),this.dispatchEvent("history",null,[p,m]))},d.onUnload=function(){if(this.scrollPage.top===0)return;let p=r.scrollY-this.scrollPage.top+this.top;this.destroyHistory(),scrollTo(0,p)},d.onPageLoadHistory=function(p,m){this.setHistory(p.title,m)},o})})(xr)),xr.exports}var Cr={exports:{}},ea;function ym(){return ea||(ea=1,(function(n){(function(e,r){n.exports?n.exports=r(e,dn(),Mn()):r(e,e.InfiniteScroll,e.fizzyUIUtils)})(window,function(r,o,c){class d{constructor(p,m){this.element=p,this.infScroll=m,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),m.on("request",this.disable.bind(this)),m.on("load",this.enable.bind(this)),m.on("error",this.hide.bind(this)),m.on("last",this.hide.bind(this))}onClick(p){p.preventDefault(),this.infScroll.loadNextPage()}enable(){this.element.removeAttribute("disabled")}disable(){this.element.disabled="disabled"}hide(){this.element.style.display="none"}destroy(){this.element.removeEventListener("click",this.clickHandler)}}return o.create.button=function(){let h=c.getQueryElement(this.options.button);h&&(this.button=new d(h,this))},o.destroy.button=function(){this.button&&this.button.destroy()},o.Button=d,o})})(Cr)),Cr.exports}var Or={exports:{}},na;function vm(){return na||(na=1,(function(n){(function(e,r){n.exports?n.exports=r(e,dn(),Mn()):r(e,e.InfiniteScroll,e.fizzyUIUtils)})(window,function(r,o,c){let d=o.prototype;o.create.status=function(){let _=c.getQueryElement(this.options.status);_&&(this.statusElement=_,this.statusEventElements={request:_.querySelector(".infinite-scroll-request"),error:_.querySelector(".infinite-scroll-error"),last:_.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},d.bindHideStatus=function(_){let v=this.options.append?"append":"load";this[_](v,this.hideAllStatus)},d.showRequestStatus=function(){this.showStatus("request")},d.showErrorStatus=function(){this.showStatus("error")},d.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},d.showStatus=function(_){p(this.statusElement),this.hideStatusEventElements();let v=this.statusEventElements[_];p(v)},d.hideAllStatus=function(){h(this.statusElement),this.hideStatusEventElements()},d.hideStatusEventElements=function(){for(let _ in this.statusEventElements){let v=this.statusEventElements[_];h(v)}};function h(_){m(_,"none")}function p(_){m(_,"block")}function m(_,v){_&&(_.style.display=v)}return o})})(Or)),Or.exports}var ia;function _m(){return ia||(ia=1,(function(n){(function(e,r){n.exports&&(n.exports=r(dn(),pm(),gm(),mm(),ym(),vm()))})(window,function(r){return r})})(Tr)),Tr.exports}var bm=_m();const Em=Il(bm);var mi={exports:{}};var Tm=mi.exports,ra;function wm(){return ra||(ra=1,(function(n,e){(function(o,c){n.exports=c()})(Tm,function(){return(function(){var r={686:(function(d,h,p){p.d(h,{default:function(){return gt}});var m=p(279),_=p.n(m),v=p(370),O=p.n(v),I=p(817),k=p.n(I);function E(V){try{return document.execCommand(V)}catch{return!1}}var S=function(H){var j=k()(H);return E("cut"),j},x=S;function P(V){var H=document.documentElement.getAttribute("dir")==="rtl",j=document.createElement("textarea");j.style.fontSize="12pt",j.style.border="0",j.style.padding="0",j.style.margin="0",j.style.position="absolute",j.style[H?"right":"left"]="-9999px";var z=window.pageYOffset||document.documentElement.scrollTop;return j.style.top="".concat(z,"px"),j.setAttribute("readonly",""),j.value=V,j}var U=function(H,j){var z=P(H);j.container.appendChild(z);var Z=k()(z);return E("copy"),z.remove(),Z},W=function(H){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},z="";return typeof H=="string"?z=U(H,j):H instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(H?.type)?z=U(H.value,j):(z=k()(H),E("copy")),z},$=W;function J(V){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function(j){return typeof j}:J=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},J(V)}var l=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=H.action,z=j===void 0?"copy":j,Z=H.container,tt=H.target,ft=H.text;if(z!=="copy"&&z!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(tt!==void 0)if(tt&&J(tt)==="object"&&tt.nodeType===1){if(z==="copy"&&tt.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(z==="cut"&&(tt.hasAttribute("readonly")||tt.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ft)return $(ft,{container:Z});if(tt)return z==="cut"?x(tt):$(tt,{container:Z})},B=l;function at(V){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?at=function(j){return typeof j}:at=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},at(V)}function C(V,H){if(!(V instanceof H))throw new TypeError("Cannot call a class as a function")}function R(V,H){for(var j=0;j<H.length;j++){var z=H[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(V,z.key,z)}}function X(V,H,j){return H&&R(V.prototype,H),j&&R(V,j),V}function it(V,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(H&&H.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),H&&G(V,H)}function G(V,H){return G=Object.setPrototypeOf||function(z,Z){return z.__proto__=Z,z},G(V,H)}function ot(V){var H=st();return function(){var z=ut(V),Z;if(H){var tt=ut(this).constructor;Z=Reflect.construct(z,arguments,tt)}else Z=z.apply(this,arguments);return yt(this,Z)}}function yt(V,H){return H&&(at(H)==="object"||typeof H=="function")?H:K(V)}function K(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function st(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ut(V){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},ut(V)}function q(V,H){var j="data-clipboard-".concat(V);if(H.hasAttribute(j))return H.getAttribute(j)}var _t=(function(V){it(j,V);var H=ot(j);function j(z,Z){var tt;return C(this,j),tt=H.call(this),tt.resolveOptions(Z),tt.listenClick(z),tt}return X(j,[{key:"resolveOptions",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Z.action=="function"?Z.action:this.defaultAction,this.target=typeof Z.target=="function"?Z.target:this.defaultTarget,this.text=typeof Z.text=="function"?Z.text:this.defaultText,this.container=at(Z.container)==="object"?Z.container:document.body}},{key:"listenClick",value:function(Z){var tt=this;this.listener=O()(Z,"click",function(ft){return tt.onClick(ft)})}},{key:"onClick",value:function(Z){var tt=Z.delegateTarget||Z.currentTarget,ft=this.action(tt)||"copy",Kt=B({action:ft,container:this.container,target:this.target(tt),text:this.text(tt)});this.emit(Kt?"success":"error",{action:ft,text:Kt,trigger:tt,clearSelection:function(){tt&&tt.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Z){return q("action",Z)}},{key:"defaultTarget",value:function(Z){var tt=q("target",Z);if(tt)return document.querySelector(tt)}},{key:"defaultText",value:function(Z){return q("text",Z)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Z){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return $(Z,tt)}},{key:"cut",value:function(Z){return x(Z)}},{key:"isSupported",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],tt=typeof Z=="string"?[Z]:Z,ft=!!document.queryCommandSupported;return tt.forEach(function(Kt){ft=ft&&!!document.queryCommandSupported(Kt)}),ft}}]),j})(_()),gt=_t}),828:(function(d){var h=9;if(typeof Element<"u"&&!Element.prototype.matches){var p=Element.prototype;p.matches=p.matchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector||p.webkitMatchesSelector}function m(_,v){for(;_&&_.nodeType!==h;){if(typeof _.matches=="function"&&_.matches(v))return _;_=_.parentNode}}d.exports=m}),438:(function(d,h,p){var m=p(828);function _(I,k,E,S,x){var P=O.apply(this,arguments);return I.addEventListener(E,P,x),{destroy:function(){I.removeEventListener(E,P,x)}}}function v(I,k,E,S,x){return typeof I.addEventListener=="function"?_.apply(null,arguments):typeof E=="function"?_.bind(null,document).apply(null,arguments):(typeof I=="string"&&(I=document.querySelectorAll(I)),Array.prototype.map.call(I,function(P){return _(P,k,E,S,x)}))}function O(I,k,E,S){return function(x){x.delegateTarget=m(x.target,k),x.delegateTarget&&S.call(I,x)}}d.exports=v}),879:(function(d,h){h.node=function(p){return p!==void 0&&p instanceof HTMLElement&&p.nodeType===1},h.nodeList=function(p){var m=Object.prototype.toString.call(p);return p!==void 0&&(m==="[object NodeList]"||m==="[object HTMLCollection]")&&"length"in p&&(p.length===0||h.node(p[0]))},h.string=function(p){return typeof p=="string"||p instanceof String},h.fn=function(p){var m=Object.prototype.toString.call(p);return m==="[object Function]"}}),370:(function(d,h,p){var m=p(879),_=p(438);function v(E,S,x){if(!E&&!S&&!x)throw new Error("Missing required arguments");if(!m.string(S))throw new TypeError("Second argument must be a String");if(!m.fn(x))throw new TypeError("Third argument must be a Function");if(m.node(E))return O(E,S,x);if(m.nodeList(E))return I(E,S,x);if(m.string(E))return k(E,S,x);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function O(E,S,x){return E.addEventListener(S,x),{destroy:function(){E.removeEventListener(S,x)}}}function I(E,S,x){return Array.prototype.forEach.call(E,function(P){P.addEventListener(S,x)}),{destroy:function(){Array.prototype.forEach.call(E,function(P){P.removeEventListener(S,x)})}}}function k(E,S,x){return _(document.body,E,S,x)}d.exports=v}),817:(function(d){function h(p){var m;if(p.nodeName==="SELECT")p.focus(),m=p.value;else if(p.nodeName==="INPUT"||p.nodeName==="TEXTAREA"){var _=p.hasAttribute("readonly");_||p.setAttribute("readonly",""),p.select(),p.setSelectionRange(0,p.value.length),_||p.removeAttribute("readonly"),m=p.value}else{p.hasAttribute("contenteditable")&&p.focus();var v=window.getSelection(),O=document.createRange();O.selectNodeContents(p),v.removeAllRanges(),v.addRange(O),m=v.toString()}return m}d.exports=h}),279:(function(d){function h(){}h.prototype={on:function(p,m,_){var v=this.e||(this.e={});return(v[p]||(v[p]=[])).push({fn:m,ctx:_}),this},once:function(p,m,_){var v=this;function O(){v.off(p,O),m.apply(_,arguments)}return O._=m,this.on(p,O,_)},emit:function(p){var m=[].slice.call(arguments,1),_=((this.e||(this.e={}))[p]||[]).slice(),v=0,O=_.length;for(v;v<O;v++)_[v].fn.apply(_[v].ctx,m);return this},off:function(p,m){var _=this.e||(this.e={}),v=_[p],O=[];if(v&&m)for(var I=0,k=v.length;I<k;I++)v[I].fn!==m&&v[I].fn._!==m&&O.push(v[I]);return O.length?_[p]=O:delete _[p],this}},d.exports=h,d.exports.TinyEmitter=h})},o={};function c(d){if(o[d])return o[d].exports;var h=o[d]={exports:{}};return r[d](h,h.exports,c),h.exports}return(function(){c.n=function(d){var h=d&&d.__esModule?function(){return d.default}:function(){return d};return c.d(h,{a:h}),h}})(),(function(){c.d=function(d,h){for(var p in h)c.o(h,p)&&!c.o(d,p)&&Object.defineProperty(d,p,{enumerable:!0,get:h[p]})}})(),(function(){c.o=function(d,h){return Object.prototype.hasOwnProperty.call(d,h)}})(),c(686)})().default})})(mi)),mi.exports}var Sm=wm();const Am=Il(Sm);window.$=window.jQuery=Ce;const xm=n=>{const e=Ce(n),r=e.outerHeight(),o=document.documentElement;if(e.length===0)return;let c=0;const d=5;Ce(window).on("scroll",()=>{let h=Ce(window).scrollTop();Math.abs(h-c)<=d||(h>c&&h>e.outerHeight()?(e.addClass("is-hidden"),o.style.setProperty("--header-offset","0px")):(e.removeClass("is-hidden"),o.style.setProperty("--header-offset",r+"px")),h<=0&&(e.removeClass("is-hidden"),o.style.setProperty("--header-offset",r+"px")),c=h)})},Cm=n=>{const e=Ce(n);if(e.length===0||!document.querySelector(".pagination-next"))return;const r=new Em(e[0],{path:".pagination-next",checkLastPage:!0,append:".ajax-item",history:!1,status:".page-load-status",scrollThreshold:600,responseBody:"text"});r.on("append",(o,c,d)=>{const h=new Set;document.querySelectorAll(".ajax-item[data-article-id]").forEach(_=>{h.has(_.dataset.articleId)?_.remove():h.add(_.dataset.articleId)});const p=typeof o=="string"?new DOMParser().parseFromString(o,"text/html"):o;for(const _ of["next","prev"]){document.querySelector(`link.pagination-${_}`)?.remove();const v=p?.querySelector(`link.pagination-${_}`);v&&document.head.appendChild(v.cloneNode(!0))}const m=Ce(d);m.addClass("ajax-item-fade-in"),setTimeout(()=>{m.addClass("is-visible")},50)}),window.oMainInfScroll=r};Ce(()=>{if(typeof jQuery<"u")var n=jQuery.noConflict();new Am(".copy-permalink",{container:document.body}).on("success",function(C){o(1,"复制成功"),C.clearSelection(),C.trigger.blur()}),n(document).on("click",".post-like-button",function(C){C.preventDefault();var R=n(".post-like-button"),X=n(this).data("id");return R.hasClass("requesting")||(R.addClass("requesting"),n.ajax({url:"/like/"+X,type:"POST",headers:{"X-CSRF-TOKEN":document.querySelector('meta[name="csrf-token"]').content},dataType:"json"}).done(function(it){o(1,it.msg),n(".like-count").html(it.iLikeCount),R.removeClass("requesting")}).fail(function(it){let G="系统开小差了";it.responseJSON&&it.responseJSON.msg&&(G=it.responseJSON.msg),o(0,G),R.removeClass("requesting")})),!1}),n(document).on("keydown",function(C){C.key==="Escape"&&n(".mobile-sidebar").hasClass("active")&&n(".sidebar-close").trigger("click")}),xm("#header"),document.getElementById("searchform")?.addEventListener("submit",function(C){C.preventDefault();let R=document.getElementById("s").value;R.trim()!==""&&(window.location.href="/search/"+encodeURIComponent(R))}),Cm(".list-home");var r={};function o(C,R){var X=C?"success":"error",it="<i class='icon me-2'></i>",G='<div class="nice-popup nice-popup-sm nice-popup-error '+X+'"><div class="nice-popup-body"><div class="nice-popup-content">'+it+R+"</div></div></div>",ot=n(G);n("body").append(ot),setTimeout(function(){ot.addClass("nice-popup-open")},300),typeof lazyLoadInstance<"u"&&lazyLoadInstance.update(),setTimeout(function(){ot.removeClass("nice-popup-open"),setTimeout(function(){setTimeout(function(){ot.remove()},600)},1e3)},1600)}function c(C,R,G,it){var G=G?'style="'+G+'"':"",ot="";C=="big"?ot="nice-popup-lg":C=="no-padding"?ot="nice-popup-nopd":C=="cover"?ot="nice-popup-cover nice-popup-nopd":C=="full"?ot="nice-popup-xl":C=="scroll"?ot="nice-popup-scroll":C=="middle"?ot="nice-popup-md":C=="small"&&(ot="nice-popup-sm");var yt=' <div class="nice-popup nice-popup-center '+ot+'"> <div class="nice-popup-overlay" '+G+'></div> <div class="nice-popup-body"> <div class="nice-popup-close"> <span class="svg-white"></span> <span class="svg-dark"></span> </div> <div class="nice-popup-content"> '+R+" </div> </div> </div> ",K=n(yt);n("body").append(K),n("body").addClass("nice-popup-hidden"),setTimeout(function(){K.addClass("nice-popup-open")},300),typeof lazyLoadInstance<"u"&&lazyLoadInstance.update();var st=function(){n("body").removeClass("nice-popup-hidden"),n(K).removeClass("nice-popup-open"),setTimeout(function(){setTimeout(function(){K.remove()},300)},600)};return n(K).on("click touchstart",".nice-popup-close, .nice-popup-overlay",function(ut){ut.preventDefault(),st()}),K}(function(C){C.fn.theiaStickySidebar=function(R){const X={sContainerSelector:"",iAdditionalMarginTop:0,iAdditionalMarginBottom:0,bUpdateSidebarHeight:!0,iMinWidth:0,bDisableOnResponsiveLayouts:!0,sSidebarBehavior:"modern",sDefaultPosition:"relative",sNamespace:"TSS"};R=C.extend(X,R),R.iAdditionalMarginTop=parseInt(R.iAdditionalMarginTop)||0,R.iAdditionalMarginBottom=parseInt(R.iAdditionalMarginBottom)||0;function it(K,st){G(K,st)||(C(document).on("scroll."+K.sNamespace,function(q){G(K,st)&&C(this).unbind(q)}),C(window).on("resize."+K.sNamespace,function(q){G(K,st)&&C(this).unbind(q)}))}function G(K,st){return K.bInitialized===!0?!0:C("body").width()<K.iMinWidth?!1:(yt(K,st),!0)}function ot(K){let st;try{st=K[0].getBoundingClientRect().width}catch{st=K.width()}return st}function yt(K,st){K.bInitialized=!0;const ut="theia-sticky-sidebar-stylesheet-"+K.sNamespace;C("#"+ut).length===0&&C("head").append(`<style id="${ut}">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>`),st.each(function(){const q={oSidebar:C(this),oOptions:K,oContainer:C(K.sContainerSelector),iPreviousScrollTop:null,iFixedScrollTop:0};q.oContainer.length===0&&(q.oContainer=q.oSidebar.parent()),q.oSidebar.parents().css("-webkit-transform","none"),q.oSidebar.css({position:q.oOptions.sDefaultPosition,overflow:"visible","box-sizing":"border-box"}),q.oStickySidebar=q.oSidebar.find(".theiaStickySidebar"),q.oStickySidebar.length===0&&(q.oSidebar.find("script").remove(),q.oStickySidebar=C("<div>").addClass("theiaStickySidebar").append(q.oSidebar.children()),q.oSidebar.append(q.oStickySidebar));const _t=()=>{q.iFixedScrollTop=0,q.oSidebar.css({"min-height":"1px"}),q.oStickySidebar.css({position:"static",width:"",transform:"none"})};q.fnOnScroll=function(){if(!q.oStickySidebar.is(":visible"))return;if(C("body").width()<q.oOptions.iMinWidth||q.oOptions.bDisableOnResponsiveLayouts&&q.oSidebar.outerWidth(q.oSidebar.css("float")==="none")+50>q.oContainer.width())return _t();const gt=C(document).scrollTop();let V="static";gt>=q.oSidebar.offset().top+(parseInt(q.oSidebar.css("padding-top"))-q.oOptions.iAdditionalMarginTop)&&(V="fixed"),V==="fixed"?q.oStickySidebar.css({position:"fixed",width:ot(q.oStickySidebar)+"px",left:q.oSidebar.offset().left+parseInt(q.oSidebar.css("padding-left"))-C(document).scrollLeft()+"px"}):_t(),q.iPreviousScrollTop=gt},C(document).on("scroll."+q.oOptions.sNamespace,q.fnOnScroll),C(window).on("resize."+q.oOptions.sNamespace,()=>{q.oStickySidebar.css({position:"static"}),q.fnOnScroll()})})}return it(R,this),this}})(jQuery),n("meta[name=apollo-enabled]").attr("content");function d(){n(".sidebar-close, .mobile-overlay").on("click",function(){n("body").removeClass("modal-open"),n(".mobile-sidebar").removeClass("active").attr("aria-hidden","true"),n("#sidebarCollapse").attr("aria-expanded","false").trigger("focus"),n(".mobile-overlay").removeClass("active")}),n("#sidebarCollapse").on("click",function(){n("body").addClass("modal-open"),n(".mobile-sidebar").addClass("active").attr("aria-hidden","false"),n("#sidebarCollapse").attr("aria-expanded","true"),n(".sidebar-close").trigger("focus"),n(".mobile-overlay").addClass("active"),n(".collapse.in").toggleClass("in"),n("a[aria-expanded=true]").attr("aria-expanded","false")})}function h(){var C=n(".mobile-sidebar-menu .current-menu-parent");C.hasClass("current-menu-ancestor")&&C.children().siblings(".sub-menu").stop(!0).slideDown(300)}d(),h();const p='<div class="text-center"><div class="spinner-border spinner-border-sm text-light" role="status"></div></div>';var m=window.innerHeight,_=n("main").innerHeight();if(_>m){var v=n(".header").height();n(window).on("scroll",{TopPrev:0},function(){var C=n(window).scrollTop();C<this.TopPrev?C>0&&n(".header").hasClass("fixed-header")?n(".header").addClass("visible-scroll-up"):n(".header").removeClass("visible-scroll-up fixed-header"):(n(".header").removeClass("visible-scroll-up"),C>v&&!n(".header").hasClass("fixed-header")&&n(".header").addClass("fixed-header")),this.TopPrev=C})}n(window).scroll(function(){var C=n(window),R=C.width();n(this).scrollTop()>200&&R>=1024?n("#scrollToTOP").filter(":hidden").fadeIn("fast"):n("#scrollToTOP").filter(":visible").fadeOut("fast")}),n("#scrollToTOP").on("click",function(){return n("html, body").animate({scrollTop:0},"slow"),!1}),n('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var C=n(this.hash);if(C=C.length?C:n("[name="+this.hash.slice(1)+"]"),C.length)return n("html, body").animate({scrollTop:C.offset().top-60},1e3,"easeInOutExpo"),!1}}),n(".sidebar").theiaStickySidebar({additionalMarginTop:20,additionalMarginBottom:20}),n(".main-menu li").hasClass("menu-item-has-children")&&n(".main-menu .menu-item-has-children").prepend('<div class="submenu-arrow iconfont icon-jiantou1"></div>'),n(".mobile-sidebar-menu .menu-item-has-children > a").append('<div class="dropdown-sub-menu"><span class="iconfont icon-right"></span></div>'),n(document).on("click",".mobile-sidebar-menu .menu-item-has-children > a",function(C){var R=n(this);R.siblings(".mobile-sidebar-menu .sub-menu")[0]&&(C.preventDefault(),R.parent().hasClass("in")?(R.parent().removeClass("in"),R.parent().find(".in").removeClass("in"),R.parent().find(".sub-menu").stop(!0).slideUp(300)):(R.closest(".in")[0]||(R.find(".menu-item-has-children.in .sub-menu").stop(!0).slideUp(300),R.find(".menu-item-has-children.in").removeClass("in")),R.parent().addClass("in"),R.parent().siblings(".in").find(".sub-menu").stop(!0).slideUp(300),R.parent().siblings(".current-menu-parent").find(".sub-menu").stop(!0).slideUp(300),R.parent().siblings(".in").removeClass("in"),R.siblings(".sub-menu").stop(!0).slideDown(300)))});var O=n(".slide-style-1");if(O.length>0)var O=new Swiper(".slide-style-1",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var I=n(".slide-style-2");if(I.length>0)var I=new Swiper(".slide-style-2",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var k=n(".slide-style-3 .swiper");if(k.length>0)var k=new Swiper(".slide-style-3 .swiper",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var E=n(".slide-style-4");if(E.length>0)var I=new Swiper(".slide-style-4",{loop:!0,spaceBetween:15,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{el:".swiper-pagination",clickable:!0}});var S=n(".slide-ajax-menu");if(S.length>0)var S=new Swiper(".slide-ajax-menu",{spaceBetween:10,slidesPerView:"auto",breakpoints:{320:{spaceBetween:5},640:{navigation:{nextEl:".slide-ajax-menu .button-next",prevEl:".slide-ajax-menu .button-prev"}}}});var x=n(".index-columns-cat");if(x.length>0)var x=new Swiper(".index-columns-cat",{freeMode:!0,breakpoints:{320:{spaceBetween:8,slidesPerView:"auto"},640:{spaceBetween:6,slidesPerView:"auto"},768:{spaceBetween:8,slidesPerView:"auto"},1200:{spaceBetween:8,slidesPerView:10}}});n(document).on("click",".list-ajax-menu .btn-ajaxpost",function(C){C.preventDefault();var R=n(this),X=R.data("cid");n(".list-ajax-menu .btn-ajaxpost").removeClass("active"),R.addClass("active"),X?n(".dposts-ajax-load").data("tabcid",X):n(".dposts-ajax-load").removeData("tabcid"),n(".dposts-ajax-load").data("paged",1),n("."+n(".dposts-ajax-load").data().append).html(""),n(".dposts-ajax-load").addClass("loading").text(__("Load more...","pandapro")),n(".list-ajax-menu .btn-ajaxpost").attr("disabled","disabled"),n(".dposts-ajax-load").removeAttr("disabled"),at(n(".dposts-ajax-load").data(),function(){n(".list-ajax-menu .btn-ajaxpost").removeAttr("disabled")})});function P(C){const R=n("#comments-next-button"),X=R.text();R.html(p).attr("disabled","disabled"),n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:C}).done(function(it){it?(C.commentspage=="newest"?R.data("paged",C.paged*1-1):R.data("paged",C.paged*1+1),n("."+C.append).append(it),R.text(X).removeAttr("disabled")):R.hide()})}if(n(".toc").length>0){var U="h2,h3,h4",W=".toc-class",$={};n(".post-content").find(U).parent().addClass("toc-class"),n(W).children(U).each(function(){var C=n(this).text().replace(/[\s|\~|`|\!|\@|\#|\$|\%|\^|\&|\*|\(|\)|\_|\+|\=|\||\|\[|\]|\{|\}|\;|\:|\"|\'|\,|\<|\.|\>|\/|\?|\:|\,|\。]/g,"");C=C.toLowerCase(),$[C]?(n(this).attr("id",C+"-"+$[C]),$[C]++):($[C]=1,n(this).attr("id",C))}),tocbot.init({tocSelector:".toc",contentSelector:W,headingSelector:U,positionFixedSelector:".toc",positionFixedClass:"is-position-fixed",scrollSmooth:!0,scrollSmoothOffset:-100,headingsOffset:100})}n(document).on("click","#comments-next-button",function(C){C.preventDefault(),P(n("#comments-next-button").data())}),n(document).on("click",".single-popup",function(C){C.preventDefault();var R=n(this).data("img"),X=n(this).data("title"),it=n(this).data("desc"),G='<div class="text-center"><h6 class="py-1">'+X+'</h6> <div class="text-muted text-sm mb-2" > '+it+' </div> <img src="'+R+'" alt="'+X+'" style="width:100%;height:auto;"> </div>';c("small",G)}),n(document).on("click",".plus-power-popup",function(C){C.preventDefault();var R=n("#plus-power-popup-wrap");c("no-padding",R.html())}),n(document).on("click",".btn-share-toggler",function(C){C.preventDefault(),c("middle",n("#single-share-template").html())});function J(C){var R=C.getBoundingClientRect();return R.top>=0&&R.left>=0&&R.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&R.right<=(window.innerWidth||document.documentElement.clientWidth)}function l(C,R){return function(){J(C)&&R.call()}}function B(C,R){window.addEventListener?(addEventListener("DOMContentLiteSpeedLoaded",l(C,R),!1),addEventListener("load",l(C,R),!1),addEventListener("scroll",l(C,R),!1),addEventListener("resize",l(C,R),!1)):window.attachEvent&&(attachEvent("DOMContentLiteSpeedLoaded",l(C,R)),attachEvent("load",l(C,R)),attachEvent("scroll",l(C,R)),attachEvent("resize",l(C,R)))}n(".list-ajax-load").length>0&&B(document.querySelector(".list-ajax-load"),function(){if(n(".dposts-ajax-load").data("comments")=="comments")return!1;n(".list-ajax-load").hasClass("loading")===!1&&(n(".dposts-ajax-load").data(),n(".dposts-ajax-load").data("paged")<=3&&(n(".list-ajax-load").addClass("loading"),at(n(".dposts-ajax-load").data())))}),n(document).on("click",".refresh-random-post",function(C){C.preventDefault();var R=jQuery(this);n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:{action:"ajax_refresh_random_post",id:R.data().id}}).done(function(X){X.trim()&&R.parents(".widget_post_card").html(X.trim())})}),n(document).on("click",".dposts-ajax-load",function(C){C.preventDefault();var R=jQuery(this);n(".list-ajax-load").hasClass("loading")===!1&&(n(".list-ajax-load").addClass("loading"),at(R.data()))});function at(C,R=function(){}){const X=n(".dposts-ajax-load"),it=n(".list-ajax-load");if(X.attr("disabled"))return!1;X.html(p).attr("disabled","disabled"),n.ajax({url:r.ajax_url,type:"POST",dataType:"html",data:C}).done(function(G){R(),G.trim()?(X.removeAttr("disabled"),X.data("paged",C.paged*1+1),n("."+C.append).append(G),it.removeClass("loading"),X.text(__("Load more...","pandapro"))):(X.attr("disabled","disabled"),X.text(__("You've reached the end.","pandapro")))})}});
|