mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-06-14 22:16:52 +00:00
42 lines
290 KiB
JavaScript
42 lines
290 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
* @vue/shared v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function pl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ve={},Ys=[],hn=()=>{},cb=()=>!1,Ji=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ml=e=>e.startsWith("onUpdate:"),nt=Object.assign,gl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ub=Object.prototype.hasOwnProperty,ke=(e,t)=>ub.call(e,t),he=Array.isArray,zs=e=>Kr(e)==="[object Map]",rr=e=>Kr(e)==="[object Set]",Au=e=>Kr(e)==="[object Date]",be=e=>typeof e=="function",Qe=e=>typeof e=="string",pn=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",_l=e=>(qe(e)||be(e))&&be(e.then)&&be(e.catch),Cd=Object.prototype.toString,Kr=e=>Cd.call(e),fb=e=>Kr(e).slice(8,-1),Od=e=>Kr(e)==="[object Object]",vl=e=>Qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sr=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},db=/-(\w)/g,Wt=Qi(e=>e.replace(db,(t,n)=>n?n.toUpperCase():"")),hb=/\B([A-Z])/g,Ts=Qi(e=>e.replace(hb,"-$1").toLowerCase()),Xi=Qi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zo=Qi(e=>e?`on${Xi(e)}`:""),Vn=(e,t)=>!Object.is(e,t),Ni=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Rd=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Fi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nd=e=>{const t=Qe(e)?Number(e):NaN;return isNaN(t)?e:t};let Su;const Zi=()=>Su||(Su=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function eo(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Qe(s)?_b(s):eo(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Qe(e)||qe(e))return e}const pb=/;(?![^(]*\))/g,mb=/:([^]+)/,gb=/\/\*[^]*?\*\//g;function _b(e){const t={};return e.replace(gb,"").split(pb).forEach(n=>{if(n){const s=n.split(mb);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Qt(e){let t="";if(Qe(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const s=Qt(e[n]);s&&(t+=s+" ")}else if(qe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bb=pl(vb);function xd(e){return!!e||e===""}function yb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=bs(e[s],t[s]);return n}function bs(e,t){if(e===t)return!0;let n=Au(e),s=Au(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=pn(e),s=pn(t),n||s)return e===t;if(n=he(e),s=he(t),n||s)return n&&s?yb(e,t):!1;if(n=qe(e),s=qe(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!bs(e[a],t[a]))return!1}}return String(e)===String(t)}function bl(e,t){return e.findIndex(n=>bs(n,t))}const Pd=e=>!!(e&&e.__v_isRef===!0),mt=e=>Qe(e)?e:e==null?"":he(e)||qe(e)&&(e.toString===Cd||!be(e.toString))?Pd(e)?mt(e.value):JSON.stringify(e,Dd,2):String(e),Dd=(e,t)=>Pd(t)?Dd(e,t.value):zs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ea(s,o)+" =>"]=r,n),{})}:rr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ea(n))}:pn(t)?ea(t):qe(t)&&!he(t)&&!Od(t)?String(t):t,ea=(e,t="")=>{var n;return pn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ht;class $d{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ht,!t&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ht;try{return ht=this,t()}finally{ht=n}}}on(){++this._on===1&&(this.prevScope=ht,ht=this)}off(){this._on>0&&--this._on===0&&(ht=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ld(e){return new $d(e)}function Id(){return ht}function Eb(e,t=!1){ht&&ht.cleanups.push(e)}let Ye;const ta=new WeakSet;class Md{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ht&&ht.active&&ht.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ta.has(this)&&(ta.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Cu(this),Fd(this);const t=Ye,n=Xt;Ye=this,Xt=!0;try{return this.fn()}finally{Ud(this),Ye=t,Xt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)wl(t);this.deps=this.depsTail=void 0,Cu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ta.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qa(this)&&this.run()}get dirty(){return qa(this)}}let kd=0,Cr,Or;function Bd(e,t=!1){if(e.flags|=8,t){e.next=Or,Or=e;return}e.next=Cr,Cr=e}function yl(){kd++}function El(){if(--kd>0)return;if(Or){let t=Or;for(Or=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Cr;){let t=Cr;for(Cr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Fd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ud(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),wl(s),wb(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function qa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hd(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hd(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Lr)||(e.globalVersion=Lr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qa(e))))return;e.flags|=2;const t=e.dep,n=Ye,s=Xt;Ye=e,Xt=!0;try{Fd(e);const r=e.fn(e._value);(t.version===0||Vn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ye=n,Xt=s,Ud(e),e.flags&=-3}}function wl(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)wl(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xt=!0;const Vd=[];function An(){Vd.push(Xt),Xt=!1}function Sn(){const e=Vd.pop();Xt=e===void 0?!0:e}function Cu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ye;Ye=void 0;try{t()}finally{Ye=n}}}let Lr=0;class Tb{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ye||!Xt||Ye===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ye)n=this.activeLink=new Tb(Ye,this),Ye.deps?(n.prevDep=Ye.depsTail,Ye.depsTail.nextDep=n,Ye.depsTail=n):Ye.deps=Ye.depsTail=n,jd(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ye.depsTail,n.nextDep=void 0,Ye.depsTail.nextDep=n,Ye.depsTail=n,Ye.deps===n&&(Ye.deps=s)}return n}trigger(t){this.version++,Lr++,this.notify(t)}notify(t){yl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{El()}}}function jd(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)jd(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ui=new WeakMap,ms=Symbol(""),Ka=Symbol(""),Ir=Symbol("");function pt(e,t,n){if(Xt&&Ye){let s=Ui.get(e);s||Ui.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Tl),r.map=s,r.key=n),r.track()}}function En(e,t,n,s,r,o){const a=Ui.get(e);if(!a){Lr++;return}const l=u=>{u&&u.trigger()};if(yl(),t==="clear")a.forEach(l);else{const u=he(e),d=u&&vl(n);if(u&&n==="length"){const f=Number(s);a.forEach((p,g)=>{(g==="length"||g===Ir||!pn(g)&&g>=f)&&l(p)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(Ir)),t){case"add":u?d&&l(a.get("length")):(l(a.get(ms)),zs(e)&&l(a.get(Ka)));break;case"delete":u||(l(a.get(ms)),zs(e)&&l(a.get(Ka)));break;case"set":zs(e)&&l(a.get(ms));break}}El()}function Ab(e,t){const n=Ui.get(e);return n&&n.get(t)}function Vs(e){const t=xe(e);return t===e?t:(pt(t,"iterate",Ir),jt(e)?t:t.map(ct))}function to(e){return pt(e=xe(e),"iterate",Ir),e}const Sb={__proto__:null,[Symbol.iterator](){return na(this,Symbol.iterator,ct)},concat(...e){return Vs(this).concat(...e.map(t=>he(t)?Vs(t):t))},entries(){return na(this,"entries",e=>(e[1]=ct(e[1]),e))},every(e,t){return vn(this,"every",e,t,void 0,arguments)},filter(e,t){return vn(this,"filter",e,t,n=>n.map(ct),arguments)},find(e,t){return vn(this,"find",e,t,ct,arguments)},findIndex(e,t){return vn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vn(this,"findLast",e,t,ct,arguments)},findLastIndex(e,t){return vn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vn(this,"forEach",e,t,void 0,arguments)},includes(...e){return sa(this,"includes",e)},indexOf(...e){return sa(this,"indexOf",e)},join(e){return Vs(this).join(e)},lastIndexOf(...e){return sa(this,"lastIndexOf",e)},map(e,t){return vn(this,"map",e,t,void 0,arguments)},pop(){return vr(this,"pop")},push(...e){return vr(this,"push",e)},reduce(e,...t){return Ou(this,"reduce",e,t)},reduceRight(e,...t){return Ou(this,"reduceRight",e,t)},shift(){return vr(this,"shift")},some(e,t){return vn(this,"some",e,t,void 0,arguments)},splice(...e){return vr(this,"splice",e)},toReversed(){return Vs(this).toReversed()},toSorted(e){return Vs(this).toSorted(e)},toSpliced(...e){return Vs(this).toSpliced(...e)},unshift(...e){return vr(this,"unshift",e)},values(){return na(this,"values",ct)}};function na(e,t,n){const s=to(e),r=s[t]();return s!==e&&!jt(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Cb=Array.prototype;function vn(e,t,n,s,r,o){const a=to(e),l=a!==e&&!jt(e),u=a[t];if(u!==Cb[t]){const p=u.apply(e,o);return l?ct(p):p}let d=n;a!==e&&(l?d=function(p,g){return n.call(this,ct(p),g,e)}:n.length>2&&(d=function(p,g){return n.call(this,p,g,e)}));const f=u.call(a,d,s);return l&&r?r(f):f}function Ou(e,t,n,s){const r=to(e);let o=n;return r!==e&&(jt(e)?n.length>3&&(o=function(a,l,u){return n.call(this,a,l,u,e)}):o=function(a,l,u){return n.call(this,a,ct(l),u,e)}),r[t](o,...s)}function sa(e,t,n){const s=xe(e);pt(s,"iterate",Ir);const r=s[t](...n);return(r===-1||r===!1)&&Cl(n[0])?(n[0]=xe(n[0]),s[t](...n)):r}function vr(e,t,n=[]){An(),yl();const s=xe(e)[t].apply(e,n);return El(),Sn(),s}const Ob=pl("__proto__,__v_isRef,__isVue"),qd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pn));function Rb(e){pn(e)||(e=String(e));const t=xe(this);return pt(t,"has",e),t.hasOwnProperty(e)}class Kd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Bb:Gd:o?zd:Yd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=he(t);if(!r){let u;if(a&&(u=Sb[n]))return u;if(n==="hasOwnProperty")return Rb}const l=Reflect.get(t,n,et(t)?t:s);return(pn(n)?qd.has(n):Ob(n))||(r||pt(t,"get",n),o)?l:et(l)?a&&vl(n)?l:l.value:qe(l)?r?Qd(l):Cn(l):l}}class Wd extends Kd{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const u=qn(o);if(!jt(s)&&!qn(s)&&(o=xe(o),s=xe(s)),!he(t)&&et(o)&&!et(s))return u?!1:(o.value=s,!0)}const a=he(t)&&vl(n)?Number(n)<t.length:ke(t,n),l=Reflect.set(t,n,s,et(t)?t:r);return t===xe(r)&&(a?Vn(s,o)&&En(t,"set",n,s):En(t,"add",n,s)),l}deleteProperty(t,n){const s=ke(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&En(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!pn(n)||!qd.has(n))&&pt(t,"has",n),s}ownKeys(t){return pt(t,"iterate",he(t)?"length":ms),Reflect.ownKeys(t)}}class Nb extends Kd{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xb=new Wd,Pb=new Nb,Db=new Wd(!0);const Wa=e=>e,wi=e=>Reflect.getPrototypeOf(e);function $b(e,t,n){return function(...s){const r=this.__v_raw,o=xe(r),a=zs(o),l=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,d=r[e](...s),f=n?Wa:t?Hi:ct;return!t&&pt(o,"iterate",u?Ka:ms),{next(){const{value:p,done:g}=d.next();return g?{value:p,done:g}:{value:l?[f(p[0]),f(p[1])]:f(p),done:g}},[Symbol.iterator](){return this}}}}function Ti(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lb(e,t){const n={get(r){const o=this.__v_raw,a=xe(o),l=xe(r);e||(Vn(r,l)&&pt(a,"get",r),pt(a,"get",l));const{has:u}=wi(a),d=t?Wa:e?Hi:ct;if(u.call(a,r))return d(o.get(r));if(u.call(a,l))return d(o.get(l));o!==a&&o.get(r)},get size(){const r=this.__v_raw;return!e&&pt(xe(r),"iterate",ms),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,a=xe(o),l=xe(r);return e||(Vn(r,l)&&pt(a,"has",r),pt(a,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const a=this,l=a.__v_raw,u=xe(l),d=t?Wa:e?Hi:ct;return!e&&pt(u,"iterate",ms),l.forEach((f,p)=>r.call(o,d(f),d(p),a))}};return nt(n,e?{add:Ti("add"),set:Ti("set"),delete:Ti("delete"),clear:Ti("clear")}:{add(r){!t&&!jt(r)&&!qn(r)&&(r=xe(r));const o=xe(this);return wi(o).has.call(o,r)||(o.add(r),En(o,"add",r,r)),this},set(r,o){!t&&!jt(o)&&!qn(o)&&(o=xe(o));const a=xe(this),{has:l,get:u}=wi(a);let d=l.call(a,r);d||(r=xe(r),d=l.call(a,r));const f=u.call(a,r);return a.set(r,o),d?Vn(o,f)&&En(a,"set",r,o):En(a,"add",r,o),this},delete(r){const o=xe(this),{has:a,get:l}=wi(o);let u=a.call(o,r);u||(r=xe(r),u=a.call(o,r)),l&&l.call(o,r);const d=o.delete(r);return u&&En(o,"delete",r,void 0),d},clear(){const r=xe(this),o=r.size!==0,a=r.clear();return o&&En(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=$b(r,e,t)}),n}function Al(e,t){const n=Lb(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ke(n,r)&&r in s?n:s,r,o)}const Ib={get:Al(!1,!1)},Mb={get:Al(!1,!0)},kb={get:Al(!0,!1)};const Yd=new WeakMap,zd=new WeakMap,Gd=new WeakMap,Bb=new WeakMap;function Fb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ub(e){return e.__v_skip||!Object.isExtensible(e)?0:Fb(fb(e))}function Cn(e){return qn(e)?e:Sl(e,!1,xb,Ib,Yd)}function Jd(e){return Sl(e,!1,Db,Mb,zd)}function Qd(e){return Sl(e,!0,Pb,kb,Gd)}function Sl(e,t,n,s,r){if(!qe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Ub(e);if(o===0)return e;const a=r.get(e);if(a)return a;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function jn(e){return qn(e)?jn(e.__v_raw):!!(e&&e.__v_isReactive)}function qn(e){return!!(e&&e.__v_isReadonly)}function jt(e){return!!(e&&e.__v_isShallow)}function Cl(e){return e?!!e.__v_raw:!1}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}function Ol(e){return!ke(e,"__v_skip")&&Object.isExtensible(e)&&Rd(e,"__v_skip",!0),e}const ct=e=>qe(e)?Cn(e):e,Hi=e=>qe(e)?Qd(e):e;function et(e){return e?e.__v_isRef===!0:!1}function Le(e){return Xd(e,!1)}function Hb(e){return Xd(e,!0)}function Xd(e,t){return et(e)?e:new Vb(e,t)}class Vb{constructor(t,n){this.dep=new Tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:xe(t),this._value=n?t:ct(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||jt(t)||qn(t);t=s?t:xe(t),Vn(t,n)&&(this._rawValue=t,this._value=s?t:ct(t),this.dep.trigger())}}function qt(e){return et(e)?e.value:e}const jb={get:(e,t,n)=>t==="__v_raw"?e:qt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return et(r)&&!et(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Zd(e){return jn(e)?e:new Proxy(e,jb)}function qb(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=Wb(e,n);return t}class Kb{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ab(xe(this._object),this._key)}}function Wb(e,t,n){const s=e[t];return et(s)?s:new Kb(e,t,n)}class Yb{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Lr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ye!==this)return Bd(this,!0),!0}get value(){const t=this.dep.track();return Hd(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function zb(e,t,n=!1){let s,r;return be(e)?s=e:(s=e.get,r=e.set),new Yb(s,r,n)}const Ai={},Vi=new WeakMap;let hs;function Gb(e,t=!1,n=hs){if(n){let s=Vi.get(n);s||Vi.set(n,s=[]),s.push(e)}}function Jb(e,t,n=Ve){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:u}=n,d=V=>r?V:jt(V)||r===!1||r===0?wn(V,1):wn(V);let f,p,g,_,v=!1,A=!1;if(et(e)?(p=()=>e.value,v=jt(e)):jn(e)?(p=()=>d(e),v=!0):he(e)?(A=!0,v=e.some(V=>jn(V)||jt(V)),p=()=>e.map(V=>{if(et(V))return V.value;if(jn(V))return d(V);if(be(V))return u?u(V,2):V()})):be(e)?t?p=u?()=>u(e,2):e:p=()=>{if(g){An();try{g()}finally{Sn()}}const V=hs;hs=f;try{return u?u(e,3,[_]):e(_)}finally{hs=V}}:p=hn,t&&r){const V=p,U=r===!0?1/0:r;p=()=>wn(V(),U)}const I=Id(),B=()=>{f.stop(),I&&I.active&&gl(I.effects,f)};if(o&&t){const V=t;t=(...U)=>{V(...U),B()}}let H=A?new Array(e.length).fill(Ai):Ai;const w=V=>{if(!(!(f.flags&1)||!f.dirty&&!V))if(t){const U=f.run();if(r||v||(A?U.some((x,R)=>Vn(x,H[R])):Vn(U,H))){g&&g();const x=hs;hs=f;try{const R=[U,H===Ai?void 0:A&&H[0]===Ai?[]:H,_];H=U,u?u(t,3,R):t(...R)}finally{hs=x}}}else f.run()};return l&&l(w),f=new Md(p),f.scheduler=a?()=>a(w,!1):w,_=V=>Gb(V,!1,f),g=f.onStop=()=>{const V=Vi.get(f);if(V){if(u)u(V,4);else for(const U of V)U();Vi.delete(f)}},t?s?w(!0):H=f.run():a?a(w.bind(null,!0),!0):f.run(),B.pause=f.pause.bind(f),B.resume=f.resume.bind(f),B.stop=B,B}function wn(e,t=1/0,n){if(t<=0||!qe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,et(e))wn(e.value,t,n);else if(he(e))for(let s=0;s<e.length;s++)wn(e[s],t,n);else if(rr(e)||zs(e))e.forEach(s=>{wn(s,t,n)});else if(Od(e)){for(const s in e)wn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&wn(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Wr(e,t,n,s){try{return s?e(...s):e()}catch(r){Yr(r,t,n)}}function Zt(e,t,n,s){if(be(e)){const r=Wr(e,t,n,s);return r&&_l(r)&&r.catch(o=>{Yr(o,t,n)}),r}if(he(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Zt(e[o],t,n,s));return r}}function Yr(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ve;if(t){let l=t.parent;const u=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let p=0;p<f.length;p++)if(f[p](e,u,d)===!1)return}l=l.parent}if(o){An(),Wr(o,null,10,[e,u,d]),Sn();return}}Qb(e,n,r,s,a)}function Qb(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Tt=[];let fn=-1;const Gs=[];let Bn=null,Ks=0;const eh=Promise.resolve();let ji=null;function no(e){const t=ji||eh;return e?t.then(this?e.bind(this):e):t}function Xb(e){let t=fn+1,n=Tt.length;for(;t<n;){const s=t+n>>>1,r=Tt[s],o=Mr(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Rl(e){if(!(e.flags&1)){const t=Mr(e),n=Tt[Tt.length-1];!n||!(e.flags&2)&&t>=Mr(n)?Tt.push(e):Tt.splice(Xb(t),0,e),e.flags|=1,th()}}function th(){ji||(ji=eh.then(sh))}function Ya(e){he(e)?Gs.push(...e):Bn&&e.id===-1?Bn.splice(Ks+1,0,e):e.flags&1||(Gs.push(e),e.flags|=1),th()}function Ru(e,t,n=fn+1){for(;n<Tt.length;n++){const s=Tt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Tt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function nh(e){if(Gs.length){const t=[...new Set(Gs)].sort((n,s)=>Mr(n)-Mr(s));if(Gs.length=0,Bn){Bn.push(...t);return}for(Bn=t,Ks=0;Ks<Bn.length;Ks++){const n=Bn[Ks];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Bn=null,Ks=0}}const Mr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sh(e){try{for(fn=0;fn<Tt.length;fn++){const t=Tt[fn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Wr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;fn<Tt.length;fn++){const t=Tt[fn];t&&(t.flags&=-2)}fn=-1,Tt.length=0,nh(),ji=null,(Tt.length||Gs.length)&&sh()}}let At=null,rh=null;function qi(e){const t=At;return At=e,rh=e&&e.type.__scopeId||null,t}function it(e,t=At,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Uu(-1);const o=qi(t);let a;try{a=e(...r)}finally{qi(o),s._d&&Uu(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function It(e,t){if(At===null)return e;const n=lo(At),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,l,u=Ve]=t[r];o&&(be(o)&&(o={mounted:o,updated:o}),o.deep&&wn(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function us(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];o&&(l.oldValue=o[a].value);let u=l.dir[s];u&&(An(),Zt(u,n,8,[e.el,l,e,t]),Sn())}}const Zb=Symbol("_vte"),ih=e=>e.__isTeleport,Fn=Symbol("_leaveCb"),Si=Symbol("_enterCb");function oh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return As(()=>{e.isMounted=!0}),gh(()=>{e.isUnmounting=!0}),e}const Ut=[Function,Array],ah={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},lh=e=>{const t=e.subTree;return t.component?lh(t.component):t},ey={name:"BaseTransition",props:ah,setup(e,{slots:t}){const n=kl(),s=oh();return()=>{const r=t.default&&Nl(t.default(),!0);if(!r||!r.length)return;const o=ch(r),a=xe(e),{mode:l}=a;if(s.isLeaving)return ra(o);const u=Nu(o);if(!u)return ra(o);let d=kr(u,a,s,n,p=>d=p);u.type!==ut&&ys(u,d);let f=n.subTree&&Nu(n.subTree);if(f&&f.type!==ut&&!dn(u,f)&&lh(n).type!==ut){let p=kr(f,a,s,n);if(ys(f,p),l==="out-in"&&u.type!==ut)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,f=void 0},ra(o);l==="in-out"&&u.type!==ut?p.delayLeave=(g,_,v)=>{const A=uh(s,f);A[String(f.key)]=f,g[Fn]=()=>{_(),g[Fn]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{v(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return o}}};function ch(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ut){t=n;break}}return t}const ty=ey;function uh(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function kr(e,t,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:d,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:g,onLeave:_,onAfterLeave:v,onLeaveCancelled:A,onBeforeAppear:I,onAppear:B,onAfterAppear:H,onAppearCancelled:w}=t,V=String(e.key),U=uh(n,e),x=(O,M)=>{O&&Zt(O,s,9,M)},R=(O,M)=>{const k=M[1];x(O,M),he(O)?O.every($=>$.length<=1)&&k():O.length<=1&&k()},S={mode:a,persisted:l,beforeEnter(O){let M=u;if(!n.isMounted)if(o)M=I||u;else return;O[Fn]&&O[Fn](!0);const k=U[V];k&&dn(e,k)&&k.el[Fn]&&k.el[Fn](),x(M,[O])},enter(O){let M=d,k=f,$=p;if(!n.isMounted)if(o)M=B||d,k=H||f,$=w||p;else return;let z=!1;const j=O[Si]=X=>{z||(z=!0,X?x($,[O]):x(k,[O]),S.delayedLeave&&S.delayedLeave(),O[Si]=void 0)};M?R(M,[O,j]):j()},leave(O,M){const k=String(e.key);if(O[Si]&&O[Si](!0),n.isUnmounting)return M();x(g,[O]);let $=!1;const z=O[Fn]=j=>{$||($=!0,M(),j?x(A,[O]):x(v,[O]),O[Fn]=void 0,U[k]===e&&delete U[k])};U[k]=e,_?R(_,[O,z]):z()},clone(O){const M=kr(O,t,n,s,r);return r&&r(M),M}};return S}function ra(e){if(so(e))return e=Kn(e),e.children=null,e}function Nu(e){if(!so(e))return ih(e.type)&&e.children?ch(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&be(n.default))return n.default()}}function ys(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ys(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nl(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let a=e[o];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===St?(a.patchFlag&128&&r++,s=s.concat(Nl(a.children,t,l))):(t||a.type!==ut)&&s.push(l!=null?Kn(a,{key:l}):a)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function xl(e,t){return be(e)?nt({name:e.name},t,{setup:e}):e}function fh(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ki(e,t,n,s,r=!1){if(he(e)){e.forEach((v,A)=>Ki(v,t&&(he(t)?t[A]:t),n,s,r));return}if(Rr(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ki(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?lo(s.component):s.el,a=r?null:o,{i:l,r:u}=e,d=t&&t.r,f=l.refs===Ve?l.refs={}:l.refs,p=l.setupState,g=xe(p),_=p===Ve?()=>!1:v=>ke(g,v);if(d!=null&&d!==u&&(Qe(d)?(f[d]=null,_(d)&&(p[d]=null)):et(d)&&(d.value=null)),be(u))Wr(u,l,12,[a,f]);else{const v=Qe(u),A=et(u);if(v||A){const I=()=>{if(e.f){const B=v?_(u)?p[u]:f[u]:u.value;r?he(B)&&gl(B,o):he(B)?B.includes(o)||B.push(o):v?(f[u]=[o],_(u)&&(p[u]=f[u])):(u.value=[o],e.k&&(f[e.k]=u.value))}else v?(f[u]=a,_(u)&&(p[u]=a)):A&&(u.value=a,e.k&&(f[e.k]=a))};a?(I.id=-1,Lt(I,n)):I()}}}Zi().requestIdleCallback;Zi().cancelIdleCallback;const Rr=e=>!!e.type.__asyncLoader,so=e=>e.type.__isKeepAlive;function dh(e,t){ph(e,"a",t)}function hh(e,t){ph(e,"da",t)}function ph(e,t,n=rt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ro(t,s,n),n){let r=n.parent;for(;r&&r.parent;)so(r.parent.vnode)&&ny(s,t,n,r),r=r.parent}}function ny(e,t,n,s){const r=ro(t,e,s,!0);Pl(()=>{gl(s[t],r)},n)}function ro(e,t,n=rt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{An();const l=Es(n),u=Zt(t,n,e,a);return l(),Sn(),u});return s?r.unshift(o):r.push(o),o}}const On=e=>(t,n=rt)=>{(!Ur||e==="sp")&&ro(e,(...s)=>t(...s),n)},sy=On("bm"),As=On("m"),ry=On("bu"),mh=On("u"),gh=On("bum"),Pl=On("um"),iy=On("sp"),oy=On("rtg"),ay=On("rtc");function ly(e,t=rt){ro("ec",e,t)}const _h="components";function ir(e,t){return bh(_h,e,!0,t)||e}const vh=Symbol.for("v-ndc");function cy(e){return Qe(e)?bh(_h,e,!1)||e:e||vh}function bh(e,t,n=!0,s=!1){const r=At||rt;if(r){const o=r.type;{const l=tE(o,!1);if(l&&(l===t||l===Wt(t)||l===Xi(Wt(t))))return o}const a=xu(r[e]||o[e],t)||xu(r.appContext[e],t);return!a&&s?o:a}}function xu(e,t){return e&&(e[t]||e[Wt(t)]||e[Xi(Wt(t))])}function Dl(e,t,n,s){let r;const o=n,a=he(e);if(a||Qe(e)){const l=a&&jn(e);let u=!1,d=!1;l&&(u=!jt(e),d=qn(e),e=to(e)),r=new Array(e.length);for(let f=0,p=e.length;f<p;f++)r[f]=t(u?d?Hi(ct(e[f])):ct(e[f]):e[f],f,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(qe(e))if(e[Symbol.iterator])r=Array.from(e,(l,u)=>t(l,u,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,d=l.length;u<d;u++){const f=l[u];r[u]=t(e[f],f,u,o)}}else r=[];return r}const za=e=>e?Vh(e)?lo(e):za(e.parent):null,Nr=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>za(e.parent),$root:e=>za(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Eh(e),$forceUpdate:e=>e.f||(e.f=()=>{Rl(e.update)}),$nextTick:e=>e.n||(e.n=no.bind(e.proxy)),$watch:e=>Py.bind(e)}),ia=(e,t)=>e!==Ve&&!e.__isScriptSetup&&ke(e,t),uy={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:u}=e;let d;if(t[0]!=="$"){const _=a[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ia(s,t))return a[t]=1,s[t];if(r!==Ve&&ke(r,t))return a[t]=2,r[t];if((d=e.propsOptions[0])&&ke(d,t))return a[t]=3,o[t];if(n!==Ve&&ke(n,t))return a[t]=4,n[t];Ga&&(a[t]=0)}}const f=Nr[t];let p,g;if(f)return t==="$attrs"&&pt(e.attrs,"get",""),f(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==Ve&&ke(n,t))return a[t]=4,n[t];if(g=u.config.globalProperties,ke(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ia(r,t)?(r[t]=n,!0):s!==Ve&&ke(s,t)?(s[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||e!==Ve&&ke(e,a)||ia(t,a)||(l=o[0])&&ke(l,a)||ke(s,a)||ke(Nr,a)||ke(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pu(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function io(e){const t=kl();let n=e();return el(),_l(n)&&(n=n.catch(s=>{throw Es(t),s})),[n,()=>Es(t)]}let Ga=!0;function fy(e){const t=Eh(e),n=e.proxy,s=e.ctx;Ga=!1,t.beforeCreate&&Du(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:l,provide:u,inject:d,created:f,beforeMount:p,mounted:g,beforeUpdate:_,updated:v,activated:A,deactivated:I,beforeDestroy:B,beforeUnmount:H,destroyed:w,unmounted:V,render:U,renderTracked:x,renderTriggered:R,errorCaptured:S,serverPrefetch:O,expose:M,inheritAttrs:k,components:$,directives:z,filters:j}=t;if(d&&dy(d,s,null),a)for(const Q in a){const G=a[Q];be(G)&&(s[Q]=G.bind(n))}if(r){const Q=r.call(n,n);qe(Q)&&(e.data=Cn(Q))}if(Ga=!0,o)for(const Q in o){const G=o[Q],ce=be(G)?G.bind(n,n):be(G.get)?G.get.bind(n,n):hn,ue=!be(G)&&be(G.set)?G.set.bind(n):hn,me=je({get:ce,set:ue});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>me.value,set:ge=>me.value=ge})}if(l)for(const Q in l)yh(l[Q],s,n,Q);if(u){const Q=be(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(G=>{xi(G,Q[G])})}f&&Du(f,e,"c");function K(Q,G){he(G)?G.forEach(ce=>Q(ce.bind(n))):G&&Q(G.bind(n))}if(K(sy,p),K(As,g),K(ry,_),K(mh,v),K(dh,A),K(hh,I),K(ly,S),K(ay,x),K(oy,R),K(gh,H),K(Pl,V),K(iy,O),he(M))if(M.length){const Q=e.exposed||(e.exposed={});M.forEach(G=>{Object.defineProperty(Q,G,{get:()=>n[G],set:ce=>n[G]=ce})})}else e.exposed||(e.exposed={});U&&e.render===hn&&(e.render=U),k!=null&&(e.inheritAttrs=k),$&&(e.components=$),z&&(e.directives=z),O&&fh(e)}function dy(e,t,n=hn){he(e)&&(e=Ja(e));for(const s in e){const r=e[s];let o;qe(r)?"default"in r?o=Mt(r.from||s,r.default,!0):o=Mt(r.from||s):o=Mt(r),et(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Du(e,t,n){Zt(he(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function yh(e,t,n,s){let r=s.includes(".")?Lh(n,s):()=>n[s];if(Qe(e)){const o=t[e];be(o)&&Js(r,o)}else if(be(e))Js(r,e.bind(n));else if(qe(e))if(he(e))e.forEach(o=>yh(o,t,n,s));else{const o=be(e.handler)?e.handler.bind(n):t[e.handler];be(o)&&Js(r,o,e)}}function Eh(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let u;return l?u=l:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Wi(u,d,a,!0)),Wi(u,t,a)),qe(t)&&o.set(t,u),u}function Wi(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Wi(e,o,n,!0),r&&r.forEach(a=>Wi(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const l=hy[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const hy={data:$u,props:Lu,emits:Lu,methods:Tr,computed:Tr,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Tr,directives:Tr,watch:my,provide:$u,inject:py};function $u(e,t){return t?e?function(){return nt(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function py(e,t){return Tr(Ja(e),Ja(t))}function Ja(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wt(e,t){return e?[...new Set([].concat(e,t))]:t}function Tr(e,t){return e?nt(Object.create(null),e,t):t}function Lu(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:nt(Object.create(null),Pu(e),Pu(t??{})):t}function my(e,t){if(!e)return t;if(!t)return e;const n=nt(Object.create(null),e);for(const s in t)n[s]=wt(e[s],t[s]);return n}function wh(){return{app:null,config:{isNativeTag:cb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gy=0;function _y(e,t){return function(s,r=null){be(s)||(s=nt({},s)),r!=null&&!qe(r)&&(r=null);const o=wh(),a=new WeakSet,l=[];let u=!1;const d=o.app={_uid:gy++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:sE,get config(){return o.config},set config(f){},use(f,...p){return a.has(f)||(f&&be(f.install)?(a.add(f),f.install(d,...p)):be(f)&&(a.add(f),f(d,...p))),d},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),d},component(f,p){return p?(o.components[f]=p,d):o.components[f]},directive(f,p){return p?(o.directives[f]=p,d):o.directives[f]},mount(f,p,g){if(!u){const _=d._ceVNode||Pe(s,r);return _.appContext=o,g===!0?g="svg":g===!1&&(g=void 0),e(_,f,g),u=!0,d._container=f,f.__vue_app__=d,lo(_.component)}},onUnmount(f){l.push(f)},unmount(){u&&(Zt(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,p){return o.provides[f]=p,d},runWithContext(f){const p=gs;gs=d;try{return f()}finally{gs=p}}};return d}}let gs=null;function xi(e,t){if(rt){let n=rt.provides;const s=rt.parent&&rt.parent.provides;s===n&&(n=rt.provides=Object.create(s)),n[e]=t}}function Mt(e,t,n=!1){const s=rt||At;if(s||gs){let r=gs?gs._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&be(t)?t.call(s&&s.proxy):t}}function vy(){return!!(rt||At||gs)}const Th={},Ah=()=>Object.create(Th),Sh=e=>Object.getPrototypeOf(e)===Th;function by(e,t,n,s=!1){const r={},o=Ah();e.propsDefaults=Object.create(null),Ch(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:Jd(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function yy(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,l=xe(r),[u]=e.propsOptions;let d=!1;if((s||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let p=0;p<f.length;p++){let g=f[p];if(oo(e.emitsOptions,g))continue;const _=t[g];if(u)if(ke(o,g))_!==o[g]&&(o[g]=_,d=!0);else{const v=Wt(g);r[v]=Qa(u,l,v,_,e,!1)}else _!==o[g]&&(o[g]=_,d=!0)}}}else{Ch(e,t,r,o)&&(d=!0);let f;for(const p in l)(!t||!ke(t,p)&&((f=Ts(p))===p||!ke(t,f)))&&(u?n&&(n[p]!==void 0||n[f]!==void 0)&&(r[p]=Qa(u,l,p,void 0,e,!0)):delete r[p]);if(o!==l)for(const p in o)(!t||!ke(t,p))&&(delete o[p],d=!0)}d&&En(e.attrs,"set","")}function Ch(e,t,n,s){const[r,o]=e.propsOptions;let a=!1,l;if(t)for(let u in t){if(Sr(u))continue;const d=t[u];let f;r&&ke(r,f=Wt(u))?!o||!o.includes(f)?n[f]=d:(l||(l={}))[f]=d:oo(e.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,a=!0)}if(o){const u=xe(n),d=l||Ve;for(let f=0;f<o.length;f++){const p=o[f];n[p]=Qa(r,u,p,d[p],e,!ke(d,p))}}return a}function Qa(e,t,n,s,r,o){const a=e[n];if(a!=null){const l=ke(a,"default");if(l&&s===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&be(u)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const f=Es(r);s=d[n]=u.call(null,t),f()}}else s=u;r.ce&&r.ce._setProp(n,s)}a[0]&&(o&&!l?s=!1:a[1]&&(s===""||s===Ts(n))&&(s=!0))}return s}const Ey=new WeakMap;function Oh(e,t,n=!1){const s=n?Ey:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,a={},l=[];let u=!1;if(!be(e)){const f=p=>{u=!0;const[g,_]=Oh(p,t,!0);nt(a,g),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!u)return qe(e)&&s.set(e,Ys),Ys;if(he(o))for(let f=0;f<o.length;f++){const p=Wt(o[f]);Iu(p)&&(a[p]=Ve)}else if(o)for(const f in o){const p=Wt(f);if(Iu(p)){const g=o[f],_=a[p]=he(g)||be(g)?{type:g}:nt({},g),v=_.type;let A=!1,I=!0;if(he(v))for(let B=0;B<v.length;++B){const H=v[B],w=be(H)&&H.name;if(w==="Boolean"){A=!0;break}else w==="String"&&(I=!1)}else A=be(v)&&v.name==="Boolean";_[0]=A,_[1]=I,(A||ke(_,"default"))&&l.push(p)}}const d=[a,l];return qe(e)&&s.set(e,d),d}function Iu(e){return e[0]!=="$"&&!Sr(e)}const $l=e=>e[0]==="_"||e==="$stable",Ll=e=>he(e)?e.map(Jt):[Jt(e)],wy=(e,t,n)=>{if(t._n)return t;const s=it((...r)=>Ll(t(...r)),n);return s._c=!1,s},Rh=(e,t,n)=>{const s=e._ctx;for(const r in e){if($l(r))continue;const o=e[r];if(be(o))t[r]=wy(r,o,s);else if(o!=null){const a=Ll(o);t[r]=()=>a}}},Nh=(e,t)=>{const n=Ll(t);e.slots.default=()=>n},xh=(e,t,n)=>{for(const s in t)(n||!$l(s))&&(e[s]=t[s])},Ty=(e,t,n)=>{const s=e.slots=Ah();if(e.vnode.shapeFlag&32){const r=t._;r?(xh(s,t,n),n&&Rd(s,"_",r,!0)):Rh(t,s)}else t&&Nh(e,t)},Ay=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=Ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:xh(r,t,n):(o=!t.$stable,Rh(t,r)),a=t}else t&&(Nh(e,t),a={default:1});if(o)for(const l in r)!$l(l)&&a[l]==null&&delete r[l]},Lt=jy;function Sy(e){return Cy(e)}function Cy(e,t){const n=Zi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:u,setText:d,setElementText:f,parentNode:p,nextSibling:g,setScopeId:_=hn,insertStaticContent:v}=e,A=(b,y,N,W=null,J=null,P=null,oe=void 0,re=null,se=!!y.dynamicChildren)=>{if(b===y)return;b&&!dn(b,y)&&(W=q(b),ge(b,J,P,!0),b=null),y.patchFlag===-2&&(se=!1,y.dynamicChildren=null);const{type:Z,ref:pe,shapeFlag:ae}=y;switch(Z){case ao:I(b,y,N,W);break;case ut:B(b,y,N,W);break;case aa:b==null&&H(y,N,W,oe);break;case St:$(b,y,N,W,J,P,oe,re,se);break;default:ae&1?U(b,y,N,W,J,P,oe,re,se):ae&6?z(b,y,N,W,J,P,oe,re,se):(ae&64||ae&128)&&Z.process(b,y,N,W,J,P,oe,re,se,ie)}pe!=null&&J&&Ki(pe,b&&b.ref,P,y||b,!y)},I=(b,y,N,W)=>{if(b==null)s(y.el=l(y.children),N,W);else{const J=y.el=b.el;y.children!==b.children&&d(J,y.children)}},B=(b,y,N,W)=>{b==null?s(y.el=u(y.children||""),N,W):y.el=b.el},H=(b,y,N,W)=>{[b.el,b.anchor]=v(b.children,y,N,W,b.el,b.anchor)},w=({el:b,anchor:y},N,W)=>{let J;for(;b&&b!==y;)J=g(b),s(b,N,W),b=J;s(y,N,W)},V=({el:b,anchor:y})=>{let N;for(;b&&b!==y;)N=g(b),r(b),b=N;r(y)},U=(b,y,N,W,J,P,oe,re,se)=>{y.type==="svg"?oe="svg":y.type==="math"&&(oe="mathml"),b==null?x(y,N,W,J,P,oe,re,se):O(b,y,J,P,oe,re,se)},x=(b,y,N,W,J,P,oe,re)=>{let se,Z;const{props:pe,shapeFlag:ae,transition:de,dirs:ve}=b;if(se=b.el=a(b.type,P,pe&&pe.is,pe),ae&8?f(se,b.children):ae&16&&S(b.children,se,null,W,J,oa(b,P),oe,re),ve&&us(b,null,W,"created"),R(se,b,b.scopeId,oe,W),pe){for(const Fe in pe)Fe!=="value"&&!Sr(Fe)&&o(se,Fe,null,pe[Fe],P,W);"value"in pe&&o(se,"value",null,pe.value,P),(Z=pe.onVnodeBeforeMount)&&ln(Z,W,b)}ve&&us(b,null,W,"beforeMount");const Ae=Oy(J,de);Ae&&de.beforeEnter(se),s(se,y,N),((Z=pe&&pe.onVnodeMounted)||Ae||ve)&&Lt(()=>{Z&&ln(Z,W,b),Ae&&de.enter(se),ve&&us(b,null,W,"mounted")},J)},R=(b,y,N,W,J)=>{if(N&&_(b,N),W)for(let P=0;P<W.length;P++)_(b,W[P]);if(J){let P=J.subTree;if(y===P||Mh(P.type)&&(P.ssContent===y||P.ssFallback===y)){const oe=J.vnode;R(b,oe,oe.scopeId,oe.slotScopeIds,J.parent)}}},S=(b,y,N,W,J,P,oe,re,se=0)=>{for(let Z=se;Z<b.length;Z++){const pe=b[Z]=re?Un(b[Z]):Jt(b[Z]);A(null,pe,y,N,W,J,P,oe,re)}},O=(b,y,N,W,J,P,oe)=>{const re=y.el=b.el;let{patchFlag:se,dynamicChildren:Z,dirs:pe}=y;se|=b.patchFlag&16;const ae=b.props||Ve,de=y.props||Ve;let ve;if(N&&fs(N,!1),(ve=de.onVnodeBeforeUpdate)&&ln(ve,N,y,b),pe&&us(y,b,N,"beforeUpdate"),N&&fs(N,!0),(ae.innerHTML&&de.innerHTML==null||ae.textContent&&de.textContent==null)&&f(re,""),Z?M(b.dynamicChildren,Z,re,N,W,oa(y,J),P):oe||G(b,y,re,null,N,W,oa(y,J),P,!1),se>0){if(se&16)k(re,ae,de,N,J);else if(se&2&&ae.class!==de.class&&o(re,"class",null,de.class,J),se&4&&o(re,"style",ae.style,de.style,J),se&8){const Ae=y.dynamicProps;for(let Fe=0;Fe<Ae.length;Fe++){const Ie=Ae[Fe],_t=ae[Ie],ft=de[Ie];(ft!==_t||Ie==="value")&&o(re,Ie,_t,ft,J,N)}}se&1&&b.children!==y.children&&f(re,y.children)}else!oe&&Z==null&&k(re,ae,de,N,J);((ve=de.onVnodeUpdated)||pe)&&Lt(()=>{ve&&ln(ve,N,y,b),pe&&us(y,b,N,"updated")},W)},M=(b,y,N,W,J,P,oe)=>{for(let re=0;re<y.length;re++){const se=b[re],Z=y[re],pe=se.el&&(se.type===St||!dn(se,Z)||se.shapeFlag&198)?p(se.el):N;A(se,Z,pe,null,W,J,P,oe,!0)}},k=(b,y,N,W,J)=>{if(y!==N){if(y!==Ve)for(const P in y)!Sr(P)&&!(P in N)&&o(b,P,y[P],null,J,W);for(const P in N){if(Sr(P))continue;const oe=N[P],re=y[P];oe!==re&&P!=="value"&&o(b,P,re,oe,J,W)}"value"in N&&o(b,"value",y.value,N.value,J)}},$=(b,y,N,W,J,P,oe,re,se)=>{const Z=y.el=b?b.el:l(""),pe=y.anchor=b?b.anchor:l("");let{patchFlag:ae,dynamicChildren:de,slotScopeIds:ve}=y;ve&&(re=re?re.concat(ve):ve),b==null?(s(Z,N,W),s(pe,N,W),S(y.children||[],N,pe,J,P,oe,re,se)):ae>0&&ae&64&&de&&b.dynamicChildren?(M(b.dynamicChildren,de,N,J,P,oe,re),(y.key!=null||J&&y===J.subTree)&&Ph(b,y,!0)):G(b,y,N,pe,J,P,oe,re,se)},z=(b,y,N,W,J,P,oe,re,se)=>{y.slotScopeIds=re,b==null?y.shapeFlag&512?J.ctx.activate(y,N,W,oe,se):j(y,N,W,J,P,oe,se):X(b,y,se)},j=(b,y,N,W,J,P,oe)=>{const re=b.component=Jy(b,W,J);if(so(b)&&(re.ctx.renderer=ie),Qy(re,!1,oe),re.asyncDep){if(J&&J.registerDep(re,K,oe),!b.el){const se=re.subTree=Pe(ut);B(null,se,y,N)}}else K(re,b,y,N,J,P,oe)},X=(b,y,N)=>{const W=y.component=b.component;if(ky(b,y,N))if(W.asyncDep&&!W.asyncResolved){Q(W,y,N);return}else W.next=y,W.update();else y.el=b.el,W.vnode=y},K=(b,y,N,W,J,P,oe)=>{const re=()=>{if(b.isMounted){let{next:ae,bu:de,u:ve,parent:Ae,vnode:Fe}=b;{const Nt=Dh(b);if(Nt){ae&&(ae.el=Fe.el,Q(b,ae,oe)),Nt.asyncDep.then(()=>{b.isUnmounted||re()});return}}let Ie=ae,_t;fs(b,!1),ae?(ae.el=Fe.el,Q(b,ae,oe)):ae=Fe,de&&Ni(de),(_t=ae.props&&ae.props.onVnodeBeforeUpdate)&&ln(_t,Ae,ae,Fe),fs(b,!0);const ft=ku(b),kt=b.subTree;b.subTree=ft,A(kt,ft,p(kt.el),q(kt),b,J,P),ae.el=ft.el,Ie===null&&Il(b,ft.el),ve&&Lt(ve,J),(_t=ae.props&&ae.props.onVnodeUpdated)&&Lt(()=>ln(_t,Ae,ae,Fe),J)}else{let ae;const{el:de,props:ve}=y,{bm:Ae,m:Fe,parent:Ie,root:_t,type:ft}=b,kt=Rr(y);fs(b,!1),Ae&&Ni(Ae),!kt&&(ae=ve&&ve.onVnodeBeforeMount)&&ln(ae,Ie,y),fs(b,!0);{_t.ce&&_t.ce._injectChildStyle(ft);const Nt=b.subTree=ku(b);A(null,Nt,N,W,b,J,P),y.el=Nt.el}if(Fe&&Lt(Fe,J),!kt&&(ae=ve&&ve.onVnodeMounted)){const Nt=y;Lt(()=>ln(ae,Ie,Nt),J)}(y.shapeFlag&256||Ie&&Rr(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&b.a&&Lt(b.a,J),b.isMounted=!0,y=N=W=null}};b.scope.on();const se=b.effect=new Md(re);b.scope.off();const Z=b.update=se.run.bind(se),pe=b.job=se.runIfDirty.bind(se);pe.i=b,pe.id=b.uid,se.scheduler=()=>Rl(pe),fs(b,!0),Z()},Q=(b,y,N)=>{y.component=b;const W=b.vnode.props;b.vnode=y,b.next=null,yy(b,y.props,W,N),Ay(b,y.children,N),An(),Ru(b),Sn()},G=(b,y,N,W,J,P,oe,re,se=!1)=>{const Z=b&&b.children,pe=b?b.shapeFlag:0,ae=y.children,{patchFlag:de,shapeFlag:ve}=y;if(de>0){if(de&128){ue(Z,ae,N,W,J,P,oe,re,se);return}else if(de&256){ce(Z,ae,N,W,J,P,oe,re,se);return}}ve&8?(pe&16&&Ge(Z,J,P),ae!==Z&&f(N,ae)):pe&16?ve&16?ue(Z,ae,N,W,J,P,oe,re,se):Ge(Z,J,P,!0):(pe&8&&f(N,""),ve&16&&S(ae,N,W,J,P,oe,re,se))},ce=(b,y,N,W,J,P,oe,re,se)=>{b=b||Ys,y=y||Ys;const Z=b.length,pe=y.length,ae=Math.min(Z,pe);let de;for(de=0;de<ae;de++){const ve=y[de]=se?Un(y[de]):Jt(y[de]);A(b[de],ve,N,null,J,P,oe,re,se)}Z>pe?Ge(b,J,P,!0,!1,ae):S(y,N,W,J,P,oe,re,se,ae)},ue=(b,y,N,W,J,P,oe,re,se)=>{let Z=0;const pe=y.length;let ae=b.length-1,de=pe-1;for(;Z<=ae&&Z<=de;){const ve=b[Z],Ae=y[Z]=se?Un(y[Z]):Jt(y[Z]);if(dn(ve,Ae))A(ve,Ae,N,null,J,P,oe,re,se);else break;Z++}for(;Z<=ae&&Z<=de;){const ve=b[ae],Ae=y[de]=se?Un(y[de]):Jt(y[de]);if(dn(ve,Ae))A(ve,Ae,N,null,J,P,oe,re,se);else break;ae--,de--}if(Z>ae){if(Z<=de){const ve=de+1,Ae=ve<pe?y[ve].el:W;for(;Z<=de;)A(null,y[Z]=se?Un(y[Z]):Jt(y[Z]),N,Ae,J,P,oe,re,se),Z++}}else if(Z>de)for(;Z<=ae;)ge(b[Z],J,P,!0),Z++;else{const ve=Z,Ae=Z,Fe=new Map;for(Z=Ae;Z<=de;Z++){const vt=y[Z]=se?Un(y[Z]):Jt(y[Z]);vt.key!=null&&Fe.set(vt.key,Z)}let Ie,_t=0;const ft=de-Ae+1;let kt=!1,Nt=0;const zn=new Array(ft);for(Z=0;Z<ft;Z++)zn[Z]=0;for(Z=ve;Z<=ae;Z++){const vt=b[Z];if(_t>=ft){ge(vt,J,P,!0);continue}let ot;if(vt.key!=null)ot=Fe.get(vt.key);else for(Ie=Ae;Ie<=de;Ie++)if(zn[Ie-Ae]===0&&dn(vt,y[Ie])){ot=Ie;break}ot===void 0?ge(vt,J,P,!0):(zn[ot-Ae]=Z+1,ot>=Nt?Nt=ot:kt=!0,A(vt,y[ot],N,null,J,P,oe,re,se),_t++)}const Rn=kt?Ry(zn):Ys;for(Ie=Rn.length-1,Z=ft-1;Z>=0;Z--){const vt=Ae+Z,ot=y[vt],Zr=vt+1<pe?y[vt+1].el:W;zn[Z]===0?A(null,ot,N,Zr,J,P,oe,re,se):kt&&(Ie<0||Z!==Rn[Ie]?me(ot,N,Zr,2):Ie--)}}},me=(b,y,N,W,J=null)=>{const{el:P,type:oe,transition:re,children:se,shapeFlag:Z}=b;if(Z&6){me(b.component.subTree,y,N,W);return}if(Z&128){b.suspense.move(y,N,W);return}if(Z&64){oe.move(b,y,N,ie);return}if(oe===St){s(P,y,N);for(let ae=0;ae<se.length;ae++)me(se[ae],y,N,W);s(b.anchor,y,N);return}if(oe===aa){w(b,y,N);return}if(W!==2&&Z&1&&re)if(W===0)re.beforeEnter(P),s(P,y,N),Lt(()=>re.enter(P),J);else{const{leave:ae,delayLeave:de,afterLeave:ve}=re,Ae=()=>{b.ctx.isUnmounted?r(P):s(P,y,N)},Fe=()=>{ae(P,()=>{Ae(),ve&&ve()})};de?de(P,Ae,Fe):Fe()}else s(P,y,N)},ge=(b,y,N,W=!1,J=!1)=>{const{type:P,props:oe,ref:re,children:se,dynamicChildren:Z,shapeFlag:pe,patchFlag:ae,dirs:de,cacheIndex:ve}=b;if(ae===-2&&(J=!1),re!=null&&(An(),Ki(re,null,N,b,!0),Sn()),ve!=null&&(y.renderCache[ve]=void 0),pe&256){y.ctx.deactivate(b);return}const Ae=pe&1&&de,Fe=!Rr(b);let Ie;if(Fe&&(Ie=oe&&oe.onVnodeBeforeUnmount)&&ln(Ie,y,b),pe&6)Be(b.component,N,W);else{if(pe&128){b.suspense.unmount(N,W);return}Ae&&us(b,null,y,"beforeUnmount"),pe&64?b.type.remove(b,y,N,ie,W):Z&&!Z.hasOnce&&(P!==St||ae>0&&ae&64)?Ge(Z,y,N,!1,!0):(P===St&&ae&384||!J&&pe&16)&&Ge(se,y,N),W&&Re(b)}(Fe&&(Ie=oe&&oe.onVnodeUnmounted)||Ae)&&Lt(()=>{Ie&&ln(Ie,y,b),Ae&&us(b,null,y,"unmounted")},N)},Re=b=>{const{type:y,el:N,anchor:W,transition:J}=b;if(y===St){De(N,W);return}if(y===aa){V(b);return}const P=()=>{r(N),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(b.shapeFlag&1&&J&&!J.persisted){const{leave:oe,delayLeave:re}=J,se=()=>oe(N,P);re?re(b.el,P,se):se()}else P()},De=(b,y)=>{let N;for(;b!==y;)N=g(b),r(b),b=N;r(y)},Be=(b,y,N)=>{const{bum:W,scope:J,job:P,subTree:oe,um:re,m:se,a:Z,parent:pe,slots:{__:ae}}=b;Mu(se),Mu(Z),W&&Ni(W),pe&&he(ae)&&ae.forEach(de=>{pe.renderCache[de]=void 0}),J.stop(),P&&(P.flags|=8,ge(oe,b,y,N)),re&&Lt(re,y),Lt(()=>{b.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},Ge=(b,y,N,W=!1,J=!1,P=0)=>{for(let oe=P;oe<b.length;oe++)ge(b[oe],y,N,W,J)},q=b=>{if(b.shapeFlag&6)return q(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const y=g(b.anchor||b.el),N=y&&y[Zb];return N?g(N):y};let C=!1;const te=(b,y,N)=>{b==null?y._vnode&&ge(y._vnode,null,null,!0):A(y._vnode||null,b,y,null,null,null,N),y._vnode=b,C||(C=!0,Ru(),nh(),C=!1)},ie={p:A,um:ge,m:me,r:Re,mt:j,mc:S,pc:G,pbc:M,n:q,o:e};return{render:te,hydrate:void 0,createApp:_y(te)}}function oa({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function fs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Oy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ph(e,t,n=!1){const s=e.children,r=t.children;if(he(s)&&he(r))for(let o=0;o<s.length;o++){const a=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Un(r[o]),l.el=a.el),!n&&l.patchFlag!==-2&&Ph(a,l)),l.type===ao&&(l.el=a.el),l.type===ut&&!l.el&&(l.el=a.el)}}function Ry(e){const t=e.slice(),n=[0];let s,r,o,a,l;const u=e.length;for(s=0;s<u;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(o=0,a=n.length-1;o<a;)l=o+a>>1,e[n[l]]<d?o=l+1:a=l;d<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Dh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Dh(t)}function Mu(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ny=Symbol.for("v-scx"),xy=()=>Mt(Ny);function Js(e,t,n){return $h(e,t,n)}function $h(e,t,n=Ve){const{immediate:s,deep:r,flush:o,once:a}=n,l=nt({},n),u=t&&s||!t&&o!=="post";let d;if(Ur){if(o==="sync"){const _=xy();d=_.__watcherHandles||(_.__watcherHandles=[])}else if(!u){const _=()=>{};return _.stop=hn,_.resume=hn,_.pause=hn,_}}const f=rt;l.call=(_,v,A)=>Zt(_,f,v,A);let p=!1;o==="post"?l.scheduler=_=>{Lt(_,f&&f.suspense)}:o!=="sync"&&(p=!0,l.scheduler=(_,v)=>{v?_():Rl(_)}),l.augmentJob=_=>{t&&(_.flags|=4),p&&(_.flags|=2,f&&(_.id=f.uid,_.i=f))};const g=Jb(e,t,l);return Ur&&(d?d.push(g):u&&g()),g}function Py(e,t,n){const s=this.proxy,r=Qe(e)?e.includes(".")?Lh(s,e):()=>s[e]:e.bind(s,s);let o;be(t)?o=t:(o=t.handler,n=t);const a=Es(this),l=$h(r,o.bind(s),n);return a(),l}function Lh(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Dy=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Wt(t)}Modifiers`]||e[`${Ts(t)}Modifiers`];function $y(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ve;let r=n;const o=t.startsWith("update:"),a=o&&Dy(s,t.slice(7));a&&(a.trim&&(r=n.map(f=>Qe(f)?f.trim():f)),a.number&&(r=n.map(Fi)));let l,u=s[l=Zo(t)]||s[l=Zo(Wt(t))];!u&&o&&(u=s[l=Zo(Ts(t))]),u&&Zt(u,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Zt(d,e,6,r)}}function Ih(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},l=!1;if(!be(e)){const u=d=>{const f=Ih(d,t,!0);f&&(l=!0,nt(a,f))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(qe(e)&&s.set(e,null),null):(he(o)?o.forEach(u=>a[u]=null):nt(a,o),qe(e)&&s.set(e,a),a)}function oo(e,t){return!e||!Ji(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,Ts(t))||ke(e,t))}function ku(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:u,render:d,renderCache:f,props:p,data:g,setupState:_,ctx:v,inheritAttrs:A}=e,I=qi(e);let B,H;try{if(n.shapeFlag&4){const V=r||s,U=V;B=Jt(d.call(U,V,f,p,_,g,v)),H=l}else{const V=t;B=Jt(V.length>1?V(p,{attrs:l,slots:a,emit:u}):V(p,null)),H=t.props?l:Iy(l)}}catch(V){xr.length=0,Yr(V,e,1),B=Pe(ut)}let w=B;if(H&&A!==!1){const V=Object.keys(H),{shapeFlag:U}=w;V.length&&U&7&&(o&&V.some(ml)&&(H=My(H,o)),w=Kn(w,H,!1,!0))}return n.dirs&&(w=Kn(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&ys(w,n.transition),B=w,qi(I),B}function Ly(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(Fr(r)){if(r.type!==ut||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Iy=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ji(n))&&((t||(t={}))[n]=e[n]);return t},My=(e,t)=>{const n={};for(const s in e)(!ml(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ky(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:l,patchFlag:u}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Bu(s,a,d):!!a;if(u&8){const f=t.dynamicProps;for(let p=0;p<f.length;p++){const g=f[p];if(a[g]!==s[g]&&!oo(d,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===a?!1:s?a?Bu(s,a,d):!0:!!a;return!1}function Bu(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!oo(n,o))return!0}return!1}function Il({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Mh=e=>e.__isSuspense;let Xa=0;const By={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,a,l,u,d){if(e==null)Fy(t,n,s,r,o,a,l,u,d);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Uy(e,t,n,s,r,a,l,u,d)}},hydrate:Hy,normalize:Vy},kh=By;function Br(e,t){const n=e.props&&e.props[t];be(n)&&n()}function Fy(e,t,n,s,r,o,a,l,u){const{p:d,o:{createElement:f}}=u,p=f("div"),g=e.suspense=Bh(e,r,s,t,p,n,o,a,l,u);d(null,g.pendingBranch=e.ssContent,p,null,s,g,o,a),g.deps>0?(Br(e,"onPending"),Br(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,o,a),Qs(g,e.ssFallback)):g.resolve(!1,!0)}function Uy(e,t,n,s,r,o,a,l,{p:u,um:d,o:{createElement:f}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const g=t.ssContent,_=t.ssFallback,{activeBranch:v,pendingBranch:A,isInFallback:I,isHydrating:B}=p;if(A)p.pendingBranch=g,dn(g,A)?(u(A,g,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():I&&(B||(u(v,_,n,s,r,null,o,a,l),Qs(p,_)))):(p.pendingId=Xa++,B?(p.isHydrating=!1,p.activeBranch=A):d(A,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=f("div"),I?(u(null,g,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():(u(v,_,n,s,r,null,o,a,l),Qs(p,_))):v&&dn(g,v)?(u(v,g,n,s,r,p,o,a,l),p.resolve(!0)):(u(null,g,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0&&p.resolve()));else if(v&&dn(g,v))u(v,g,n,s,r,p,o,a,l),Qs(p,g);else if(Br(t,"onPending"),p.pendingBranch=g,g.shapeFlag&512?p.pendingId=g.component.suspenseId:p.pendingId=Xa++,u(null,g,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0)p.resolve();else{const{timeout:H,pendingId:w}=p;H>0?setTimeout(()=>{p.pendingId===w&&p.fallback(_)},H):H===0&&p.fallback(_)}}function Bh(e,t,n,s,r,o,a,l,u,d,f=!1){const{p,m:g,um:_,n:v,o:{parentNode:A,remove:I}}=d;let B;const H=qy(e);H&&t&&t.pendingBranch&&(B=t.pendingId,t.deps++);const w=e.props?Nd(e.props.timeout):void 0,V=o,U={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:Xa++,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(x=!1,R=!1){const{vnode:S,activeBranch:O,pendingBranch:M,pendingId:k,effects:$,parentComponent:z,container:j}=U;let X=!1;U.isHydrating?U.isHydrating=!1:x||(X=O&&M.transition&&M.transition.mode==="out-in",X&&(O.transition.afterLeave=()=>{k===U.pendingId&&(g(M,j,o===V?v(O):o,0),Ya($))}),O&&(A(O.el)===j&&(o=v(O)),_(O,z,U,!0)),X||g(M,j,o,0)),Qs(U,M),U.pendingBranch=null,U.isInFallback=!1;let K=U.parent,Q=!1;for(;K;){if(K.pendingBranch){K.effects.push(...$),Q=!0;break}K=K.parent}!Q&&!X&&Ya($),U.effects=[],H&&t&&t.pendingBranch&&B===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),Br(S,"onResolve")},fallback(x){if(!U.pendingBranch)return;const{vnode:R,activeBranch:S,parentComponent:O,container:M,namespace:k}=U;Br(R,"onFallback");const $=v(S),z=()=>{U.isInFallback&&(p(null,x,M,$,O,null,k,l,u),Qs(U,x))},j=x.transition&&x.transition.mode==="out-in";j&&(S.transition.afterLeave=z),U.isInFallback=!0,_(S,O,null,!0),j||z()},move(x,R,S){U.activeBranch&&g(U.activeBranch,x,R,S),U.container=x},next(){return U.activeBranch&&v(U.activeBranch)},registerDep(x,R,S){const O=!!U.pendingBranch;O&&U.deps++;const M=x.vnode.el;x.asyncDep.catch(k=>{Yr(k,x,0)}).then(k=>{if(x.isUnmounted||U.isUnmounted||U.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:$}=x;tl(x,k),M&&($.el=M);const z=!M&&x.subTree.el;R(x,$,A(M||x.subTree.el),M?null:v(x.subTree),U,a,S),z&&I(z),Il(x,$.el),O&&--U.deps===0&&U.resolve()})},unmount(x,R){U.isUnmounted=!0,U.activeBranch&&_(U.activeBranch,n,x,R),U.pendingBranch&&_(U.pendingBranch,n,x,R)}};return U}function Hy(e,t,n,s,r,o,a,l,u){const d=t.suspense=Bh(t,s,n,e.parentNode,document.createElement("div"),null,r,o,a,l,!0),f=u(e,d.pendingBranch=t.ssContent,n,d,o,a);return d.deps===0&&d.resolve(!1,!0),f}function Vy(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Fu(s?n.default:n),e.ssFallback=s?Fu(n.fallback):Pe(ut)}function Fu(e){let t;if(be(e)){const n=Xs&&e._c;n&&(e._d=!1,fe()),e=e(),n&&(e._d=!0,t=Ct,Fh())}return he(e)&&(e=Ly(e)),e=Jt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function jy(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Ya(e)}function Qs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Il(s,r))}function qy(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const St=Symbol.for("v-fgt"),ao=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),aa=Symbol.for("v-stc"),xr=[];let Ct=null;function fe(e=!1){xr.push(Ct=e?null:[])}function Fh(){xr.pop(),Ct=xr[xr.length-1]||null}let Xs=1;function Uu(e,t=!1){Xs+=e,e<0&&Ct&&t&&(Ct.hasOnce=!0)}function Uh(e){return e.dynamicChildren=Xs>0?Ct||Ys:null,Fh(),Xs>0&&Ct&&Ct.push(e),e}function ye(e,t,n,s,r,o){return Uh(T(e,t,n,s,r,o,!0))}function en(e,t,n,s,r){return Uh(Pe(e,t,n,s,r,!0))}function Fr(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const Hh=({key:e})=>e??null,Pi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Qe(e)||et(e)||be(e)?{i:At,r:e,k:t,f:!!n}:e:null);function T(e,t=null,n=null,s=0,r=null,o=e===St?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hh(t),ref:t&&Pi(t),scopeId:rh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:At};return l?(Ml(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Qe(n)?8:16),Xs>0&&!a&&Ct&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&Ct.push(u),u}const Pe=Ky;function Ky(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===vh)&&(e=ut),Fr(e)){const l=Kn(e,t,!0);return n&&Ml(l,n),Xs>0&&!o&&Ct&&(l.shapeFlag&6?Ct[Ct.indexOf(e)]=l:Ct.push(l)),l.patchFlag=-2,l}if(nE(e)&&(e=e.__vccOpts),t){t=Wy(t);let{class:l,style:u}=t;l&&!Qe(l)&&(t.class=Qt(l)),qe(u)&&(Cl(u)&&!he(u)&&(u=nt({},u)),t.style=eo(u))}const a=Qe(e)?1:Mh(e)?128:ih(e)?64:qe(e)?4:be(e)?2:0;return T(e,t,n,s,r,a,o,!0)}function Wy(e){return e?Cl(e)||Sh(e)?nt({},e):e:null}function Kn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:u}=e,d=t?Yy(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Hh(d),ref:t&&t.ref?n&&o?he(o)?o.concat(Pi(t)):[o,Pi(t)]:Pi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==St?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kn(e.ssContent),ssFallback:e.ssFallback&&Kn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&ys(f,u.clone(f)),f}function we(e=" ",t=0){return Pe(ao,null,e,t)}function tn(e="",t=!1){return t?(fe(),en(ut,null,e)):Pe(ut,null,e)}function Jt(e){return e==null||typeof e=="boolean"?Pe(ut):he(e)?Pe(St,null,e.slice()):Fr(e)?Un(e):Pe(ao,null,String(e))}function Un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kn(e)}function Ml(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ml(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Sh(t)?t._ctx=At:r===3&&At&&(At.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:At},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yy(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Qt([t.class,s.class]));else if(r==="style")t.style=eo([t.style,s.style]);else if(Ji(r)){const o=t[r],a=s[r];a&&o!==a&&!(he(o)&&o.includes(a))&&(t[r]=o?[].concat(o,a):a)}else r!==""&&(t[r]=s[r])}return t}function ln(e,t,n,s=null){Zt(e,t,7,[n,s])}const zy=wh();let Gy=0;function Jy(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||zy,o={uid:Gy++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new $d(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oh(s,r),emitsOptions:Ih(s,r),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:s.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=$y.bind(null,o),e.ce&&e.ce(o),o}let rt=null;const kl=()=>rt||At;let Yi,Za;{const e=Zi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Yi=t("__VUE_INSTANCE_SETTERS__",n=>rt=n),Za=t("__VUE_SSR_SETTERS__",n=>Ur=n)}const Es=e=>{const t=rt;return Yi(e),e.scope.on(),()=>{e.scope.off(),Yi(t)}},el=()=>{rt&&rt.scope.off(),Yi(null)};function Vh(e){return e.vnode.shapeFlag&4}let Ur=!1;function Qy(e,t=!1,n=!1){t&&Za(t);const{props:s,children:r}=e.vnode,o=Vh(e);by(e,s,o,t),Ty(e,r,n||t);const a=o?Xy(e,t):void 0;return t&&Za(!1),a}function Xy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,uy);const{setup:s}=n;if(s){An();const r=e.setupContext=s.length>1?eE(e):null,o=Es(e),a=Wr(s,e,0,[e.props,r]),l=_l(a);if(Sn(),o(),(l||e.sp)&&!Rr(e)&&fh(e),l){if(a.then(el,el),t)return a.then(u=>{tl(e,u)}).catch(u=>{Yr(u,e,0)});e.asyncDep=a}else tl(e,a)}else jh(e)}function tl(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:qe(t)&&(e.setupState=Zd(t)),jh(e)}function jh(e,t,n){const s=e.type;e.render||(e.render=s.render||hn);{const r=Es(e);An();try{fy(e)}finally{Sn(),r()}}}const Zy={get(e,t){return pt(e,"get",""),e[t]}};function eE(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zy),slots:e.slots,emit:e.emit,expose:t}}function lo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zd(Ol(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nr)return Nr[n](e)},has(t,n){return n in t||n in Nr}})):e.proxy}function tE(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function nE(e){return be(e)&&"__vccOpts"in e}const je=(e,t)=>zb(e,t,Ur);function Bl(e,t,n){const s=arguments.length;return s===2?qe(t)&&!he(t)?Fr(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Fr(n)&&(n=[n]),Pe(e,t,n))}const sE="3.5.16";/**
|
|
* @vue/runtime-dom v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let nl;const Hu=typeof window<"u"&&window.trustedTypes;if(Hu)try{nl=Hu.createPolicy("vue",{createHTML:e=>e})}catch{}const qh=nl?e=>nl.createHTML(e):e=>e,rE="http://www.w3.org/2000/svg",iE="http://www.w3.org/1998/Math/MathML",yn=typeof document<"u"?document:null,Vu=yn&&yn.createElement("template"),oE={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?yn.createElementNS(rE,e):t==="mathml"?yn.createElementNS(iE,e):n?yn.createElement(e,{is:n}):yn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>yn.createTextNode(e),createComment:e=>yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Vu.innerHTML=qh(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Vu.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$n="transition",br="animation",Zs=Symbol("_vtc"),Kh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wh=nt({},ah,Kh),aE=e=>(e.displayName="Transition",e.props=Wh,e),Hr=aE((e,{slots:t})=>Bl(ty,Yh(e),t)),ds=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},ju=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function Yh(e){const t={};for(const $ in e)$ in Kh||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:d=a,appearToClass:f=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,v=lE(r),A=v&&v[0],I=v&&v[1],{onBeforeEnter:B,onEnter:H,onEnterCancelled:w,onLeave:V,onLeaveCancelled:U,onBeforeAppear:x=B,onAppear:R=H,onAppearCancelled:S=w}=t,O=($,z,j,X)=>{$._enterCancelled=X,Mn($,z?f:l),Mn($,z?d:a),j&&j()},M=($,z)=>{$._isLeaving=!1,Mn($,p),Mn($,_),Mn($,g),z&&z()},k=$=>(z,j)=>{const X=$?R:H,K=()=>O(z,$,j);ds(X,[z,K]),qu(()=>{Mn(z,$?u:o),un(z,$?f:l),ju(X)||Ku(z,s,A,K)})};return nt(t,{onBeforeEnter($){ds(B,[$]),un($,o),un($,a)},onBeforeAppear($){ds(x,[$]),un($,u),un($,d)},onEnter:k(!1),onAppear:k(!0),onLeave($,z){$._isLeaving=!0;const j=()=>M($,z);un($,p),$._enterCancelled?(un($,g),sl()):(sl(),un($,g)),qu(()=>{$._isLeaving&&(Mn($,p),un($,_),ju(V)||Ku($,s,I,j))}),ds(V,[$,j])},onEnterCancelled($){O($,!1,void 0,!0),ds(w,[$])},onAppearCancelled($){O($,!0,void 0,!0),ds(S,[$])},onLeaveCancelled($){M($),ds(U,[$])}})}function lE(e){if(e==null)return null;if(qe(e))return[la(e.enter),la(e.leave)];{const t=la(e);return[t,t]}}function la(e){return Nd(e)}function un(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function qu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let cE=0;function Ku(e,t,n,s){const r=e._endId=++cE,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=zh(e,t);if(!a)return s();const d=a+"end";let f=0;const p=()=>{e.removeEventListener(d,g),o()},g=_=>{_.target===e&&++f>=u&&p()};setTimeout(()=>{f<u&&p()},l+1),e.addEventListener(d,g)}function zh(e,t){const n=window.getComputedStyle(e),s=v=>(n[v]||"").split(", "),r=s(`${$n}Delay`),o=s(`${$n}Duration`),a=Wu(r,o),l=s(`${br}Delay`),u=s(`${br}Duration`),d=Wu(l,u);let f=null,p=0,g=0;t===$n?a>0&&(f=$n,p=a,g=o.length):t===br?d>0&&(f=br,p=d,g=u.length):(p=Math.max(a,d),f=p>0?a>d?$n:br:null,g=f?f===$n?o.length:u.length:0);const _=f===$n&&/\b(transform|all)(,|$)/.test(s(`${$n}Property`).toString());return{type:f,timeout:p,propCount:g,hasTransform:_}}function Wu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Yu(n)+Yu(e[s])))}function Yu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sl(){return document.body.offsetHeight}function uE(e,t,n){const s=e[Zs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zu=Symbol("_vod"),fE=Symbol("_vsh"),dE=Symbol(""),hE=/(^|;)\s*display\s*:/;function pE(e,t,n){const s=e.style,r=Qe(n);let o=!1;if(n&&!r){if(t)if(Qe(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Di(s,l,"")}else for(const a in t)n[a]==null&&Di(s,a,"");for(const a in n)a==="display"&&(o=!0),Di(s,a,n[a])}else if(r){if(t!==n){const a=s[dE];a&&(n+=";"+a),s.cssText=n,o=hE.test(n)}}else t&&e.removeAttribute("style");zu in e&&(e[zu]=o?s.display:"",e[fE]&&(s.display="none"))}const Gu=/\s*!important$/;function Di(e,t,n){if(he(n))n.forEach(s=>Di(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=mE(e,t);Gu.test(n)?e.setProperty(Ts(s),n.replace(Gu,""),"important"):e[s]=n}}const Ju=["Webkit","Moz","ms"],ca={};function mE(e,t){const n=ca[t];if(n)return n;let s=Wt(t);if(s!=="filter"&&s in e)return ca[t]=s;s=Xi(s);for(let r=0;r<Ju.length;r++){const o=Ju[r]+s;if(o in e)return ca[t]=o}return t}const Qu="http://www.w3.org/1999/xlink";function Xu(e,t,n,s,r,o=bb(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Qu,t.slice(6,t.length)):e.setAttributeNS(Qu,t,n):n==null||o&&!xd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":pn(n)?String(n):n)}function Zu(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?qh(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=xd(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(r||t)}function Tn(e,t,n,s){e.addEventListener(t,n,s)}function gE(e,t,n,s){e.removeEventListener(t,n,s)}const ef=Symbol("_vei");function _E(e,t,n,s,r=null){const o=e[ef]||(e[ef]={}),a=o[t];if(s&&a)a.value=s;else{const[l,u]=vE(t);if(s){const d=o[t]=EE(s,r);Tn(e,l,d,u)}else a&&(gE(e,l,a,u),o[t]=void 0)}}const tf=/(?:Once|Passive|Capture)$/;function vE(e){let t;if(tf.test(e)){t={};let s;for(;s=e.match(tf);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ts(e.slice(2)),t]}let ua=0;const bE=Promise.resolve(),yE=()=>ua||(bE.then(()=>ua=0),ua=Date.now());function EE(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Zt(wE(s,n.value),t,5,[s])};return n.value=e,n.attached=yE(),n}function wE(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const nf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,TE=(e,t,n,s,r,o)=>{const a=r==="svg";t==="class"?uE(e,s,a):t==="style"?pE(e,n,s):Ji(t)?ml(t)||_E(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):AE(e,t,s,a))?(Zu(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Xu(e,t,s,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Qe(s))?Zu(e,Wt(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xu(e,t,s,a))};function AE(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&nf(t)&&be(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return nf(t)&&Qe(n)?!1:t in e}const Gh=new WeakMap,Jh=new WeakMap,zi=Symbol("_moveCb"),sf=Symbol("_enterCb"),SE=e=>(delete e.props.mode,e),CE=SE({name:"TransitionGroup",props:nt({},Wh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=kl(),s=oh();let r,o;return mh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!PE(r[0].el,n.vnode.el,a)){r=[];return}r.forEach(RE),r.forEach(NE);const l=r.filter(xE);sl(),l.forEach(u=>{const d=u.el,f=d.style;un(d,a),f.transform=f.webkitTransform=f.transitionDuration="";const p=d[zi]=g=>{g&&g.target!==d||(!g||/transform$/.test(g.propertyName))&&(d.removeEventListener("transitionend",p),d[zi]=null,Mn(d,a))};d.addEventListener("transitionend",p)}),r=[]}),()=>{const a=xe(e),l=Yh(a);let u=a.tag||St;if(r=[],o)for(let d=0;d<o.length;d++){const f=o[d];f.el&&f.el instanceof Element&&(r.push(f),ys(f,kr(f,l,s,n)),Gh.set(f,f.el.getBoundingClientRect()))}o=t.default?Nl(t.default()):[];for(let d=0;d<o.length;d++){const f=o[d];f.key!=null&&ys(f,kr(f,l,s,n))}return Pe(u,null,o)}}}),OE=CE;function RE(e){const t=e.el;t[zi]&&t[zi](),t[sf]&&t[sf]()}function NE(e){Jh.set(e,e.el.getBoundingClientRect())}function xE(e){const t=Gh.get(e),n=Jh.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function PE(e,t,n){const s=e.cloneNode(),r=e[Zs];r&&r.forEach(l=>{l.split(/\s+/).forEach(u=>u&&s.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=zh(s);return o.removeChild(s),a}const Wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>Ni(t,n):t};function DE(e){e.target.composing=!0}function rf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Kt=Symbol("_assign"),Vt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Kt]=Wn(r);const o=s||r.props&&r.props.type==="number";Tn(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Fi(l)),e[Kt](l)}),n&&Tn(e,"change",()=>{e.value=e.value.trim()}),t||(Tn(e,"compositionstart",DE),Tn(e,"compositionend",rf),Tn(e,"change",rf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(e[Kt]=Wn(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Fi(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===u)||(e.value=u))}},$E={deep:!0,created(e,t,n){e[Kt]=Wn(n),Tn(e,"change",()=>{const s=e._modelValue,r=er(e),o=e.checked,a=e[Kt];if(he(s)){const l=bl(s,r),u=l!==-1;if(o&&!u)a(s.concat(r));else if(!o&&u){const d=[...s];d.splice(l,1),a(d)}}else if(rr(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a(Qh(e,o))})},mounted:of,beforeUpdate(e,t,n){e[Kt]=Wn(n),of(e,t,n)}};function of(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(he(t))r=bl(t,s.props.value)>-1;else if(rr(t))r=t.has(s.props.value);else{if(t===n)return;r=bs(t,Qh(e,!0))}e.checked!==r&&(e.checked=r)}const LE={created(e,{value:t},n){e.checked=bs(t,n.props.value),e[Kt]=Wn(n),Tn(e,"change",()=>{e[Kt](er(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Kt]=Wn(s),t!==n&&(e.checked=bs(t,s.props.value))}},IE={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=rr(t);Tn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Fi(er(a)):er(a));e[Kt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,no(()=>{e._assigning=!1})}),e[Kt]=Wn(s)},mounted(e,{value:t}){af(e,t)},beforeUpdate(e,t,n){e[Kt]=Wn(n)},updated(e,{value:t}){e._assigning||af(e,t)}};function af(e,t){const n=e.multiple,s=he(t);if(!(n&&!s&&!rr(t))){for(let r=0,o=e.options.length;r<o;r++){const a=e.options[r],l=er(a);if(n)if(s){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=bl(t,l)>-1}else a.selected=t.has(l);else if(bs(er(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function er(e){return"_value"in e?e._value:e.value}function Qh(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const fa={created(e,t,n){Ci(e,t,n,null,"created")},mounted(e,t,n){Ci(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ci(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ci(e,t,n,s,"updated")}};function ME(e,t){switch(e){case"SELECT":return IE;case"TEXTAREA":return Vt;default:switch(t){case"checkbox":return $E;case"radio":return LE;default:return Vt}}}function Ci(e,t,n,s,r){const a=ME(e.tagName,n.props&&n.props.type)[r];a&&a(e,t,n,s)}const kE=nt({patchProp:TE},oE);let lf;function BE(){return lf||(lf=Sy(kE))}const FE=(...e)=>{const t=BE().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=HE(s);if(!r)return;const o=t._component;!be(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,UE(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function UE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function HE(e){return Qe(e)?document.querySelector(e):e}/*!
|
|
* pinia v3.0.2
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Xh;const co=e=>Xh=e,Zh=Symbol();function rl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Pr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Pr||(Pr={}));function VE(){const e=Ld(!0),t=e.run(()=>Le({}));let n=[],s=[];const r=Ol({install(o){co(r),r._a=o,o.provide(Zh,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ep=()=>{};function cf(e,t,n,s=ep){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Id()&&Eb(r),r}function js(e,...t){e.slice().forEach(n=>{n(...t)})}const jE=e=>e(),uf=Symbol(),da=Symbol();function il(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];rl(r)&&rl(s)&&e.hasOwnProperty(n)&&!et(s)&&!jn(s)?e[n]=il(r,s):e[n]=s}return e}const qE=Symbol();function KE(e){return!rl(e)||!Object.prototype.hasOwnProperty.call(e,qE)}const{assign:kn}=Object;function WE(e){return!!(et(e)&&e.effect)}function YE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let u;function d(){l||(n.state.value[e]=r?r():{});const f=qb(n.state.value[e]);return kn(f,o,Object.keys(a||{}).reduce((p,g)=>(p[g]=Ol(je(()=>{co(n);const _=n._s.get(e);return a[g].call(_,_)})),p),{}))}return u=tp(e,d,t,n,s,!0),u}function tp(e,t,n={},s,r,o){let a;const l=kn({actions:{}},n),u={deep:!0};let d,f,p=[],g=[],_;const v=s.state.value[e];!o&&!v&&(s.state.value[e]={}),Le({});let A;function I(S){let O;d=f=!1,typeof S=="function"?(S(s.state.value[e]),O={type:Pr.patchFunction,storeId:e,events:_}):(il(s.state.value[e],S),O={type:Pr.patchObject,payload:S,storeId:e,events:_});const M=A=Symbol();no().then(()=>{A===M&&(d=!0)}),f=!0,js(p,O,s.state.value[e])}const B=o?function(){const{state:O}=n,M=O?O():{};this.$patch(k=>{kn(k,M)})}:ep;function H(){a.stop(),p=[],g=[],s._s.delete(e)}const w=(S,O="")=>{if(uf in S)return S[da]=O,S;const M=function(){co(s);const k=Array.from(arguments),$=[],z=[];function j(Q){$.push(Q)}function X(Q){z.push(Q)}js(g,{args:k,name:M[da],store:U,after:j,onError:X});let K;try{K=S.apply(this&&this.$id===e?this:U,k)}catch(Q){throw js(z,Q),Q}return K instanceof Promise?K.then(Q=>(js($,Q),Q)).catch(Q=>(js(z,Q),Promise.reject(Q))):(js($,K),K)};return M[uf]=!0,M[da]=O,M},V={_p:s,$id:e,$onAction:cf.bind(null,g),$patch:I,$reset:B,$subscribe(S,O={}){const M=cf(p,S,O.detached,()=>k()),k=a.run(()=>Js(()=>s.state.value[e],$=>{(O.flush==="sync"?f:d)&&S({storeId:e,type:Pr.direct,events:_},$)},kn({},u,O)));return M},$dispose:H},U=Cn(V);s._s.set(e,U);const R=(s._a&&s._a.runWithContext||jE)(()=>s._e.run(()=>(a=Ld()).run(()=>t({action:w}))));for(const S in R){const O=R[S];if(et(O)&&!WE(O)||jn(O))o||(v&&KE(O)&&(et(O)?O.value=v[S]:il(O,v[S])),s.state.value[e][S]=O);else if(typeof O=="function"){const M=w(O,S);R[S]=M,l.actions[S]=O}}return kn(U,R),kn(xe(U),R),Object.defineProperty(U,"$state",{get:()=>s.state.value[e],set:S=>{I(O=>{kn(O,S)})}}),s._p.forEach(S=>{kn(U,a.run(()=>S({store:U,app:s._a,pinia:s,options:l})))}),v&&o&&n.hydrate&&n.hydrate(U.$state,v),d=!0,f=!0,U}/*! #__NO_SIDE_EFFECTS__ */function zE(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const u=vy();return a=a||(u?Mt(Zh,null):null),a&&co(a),a=Xh,a._s.has(e)||(r?tp(e,t,s,a):YE(e,s,a)),a._s.get(e)}return o.$id=e,o}const lt=[];for(let e=0;e<256;++e)lt.push((e+256).toString(16).slice(1));function GE(e,t=0){return(lt[e[t+0]]+lt[e[t+1]]+lt[e[t+2]]+lt[e[t+3]]+"-"+lt[e[t+4]]+lt[e[t+5]]+"-"+lt[e[t+6]]+lt[e[t+7]]+"-"+lt[e[t+8]]+lt[e[t+9]]+"-"+lt[e[t+10]]+lt[e[t+11]]+lt[e[t+12]]+lt[e[t+13]]+lt[e[t+14]]+lt[e[t+15]]).toLowerCase()}let ha;const JE=new Uint8Array(16);function QE(){if(!ha){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ha=crypto.getRandomValues.bind(crypto)}return ha(JE)}const XE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ff={randomUUID:XE};function np(e,t,n){if(ff.randomUUID&&!e)return ff.randomUUID();e=e||{};const s=e.random??e.rng?.()??QE();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,GE(s)}function Fl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $i={exports:{}},ZE=$i.exports,df;function ew(){return df||(df=1,function(e,t){(function(n,s){e.exports=s()})(ZE,function(){var n=1e3,s=6e4,r=36e5,o="millisecond",a="second",l="minute",u="hour",d="day",f="week",p="month",g="quarter",_="year",v="date",A="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var X=["th","st","nd","rd"],K=j%100;return"["+j+(X[(K-20)%10]||X[K]||X[0])+"]"}},w=function(j,X,K){var Q=String(j);return!Q||Q.length>=X?j:""+Array(X+1-Q.length).join(K)+j},V={s:w,z:function(j){var X=-j.utcOffset(),K=Math.abs(X),Q=Math.floor(K/60),G=K%60;return(X<=0?"+":"-")+w(Q,2,"0")+":"+w(G,2,"0")},m:function j(X,K){if(X.date()<K.date())return-j(K,X);var Q=12*(K.year()-X.year())+(K.month()-X.month()),G=X.clone().add(Q,p),ce=K-G<0,ue=X.clone().add(Q+(ce?-1:1),p);return+(-(Q+(K-G)/(ce?G-ue:ue-G))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:p,y:_,w:f,d,D:v,h:u,m:l,s:a,ms:o,Q:g}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},U="en",x={};x[U]=H;var R="$isDayjsObject",S=function(j){return j instanceof $||!(!j||!j[R])},O=function j(X,K,Q){var G;if(!X)return U;if(typeof X=="string"){var ce=X.toLowerCase();x[ce]&&(G=ce),K&&(x[ce]=K,G=ce);var ue=X.split("-");if(!G&&ue.length>1)return j(ue[0])}else{var me=X.name;x[me]=X,G=me}return!Q&&G&&(U=G),G||!Q&&U},M=function(j,X){if(S(j))return j.clone();var K=typeof X=="object"?X:{};return K.date=j,K.args=arguments,new $(K)},k=V;k.l=O,k.i=S,k.w=function(j,X){return M(j,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var $=function(){function j(K){this.$L=O(K.locale,null,!0),this.parse(K),this.$x=this.$x||K.x||{},this[R]=!0}var X=j.prototype;return X.parse=function(K){this.$d=function(Q){var G=Q.date,ce=Q.utc;if(G===null)return new Date(NaN);if(k.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var ue=G.match(I);if(ue){var me=ue[2]-1||0,ge=(ue[7]||"0").substring(0,3);return ce?new Date(Date.UTC(ue[1],me,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,ge)):new Date(ue[1],me,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,ge)}}return new Date(G)}(K),this.init()},X.init=function(){var K=this.$d;this.$y=K.getFullYear(),this.$M=K.getMonth(),this.$D=K.getDate(),this.$W=K.getDay(),this.$H=K.getHours(),this.$m=K.getMinutes(),this.$s=K.getSeconds(),this.$ms=K.getMilliseconds()},X.$utils=function(){return k},X.isValid=function(){return this.$d.toString()!==A},X.isSame=function(K,Q){var G=M(K);return this.startOf(Q)<=G&&G<=this.endOf(Q)},X.isAfter=function(K,Q){return M(K)<this.startOf(Q)},X.isBefore=function(K,Q){return this.endOf(Q)<M(K)},X.$g=function(K,Q,G){return k.u(K)?this[Q]:this.set(G,K)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(K,Q){var G=this,ce=!!k.u(Q)||Q,ue=k.p(K),me=function(te,ie){var Te=k.w(G.$u?Date.UTC(G.$y,ie,te):new Date(G.$y,ie,te),G);return ce?Te:Te.endOf(d)},ge=function(te,ie){return k.w(G.toDate()[te].apply(G.toDate("s"),(ce?[0,0,0,0]:[23,59,59,999]).slice(ie)),G)},Re=this.$W,De=this.$M,Be=this.$D,Ge="set"+(this.$u?"UTC":"");switch(ue){case _:return ce?me(1,0):me(31,11);case p:return ce?me(1,De):me(0,De+1);case f:var q=this.$locale().weekStart||0,C=(Re<q?Re+7:Re)-q;return me(ce?Be-C:Be+(6-C),De);case d:case v:return ge(Ge+"Hours",0);case u:return ge(Ge+"Minutes",1);case l:return ge(Ge+"Seconds",2);case a:return ge(Ge+"Milliseconds",3);default:return this.clone()}},X.endOf=function(K){return this.startOf(K,!1)},X.$set=function(K,Q){var G,ce=k.p(K),ue="set"+(this.$u?"UTC":""),me=(G={},G[d]=ue+"Date",G[v]=ue+"Date",G[p]=ue+"Month",G[_]=ue+"FullYear",G[u]=ue+"Hours",G[l]=ue+"Minutes",G[a]=ue+"Seconds",G[o]=ue+"Milliseconds",G)[ce],ge=ce===d?this.$D+(Q-this.$W):Q;if(ce===p||ce===_){var Re=this.clone().set(v,1);Re.$d[me](ge),Re.init(),this.$d=Re.set(v,Math.min(this.$D,Re.daysInMonth())).$d}else me&&this.$d[me](ge);return this.init(),this},X.set=function(K,Q){return this.clone().$set(K,Q)},X.get=function(K){return this[k.p(K)]()},X.add=function(K,Q){var G,ce=this;K=Number(K);var ue=k.p(Q),me=function(De){var Be=M(ce);return k.w(Be.date(Be.date()+Math.round(De*K)),ce)};if(ue===p)return this.set(p,this.$M+K);if(ue===_)return this.set(_,this.$y+K);if(ue===d)return me(1);if(ue===f)return me(7);var ge=(G={},G[l]=s,G[u]=r,G[a]=n,G)[ue]||1,Re=this.$d.getTime()+K*ge;return k.w(Re,this)},X.subtract=function(K,Q){return this.add(-1*K,Q)},X.format=function(K){var Q=this,G=this.$locale();if(!this.isValid())return G.invalidDate||A;var ce=K||"YYYY-MM-DDTHH:mm:ssZ",ue=k.z(this),me=this.$H,ge=this.$m,Re=this.$M,De=G.weekdays,Be=G.months,Ge=G.meridiem,q=function(ie,Te,b,y){return ie&&(ie[Te]||ie(Q,ce))||b[Te].slice(0,y)},C=function(ie){return k.s(me%12||12,ie,"0")},te=Ge||function(ie,Te,b){var y=ie<12?"AM":"PM";return b?y.toLowerCase():y};return ce.replace(B,function(ie,Te){return Te||function(b){switch(b){case"YY":return String(Q.$y).slice(-2);case"YYYY":return k.s(Q.$y,4,"0");case"M":return Re+1;case"MM":return k.s(Re+1,2,"0");case"MMM":return q(G.monthsShort,Re,Be,3);case"MMMM":return q(Be,Re);case"D":return Q.$D;case"DD":return k.s(Q.$D,2,"0");case"d":return String(Q.$W);case"dd":return q(G.weekdaysMin,Q.$W,De,2);case"ddd":return q(G.weekdaysShort,Q.$W,De,3);case"dddd":return De[Q.$W];case"H":return String(me);case"HH":return k.s(me,2,"0");case"h":return C(1);case"hh":return C(2);case"a":return te(me,ge,!0);case"A":return te(me,ge,!1);case"m":return String(ge);case"mm":return k.s(ge,2,"0");case"s":return String(Q.$s);case"ss":return k.s(Q.$s,2,"0");case"SSS":return k.s(Q.$ms,3,"0");case"Z":return ue}return null}(ie)||ue.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(K,Q,G){var ce,ue=this,me=k.p(Q),ge=M(K),Re=(ge.utcOffset()-this.utcOffset())*s,De=this-ge,Be=function(){return k.m(ue,ge)};switch(me){case _:ce=Be()/12;break;case p:ce=Be();break;case g:ce=Be()/3;break;case f:ce=(De-Re)/6048e5;break;case d:ce=(De-Re)/864e5;break;case u:ce=De/r;break;case l:ce=De/s;break;case a:ce=De/n;break;default:ce=De}return G?ce:k.a(ce)},X.daysInMonth=function(){return this.endOf(p).$D},X.$locale=function(){return x[this.$L]},X.locale=function(K,Q){if(!K)return this.$L;var G=this.clone(),ce=O(K,Q,!0);return ce&&(G.$L=ce),G},X.clone=function(){return k.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},j}(),z=$.prototype;return M.prototype=z,[["$ms",o],["$s",a],["$m",l],["$H",u],["$W",d],["$M",p],["$y",_],["$D",v]].forEach(function(j){z[j[1]]=function(X){return this.$g(X,j[0],j[1])}}),M.extend=function(j,X){return j.$i||(j(X,$,M),j.$i=!0),M},M.locale=O,M.isDayjs=S,M.unix=function(j){return M(1e3*j)},M.en=x[U],M.Ls=x,M.p={},M})}($i)),$i.exports}var tw=ew();const Ar=Fl(tw);function sp(e,t){return function(){return e.apply(t,arguments)}}const{toString:nw}=Object.prototype,{getPrototypeOf:Ul}=Object,{iterator:uo,toStringTag:rp}=Symbol,fo=(e=>t=>{const n=nw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),sn=e=>(e=e.toLowerCase(),t=>fo(t)===e),ho=e=>t=>typeof t===e,{isArray:or}=Array,tr=ho("undefined");function zr(e){return e!==null&&!tr(e)&&e.constructor!==null&&!tr(e.constructor)&&Ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ip=sn("ArrayBuffer");function sw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ip(e.buffer),t}const rw=ho("string"),Ot=ho("function"),op=ho("number"),Gr=e=>e!==null&&typeof e=="object",iw=e=>e===!0||e===!1,Li=e=>{if(fo(e)!=="object")return!1;const t=Ul(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(rp in e)&&!(uo in e)},ow=e=>{if(!Gr(e)||zr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},aw=sn("Date"),lw=sn("File"),cw=e=>!!(e&&typeof e.uri<"u"),uw=e=>e&&typeof e.getParts<"u",fw=sn("Blob"),dw=sn("FileList"),hw=e=>Gr(e)&&Ot(e.pipe);function pw(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const hf=pw(),pf=typeof hf.FormData<"u"?hf.FormData:void 0,mw=e=>{let t;return e&&(pf&&e instanceof pf||Ot(e.append)&&((t=fo(e))==="formdata"||t==="object"&&Ot(e.toString)&&e.toString()==="[object FormData]"))},gw=sn("URLSearchParams"),[_w,vw,bw,yw]=["ReadableStream","Request","Response","Headers"].map(sn),Ew=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),or(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(zr(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let l;for(s=0;s<a;s++)l=o[s],t.call(null,e[l],l,e)}}function ap(e,t){if(zr(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lp=e=>!tr(e)&&e!==ps;function ol(){const{caseless:e,skipUndefined:t}=lp(this)&&this||{},n={},s=(r,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const a=e&&ap(n,o)||o;Li(n[a])&&Li(r)?n[a]=ol(n[a],r):Li(r)?n[a]=ol({},r):or(r)?n[a]=r.slice():(!t||!tr(r))&&(n[a]=r)};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Jr(arguments[r],s);return n}const ww=(e,t,n,{allOwnKeys:s}={})=>(Jr(t,(r,o)=>{n&&Ot(r)?Object.defineProperty(e,o,{value:sp(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),Tw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Aw=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Sw=(e,t,n,s)=>{let r,o,a;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!s||s(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Ul(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Cw=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Ow=e=>{if(!e)return null;if(or(e))return e;let t=e.length;if(!op(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Rw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ul(Uint8Array)),Nw=(e,t)=>{const s=(e&&e[uo]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},xw=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Pw=sn("HTMLFormElement"),Dw=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),mf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$w=sn("RegExp"),cp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Jr(n,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(s[o]=a||r)}),Object.defineProperties(e,s)},Lw=e=>{cp(e,(t,n)=>{if(Ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ot(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Iw=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return or(e)?s(e):s(String(e).split(t)),n},Mw=()=>{},kw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Bw(e){return!!(e&&Ot(e.append)&&e[rp]==="FormData"&&e[uo])}const Fw=e=>{const t=new Array(10),n=(s,r)=>{if(Gr(s)){if(t.indexOf(s)>=0)return;if(zr(s))return s;if(!("toJSON"in s)){t[r]=s;const o=or(s)?[]:{};return Jr(s,(a,l)=>{const u=n(a,r+1);!tr(u)&&(o[l]=u)}),t[r]=void 0,o}}return s};return n(e,0)},Uw=sn("AsyncFunction"),Hw=e=>e&&(Gr(e)||Ot(e))&&Ot(e.then)&&Ot(e.catch),up=((e,t)=>e?setImmediate:t?((n,s)=>(ps.addEventListener("message",({source:r,data:o})=>{r===ps&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),ps.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ot(ps.postMessage)),Vw=typeof queueMicrotask<"u"?queueMicrotask.bind(ps):typeof process<"u"&&process.nextTick||up,jw=e=>e!=null&&Ot(e[uo]),F={isArray:or,isArrayBuffer:ip,isBuffer:zr,isFormData:mw,isArrayBufferView:sw,isString:rw,isNumber:op,isBoolean:iw,isObject:Gr,isPlainObject:Li,isEmptyObject:ow,isReadableStream:_w,isRequest:vw,isResponse:bw,isHeaders:yw,isUndefined:tr,isDate:aw,isFile:lw,isReactNativeBlob:cw,isReactNative:uw,isBlob:fw,isRegExp:$w,isFunction:Ot,isStream:hw,isURLSearchParams:gw,isTypedArray:Rw,isFileList:dw,forEach:Jr,merge:ol,extend:ww,trim:Ew,stripBOM:Tw,inherits:Aw,toFlatObject:Sw,kindOf:fo,kindOfTest:sn,endsWith:Cw,toArray:Ow,forEachEntry:Nw,matchAll:xw,isHTMLForm:Pw,hasOwnProperty:mf,hasOwnProp:mf,reduceDescriptors:cp,freezeMethods:Lw,toObjectSet:Iw,toCamelCase:Dw,noop:Mw,toFiniteNumber:kw,findKey:ap,global:ps,isContextDefined:lp,isSpecCompliantForm:Bw,toJSONObject:Fw,isAsyncFn:Uw,isThenable:Hw,setImmediate:up,asap:Vw,isIterable:jw};let _e=class fp extends Error{static from(t,n,s,r,o,a){const l=new fp(t.message,n||t.code,s,r,o);return l.cause=t,l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),a&&Object.assign(l,a),l}constructor(t,n,s,r,o){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:F.toJSONObject(this.config),code:this.code,status:this.status}}};_e.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";_e.ERR_BAD_OPTION="ERR_BAD_OPTION";_e.ECONNABORTED="ECONNABORTED";_e.ETIMEDOUT="ETIMEDOUT";_e.ERR_NETWORK="ERR_NETWORK";_e.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";_e.ERR_DEPRECATED="ERR_DEPRECATED";_e.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";_e.ERR_BAD_REQUEST="ERR_BAD_REQUEST";_e.ERR_CANCELED="ERR_CANCELED";_e.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";_e.ERR_INVALID_URL="ERR_INVALID_URL";const qw=null;function al(e){return F.isPlainObject(e)||F.isArray(e)}function dp(e){return F.endsWith(e,"[]")?e.slice(0,-2):e}function pa(e,t,n){return e?e.concat(t).map(function(r,o){return r=dp(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Kw(e){return F.isArray(e)&&!e.some(al)}const Ww=F.toFlatObject(F,{},null,function(t){return/^is[A-Z]/.test(t)});function po(e,t,n){if(!F.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=F.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,I){return!F.isUndefined(I[A])});const s=n.metaTokens,r=n.visitor||f,o=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&F.isSpecCompliantForm(t);if(!F.isFunction(r))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(F.isDate(v))return v.toISOString();if(F.isBoolean(v))return v.toString();if(!u&&F.isBlob(v))throw new _e("Blob is not supported. Use a Buffer instead.");return F.isArrayBuffer(v)||F.isTypedArray(v)?u&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,A,I){let B=v;if(F.isReactNative(t)&&F.isReactNativeBlob(v))return t.append(pa(I,A,o),d(v)),!1;if(v&&!I&&typeof v=="object"){if(F.endsWith(A,"{}"))A=s?A:A.slice(0,-2),v=JSON.stringify(v);else if(F.isArray(v)&&Kw(v)||(F.isFileList(v)||F.endsWith(A,"[]"))&&(B=F.toArray(v)))return A=dp(A),B.forEach(function(w,V){!(F.isUndefined(w)||w===null)&&t.append(a===!0?pa([A],V,o):a===null?A:A+"[]",d(w))}),!1}return al(v)?!0:(t.append(pa(I,A,o),d(v)),!1)}const p=[],g=Object.assign(Ww,{defaultVisitor:f,convertValue:d,isVisitable:al});function _(v,A){if(!F.isUndefined(v)){if(p.indexOf(v)!==-1)throw Error("Circular reference detected in "+A.join("."));p.push(v),F.forEach(v,function(B,H){(!(F.isUndefined(B)||B===null)&&r.call(t,B,F.isString(H)?H.trim():H,A,g))===!0&&_(B,A?A.concat(H):[H])}),p.pop()}}if(!F.isObject(e))throw new TypeError("data must be an object");return _(e),t}function gf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Hl(e,t){this._pairs=[],e&&po(e,this,t)}const hp=Hl.prototype;hp.append=function(t,n){this._pairs.push([t,n])};hp.toString=function(t){const n=t?function(s){return t.call(this,s,gf)}:gf;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Yw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function pp(e,t,n){if(!t)return e;const s=n&&n.encode||Yw,r=F.isFunction(n)?{serialize:n}:n,o=r&&r.serialize;let a;if(o?a=o(t,r):a=F.isURLSearchParams(t)?t.toString():new Hl(t,r).toString(s),a){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class _f{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){F.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Vl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},zw=typeof URLSearchParams<"u"?URLSearchParams:Hl,Gw=typeof FormData<"u"?FormData:null,Jw=typeof Blob<"u"?Blob:null,Qw={isBrowser:!0,classes:{URLSearchParams:zw,FormData:Gw,Blob:Jw},protocols:["http","https","file","blob","url","data"]},jl=typeof window<"u"&&typeof document<"u",ll=typeof navigator=="object"&&navigator||void 0,Xw=jl&&(!ll||["ReactNative","NativeScript","NS"].indexOf(ll.product)<0),Zw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",e0=jl&&window.location.href||"http://localhost",t0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:jl,hasStandardBrowserEnv:Xw,hasStandardBrowserWebWorkerEnv:Zw,navigator:ll,origin:e0},Symbol.toStringTag,{value:"Module"})),gt={...t0,...Qw};function n0(e,t){return po(e,new gt.classes.URLSearchParams,{visitor:function(n,s,r,o){return gt.isNode&&F.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function s0(e){return F.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function r0(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function mp(e){function t(n,s,r,o){let a=n[o++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=o>=n.length;return a=!a&&F.isArray(r)?r.length:a,u?(F.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!l):((!r[a]||!F.isObject(r[a]))&&(r[a]=[]),t(n,s,r[a],o)&&F.isArray(r[a])&&(r[a]=r0(r[a])),!l)}if(F.isFormData(e)&&F.isFunction(e.entries)){const n={};return F.forEachEntry(e,(s,r)=>{t(s0(s),r,n,0)}),n}return null}function i0(e,t,n){if(F.isString(e))try{return(t||JSON.parse)(e),F.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Qr={transitional:Vl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=F.isObject(t);if(o&&F.isHTMLForm(t)&&(t=new FormData(t)),F.isFormData(t))return r?JSON.stringify(mp(t)):t;if(F.isArrayBuffer(t)||F.isBuffer(t)||F.isStream(t)||F.isFile(t)||F.isBlob(t)||F.isReadableStream(t))return t;if(F.isArrayBufferView(t))return t.buffer;if(F.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return n0(t,this.formSerializer).toString();if((l=F.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return po(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),i0(t)):t}],transformResponse:[function(t){const n=this.transitional||Qr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(F.isResponse(t)||F.isReadableStream(t))return t;if(t&&F.isString(t)&&(s&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(l){if(a)throw l.name==="SyntaxError"?_e.from(l,_e.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};F.forEach(["delete","get","head","post","put","patch"],e=>{Qr.headers[e]={}});const o0=F.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"]),a0=e=>{const t={};let n,s,r;return e&&e.split(`
|
|
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&o0[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},vf=Symbol("internals");function yr(e){return e&&String(e).trim().toLowerCase()}function Ii(e){return e===!1||e==null?e:F.isArray(e)?e.map(Ii):String(e).replace(/[\r\n]+$/,"")}function l0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const c0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ma(e,t,n,s,r){if(F.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!F.isString(t)){if(F.isString(s))return t.indexOf(s)!==-1;if(F.isRegExp(s))return s.test(t)}}function u0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function f0(e,t){const n=F.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,a){return this[s].call(this,t,r,o,a)},configurable:!0})})}let Rt=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,u,d){const f=yr(u);if(!f)throw new Error("header name must be a non-empty string");const p=F.findKey(r,f);(!p||r[p]===void 0||d===!0||d===void 0&&r[p]!==!1)&&(r[p||u]=Ii(l))}const a=(l,u)=>F.forEach(l,(d,f)=>o(d,f,u));if(F.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(F.isString(t)&&(t=t.trim())&&!c0(t))a(a0(t),n);else if(F.isObject(t)&&F.isIterable(t)){let l={},u,d;for(const f of t){if(!F.isArray(f))throw TypeError("Object iterator must return a key-value pair");l[d=f[0]]=(u=l[d])?F.isArray(u)?[...u,f[1]]:[u,f[1]]:f[1]}a(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=yr(t),t){const s=F.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return l0(r);if(F.isFunction(n))return n.call(this,r,s);if(F.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yr(t),t){const s=F.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||ma(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(a){if(a=yr(a),a){const l=F.findKey(s,a);l&&(!n||ma(s,s[l],l,n))&&(delete s[l],r=!0)}}return F.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||ma(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return F.forEach(this,(r,o)=>{const a=F.findKey(s,o);if(a){n[a]=Ii(r),delete n[o];return}const l=t?u0(o):String(o).trim();l!==o&&delete n[o],n[l]=Ii(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return F.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&F.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[vf]=this[vf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=yr(a);s[l]||(f0(r,a),s[l]=!0)}return F.isArray(t)?t.forEach(o):o(t),this}};Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);F.reduceDescriptors(Rt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});F.freezeMethods(Rt);function ga(e,t){const n=this||Qr,s=t||n,r=Rt.from(s.headers);let o=s.data;return F.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function gp(e){return!!(e&&e.__CANCEL__)}let Xr=class extends _e{constructor(t,n,s){super(t??"canceled",_e.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function _p(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new _e("Request failed with status code "+n.status,[_e.ERR_BAD_REQUEST,_e.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function d0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function h0(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const d=Date.now(),f=s[o];a||(a=d),n[r]=u,s[r]=d;let p=o,g=0;for(;p!==r;)g+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),d-a<t)return;const _=f&&d-f;return _?Math.round(g*1e3/_):void 0}}function p0(e,t){let n=0,s=1e3/t,r,o;const a=(d,f=Date.now())=>{n=f,r=null,o&&(clearTimeout(o),o=null),e(...d)};return[(...d)=>{const f=Date.now(),p=f-n;p>=s?a(d,f):(r=d,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const Gi=(e,t,n=3)=>{let s=0;const r=h0(50,250);return p0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,d=r(u),f=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:d||void 0,estimated:d&&l&&f?(l-a)/d:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},bf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},yf=e=>(...t)=>F.asap(()=>e(...t)),m0=gt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,g0=gt.hasStandardBrowserEnv?{write(e,t,n,s,r,o,a){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];F.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),F.isString(s)&&l.push(`path=${s}`),F.isString(r)&&l.push(`domain=${r}`),o===!0&&l.push("secure"),F.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function _0(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function v0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vp(e,t,n){let s=!_0(t);return e&&(s||n==!1)?v0(e,t):t}const Ef=e=>e instanceof Rt?{...e}:e;function ws(e,t){t=t||{};const n={};function s(d,f,p,g){return F.isPlainObject(d)&&F.isPlainObject(f)?F.merge.call({caseless:g},d,f):F.isPlainObject(f)?F.merge({},f):F.isArray(f)?f.slice():f}function r(d,f,p,g){if(F.isUndefined(f)){if(!F.isUndefined(d))return s(void 0,d,p,g)}else return s(d,f,p,g)}function o(d,f){if(!F.isUndefined(f))return s(void 0,f)}function a(d,f){if(F.isUndefined(f)){if(!F.isUndefined(d))return s(void 0,d)}else return s(void 0,f)}function l(d,f,p){if(p in t)return s(d,f);if(p in e)return s(void 0,d)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,f,p)=>r(Ef(d),Ef(f),p,!0)};return F.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=F.hasOwnProp(u,f)?u[f]:r,g=p(e[f],t[f],f);F.isUndefined(g)&&p!==l||(n[f]=g)}),n}const bp=e=>{const t=ws({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:l}=t;if(t.headers=a=Rt.from(a),t.url=pp(vp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),F.isFormData(n)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(F.isFunction(n.getHeaders)){const u=n.getHeaders(),d=["content-type","content-length"];Object.entries(u).forEach(([f,p])=>{d.includes(f.toLowerCase())&&a.set(f,p)})}}if(gt.hasStandardBrowserEnv&&(s&&F.isFunction(s)&&(s=s(t)),s||s!==!1&&m0(t.url))){const u=r&&o&&g0.read(o);u&&a.set(r,u)}return t},b0=typeof XMLHttpRequest<"u",y0=b0&&function(e){return new Promise(function(n,s){const r=bp(e);let o=r.data;const a=Rt.from(r.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:d}=r,f,p,g,_,v;function A(){_&&_(),v&&v(),r.cancelToken&&r.cancelToken.unsubscribe(f),r.signal&&r.signal.removeEventListener("abort",f)}let I=new XMLHttpRequest;I.open(r.method.toUpperCase(),r.url,!0),I.timeout=r.timeout;function B(){if(!I)return;const w=Rt.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),U={data:!l||l==="text"||l==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:w,config:e,request:I};_p(function(R){n(R),A()},function(R){s(R),A()},U),I=null}"onloadend"in I?I.onloadend=B:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(B)},I.onabort=function(){I&&(s(new _e("Request aborted",_e.ECONNABORTED,e,I)),I=null)},I.onerror=function(V){const U=V&&V.message?V.message:"Network Error",x=new _e(U,_e.ERR_NETWORK,e,I);x.event=V||null,s(x),I=null},I.ontimeout=function(){let V=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const U=r.transitional||Vl;r.timeoutErrorMessage&&(V=r.timeoutErrorMessage),s(new _e(V,U.clarifyTimeoutError?_e.ETIMEDOUT:_e.ECONNABORTED,e,I)),I=null},o===void 0&&a.setContentType(null),"setRequestHeader"in I&&F.forEach(a.toJSON(),function(V,U){I.setRequestHeader(U,V)}),F.isUndefined(r.withCredentials)||(I.withCredentials=!!r.withCredentials),l&&l!=="json"&&(I.responseType=r.responseType),d&&([g,v]=Gi(d,!0),I.addEventListener("progress",g)),u&&I.upload&&([p,_]=Gi(u),I.upload.addEventListener("progress",p),I.upload.addEventListener("loadend",_)),(r.cancelToken||r.signal)&&(f=w=>{I&&(s(!w||w.type?new Xr(null,e,I):w),I.abort(),I=null)},r.cancelToken&&r.cancelToken.subscribe(f),r.signal&&(r.signal.aborted?f():r.signal.addEventListener("abort",f)));const H=d0(r.url);if(H&>.protocols.indexOf(H)===-1){s(new _e("Unsupported protocol "+H+":",_e.ERR_BAD_REQUEST,e));return}I.send(o||null)})},E0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(d){if(!r){r=!0,l();const f=d instanceof Error?d:this.reason;s.abort(f instanceof _e?f:new Xr(f instanceof Error?f.message:f))}};let a=t&&setTimeout(()=>{a=null,o(new _e(`timeout of ${t}ms exceeded`,_e.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:u}=s;return u.unsubscribe=()=>F.asap(l),u}},w0=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},T0=async function*(e,t){for await(const n of A0(e))yield*w0(n,t)},A0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},wf=(e,t,n,s)=>{const r=T0(e,t);let o=0,a,l=u=>{a||(a=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:d,value:f}=await r.next();if(d){l(),u.close();return}let p=f.byteLength;if(n){let g=o+=p;n(g)}u.enqueue(new Uint8Array(f))}catch(d){throw l(d),d}},cancel(u){return l(u),r.return()}},{highWaterMark:2})},Tf=64*1024,{isFunction:Oi}=F,S0=(({Request:e,Response:t})=>({Request:e,Response:t}))(F.global),{ReadableStream:Af,TextEncoder:Sf}=F.global,Cf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},C0=e=>{e=F.merge.call({skipUndefined:!0},S0,e);const{fetch:t,Request:n,Response:s}=e,r=t?Oi(t):typeof fetch=="function",o=Oi(n),a=Oi(s);if(!r)return!1;const l=r&&Oi(Af),u=r&&(typeof Sf=="function"?(v=>A=>v.encode(A))(new Sf):async v=>new Uint8Array(await new n(v).arrayBuffer())),d=o&&l&&Cf(()=>{let v=!1;const A=new Af,I=new n(gt.origin,{body:A,method:"POST",get duplex(){return v=!0,"half"}}).headers.has("Content-Type");return A.cancel(),v&&!I}),f=a&&l&&Cf(()=>F.isReadableStream(new s("").body)),p={stream:f&&(v=>v.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!p[v]&&(p[v]=(A,I)=>{let B=A&&A[v];if(B)return B.call(A);throw new _e(`Response type '${v}' is not supported`,_e.ERR_NOT_SUPPORT,I)})});const g=async v=>{if(v==null)return 0;if(F.isBlob(v))return v.size;if(F.isSpecCompliantForm(v))return(await new n(gt.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(F.isArrayBufferView(v)||F.isArrayBuffer(v))return v.byteLength;if(F.isURLSearchParams(v)&&(v=v+""),F.isString(v))return(await u(v)).byteLength},_=async(v,A)=>{const I=F.toFiniteNumber(v.getContentLength());return I??g(A)};return async v=>{let{url:A,method:I,data:B,signal:H,cancelToken:w,timeout:V,onDownloadProgress:U,onUploadProgress:x,responseType:R,headers:S,withCredentials:O="same-origin",fetchOptions:M}=bp(v),k=t||fetch;R=R?(R+"").toLowerCase():"text";let $=E0([H,w&&w.toAbortSignal()],V),z=null;const j=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let X;try{if(x&&d&&I!=="get"&&I!=="head"&&(X=await _(S,B))!==0){let me=new n(A,{method:"POST",body:B,duplex:"half"}),ge;if(F.isFormData(B)&&(ge=me.headers.get("content-type"))&&S.setContentType(ge),me.body){const[Re,De]=bf(X,Gi(yf(x)));B=wf(me.body,Tf,Re,De)}}F.isString(O)||(O=O?"include":"omit");const K=o&&"credentials"in n.prototype,Q={...M,signal:$,method:I.toUpperCase(),headers:S.normalize().toJSON(),body:B,duplex:"half",credentials:K?O:void 0};z=o&&new n(A,Q);let G=await(o?k(z,M):k(A,Q));const ce=f&&(R==="stream"||R==="response");if(f&&(U||ce&&j)){const me={};["status","statusText","headers"].forEach(Be=>{me[Be]=G[Be]});const ge=F.toFiniteNumber(G.headers.get("content-length")),[Re,De]=U&&bf(ge,Gi(yf(U),!0))||[];G=new s(wf(G.body,Tf,Re,()=>{De&&De(),j&&j()}),me)}R=R||"text";let ue=await p[F.findKey(p,R)||"text"](G,v);return!ce&&j&&j(),await new Promise((me,ge)=>{_p(me,ge,{data:ue,headers:Rt.from(G.headers),status:G.status,statusText:G.statusText,config:v,request:z})})}catch(K){throw j&&j(),K&&K.name==="TypeError"&&/Load failed|fetch/i.test(K.message)?Object.assign(new _e("Network Error",_e.ERR_NETWORK,v,z,K&&K.response),{cause:K.cause||K}):_e.from(K,K&&K.code,v,z,K&&K.response)}}},O0=new Map,yp=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,o=[s,r,n];let a=o.length,l=a,u,d,f=O0;for(;l--;)u=o[l],d=f.get(u),d===void 0&&f.set(u,d=l?new Map:C0(t)),f=d;return d};yp();const ql={http:qw,xhr:y0,fetch:{get:yp}};F.forEach(ql,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Of=e=>`- ${e}`,R0=e=>F.isFunction(e)||e===null||e===!1;function N0(e,t){e=F.isArray(e)?e:[e];const{length:n}=e;let s,r;const o={};for(let a=0;a<n;a++){s=e[a];let l;if(r=s,!R0(s)&&(r=ql[(l=String(s)).toLowerCase()],r===void 0))throw new _e(`Unknown adapter '${l}'`);if(r&&(F.isFunction(r)||(r=r.get(t))))break;o[l||"#"+a]=r}if(!r){const a=Object.entries(o).map(([u,d])=>`adapter ${u} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=n?a.length>1?`since :
|
|
`+a.map(Of).join(`
|
|
`):" "+Of(a[0]):"as no adapter specified";throw new _e("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r}const Ep={getAdapter:N0,adapters:ql};function _a(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xr(null,e)}function Rf(e){return _a(e),e.headers=Rt.from(e.headers),e.data=ga.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ep.getAdapter(e.adapter||Qr.adapter,e)(e).then(function(s){return _a(e),s.data=ga.call(e,e.transformResponse,s),s.headers=Rt.from(s.headers),s},function(s){return gp(s)||(_a(e),s&&s.response&&(s.response.data=ga.call(e,e.transformResponse,s.response),s.response.headers=Rt.from(s.response.headers))),Promise.reject(s)})}const wp="1.14.0",mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Nf={};mo.transitional=function(t,n,s){function r(o,a){return"[Axios v"+wp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(t===!1)throw new _e(r(a," has been removed"+(n?" in "+n:"")),_e.ERR_DEPRECATED);return n&&!Nf[a]&&(Nf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};mo.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function x0(e,t,n){if(typeof e!="object")throw new _e("options must be an object",_e.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const l=e[o],u=l===void 0||a(l,o,e);if(u!==!0)throw new _e("option "+o+" must be "+u,_e.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new _e("Unknown option "+o,_e.ERR_BAD_OPTION)}}const Mi={assertOptions:x0,validators:mo},Ht=Mi.validators;let _s=class{constructor(t){this.defaults=t||{},this.interceptors={request:new _f,response:new _f}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ws(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Mi.assertOptions(s,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean),legacyInterceptorReqResOrdering:Ht.transitional(Ht.boolean)},!1),r!=null&&(F.isFunction(r)?n.paramsSerializer={serialize:r}:Mi.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Mi.assertOptions(n,{baseUrl:Ht.spelling("baseURL"),withXsrfToken:Ht.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&F.merge(o.common,o[n.method]);o&&F.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),n.headers=Rt.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(A){if(typeof A.runWhen=="function"&&A.runWhen(n)===!1)return;u=u&&A.synchronous;const I=n.transitional||Vl;I&&I.legacyInterceptorReqResOrdering?l.unshift(A.fulfilled,A.rejected):l.push(A.fulfilled,A.rejected)});const d=[];this.interceptors.response.forEach(function(A){d.push(A.fulfilled,A.rejected)});let f,p=0,g;if(!u){const v=[Rf.bind(this),void 0];for(v.unshift(...l),v.push(...d),g=v.length,f=Promise.resolve(n);p<g;)f=f.then(v[p++],v[p++]);return f}g=l.length;let _=n;for(;p<g;){const v=l[p++],A=l[p++];try{_=v(_)}catch(I){A.call(this,I);break}}try{f=Rf.call(this,_)}catch(v){return Promise.reject(v)}for(p=0,g=d.length;p<g;)f=f.then(d[p++],d[p++]);return f}getUri(t){t=ws(this.defaults,t);const n=vp(t.baseURL,t.url,t.allowAbsoluteUrls);return pp(n,t.params,t.paramsSerializer)}};F.forEach(["delete","get","head","options"],function(t){_s.prototype[t]=function(n,s){return this.request(ws(s||{},{method:t,url:n,data:(s||{}).data}))}});F.forEach(["post","put","patch"],function(t){function n(s){return function(o,a,l){return this.request(ws(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}_s.prototype[t]=n(),_s.prototype[t+"Form"]=n(!0)});let P0=class Tp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,l){s.reason||(s.reason=new Xr(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Tp(function(r){t=r}),cancel:t}}};function D0(e){return function(n){return e.apply(null,n)}}function $0(e){return F.isObject(e)&&e.isAxiosError===!0}const cl={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(cl).forEach(([e,t])=>{cl[t]=e});function Ap(e){const t=new _s(e),n=sp(_s.prototype.request,t);return F.extend(n,_s.prototype,t,{allOwnKeys:!0}),F.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ap(ws(e,r))},n}const Ke=Ap(Qr);Ke.Axios=_s;Ke.CanceledError=Xr;Ke.CancelToken=P0;Ke.isCancel=gp;Ke.VERSION=wp;Ke.toFormData=po;Ke.AxiosError=_e;Ke.Cancel=Ke.CanceledError;Ke.all=function(t){return Promise.all(t)};Ke.spread=D0;Ke.isAxiosError=$0;Ke.mergeConfig=ws;Ke.AxiosHeaders=Rt;Ke.formToJSON=e=>mp(F.isHTMLForm(e)?new FormData(e):e);Ke.getAdapter=Ep.getAdapter;Ke.HttpStatusCode=cl;Ke.default=Ke;const{Axios:XS,AxiosError:ZS,CanceledError:eC,isCancel:tC,CancelToken:nC,VERSION:sC,all:rC,Cancel:iC,isAxiosError:oC,spread:aC,toFormData:lC,AxiosHeaders:cC,HttpStatusCode:uC,formToJSON:fC,getAdapter:dC,mergeConfig:hC}=Ke,ar=e=>`./.${e}`,vs=async(e,t={})=>{try{return(await Ke.post(ar(e),t)).data}catch(n){console.log(n);return}},Vr=async(e,t={})=>{try{return(await Ke.get(ar(e),t)).data}catch(n){console.log(n);return}},rn=zE("clientStore",{state:()=>({serverInformation:{},notifications:[],configurations:[],clientProfile:{Email:"",SignInMethod:"",Profile:{}}}),actions:{newNotification(e,t){this.notifications.push({id:np().toString(),status:t,content:e,time:Ar(),show:!0})},async getClientProfile(){const e=await Vr("/api/settings/getClientProfile");e?this.clientProfile=e.data:this.newNotification("Failed to fetch client profile","danger")},async getConfigurations(){const e=await Vr("/api/configurations");e?this.configurations=e.data:this.newNotification("Failed to fetch configurations","danger")}}}),Yn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},L0={class:"card-body"},I0={class:"d-flex align-items-center mb-2"},M0={class:"ms-auto"},k0={class:"fw-medium"},B0={__name:"notification",props:{notificationData:{id:"",show:!0,content:"",time:"",status:""}},setup(e){const t=e;let n;const s=()=>{t.notificationData.show=!0,n=setTimeout(()=>{o()},5e3)},r=()=>clearTimeout(n),o=()=>t.notificationData.show=!1;return As(()=>{s()}),(a,l)=>(fe(),ye("div",{onMouseenter:l[1]||(l[1]=u=>r()),onMouseleave:l[2]||(l[2]=u=>e.notificationData.show?s():void 0),class:Qt([{"text-bg-success":e.notificationData.status==="success","text-bg-warning":e.notificationData.status==="warning","text-bg-danger":e.notificationData.status==="danger"},"card shadow rounded-3 position-relative message ms-auto notification"])},[T("div",L0,[T("div",I0,[T("small",null,mt(e.notificationData.time.format("hh:mm A")),1),T("small",M0,[T("a",{role:"button",onClick:l[0]||(l[0]=u=>o())},l[3]||(l[3]=[we(" Dismiss"),T("i",{class:"bi bi-x-lg ms-2"},null,-1)]))])]),T("span",k0,mt(e.notificationData.content),1)])],34))}},F0=Yn(B0,[["__scopeId","data-v-3303bfcd"]]),U0={class:"messageCentre text-body position-absolute d-flex"},H0={__name:"notificationList",setup(e){const t=rn(),n=je(()=>t.notifications.filter(s=>s.show).slice().reverse());return(s,r)=>(fe(),ye("div",U0,[Pe(OE,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:it(()=>[(fe(!0),ye(St,null,Dl(n.value,o=>(fe(),en(F0,{notificationData:o,key:o.id},null,8,["notificationData"]))),128))]),_:1})]))}},V0=Yn(H0,[["__scopeId","data-v-e4fed80c"]]),j0={"data-bs-theme":"dark",class:"text-body bg-body vw-100 vh-100 bg-body"},q0={class:"d-flex vw-100 p-sm-4 overflow-y-scroll innerContainer d-flex flex-column"},K0={class:"mx-auto my-sm-auto position-relative",id:"listContainer"},W0={__name:"App",setup(e){return(t,n)=>{const s=ir("RouterView");return fe(),ye("div",j0,[T("div",q0,[T("div",K0,[(fe(),en(kh,null,{default:it(()=>[Pe(s,null,{default:it(({Component:r})=>[Pe(Hr,{name:"app",type:"transition",mode:"out-in"},{default:it(()=>[(fe(),en(cy(r)))]),_:2},1024)]),_:1})]),_:1}))]),n[0]||(n[0]=T("div",{style:{"font-size":"0.8rem"},class:"text-center text-muted"},[T("small",null,[we(" Background image by "),T("a",{href:"https://unsplash.com/photos/body-of-water-aExT3y92x5o"},"Fabrizio Conti")]),T("br")],-1))]),Pe(V0)])}}},Y0=Yn(W0,[["__scopeId","data-v-30cf86d3"]]);/*!
|
|
* vue-router v4.5.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Ws=typeof document<"u";function Sp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function z0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sp(e.default)}const Me=Object.assign;function va(e,t){const n={};for(const s in t){const r=t[s];n[s]=nn(r)?r.map(e):e(r)}return n}const Dr=()=>{},nn=Array.isArray,Cp=/#/g,G0=/&/g,J0=/\//g,Q0=/=/g,X0=/\?/g,Op=/\+/g,Z0=/%5B/g,e1=/%5D/g,Rp=/%5E/g,t1=/%60/g,Np=/%7B/g,n1=/%7C/g,xp=/%7D/g,s1=/%20/g;function Kl(e){return encodeURI(""+e).replace(n1,"|").replace(Z0,"[").replace(e1,"]")}function r1(e){return Kl(e).replace(Np,"{").replace(xp,"}").replace(Rp,"^")}function ul(e){return Kl(e).replace(Op,"%2B").replace(s1,"+").replace(Cp,"%23").replace(G0,"%26").replace(t1,"`").replace(Np,"{").replace(xp,"}").replace(Rp,"^")}function i1(e){return ul(e).replace(Q0,"%3D")}function o1(e){return Kl(e).replace(Cp,"%23").replace(X0,"%3F")}function a1(e){return e==null?"":o1(e).replace(J0,"%2F")}function jr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const l1=/\/$/,c1=e=>e.replace(l1,"");function ba(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let u=t.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=h1(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:jr(a)}}function u1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function f1(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&nr(t.matched[s],n.matched[r])&&Pp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!d1(e[n],t[n]))return!1;return!0}function d1(e,t){return nn(e)?Pf(e,t):nn(t)?Pf(t,e):e===t}function Pf(e,t){return nn(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function h1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Ln={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var qr;(function(e){e.pop="pop",e.push="push"})(qr||(qr={}));var $r;(function(e){e.back="back",e.forward="forward",e.unknown=""})($r||($r={}));function p1(e){if(!e)if(Ws){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),c1(e)}const m1=/^[^#]+#/;function g1(e,t){return e.replace(m1,"#")+t}function _1(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const go=()=>({left:window.scrollX,top:window.scrollY});function v1(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=_1(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Df(e,t){return(history.state?history.state.position-t:-1)+e}const fl=new Map;function b1(e,t){fl.set(e,t)}function y1(e){const t=fl.get(e);return fl.delete(e),t}let E1=()=>location.protocol+"//"+location.host;function Dp(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),xf(u,"")}return xf(n,e)+s+r}function w1(e,t,n,s){let r=[],o=[],a=null;const l=({state:g})=>{const _=Dp(e,location),v=n.value,A=t.value;let I=0;if(g){if(n.value=_,t.value=g,a&&a===v){a=null;return}I=A?g.position-A.position:0}else s(_);r.forEach(B=>{B(n.value,v,{delta:I,type:qr.pop,direction:I?I>0?$r.forward:$r.back:$r.unknown})})};function u(){a=n.value}function d(g){r.push(g);const _=()=>{const v=r.indexOf(g);v>-1&&r.splice(v,1)};return o.push(_),_}function f(){const{history:g}=window;g.state&&g.replaceState(Me({},g.state,{scroll:go()}),"")}function p(){for(const g of o)g();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:u,listen:d,destroy:p}}function $f(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?go():null}}function T1(e){const{history:t,location:n}=window,s={value:Dp(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,d,f){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:E1()+e+u;try{t[f?"replaceState":"pushState"](d,"",g),r.value=d}catch(_){console.error(_),n[f?"replace":"assign"](g)}}function a(u,d){const f=Me({},t.state,$f(r.value.back,u,r.value.forward,!0),d,{position:r.value.position});o(u,f,!0),s.value=u}function l(u,d){const f=Me({},r.value,t.state,{forward:u,scroll:go()});o(f.current,f,!0);const p=Me({},$f(s.value,u,null),{position:f.position+1},d);o(u,p,!1),s.value=u}return{location:s,state:r,push:l,replace:a}}function A1(e){e=p1(e);const t=T1(e),n=w1(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=Me({location:"",base:e,go:s,createHref:g1.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function S1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),A1(e)}function C1(e){return typeof e=="string"||e&&typeof e=="object"}function $p(e){return typeof e=="string"||typeof e=="symbol"}const Lp=Symbol("");var Lf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Lf||(Lf={}));function sr(e,t){return Me(new Error,{type:e,[Lp]:!0},t)}function bn(e,t){return e instanceof Error&&Lp in e&&(t==null||!!(e.type&t))}const If="[^/]+?",O1={sensitive:!1,strict:!1,start:!0,end:!0},R1=/[.+*?^${}()[\]/\\]/g;function N1(e,t){const n=Me({},O1,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let p=0;p<d.length;p++){const g=d[p];let _=40+(n.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace(R1,"\\$&"),_+=40;else if(g.type===1){const{value:v,repeatable:A,optional:I,regexp:B}=g;o.push({name:v,repeatable:A,optional:I});const H=B||If;if(H!==If){_+=10;try{new RegExp(`(${H})`)}catch(V){throw new Error(`Invalid custom RegExp for param "${v}" (${H}): `+V.message)}}let w=A?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;p||(w=I&&d.length<2?`(?:/${w})`:"/"+w),I&&(w+="?"),r+=w,_+=20,I&&(_+=-8),A&&(_+=-20),H===".*"&&(_+=-50)}f.push(_)}s.push(f)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function l(d){const f=d.match(a),p={};if(!f)return null;for(let g=1;g<f.length;g++){const _=f[g]||"",v=o[g-1];p[v.name]=_&&v.repeatable?_.split("/"):_}return p}function u(d){let f="",p=!1;for(const g of e){(!p||!f.endsWith("/"))&&(f+="/"),p=!1;for(const _ of g)if(_.type===0)f+=_.value;else if(_.type===1){const{value:v,repeatable:A,optional:I}=_,B=v in d?d[v]:"";if(nn(B)&&!A)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const H=nn(B)?B.join("/"):B;if(!H)if(I)g.length<2&&(f.endsWith("/")?f=f.slice(0,-1):p=!0);else throw new Error(`Missing required param "${v}"`);f+=H}}return f||"/"}return{re:a,score:s,keys:o,parse:l,stringify:u}}function x1(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ip(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=x1(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Mf(s))return 1;if(Mf(r))return-1}return r.length-s.length}function Mf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const P1={type:0,value:""},D1=/[a-zA-Z0-9_]/;function $1(e){if(!e)return[[]];if(e==="/")return[[P1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${d}": ${_}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,u,d="",f="";function p(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=u}for(;l<e.length;){if(u=e[l++],u==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:u==="/"?(d&&p(),a()):u===":"?(p(),n=1):g();break;case 4:g(),n=s;break;case 1:u==="("?n=2:D1.test(u)?g():(p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+u:n=3:f+=u;break;case 3:p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),p(),a(),r}function L1(e,t,n){const s=N1($1(e.path),n),r=Me(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function I1(e,t){const n=[],s=new Map;t=Uf({strict:!1,end:!0,sensitive:!1},t);function r(p){return s.get(p)}function o(p,g,_){const v=!_,A=Bf(p);A.aliasOf=_&&_.record;const I=Uf(t,p),B=[A];if("alias"in p){const V=typeof p.alias=="string"?[p.alias]:p.alias;for(const U of V)B.push(Bf(Me({},A,{components:_?_.record.components:A.components,path:U,aliasOf:_?_.record:A})))}let H,w;for(const V of B){const{path:U}=V;if(g&&U[0]!=="/"){const x=g.record.path,R=x[x.length-1]==="/"?"":"/";V.path=g.record.path+(U&&R+U)}if(H=L1(V,g,I),_?_.alias.push(H):(w=w||H,w!==H&&w.alias.push(H),v&&p.name&&!Ff(H)&&a(p.name)),Mp(H)&&u(H),A.children){const x=A.children;for(let R=0;R<x.length;R++)o(x[R],H,_&&_.children[R])}_=_||H}return w?()=>{a(w)}:Dr}function a(p){if($p(p)){const g=s.get(p);g&&(s.delete(p),n.splice(n.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=n.indexOf(p);g>-1&&(n.splice(g,1),p.record.name&&s.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return n}function u(p){const g=B1(p,n);n.splice(g,0,p),p.record.name&&!Ff(p)&&s.set(p.record.name,p)}function d(p,g){let _,v={},A,I;if("name"in p&&p.name){if(_=s.get(p.name),!_)throw sr(1,{location:p});I=_.record.name,v=Me(kf(g.params,_.keys.filter(w=>!w.optional).concat(_.parent?_.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),p.params&&kf(p.params,_.keys.map(w=>w.name))),A=_.stringify(v)}else if(p.path!=null)A=p.path,_=n.find(w=>w.re.test(A)),_&&(v=_.parse(A),I=_.record.name);else{if(_=g.name?s.get(g.name):n.find(w=>w.re.test(g.path)),!_)throw sr(1,{location:p,currentLocation:g});I=_.record.name,v=Me({},g.params,p.params),A=_.stringify(v)}const B=[];let H=_;for(;H;)B.unshift(H.record),H=H.parent;return{name:I,path:A,params:v,matched:B,meta:k1(B)}}e.forEach(p=>o(p));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function kf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Bf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:M1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function M1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ff(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function k1(e){return e.reduce((t,n)=>Me(t,n.meta),{})}function Uf(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function B1(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ip(e,t[o])<0?s=o:n=o+1}const r=F1(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function F1(e){let t=e;for(;t=t.parent;)if(Mp(t)&&Ip(e,t)===0)return t}function Mp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function U1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Op," "),a=o.indexOf("="),l=jr(a<0?o:o.slice(0,a)),u=a<0?null:jr(o.slice(a+1));if(l in t){let d=t[l];nn(d)||(d=t[l]=[d]),d.push(u)}else t[l]=u}return t}function Hf(e){let t="";for(let n in e){const s=e[n];if(n=i1(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(nn(s)?s.map(o=>o&&ul(o)):[s&&ul(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function H1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=nn(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const kp=Symbol(""),Vf=Symbol(""),_o=Symbol(""),Wl=Symbol(""),dl=Symbol("");function Er(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function V1(e,t,n){const s=()=>{e[t].delete(n)};Pl(s),hh(s),dh(()=>{e[t].add(n)}),e[t].add(n)}function j1(e){const t=Mt(kp,{}).value;t&&V1(t,"leaveGuards",e)}function Hn(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,u)=>{const d=g=>{g===!1?u(sr(4,{from:n,to:t})):g instanceof Error?u(g):C1(g)?u(sr(2,{from:t,to:g})):(a&&s.enterCallbacks[r]===a&&typeof g=="function"&&a.push(g),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let p=Promise.resolve(f);e.length<3&&(p=p.then(d)),p.catch(g=>u(g))})}function ya(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let u=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(Sp(u)){const f=(u.__vccOpts||u)[t];f&&o.push(Hn(f,n,s,a,l,r))}else{let d=u();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=z0(f)?f.default:f;a.mods[l]=f,a.components[l]=p;const _=(p.__vccOpts||p)[t];return _&&Hn(_,n,s,a,l,r)()}))}}return o}function jf(e){const t=Mt(_o),n=Mt(Wl),s=je(()=>{const u=qt(e.to);return t.resolve(u)}),r=je(()=>{const{matched:u}=s.value,{length:d}=u,f=u[d-1],p=n.matched;if(!f||!p.length)return-1;const g=p.findIndex(nr.bind(null,f));if(g>-1)return g;const _=qf(u[d-2]);return d>1&&qf(f)===_&&p[p.length-1].path!==_?p.findIndex(nr.bind(null,u[d-2])):g}),o=je(()=>r.value>-1&&z1(n.params,s.value.params)),a=je(()=>r.value>-1&&r.value===n.matched.length-1&&Pp(n.params,s.value.params));function l(u={}){if(Y1(u)){const d=t[qt(e.replace)?"replace":"push"](qt(e.to)).catch(Dr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:je(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function q1(e){return e.length===1?e[0]:e}const K1=xl({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:jf,setup(e,{slots:t}){const n=Cn(jf(e)),{options:s}=Mt(_o),r=je(()=>({[Kf(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Kf(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&q1(t.default(n));return e.custom?o:Bl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),W1=K1;function Y1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function z1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!nn(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function qf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Kf=(e,t,n)=>e??t??n,G1=xl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Mt(dl),r=je(()=>e.route||s.value),o=Mt(Vf,0),a=je(()=>{let d=qt(o);const{matched:f}=r.value;let p;for(;(p=f[d])&&!p.components;)d++;return d}),l=je(()=>r.value.matched[a.value]);xi(Vf,je(()=>a.value+1)),xi(kp,l),xi(dl,r);const u=Le();return Js(()=>[u.value,l.value,e.name],([d,f,p],[g,_,v])=>{f&&(f.instances[p]=d,_&&_!==f&&d&&d===g&&(f.leaveGuards.size||(f.leaveGuards=_.leaveGuards),f.updateGuards.size||(f.updateGuards=_.updateGuards))),d&&f&&(!_||!nr(f,_)||!g)&&(f.enterCallbacks[p]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,p=l.value,g=p&&p.components[f];if(!g)return Wf(n.default,{Component:g,route:d});const _=p.props[f],v=_?_===!0?d.params:typeof _=="function"?_(d):_:null,I=Bl(g,Me({},v,t,{onVnodeUnmounted:B=>{B.component.isUnmounted&&(p.instances[f]=null)},ref:u}));return Wf(n.default,{Component:I,route:d})||I}}});function Wf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const J1=G1;function Q1(e){const t=I1(e.routes,e),n=e.parseQuery||U1,s=e.stringifyQuery||Hf,r=e.history,o=Er(),a=Er(),l=Er(),u=Hb(Ln);let d=Ln;Ws&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=va.bind(null,q=>""+q),p=va.bind(null,a1),g=va.bind(null,jr);function _(q,C){let te,ie;return $p(q)?(te=t.getRecordMatcher(q),ie=C):ie=q,t.addRoute(ie,te)}function v(q){const C=t.getRecordMatcher(q);C&&t.removeRoute(C)}function A(){return t.getRoutes().map(q=>q.record)}function I(q){return!!t.getRecordMatcher(q)}function B(q,C){if(C=Me({},C||u.value),typeof q=="string"){const N=ba(n,q,C.path),W=t.resolve({path:N.path},C),J=r.createHref(N.fullPath);return Me(N,W,{params:g(W.params),hash:jr(N.hash),redirectedFrom:void 0,href:J})}let te;if(q.path!=null)te=Me({},q,{path:ba(n,q.path,C.path).path});else{const N=Me({},q.params);for(const W in N)N[W]==null&&delete N[W];te=Me({},q,{params:p(N)}),C.params=p(C.params)}const ie=t.resolve(te,C),Te=q.hash||"";ie.params=f(g(ie.params));const b=u1(s,Me({},q,{hash:r1(Te),path:ie.path})),y=r.createHref(b);return Me({fullPath:b,hash:Te,query:s===Hf?H1(q.query):q.query||{}},ie,{redirectedFrom:void 0,href:y})}function H(q){return typeof q=="string"?ba(n,q,u.value.path):Me({},q)}function w(q,C){if(d!==q)return sr(8,{from:C,to:q})}function V(q){return R(q)}function U(q){return V(Me(H(q),{replace:!0}))}function x(q){const C=q.matched[q.matched.length-1];if(C&&C.redirect){const{redirect:te}=C;let ie=typeof te=="function"?te(q):te;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=H(ie):{path:ie},ie.params={}),Me({query:q.query,hash:q.hash,params:ie.path!=null?{}:q.params},ie)}}function R(q,C){const te=d=B(q),ie=u.value,Te=q.state,b=q.force,y=q.replace===!0,N=x(te);if(N)return R(Me(H(N),{state:typeof N=="object"?Me({},Te,N.state):Te,force:b,replace:y}),C||te);const W=te;W.redirectedFrom=C;let J;return!b&&f1(s,ie,te)&&(J=sr(16,{to:W,from:ie}),me(ie,ie,!0,!1)),(J?Promise.resolve(J):M(W,ie)).catch(P=>bn(P)?bn(P,2)?P:ue(P):G(P,W,ie)).then(P=>{if(P){if(bn(P,2))return R(Me({replace:y},H(P.to),{state:typeof P.to=="object"?Me({},Te,P.to.state):Te,force:b}),C||W)}else P=$(W,ie,!0,y,Te);return k(W,ie,P),P})}function S(q,C){const te=w(q,C);return te?Promise.reject(te):Promise.resolve()}function O(q){const C=De.values().next().value;return C&&typeof C.runWithContext=="function"?C.runWithContext(q):q()}function M(q,C){let te;const[ie,Te,b]=X1(q,C);te=ya(ie.reverse(),"beforeRouteLeave",q,C);for(const N of ie)N.leaveGuards.forEach(W=>{te.push(Hn(W,q,C))});const y=S.bind(null,q,C);return te.push(y),Ge(te).then(()=>{te=[];for(const N of o.list())te.push(Hn(N,q,C));return te.push(y),Ge(te)}).then(()=>{te=ya(Te,"beforeRouteUpdate",q,C);for(const N of Te)N.updateGuards.forEach(W=>{te.push(Hn(W,q,C))});return te.push(y),Ge(te)}).then(()=>{te=[];for(const N of b)if(N.beforeEnter)if(nn(N.beforeEnter))for(const W of N.beforeEnter)te.push(Hn(W,q,C));else te.push(Hn(N.beforeEnter,q,C));return te.push(y),Ge(te)}).then(()=>(q.matched.forEach(N=>N.enterCallbacks={}),te=ya(b,"beforeRouteEnter",q,C,O),te.push(y),Ge(te))).then(()=>{te=[];for(const N of a.list())te.push(Hn(N,q,C));return te.push(y),Ge(te)}).catch(N=>bn(N,8)?N:Promise.reject(N))}function k(q,C,te){l.list().forEach(ie=>O(()=>ie(q,C,te)))}function $(q,C,te,ie,Te){const b=w(q,C);if(b)return b;const y=C===Ln,N=Ws?history.state:{};te&&(ie||y?r.replace(q.fullPath,Me({scroll:y&&N&&N.scroll},Te)):r.push(q.fullPath,Te)),u.value=q,me(q,C,te,y),ue()}let z;function j(){z||(z=r.listen((q,C,te)=>{if(!Be.listening)return;const ie=B(q),Te=x(ie);if(Te){R(Me(Te,{replace:!0,force:!0}),ie).catch(Dr);return}d=ie;const b=u.value;Ws&&b1(Df(b.fullPath,te.delta),go()),M(ie,b).catch(y=>bn(y,12)?y:bn(y,2)?(R(Me(H(y.to),{force:!0}),ie).then(N=>{bn(N,20)&&!te.delta&&te.type===qr.pop&&r.go(-1,!1)}).catch(Dr),Promise.reject()):(te.delta&&r.go(-te.delta,!1),G(y,ie,b))).then(y=>{y=y||$(ie,b,!1),y&&(te.delta&&!bn(y,8)?r.go(-te.delta,!1):te.type===qr.pop&&bn(y,20)&&r.go(-1,!1)),k(ie,b,y)}).catch(Dr)}))}let X=Er(),K=Er(),Q;function G(q,C,te){ue(q);const ie=K.list();return ie.length?ie.forEach(Te=>Te(q,C,te)):console.error(q),Promise.reject(q)}function ce(){return Q&&u.value!==Ln?Promise.resolve():new Promise((q,C)=>{X.add([q,C])})}function ue(q){return Q||(Q=!q,j(),X.list().forEach(([C,te])=>q?te(q):C()),X.reset()),q}function me(q,C,te,ie){const{scrollBehavior:Te}=e;if(!Ws||!Te)return Promise.resolve();const b=!te&&y1(Df(q.fullPath,0))||(ie||!te)&&history.state&&history.state.scroll||null;return no().then(()=>Te(q,C,b)).then(y=>y&&v1(y)).catch(y=>G(y,q,C))}const ge=q=>r.go(q);let Re;const De=new Set,Be={currentRoute:u,listening:!0,addRoute:_,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:A,resolve:B,options:e,push:V,replace:U,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:K.add,isReady:ce,install(q){const C=this;q.component("RouterLink",W1),q.component("RouterView",J1),q.config.globalProperties.$router=C,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>qt(u)}),Ws&&!Re&&u.value===Ln&&(Re=!0,V(r.location).catch(Te=>{}));const te={};for(const Te in Ln)Object.defineProperty(te,Te,{get:()=>u.value[Te],enumerable:!0});q.provide(_o,C),q.provide(Wl,Jd(te)),q.provide(dl,u);const ie=q.unmount;De.add(q),q.unmount=function(){De.delete(q),De.size<1&&(d=Ln,z&&z(),z=null,u.value=Ln,Re=!1,Q=!1),ie()}}};function Ge(q){return q.reduce((C,te)=>C.then(()=>O(te)),Promise.resolve())}return Be}function X1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const l=t.matched[a];l&&(e.matched.find(d=>nr(d,l))?s.push(l):n.push(l));const u=e.matched[a];u&&(t.matched.find(d=>nr(d,u))||r.push(u))}return[n,s,r]}function vo(){return Mt(_o)}function Z1(e){return Mt(Wl)}var qs={},Ea,Yf;function eT(){return Yf||(Yf=1,Ea=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Ea}var wa={},In={},zf;function Ss(){if(zf)return In;zf=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return In.getSymbolSize=function(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17},In.getSymbolTotalCodewords=function(s){return t[s]},In.getBCHDigit=function(n){let s=0;for(;n!==0;)s++,n>>>=1;return s},In.setToSJISFunction=function(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');e=s},In.isKanjiModeEnabled=function(){return typeof e<"u"},In.toSJIS=function(s){return e(s)},In}var Ta={},Gf;function Yl(){return Gf||(Gf=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},e.from=function(s,r){if(e.isValid(s))return s;try{return t(s)}catch{return r}}}(Ta)),Ta}var Aa,Jf;function tT(){if(Jf)return Aa;Jf=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let s=0;s<n;s++)this.putBit((t>>>n-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Aa=e,Aa}var Sa,Qf;function nT(){if(Qf)return Sa;Qf=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,s,r){const o=t*this.size+n;this.data[o]=s,r&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,s){this.data[t*this.size+n]^=s},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},Sa=e,Sa}var Ca={},Xf;function sT(){return Xf||(Xf=1,function(e){const t=Ss().getSymbolSize;e.getRowColCoords=function(s){if(s===1)return[];const r=Math.floor(s/7)+2,o=t(s),a=o===145?26:Math.ceil((o-13)/(2*r-2))*2,l=[o-7];for(let u=1;u<r-1;u++)l[u]=l[u-1]-a;return l.push(6),l.reverse()},e.getPositions=function(s){const r=[],o=e.getRowColCoords(s),a=o.length;for(let l=0;l<a;l++)for(let u=0;u<a;u++)l===0&&u===0||l===0&&u===a-1||l===a-1&&u===0||r.push([o[l],o[u]]);return r}}(Ca)),Ca}var Oa={},Zf;function rT(){if(Zf)return Oa;Zf=1;const e=Ss().getSymbolSize,t=7;return Oa.getPositions=function(s){const r=e(s);return[[0,0],[r-t,0],[0,r-t]]},Oa}var Ra={},ed;function iT(){return ed||(ed=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const o=r.size;let a=0,l=0,u=0,d=null,f=null;for(let p=0;p<o;p++){l=u=0,d=f=null;for(let g=0;g<o;g++){let _=r.get(p,g);_===d?l++:(l>=5&&(a+=t.N1+(l-5)),d=_,l=1),_=r.get(g,p),_===f?u++:(u>=5&&(a+=t.N1+(u-5)),f=_,u=1)}l>=5&&(a+=t.N1+(l-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(r){const o=r.size;let a=0;for(let l=0;l<o-1;l++)for(let u=0;u<o-1;u++){const d=r.get(l,u)+r.get(l,u+1)+r.get(l+1,u)+r.get(l+1,u+1);(d===4||d===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const o=r.size;let a=0,l=0,u=0;for(let d=0;d<o;d++){l=u=0;for(let f=0;f<o;f++)l=l<<1&2047|r.get(d,f),f>=10&&(l===1488||l===93)&&a++,u=u<<1&2047|r.get(f,d),f>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let o=0;const a=r.data.length;for(let u=0;u<a;u++)o+=r.data[u];return Math.abs(Math.ceil(o*100/a/5)-10)*t.N4};function n(s,r,o){switch(s){case e.Patterns.PATTERN000:return(r+o)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(r+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return r*o%2+r*o%3===0;case e.Patterns.PATTERN110:return(r*o%2+r*o%3)%2===0;case e.Patterns.PATTERN111:return(r*o%3+(r+o)%2)%2===0;default:throw new Error("bad maskPattern:"+s)}}e.applyMask=function(r,o){const a=o.size;for(let l=0;l<a;l++)for(let u=0;u<a;u++)o.isReserved(u,l)||o.xor(u,l,n(r,u,l))},e.getBestMask=function(r,o){const a=Object.keys(e.Patterns).length;let l=0,u=1/0;for(let d=0;d<a;d++){o(d),e.applyMask(d,r);const f=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(d,r),f<u&&(u=f,l=d)}return l}}(Ra)),Ra}var Ri={},td;function Bp(){if(td)return Ri;td=1;const e=Yl(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ri.getBlocksCount=function(r,o){switch(o){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},Ri.getTotalCodewordsCount=function(r,o){switch(o){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},Ri}var Na={},wr={},nd;function oT(){if(nd)return wr;nd=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let s=1;for(let r=0;r<255;r++)e[r]=s,t[s]=r,s<<=1,s&256&&(s^=285);for(let r=255;r<512;r++)e[r]=e[r-255]}(),wr.log=function(s){if(s<1)throw new Error("log("+s+")");return t[s]},wr.exp=function(s){return e[s]},wr.mul=function(s,r){return s===0||r===0?0:e[t[s]+t[r]]},wr}var sd;function aT(){return sd||(sd=1,function(e){const t=oT();e.mul=function(s,r){const o=new Uint8Array(s.length+r.length-1);for(let a=0;a<s.length;a++)for(let l=0;l<r.length;l++)o[a+l]^=t.mul(s[a],r[l]);return o},e.mod=function(s,r){let o=new Uint8Array(s);for(;o.length-r.length>=0;){const a=o[0];for(let u=0;u<r.length;u++)o[u]^=t.mul(r[u],a);let l=0;for(;l<o.length&&o[l]===0;)l++;o=o.slice(l)}return o},e.generateECPolynomial=function(s){let r=new Uint8Array([1]);for(let o=0;o<s;o++)r=e.mul(r,new Uint8Array([1,t.exp(o)]));return r}}(Na)),Na}var xa,rd;function lT(){if(rd)return xa;rd=1;const e=aT();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(s){this.degree=s,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(s){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(s.length+this.degree);r.set(s);const o=e.mod(r,this.genPoly),a=this.degree-o.length;if(a>0){const l=new Uint8Array(this.degree);return l.set(o,a),l}return o},xa=t,xa}var Pa={},Da={},$a={},id;function Fp(){return id||(id=1,$a.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),$a}var cn={},od;function Up(){if(od)return cn;od=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const s="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
]))+`;cn.KANJI=new RegExp(n,"g"),cn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),cn.BYTE=new RegExp(s,"g"),cn.NUMERIC=new RegExp(e,"g"),cn.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return cn.testKanji=function(u){return r.test(u)},cn.testNumeric=function(u){return o.test(u)},cn.testAlphanumeric=function(u){return a.test(u)},cn}var ad;function Cs(){return ad||(ad=1,function(e){const t=Fp(),n=Up();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}}(Da)),Da}var ld;function cT(){return ld||(ld=1,function(e){const t=Ss(),n=Bp(),s=Yl(),r=Cs(),o=Fp(),a=7973,l=t.getBCHDigit(a);function u(g,_,v){for(let A=1;A<=40;A++)if(_<=e.getCapacity(A,v,g))return A}function d(g,_){return r.getCharCountIndicator(g,_)+4}function f(g,_){let v=0;return g.forEach(function(A){const I=d(A.mode,_);v+=I+A.getBitsLength()}),v}function p(g,_){for(let v=1;v<=40;v++)if(f(g,v)<=e.getCapacity(v,_,r.MIXED))return v}e.from=function(_,v){return o.isValid(_)?parseInt(_,10):v},e.getCapacity=function(_,v,A){if(!o.isValid(_))throw new Error("Invalid QR Code version");typeof A>"u"&&(A=r.BYTE);const I=t.getSymbolTotalCodewords(_),B=n.getTotalCodewordsCount(_,v),H=(I-B)*8;if(A===r.MIXED)return H;const w=H-d(A,_);switch(A){case r.NUMERIC:return Math.floor(w/10*3);case r.ALPHANUMERIC:return Math.floor(w/11*2);case r.KANJI:return Math.floor(w/13);case r.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(_,v){let A;const I=s.from(v,s.M);if(Array.isArray(_)){if(_.length>1)return p(_,I);if(_.length===0)return 1;A=_[0]}else A=_;return u(A.mode,A.getLength(),I)},e.getEncodedBits=function(_){if(!o.isValid(_)||_<7)throw new Error("Invalid QR Code version");let v=_<<12;for(;t.getBCHDigit(v)-l>=0;)v^=a<<t.getBCHDigit(v)-l;return _<<12|v}}(Pa)),Pa}var La={},cd;function uT(){if(cd)return La;cd=1;const e=Ss(),t=1335,n=21522,s=e.getBCHDigit(t);return La.getEncodedBits=function(o,a){const l=o.bit<<3|a;let u=l<<10;for(;e.getBCHDigit(u)-s>=0;)u^=t<<e.getBCHDigit(u)-s;return(l<<10|u)^n},La}var Ia={},Ma,ud;function fT(){if(ud)return Ma;ud=1;const e=Cs();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(s){return 10*Math.floor(s/3)+(s%3?s%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(s){let r,o,a;for(r=0;r+3<=this.data.length;r+=3)o=this.data.substr(r,3),a=parseInt(o,10),s.put(a,10);const l=this.data.length-r;l>0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ma=t,Ma}var ka,fd;function dT(){if(fd)return ka;fd=1;const e=Cs(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(s){this.mode=e.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o+2<=this.data.length;o+=2){let a=t.indexOf(this.data[o])*45;a+=t.indexOf(this.data[o+1]),r.put(a,11)}this.data.length%2&&r.put(t.indexOf(this.data[o]),6)},ka=n,ka}var Ba,dd;function hT(){if(dd)return Ba;dd=1;const e=Cs();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(s){return s*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let s=0,r=this.data.length;s<r;s++)n.put(this.data[s],8)},Ba=t,Ba}var Fa,hd;function pT(){if(hd)return Fa;hd=1;const e=Cs(),t=Ss();function n(s){this.mode=e.KANJI,this.data=s}return n.getBitsLength=function(r){return r*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let r;for(r=0;r<this.data.length;r++){let o=t.toSJIS(this.data[r]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+`
|
|
Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Fa=n,Fa}var Ua={exports:{}},pd;function mT(){return pd||(pd=1,function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=t.PriorityQueue.make();l.push(s,0);for(var u,d,f,p,g,_,v,A,I;!l.empty();){u=l.pop(),d=u.value,p=u.cost,g=n[d]||{};for(f in g)g.hasOwnProperty(f)&&(_=g[f],v=p+_,A=a[f],I=typeof a[f]>"u",(I||A>v)&&(a[f]=v,l.push(f,v),o[f]=d))}if(typeof r<"u"&&typeof a[r]>"u"){var B=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(B)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Ua)),Ua.exports}var md;function gT(){return md||(md=1,function(e){const t=Cs(),n=fT(),s=dT(),r=hT(),o=pT(),a=Up(),l=Ss(),u=mT();function d(B){return unescape(encodeURIComponent(B)).length}function f(B,H,w){const V=[];let U;for(;(U=B.exec(w))!==null;)V.push({data:U[0],index:U.index,mode:H,length:U[0].length});return V}function p(B){const H=f(a.NUMERIC,t.NUMERIC,B),w=f(a.ALPHANUMERIC,t.ALPHANUMERIC,B);let V,U;return l.isKanjiModeEnabled()?(V=f(a.BYTE,t.BYTE,B),U=f(a.KANJI,t.KANJI,B)):(V=f(a.BYTE_KANJI,t.BYTE,B),U=[]),H.concat(w,V,U).sort(function(R,S){return R.index-S.index}).map(function(R){return{data:R.data,mode:R.mode,length:R.length}})}function g(B,H){switch(H){case t.NUMERIC:return n.getBitsLength(B);case t.ALPHANUMERIC:return s.getBitsLength(B);case t.KANJI:return o.getBitsLength(B);case t.BYTE:return r.getBitsLength(B)}}function _(B){return B.reduce(function(H,w){const V=H.length-1>=0?H[H.length-1]:null;return V&&V.mode===w.mode?(H[H.length-1].data+=w.data,H):(H.push(w),H)},[])}function v(B){const H=[];for(let w=0;w<B.length;w++){const V=B[w];switch(V.mode){case t.NUMERIC:H.push([V,{data:V.data,mode:t.ALPHANUMERIC,length:V.length},{data:V.data,mode:t.BYTE,length:V.length}]);break;case t.ALPHANUMERIC:H.push([V,{data:V.data,mode:t.BYTE,length:V.length}]);break;case t.KANJI:H.push([V,{data:V.data,mode:t.BYTE,length:d(V.data)}]);break;case t.BYTE:H.push([{data:V.data,mode:t.BYTE,length:d(V.data)}])}}return H}function A(B,H){const w={},V={start:{}};let U=["start"];for(let x=0;x<B.length;x++){const R=B[x],S=[];for(let O=0;O<R.length;O++){const M=R[O],k=""+x+O;S.push(k),w[k]={node:M,lastCount:0},V[k]={};for(let $=0;$<U.length;$++){const z=U[$];w[z]&&w[z].node.mode===M.mode?(V[z][k]=g(w[z].lastCount+M.length,M.mode)-g(w[z].lastCount,M.mode),w[z].lastCount+=M.length):(w[z]&&(w[z].lastCount=M.length),V[z][k]=g(M.length,M.mode)+4+t.getCharCountIndicator(M.mode,H))}}U=S}for(let x=0;x<U.length;x++)V[U[x]].end=0;return{map:V,table:w}}function I(B,H){let w;const V=t.getBestModeForData(B);if(w=t.from(H,V),w!==t.BYTE&&w.bit<V.bit)throw new Error('"'+B+'" cannot be encoded with mode '+t.toString(w)+`.
|
|
Suggested mode is: `+t.toString(V));switch(w===t.KANJI&&!l.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new n(B);case t.ALPHANUMERIC:return new s(B);case t.KANJI:return new o(B);case t.BYTE:return new r(B)}}e.fromArray=function(H){return H.reduce(function(w,V){return typeof V=="string"?w.push(I(V,null)):V.data&&w.push(I(V.data,V.mode)),w},[])},e.fromString=function(H,w){const V=p(H,l.isKanjiModeEnabled()),U=v(V),x=A(U,w),R=u.find_path(x.map,"start","end"),S=[];for(let O=1;O<R.length-1;O++)S.push(x.table[R[O]].node);return e.fromArray(_(S))},e.rawSplit=function(H){return e.fromArray(p(H,l.isKanjiModeEnabled()))}}(Ia)),Ia}var gd;function _T(){if(gd)return wa;gd=1;const e=Ss(),t=Yl(),n=tT(),s=nT(),r=sT(),o=rT(),a=iT(),l=Bp(),u=lT(),d=cT(),f=uT(),p=Cs(),g=gT();function _(x,R){const S=x.size,O=o.getPositions(R);for(let M=0;M<O.length;M++){const k=O[M][0],$=O[M][1];for(let z=-1;z<=7;z++)if(!(k+z<=-1||S<=k+z))for(let j=-1;j<=7;j++)$+j<=-1||S<=$+j||(z>=0&&z<=6&&(j===0||j===6)||j>=0&&j<=6&&(z===0||z===6)||z>=2&&z<=4&&j>=2&&j<=4?x.set(k+z,$+j,!0,!0):x.set(k+z,$+j,!1,!0))}}function v(x){const R=x.size;for(let S=8;S<R-8;S++){const O=S%2===0;x.set(S,6,O,!0),x.set(6,S,O,!0)}}function A(x,R){const S=r.getPositions(R);for(let O=0;O<S.length;O++){const M=S[O][0],k=S[O][1];for(let $=-2;$<=2;$++)for(let z=-2;z<=2;z++)$===-2||$===2||z===-2||z===2||$===0&&z===0?x.set(M+$,k+z,!0,!0):x.set(M+$,k+z,!1,!0)}}function I(x,R){const S=x.size,O=d.getEncodedBits(R);let M,k,$;for(let z=0;z<18;z++)M=Math.floor(z/3),k=z%3+S-8-3,$=(O>>z&1)===1,x.set(M,k,$,!0),x.set(k,M,$,!0)}function B(x,R,S){const O=x.size,M=f.getEncodedBits(R,S);let k,$;for(k=0;k<15;k++)$=(M>>k&1)===1,k<6?x.set(k,8,$,!0):k<8?x.set(k+1,8,$,!0):x.set(O-15+k,8,$,!0),k<8?x.set(8,O-k-1,$,!0):k<9?x.set(8,15-k-1+1,$,!0):x.set(8,15-k-1,$,!0);x.set(O-8,8,1,!0)}function H(x,R){const S=x.size;let O=-1,M=S-1,k=7,$=0;for(let z=S-1;z>0;z-=2)for(z===6&&z--;;){for(let j=0;j<2;j++)if(!x.isReserved(M,z-j)){let X=!1;$<R.length&&(X=(R[$]>>>k&1)===1),x.set(M,z-j,X),k--,k===-1&&($++,k=7)}if(M+=O,M<0||S<=M){M-=O,O=-O;break}}}function w(x,R,S){const O=new n;S.forEach(function(j){O.put(j.mode.bit,4),O.put(j.getLength(),p.getCharCountIndicator(j.mode,x)),j.write(O)});const M=e.getSymbolTotalCodewords(x),k=l.getTotalCodewordsCount(x,R),$=(M-k)*8;for(O.getLengthInBits()+4<=$&&O.put(0,4);O.getLengthInBits()%8!==0;)O.putBit(0);const z=($-O.getLengthInBits())/8;for(let j=0;j<z;j++)O.put(j%2?17:236,8);return V(O,x,R)}function V(x,R,S){const O=e.getSymbolTotalCodewords(R),M=l.getTotalCodewordsCount(R,S),k=O-M,$=l.getBlocksCount(R,S),z=O%$,j=$-z,X=Math.floor(O/$),K=Math.floor(k/$),Q=K+1,G=X-K,ce=new u(G);let ue=0;const me=new Array($),ge=new Array($);let Re=0;const De=new Uint8Array(x.buffer);for(let te=0;te<$;te++){const ie=te<j?K:Q;me[te]=De.slice(ue,ue+ie),ge[te]=ce.encode(me[te]),ue+=ie,Re=Math.max(Re,ie)}const Be=new Uint8Array(O);let Ge=0,q,C;for(q=0;q<Re;q++)for(C=0;C<$;C++)q<me[C].length&&(Be[Ge++]=me[C][q]);for(q=0;q<G;q++)for(C=0;C<$;C++)Be[Ge++]=ge[C][q];return Be}function U(x,R,S,O){let M;if(Array.isArray(x))M=g.fromArray(x);else if(typeof x=="string"){let X=R;if(!X){const K=g.rawSplit(x);X=d.getBestVersionForData(K,S)}M=g.fromString(x,X||40)}else throw new Error("Invalid data");const k=d.getBestVersionForData(M,S);if(!k)throw new Error("The amount of data is too big to be stored in a QR Code");if(!R)R=k;else if(R<k)throw new Error(`
|
|
The chosen QR Code version cannot contain this amount of data.
|
|
Minimum version required to store current data is: `+k+`.
|
|
`);const $=w(R,S,M),z=e.getSymbolSize(R),j=new s(z);return _(j,R),v(j),A(j,R),B(j,S,0),R>=7&&I(j,R),H(j,$),isNaN(O)&&(O=a.getBestMask(j,B.bind(null,j,S))),a.applyMask(O,j),B(j,S,O),{modules:j,version:R,errorCorrectionLevel:S,maskPattern:O,segments:M}}return wa.create=function(R,S){if(typeof R>"u"||R==="")throw new Error("No input text");let O=t.M,M,k;return typeof S<"u"&&(O=t.from(S.errorCorrectionLevel,t.M),M=d.from(S.version),k=a.from(S.maskPattern),S.toSJISFunc&&e.setToSJISFunction(S.toSJISFunc)),U(R,M,O,k)},wa}var Ha={},Va={},_d;function Hp(){return _d||(_d=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=e.getScale(a,o),d=Math.floor((a+o.margin*2)*u),f=o.margin*u,p=[o.color.light,o.color.dark];for(let g=0;g<d;g++)for(let _=0;_<d;_++){let v=(g*d+_)*4,A=o.color.light;if(g>=f&&_>=f&&g<d-f&&_<d-f){const I=Math.floor((g-f)/u),B=Math.floor((_-f)/u);A=p[l[I*a+B]?1:0]}s[v++]=A.r,s[v++]=A.g,s[v++]=A.b,s[v]=A.a}}}(Va)),Va}var vd;function vT(){return vd||(vd=1,function(e){const t=Hp();function n(r,o,a){r.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function s(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,a,l){let u=l,d=a;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(d=s()),u=t.getOptions(u);const f=t.getImageWidth(o.modules.size,u),p=d.getContext("2d"),g=p.createImageData(f,f);return t.qrToImageData(g.data,o,u),n(p,d,f),p.putImageData(g,0,0),d},e.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const d=e.render(o,a,u),f=u.type||"image/png",p=u.rendererOpts||{};return d.toDataURL(f,p.quality)}}(Ha)),Ha}var ja={},bd;function bT(){if(bd)return ja;bd=1;const e=Hp();function t(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,d=!1,f=0;for(let p=0;p<r.length;p++){const g=Math.floor(p%o),_=Math.floor(p/o);!g&&!d&&(d=!0),r[p]?(f++,p>0&&g>0&&r[p-1]||(l+=d?n("M",g+a,.5+_+a):n("m",u,0),u=0,d=!1),g+1<o&&r[p+1]||(l+=n("h",f),f=0)):u++}return l}return ja.render=function(o,a,l){const u=e.getOptions(a),d=o.modules.size,f=o.modules.data,p=d+u.margin*2,g=u.color.light.a?"<path "+t(u.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",_="<path "+t(u.color.dark,"stroke")+' d="'+s(f,d,u.margin)+'"/>',v='viewBox="0 0 '+p+" "+p+'"',I='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+v+' shape-rendering="crispEdges">'+g+_+`</svg>
|
|
`;return typeof l=="function"&&l(null,I),I},ja}var yd;function yT(){if(yd)return qs;yd=1;const e=eT(),t=_T(),n=vT(),s=bT();function r(o,a,l,u,d){const f=[].slice.call(arguments,1),p=f.length,g=typeof f[p-1]=="function";if(!g&&!e())throw new Error("Callback required as last argument");if(g){if(p<2)throw new Error("Too few arguments provided");p===2?(d=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof d>"u"?(d=u,u=void 0):(d=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(_,v){try{const A=t.create(l,u);_(o(A,a,u))}catch(A){v(A)}})}try{const _=t.create(l,u);d(null,o(_,a,u))}catch(_){d(_)}}return qs.create=t.create,qs.toCanvas=r.bind(null,n.render),qs.toDataURL=r.bind(null,n.renderToDataURL),qs.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),qs}var ET=yT();const wT=Fl(ET),TT={class:"d-flex gap-2 flex-column"},AT=["id"],ST={__name:"qrcode",props:["content"],setup(e){const t=e,n=np().toString();return As(()=>{wT.toCanvas(document.getElementById(`qrcode_${n}`),t.content,function(s){})}),(s,r)=>(fe(),ye("div",TT,[T("canvas",{id:"qrcode_"+qt(n),class:"rounded-3"},null,8,AT)]))}},hl=Yn(ST,[["__scopeId","data-v-ec841c31"]]),CT={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll flex-column"},OT={class:"m-auto d-flex gap-3 flex-column p-3",style:{"max-width":"400px"}},RT={class:"d-flex flex-column gap-2 align-items-center"},NT={key:0,class:"d-flex flex-column gap-2 align-items-center"},xT=["download","href"],PT={__name:"configurationQRCode",props:["qrcodeData","protocol"],emits:["back"],setup(e,{emit:t}){const n=e,s=t,r=je(()=>{if(n.qrcodeData.amneziaVPN)return btoa(n.qrcodeData.amneziaVPN)}),o=je(()=>URL.createObjectURL(new Blob([n.qrcodeData.file],{type:"text/conf"})));return(a,l)=>(fe(),ye("div",CT,[T("div",null,[T("a",{role:"button",onClick:l[0]||(l[0]=u=>s("back")),class:"btn btn-outline-body rounded-3 btn-sm"},l[1]||(l[1]=[T("i",{class:"me-2 bi bi-chevron-left"},null,-1),we(" Back ")]))]),T("div",OT,[T("div",RT,[Pe(hl,{content:n.qrcodeData.file},null,8,["content"]),T("small",null," Scan with "+mt(e.protocol==="wg"?"WireGuard":"AmneziaWG")+" App ",1),r.value?(fe(),ye("div",NT,[Pe(hl,{content:r.value},null,8,["content"]),l[2]||(l[2]=T("small",null," Scan with AmneziaVPN App ",-1))])):tn("",!0),l[4]||(l[4]=T("hr",{class:"border-white w-100 my-2"},null,-1)),T("a",{download:n.qrcodeData.fileName+".conf",href:o.value,class:"btn bg-primary-subtle border-primary-subtle rounded-3"},l[3]||(l[3]=[T("i",{class:"bi bi-download me-2"},null,-1),we("Download ")]),8,xT)])])]))}},DT=Yn(PT,[["__scopeId","data-v-83f277d2"]]);var ki={exports:{}},$T=ki.exports,Ed;function LT(){return Ed||(Ed=1,function(e,t){(function(n,s){e.exports=s()})($T,function(){var n,s,r=1e3,o=6e4,a=36e5,l=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=31536e6,f=2628e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,g={years:d,months:f,days:l,hours:a,minutes:o,seconds:r,milliseconds:1,weeks:6048e5},_=function(x){return x instanceof V},v=function(x,R,S){return new V(x,S,R.$l)},A=function(x){return s.p(x)+"s"},I=function(x){return x<0},B=function(x){return I(x)?Math.ceil(x):Math.floor(x)},H=function(x){return Math.abs(x)},w=function(x,R){return x?I(x)?{negative:!0,format:""+H(x)+R}:{negative:!1,format:""+x+R}:{negative:!1,format:""}},V=function(){function x(S,O,M){var k=this;if(this.$d={},this.$l=M,S===void 0&&(this.$ms=0,this.parseFromMilliseconds()),O)return v(S*g[A(O)],this);if(typeof S=="number")return this.$ms=S,this.parseFromMilliseconds(),this;if(typeof S=="object")return Object.keys(S).forEach(function(j){k.$d[A(j)]=S[j]}),this.calMilliseconds(),this;if(typeof S=="string"){var $=S.match(p);if($){var z=$.slice(2).map(function(j){return j!=null?Number(j):0});return this.$d.years=z[0],this.$d.months=z[1],this.$d.weeks=z[2],this.$d.days=z[3],this.$d.hours=z[4],this.$d.minutes=z[5],this.$d.seconds=z[6],this.calMilliseconds(),this}}return this}var R=x.prototype;return R.calMilliseconds=function(){var S=this;this.$ms=Object.keys(this.$d).reduce(function(O,M){return O+(S.$d[M]||0)*g[M]},0)},R.parseFromMilliseconds=function(){var S=this.$ms;this.$d.years=B(S/d),S%=d,this.$d.months=B(S/f),S%=f,this.$d.days=B(S/l),S%=l,this.$d.hours=B(S/a),S%=a,this.$d.minutes=B(S/o),S%=o,this.$d.seconds=B(S/r),S%=r,this.$d.milliseconds=S},R.toISOString=function(){var S=w(this.$d.years,"Y"),O=w(this.$d.months,"M"),M=+this.$d.days||0;this.$d.weeks&&(M+=7*this.$d.weeks);var k=w(M,"D"),$=w(this.$d.hours,"H"),z=w(this.$d.minutes,"M"),j=this.$d.seconds||0;this.$d.milliseconds&&(j+=this.$d.milliseconds/1e3,j=Math.round(1e3*j)/1e3);var X=w(j,"S"),K=S.negative||O.negative||k.negative||$.negative||z.negative||X.negative,Q=$.format||z.format||X.format?"T":"",G=(K?"-":"")+"P"+S.format+O.format+k.format+Q+$.format+z.format+X.format;return G==="P"||G==="-P"?"P0D":G},R.toJSON=function(){return this.toISOString()},R.format=function(S){var O=S||"YYYY-MM-DDTHH:mm:ss",M={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return O.replace(u,function(k,$){return $||String(M[k])})},R.as=function(S){return this.$ms/g[A(S)]},R.get=function(S){var O=this.$ms,M=A(S);return M==="milliseconds"?O%=1e3:O=M==="weeks"?B(O/g[M]):this.$d[M],O||0},R.add=function(S,O,M){var k;return k=O?S*g[A(O)]:_(S)?S.$ms:v(S,this).$ms,v(this.$ms+k*(M?-1:1),this)},R.subtract=function(S,O){return this.add(S,O,!0)},R.locale=function(S){var O=this.clone();return O.$l=S,O},R.clone=function(){return v(this.$ms,this)},R.humanize=function(S){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!S)},R.valueOf=function(){return this.asMilliseconds()},R.milliseconds=function(){return this.get("milliseconds")},R.asMilliseconds=function(){return this.as("milliseconds")},R.seconds=function(){return this.get("seconds")},R.asSeconds=function(){return this.as("seconds")},R.minutes=function(){return this.get("minutes")},R.asMinutes=function(){return this.as("minutes")},R.hours=function(){return this.get("hours")},R.asHours=function(){return this.as("hours")},R.days=function(){return this.get("days")},R.asDays=function(){return this.as("days")},R.weeks=function(){return this.get("weeks")},R.asWeeks=function(){return this.as("weeks")},R.months=function(){return this.get("months")},R.asMonths=function(){return this.as("months")},R.years=function(){return this.get("years")},R.asYears=function(){return this.as("years")},x}(),U=function(x,R,S){return x.add(R.years()*S,"y").add(R.months()*S,"M").add(R.days()*S,"d").add(R.hours()*S,"h").add(R.minutes()*S,"m").add(R.seconds()*S,"s").add(R.milliseconds()*S,"ms")};return function(x,R,S){n=S,s=S().$utils(),S.duration=function(k,$){var z=S.locale();return v(k,{$l:z},$)},S.isDuration=_;var O=R.prototype.add,M=R.prototype.subtract;R.prototype.add=function(k,$){return _(k)?U(this,k,1):O.bind(this)(k,$)},R.prototype.subtract=function(k,$){return _(k)?U(this,k,-1):M.bind(this)(k,$)}}})}(ki)),ki.exports}var IT=LT();const MT=Fl(IT),kT={class:"card rounded-3 border-0 shadow"},BT={class:"card-header rounded-top-3 border-0 align-items-center d-flex p-3 flex-column flex-sm-row gap-2"},FT={class:"fw-bold"},UT={class:"card-body p-3 d-flex gap-3 flex-column"},HT={class:"mb-1 d-flex align-items-center"},VT={class:"fw-bold ms-auto"},jT={class:"progress",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100",style:{height:"6px"}},qT={class:"mb-1 d-flex align-items-center"},KT={class:"fw-bold ms-auto"},WT={__name:"configuration",props:["config"],emits:["select"],setup(e,{emit:t}){Ar.extend(MT);const n=e;Le(!1);const s=je(()=>n.config.jobs.filter(d=>d.Field==="date").sort((d,f)=>Ar(d.Value).isBefore(f.Value)?-1:Ar(d.Value).isAfter(f.Value)?1:0)),r=je(()=>n.config.jobs.filter(d=>d.Field==="total_data").sort((d,f)=>parseFloat(f.Value)-parseFloat(d.Value))),o=je(()=>{if(s.value.length>0)return s.value[0].Value}),a=je(()=>{if(r.value.length>0)return r.value[0].Value}),l=je(()=>a.value?n.config.data/a.value*100:100);window.dayjs=Ar;const u=t;return(d,f)=>(fe(),ye("div",kT,[T("div",BT,[T("small",FT,mt(n.config.name),1),T("span",{class:Qt(["badge rounded-3 ms-sm-auto",[n.config.protocol==="wg"?"wireguardBg":"amneziawgBg"]])},mt(n.config.protocol==="wg"?"WireGuard":"AmneziaWG"),3)]),T("div",UT,[T("div",null,[T("div",HT,[f[1]||(f[1]=T("small",{class:"text-muted"},[T("i",{class:"bi bi-bar-chart-fill me-1"}),we(" Data Usage ")],-1)),T("small",VT,mt(n.config.data.toFixed(4))+" / "+mt(a.value?parseFloat(a.value).toFixed(4):"Unlimited")+" GB ",1)]),T("div",jT,[T("div",{class:"progress-bar bg-primary",style:eo({width:""+l.value+"%"})},null,4)])]),T("div",null,[T("div",qT,[f[2]||(f[2]=T("small",{class:"text-muted"},[T("i",{class:"bi bi-calendar me-1"}),we(" Valid Until ")],-1)),T("small",KT,mt(o.value?o.value:"Unlimited Time"),1)])]),T("button",{class:"btn btn-outline-body rounded-3 flex-grow-1 fw-bold w-100",onClick:f[0]||(f[0]=p=>u("select"))},f[3]||(f[3]=[T("i",{class:"bi bi-link-45deg me-2"},null,-1),T("small",null,"Connect",-1)]))])]))}},YT=Yn(WT,[["__scopeId","data-v-5e50834a"]]),zT={class:"p-sm-3"},GT={class:"w-100 d-flex align-items-center"},JT={class:"nav-link text-body border-start-0","aria-current":"page",href:"#"},QT={class:"ms-auto px-3 d-flex gap-2 nav-links"},XT={key:0,class:"d-flex flex-column gap-3"},ZT={key:0,class:"p-3 d-flex flex-column gap-3"},eA={key:1,class:"text-center text-muted"},tA={key:1,class:"d-flex p-3"},nA={__name:"index",async setup(e){let t,n;const s=rn(),r=Le(!0),o=je(()=>s.configurations),a=Le(void 0);[t,n]=io(()=>s.getClientProfile()),await t,n(),As(async()=>{await s.getConfigurations(),r.value=!1,a.value=setInterval(async()=>{await s.getConfigurations()},5e3)}),j1(()=>{clearInterval(a.value)});const l=vo(),u=Le(!1),d=async()=>{clearInterval(a.value),u.value=!0,await Ke.get(ar("/api/signout")).then(()=>{l.push("/signin")}).catch(()=>{l.push("/signin")}),s.newNotification("Sign out successful","success")},f=Le(void 0);return(p,g)=>{const _=ir("RouterLink");return fe(),ye("div",zT,[T("div",GT,[T("a",JT,[T("strong",null," Hi, "+mt(qt(s).clientProfile.Profile.Name?qt(s).clientProfile.Profile.Name:qt(s).clientProfile.Email),1)]),T("div",QT,[Pe(_,{to:"/settings",class:"text-body btn btn-outline-body rounded-3 ms-auto btn-sm","aria-current":"page",href:"#"},{default:it(()=>g[2]||(g[2]=[T("i",{class:"bi bi-gear-fill me-sm-2"},null,-1),T("span",null,"Settings",-1)])),_:1,__:[2]}),T("a",{role:"button",onClick:g[0]||(g[0]=v=>d()),class:Qt(["btn btn-outline-danger rounded-3 btn-sm",{disabled:u.value}]),"aria-current":"page"},[g[3]||(g[3]=T("i",{class:"bi bi-box-arrow-left me-sm-2"},null,-1)),T("span",null,mt(u.value?"Signing out...":"Sign Out"),1)],2)])]),Pe(Hr,{name:"app",mode:"out-in"},{default:it(()=>[r.value?(fe(),ye("div",tA,g[5]||(g[5]=[T("div",{class:"bg-body rounded-3 d-flex",style:{width:"100%",height:"211px"}},[T("div",{class:"spinner-border m-auto"})],-1)]))):(fe(),ye("div",XT,[o.value.length>0?(fe(),ye("div",ZT,[(fe(!0),ye(St,null,Dl(o.value,v=>(fe(),en(YT,{onSelect:A=>f.value=v,config:v},null,8,["onSelect","config"]))),256))])):(fe(),ye("div",eA,g[4]||(g[4]=[T("small",null,"No configuration available",-1)])))]))]),_:1}),Pe(Hr,{name:"app"},{default:it(()=>[f.value!==void 0?(fe(),en(DT,{key:0,config:f.value.config,protocol:f.value.protocol,onBack:g[1]||(g[1]=v=>f.value=void 0),"qrcode-data":f.value.peer_configuration_data},null,8,["config","protocol","qrcode-data"])):tn("",!0)]),_:1})])}}},sA=Yn(nA,[["__scopeId","data-v-9bb8c5cf"]]),rA=["href"],iA={__name:"oidcBtn",props:["provider","name"],async setup(e){let t,n;const s=e,r=Le(!1),o=Le({}),a=new URLSearchParams({client_id:s.provider.client_id,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname,response_type:"code",state:s.name,scope:"openid email profile"}).toString(),l=Le(void 0);try{const u=([t,n]=io(()=>Ke(`${s.provider.issuer}/.well-known/openid-configuration`)),t=await t,n(),t);console.log(u),r.value=!0,o.value=u.data,console.log(o.value),l.value=new URL(o.value.authorization_endpoint),l.value.search=a}catch{console.log("Provider not available",s.provider)}return(u,d)=>r.value?(fe(),ye("a",{key:0,class:"btn btn-sm btn-outline-body rounded-3",href:l.value,style:{flex:"1 1 0px"}},mt(e.name),9,rA)):tn("",!0)}},oA={key:0},aA={class:"d-flex gap-2"},lA={__name:"oidc",async setup(e){let t,n;const s=Le(!1),r=Le(void 0),o=([t,n]=io(()=>Vr("/api/signin/oidc/providers")),t=await t,n(),t);return o&&Object.keys(o.data).length>0&&(s.value=!0,r.value=o.data,console.log(r.value)),(a,l)=>r.value?(fe(),ye("div",oA,[l[1]||(l[1]=T("hr",null,null,-1)),l[2]||(l[2]=T("h6",{class:"text-center text-muted mb-3"},[T("small",null,"Sign in with")],-1)),T("div",aA,[(fe(),en(kh,null,{fallback:it(()=>l[0]||(l[0]=[T("a",{class:"btn btn-sm btn-outline-body rounded-3 w-100 disabled"}," Loading... ",-1)])),default:it(()=>[(fe(!0),ye(St,null,Dl(r.value,(u,d)=>(fe(),en(iA,{provider:u,name:d},null,8,["provider","name"]))),256))]),_:1}))]),l[3]||(l[3]=T("hr",null,null,-1))])):tn("",!0)}},cA={class:"form-floating"},uA=["disabled"],fA={class:"form-floating"},dA=["disabled"],hA={class:"d-flex"},pA=["disabled"],mA={key:0,class:"d-block"},gA={key:1,class:"d-block"},_A={key:0},vA={class:"d-flex align-items-center"},bA={__name:"signInForm",emits:["totpToken"],setup(e,{emit:t}){const n=Le(!1),s=Cn({Email:"",Password:""}),r=t;Le("");const o=rn(),a=async d=>{if(d.preventDefault(),!l){o.newNotification("Please fill in all fields","warning");return}n.value=!0;const f=await vs("/api/signin",s);f.status?r("totpToken",f.message):(o.newNotification(f.message,"danger"),n.value=!1)},l=je(()=>Object.values(s).find(d=>!d)===void 0),u=Z1();return u.query.Email&&(s.Email=u.query.Email),(d,f)=>{const p=ir("RouterLink");return fe(),ye("div",null,[f[10]||(f[10]=T("div",{class:"text-center"},[T("h1",{class:"display-4"},"Welcome"),T("p",{class:"text-muted"},[we("Sign in to access your "),T("strong",null,"WGDashboard Client"),we(" account")])],-1)),Pe(lA),T("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:f[2]||(f[2]=g=>a(g))},[T("div",cA,[It(T("input",{type:"text",required:"",disabled:n.value,"onUpdate:modelValue":f[0]||(f[0]=g=>s.Email=g),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3 border-0",id:"email",placeholder:"email"},null,8,uA),[[Vt,s.Email]]),f[3]||(f[3]=T("label",{for:"email",class:"d-flex"},[T("i",{class:"bi bi-person-circle me-2"}),we(" Email ")],-1))]),T("div",fA,[It(T("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":f[1]||(f[1]=g=>s.Password=g),name:"password",autocomplete:"current-password",class:"form-control rounded-3 border-0",id:"password",placeholder:"Password"},null,8,dA),[[Vt,s.Password]]),f[4]||(f[4]=T("label",{for:"password",class:"d-flex"},[T("i",{class:"bi bi-key me-2"}),we(" Password ")],-1))]),T("div",hA,[Pe(p,{to:"forgotPassword",class:"text-body text-decoration-none ms-auto btn btn-sm rounded-3"},{default:it(()=>f[5]||(f[5]=[we(" Forgot Password? ")])),_:1,__:[5]})]),T("button",{disabled:!l.value||n.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(fe(),ye("span",gA,f[6]||(f[6]=[we(" Loading..."),T("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(fe(),ye("span",mA," Sign In "))],8,pA)],32),qt(o).serverInformation.SignUp.enable?(fe(),ye("div",_A,[f[9]||(f[9]=T("hr",{class:"my-4"},null,-1)),T("div",vA,[f[8]||(f[8]=T("span",{class:"text-muted"}," Don't have an account yet? ",-1)),Pe(p,{to:"/signup",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:it(()=>f[7]||(f[7]=[we(" Sign Up ")])),_:1,__:[7]})])])):tn("",!0)])}}},yA={key:0,class:"card rounded-3 text-center"},EA={class:"card-body d-flex gap-3 flex-column align-items-center"},wA={class:"card rounded-3 w-100"},TA={class:"card-body"},AA=["href"],SA={key:0},CA={class:"d-flex flex-column gap-3 text-center"},OA=["disabled"],RA=["disabled"],NA={key:0,class:"d-block"},xA={key:1,class:"d-block"},PA={__name:"totpForm",props:["totpToken"],emits:["clearToken"],setup(e,{emit:t}){const n=e,s=Le(""),r=Cn({TOTP:""}),o=Le(!0),a=()=>{r.TOTP=r.TOTP.replace(/\D/i,"")},l=je(()=>/^[0-9]{6}$/.test(r.TOTP)),u=rn(),d=vo();As(()=>{Ke.get(ar("/api/signin/totp"),{params:{Token:n.totpToken}}).then(g=>{let _=g.data;o.value=!1,_.status?_.message&&(s.value=_.message):(u.newNotification(_.message,"danger"),d.push("/signin"))})});const f=t,p=async g=>{if(g&&g.preventDefault(),l){o.value=!0;const _=await vs("/api/signin/totp",{Token:n.totpToken,UserProvidedTOTP:r.TOTP});o.value=!1,_?_.status?(u.clientProfile=_.data,d.push("/")):u.newNotification(_.message,"danger"):(u.newNotification("Sign in status is invalid","danger"),f("clearToken"))}};return Js(l,()=>{p()}),(g,_)=>(fe(),ye("form",{class:"d-flex flex-column gap-3",onSubmit:_[3]||(_[3]=v=>p(v))},[T("div",null,[T("a",{role:"button",onClick:_[0]||(_[0]=v=>f("clearToken")),class:"btn btn-outline-body btn-sm rounded-3"},_[4]||(_[4]=[T("i",{class:"me-2 bi bi-chevron-left"},null,-1),we(" Back ")]))]),T("div",null,[_[9]||(_[9]=T("h1",{class:"mb-3 text-center"},"Multi-Factor Authentication (MFA)",-1)),s.value?(fe(),ye("div",yA,[T("div",EA,[_[5]||(_[5]=T("h2",{class:"mb-0"},"Initial Setup",-1)),_[6]||(_[6]=T("p",{class:"mb-0"},"Please scan the following QR Code to generate TOTP with your choice of authenticator",-1)),Pe(hl,{content:s.value},null,8,["content"]),_[7]||(_[7]=T("p",{class:"mb-0"},"Or you can click the link below:",-1)),T("div",wA,[T("div",TA,[T("a",{href:s.value,style:{"text-wrap":"auto"}},mt(s.value),9,AA)])]),_[8]||(_[8]=T("div",{class:"alert alert-warning mb-0 rounded-3"},[T("strong",null," Please note: You won't be able to see this QR Code again, so please save it somewhere safe in case you need to recover your TOTP key ")],-1))])])):tn("",!0)]),s.value?(fe(),ye("hr",SA)):tn("",!0),T("div",CA,[_[12]||(_[12]=T("label",{for:"totp"},"Enter the TOTP generated by your authenticator to verify",-1)),It(T("input",{class:"form-control form-control-lg rounded-3 text-center",id:"totp",disabled:o.value,autofocus:"",onKeyup:_[1]||(_[1]=v=>a()),maxlength:"6",type:"text",inputmode:"numeric",placeholder:"- - - - - -",autocomplete:"one-time-code","onUpdate:modelValue":_[2]||(_[2]=v=>r.TOTP=v)},null,40,OA),[[Vt,r.TOTP]]),T("button",{disabled:!l.value||o.value,class:"btn btn-body rounded-3 px-3 py-2 fw-bold"},[o.value?(fe(),ye("span",xA,_[11]||(_[11]=[we(" Loading... "),T("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(fe(),ye("span",NA,_[10]||(_[10]=[we(" Continue "),T("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,RA)])],32))}},DA=Yn(PA,[["__scopeId","data-v-c81aa653"]]),$A={class:"p-3 p-sm-5"},LA={__name:"signin",setup(e){const t=Le("");return(n,s)=>(fe(),ye("div",$A,[Pe(Hr,{name:"app",mode:"out-in"},{default:it(()=>[t.value?(fe(),en(DA,{key:1,onClearToken:s[1]||(s[1]=r=>t.value=""),"totp-token":t.value},null,8,["totp-token"])):(fe(),en(bA,{key:0,onTotpToken:s[0]||(s[0]=r=>{t.value=r})}))]),_:1})]))}},IA={class:"p-3 p-sm-5"},MA={class:"form-floating"},kA=["disabled"],BA={class:"row gx-3"},FA={class:"col-6"},UA={class:"form-floating"},HA=["disabled"],VA={class:"col-6"},jA={class:"form-floating"},qA=["disabled"],KA=["disabled"],WA={key:0,class:"d-block"},YA={key:1,class:"d-block"},zA={class:"d-flex align-items-center"},GA={__name:"signup",setup(e){const t=rn(),n=Cn({Email:"",Password:"",ConfirmPassword:""}),s=Le(!1),r=vo(),o=async u=>{if(u.preventDefault(),!l){t.newNotification("Please fill in all fields","warning");return}a&&(s.value=!0,await Ke.post(ar("/api/signup"),n).then(d=>{let f=d.data;f.status?(t.newNotification("Sign up successfully!","success"),r.push({path:"/signin",query:{Email:n.Email}})):(t.newNotification(f.message,"danger"),s.value=!1)}))},a=je(()=>n.Password&&n.ConfirmPassword?n.Password===n.ConfirmPassword:!1),l=je(()=>Object.values(n).find(u=>!u)===void 0);return As(()=>{document.querySelectorAll("input[type=password]").forEach(u=>u.addEventListener("blur",()=>{n.Password&&n.ConfirmPassword&&document.querySelectorAll("input[type=password]").forEach(d=>{a.value?d.classList.remove("is-invalid"):d.classList.add("is-invalid")})}))}),(u,d)=>{const f=ir("RouterLink");return fe(),ye("div",IA,[d[13]||(d[13]=T("div",{class:"text-center"},[T("h1",{class:"display-4"},"Hi, nice to meet you"),T("p",{class:"text-muted"},[we("Sign up to use "),T("strong",null,"WGDashboard Client")])],-1)),T("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:d[3]||(d[3]=p=>o(p))},[T("div",MA,[It(T("input",{type:"text",disabled:s.value,required:"","onUpdate:modelValue":d[0]||(d[0]=p=>n.Email=p),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3",id:"email",placeholder:"email"},null,8,kA),[[Vt,n.Email]]),d[4]||(d[4]=T("label",{for:"email",class:"d-flex"},[T("i",{class:"bi bi-person-circle me-2"}),we(" Email ")],-1))]),T("div",BA,[T("div",FA,[T("div",UA,[It(T("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":d[1]||(d[1]=p=>n.Password=p),name:"password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"password",placeholder:"password"},null,8,HA),[[Vt,n.Password]]),d[5]||(d[5]=T("label",{for:"password",class:"d-flex"},[T("i",{class:"bi bi-key me-2"}),we(" Password ")],-1))])]),T("div",VA,[T("div",jA,[It(T("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":d[2]||(d[2]=p=>n.ConfirmPassword=p),name:"confirm_password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"confirm_password",placeholder:"confirm_password"},null,8,qA),[[Vt,n.ConfirmPassword]]),d[6]||(d[6]=T("label",{for:"confirm_password",class:"d-flex"},[T("i",{class:"bi bi-key me-2"}),we(" Confirm Password ")],-1)),d[7]||(d[7]=T("div",{id:"validationServer03Feedback",class:"invalid-feedback"}," Passwords does not match ",-1))])])]),T("button",{disabled:!l.value||!a.value||s.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[s.value?(fe(),ye("span",YA,d[9]||(d[9]=[we(" Loading... "),T("i",{class:"spinner-border spinner-border-sm"},null,-1)]))):(fe(),ye("span",WA,d[8]||(d[8]=[we(" Continue "),T("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,KA)],32),T("div",null,[d[12]||(d[12]=T("hr",{class:"my-4"},null,-1)),T("div",zA,[d[11]||(d[11]=T("span",{class:"text-muted"}," Already have an account? ",-1)),Pe(f,{to:"/signin",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:it(()=>d[10]||(d[10]=[we(" Sign In ")])),_:1,__:[10]})])])])}}},JA={class:"d-flex align-items-start"},QA={key:0,class:"alert alert-danger rounded-3 mt-3"},XA={class:"row g-2 mb-3"},ZA={class:"col-sm-12"},eS=["type"],tS={class:"col-sm-6"},nS=["type"],sS={class:"col-sm-6"},rS=["type"],iS={__name:"updatePassword",setup(e){const t=Cn({CurrentPassword:"",NewPassword:"",ConfirmNewPassword:""}),n=()=>{t.CurrentPassword="",t.NewPassword="",t.ConfirmNewPassword=""},s=rn(),r=async u=>{u.preventDefault(),document.querySelectorAll("#updatePasswordForm input").forEach(f=>f.blur());const d=await vs("/api/settings/updatePassword",t);d?d.status?(a.value=!1,s.newNotification("Password updated!","success"),n()):(a.value=!0,l.value=d.message):(a.value=!0,l.value="Error occurred")},o=Le(!1),a=Le(!1),l=Le("");return(u,d)=>(fe(),ye("form",{onSubmit:d[4]||(d[4]=f=>r(f)),id:"updatePasswordForm",onReset:d[5]||(d[5]=f=>n()),class:"p-3"},[T("div",JA,[d[6]||(d[6]=T("h5",null," Update Password ",-1)),T("a",{role:"button",onClick:d[0]||(d[0]=f=>o.value=!o.value),class:"text-muted ms-auto text-decoration-none"},[T("small",null,[T("i",{class:Qt([[o.value?"bi-eye-slash-fill":"bi-eye-fill"],"bi me-2"])},null,2),we(mt(o.value?"Hide":"Show")+" Password ",1)])])]),a.value?(fe(),ye("div",QA,mt(l.value),1)):tn("",!0),T("div",XA,[T("div",ZA,[d[7]||(d[7]=T("label",{class:"text-muted form-label",for:"CurrentPassword"},[T("small",null,"Current Password")],-1)),It(T("input",{class:Qt(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",autocomplete:"current-password",id:"CurrentPassword","onUpdate:modelValue":d[1]||(d[1]=f=>t.CurrentPassword=f)},null,10,eS),[[fa,t.CurrentPassword]])]),T("div",tS,[d[8]||(d[8]=T("label",{class:"text-muted form-label",for:"NewPassword"},[T("small",null,"New Password")],-1)),It(T("input",{class:Qt(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"NewPassword",autocomplete:"new-password","onUpdate:modelValue":d[2]||(d[2]=f=>t.NewPassword=f)},null,10,nS),[[fa,t.NewPassword]])]),T("div",sS,[d[9]||(d[9]=T("label",{class:"text-muted form-label",for:"ConfirmNewPassword"},[T("small",null,"Confirm New Password")],-1)),It(T("input",{class:Qt(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"ConfirmNewPassword",autocomplete:"new-password","onUpdate:modelValue":d[3]||(d[3]=f=>t.ConfirmNewPassword=f)},null,10,rS),[[fa,t.ConfirmNewPassword]])])]),d[10]||(d[10]=T("div",{class:"d-flex gap-2"},[T("button",{class:"btn btn-sm btn-secondary rounded-3 ms-auto",type:"reset"},"Clear"),T("button",{class:"btn btn-sm btn-danger rounded-3",type:"submit"},"Update")],-1))],32))}},oS={class:"p-sm-3"},aS={class:"w-100 d-flex align-items-center p-3"},lS={__name:"settings",async setup(e){let t,n;const s=rn();return[t,n]=io(()=>s.getClientProfile()),await t,n(),(r,o)=>{const a=ir("RouterLink");return fe(),ye("div",oS,[T("div",aS,[Pe(a,{to:"/",class:"text-body btn btn-outline-body rounded-3 btn-sm","aria-current":"page",href:"#"},{default:it(()=>o[0]||(o[0]=[T("i",{class:"bi bi-chevron-left me-sm-2"},null,-1),T("span",null,"Back",-1)])),_:1,__:[0]}),o[1]||(o[1]=T("strong",{class:"ms-auto"},"Settings",-1))]),qt(s).clientProfile.SignInMethod==="local"?(fe(),en(iS,{key:0})):tn("",!0)])}}},cS={class:"p-3 p-sm-5"},uS={key:0},fS={class:"form-floating"},dS=["disabled"],hS=["disabled"],pS={key:0,class:"d-block"},mS={key:1,class:"d-block"},gS={key:1},_S={class:"text-center"},vS={key:0,class:"text-muted"},bS={class:"form-floating"},yS=["disabled"],ES=["disabled"],wS={key:0,class:"d-block"},TS={key:1,class:"d-block"},AS={key:2},SS={class:"form-floating"},CS=["disabled"],OS={class:"form-floating"},RS=["disabled"],NS=["disabled"],xS={key:0,class:"d-block"},PS={key:1,class:"d-block"},DS={class:"d-flex align-items-center"},$S=xl({__name:"forgotPassword",setup(e){const t=Le(""),n=Le(!1),s=Le(!1),r=rn(),o=Le(void 0),a=Le(120),l=async H=>{H&&H.preventDefault(),n.value=!0;const w=await vs("/api/resetPassword/generateResetToken",{Email:t.value});n.value=!1,w.status?(s.value=!0,a.value=120,o.value=setInterval(()=>{a.value--,a.value===0&&clearInterval(o.value)},1e3)):r.newNotification(w.message,"danger")},u=Le(""),d=()=>{u.value=u.value.replace(/\D/i,""),u.value=u.value.slice(0,6)},f=je(()=>/^[0-9]{6}$/.test(u.value)),p=Le(!1),g=async H=>{H&&H.preventDefault(),n.value=!0;let w=await vs("/api/resetPassword/validateResetToken",{Email:t.value,Token:u.value});n.value=!1,w.status?p.value=!0:r.newNotification("Your verification code is either invalid or expired","danger")},_=Le(""),v=Le(""),A=je(()=>_.value&&v.value&&_.value===v.value),I=vo(),B=async H=>{H&&H.preventDefault(),n.value=!0,(await vs("/api/resetPassword",{Email:t.value,Token:u.value,Password:_.value,ConfirmPassword:v.value})).status&&(r.newNotification("Password reset! Now you can sign in with your new password","success"),await I.push("/signin"))};return(H,w)=>{const V=ir("RouterLink");return fe(),ye("div",cS,[Pe(Hr,{name:"app",mode:"out-in"},{default:it(()=>[s.value?s.value&&!p.value?(fe(),ye("div",gS,[T("a",{role:"button",class:"text-decoration-none text-body",onClick:w[2]||(w[2]=U=>{s.value=!1,u.value=""})},w[16]||(w[16]=[T("i",{class:"me-2 bi bi-chevron-left"},null,-1),we(" Back ")])),T("div",_S,[w[17]||(w[17]=T("h1",{class:"display-4"},"Almost there",-1)),w[18]||(w[18]=T("p",{class:"text-muted"},"Enter the code you received below to retrieve a reset your password",-1)),a.value>0?(fe(),ye("p",vS,"Didn't get the code? Maybe check your Spam/Junk mailbox. You can get another code in "+mt(a.value)+" seconds.",1)):a.value===0&&!n.value?(fe(),ye("a",{key:1,role:"button",class:Qt({disabled:n.value}),onClick:w[3]||(w[3]=U=>l())},"Resend",2)):tn("",!0)]),T("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:w[6]||(w[6]=U=>g(U))},[T("div",bS,[It(T("input",{type:"text",inputmode:"numeric",required:"",disabled:n.value,"onUpdate:modelValue":w[4]||(w[4]=U=>u.value=U),onKeyup:w[5]||(w[5]=U=>d()),autocomplete:"one-time-code",autofocus:"",class:"form-control rounded-3 border-0",id:"token",placeholder:"token"},null,40,yS),[[Vt,u.value]]),w[19]||(w[19]=T("label",{for:"email",class:"d-flex"},[T("i",{class:"bi bi-person-circle me-2"}),we(" 6 Digits Verification Code ")],-1))]),T("button",{disabled:!f.value||n.value,type:"submit",class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(fe(),ye("span",TS,w[21]||(w[21]=[we(" Loading..."),T("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(fe(),ye("span",wS,w[20]||(w[20]=[we(" Continue "),T("i",{class:"bi bi-arrow-right ms-2"},null,-1)])))],8,ES)],32)])):s.value&&p.value?(fe(),ye("div",AS,[T("a",{role:"button",class:"text-decoration-none text-body",onClick:w[7]||(w[7]=U=>{s.value=!1,u.value="",p.value=!1})},w[22]||(w[22]=[T("i",{class:"me-2 bi bi-chevron-left"},null,-1),we(" Back ")])),w[28]||(w[28]=T("div",{class:"text-center"},[T("h1",{class:"display-4"},"Last step"),T("p",{class:"text-muted"},"Enter your new password below")],-1)),T("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:w[10]||(w[10]=U=>B(U))},[T("div",SS,[It(T("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":w[8]||(w[8]=U=>_.value=U),name:"password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"password",placeholder:"password"},null,8,CS),[[Vt,_.value]]),w[23]||(w[23]=T("label",{for:"password",class:"d-flex"},[T("i",{class:"bi bi-key me-2"}),we(" Password ")],-1))]),T("div",OS,[It(T("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":w[9]||(w[9]=U=>v.value=U),name:"confirm_password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"confirm_password",placeholder:"confirm_password"},null,8,RS),[[Vt,v.value]]),w[24]||(w[24]=T("label",{for:"confirm_password",class:"d-flex"},[T("i",{class:"bi bi-key me-2"}),we(" Confirm Password ")],-1)),w[25]||(w[25]=T("div",{id:"validationServer03Feedback",class:"invalid-feedback"}," Passwords does not match ",-1))]),T("button",{disabled:!A.value||n.value,type:"submit",class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(fe(),ye("span",PS,w[27]||(w[27]=[we(" Loading..."),T("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(fe(),ye("span",xS,w[26]||(w[26]=[we(" Continue "),T("i",{class:"bi bi-arrow-right ms-2"},null,-1)])))],8,NS)],32)])):tn("",!0):(fe(),ye("div",uS,[Pe(V,{to:"signin",role:"button",class:"btn btn-outline-body btn-sm rounded-3"},{default:it(()=>w[11]||(w[11]=[T("i",{class:"me-2 bi bi-chevron-left"},null,-1),we(" Back ")])),_:1,__:[11]}),w[15]||(w[15]=T("div",{class:"text-center"},[T("h1",{class:"display-4"},"No worries"),T("p",{class:"text-muted"},[we("Enter the email address of your "),T("strong",null,"WGDashboard Client"),we(" account below to receive a verification code")])],-1)),T("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:w[1]||(w[1]=U=>l(U))},[T("div",fS,[It(T("input",{type:"text",required:"",disabled:n.value,"onUpdate:modelValue":w[0]||(w[0]=U=>t.value=U),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3 border-0",id:"email",placeholder:"email"},null,8,dS),[[Vt,t.value]]),w[12]||(w[12]=T("label",{for:"email",class:"d-flex"},[T("i",{class:"bi bi-person-circle me-2"}),we(" Email ")],-1))]),T("button",{disabled:!t.value||n.value,type:"submit",class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(fe(),ye("span",mS,w[14]||(w[14]=[we(" Loading..."),T("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(fe(),ye("span",pS,w[13]||(w[13]=[we(" Continue "),T("i",{class:"bi bi-arrow-right ms-2"},null,-1)])))],8,hS)],32)]))]),_:1}),T("div",null,[w[31]||(w[31]=T("hr",{class:"my-4"},null,-1)),T("div",DS,[w[30]||(w[30]=T("span",{class:"text-muted"}," Don't have an account yet? ",-1)),Pe(V,{to:"/signup",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:it(()=>w[29]||(w[29]=[we(" Sign Up ")])),_:1,__:[29]})])])])}}}),zl=Q1({history:S1(),routes:[{path:"/",component:sA,meta:{auth:!0},name:"Home"},{path:"/settings",component:lS,meta:{auth:!0},name:"Settings"},{path:"/signin",component:LA,name:"Sign In"},{path:"/signup",component:GA,name:"Sign Up"},{path:"/signout",name:"Sign Out"},{path:"/forgotPassword",name:"Forgot Password",component:$S}]});zl.beforeEach(async(e,t,n)=>{const s=rn();e.path==="/signup"&&!s.serverInformation.SignUp.enable&&(n("/signin"),s.newNotification("Sign up is disabled. Please contact administrator for more information","warning")),e.path==="/signout"?(await Ke.get(ar("/api/signout")).then(()=>{n("/signin")}).catch(()=>{n("/signin")}),s.newNotification("Sign in session ended, please sign in again","warning")):e.meta.auth?await Vr("/api/validateAuthentication")?n():(s.newNotification("Sign in session ended, please sign in again","warning"),n("/signin")):n()});zl.afterEach((e,t,n)=>{document.title=e.name+" | WGDashboard Client"});var Bi={exports:{}};/*!
|
|
* Bootstrap v5.3.6 (https://getbootstrap.com/)
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/var LS=Bi.exports,wd;function IS(){return wd||(wd=1,function(e,t){(function(n,s){e.exports=s()})(LS,function(){const n=new Map,s={set(h,i,c){n.has(h)||n.set(h,new Map);const m=n.get(h);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(h,i){return n.has(h)&&n.get(h).get(i)||null},remove(h,i){if(!n.has(h))return;const c=n.get(h);c.delete(i),c.size===0&&n.delete(h)}},r=1e6,o=1e3,a="transitionend",l=h=>(h&&window.CSS&&window.CSS.escape&&(h=h.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),h),u=h=>h==null?`${h}`:Object.prototype.toString.call(h).match(/\s([a-z]+)/i)[1].toLowerCase(),d=h=>{do h+=Math.floor(Math.random()*r);while(document.getElementById(h));return h},f=h=>{if(!h)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(h);const m=Number.parseFloat(i),E=Number.parseFloat(c);return!m&&!E?0:(i=i.split(",")[0],c=c.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=h=>{h.dispatchEvent(new Event(a))},g=h=>!h||typeof h!="object"?!1:(typeof h.jquery<"u"&&(h=h[0]),typeof h.nodeType<"u"),_=h=>g(h)?h.jquery?h[0]:h:typeof h=="string"&&h.length>0?document.querySelector(l(h)):null,v=h=>{if(!g(h)||h.getClientRects().length===0)return!1;const i=getComputedStyle(h).getPropertyValue("visibility")==="visible",c=h.closest("details:not([open])");if(!c)return i;if(c!==h){const m=h.closest("summary");if(m&&m.parentNode!==c||m===null)return!1}return i},A=h=>!h||h.nodeType!==Node.ELEMENT_NODE||h.classList.contains("disabled")?!0:typeof h.disabled<"u"?h.disabled:h.hasAttribute("disabled")&&h.getAttribute("disabled")!=="false",I=h=>{if(!document.documentElement.attachShadow)return null;if(typeof h.getRootNode=="function"){const i=h.getRootNode();return i instanceof ShadowRoot?i:null}return h instanceof ShadowRoot?h:h.parentNode?I(h.parentNode):null},B=()=>{},H=h=>{h.offsetHeight},w=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,V=[],U=h=>{document.readyState==="loading"?(V.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of V)i()}),V.push(h)):h()},x=()=>document.documentElement.dir==="rtl",R=h=>{U(()=>{const i=w();if(i){const c=h.NAME,m=i.fn[c];i.fn[c]=h.jQueryInterface,i.fn[c].Constructor=h,i.fn[c].noConflict=()=>(i.fn[c]=m,h.jQueryInterface)}})},S=(h,i=[],c=h)=>typeof h=="function"?h.call(...i):c,O=(h,i,c=!0)=>{if(!c){S(h);return}const E=f(i)+5;let D=!1;const L=({target:Y})=>{Y===i&&(D=!0,i.removeEventListener(a,L),S(h))};i.addEventListener(a,L),setTimeout(()=>{D||p(i)},E)},M=(h,i,c,m)=>{const E=h.length;let D=h.indexOf(i);return D===-1?!c&&m?h[E-1]:h[0]:(D+=c?1:-1,m&&(D=(D+E)%E),h[Math.max(0,Math.min(D,E-1))])},k=/[^.]*(?=\..*)\.|.*/,$=/\..*/,z=/::\d+$/,j={};let X=1;const K={mouseenter:"mouseover",mouseleave:"mouseout"},Q=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 G(h,i){return i&&`${i}::${X++}`||h.uidEvent||X++}function ce(h){const i=G(h);return h.uidEvent=i,j[i]=j[i]||{},j[i]}function ue(h,i){return function c(m){return te(m,{delegateTarget:h}),c.oneOff&&C.off(h,m.type,i),i.apply(h,[m])}}function me(h,i,c){return function m(E){const D=h.querySelectorAll(i);for(let{target:L}=E;L&&L!==this;L=L.parentNode)for(const Y of D)if(Y===L)return te(E,{delegateTarget:L}),m.oneOff&&C.off(h,E.type,i,c),c.apply(L,[E])}}function ge(h,i,c=null){return Object.values(h).find(m=>m.callable===i&&m.delegationSelector===c)}function Re(h,i,c){const m=typeof i=="string",E=m?c:i||c;let D=q(h);return Q.has(D)||(D=h),[m,E,D]}function De(h,i,c,m,E){if(typeof i!="string"||!h)return;let[D,L,Y]=Re(i,c,m);i in K&&(L=(We=>function(Oe){if(!Oe.relatedTarget||Oe.relatedTarget!==Oe.delegateTarget&&!Oe.delegateTarget.contains(Oe.relatedTarget))return We.call(this,Oe)})(L));const ee=ce(h),le=ee[Y]||(ee[Y]={}),ne=ge(le,L,D?c:null);if(ne){ne.oneOff=ne.oneOff&&E;return}const Se=G(L,i.replace(k,"")),Ce=D?me(h,c,L):ue(h,L);Ce.delegationSelector=D?c:null,Ce.callable=L,Ce.oneOff=E,Ce.uidEvent=Se,le[Se]=Ce,h.addEventListener(Y,Ce,D)}function Be(h,i,c,m,E){const D=ge(i[c],m,E);D&&(h.removeEventListener(c,D,!!E),delete i[c][D.uidEvent])}function Ge(h,i,c,m){const E=i[c]||{};for(const[D,L]of Object.entries(E))D.includes(m)&&Be(h,i,c,L.callable,L.delegationSelector)}function q(h){return h=h.replace($,""),K[h]||h}const C={on(h,i,c,m){De(h,i,c,m,!1)},one(h,i,c,m){De(h,i,c,m,!0)},off(h,i,c,m){if(typeof i!="string"||!h)return;const[E,D,L]=Re(i,c,m),Y=L!==i,ee=ce(h),le=ee[L]||{},ne=i.startsWith(".");if(typeof D<"u"){if(!Object.keys(le).length)return;Be(h,ee,L,D,E?c:null);return}if(ne)for(const Se of Object.keys(ee))Ge(h,ee,Se,i.slice(1));for(const[Se,Ce]of Object.entries(le)){const Ee=Se.replace(z,"");(!Y||i.includes(Ee))&&Be(h,ee,L,Ce.callable,Ce.delegationSelector)}},trigger(h,i,c){if(typeof i!="string"||!h)return null;const m=w(),E=q(i),D=i!==E;let L=null,Y=!0,ee=!0,le=!1;D&&m&&(L=m.Event(i,c),m(h).trigger(L),Y=!L.isPropagationStopped(),ee=!L.isImmediatePropagationStopped(),le=L.isDefaultPrevented());const ne=te(new Event(i,{bubbles:Y,cancelable:!0}),c);return le&&ne.preventDefault(),ee&&h.dispatchEvent(ne),ne.defaultPrevented&&L&&L.preventDefault(),ne}};function te(h,i={}){for(const[c,m]of Object.entries(i))try{h[c]=m}catch{Object.defineProperty(h,c,{configurable:!0,get(){return m}})}return h}function ie(h){if(h==="true")return!0;if(h==="false")return!1;if(h===Number(h).toString())return Number(h);if(h===""||h==="null")return null;if(typeof h!="string")return h;try{return JSON.parse(decodeURIComponent(h))}catch{return h}}function Te(h){return h.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const b={setDataAttribute(h,i,c){h.setAttribute(`data-bs-${Te(i)}`,c)},removeDataAttribute(h,i){h.removeAttribute(`data-bs-${Te(i)}`)},getDataAttributes(h){if(!h)return{};const i={},c=Object.keys(h.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of c){let E=m.replace(/^bs/,"");E=E.charAt(0).toLowerCase()+E.slice(1),i[E]=ie(h.dataset[m])}return i},getDataAttribute(h,i){return ie(h.getAttribute(`data-bs-${Te(i)}`))}};class y{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(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const m=g(c)?b.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},...g(c)?b.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[m,E]of Object.entries(c)){const D=i[m],L=g(D)?"element":u(D);if(!new RegExp(E).test(L))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${L}" but expected type "${E}".`)}}}const N="5.3.6";class W extends y{constructor(i,c){super(),i=_(i),i&&(this._element=i,this._config=this._getConfig(c),s.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.remove(this._element,this.constructor.DATA_KEY),C.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,m=!0){O(i,c,m)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return s.get(_(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c:null)}static get VERSION(){return N}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const J=h=>{let i=h.getAttribute("data-bs-target");if(!i||i==="#"){let c=h.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>l(c)).join(","):null},P={find(h,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,h))},findOne(h,i=document.documentElement){return Element.prototype.querySelector.call(i,h)},children(h,i){return[].concat(...h.children).filter(c=>c.matches(i))},parents(h,i){const c=[];let m=h.parentNode.closest(i);for(;m;)c.push(m),m=m.parentNode.closest(i);return c},prev(h,i){let c=h.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(h,i){let c=h.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(h){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,h).filter(c=>!A(c)&&v(c))},getSelectorFromElement(h){const i=J(h);return i&&P.findOne(i)?i:null},getElementFromSelector(h){const i=J(h);return i?P.findOne(i):null},getMultipleElementsFromSelector(h){const i=J(h);return i?P.find(i):[]}},oe=(h,i="hide")=>{const c=`click.dismiss${h.EVENT_KEY}`,m=h.NAME;C.on(document,c,`[data-bs-dismiss="${m}"]`,function(E){if(["A","AREA"].includes(this.tagName)&&E.preventDefault(),A(this))return;const D=P.getElementFromSelector(this)||this.closest(`.${m}`);h.getOrCreateInstance(D)[i]()})},re="alert",Z=".bs.alert",pe=`close${Z}`,ae=`closed${Z}`,de="fade",ve="show";class Ae extends W{static get NAME(){return re}close(){if(C.trigger(this._element,pe).defaultPrevented)return;this._element.classList.remove(ve);const c=this._element.classList.contains(de);this._queueCallback(()=>this._destroyElement(),this._element,c)}_destroyElement(){this._element.remove(),C.trigger(this._element,ae),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=Ae.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}oe(Ae,"close"),R(Ae);const Fe="button",_t=".bs.button",ft=".data-api",kt="active",Nt='[data-bs-toggle="button"]',zn=`click${_t}${ft}`;class Rn extends W{static get NAME(){return Fe}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kt))}static jQueryInterface(i){return this.each(function(){const c=Rn.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}C.on(document,zn,Nt,h=>{h.preventDefault();const i=h.target.closest(Nt);Rn.getOrCreateInstance(i).toggle()}),R(Rn);const vt="swipe",ot=".bs.swipe",Zr=`touchstart${ot}`,jp=`touchmove${ot}`,qp=`touchend${ot}`,Kp=`pointerdown${ot}`,Wp=`pointerup${ot}`,Yp="touch",zp="pen",Gp="pointer-event",Jp=40,Qp={endCallback:null,leftCallback:null,rightCallback:null},Xp={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ei extends y{constructor(i,c){super(),this._element=i,!(!i||!ei.isSupported())&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Qp}static get DefaultType(){return Xp}static get NAME(){return vt}dispose(){C.off(this._element,ot)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),S(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=Jp)return;const c=i/this._deltaX;this._deltaX=0,c&&S(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(C.on(this._element,Kp,i=>this._start(i)),C.on(this._element,Wp,i=>this._end(i)),this._element.classList.add(Gp)):(C.on(this._element,Zr,i=>this._start(i)),C.on(this._element,jp,i=>this._move(i)),C.on(this._element,qp,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===zp||i.pointerType===Yp)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Zp="carousel",Nn=".bs.carousel",Gl=".data-api",em="ArrowLeft",tm="ArrowRight",nm=500,lr="next",Os="prev",Rs="left",ti="right",sm=`slide${Nn}`,bo=`slid${Nn}`,rm=`keydown${Nn}`,im=`mouseenter${Nn}`,om=`mouseleave${Nn}`,am=`dragstart${Nn}`,lm=`load${Nn}${Gl}`,cm=`click${Nn}${Gl}`,Jl="carousel",ni="active",um="slide",fm="carousel-item-end",dm="carousel-item-start",hm="carousel-item-next",pm="carousel-item-prev",Ql=".active",Xl=".carousel-item",mm=Ql+Xl,gm=".carousel-item img",_m=".carousel-indicators",vm="[data-bs-slide], [data-bs-slide-to]",bm='[data-bs-ride="carousel"]',ym={[em]:ti,[tm]:Rs},Em={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},wm={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ns extends W{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=P.findOne(_m,this._element),this._addEventListeners(),this._config.ride===Jl&&this.cycle()}static get Default(){return Em}static get DefaultType(){return wm}static get NAME(){return Zp}next(){this._slide(lr)}nextWhenVisible(){!document.hidden&&v(this._element)&&this.next()}prev(){this._slide(Os)}pause(){this._isSliding&&p(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){C.one(this._element,bo,()=>this.cycle());return}this.cycle()}}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding){C.one(this._element,bo,()=>this.to(i));return}const m=this._getItemIndex(this._getActive());if(m===i)return;const E=i>m?lr:Os;this._slide(E,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&C.on(this._element,rm,i=>this._keydown(i)),this._config.pause==="hover"&&(C.on(this._element,im,()=>this.pause()),C.on(this._element,om,()=>this._maybeEnableCycle())),this._config.touch&&ei.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of P.find(gm,this._element))C.on(m,am,E=>E.preventDefault());const c={leftCallback:()=>this._slide(this._directionToOrder(Rs)),rightCallback:()=>this._slide(this._directionToOrder(ti)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),nm+this._config.interval))}};this._swipeHelper=new ei(this._element,c)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=ym[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=P.findOne(Ql,this._indicatorsElement);c.classList.remove(ni),c.removeAttribute("aria-current");const m=P.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);m&&(m.classList.add(ni),m.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const m=this._getActive(),E=i===lr,D=c||M(this._getItems(),m,E,this._config.wrap);if(D===m)return;const L=this._getItemIndex(D),Y=Ee=>C.trigger(this._element,Ee,{relatedTarget:D,direction:this._orderToDirection(i),from:this._getItemIndex(m),to:L});if(Y(sm).defaultPrevented||!m||!D)return;const le=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(L),this._activeElement=D;const ne=E?dm:fm,Se=E?hm:pm;D.classList.add(Se),H(D),m.classList.add(ne),D.classList.add(ne);const Ce=()=>{D.classList.remove(ne,Se),D.classList.add(ni),m.classList.remove(ni,Se,ne),this._isSliding=!1,Y(bo)};this._queueCallback(Ce,m,this._isAnimated()),le&&this.cycle()}_isAnimated(){return this._element.classList.contains(um)}_getActive(){return P.findOne(mm,this._element)}_getItems(){return P.find(Xl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return x()?i===Rs?Os:lr:i===Rs?lr:Os}_orderToDirection(i){return x()?i===Os?Rs:ti:i===Os?ti:Rs}static jQueryInterface(i){return this.each(function(){const c=Ns.getOrCreateInstance(this,i);if(typeof i=="number"){c.to(i);return}if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}C.on(document,cm,vm,function(h){const i=P.getElementFromSelector(this);if(!i||!i.classList.contains(Jl))return;h.preventDefault();const c=Ns.getOrCreateInstance(i),m=this.getAttribute("data-bs-slide-to");if(m){c.to(m),c._maybeEnableCycle();return}if(b.getDataAttribute(this,"slide")==="next"){c.next(),c._maybeEnableCycle();return}c.prev(),c._maybeEnableCycle()}),C.on(window,lm,()=>{const h=P.find(bm);for(const i of h)Ns.getOrCreateInstance(i)}),R(Ns);const Tm="collapse",cr=".bs.collapse",Am=".data-api",Sm=`show${cr}`,Cm=`shown${cr}`,Om=`hide${cr}`,Rm=`hidden${cr}`,Nm=`click${cr}${Am}`,yo="show",xs="collapse",si="collapsing",xm="collapsed",Pm=`:scope .${xs} .${xs}`,Dm="collapse-horizontal",$m="width",Lm="height",Im=".collapse.show, .collapse.collapsing",Eo='[data-bs-toggle="collapse"]',Mm={parent:null,toggle:!0},km={parent:"(null|element)",toggle:"boolean"};class Ps extends W{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const m=P.find(Eo);for(const E of m){const D=P.getSelectorFromElement(E),L=P.find(D).filter(Y=>Y===this._element);D!==null&&L.length&&this._triggerArray.push(E)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Mm}static get DefaultType(){return km}static get NAME(){return Tm}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Im).filter(Y=>Y!==this._element).map(Y=>Ps.getOrCreateInstance(Y,{toggle:!1}))),i.length&&i[0]._isTransitioning||C.trigger(this._element,Sm).defaultPrevented)return;for(const Y of i)Y.hide();const m=this._getDimension();this._element.classList.remove(xs),this._element.classList.add(si),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const E=()=>{this._isTransitioning=!1,this._element.classList.remove(si),this._element.classList.add(xs,yo),this._element.style[m]="",C.trigger(this._element,Cm)},L=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(E,this._element,!0),this._element.style[m]=`${this._element[L]}px`}hide(){if(this._isTransitioning||!this._isShown()||C.trigger(this._element,Om).defaultPrevented)return;const c=this._getDimension();this._element.style[c]=`${this._element.getBoundingClientRect()[c]}px`,H(this._element),this._element.classList.add(si),this._element.classList.remove(xs,yo);for(const E of this._triggerArray){const D=P.getElementFromSelector(E);D&&!this._isShown(D)&&this._addAriaAndCollapsedClass([E],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(si),this._element.classList.add(xs),C.trigger(this._element,Rm)};this._element.style[c]="",this._queueCallback(m,this._element,!0)}_isShown(i=this._element){return i.classList.contains(yo)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=_(i.parent),i}_getDimension(){return this._element.classList.contains(Dm)?$m:Lm}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Eo);for(const c of i){const m=P.getElementFromSelector(c);m&&this._addAriaAndCollapsedClass([c],this._isShown(m))}}_getFirstLevelChildren(i){const c=P.find(Pm,this._config.parent);return P.find(i,this._config.parent).filter(m=>!c.includes(m))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const m of i)m.classList.toggle(xm,!c),m.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const m=Ps.getOrCreateInstance(this,c);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i]()}})}}C.on(document,Nm,Eo,function(h){(h.target.tagName==="A"||h.delegateTarget&&h.delegateTarget.tagName==="A")&&h.preventDefault();for(const i of P.getMultipleElementsFromSelector(this))Ps.getOrCreateInstance(i,{toggle:!1}).toggle()}),R(Ps);var bt="top",xt="bottom",Pt="right",yt="left",ri="auto",Ds=[bt,xt,Pt,yt],Gn="start",$s="end",Zl="clippingParents",wo="viewport",Ls="popper",ec="reference",To=Ds.reduce(function(h,i){return h.concat([i+"-"+Gn,i+"-"+$s])},[]),Ao=[].concat(Ds,[ri]).reduce(function(h,i){return h.concat([i,i+"-"+Gn,i+"-"+$s])},[]),tc="beforeRead",nc="read",sc="afterRead",rc="beforeMain",ic="main",oc="afterMain",ac="beforeWrite",lc="write",cc="afterWrite",uc=[tc,nc,sc,rc,ic,oc,ac,lc,cc];function on(h){return h?(h.nodeName||"").toLowerCase():null}function Dt(h){if(h==null)return window;if(h.toString()!=="[object Window]"){var i=h.ownerDocument;return i&&i.defaultView||window}return h}function Jn(h){var i=Dt(h).Element;return h instanceof i||h instanceof Element}function Bt(h){var i=Dt(h).HTMLElement;return h instanceof i||h instanceof HTMLElement}function So(h){if(typeof ShadowRoot>"u")return!1;var i=Dt(h).ShadowRoot;return h instanceof i||h instanceof ShadowRoot}function Bm(h){var i=h.state;Object.keys(i.elements).forEach(function(c){var m=i.styles[c]||{},E=i.attributes[c]||{},D=i.elements[c];!Bt(D)||!on(D)||(Object.assign(D.style,m),Object.keys(E).forEach(function(L){var Y=E[L];Y===!1?D.removeAttribute(L):D.setAttribute(L,Y===!0?"":Y)}))})}function Fm(h){var i=h.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(m){var E=i.elements[m],D=i.attributes[m]||{},L=Object.keys(i.styles.hasOwnProperty(m)?i.styles[m]:c[m]),Y=L.reduce(function(ee,le){return ee[le]="",ee},{});!Bt(E)||!on(E)||(Object.assign(E.style,Y),Object.keys(D).forEach(function(ee){E.removeAttribute(ee)}))})}}const Co={name:"applyStyles",enabled:!0,phase:"write",fn:Bm,effect:Fm,requires:["computeStyles"]};function an(h){return h.split("-")[0]}var Qn=Math.max,ii=Math.min,Is=Math.round;function Oo(){var h=navigator.userAgentData;return h!=null&&h.brands&&Array.isArray(h.brands)?h.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function fc(){return!/^((?!chrome|android).)*safari/i.test(Oo())}function Ms(h,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var m=h.getBoundingClientRect(),E=1,D=1;i&&Bt(h)&&(E=h.offsetWidth>0&&Is(m.width)/h.offsetWidth||1,D=h.offsetHeight>0&&Is(m.height)/h.offsetHeight||1);var L=Jn(h)?Dt(h):window,Y=L.visualViewport,ee=!fc()&&c,le=(m.left+(ee&&Y?Y.offsetLeft:0))/E,ne=(m.top+(ee&&Y?Y.offsetTop:0))/D,Se=m.width/E,Ce=m.height/D;return{width:Se,height:Ce,top:ne,right:le+Se,bottom:ne+Ce,left:le,x:le,y:ne}}function Ro(h){var i=Ms(h),c=h.offsetWidth,m=h.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-m)<=1&&(m=i.height),{x:h.offsetLeft,y:h.offsetTop,width:c,height:m}}function dc(h,i){var c=i.getRootNode&&i.getRootNode();if(h.contains(i))return!0;if(c&&So(c)){var m=i;do{if(m&&h.isSameNode(m))return!0;m=m.parentNode||m.host}while(m)}return!1}function mn(h){return Dt(h).getComputedStyle(h)}function Um(h){return["table","td","th"].indexOf(on(h))>=0}function xn(h){return((Jn(h)?h.ownerDocument:h.document)||window.document).documentElement}function oi(h){return on(h)==="html"?h:h.assignedSlot||h.parentNode||(So(h)?h.host:null)||xn(h)}function hc(h){return!Bt(h)||mn(h).position==="fixed"?null:h.offsetParent}function Hm(h){var i=/firefox/i.test(Oo()),c=/Trident/i.test(Oo());if(c&&Bt(h)){var m=mn(h);if(m.position==="fixed")return null}var E=oi(h);for(So(E)&&(E=E.host);Bt(E)&&["html","body"].indexOf(on(E))<0;){var D=mn(E);if(D.transform!=="none"||D.perspective!=="none"||D.contain==="paint"||["transform","perspective"].indexOf(D.willChange)!==-1||i&&D.willChange==="filter"||i&&D.filter&&D.filter!=="none")return E;E=E.parentNode}return null}function ur(h){for(var i=Dt(h),c=hc(h);c&&Um(c)&&mn(c).position==="static";)c=hc(c);return c&&(on(c)==="html"||on(c)==="body"&&mn(c).position==="static")?i:c||Hm(h)||i}function No(h){return["top","bottom"].indexOf(h)>=0?"x":"y"}function fr(h,i,c){return Qn(h,ii(i,c))}function Vm(h,i,c){var m=fr(h,i,c);return m>c?c:m}function pc(){return{top:0,right:0,bottom:0,left:0}}function mc(h){return Object.assign({},pc(),h)}function gc(h,i){return i.reduce(function(c,m){return c[m]=h,c},{})}var jm=function(i,c){return i=typeof i=="function"?i(Object.assign({},c.rects,{placement:c.placement})):i,mc(typeof i!="number"?i:gc(i,Ds))};function qm(h){var i,c=h.state,m=h.name,E=h.options,D=c.elements.arrow,L=c.modifiersData.popperOffsets,Y=an(c.placement),ee=No(Y),le=[yt,Pt].indexOf(Y)>=0,ne=le?"height":"width";if(!(!D||!L)){var Se=jm(E.padding,c),Ce=Ro(D),Ee=ee==="y"?bt:yt,We=ee==="y"?xt:Pt,Oe=c.rects.reference[ne]+c.rects.reference[ee]-L[ee]-c.rects.popper[ne],$e=L[ee]-c.rects.reference[ee],ze=ur(D),Xe=ze?ee==="y"?ze.clientHeight||0:ze.clientWidth||0:0,Ze=Oe/2-$e/2,Ne=Se[Ee],Ue=Xe-Ce[ne]-Se[We],He=Xe/2-Ce[ne]/2+Ze,Je=fr(Ne,He,Ue),at=ee;c.modifiersData[m]=(i={},i[at]=Je,i.centerOffset=Je-He,i)}}function Km(h){var i=h.state,c=h.options,m=c.element,E=m===void 0?"[data-popper-arrow]":m;E!=null&&(typeof E=="string"&&(E=i.elements.popper.querySelector(E),!E)||dc(i.elements.popper,E)&&(i.elements.arrow=E))}const _c={name:"arrow",enabled:!0,phase:"main",fn:qm,effect:Km,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ks(h){return h.split("-")[1]}var Wm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ym(h,i){var c=h.x,m=h.y,E=i.devicePixelRatio||1;return{x:Is(c*E)/E||0,y:Is(m*E)/E||0}}function vc(h){var i,c=h.popper,m=h.popperRect,E=h.placement,D=h.variation,L=h.offsets,Y=h.position,ee=h.gpuAcceleration,le=h.adaptive,ne=h.roundOffsets,Se=h.isFixed,Ce=L.x,Ee=Ce===void 0?0:Ce,We=L.y,Oe=We===void 0?0:We,$e=typeof ne=="function"?ne({x:Ee,y:Oe}):{x:Ee,y:Oe};Ee=$e.x,Oe=$e.y;var ze=L.hasOwnProperty("x"),Xe=L.hasOwnProperty("y"),Ze=yt,Ne=bt,Ue=window;if(le){var He=ur(c),Je="clientHeight",at="clientWidth";if(He===Dt(c)&&(He=xn(c),mn(He).position!=="static"&&Y==="absolute"&&(Je="scrollHeight",at="scrollWidth")),He=He,E===bt||(E===yt||E===Pt)&&D===$s){Ne=xt;var st=Se&&He===Ue&&Ue.visualViewport?Ue.visualViewport.height:He[Je];Oe-=st-m.height,Oe*=ee?1:-1}if(E===yt||(E===bt||E===xt)&&D===$s){Ze=Pt;var tt=Se&&He===Ue&&Ue.visualViewport?Ue.visualViewport.width:He[at];Ee-=tt-m.width,Ee*=ee?1:-1}}var dt=Object.assign({position:Y},le&&Wm),zt=ne===!0?Ym({x:Ee,y:Oe},Dt(c)):{x:Ee,y:Oe};if(Ee=zt.x,Oe=zt.y,ee){var Et;return Object.assign({},dt,(Et={},Et[Ne]=Xe?"0":"",Et[Ze]=ze?"0":"",Et.transform=(Ue.devicePixelRatio||1)<=1?"translate("+Ee+"px, "+Oe+"px)":"translate3d("+Ee+"px, "+Oe+"px, 0)",Et))}return Object.assign({},dt,(i={},i[Ne]=Xe?Oe+"px":"",i[Ze]=ze?Ee+"px":"",i.transform="",i))}function zm(h){var i=h.state,c=h.options,m=c.gpuAcceleration,E=m===void 0?!0:m,D=c.adaptive,L=D===void 0?!0:D,Y=c.roundOffsets,ee=Y===void 0?!0:Y,le={placement:an(i.placement),variation:ks(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:E,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,vc(Object.assign({},le,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:L,roundOffsets:ee})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,vc(Object.assign({},le,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ee})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const xo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:zm,data:{}};var ai={passive:!0};function Gm(h){var i=h.state,c=h.instance,m=h.options,E=m.scroll,D=E===void 0?!0:E,L=m.resize,Y=L===void 0?!0:L,ee=Dt(i.elements.popper),le=[].concat(i.scrollParents.reference,i.scrollParents.popper);return D&&le.forEach(function(ne){ne.addEventListener("scroll",c.update,ai)}),Y&&ee.addEventListener("resize",c.update,ai),function(){D&&le.forEach(function(ne){ne.removeEventListener("scroll",c.update,ai)}),Y&&ee.removeEventListener("resize",c.update,ai)}}const Po={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Gm,data:{}};var Jm={left:"right",right:"left",bottom:"top",top:"bottom"};function li(h){return h.replace(/left|right|bottom|top/g,function(i){return Jm[i]})}var Qm={start:"end",end:"start"};function bc(h){return h.replace(/start|end/g,function(i){return Qm[i]})}function Do(h){var i=Dt(h),c=i.pageXOffset,m=i.pageYOffset;return{scrollLeft:c,scrollTop:m}}function $o(h){return Ms(xn(h)).left+Do(h).scrollLeft}function Xm(h,i){var c=Dt(h),m=xn(h),E=c.visualViewport,D=m.clientWidth,L=m.clientHeight,Y=0,ee=0;if(E){D=E.width,L=E.height;var le=fc();(le||!le&&i==="fixed")&&(Y=E.offsetLeft,ee=E.offsetTop)}return{width:D,height:L,x:Y+$o(h),y:ee}}function Zm(h){var i,c=xn(h),m=Do(h),E=(i=h.ownerDocument)==null?void 0:i.body,D=Qn(c.scrollWidth,c.clientWidth,E?E.scrollWidth:0,E?E.clientWidth:0),L=Qn(c.scrollHeight,c.clientHeight,E?E.scrollHeight:0,E?E.clientHeight:0),Y=-m.scrollLeft+$o(h),ee=-m.scrollTop;return mn(E||c).direction==="rtl"&&(Y+=Qn(c.clientWidth,E?E.clientWidth:0)-D),{width:D,height:L,x:Y,y:ee}}function Lo(h){var i=mn(h),c=i.overflow,m=i.overflowX,E=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+E+m)}function yc(h){return["html","body","#document"].indexOf(on(h))>=0?h.ownerDocument.body:Bt(h)&&Lo(h)?h:yc(oi(h))}function dr(h,i){var c;i===void 0&&(i=[]);var m=yc(h),E=m===((c=h.ownerDocument)==null?void 0:c.body),D=Dt(m),L=E?[D].concat(D.visualViewport||[],Lo(m)?m:[]):m,Y=i.concat(L);return E?Y:Y.concat(dr(oi(L)))}function Io(h){return Object.assign({},h,{left:h.x,top:h.y,right:h.x+h.width,bottom:h.y+h.height})}function eg(h,i){var c=Ms(h,!1,i==="fixed");return c.top=c.top+h.clientTop,c.left=c.left+h.clientLeft,c.bottom=c.top+h.clientHeight,c.right=c.left+h.clientWidth,c.width=h.clientWidth,c.height=h.clientHeight,c.x=c.left,c.y=c.top,c}function Ec(h,i,c){return i===wo?Io(Xm(h,c)):Jn(i)?eg(i,c):Io(Zm(xn(h)))}function tg(h){var i=dr(oi(h)),c=["absolute","fixed"].indexOf(mn(h).position)>=0,m=c&&Bt(h)?ur(h):h;return Jn(m)?i.filter(function(E){return Jn(E)&&dc(E,m)&&on(E)!=="body"}):[]}function ng(h,i,c,m){var E=i==="clippingParents"?tg(h):[].concat(i),D=[].concat(E,[c]),L=D[0],Y=D.reduce(function(ee,le){var ne=Ec(h,le,m);return ee.top=Qn(ne.top,ee.top),ee.right=ii(ne.right,ee.right),ee.bottom=ii(ne.bottom,ee.bottom),ee.left=Qn(ne.left,ee.left),ee},Ec(h,L,m));return Y.width=Y.right-Y.left,Y.height=Y.bottom-Y.top,Y.x=Y.left,Y.y=Y.top,Y}function wc(h){var i=h.reference,c=h.element,m=h.placement,E=m?an(m):null,D=m?ks(m):null,L=i.x+i.width/2-c.width/2,Y=i.y+i.height/2-c.height/2,ee;switch(E){case bt:ee={x:L,y:i.y-c.height};break;case xt:ee={x:L,y:i.y+i.height};break;case Pt:ee={x:i.x+i.width,y:Y};break;case yt:ee={x:i.x-c.width,y:Y};break;default:ee={x:i.x,y:i.y}}var le=E?No(E):null;if(le!=null){var ne=le==="y"?"height":"width";switch(D){case Gn:ee[le]=ee[le]-(i[ne]/2-c[ne]/2);break;case $s:ee[le]=ee[le]+(i[ne]/2-c[ne]/2);break}}return ee}function Bs(h,i){i===void 0&&(i={});var c=i,m=c.placement,E=m===void 0?h.placement:m,D=c.strategy,L=D===void 0?h.strategy:D,Y=c.boundary,ee=Y===void 0?Zl:Y,le=c.rootBoundary,ne=le===void 0?wo:le,Se=c.elementContext,Ce=Se===void 0?Ls:Se,Ee=c.altBoundary,We=Ee===void 0?!1:Ee,Oe=c.padding,$e=Oe===void 0?0:Oe,ze=mc(typeof $e!="number"?$e:gc($e,Ds)),Xe=Ce===Ls?ec:Ls,Ze=h.rects.popper,Ne=h.elements[We?Xe:Ce],Ue=ng(Jn(Ne)?Ne:Ne.contextElement||xn(h.elements.popper),ee,ne,L),He=Ms(h.elements.reference),Je=wc({reference:He,element:Ze,placement:E}),at=Io(Object.assign({},Ze,Je)),st=Ce===Ls?at:He,tt={top:Ue.top-st.top+ze.top,bottom:st.bottom-Ue.bottom+ze.bottom,left:Ue.left-st.left+ze.left,right:st.right-Ue.right+ze.right},dt=h.modifiersData.offset;if(Ce===Ls&&dt){var zt=dt[E];Object.keys(tt).forEach(function(Et){var is=[Pt,xt].indexOf(Et)>=0?1:-1,os=[bt,xt].indexOf(Et)>=0?"y":"x";tt[Et]+=zt[os]*is})}return tt}function sg(h,i){i===void 0&&(i={});var c=i,m=c.placement,E=c.boundary,D=c.rootBoundary,L=c.padding,Y=c.flipVariations,ee=c.allowedAutoPlacements,le=ee===void 0?Ao:ee,ne=ks(m),Se=ne?Y?To:To.filter(function(We){return ks(We)===ne}):Ds,Ce=Se.filter(function(We){return le.indexOf(We)>=0});Ce.length===0&&(Ce=Se);var Ee=Ce.reduce(function(We,Oe){return We[Oe]=Bs(h,{placement:Oe,boundary:E,rootBoundary:D,padding:L})[an(Oe)],We},{});return Object.keys(Ee).sort(function(We,Oe){return Ee[We]-Ee[Oe]})}function rg(h){if(an(h)===ri)return[];var i=li(h);return[bc(h),i,bc(i)]}function ig(h){var i=h.state,c=h.options,m=h.name;if(!i.modifiersData[m]._skip){for(var E=c.mainAxis,D=E===void 0?!0:E,L=c.altAxis,Y=L===void 0?!0:L,ee=c.fallbackPlacements,le=c.padding,ne=c.boundary,Se=c.rootBoundary,Ce=c.altBoundary,Ee=c.flipVariations,We=Ee===void 0?!0:Ee,Oe=c.allowedAutoPlacements,$e=i.options.placement,ze=an($e),Xe=ze===$e,Ze=ee||(Xe||!We?[li($e)]:rg($e)),Ne=[$e].concat(Ze).reduce(function(Hs,Dn){return Hs.concat(an(Dn)===ri?sg(i,{placement:Dn,boundary:ne,rootBoundary:Se,padding:le,flipVariations:We,allowedAutoPlacements:Oe}):Dn)},[]),Ue=i.rects.reference,He=i.rects.popper,Je=new Map,at=!0,st=Ne[0],tt=0;tt<Ne.length;tt++){var dt=Ne[tt],zt=an(dt),Et=ks(dt)===Gn,is=[bt,xt].indexOf(zt)>=0,os=is?"width":"height",$t=Bs(i,{placement:dt,boundary:ne,rootBoundary:Se,altBoundary:Ce,padding:le}),Gt=is?Et?Pt:yt:Et?xt:bt;Ue[os]>He[os]&&(Gt=li(Gt));var _i=li(Gt),as=[];if(D&&as.push($t[zt]<=0),Y&&as.push($t[Gt]<=0,$t[_i]<=0),as.every(function(Hs){return Hs})){st=dt,at=!1;break}Je.set(dt,as)}if(at)for(var vi=We?3:1,Go=function(Dn){var _r=Ne.find(function(yi){var ls=Je.get(yi);if(ls)return ls.slice(0,Dn).every(function(Jo){return Jo})});if(_r)return st=_r,"break"},gr=vi;gr>0;gr--){var bi=Go(gr);if(bi==="break")break}i.placement!==st&&(i.modifiersData[m]._skip=!0,i.placement=st,i.reset=!0)}}const Tc={name:"flip",enabled:!0,phase:"main",fn:ig,requiresIfExists:["offset"],data:{_skip:!1}};function Ac(h,i,c){return c===void 0&&(c={x:0,y:0}),{top:h.top-i.height-c.y,right:h.right-i.width+c.x,bottom:h.bottom-i.height+c.y,left:h.left-i.width-c.x}}function Sc(h){return[bt,Pt,xt,yt].some(function(i){return h[i]>=0})}function og(h){var i=h.state,c=h.name,m=i.rects.reference,E=i.rects.popper,D=i.modifiersData.preventOverflow,L=Bs(i,{elementContext:"reference"}),Y=Bs(i,{altBoundary:!0}),ee=Ac(L,m),le=Ac(Y,E,D),ne=Sc(ee),Se=Sc(le);i.modifiersData[c]={referenceClippingOffsets:ee,popperEscapeOffsets:le,isReferenceHidden:ne,hasPopperEscaped:Se},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":ne,"data-popper-escaped":Se})}const Cc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:og};function ag(h,i,c){var m=an(h),E=[yt,bt].indexOf(m)>=0?-1:1,D=typeof c=="function"?c(Object.assign({},i,{placement:h})):c,L=D[0],Y=D[1];return L=L||0,Y=(Y||0)*E,[yt,Pt].indexOf(m)>=0?{x:Y,y:L}:{x:L,y:Y}}function lg(h){var i=h.state,c=h.options,m=h.name,E=c.offset,D=E===void 0?[0,0]:E,L=Ao.reduce(function(ne,Se){return ne[Se]=ag(Se,i.rects,D),ne},{}),Y=L[i.placement],ee=Y.x,le=Y.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=ee,i.modifiersData.popperOffsets.y+=le),i.modifiersData[m]=L}const Oc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lg};function cg(h){var i=h.state,c=h.name;i.modifiersData[c]=wc({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})}const Mo={name:"popperOffsets",enabled:!0,phase:"read",fn:cg,data:{}};function ug(h){return h==="x"?"y":"x"}function fg(h){var i=h.state,c=h.options,m=h.name,E=c.mainAxis,D=E===void 0?!0:E,L=c.altAxis,Y=L===void 0?!1:L,ee=c.boundary,le=c.rootBoundary,ne=c.altBoundary,Se=c.padding,Ce=c.tether,Ee=Ce===void 0?!0:Ce,We=c.tetherOffset,Oe=We===void 0?0:We,$e=Bs(i,{boundary:ee,rootBoundary:le,padding:Se,altBoundary:ne}),ze=an(i.placement),Xe=ks(i.placement),Ze=!Xe,Ne=No(ze),Ue=ug(Ne),He=i.modifiersData.popperOffsets,Je=i.rects.reference,at=i.rects.popper,st=typeof Oe=="function"?Oe(Object.assign({},i.rects,{placement:i.placement})):Oe,tt=typeof st=="number"?{mainAxis:st,altAxis:st}:Object.assign({mainAxis:0,altAxis:0},st),dt=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,zt={x:0,y:0};if(He){if(D){var Et,is=Ne==="y"?bt:yt,os=Ne==="y"?xt:Pt,$t=Ne==="y"?"height":"width",Gt=He[Ne],_i=Gt+$e[is],as=Gt-$e[os],vi=Ee?-at[$t]/2:0,Go=Xe===Gn?Je[$t]:at[$t],gr=Xe===Gn?-at[$t]:-Je[$t],bi=i.elements.arrow,Hs=Ee&&bi?Ro(bi):{width:0,height:0},Dn=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:pc(),_r=Dn[is],yi=Dn[os],ls=fr(0,Je[$t],Hs[$t]),Jo=Ze?Je[$t]/2-vi-ls-_r-tt.mainAxis:Go-ls-_r-tt.mainAxis,sb=Ze?-Je[$t]/2+vi+ls+yi+tt.mainAxis:gr+ls+yi+tt.mainAxis,Qo=i.elements.arrow&&ur(i.elements.arrow),rb=Qo?Ne==="y"?Qo.clientTop||0:Qo.clientLeft||0:0,mu=(Et=dt?.[Ne])!=null?Et:0,ib=Gt+Jo-mu-rb,ob=Gt+sb-mu,gu=fr(Ee?ii(_i,ib):_i,Gt,Ee?Qn(as,ob):as);He[Ne]=gu,zt[Ne]=gu-Gt}if(Y){var _u,ab=Ne==="x"?bt:yt,lb=Ne==="x"?xt:Pt,cs=He[Ue],Ei=Ue==="y"?"height":"width",vu=cs+$e[ab],bu=cs-$e[lb],Xo=[bt,yt].indexOf(ze)!==-1,yu=(_u=dt?.[Ue])!=null?_u:0,Eu=Xo?vu:cs-Je[Ei]-at[Ei]-yu+tt.altAxis,wu=Xo?cs+Je[Ei]+at[Ei]-yu-tt.altAxis:bu,Tu=Ee&&Xo?Vm(Eu,cs,wu):fr(Ee?Eu:vu,cs,Ee?wu:bu);He[Ue]=Tu,zt[Ue]=Tu-cs}i.modifiersData[m]=zt}}const Rc={name:"preventOverflow",enabled:!0,phase:"main",fn:fg,requiresIfExists:["offset"]};function dg(h){return{scrollLeft:h.scrollLeft,scrollTop:h.scrollTop}}function hg(h){return h===Dt(h)||!Bt(h)?Do(h):dg(h)}function pg(h){var i=h.getBoundingClientRect(),c=Is(i.width)/h.offsetWidth||1,m=Is(i.height)/h.offsetHeight||1;return c!==1||m!==1}function mg(h,i,c){c===void 0&&(c=!1);var m=Bt(i),E=Bt(i)&&pg(i),D=xn(i),L=Ms(h,E,c),Y={scrollLeft:0,scrollTop:0},ee={x:0,y:0};return(m||!m&&!c)&&((on(i)!=="body"||Lo(D))&&(Y=hg(i)),Bt(i)?(ee=Ms(i,!0),ee.x+=i.clientLeft,ee.y+=i.clientTop):D&&(ee.x=$o(D))),{x:L.left+Y.scrollLeft-ee.x,y:L.top+Y.scrollTop-ee.y,width:L.width,height:L.height}}function gg(h){var i=new Map,c=new Set,m=[];h.forEach(function(D){i.set(D.name,D)});function E(D){c.add(D.name);var L=[].concat(D.requires||[],D.requiresIfExists||[]);L.forEach(function(Y){if(!c.has(Y)){var ee=i.get(Y);ee&&E(ee)}}),m.push(D)}return h.forEach(function(D){c.has(D.name)||E(D)}),m}function _g(h){var i=gg(h);return uc.reduce(function(c,m){return c.concat(i.filter(function(E){return E.phase===m}))},[])}function vg(h){var i;return function(){return i||(i=new Promise(function(c){Promise.resolve().then(function(){i=void 0,c(h())})})),i}}function bg(h){var i=h.reduce(function(c,m){var E=c[m.name];return c[m.name]=E?Object.assign({},E,m,{options:Object.assign({},E.options,m.options),data:Object.assign({},E.data,m.data)}):m,c},{});return Object.keys(i).map(function(c){return i[c]})}var Nc={placement:"bottom",modifiers:[],strategy:"absolute"};function xc(){for(var h=arguments.length,i=new Array(h),c=0;c<h;c++)i[c]=arguments[c];return!i.some(function(m){return!(m&&typeof m.getBoundingClientRect=="function")})}function ci(h){h===void 0&&(h={});var i=h,c=i.defaultModifiers,m=c===void 0?[]:c,E=i.defaultOptions,D=E===void 0?Nc:E;return function(Y,ee,le){le===void 0&&(le=D);var ne={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nc,D),modifiersData:{},elements:{reference:Y,popper:ee},attributes:{},styles:{}},Se=[],Ce=!1,Ee={state:ne,setOptions:function(ze){var Xe=typeof ze=="function"?ze(ne.options):ze;Oe(),ne.options=Object.assign({},D,ne.options,Xe),ne.scrollParents={reference:Jn(Y)?dr(Y):Y.contextElement?dr(Y.contextElement):[],popper:dr(ee)};var Ze=_g(bg([].concat(m,ne.options.modifiers)));return ne.orderedModifiers=Ze.filter(function(Ne){return Ne.enabled}),We(),Ee.update()},forceUpdate:function(){if(!Ce){var ze=ne.elements,Xe=ze.reference,Ze=ze.popper;if(xc(Xe,Ze)){ne.rects={reference:mg(Xe,ur(Ze),ne.options.strategy==="fixed"),popper:Ro(Ze)},ne.reset=!1,ne.placement=ne.options.placement,ne.orderedModifiers.forEach(function(tt){return ne.modifiersData[tt.name]=Object.assign({},tt.data)});for(var Ne=0;Ne<ne.orderedModifiers.length;Ne++){if(ne.reset===!0){ne.reset=!1,Ne=-1;continue}var Ue=ne.orderedModifiers[Ne],He=Ue.fn,Je=Ue.options,at=Je===void 0?{}:Je,st=Ue.name;typeof He=="function"&&(ne=He({state:ne,options:at,name:st,instance:Ee})||ne)}}}},update:vg(function(){return new Promise(function($e){Ee.forceUpdate(),$e(ne)})}),destroy:function(){Oe(),Ce=!0}};if(!xc(Y,ee))return Ee;Ee.setOptions(le).then(function($e){!Ce&&le.onFirstUpdate&&le.onFirstUpdate($e)});function We(){ne.orderedModifiers.forEach(function($e){var ze=$e.name,Xe=$e.options,Ze=Xe===void 0?{}:Xe,Ne=$e.effect;if(typeof Ne=="function"){var Ue=Ne({state:ne,name:ze,instance:Ee,options:Ze}),He=function(){};Se.push(Ue||He)}})}function Oe(){Se.forEach(function($e){return $e()}),Se=[]}return Ee}}var yg=ci(),Eg=[Po,Mo,xo,Co],wg=ci({defaultModifiers:Eg}),Tg=[Po,Mo,xo,Co,Oc,Tc,Rc,_c,Cc],ko=ci({defaultModifiers:Tg});const Pc=Object.freeze(Object.defineProperty({__proto__:null,afterMain:oc,afterRead:sc,afterWrite:cc,applyStyles:Co,arrow:_c,auto:ri,basePlacements:Ds,beforeMain:rc,beforeRead:tc,beforeWrite:ac,bottom:xt,clippingParents:Zl,computeStyles:xo,createPopper:ko,createPopperBase:yg,createPopperLite:wg,detectOverflow:Bs,end:$s,eventListeners:Po,flip:Tc,hide:Cc,left:yt,main:ic,modifierPhases:uc,offset:Oc,placements:Ao,popper:Ls,popperGenerator:ci,popperOffsets:Mo,preventOverflow:Rc,read:nc,reference:ec,right:Pt,start:Gn,top:bt,variationPlacements:To,viewport:wo,write:lc},Symbol.toStringTag,{value:"Module"})),Dc="dropdown",Xn=".bs.dropdown",Bo=".data-api",Ag="Escape",$c="Tab",Sg="ArrowUp",Lc="ArrowDown",Cg=2,Og=`hide${Xn}`,Rg=`hidden${Xn}`,Ng=`show${Xn}`,xg=`shown${Xn}`,Ic=`click${Xn}${Bo}`,Mc=`keydown${Xn}${Bo}`,Pg=`keyup${Xn}${Bo}`,Fs="show",Dg="dropup",$g="dropend",Lg="dropstart",Ig="dropup-center",Mg="dropdown-center",Zn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',kg=`${Zn}.${Fs}`,ui=".dropdown-menu",Bg=".navbar",Fg=".navbar-nav",Ug=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Hg=x()?"top-end":"top-start",Vg=x()?"top-start":"top-end",jg=x()?"bottom-end":"bottom-start",qg=x()?"bottom-start":"bottom-end",Kg=x()?"left-start":"right-start",Wg=x()?"right-start":"left-start",Yg="top",zg="bottom",Gg={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Jg={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Yt extends W{constructor(i,c){super(i,c),this._popper=null,this._parent=this._element.parentNode,this._menu=P.next(this._element,ui)[0]||P.prev(this._element,ui)[0]||P.findOne(ui,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Gg}static get DefaultType(){return Jg}static get NAME(){return Dc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(A(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!C.trigger(this._element,Ng,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Fg))for(const m of[].concat(...document.body.children))C.on(m,"mouseover",B);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Fs),this._element.classList.add(Fs),C.trigger(this._element,xg,i)}}hide(){if(A(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!C.trigger(this._element,Og,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const m of[].concat(...document.body.children))C.off(m,"mouseover",B);this._popper&&this._popper.destroy(),this._menu.classList.remove(Fs),this._element.classList.remove(Fs),this._element.setAttribute("aria-expanded","false"),b.removeDataAttribute(this._menu,"popper"),C.trigger(this._element,Rg,i),this._element.focus()}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!g(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Dc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof Pc>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let i=this._element;this._config.reference==="parent"?i=this._parent:g(this._config.reference)?i=_(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const c=this._getPopperConfig();this._popper=ko(i,this._menu,c)}_isShown(){return this._menu.classList.contains(Fs)}_getPlacement(){const i=this._parent;if(i.classList.contains($g))return Kg;if(i.classList.contains(Lg))return Wg;if(i.classList.contains(Ig))return Yg;if(i.classList.contains(Mg))return zg;const c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(Dg)?c?Vg:Hg:c?qg:jg}_detectNavbar(){return this._element.closest(Bg)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(b.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...S(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:c}){const m=P.find(Ug,this._menu).filter(E=>v(E));m.length&&M(m,c,i===Lc,!m.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=Yt.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===Cg||i.type==="keyup"&&i.key!==$c)return;const c=P.find(kg);for(const m of c){const E=Yt.getInstance(m);if(!E||E._config.autoClose===!1)continue;const D=i.composedPath(),L=D.includes(E._menu);if(D.includes(E._element)||E._config.autoClose==="inside"&&!L||E._config.autoClose==="outside"&&L||E._menu.contains(i.target)&&(i.type==="keyup"&&i.key===$c||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const Y={relatedTarget:E._element};i.type==="click"&&(Y.clickEvent=i),E._completeHide(Y)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),m=i.key===Ag,E=[Sg,Lc].includes(i.key);if(!E&&!m||c&&!m)return;i.preventDefault();const D=this.matches(Zn)?this:P.prev(this,Zn)[0]||P.next(this,Zn)[0]||P.findOne(Zn,i.delegateTarget.parentNode),L=Yt.getOrCreateInstance(D);if(E){i.stopPropagation(),L.show(),L._selectMenuItem(i);return}L._isShown()&&(i.stopPropagation(),L.hide(),D.focus())}}C.on(document,Mc,Zn,Yt.dataApiKeydownHandler),C.on(document,Mc,ui,Yt.dataApiKeydownHandler),C.on(document,Ic,Yt.clearMenus),C.on(document,Pg,Yt.clearMenus),C.on(document,Ic,Zn,function(h){h.preventDefault(),Yt.getOrCreateInstance(this).toggle()}),R(Yt);const kc="backdrop",Qg="fade",Bc="show",Fc=`mousedown.bs.${kc}`,Xg={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Zg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Uc extends y{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Xg}static get DefaultType(){return Zg}static get NAME(){return kc}show(i){if(!this._config.isVisible){S(i);return}this._append();const c=this._getElement();this._config.isAnimated&&H(c),c.classList.add(Bc),this._emulateAnimation(()=>{S(i)})}hide(i){if(!this._config.isVisible){S(i);return}this._getElement().classList.remove(Bc),this._emulateAnimation(()=>{this.dispose(),S(i)})}dispose(){this._isAppended&&(C.off(this._element,Fc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(Qg),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=_(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),C.on(i,Fc,()=>{S(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){O(i,this._getElement(),this._config.isAnimated)}}const e_="focustrap",fi=".bs.focustrap",t_=`focusin${fi}`,n_=`keydown.tab${fi}`,s_="Tab",r_="forward",Hc="backward",i_={autofocus:!0,trapElement:null},o_={autofocus:"boolean",trapElement:"element"};class Vc extends y{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return i_}static get DefaultType(){return o_}static get NAME(){return e_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),C.off(document,fi),C.on(document,t_,i=>this._handleFocusin(i)),C.on(document,n_,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,C.off(document,fi))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const m=P.focusableChildren(c);m.length===0?c.focus():this._lastTabNavDirection===Hc?m[m.length-1].focus():m[0].focus()}_handleKeydown(i){i.key===s_&&(this._lastTabNavDirection=i.shiftKey?Hc:r_)}}const jc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",qc=".sticky-top",di="padding-right",Kc="margin-right";class Fo{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,di,c=>c+i),this._setElementAttributes(jc,di,c=>c+i),this._setElementAttributes(qc,Kc,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,di),this._resetElementAttributes(jc,di),this._resetElementAttributes(qc,Kc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,m){const E=this.getWidth(),D=L=>{if(L!==this._element&&window.innerWidth>L.clientWidth+E)return;this._saveInitialAttribute(L,c);const Y=window.getComputedStyle(L).getPropertyValue(c);L.style.setProperty(c,`${m(Number.parseFloat(Y))}px`)};this._applyManipulationCallback(i,D)}_saveInitialAttribute(i,c){const m=i.style.getPropertyValue(c);m&&b.setDataAttribute(i,c,m)}_resetElementAttributes(i,c){const m=E=>{const D=b.getDataAttribute(E,c);if(D===null){E.style.removeProperty(c);return}b.removeDataAttribute(E,c),E.style.setProperty(c,D)};this._applyManipulationCallback(i,m)}_applyManipulationCallback(i,c){if(g(i)){c(i);return}for(const m of P.find(i,this._element))c(m)}}const a_="modal",Ft=".bs.modal",l_=".data-api",c_="Escape",u_=`hide${Ft}`,f_=`hidePrevented${Ft}`,Wc=`hidden${Ft}`,Yc=`show${Ft}`,d_=`shown${Ft}`,h_=`resize${Ft}`,p_=`click.dismiss${Ft}`,m_=`mousedown.dismiss${Ft}`,g_=`keydown.dismiss${Ft}`,__=`click${Ft}${l_}`,zc="modal-open",v_="fade",Gc="show",Uo="modal-static",b_=".modal.show",y_=".modal-dialog",E_=".modal-body",w_='[data-bs-toggle="modal"]',T_={backdrop:!0,focus:!0,keyboard:!0},A_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class es extends W{constructor(i,c){super(i,c),this._dialog=P.findOne(y_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fo,this._addEventListeners()}static get Default(){return T_}static get DefaultType(){return A_}static get NAME(){return a_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||C.trigger(this._element,Yc,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(zc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||C.trigger(this._element,u_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Gc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){C.off(window,Ft),C.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Uc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Vc({trapElement:this._element})}_showElement(i){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 c=P.findOne(E_,this._dialog);c&&(c.scrollTop=0),H(this._element),this._element.classList.add(Gc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,C.trigger(this._element,d_,{relatedTarget:i})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){C.on(this._element,g_,i=>{if(i.key===c_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),C.on(window,h_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),C.on(this._element,m_,i=>{C.one(this._element,p_,c=>{if(!(this._element!==i.target||this._element!==c.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(zc),this._resetAdjustments(),this._scrollBar.reset(),C.trigger(this._element,Wc)})}_isAnimated(){return this._element.classList.contains(v_)}_triggerBackdropTransition(){if(C.trigger(this._element,f_).defaultPrevented)return;const c=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(Uo)||(c||(this._element.style.overflowY="hidden"),this._element.classList.add(Uo),this._queueCallback(()=>{this._element.classList.remove(Uo),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),m=c>0;if(m&&!i){const E=x()?"paddingLeft":"paddingRight";this._element.style[E]=`${c}px`}if(!m&&i){const E=x()?"paddingRight":"paddingLeft";this._element.style[E]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const m=es.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i](c)}})}}C.on(document,__,w_,function(h){const i=P.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&h.preventDefault(),C.one(i,Yc,E=>{E.defaultPrevented||C.one(i,Wc,()=>{v(this)&&this.focus()})});const c=P.findOne(b_);c&&es.getInstance(c).hide(),es.getOrCreateInstance(i).toggle(this)}),oe(es),R(es);const S_="offcanvas",gn=".bs.offcanvas",Jc=".data-api",C_=`load${gn}${Jc}`,O_="Escape",Qc="show",Xc="showing",Zc="hiding",R_="offcanvas-backdrop",eu=".offcanvas.show",N_=`show${gn}`,x_=`shown${gn}`,P_=`hide${gn}`,tu=`hidePrevented${gn}`,nu=`hidden${gn}`,D_=`resize${gn}`,$_=`click${gn}${Jc}`,L_=`keydown.dismiss${gn}`,I_='[data-bs-toggle="offcanvas"]',M_={backdrop:!0,keyboard:!0,scroll:!1},k_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class _n extends W{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return M_}static get DefaultType(){return k_}static get NAME(){return S_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||C.trigger(this._element,N_,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fo().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Xc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Qc),this._element.classList.remove(Xc),C.trigger(this._element,x_,{relatedTarget:i})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||C.trigger(this._element,P_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Zc),this._backdrop.hide();const c=()=>{this._element.classList.remove(Qc,Zc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fo().reset(),C.trigger(this._element,nu)};this._queueCallback(c,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){C.trigger(this._element,tu);return}this.hide()},c=!!this._config.backdrop;return new Uc({className:R_,isVisible:c,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:c?i:null})}_initializeFocusTrap(){return new Vc({trapElement:this._element})}_addEventListeners(){C.on(this._element,L_,i=>{if(i.key===O_){if(this._config.keyboard){this.hide();return}C.trigger(this._element,tu)}})}static jQueryInterface(i){return this.each(function(){const c=_n.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}C.on(document,$_,I_,function(h){const i=P.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&h.preventDefault(),A(this))return;C.one(i,nu,()=>{v(this)&&this.focus()});const c=P.findOne(eu);c&&c!==i&&_n.getInstance(c).hide(),_n.getOrCreateInstance(i).toggle(this)}),C.on(window,C_,()=>{for(const h of P.find(eu))_n.getOrCreateInstance(h).show()}),C.on(window,D_,()=>{for(const h of P.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(h).position!=="fixed"&&_n.getOrCreateInstance(h).hide()}),oe(_n),R(_n);const su={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},B_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),F_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,U_=(h,i)=>{const c=h.nodeName.toLowerCase();return i.includes(c)?B_.has(c)?!!F_.test(h.nodeValue):!0:i.filter(m=>m instanceof RegExp).some(m=>m.test(c))};function H_(h,i,c){if(!h.length)return h;if(c&&typeof c=="function")return c(h);const E=new window.DOMParser().parseFromString(h,"text/html"),D=[].concat(...E.body.querySelectorAll("*"));for(const L of D){const Y=L.nodeName.toLowerCase();if(!Object.keys(i).includes(Y)){L.remove();continue}const ee=[].concat(...L.attributes),le=[].concat(i["*"]||[],i[Y]||[]);for(const ne of ee)U_(ne,le)||L.removeAttribute(ne.nodeName)}return E.body.innerHTML}const V_="TemplateFactory",j_={allowList:su,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},q_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},K_={entry:"(string|element|function|null)",selector:"(string|element)"};class W_ extends y{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return j_}static get DefaultType(){return q_}static get NAME(){return V_}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[E,D]of Object.entries(this._config.content))this._setContent(i,D,E);const c=i.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&c.classList.add(...m.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,m]of Object.entries(i))super._typeCheckConfig({selector:c,entry:m},K_)}_setContent(i,c,m){const E=P.findOne(m,i);if(E){if(c=this._resolvePossibleFunction(c),!c){E.remove();return}if(g(c)){this._putElementInTemplate(_(c),E);return}if(this._config.html){E.innerHTML=this._maybeSanitize(c);return}E.textContent=c}}_maybeSanitize(i){return this._config.sanitize?H_(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return S(i,[void 0,this])}_putElementInTemplate(i,c){if(this._config.html){c.innerHTML="",c.append(i);return}c.textContent=i.textContent}}const Y_="tooltip",z_=new Set(["sanitize","allowList","sanitizeFn"]),Ho="fade",G_="modal",hi="show",J_=".tooltip-inner",ru=`.${G_}`,iu="hide.bs.modal",hr="hover",Vo="focus",Q_="click",X_="manual",Z_="hide",ev="hidden",tv="show",nv="shown",sv="inserted",rv="click",iv="focusin",ov="focusout",av="mouseenter",lv="mouseleave",cv={AUTO:"auto",TOP:"top",RIGHT:x()?"left":"right",BOTTOM:"bottom",LEFT:x()?"right":"left"},uv={allowList:su,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"},fv={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 ts extends W{constructor(i,c){if(typeof Pc>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(i,c),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 uv}static get DefaultType(){return fv}static get NAME(){return Y_}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),C.off(this._element.closest(ru),iu,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 i=C.trigger(this._element,this.constructor.eventName(tv)),m=(I(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!m)return;this._disposePopper();const E=this._getTipElement();this._element.setAttribute("aria-describedby",E.getAttribute("id"));const{container:D}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(D.append(E),C.trigger(this._element,this.constructor.eventName(sv))),this._popper=this._createPopper(E),E.classList.add(hi),"ontouchstart"in document.documentElement)for(const Y of[].concat(...document.body.children))C.on(Y,"mouseover",B);const L=()=>{C.trigger(this._element,this.constructor.eventName(nv)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(L,this.tip,this._isAnimated())}hide(){if(!this._isShown()||C.trigger(this._element,this.constructor.eventName(Z_)).defaultPrevented)return;if(this._getTipElement().classList.remove(hi),"ontouchstart"in document.documentElement)for(const E of[].concat(...document.body.children))C.off(E,"mouseover",B);this._activeTrigger[Q_]=!1,this._activeTrigger[Vo]=!1,this._activeTrigger[hr]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),C.trigger(this._element,this.constructor.eventName(ev)))};this._queueCallback(m,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(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(Ho,hi),c.classList.add(`bs-${this.constructor.NAME}-auto`);const m=d(this.constructor.NAME).toString();return c.setAttribute("id",m),this._isAnimated()&&c.classList.add(Ho),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new W_({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[J_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ho)}_isShown(){return this.tip&&this.tip.classList.contains(hi)}_createPopper(i){const c=S(this._config.placement,[this,i,this._element]),m=cv[c.toUpperCase()];return ko(this._element,i,this._getPopperConfig(m))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return S(i,[this._element,this._element])}_getPopperConfig(i){const c={placement:i,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:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...c,...S(this._config.popperConfig,[void 0,c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")C.on(this._element,this.constructor.eventName(rv),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(c!==X_){const m=c===hr?this.constructor.eventName(av):this.constructor.eventName(iv),E=c===hr?this.constructor.eventName(lv):this.constructor.eventName(ov);C.on(this._element,m,this._config.selector,D=>{const L=this._initializeOnDelegatedTarget(D);L._activeTrigger[D.type==="focusin"?Vo:hr]=!0,L._enter()}),C.on(this._element,E,this._config.selector,D=>{const L=this._initializeOnDelegatedTarget(D);L._activeTrigger[D.type==="focusout"?Vo:hr]=L._element.contains(D.relatedTarget),L._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},C.on(this._element.closest(ru),iu,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),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(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=b.getDataAttributes(this._element);for(const m of Object.keys(c))z_.has(m)&&delete c[m];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:_(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,m]of Object.entries(this._config))this.constructor.Default[c]!==m&&(i[c]=m);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=ts.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(ts);const dv="popover",hv=".popover-header",pv=".popover-body",mv={...ts.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"},gv={...ts.DefaultType,content:"(null|string|element|function)"};class pi extends ts{static get Default(){return mv}static get DefaultType(){return gv}static get NAME(){return dv}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[hv]:this._getTitle(),[pv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const c=pi.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(pi);const _v="scrollspy",jo=".bs.scrollspy",vv=".data-api",bv=`activate${jo}`,ou=`click${jo}`,yv=`load${jo}${vv}`,Ev="dropdown-item",Us="active",wv='[data-bs-spy="scroll"]',qo="[href]",Tv=".nav, .list-group",au=".nav-link",Av=`${au}, .nav-item > ${au}, .list-group-item`,Sv=".dropdown",Cv=".dropdown-toggle",Ov={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Rv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class pr extends W{constructor(i,c){super(i,c),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 Ov}static get DefaultType(){return Rv}static get NAME(){return _v}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=_(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(C.off(this._config.target,ou),C.on(this._config.target,ou,qo,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const m=this._rootElement||window,E=c.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:E,behavior:"smooth"});return}m.scrollTop=E}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=L=>this._targetLinks.get(`#${L.target.id}`),m=L=>{this._previousScrollData.visibleEntryTop=L.target.offsetTop,this._process(c(L))},E=(this._rootElement||document.documentElement).scrollTop,D=E>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=E;for(const L of i){if(!L.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(L));continue}const Y=L.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(D&&Y){if(m(L),!E)return;continue}!D&&!Y&&m(L)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=P.find(qo,this._config.target);for(const c of i){if(!c.hash||A(c))continue;const m=P.findOne(decodeURI(c.hash),this._element);v(m)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,m))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Us),this._activateParents(i),C.trigger(this._element,bv,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(Ev)){P.findOne(Cv,i.closest(Sv)).classList.add(Us);return}for(const c of P.parents(i,Tv))for(const m of P.prev(c,Av))m.classList.add(Us)}_clearActiveClass(i){i.classList.remove(Us);const c=P.find(`${qo}.${Us}`,i);for(const m of c)m.classList.remove(Us)}static jQueryInterface(i){return this.each(function(){const c=pr.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}C.on(window,yv,()=>{for(const h of P.find(wv))pr.getOrCreateInstance(h)}),R(pr);const Nv="tab",ns=".bs.tab",xv=`hide${ns}`,Pv=`hidden${ns}`,Dv=`show${ns}`,$v=`shown${ns}`,Lv=`click${ns}`,Iv=`keydown${ns}`,Mv=`load${ns}`,kv="ArrowLeft",lu="ArrowRight",Bv="ArrowUp",cu="ArrowDown",Ko="Home",uu="End",ss="active",fu="fade",Wo="show",Fv="dropdown",du=".dropdown-toggle",Uv=".dropdown-menu",Yo=`:not(${du})`,Hv='.list-group, .nav, [role="tablist"]',Vv=".nav-item, .list-group-item",jv=`.nav-link${Yo}, .list-group-item${Yo}, [role="tab"]${Yo}`,hu='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',zo=`${jv}, ${hu}`,qv=`.${ss}[data-bs-toggle="tab"], .${ss}[data-bs-toggle="pill"], .${ss}[data-bs-toggle="list"]`;class rs extends W{constructor(i){super(i),this._parent=this._element.closest(Hv),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),C.on(this._element,Iv,c=>this._keydown(c)))}static get NAME(){return Nv}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),m=c?C.trigger(c,xv,{relatedTarget:i}):null;C.trigger(i,Dv,{relatedTarget:c}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){if(!i)return;i.classList.add(ss),this._activate(P.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Wo);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),C.trigger(i,$v,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(fu))}_deactivate(i,c){if(!i)return;i.classList.remove(ss),i.blur(),this._deactivate(P.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Wo);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),C.trigger(i,Pv,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(fu))}_keydown(i){if(![kv,lu,Bv,cu,Ko,uu].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(E=>!A(E));let m;if([Ko,uu].includes(i.key))m=c[i.key===Ko?0:c.length-1];else{const E=[lu,cu].includes(i.key);m=M(c,i.target,E,!0)}m&&(m.focus({preventScroll:!0}),rs.getOrCreateInstance(m).show())}_getChildren(){return P.find(zo,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const m of c)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),m=this._getOuterElement(i);i.setAttribute("aria-selected",c),m!==i&&this._setAttributeIfNotExists(m,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=P.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const m=this._getOuterElement(i);if(!m.classList.contains(Fv))return;const E=(D,L)=>{const Y=P.findOne(D,m);Y&&Y.classList.toggle(L,c)};E(du,ss),E(Uv,Wo),m.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,m){i.hasAttribute(c)||i.setAttribute(c,m)}_elemIsActive(i){return i.classList.contains(ss)}_getInnerElement(i){return i.matches(zo)?i:P.findOne(zo,i)}_getOuterElement(i){return i.closest(Vv)||i}static jQueryInterface(i){return this.each(function(){const c=rs.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}C.on(document,Lv,hu,function(h){["A","AREA"].includes(this.tagName)&&h.preventDefault(),!A(this)&&rs.getOrCreateInstance(this).show()}),C.on(window,Mv,()=>{for(const h of P.find(qv))rs.getOrCreateInstance(h)}),R(rs);const Kv="toast",Pn=".bs.toast",Wv=`mouseover${Pn}`,Yv=`mouseout${Pn}`,zv=`focusin${Pn}`,Gv=`focusout${Pn}`,Jv=`hide${Pn}`,Qv=`hidden${Pn}`,Xv=`show${Pn}`,Zv=`shown${Pn}`,eb="fade",pu="hide",mi="show",gi="showing",tb={animation:"boolean",autohide:"boolean",delay:"number"},nb={animation:!0,autohide:!0,delay:5e3};class mr extends W{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return nb}static get DefaultType(){return tb}static get NAME(){return Kv}show(){if(C.trigger(this._element,Xv).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(eb);const c=()=>{this._element.classList.remove(gi),C.trigger(this._element,Zv),this._maybeScheduleHide()};this._element.classList.remove(pu),H(this._element),this._element.classList.add(mi,gi),this._queueCallback(c,this._element,this._config.animation)}hide(){if(!this.isShown()||C.trigger(this._element,Jv).defaultPrevented)return;const c=()=>{this._element.classList.add(pu),this._element.classList.remove(gi,mi),C.trigger(this._element,Qv)};this._element.classList.add(gi),this._queueCallback(c,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(mi),super.dispose()}isShown(){return this._element.classList.contains(mi)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=c;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=c;break}}if(c){this._clearTimeout();return}const m=i.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){C.on(this._element,Wv,i=>this._onInteraction(i,!0)),C.on(this._element,Yv,i=>this._onInteraction(i,!1)),C.on(this._element,zv,i=>this._onInteraction(i,!0)),C.on(this._element,Gv,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=mr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return oe(mr),R(mr),{Alert:Ae,Button:Rn,Carousel:Ns,Collapse:Ps,Dropdown:Yt,Modal:es,Offcanvas:_n,Popover:pi,ScrollSpy:pr,Tab:rs,Toast:mr,Tooltip:ts}})}(Bi)),Bi.exports}IS();const Vp=new URLSearchParams(window.location.search),Td=Vp.get("state"),Ad=Vp.get("code"),Sd=async()=>{const e=FE(Y0),t=await Vr("/api/serverInformation",{});if(e.use(VE()),t){const n=rn();n.serverInformation=t.data}e.use(zl),e.mount("#app")};Td&&Ad?await vs("/api/signin/oidc",{provider:Td,code:Ad,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname}).then(async e=>{let t=new URL(window.location.href);t.search="",history.replaceState({},document.title,t.toString()),await Sd(),e.status||rn().newNotification(e.message,"danger")}):await Sd();
|