Files
GPT_Management/backend/internal/static/dist/assets/index-BIETROXK.js

8 lines
193 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/JoinPage-fgRz2aae.js","assets/CardTitle.vue_vue_type_script_setup_true_lang-BZWhSLyf.js","assets/CardDescription.vue_vue_type_script_setup_true_lang-PYRWivA-.js","assets/Label.vue_vue_type_script_setup_true_lang-C4mrJ3gg.js","assets/index-D7j6Bokf.js","assets/invite-rZ0cGmoH.js","assets/circle-x-d27Sm-GD.js","assets/LoginPage-DmXSAfKa.js","assets/DashboardPage-BlLDgadq.js","assets/Skeleton.vue_vue_type_script_setup_true_lang-DLBxrxfg.js","assets/accounts-DexZCWCe.js","assets/refresh-cw-x2W3gvqp.js","assets/TeamsPage-DxLnC5Oz.js","assets/PaginationPrevious.vue_vue_type_script_setup_true_lang-BYnju-Ld.js","assets/DialogTrigger.vue_vue_type_script_setup_true_lang-wpGIlhRm.js","assets/TeamInvitesPage-CDyGxj0w.js","assets/CardKeysPage-BfgEvPHq.js"])))=>i.map(i=>d[i]);
(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 i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).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)}})();function oo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},yn=[],xt=()=>{},sl=()=>!1,Fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),io=e=>e.startsWith("onUpdate:"),ze=Object.assign,lo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ac=Object.prototype.hasOwnProperty,pe=(e,t)=>Ac.call(e,t),ee=Array.isArray,vn=e=>js(e)==="[object Map]",rl=e=>js(e)==="[object Set]",te=e=>typeof e=="function",Te=e=>typeof e=="string",Bt=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",ol=e=>(Se(e)||te(e))&&te(e.then)&&te(e.catch),il=Object.prototype.toString,js=e=>il.call(e),Cc=e=>js(e).slice(8,-1),ll=e=>js(e)==="[object Object]",Us=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Un=oo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Tc=/-\w/g,at=Hs(e=>e.replace(Tc,t=>t.slice(1).toUpperCase())),Oc=/\B([A-Z])/g,Xt=Hs(e=>e.replace(Oc,"-$1").toLowerCase()),Vs=Hs(e=>e.charAt(0).toUpperCase()+e.slice(1)),dr=Hs(e=>e?`on${Vs(e)}`:""),Wt=(e,t)=>!Object.is(e,t),ys=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},al=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ao=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Io;const $s=()=>Io||(Io=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Kt(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Te(s)?Nc(s):Kt(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Te(e)||Se(e))return e}const kc=/;(?![^(]*\))/g,Pc=/:([^]+)/,Ic=/\/\*[^]*?\*\//g;function Nc(e){const t={};return e.replace(Ic,"").split(kc).forEach(n=>{if(n){const s=n.split(Pc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Me(e){let t="";if(Te(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const s=Me(e[n]);s&&(t+=s+" ")}else if(Se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function No(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Te(t)&&(e.class=Me(t)),n&&(e.style=Kt(n)),e}const Mc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Dc=oo(Mc);function cl(e){return!!e||e===""}const ul=e=>!!(e&&e.__v_isRef===!0),It=e=>Te(e)?e:e==null?"":ee(e)||Se(e)&&(e.toString===il||!te(e.toString))?ul(e)?It(e.value):JSON.stringify(e,fl,2):String(e),fl=(e,t)=>ul(t)?fl(e,t.value):vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[hr(s,o)+" =>"]=r,n),{})}:rl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hr(n))}:Bt(t)?hr(t):Se(t)&&!ee(t)&&!ll(t)?String(t):t,hr=(e,t="")=>{var n;return Bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ue;class dl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.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=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){++this._on===1&&(this.prevScope=Ue,Ue=this)}off(){this._on>0&&--this._on===0&&(Ue=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 hl(e){return new dl(e)}function pl(){return Ue}function Lc(e,t=!1){Ue&&Ue.cleanups.push(e)}let Ee;const pr=new WeakSet;class ml{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,Ue&&Ue.active&&Ue.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pr.has(this)&&(pr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||bl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mo(this),yl(this);const t=Ee,n=ct;Ee=this,ct=!0;try{return this.fn()}finally{vl(this),Ee=t,ct=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)fo(t);this.deps=this.depsTail=void 0,Mo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Mr(this)&&this.run()}get dirty(){return Mr(this)}}let gl=0,Hn,Vn;function bl(e,t=!1){if(e.flags|=8,t){e.next=Vn,Vn=e;return}e.next=Hn,Hn=e}function co(){gl++}function uo(){if(--gl>0)return;if(Vn){let t=Vn;for(Vn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Hn;){let t=Hn;for(Hn=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 yl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vl(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),fo(s),Bc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Mr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(wl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function wl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jn)||(e.globalVersion=Jn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Mr(e))))return;e.flags|=2;const t=e.dep,n=Ee,s=ct;Ee=e,ct=!0;try{yl(e);const r=e.fn(e._value);(t.version===0||Wt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ee=n,ct=s,vl(e),e.flags&=-3}}function fo(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)fo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ct=!0;const _l=[];function Mt(){_l.push(ct),ct=!1}function Dt(){const e=_l.pop();ct=e===void 0?!0:e}function Mo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ee;Ee=void 0;try{t()}finally{Ee=n}}}let Jn=0;class Fc{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 zs{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,this.__v_skip=!0}track(t){if(!Ee||!ct||Ee===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ee)n=this.activeLink=new Fc(Ee,this),Ee.deps?(n.prevDep=Ee.depsTail,Ee.depsTail.nextDep=n,Ee.depsTail=n):Ee.deps=Ee.depsTail=n,xl(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=Ee.depsTail,n.nextDep=void 0,Ee.depsTail.nextDep=n,Ee.depsTail=n,Ee.deps===n&&(Ee.deps=s)}return n}trigger(t){this.version++,Jn++,this.notify(t)}notify(t){co();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{uo()}}}function xl(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)xl(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const As=new WeakMap,rn=Symbol(""),Dr=Symbol(""),Xn=Symbol("");function He(e,t,n){if(ct&&Ee){let s=As.get(e);s||As.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new zs),r.map=s,r.key=n),r.track()}}function kt(e,t,n,s,r,o){const i=As.get(e);if(!i){Jn++;return}const l=a=>{a&&a.trigger()};if(co(),t==="clear")i.forEach(l);else{const a=ee(e),u=a&&Us(n);if(a&&n==="length"){const c=Number(s);i.forEach((f,p)=>{(p==="length"||p===Xn||!Bt(p)&&p>=c)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Xn)),t){case"add":a?u&&l(i.get("length")):(l(i.get(rn)),vn(e)&&l(i.get(Dr)));break;case"delete":a||(l(i.get(rn)),vn(e)&&l(i.get(Dr)));break;case"set":vn(e)&&l(i.get(rn));break}}uo()}function jc(e,t){const n=As.get(e);return n&&n.get(t)}function fn(e){const t=fe(e);return t===e?t:(He(t,"iterate",Xn),ot(e)?t:t.map(ut))}function qs(e){return He(e=fe(e),"iterate",Xn),e}function $t(e,t){return Lt(e)?Nt(e)?Sn(ut(t)):Sn(t):ut(t)}const Uc={__proto__:null,[Symbol.iterator](){return mr(this,Symbol.iterator,e=>$t(this,e))},concat(...e){return fn(this).concat(...e.map(t=>ee(t)?fn(t):t))},entries(){return mr(this,"entries",e=>(e[1]=$t(this,e[1]),e))},every(e,t){return Rt(this,"every",e,t,void 0,arguments)},filter(e,t){return Rt(this,"filter",e,t,n=>n.map(s=>$t(this,s)),arguments)},find(e,t){return Rt(this,"find",e,t,n=>$t(this,n),arguments)},findIndex(e,t){return Rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rt(this,"findLast",e,t,n=>$t(this,n),arguments)},findLastIndex(e,t){return Rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return gr(this,"includes",e)},indexOf(...e){return gr(this,"indexOf",e)},join(e){return fn(this).join(e)},lastIndexOf(...e){return gr(this,"lastIndexOf",e)},map(e,t){return Rt(this,"map",e,t,void 0,arguments)},pop(){return Nn(this,"pop")},push(...e){return Nn(this,"push",e)},reduce(e,...t){return Do(this,"reduce",e,t)},reduceRight(e,...t){return Do(this,"reduceRight",e,t)},shift(){return Nn(this,"shift")},some(e,t){return Rt(this,"some",e,t,void 0,arguments)},splice(...e){return Nn(this,"splice",e)},toReversed(){return fn(this).toReversed()},toSorted(e){return fn(this).toSorted(e)},toSpliced(...e){return fn(this).toSpliced(...e)},unshift(...e){return Nn(this,"unshift",e)},values(){return mr(this,"values",e=>$t(this,e))}};function mr(e,t,n){const s=qs(e),r=s[t]();return s!==e&&!ot(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Hc=Array.prototype;function Rt(e,t,n,s,r,o){const i=qs(e),l=i!==e&&!ot(e),a=i[t];if(a!==Hc[t]){const f=a.apply(e,o);return l?ut(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,$t(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const c=a.call(i,u,s);return l&&r?r(c):c}function Do(e,t,n,s){const r=qs(e);let o=n;return r!==e&&(ot(e)?n.length>3&&(o=function(i,l,a){return n.call(this,i,l,a,e)}):o=function(i,l,a){return n.call(this,i,$t(e,l),a,e)}),r[t](o,...s)}function gr(e,t,n){const s=fe(e);He(s,"iterate",Xn);const r=s[t](...n);return(r===-1||r===!1)&&Ks(n[0])?(n[0]=fe(n[0]),s[t](...n)):r}function Nn(e,t,n=[]){Mt(),co();const s=fe(e)[t].apply(e,n);return uo(),Dt(),s}const Vc=oo("__proto__,__v_isRef,__isVue"),El=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bt));function $c(e){Bt(e)||(e=String(e));const t=fe(this);return He(t,"has",e),t.hasOwnProperty(e)}class Sl{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?kl:Ol:o?Tl:Cl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ee(t);if(!r){let a;if(i&&(a=Uc[n]))return a;if(n==="hasOwnProperty")return $c}const l=Reflect.get(t,n,Ce(t)?t:s);if((Bt(n)?El.has(n):Vc(n))||(r||He(t,"get",n),o))return l;if(Ce(l)){const a=i&&Us(n)?l:l.value;return r&&Se(a)?Br(a):a}return Se(l)?r?Br(l):ts(l):l}}class Rl extends Sl{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=ee(t)&&Us(n);if(!this._isShallow){const u=Lt(o);if(!ot(s)&&!Lt(s)&&(o=fe(o),s=fe(s)),!i&&Ce(o)&&!Ce(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:pe(t,n),a=Reflect.set(t,n,s,Ce(t)?t:r);return t===fe(r)&&(l?Wt(s,o)&&kt(t,"set",n,s):kt(t,"add",n,s)),a}deleteProperty(t,n){const s=pe(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&kt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Bt(n)||!El.has(n))&&He(t,"has",n),s}ownKeys(t){return He(t,"iterate",ee(t)?"length":rn),Reflect.ownKeys(t)}}class Al extends Sl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const zc=new Rl,qc=new Al,Gc=new Rl(!0),Wc=new Al(!0),Lr=e=>e,us=e=>Reflect.getPrototypeOf(e);function Kc(e,t,n){return function(...s){const r=this.__v_raw,o=fe(r),i=vn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=r[e](...s),c=n?Lr:t?Sn:ut;return!t&&He(o,"iterate",a?Dr:rn),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[c(f[0]),c(f[1])]:c(f),done:p}},[Symbol.iterator](){return this}}}}function fs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jc(e,t){const n={get(r){const o=this.__v_raw,i=fe(o),l=fe(r);e||(Wt(r,l)&&He(i,"get",r),He(i,"get",l));const{has:a}=us(i),u=t?Lr:e?Sn:ut;if(a.call(i,r))return u(o.get(r));if(a.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&He(fe(r),"iterate",rn),r.size},has(r){const o=this.__v_raw,i=fe(o),l=fe(r);return e||(Wt(r,l)&&He(i,"has",r),He(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=fe(l),u=t?Lr:e?Sn:ut;return!e&&He(a,"iterate",rn),l.forEach((c,f)=>r.call(o,u(c),u(f),i))}};return ze(n,e?{add:fs("add"),set:fs("set"),delete:fs("delete"),clear:fs("clear")}:{add(r){!t&&!ot(r)&&!Lt(r)&&(r=fe(r));const o=fe(this);return us(o).has.call(o,r)||(o.add(r),kt(o,"add",r,r)),this},set(r,o){!t&&!ot(o)&&!Lt(o)&&(o=fe(o));const i=fe(this),{has:l,get:a}=us(i);let u=l.call(i,r);u||(r=fe(r),u=l.call(i,r));const c=a.call(i,r);return i.set(r,o),u?Wt(o,c)&&kt(i,"set",r,o):kt(i,"add",r,o),this},delete(r){const o=fe(this),{has:i,get:l}=us(o);let a=i.call(o,r);a||(r=fe(r),a=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return a&&kt(o,"delete",r,void 0),u},clear(){const r=fe(this),o=r.size!==0,i=r.clear();return o&&kt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Kc(r,e,t)}),n}function Gs(e,t){const n=Jc(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(pe(n,r)&&r in s?n:s,r,o)}const Xc={get:Gs(!1,!1)},Yc={get:Gs(!1,!0)},Qc={get:Gs(!0,!1)},Zc={get:Gs(!0,!0)},Cl=new WeakMap,Tl=new WeakMap,Ol=new WeakMap,kl=new WeakMap;function eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tu(e){return e.__v_skip||!Object.isExtensible(e)?0:eu(Cc(e))}function ts(e){return Lt(e)?e:Ws(e,!1,zc,Xc,Cl)}function Pl(e){return Ws(e,!1,Gc,Yc,Tl)}function Br(e){return Ws(e,!0,qc,Qc,Ol)}function sb(e){return Ws(e,!0,Wc,Zc,kl)}function Ws(e,t,n,s,r){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=tu(e);if(o===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Nt(e){return Lt(e)?Nt(e.__v_raw):!!(e&&e.__v_isReactive)}function Lt(e){return!!(e&&e.__v_isReadonly)}function ot(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ho(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&al(e,"__v_skip",!0),e}const ut=e=>Se(e)?ts(e):e,Sn=e=>Se(e)?Br(e):e;function Ce(e){return e?e.__v_isRef===!0:!1}function ue(e){return Il(e,!1)}function nu(e){return Il(e,!0)}function Il(e,t){return Ce(e)?e:new su(e,t)}class su{constructor(t,n){this.dep=new zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:ut(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||ot(t)||Lt(t);t=s?t:fe(t),Wt(t,n)&&(this._rawValue=t,this._value=s?t:ut(t),this.dep.trigger())}}function oe(e){return Ce(e)?e.value:e}function rb(e){return te(e)?e():oe(e)}const ru={get:(e,t,n)=>t==="__v_raw"?e:oe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ce(r)&&!Ce(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Nl(e){return Nt(e)?e:new Proxy(e,ru)}class ou{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new zs,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ob(e){return new ou(e)}function iu(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=Ml(e,n);return t}class lu{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=fe(t);let r=!0,o=t;if(!ee(t)||!Us(String(n)))do r=!Ks(o)||ot(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=oe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ce(this._raw[this._key])){const n=this._object[this._key];if(Ce(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return jc(this._raw,this._key)}}class au{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ib(e,t,n){return Ce(e)?e:te(e)?new au(e):Se(e)&&arguments.length>1?Ml(e,t,n):ue(e)}function Ml(e,t,n){return new lu(e,t,n)}class cu{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ee!==this)return bl(this,!0),!0}get value(){const t=this.dep.track();return wl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function uu(e,t,n=!1){let s,r;return te(e)?s=e:(s=e.get,r=e.set),new cu(s,r,n)}const ds={},Cs=new WeakMap;let en;function fu(e,t=!1,n=en){if(n){let s=Cs.get(n);s||Cs.set(n,s=[]),s.push(e)}}function du(e,t,n=_e){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,u=I=>r?I:ot(I)||r===!1||r===0?Pt(I,1):Pt(I);let c,f,p,g,b=!1,v=!1;if(Ce(e)?(f=()=>e.value,b=ot(e)):Nt(e)?(f=()=>u(e),b=!0):ee(e)?(v=!0,b=e.some(I=>Nt(I)||ot(I)),f=()=>e.map(I=>{if(Ce(I))return I.value;if(Nt(I))return u(I);if(te(I))return a?a(I,2):I()})):te(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){Mt();try{p()}finally{Dt()}}const I=en;en=c;try{return a?a(e,3,[g]):e(g)}finally{en=I}}:f=xt,t&&r){const I=f,V=r===!0?1/0:r;f=()=>Pt(I(),V)}const _=pl(),k=()=>{c.stop(),_&&_.active&&lo(_.effects,c)};if(o&&t){const I=t;t=(...V)=>{I(...V),k()}}let C=v?new Array(e.length).fill(ds):ds;const P=I=>{if(!(!(c.flags&1)||!c.dirty&&!I))if(t){const V=c.run();if(r||b||(v?V.some((Z,G)=>Wt(Z,C[G])):Wt(V,C))){p&&p();const Z=en;en=c;try{const G=[V,C===ds?void 0:v&&C[0]===ds?[]:C,g];C=V,a?a(t,3,G):t(...G)}finally{en=Z}}}else c.run()};return l&&l(P),c=new ml(f),c.scheduler=i?()=>i(P,!1):P,g=I=>fu(I,!1,c),p=c.onStop=()=>{const I=Cs.get(c);if(I){if(a)a(I,4);else for(const V of I)V();Cs.delete(c)}},t?s?P(!0):C=c.run():i?i(P.bind(null,!0),!0):c.run(),k.pause=c.pause.bind(c),k.resume=c.resume.bind(c),k.stop=k,k}function Pt(e,t=1/0,n){if(t<=0||!Se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ce(e))Pt(e.value,t,n);else if(ee(e))for(let s=0;s<e.length;s++)Pt(e[s],t,n);else if(rl(e)||vn(e))e.forEach(s=>{Pt(s,t,n)});else if(ll(e)){for(const s in e)Pt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Pt(e[s],t,n)}return e}function ns(e,t,n,s){try{return s?e(...s):e()}catch(r){Js(r,t,n)}}function Et(e,t,n,s){if(te(e)){const r=ns(e,t,n,s);return r&&ol(r)&&r.catch(o=>{Js(o,t,n)}),r}if(ee(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Et(e[o],t,n,s));return r}}function Js(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||_e;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,a,u)===!1)return}l=l.parent}if(o){Mt(),ns(o,null,10,[e,a,u]),Dt();return}}hu(e,n,r,s,i)}function hu(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ke=[];let vt=-1;const wn=[];let zt=null,mn=0;const Dl=Promise.resolve();let Ts=null;function ss(e){const t=Ts||Dl;return e?t.then(this?e.bind(this):e):t}function pu(e){let t=vt+1,n=Ke.length;for(;t<n;){const s=t+n>>>1,r=Ke[s],o=Yn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function po(e){if(!(e.flags&1)){const t=Yn(e),n=Ke[Ke.length-1];!n||!(e.flags&2)&&t>=Yn(n)?Ke.push(e):Ke.splice(pu(t),0,e),e.flags|=1,Ll()}}function Ll(){Ts||(Ts=Dl.then(Fl))}function mu(e){ee(e)?wn.push(...e):zt&&e.id===-1?zt.splice(mn+1,0,e):e.flags&1||(wn.push(e),e.flags|=1),Ll()}function Lo(e,t,n=vt+1){for(;n<Ke.length;n++){const s=Ke[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ke.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Bl(e){if(wn.length){const t=[...new Set(wn)].sort((n,s)=>Yn(n)-Yn(s));if(wn.length=0,zt){zt.push(...t);return}for(zt=t,mn=0;mn<zt.length;mn++){const n=zt[mn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}zt=null,mn=0}}const Yn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Fl(e){try{for(vt=0;vt<Ke.length;vt++){const t=Ke[vt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ns(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;vt<Ke.length;vt++){const t=Ke[vt];t&&(t.flags&=-2)}vt=-1,Ke.length=0,Bl(),Ts=null,(Ke.length||wn.length)&&Fl()}}let je=null,jl=null;function Os(e){const t=je;return je=e,jl=e&&e.type.__scopeId||null,t}function st(e,t=je,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ms(-1);const o=Os(t);let i;try{i=e(...r)}finally{Os(o),s._d&&Ms(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function lb(e,t){if(je===null)return e;const n=tr(je),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=_e]=t[r];o&&(te(o)&&(o={mounted:o,updated:o}),o.deep&&Pt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Yt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(Mt(),Et(a,n,8,[e.el,l,e,t]),Dt())}}function vs(e,t){if(Ve){let n=Ve.provides;const s=Ve.parent&&Ve.parent.provides;s===n&&(n=Ve.provides=Object.create(s)),n[e]=t}}function lt(e,t,n=!1){const s=er();if(s||on){let r=on?on._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&&te(t)?t.call(s&&s.proxy):t}}function gu(){return!!(er()||on)}const bu=Symbol.for("v-scx"),yu=()=>lt(bu);function Ot(e,t){return Xs(e,null,t)}function ab(e,t){return Xs(e,null,{flush:"post"})}function _n(e,t,n){return Xs(e,t,n)}function Xs(e,t,n=_e){const{immediate:s,deep:r,flush:o,once:i}=n,l=ze({},n),a=t&&s||!t&&o!=="post";let u;if(Zn){if(o==="sync"){const g=yu();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=xt,g.resume=xt,g.pause=xt,g}}const c=Ve;l.call=(g,b,v)=>Et(g,c,b,v);let f=!1;o==="post"?l.scheduler=g=>{Ge(g,c&&c.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,b)=>{b?g():po(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const p=du(e,t,l);return Zn&&(u?u.push(p):a&&p()),p}function vu(e,t,n){const s=this.proxy,r=Te(e)?e.includes(".")?Ul(s,e):()=>s[e]:e.bind(s,s);let o;te(t)?o=t:(o=t.handler,n=t);const i=rs(this),l=Xs(r,o.bind(s),n);return i(),l}function Ul(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 Hl=Symbol("_vte"),wu=e=>e.__isTeleport,$n=e=>e&&(e.disabled||e.disabled===""),Bo=e=>e&&(e.defer||e.defer===""),Fo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Fr=(e,t)=>{const n=e&&e.to;return Te(n)?t?t(n):null:n},Vl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,a,u){const{mc:c,pc:f,pbc:p,o:{insert:g,querySelector:b,createText:v,createComment:_}}=u,k=$n(t.props);let{shapeFlag:C,children:P,dynamicChildren:I}=t;if(e==null){const V=t.el=v(""),Z=t.anchor=v("");g(V,n,s),g(Z,n,s);const G=(H,x)=>{C&16&&c(P,H,x,r,o,i,l,a)},T=()=>{const H=t.target=Fr(t.props,b),x=$l(H,t,v,g);H&&(i!=="svg"&&Fo(H)?i="svg":i!=="mathml"&&jo(H)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(H),k||(G(H,x),ws(t,!1)))};k&&(G(n,Z),ws(t,!0)),Bo(t.props)?(t.el.__isMounted=!1,Ge(()=>{T(),delete t.el.__isMounted},o)):T()}else{if(Bo(t.props)&&e.el.__isMounted===!1){Ge(()=>{Vl.process(e,t,n,s,r,o,i,l,a,u)},o);return}t.el=e.el,t.targetStart=e.targetStart;const V=t.anchor=e.anchor,Z=t.target=e.target,G=t.targetAnchor=e.targetAnchor,T=$n(e.props),H=T?n:Z,x=T?V:G;if(i==="svg"||Fo(Z)?i="svg":(i==="mathml"||jo(Z))&&(i="mathml"),I?(p(e.dynamicChildren,I,H,r,o,i,l),yo(e,t,!0)):a||f(e,t,H,x,r,o,i,l,!1),k)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hs(t,n,V,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=Fr(t.props,b);U&&hs(t,U,null,u,0)}else T&&hs(t,Z,G,u,1);ws(t,k)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:f,props:p}=e;if(f&&(r(u),r(c)),o&&r(a),i&16){const g=o||!$n(p);for(let b=0;b<l.length;b++){const v=l[b];s(v,t,n,g,!!v.dynamicChildren)}}},move:hs,hydrate:_u};function hs(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,f=o===2;if(f&&s(i,t,n),(!f||$n(c))&&a&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);f&&s(l,t,n)}function _u(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},f){function p(v,_,k,C){_.anchor=f(i(v),_,l(v),n,s,r,o),_.targetStart=k,_.targetAnchor=C}const g=t.target=Fr(t.props,a),b=$n(t.props);if(g){const v=g._lpa||g.firstChild;if(t.shapeFlag&16)if(b)p(e,t,v,v&&i(v));else{t.anchor=i(e);let _=v;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,g._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}t.targetAnchor||$l(g,t,c,u),f(v&&i(v),t,g,n,s,r,o)}ws(t,b)}else b&&t.shapeFlag&16&&p(e,t,e,i(e));return t.anchor&&i(t.anchor)}const cb=Vl;function ws(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function $l(e,t,n,s){const r=t.targetStart=n(""),o=t.targetAnchor=n("");return r[Hl]=o,e&&(s(r,e),s(o,e)),o}const xu=Symbol("_leaveCb");function mo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,mo(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 dt(e,t){return te(e)?ze({name:e.name},t,{setup:e}):e}function ub(){const e=er();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function zl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const ks=new WeakMap;function zn(e,t,n,s,r=!1){if(ee(e)){e.forEach((b,v)=>zn(b,t&&(ee(t)?t[v]:t),n,s,r));return}if(xn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&zn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?tr(s.component):s.el,i=r?null:o,{i:l,r:a}=e,u=t&&t.r,c=l.refs===_e?l.refs={}:l.refs,f=l.setupState,p=fe(f),g=f===_e?sl:b=>pe(p,b);if(u!=null&&u!==a){if(Uo(t),Te(u))c[u]=null,g(u)&&(f[u]=null);else if(Ce(u)){u.value=null;const b=t;b.k&&(c[b.k]=null)}}if(te(a))ns(a,l,12,[i,c]);else{const b=Te(a),v=Ce(a);if(b||v){const _=()=>{if(e.f){const k=b?g(a)?f[a]:c[a]:a.value;if(r)ee(k)&&lo(k,o);else if(ee(k))k.includes(o)||k.push(o);else if(b)c[a]=[o],g(a)&&(f[a]=c[a]);else{const C=[o];a.value=C,e.k&&(c[e.k]=C)}}else b?(c[a]=i,g(a)&&(f[a]=i)):v&&(a.value=i,e.k&&(c[e.k]=i))};if(i){const k=()=>{_(),ks.delete(e)};k.id=-1,ks.set(e,k),Ge(k,n)}else Uo(e),_()}}}function Uo(e){const t=ks.get(e);t&&(t.flags|=8,ks.delete(e))}$s().requestIdleCallback;$s().cancelIdleCallback;const xn=e=>!!e.type.__asyncLoader,ql=e=>e.type.__isKeepAlive;function Eu(e,t){Gl(e,"a",t)}function Su(e,t){Gl(e,"da",t)}function Gl(e,t,n=Ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ys(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ql(r.parent.vnode)&&Ru(s,t,n,r),r=r.parent}}function Ru(e,t,n,s){const r=Ys(t,e,s,!0);Kl(()=>{lo(s[t],r)},n)}function Ys(e,t,n=Ve,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Mt();const l=rs(n),a=Et(t,n,e,i);return l(),Dt(),a});return s?r.unshift(o):r.push(o),o}}const Ft=e=>(t,n=Ve)=>{(!Zn||e==="sp")&&Ys(e,(...s)=>t(...s),n)},Au=Ft("bm"),Ps=Ft("m"),Cu=Ft("bu"),Tu=Ft("u"),Wl=Ft("bum"),Kl=Ft("um"),Ou=Ft("sp"),ku=Ft("rtg"),Pu=Ft("rtc");function Iu(e,t=Ve){Ys("ec",e,t)}const Jl="components";function Xl(e,t){return Ql(Jl,e,!0,t)||e}const Yl=Symbol.for("v-ndc");function tn(e){return Te(e)?Ql(Jl,e,!1)||e:e||Yl}function Ql(e,t,n=!0,s=!1){const r=je||Ve;if(r){const o=r.type;{const l=bf(o,!1);if(l&&(l===t||l===at(t)||l===Vs(at(t))))return o}const i=Ho(r[e]||o[e],t)||Ho(r.appContext[e],t);return!i&&s?o:i}}function Ho(e,t){return e&&(e[t]||e[at(t)]||e[Vs(at(t))])}function Is(e,t,n,s){let r;const o=n,i=ee(e);if(i||Te(e)){const l=i&&Nt(e);let a=!1,u=!1;l&&(a=!ot(e),u=Lt(e),e=qs(e)),r=new Array(e.length);for(let c=0,f=e.length;c<f;c++)r[c]=t(a?u?Sn(ut(e[c])):ut(e[c]):e[c],c,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(Se(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];r[a]=t(e[c],c,a,o)}}else r=[];return r}function Je(e,t,n={},s,r){if(je.ce||je.parent&&xn(je.parent)&&je.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),se(),Ze(Ae,null,[ve("slot",n,s&&s())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),se();const i=o&&Zl(o(n)),l=n.key||i&&i.key,a=Ze(Ae,{key:(l&&!Bt(l)?l:`_${t}`)+(!i&&s?"_fb":"")},i||(s?s():[]),i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Zl(e){return e.some(t=>_t(t)?!(t.type===St||t.type===Ae&&!Zl(t.children)):!0)?e:null}const jr=e=>e?ba(e)?tr(e):jr(e.parent):null,qn=ze(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=>jr(e.parent),$root:e=>jr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ta(e),$forceUpdate:e=>e.f||(e.f=()=>{po(e.update)}),$nextTick:e=>e.n||(e.n=ss.bind(e.proxy)),$watch:e=>vu.bind(e)}),br=(e,t)=>e!==_e&&!e.__isScriptSetup&&pe(e,t),Nu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(br(s,t))return i[t]=1,s[t];if(r!==_e&&pe(r,t))return i[t]=2,r[t];if(pe(o,t))return i[t]=3,o[t];if(n!==_e&&pe(n,t))return i[t]=4,n[t];Hr&&(i[t]=0)}}const u=qn[t];let c,f;if(u)return t==="$attrs"&&He(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==_e&&pe(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,pe(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return br(r,t)?(r[t]=n,!0):s!==_e&&pe(s,t)?(s[t]=n,!0):pe(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,props:o,type:i}},l){let a;return!!(n[l]||e!==_e&&l[0]!=="$"&&pe(e,l)||br(t,l)||pe(o,l)||pe(s,l)||pe(qn,l)||pe(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mu(){return Du().attrs}function Du(e){const t=er();return t.setupContext||(t.setupContext=va(t))}function Ur(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function fb(e,t){const n=Ur(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?ee(r)||te(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}let Hr=!0;function Lu(e){const t=ta(e),n=e.proxy,s=e.ctx;Hr=!1,t.beforeCreate&&Vo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:p,beforeUpdate:g,updated:b,activated:v,deactivated:_,beforeDestroy:k,beforeUnmount:C,destroyed:P,unmounted:I,render:V,renderTracked:Z,renderTriggered:G,errorCaptured:T,serverPrefetch:H,expose:x,inheritAttrs:U,components:q,directives:Y,filters:le}=t;if(u&&Bu(u,s,null),i)for(const K in i){const N=i[K];te(N)&&(s[K]=N.bind(n))}if(r){const K=r.call(n,n);Se(K)&&(e.data=ts(K))}if(Hr=!0,o)for(const K in o){const N=o[K],De=te(N)?N.bind(n,n):te(N.get)?N.get.bind(n,n):xt,Le=!te(N)&&te(N.set)?N.set.bind(n):xt,me=ce({get:De,set:Le});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>me.value,set:be=>me.value=be})}if(l)for(const K in l)ea(l[K],s,n,K);if(a){const K=te(a)?a.call(n):a;Reflect.ownKeys(K).forEach(N=>{vs(N,K[N])})}c&&Vo(c,e,"c");function W(K,N){ee(N)?N.forEach(De=>K(De.bind(n))):N&&K(N.bind(n))}if(W(Au,f),W(Ps,p),W(Cu,g),W(Tu,b),W(Eu,v),W(Su,_),W(Iu,T),W(Pu,Z),W(ku,G),W(Wl,C),W(Kl,I),W(Ou,H),ee(x))if(x.length){const K=e.exposed||(e.exposed={});x.forEach(N=>{Object.defineProperty(K,N,{get:()=>n[N],set:De=>n[N]=De,enumerable:!0})})}else e.exposed||(e.exposed={});V&&e.render===xt&&(e.render=V),U!=null&&(e.inheritAttrs=U),q&&(e.components=q),Y&&(e.directives=Y),H&&zl(e)}function Bu(e,t,n=xt){ee(e)&&(e=Vr(e));for(const s in e){const r=e[s];let o;Se(r)?"default"in r?o=lt(r.from||s,r.default,!0):o=lt(r.from||s):o=lt(r),Ce(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Vo(e,t,n){Et(ee(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ea(e,t,n,s){let r=s.includes(".")?Ul(n,s):()=>n[s];if(Te(e)){const o=t[e];te(o)&&_n(r,o)}else if(te(e))_n(r,e.bind(n));else if(Se(e))if(ee(e))e.forEach(o=>ea(o,t,n,s));else{const o=te(e.handler)?e.handler.bind(n):t[e.handler];te(o)&&_n(r,o,e)}}function ta(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(u=>Ns(a,u,i,!0)),Ns(a,t,i)),Se(t)&&o.set(t,a),a}function Ns(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Ns(e,o,n,!0),r&&r.forEach(i=>Ns(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Fu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Fu={data:$o,props:zo,emits:zo,methods:jn,computed:jn,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:jn,directives:jn,watch:Uu,provide:$o,inject:ju};function $o(e,t){return t?e?function(){return ze(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function ju(e,t){return jn(Vr(e),Vr(t))}function Vr(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function qe(e,t){return e?[...new Set([].concat(e,t))]:t}function jn(e,t){return e?ze(Object.create(null),e,t):t}function zo(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:ze(Object.create(null),Ur(e),Ur(t??{})):t}function Uu(e,t){if(!e)return t;if(!t)return e;const n=ze(Object.create(null),e);for(const s in t)n[s]=qe(e[s],t[s]);return n}function na(){return{app:null,config:{isNativeTag:sl,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 Hu=0;function Vu(e,t){return function(s,r=null){te(s)||(s=ze({},s)),r!=null&&!Se(r)&&(r=null);const o=na(),i=new WeakSet,l=[];let a=!1;const u=o.app={_uid:Hu++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:vf,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&te(c.install)?(i.add(c),c.install(u,...f)):te(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,p){if(!a){const g=u._ceVNode||ve(s,r);return g.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(g,c,p),a=!0,u._container=c,c.__vue_app__=u,tr(g.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Et(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=on;on=u;try{return c()}finally{on=f}}};return u}}let on=null;const $u=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${at(t)}Modifiers`]||e[`${Xt(t)}Modifiers`];function zu(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||_e;let r=n;const o=t.startsWith("update:"),i=o&&$u(s,t.slice(7));i&&(i.trim&&(r=n.map(c=>Te(c)?c.trim():c)),i.number&&(r=n.map(ao)));let l,a=s[l=dr(t)]||s[l=dr(at(t))];!a&&o&&(a=s[l=dr(Xt(t))]),a&&Et(a,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Et(u,e,6,r)}}const qu=new WeakMap;function sa(e,t,n=!1){const s=n?qu:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!te(e)){const a=u=>{const c=sa(u,t,!0);c&&(l=!0,ze(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(Se(e)&&s.set(e,null),null):(ee(o)?o.forEach(a=>i[a]=null):ze(i,o),Se(e)&&s.set(e,i),i)}function Qs(e,t){return!e||!Fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Xt(t))||pe(e,t))}function qo(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:f,data:p,setupState:g,ctx:b,inheritAttrs:v}=e,_=Os(e);let k,C;try{if(n.shapeFlag&4){const I=r||s,V=I;k=wt(u.call(V,I,c,f,g,p,b)),C=l}else{const I=t;k=wt(I.length>1?I(f,{attrs:l,slots:i,emit:a}):I(f,null)),C=t.props?l:Gu(l)}}catch(I){Gn.length=0,Js(I,e,1),k=ve(St)}let P=k;if(C&&v!==!1){const I=Object.keys(C),{shapeFlag:V}=P;I.length&&V&7&&(o&&I.some(io)&&(C=Wu(C,o)),P=an(P,C,!1,!0))}return n.dirs&&(P=an(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&mo(P,n.transition),k=P,Os(_),k}const Gu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fs(n))&&((t||(t={}))[n]=e[n]);return t},Wu=(e,t)=>{const n={};for(const s in e)(!io(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ku(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Go(s,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(i[p]!==s[p]&&!Qs(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Go(s,i,u):!0:!!i;return!1}function Go(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]&&!Qs(n,o))return!0}return!1}function Ju({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 ra={},oa=()=>Object.create(ra),ia=e=>Object.getPrototypeOf(e)===ra;function Xu(e,t,n,s=!1){const r={},o=oa();e.propsDefaults=Object.create(null),la(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Pl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Yu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=fe(r),[a]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let p=c[f];if(Qs(e.emitsOptions,p))continue;const g=t[p];if(a)if(pe(o,p))g!==o[p]&&(o[p]=g,u=!0);else{const b=at(p);r[b]=$r(a,l,b,g,e,!1)}else g!==o[p]&&(o[p]=g,u=!0)}}}else{la(e,t,r,o)&&(u=!0);let c;for(const f in l)(!t||!pe(t,f)&&((c=Xt(f))===f||!pe(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=$r(a,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!pe(t,f))&&(delete o[f],u=!0)}u&&kt(e.attrs,"set","")}function la(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Un(a))continue;const u=t[a];let c;r&&pe(r,c=at(a))?!o||!o.includes(c)?n[c]=u:(l||(l={}))[c]=u:Qs(e.emitsOptions,a)||(!(a in s)||u!==s[a])&&(s[a]=u,i=!0)}if(o){const a=fe(n),u=l||_e;for(let c=0;c<o.length;c++){const f=o[c];n[f]=$r(r,a,f,u[f],e,!pe(u,f))}}return i}function $r(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=pe(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&te(a)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const c=rs(r);s=u[n]=a.call(null,t),c()}}else s=a;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Xt(n))&&(s=!0))}return s}const Qu=new WeakMap;function aa(e,t,n=!1){const s=n?Qu:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!te(e)){const c=f=>{a=!0;const[p,g]=aa(f,t,!0);ze(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return Se(e)&&s.set(e,yn),yn;if(ee(o))for(let c=0;c<o.length;c++){const f=at(o[c]);Wo(f)&&(i[f]=_e)}else if(o)for(const c in o){const f=at(c);if(Wo(f)){const p=o[c],g=i[f]=ee(p)||te(p)?{type:p}:ze({},p),b=g.type;let v=!1,_=!0;if(ee(b))for(let k=0;k<b.length;++k){const C=b[k],P=te(C)&&C.name;if(P==="Boolean"){v=!0;break}else P==="String"&&(_=!1)}else v=te(b)&&b.name==="Boolean";g[0]=v,g[1]=_,(v||pe(g,"default"))&&l.push(f)}}const u=[i,l];return Se(e)&&s.set(e,u),u}function Wo(e){return e[0]!=="$"&&!Un(e)}const go=e=>e==="_"||e==="_ctx"||e==="$stable",bo=e=>ee(e)?e.map(wt):[wt(e)],Zu=(e,t,n)=>{if(t._n)return t;const s=st((...r)=>bo(t(...r)),n);return s._c=!1,s},ca=(e,t,n)=>{const s=e._ctx;for(const r in e){if(go(r))continue;const o=e[r];if(te(o))t[r]=Zu(r,o,s);else if(o!=null){const i=bo(o);t[r]=()=>i}}},ua=(e,t)=>{const n=bo(t);e.slots.default=()=>n},fa=(e,t,n)=>{for(const s in t)(n||!go(s))&&(e[s]=t[s])},ef=(e,t,n)=>{const s=e.slots=oa();if(e.vnode.shapeFlag&32){const r=t._;r?(fa(s,t,n),n&&al(s,"_",r,!0)):ca(t,s)}else t&&ua(e,t)},tf=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=_e;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:fa(r,t,n):(o=!t.$stable,ca(t,r)),i=t}else t&&(ua(e,t),i={default:1});if(o)for(const l in r)!go(l)&&i[l]==null&&delete r[l]},Ge=lf;function nf(e){return sf(e)}function sf(e,t){const n=$s();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:p,setScopeId:g=xt,insertStaticContent:b}=e,v=(d,m,y,E=null,A=null,S=null,F=void 0,B=null,D=!!m.dynamicChildren)=>{if(d===m)return;d&&!Mn(d,m)&&(E=h(d),be(d,A,S,!0),d=null),m.patchFlag===-2&&(D=!1,m.dynamicChildren=null);const{type:O,ref:Q,shapeFlag:j}=m;switch(O){case Zs:_(d,m,y,E);break;case St:k(d,m,y,E);break;case vr:d==null&&C(m,y,E,F);break;case Ae:q(d,m,y,E,A,S,F,B,D);break;default:j&1?V(d,m,y,E,A,S,F,B,D):j&6?Y(d,m,y,E,A,S,F,B,D):(j&64||j&128)&&O.process(d,m,y,E,A,S,F,B,D,L)}Q!=null&&A?zn(Q,d&&d.ref,S,m||d,!m):Q==null&&d&&d.ref!=null&&zn(d.ref,null,S,d,!0)},_=(d,m,y,E)=>{if(d==null)s(m.el=l(m.children),y,E);else{const A=m.el=d.el;m.children!==d.children&&u(A,m.children)}},k=(d,m,y,E)=>{d==null?s(m.el=a(m.children||""),y,E):m.el=d.el},C=(d,m,y,E)=>{[d.el,d.anchor]=b(d.children,m,y,E,d.el,d.anchor)},P=({el:d,anchor:m},y,E)=>{let A;for(;d&&d!==m;)A=p(d),s(d,y,E),d=A;s(m,y,E)},I=({el:d,anchor:m})=>{let y;for(;d&&d!==m;)y=p(d),r(d),d=y;r(m)},V=(d,m,y,E,A,S,F,B,D)=>{if(m.type==="svg"?F="svg":m.type==="math"&&(F="mathml"),d==null)Z(m,y,E,A,S,F,B,D);else{const O=d.el&&d.el._isVueCE?d.el:null;try{O&&O._beginPatch(),H(d,m,A,S,F,B,D)}finally{O&&O._endPatch()}}},Z=(d,m,y,E,A,S,F,B)=>{let D,O;const{props:Q,shapeFlag:j,transition:X,dirs:ne}=d;if(D=d.el=i(d.type,S,Q&&Q.is,Q),j&8?c(D,d.children):j&16&&T(d.children,D,null,E,A,yr(d,S),F,B),ne&&Yt(d,null,E,"created"),G(D,d,d.scopeId,F,E),Q){for(const xe in Q)xe!=="value"&&!Un(xe)&&o(D,xe,null,Q[xe],S,E);"value"in Q&&o(D,"value",null,Q.value,S),(O=Q.onVnodeBeforeMount)&&bt(O,E,d)}ne&&Yt(d,null,E,"beforeMount");const ae=rf(A,X);ae&&X.beforeEnter(D),s(D,m,y),((O=Q&&Q.onVnodeMounted)||ae||ne)&&Ge(()=>{O&&bt(O,E,d),ae&&X.enter(D),ne&&Yt(d,null,E,"mounted")},A)},G=(d,m,y,E,A)=>{if(y&&g(d,y),E)for(let S=0;S<E.length;S++)g(d,E[S]);if(A){let S=A.subTree;if(m===S||pa(S.type)&&(S.ssContent===m||S.ssFallback===m)){const F=A.vnode;G(d,F,F.scopeId,F.slotScopeIds,A.parent)}}},T=(d,m,y,E,A,S,F,B,D=0)=>{for(let O=D;O<d.length;O++){const Q=d[O]=B?qt(d[O]):wt(d[O]);v(null,Q,m,y,E,A,S,F,B)}},H=(d,m,y,E,A,S,F)=>{const B=m.el=d.el;let{patchFlag:D,dynamicChildren:O,dirs:Q}=m;D|=d.patchFlag&16;const j=d.props||_e,X=m.props||_e;let ne;if(y&&Qt(y,!1),(ne=X.onVnodeBeforeUpdate)&&bt(ne,y,m,d),Q&&Yt(m,d,y,"beforeUpdate"),y&&Qt(y,!0),(j.innerHTML&&X.innerHTML==null||j.textContent&&X.textContent==null)&&c(B,""),O?x(d.dynamicChildren,O,B,y,E,yr(m,A),S):F||N(d,m,B,null,y,E,yr(m,A),S,!1),D>0){if(D&16)U(B,j,X,y,A);else if(D&2&&j.class!==X.class&&o(B,"class",null,X.class,A),D&4&&o(B,"style",j.style,X.style,A),D&8){const ae=m.dynamicProps;for(let xe=0;xe<ae.length;xe++){const ge=ae[xe],Xe=j[ge],Ye=X[ge];(Ye!==Xe||ge==="value")&&o(B,ge,Xe,Ye,A,y)}}D&1&&d.children!==m.children&&c(B,m.children)}else!F&&O==null&&U(B,j,X,y,A);((ne=X.onVnodeUpdated)||Q)&&Ge(()=>{ne&&bt(ne,y,m,d),Q&&Yt(m,d,y,"updated")},E)},x=(d,m,y,E,A,S,F)=>{for(let B=0;B<m.length;B++){const D=d[B],O=m[B],Q=D.el&&(D.type===Ae||!Mn(D,O)||D.shapeFlag&198)?f(D.el):y;v(D,O,Q,null,E,A,S,F,!0)}},U=(d,m,y,E,A)=>{if(m!==y){if(m!==_e)for(const S in m)!Un(S)&&!(S in y)&&o(d,S,m[S],null,A,E);for(const S in y){if(Un(S))continue;const F=y[S],B=m[S];F!==B&&S!=="value"&&o(d,S,B,F,A,E)}"value"in y&&o(d,"value",m.value,y.value,A)}},q=(d,m,y,E,A,S,F,B,D)=>{const O=m.el=d?d.el:l(""),Q=m.anchor=d?d.anchor:l("");let{patchFlag:j,dynamicChildren:X,slotScopeIds:ne}=m;ne&&(B=B?B.concat(ne):ne),d==null?(s(O,y,E),s(Q,y,E),T(m.children||[],y,Q,A,S,F,B,D)):j>0&&j&64&&X&&d.dynamicChildren&&d.dynamicChildren.length===X.length?(x(d.dynamicChildren,X,y,A,S,F,B),(m.key!=null||A&&m===A.subTree)&&yo(d,m,!0)):N(d,m,y,Q,A,S,F,B,D)},Y=(d,m,y,E,A,S,F,B,D)=>{m.slotScopeIds=B,d==null?m.shapeFlag&512?A.ctx.activate(m,y,E,F,D):le(m,y,E,A,S,F,D):Re(d,m,D)},le=(d,m,y,E,A,S,F)=>{const B=d.component=hf(d,E,A);if(ql(d)&&(B.ctx.renderer=L),pf(B,!1,F),B.asyncDep){if(A&&A.registerDep(B,W,F),!d.el){const D=B.subTree=ve(St);k(null,D,m,y),d.placeholder=D.el}}else W(B,d,m,y,A,S,F)},Re=(d,m,y)=>{const E=m.component=d.component;if(Ku(d,m,y))if(E.asyncDep&&!E.asyncResolved){K(E,m,y);return}else E.next=m,E.update();else m.el=d.el,E.vnode=m},W=(d,m,y,E,A,S,F)=>{const B=()=>{if(d.isMounted){let{next:j,bu:X,u:ne,parent:ae,vnode:xe}=d;{const mt=da(d);if(mt){j&&(j.el=xe.el,K(d,j,F)),mt.asyncDep.then(()=>{d.isUnmounted||B()});return}}let ge=j,Xe;Qt(d,!1),j?(j.el=xe.el,K(d,j,F)):j=xe,X&&ys(X),(Xe=j.props&&j.props.onVnodeBeforeUpdate)&&bt(Xe,ae,j,xe),Qt(d,!0);const Ye=qo(d),pt=d.subTree;d.subTree=Ye,v(pt,Ye,f(pt.el),h(pt),d,A,S),j.el=Ye.el,ge===null&&Ju(d,Ye.el),ne&&Ge(ne,A),(Xe=j.props&&j.props.onVnodeUpdated)&&Ge(()=>bt(Xe,ae,j,xe),A)}else{let j;const{el:X,props:ne}=m,{bm:ae,m:xe,parent:ge,root:Xe,type:Ye}=d,pt=xn(m);Qt(d,!1),ae&&ys(ae),!pt&&(j=ne&&ne.onVnodeBeforeMount)&&bt(j,ge,m),Qt(d,!0);{Xe.ce&&Xe.ce._def.shadowRoot!==!1&&Xe.ce._injectChildStyle(Ye);const mt=d.subTree=qo(d);v(null,mt,y,E,d,A,S),m.el=mt.el}if(xe&&Ge(xe,A),!pt&&(j=ne&&ne.onVnodeMounted)){const mt=m;Ge(()=>bt(j,ge,mt),A)}(m.shapeFlag&256||ge&&xn(ge.vnode)&&ge.vnode.shapeFlag&256)&&d.a&&Ge(d.a,A),d.isMounted=!0,m=y=E=null}};d.scope.on();const D=d.effect=new ml(B);d.scope.off();const O=d.update=D.run.bind(D),Q=d.job=D.runIfDirty.bind(D);Q.i=d,Q.id=d.uid,D.scheduler=()=>po(Q),Qt(d,!0),O()},K=(d,m,y)=>{m.component=d;const E=d.vnode.props;d.vnode=m,d.next=null,Yu(d,m.props,E,y),tf(d,m.children,y),Mt(),Lo(d),Dt()},N=(d,m,y,E,A,S,F,B,D=!1)=>{const O=d&&d.children,Q=d?d.shapeFlag:0,j=m.children,{patchFlag:X,shapeFlag:ne}=m;if(X>0){if(X&128){Le(O,j,y,E,A,S,F,B,D);return}else if(X&256){De(O,j,y,E,A,S,F,B,D);return}}ne&8?(Q&16&&Fe(O,A,S),j!==O&&c(y,j)):Q&16?ne&16?Le(O,j,y,E,A,S,F,B,D):Fe(O,A,S,!0):(Q&8&&c(y,""),ne&16&&T(j,y,E,A,S,F,B,D))},De=(d,m,y,E,A,S,F,B,D)=>{d=d||yn,m=m||yn;const O=d.length,Q=m.length,j=Math.min(O,Q);let X;for(X=0;X<j;X++){const ne=m[X]=D?qt(m[X]):wt(m[X]);v(d[X],ne,y,null,A,S,F,B,D)}O>Q?Fe(d,A,S,!0,!1,j):T(m,y,E,A,S,F,B,D,j)},Le=(d,m,y,E,A,S,F,B,D)=>{let O=0;const Q=m.length;let j=d.length-1,X=Q-1;for(;O<=j&&O<=X;){const ne=d[O],ae=m[O]=D?qt(m[O]):wt(m[O]);if(Mn(ne,ae))v(ne,ae,y,null,A,S,F,B,D);else break;O++}for(;O<=j&&O<=X;){const ne=d[j],ae=m[X]=D?qt(m[X]):wt(m[X]);if(Mn(ne,ae))v(ne,ae,y,null,A,S,F,B,D);else break;j--,X--}if(O>j){if(O<=X){const ne=X+1,ae=ne<Q?m[ne].el:E;for(;O<=X;)v(null,m[O]=D?qt(m[O]):wt(m[O]),y,ae,A,S,F,B,D),O++}}else if(O>X)for(;O<=j;)be(d[O],A,S,!0),O++;else{const ne=O,ae=O,xe=new Map;for(O=ae;O<=X;O++){const nt=m[O]=D?qt(m[O]):wt(m[O]);nt.key!=null&&xe.set(nt.key,O)}let ge,Xe=0;const Ye=X-ae+1;let pt=!1,mt=0;const In=new Array(Ye);for(O=0;O<Ye;O++)In[O]=0;for(O=ne;O<=j;O++){const nt=d[O];if(Xe>=Ye){be(nt,A,S,!0);continue}let gt;if(nt.key!=null)gt=xe.get(nt.key);else for(ge=ae;ge<=X;ge++)if(In[ge-ae]===0&&Mn(nt,m[ge])){gt=ge;break}gt===void 0?be(nt,A,S,!0):(In[gt-ae]=O+1,gt>=mt?mt=gt:pt=!0,v(nt,m[gt],y,null,A,S,F,B,D),Xe++)}const Oo=pt?of(In):yn;for(ge=Oo.length-1,O=Ye-1;O>=0;O--){const nt=ae+O,gt=m[nt],ko=m[nt+1],Po=nt+1<Q?ko.el||ha(ko):E;In[O]===0?v(null,gt,y,Po,A,S,F,B,D):pt&&(ge<0||O!==Oo[ge]?me(gt,y,Po,2):ge--)}}},me=(d,m,y,E,A=null)=>{const{el:S,type:F,transition:B,children:D,shapeFlag:O}=d;if(O&6){me(d.component.subTree,m,y,E);return}if(O&128){d.suspense.move(m,y,E);return}if(O&64){F.move(d,m,y,L);return}if(F===Ae){s(S,m,y);for(let j=0;j<D.length;j++)me(D[j],m,y,E);s(d.anchor,m,y);return}if(F===vr){P(d,m,y);return}if(E!==2&&O&1&&B)if(E===0)B.beforeEnter(S),s(S,m,y),Ge(()=>B.enter(S),A);else{const{leave:j,delayLeave:X,afterLeave:ne}=B,ae=()=>{d.ctx.isUnmounted?r(S):s(S,m,y)},xe=()=>{S._isLeaving&&S[xu](!0),j(S,()=>{ae(),ne&&ne()})};X?X(S,ae,xe):xe()}else s(S,m,y)},be=(d,m,y,E=!1,A=!1)=>{const{type:S,props:F,ref:B,children:D,dynamicChildren:O,shapeFlag:Q,patchFlag:j,dirs:X,cacheIndex:ne}=d;if(j===-2&&(A=!1),B!=null&&(Mt(),zn(B,null,y,d,!0),Dt()),ne!=null&&(m.renderCache[ne]=void 0),Q&256){m.ctx.deactivate(d);return}const ae=Q&1&&X,xe=!xn(d);let ge;if(xe&&(ge=F&&F.onVnodeBeforeUnmount)&&bt(ge,m,d),Q&6)Be(d.component,y,E);else{if(Q&128){d.suspense.unmount(y,E);return}ae&&Yt(d,null,m,"beforeUnmount"),Q&64?d.type.remove(d,m,y,L,E):O&&!O.hasOnce&&(S!==Ae||j>0&&j&64)?Fe(O,m,y,!1,!0):(S===Ae&&j&384||!A&&Q&16)&&Fe(D,m,y),E&&ye(d)}(xe&&(ge=F&&F.onVnodeUnmounted)||ae)&&Ge(()=>{ge&&bt(ge,m,d),ae&&Yt(d,null,m,"unmounted")},y)},ye=d=>{const{type:m,el:y,anchor:E,transition:A}=d;if(m===Ae){we(y,E);return}if(m===vr){I(d);return}const S=()=>{r(y),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(d.shapeFlag&1&&A&&!A.persisted){const{leave:F,delayLeave:B}=A,D=()=>F(y,S);B?B(d.el,S,D):D()}else S()},we=(d,m)=>{let y;for(;d!==m;)y=p(d),r(d),d=y;r(m)},Be=(d,m,y)=>{const{bum:E,scope:A,job:S,subTree:F,um:B,m:D,a:O}=d;Ko(D),Ko(O),E&&ys(E),A.stop(),S&&(S.flags|=8,be(F,d,m,y)),B&&Ge(B,m),Ge(()=>{d.isUnmounted=!0},m)},Fe=(d,m,y,E=!1,A=!1,S=0)=>{for(let F=S;F<d.length;F++)be(d[F],m,y,E,A)},h=d=>{if(d.shapeFlag&6)return h(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=p(d.anchor||d.el),y=m&&m[Hl];return y?p(y):m};let M=!1;const R=(d,m,y)=>{let E;d==null?m._vnode&&(be(m._vnode,null,null,!0),E=m._vnode.component):v(m._vnode||null,d,m,null,null,null,y),m._vnode=d,M||(M=!0,Lo(E),Bl(),M=!1)},L={p:v,um:be,m:me,r:ye,mt:le,mc:T,pc:N,pbc:x,n:h,o:e};return{render:R,hydrate:void 0,createApp:Vu(R)}}function yr({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 Qt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function rf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yo(e,t,n=!1){const s=e.children,r=t.children;if(ee(s)&&ee(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=qt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&yo(i,l)),l.type===Zs&&(l.patchFlag!==-1?l.el=i.el:l.__elIndex=o+(e.type===Ae?1:0)),l.type===St&&!l.el&&(l.el=i.el)}}function of(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function da(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:da(t)}function Ko(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ha(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ha(t.subTree):null}const pa=e=>e.__isSuspense;function lf(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):mu(e)}const Ae=Symbol.for("v-fgt"),Zs=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),vr=Symbol.for("v-stc"),Gn=[];let rt=null;function se(e=!1){Gn.push(rt=e?null:[])}function af(){Gn.pop(),rt=Gn[Gn.length-1]||null}let Qn=1;function Ms(e,t=!1){Qn+=e,e<0&&rt&&t&&(rt.hasOnce=!0)}function ma(e){return e.dynamicChildren=Qn>0?rt||yn:null,af(),Qn>0&&rt&&rt.push(e),e}function de(e,t,n,s,r,o){return ma(ke(e,t,n,s,r,o,!0))}function Ze(e,t,n,s,r){return ma(ve(e,t,n,s,r,!0))}function _t(e){return e?e.__v_isVNode===!0:!1}function Mn(e,t){return e.type===t.type&&e.key===t.key}const ga=({key:e})=>e??null,_s=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||Ce(e)||te(e)?{i:je,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,s=0,r=null,o=e===Ae?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ga(t),ref:t&&_s(t),scopeId:jl,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:je};return l?(vo(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Te(n)?8:16),Qn>0&&!i&&rt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&rt.push(a),a}const ve=cf;function cf(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Yl)&&(e=St),_t(e)){const l=an(e,t,!0);return n&&vo(l,n),Qn>0&&!o&&rt&&(l.shapeFlag&6?rt[rt.indexOf(e)]=l:rt.push(l)),l.patchFlag=-2,l}if(yf(e)&&(e=e.__vccOpts),t){t=uf(t);let{class:l,style:a}=t;l&&!Te(l)&&(t.class=Me(l)),Se(a)&&(Ks(a)&&!ee(a)&&(a=ze({},a)),t.style=Kt(a))}const i=Te(e)?1:pa(e)?128:wu(e)?64:Se(e)?4:te(e)?2:0;return ke(e,t,n,s,r,i,o,!0)}function uf(e){return e?Ks(e)||ia(e)?ze({},e):e:null}function an(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,u=t?En(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ga(u),ref:t&&t.ref?n&&o?ee(o)?o.concat(_s(t)):[o,_s(t)]:_s(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!==Ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&mo(c,a.clone(c)),c}function zr(e=" ",t=0){return ve(Zs,null,e,t)}function it(e="",t=!1){return t?(se(),Ze(St,null,e)):ve(St,null,e)}function wt(e){return e==null||typeof e=="boolean"?ve(St):ee(e)?ve(Ae,null,e.slice()):_t(e)?qt(e):ve(Zs,null,String(e))}function qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function vo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),vo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ia(t)?t._ctx=je:r===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:je},n=32):(t=String(t),s&64?(n=16,t=[zr(t)]):n=8);e.children=t,e.shapeFlag|=n}function En(...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=Me([t.class,s.class]));else if(r==="style")t.style=Kt([t.style,s.style]);else if(Fs(r)){const o=t[r],i=s[r];i&&o!==i&&!(ee(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function bt(e,t,n,s=null){Et(e,t,7,[n,s])}const ff=na();let df=0;function hf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||ff,o={uid:df++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new dl(!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:aa(s,r),emitsOptions:sa(s,r),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:s.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,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=zu.bind(null,o),e.ce&&e.ce(o),o}let Ve=null;const er=()=>Ve||je;let Ds,qr;{const e=$s(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Ds=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),qr=t("__VUE_SSR_SETTERS__",n=>Zn=n)}const rs=e=>{const t=Ve;return Ds(e),e.scope.on(),()=>{e.scope.off(),Ds(t)}},Jo=()=>{Ve&&Ve.scope.off(),Ds(null)};function ba(e){return e.vnode.shapeFlag&4}let Zn=!1;function pf(e,t=!1,n=!1){t&&qr(t);const{props:s,children:r}=e.vnode,o=ba(e);Xu(e,s,o,t),ef(e,r,n||t);const i=o?mf(e,t):void 0;return t&&qr(!1),i}function mf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nu);const{setup:s}=n;if(s){Mt();const r=e.setupContext=s.length>1?va(e):null,o=rs(e),i=ns(s,e,0,[e.props,r]),l=ol(i);if(Dt(),o(),(l||e.sp)&&!xn(e)&&zl(e),l){if(i.then(Jo,Jo),t)return i.then(a=>{Xo(e,a)}).catch(a=>{Js(a,e,0)});e.asyncDep=i}else Xo(e,i)}else ya(e)}function Xo(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.setupState=Nl(t)),ya(e)}function ya(e,t,n){const s=e.type;e.render||(e.render=s.render||xt);{const r=rs(e);Mt();try{Lu(e)}finally{Dt(),r()}}}const gf={get(e,t){return He(e,"get",""),e[t]}};function va(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,gf),slots:e.slots,emit:e.emit,expose:t}}function tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nl(ho(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qn)return qn[n](e)},has(t,n){return n in t||n in qn}})):e.proxy}function bf(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function yf(e){return te(e)&&"__vccOpts"in e}const ce=(e,t)=>uu(e,t,Zn);function Jt(e,t,n){try{Ms(-1);const s=arguments.length;return s===2?Se(t)&&!ee(t)?_t(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_t(n)&&(n=[n]),ve(e,t,n))}finally{Ms(1)}}const vf="3.5.26";let Gr;const Yo=typeof window<"u"&&window.trustedTypes;if(Yo)try{Gr=Yo.createPolicy("vue",{createHTML:e=>e})}catch{}const wa=Gr?e=>Gr.createHTML(e):e=>e,wf="http://www.w3.org/2000/svg",_f="http://www.w3.org/1998/Math/MathML",Tt=typeof document<"u"?document:null,Qo=Tt&&Tt.createElement("template"),xf={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"?Tt.createElementNS(wf,e):t==="mathml"?Tt.createElementNS(_f,e):n?Tt.createElement(e,{is:n}):Tt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Tt.createTextNode(e),createComment:e=>Tt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Tt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Qo.innerHTML=wa(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Qo.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ef=Symbol("_vtc");function Sf(e,t,n){const s=e[Ef];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zo=Symbol("_vod"),Rf=Symbol("_vsh"),Af=Symbol(""),Cf=/(?:^|;)\s*display\s*:/;function Tf(e,t,n){const s=e.style,r=Te(n);let o=!1;if(n&&!r){if(t)if(Te(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&xs(s,l,"")}else for(const i in t)n[i]==null&&xs(s,i,"");for(const i in n)i==="display"&&(o=!0),xs(s,i,n[i])}else if(r){if(t!==n){const i=s[Af];i&&(n+=";"+i),s.cssText=n,o=Cf.test(n)}}else t&&e.removeAttribute("style");Zo in e&&(e[Zo]=o?s.display:"",e[Rf]&&(s.display="none"))}const ei=/\s*!important$/;function xs(e,t,n){if(ee(n))n.forEach(s=>xs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Of(e,t);ei.test(n)?e.setProperty(Xt(s),n.replace(ei,""),"important"):e[s]=n}}const ti=["Webkit","Moz","ms"],wr={};function Of(e,t){const n=wr[t];if(n)return n;let s=at(t);if(s!=="filter"&&s in e)return wr[t]=s;s=Vs(s);for(let r=0;r<ti.length;r++){const o=ti[r]+s;if(o in e)return wr[t]=o}return t}const ni="http://www.w3.org/1999/xlink";function si(e,t,n,s,r,o=Dc(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ni,t.slice(6,t.length)):e.setAttributeNS(ni,t,n):n==null||o&&!cl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Bt(n)?String(n):n)}function ri(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?wa(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=cl(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function gn(e,t,n,s){e.addEventListener(t,n,s)}function kf(e,t,n,s){e.removeEventListener(t,n,s)}const oi=Symbol("_vei");function Pf(e,t,n,s,r=null){const o=e[oi]||(e[oi]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=If(t);if(s){const u=o[t]=Df(s,r);gn(e,l,u,a)}else i&&(kf(e,l,i,a),o[t]=void 0)}}const ii=/(?:Once|Passive|Capture)$/;function If(e){let t;if(ii.test(e)){t={};let s;for(;s=e.match(ii);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Xt(e.slice(2)),t]}let _r=0;const Nf=Promise.resolve(),Mf=()=>_r||(Nf.then(()=>_r=0),_r=Date.now());function Df(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Et(Lf(s,n.value),t,5,[s])};return n.value=e,n.attached=Mf(),n}function Lf(e,t){if(ee(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 li=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Bf=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Sf(e,s,i):t==="style"?Tf(e,n,s):Fs(t)?io(t)||Pf(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ff(e,t,s,i))?(ri(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&si(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Te(s))?ri(e,at(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),si(e,t,s,i))};function Ff(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&li(t)&&te(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||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 li(t)&&Te(n)?!1:t in e}const ai=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>ys(t,n):t};function jf(e){e.target.composing=!0}function ci(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xr=Symbol("_assign");function ui(e,t,n){return t&&(e=e.trim()),n&&(e=ao(e)),e}const db={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[xr]=ai(r);const o=s||r.props&&r.props.type==="number";gn(e,t?"change":"input",i=>{i.target.composing||e[xr](ui(e.value,n,o))}),(n||o)&&gn(e,"change",()=>{e.value=ui(e.value,n,o)}),t||(gn(e,"compositionstart",jf),gn(e,"compositionend",ci),gn(e,"change",ci))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[xr]=ai(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ao(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a))}},Uf=["ctrl","shift","alt","meta"],Hf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Uf.some(n=>e[`${n}Key`]&&!t.includes(n))},hb=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=Hf[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},Vf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},pb=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=Xt(r.key);if(t.some(i=>i===o||Vf[i]===o))return e(r)}))},$f=ze({patchProp:Bf},xf);let fi;function zf(){return fi||(fi=nf($f))}const qf=((...e)=>{const t=zf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Wf(s);if(!r)return;const o=t._component;!te(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Gf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Gf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wf(e){return Te(e)?document.querySelector(e):e}let _a;const nr=e=>_a=e,xa=Symbol();function Wr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Wn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Wn||(Wn={}));function Kf(){const e=hl(!0),t=e.run(()=>ue({}));let n=[],s=[];const r=ho({install(o){nr(r),r._a=o,o.provide(xa,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),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 Ea=()=>{};function di(e,t,n,s=Ea){e.add(t);const r=()=>{e.delete(t)&&s()};return!n&&pl()&&Lc(r),r}function dn(e,...t){e.forEach(n=>{n(...t)})}const Jf=e=>e(),hi=Symbol(),Er=Symbol();function Kr(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];Wr(r)&&Wr(s)&&e.hasOwnProperty(n)&&!Ce(s)&&!Nt(s)?e[n]=Kr(r,s):e[n]=s}return e}const Xf=Symbol();function Yf(e){return!Wr(e)||!Object.prototype.hasOwnProperty.call(e,Xf)}const{assign:Vt}=Object;function Qf(e){return!!(Ce(e)&&e.effect)}function Zf(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let a;function u(){l||(n.state.value[e]=r?r():{});const c=iu(n.state.value[e]);return Vt(c,o,Object.keys(i||{}).reduce((f,p)=>(f[p]=ho(ce(()=>{nr(n);const g=n._s.get(e);return i[p].call(g,g)})),f),{}))}return a=Sa(e,u,t,n,s,!0),a}function Sa(e,t,n={},s,r,o){let i;const l=Vt({actions:{}},n),a={deep:!0};let u,c,f=new Set,p=new Set,g;const b=s.state.value[e];!o&&!b&&(s.state.value[e]={}),ue({});let v;function _(T){let H;u=c=!1,typeof T=="function"?(T(s.state.value[e]),H={type:Wn.patchFunction,storeId:e,events:g}):(Kr(s.state.value[e],T),H={type:Wn.patchObject,payload:T,storeId:e,events:g});const x=v=Symbol();ss().then(()=>{v===x&&(u=!0)}),c=!0,dn(f,H,s.state.value[e])}const k=o?function(){const{state:H}=n,x=H?H():{};this.$patch(U=>{Vt(U,x)})}:Ea;function C(){i.stop(),f.clear(),p.clear(),s._s.delete(e)}const P=(T,H="")=>{if(hi in T)return T[Er]=H,T;const x=function(){nr(s);const U=Array.from(arguments),q=new Set,Y=new Set;function le(K){q.add(K)}function Re(K){Y.add(K)}dn(p,{args:U,name:x[Er],store:V,after:le,onError:Re});let W;try{W=T.apply(this&&this.$id===e?this:V,U)}catch(K){throw dn(Y,K),K}return W instanceof Promise?W.then(K=>(dn(q,K),K)).catch(K=>(dn(Y,K),Promise.reject(K))):(dn(q,W),W)};return x[hi]=!0,x[Er]=H,x},I={_p:s,$id:e,$onAction:di.bind(null,p),$patch:_,$reset:k,$subscribe(T,H={}){const x=di(f,T,H.detached,()=>U()),U=i.run(()=>_n(()=>s.state.value[e],q=>{(H.flush==="sync"?c:u)&&T({storeId:e,type:Wn.direct,events:g},q)},Vt({},a,H)));return x},$dispose:C},V=ts(I);s._s.set(e,V);const G=(s._a&&s._a.runWithContext||Jf)(()=>s._e.run(()=>(i=hl()).run(()=>t({action:P}))));for(const T in G){const H=G[T];if(Ce(H)&&!Qf(H)||Nt(H))o||(b&&Yf(H)&&(Ce(H)?H.value=b[T]:Kr(H,b[T])),s.state.value[e][T]=H);else if(typeof H=="function"){const x=P(H,T);G[T]=x,l.actions[T]=H}}return Vt(V,G),Vt(fe(V),G),Object.defineProperty(V,"$state",{get:()=>s.state.value[e],set:T=>{_(H=>{Vt(H,T)})}}),s._p.forEach(T=>{Vt(V,i.run(()=>T({store:V,app:s._a,pinia:s,options:l})))}),b&&o&&n.hydrate&&n.hydrate(V.$state,b),u=!0,c=!0,V}function ed(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(i,l){const a=gu();return i=i||(a?lt(xa,null):null),i&&nr(i),i=_a,i._s.has(e)||(r?Sa(e,t,s,i):Zf(e,s,i)),i._s.get(e)}return o.$id=e,o}const td="modulepreload",nd=function(e){return"/"+e},pi={},hn=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let a=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");r=a(n.map(u=>{if(u=nd(u),u in pi)return;pi[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":td,c||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),c)return new Promise((g,b)=>{p.addEventListener("load",g),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};const bn=typeof document<"u";function Ra(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function sd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ra(e.default)}const he=Object.assign;function Sr(e,t){const n={};for(const s in t){const r=t[s];n[s]=ft(r)?r.map(e):e(r)}return n}const Kn=()=>{},ft=Array.isArray;function mi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Aa=/#/g,rd=/&/g,od=/\//g,id=/=/g,ld=/\?/g,Ca=/\+/g,ad=/%5B/g,cd=/%5D/g,Ta=/%5E/g,ud=/%60/g,Oa=/%7B/g,fd=/%7C/g,ka=/%7D/g,dd=/%20/g;function wo(e){return e==null?"":encodeURI(""+e).replace(fd,"|").replace(ad,"[").replace(cd,"]")}function hd(e){return wo(e).replace(Oa,"{").replace(ka,"}").replace(Ta,"^")}function Jr(e){return wo(e).replace(Ca,"%2B").replace(dd,"+").replace(Aa,"%23").replace(rd,"%26").replace(ud,"`").replace(Oa,"{").replace(ka,"}").replace(Ta,"^")}function pd(e){return Jr(e).replace(id,"%3D")}function md(e){return wo(e).replace(Aa,"%23").replace(ld,"%3F")}function gd(e){return md(e).replace(od,"%2F")}function es(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bd=/\/$/,yd=e=>e.replace(bd,"");function Rr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),o=t.slice(a,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=xd(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:es(i)}}function vd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wd(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Rn(t.matched[s],n.matched[r])&&Pa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!_d(e[n],t[n]))return!1;return!0}function _d(e,t){return ft(e)?bi(e,t):ft(t)?bi(t,e):e?.valueOf()===t?.valueOf()}function bi(e,t){return ft(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function xd(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,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Xr=(function(e){return e.pop="pop",e.push="push",e})({}),Ar=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Ed(e){if(!e)if(bn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yd(e)}const Sd=/^[^#]+#/;function Rd(e,t){return e.replace(Sd,"#")+t}function Ad(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 sr=()=>({left:window.scrollX,top:window.scrollY});function Cd(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=Ad(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 yi(e,t){return(history.state?history.state.position-t:-1)+e}const Yr=new Map;function Td(e,t){Yr.set(e,t)}function Od(e){const t=Yr.get(e);return Yr.delete(e),t}function kd(e){return typeof e=="string"||e&&typeof e=="object"}function Ia(e){return typeof e=="string"||typeof e=="symbol"}let Oe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Na=Symbol("");Oe.MATCHER_NOT_FOUND+"",Oe.NAVIGATION_GUARD_REDIRECT+"",Oe.NAVIGATION_ABORTED+"",Oe.NAVIGATION_CANCELLED+"",Oe.NAVIGATION_DUPLICATED+"";function An(e,t){return he(new Error,{type:e,[Na]:!0},t)}function At(e,t){return e instanceof Error&&Na in e&&(t==null||!!(e.type&t))}const Pd=["params","query","hash"];function Id(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Pd)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Nd(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Ca," "),o=r.indexOf("="),i=es(o<0?r:r.slice(0,o)),l=o<0?null:es(r.slice(o+1));if(i in t){let a=t[i];ft(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function vi(e){let t="";for(let n in e){const s=e[n];if(n=pd(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ft(s)?s.map(r=>r&&Jr(r)):[s&&Jr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Md(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ft(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Dd=Symbol(""),wi=Symbol(""),rr=Symbol(""),_o=Symbol(""),Qr=Symbol("");function Dn(){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 Gt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const u=p=>{p===!1?a(An(Oe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?a(p):kd(p)?a(An(Oe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},c=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(p=>a(p))})}function Cr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ra(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Gt(u,n,s,i,l,r))}else{let u=a();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=sd(c)?c.default:c;i.mods[l]=c,i.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&Gt(p,n,s,i,l,r)()}))}}return o}function Ld(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(u=>Rn(u,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(u=>Rn(u,a))||r.push(a))}return[n,s,r]}let Bd=()=>location.protocol+"//"+location.host;function Ma(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),gi(l,"")}return gi(n,e)+s+r}function Fd(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const g=Ma(e,location),b=n.value,v=t.value;let _=0;if(p){if(n.value=g,t.value=p,i&&i===b){i=null;return}_=v?p.position-v.position:0}else s(g);r.forEach(k=>{k(n.value,b,{delta:_,type:Xr.pop,direction:_?_>0?Ar.forward:Ar.back:Ar.unknown})})};function a(){i=n.value}function u(p){r.push(p);const g=()=>{const b=r.indexOf(p);b>-1&&r.splice(b,1)};return o.push(g),g}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(he({},p.state,{scroll:sr()}),"")}}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:u,destroy:f}}function _i(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?sr():null}}function jd(e){const{history:t,location:n}=window,s={value:Ma(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(a,u,c){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Bd()+e+a;try{t[c?"replaceState":"pushState"](u,"",p),r.value=u}catch(g){console.error(g),n[c?"replace":"assign"](p)}}function i(a,u){o(a,he({},t.state,_i(r.value.back,a,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=a}function l(a,u){const c=he({},r.value,t.state,{forward:a,scroll:sr()});o(c.current,c,!0),o(a,he({},_i(s.value,a,null),{position:c.position+1},u),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function Ud(e){e=Ed(e);const t=jd(e),n=Fd(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=he({location:"",base:e,go:s,createHref:Rd.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}let nn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ne=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Ne||{});const Hd={type:nn.Static,value:""},Vd=/[a-zA-Z0-9_]/;function $d(e){if(!e)return[[]];if(e==="/")return[[Hd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=Ne.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,u="",c="";function f(){u&&(n===Ne.Static?o.push({type:nn.Static,value:u}):n===Ne.Param||n===Ne.ParamRegExp||n===Ne.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:nn.Param,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Ne.ParamRegExp){s=n,n=Ne.EscapeNext;continue}switch(n){case Ne.Static:a==="/"?(u&&f(),i()):a===":"?(f(),n=Ne.Param):p();break;case Ne.EscapeNext:p(),n=s;break;case Ne.Param:a==="("?n=Ne.ParamRegExp:Vd.test(a)?p():(f(),n=Ne.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Ne.ParamRegExp:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=Ne.ParamRegExpEnd:c+=a;break;case Ne.ParamRegExpEnd:f(),n=Ne.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===Ne.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),r}const xi="[^/]+?",zd={sensitive:!1,strict:!1,start:!0,end:!0};var We=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(We||{});const qd=/[.+*?^${}()[\]/\\]/g;function Gd(e,t){const n=he({},zd,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[We.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const p=u[f];let g=We.Segment+(n.sensitive?We.BonusCaseSensitive:0);if(p.type===nn.Static)f||(r+="/"),r+=p.value.replace(qd,"\\$&"),g+=We.Static;else if(p.type===nn.Param){const{value:b,repeatable:v,optional:_,regexp:k}=p;o.push({name:b,repeatable:v,optional:_});const C=k||xi;if(C!==xi){g+=We.BonusCustomRegExp;try{`${C}`}catch(I){throw new Error(`Invalid custom RegExp for param "${b}" (${C}): `+I.message)}}let P=v?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(P=_&&u.length<2?`(?:/${P})`:"/"+P),_&&(P+="?"),r+=P,g+=We.Dynamic,_&&(g+=We.BonusOptional),v&&(g+=We.BonusRepeatable),C===".*"&&(g+=We.BonusWildcard)}c.push(g)}s.push(c)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=We.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(u){const c=u.match(i),f={};if(!c)return null;for(let p=1;p<c.length;p++){const g=c[p]||"",b=o[p-1];f[b.name]=g&&b.repeatable?g.split("/"):g}return f}function a(u){let c="",f=!1;for(const p of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const g of p)if(g.type===nn.Static)c+=g.value;else if(g.type===nn.Param){const{value:b,repeatable:v,optional:_}=g,k=b in u?u[b]:"";if(ft(k)&&!v)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const C=ft(k)?k.join("/"):k;if(!C)if(_)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${b}"`);c+=C}}return c||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function Wd(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]===We.Static+We.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===We.Static+We.Segment?1:-1:0}function Da(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Wd(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Ei(s))return 1;if(Ei(r))return-1}return r.length-s.length}function Ei(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Kd={strict:!1,end:!0,sensitive:!1};function Jd(e,t,n){const s=Gd($d(e.path),n),r=he(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Xd(e,t){const n=[],s=new Map;t=mi(Kd,t);function r(f){return s.get(f)}function o(f,p,g){const b=!g,v=Ri(f);v.aliasOf=g&&g.record;const _=mi(t,f),k=[v];if("alias"in f){const I=typeof f.alias=="string"?[f.alias]:f.alias;for(const V of I)k.push(Ri(he({},v,{components:g?g.record.components:v.components,path:V,aliasOf:g?g.record:v})))}let C,P;for(const I of k){const{path:V}=I;if(p&&V[0]!=="/"){const Z=p.record.path,G=Z[Z.length-1]==="/"?"":"/";I.path=p.record.path+(V&&G+V)}if(C=Jd(I,p,_),g?g.alias.push(C):(P=P||C,P!==C&&P.alias.push(C),b&&f.name&&!Ai(C)&&i(f.name)),La(C)&&a(C),v.children){const Z=v.children;for(let G=0;G<Z.length;G++)o(Z[G],C,g&&g.children[G])}g=g||C}return P?()=>{i(P)}:Kn}function i(f){if(Ia(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const p=Zd(f,n);n.splice(p,0,f),f.record.name&&!Ai(f)&&s.set(f.record.name,f)}function u(f,p){let g,b={},v,_;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw An(Oe.MATCHER_NOT_FOUND,{location:f});_=g.record.name,b=he(Si(p.params,g.keys.filter(P=>!P.optional).concat(g.parent?g.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),f.params&&Si(f.params,g.keys.map(P=>P.name))),v=g.stringify(b)}else if(f.path!=null)v=f.path,g=n.find(P=>P.re.test(v)),g&&(b=g.parse(v),_=g.record.name);else{if(g=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!g)throw An(Oe.MATCHER_NOT_FOUND,{location:f,currentLocation:p});_=g.record.name,b=he({},p.params,f.params),v=g.stringify(b)}const k=[];let C=g;for(;C;)k.unshift(C.record),C=C.parent;return{name:_,path:v,params:b,matched:k,meta:Qd(k)}}e.forEach(f=>o(f));function c(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:r}}function Si(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ri(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Yd(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 Yd(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 Ai(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Qd(e){return e.reduce((t,n)=>he(t,n.meta),{})}function Zd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Da(e,t[o])<0?s=o:n=o+1}const r=eh(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function eh(e){let t=e;for(;t=t.parent;)if(La(t)&&Da(e,t)===0)return t}function La({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ci(e){const t=lt(rr),n=lt(_o),s=ce(()=>{const a=oe(e.to);return t.resolve(a)}),r=ce(()=>{const{matched:a}=s.value,{length:u}=a,c=a[u-1],f=n.matched;if(!c||!f.length)return-1;const p=f.findIndex(Rn.bind(null,c));if(p>-1)return p;const g=Ti(a[u-2]);return u>1&&Ti(c)===g&&f[f.length-1].path!==g?f.findIndex(Rn.bind(null,a[u-2])):p}),o=ce(()=>r.value>-1&&oh(n.params,s.value.params)),i=ce(()=>r.value>-1&&r.value===n.matched.length-1&&Pa(n.params,s.value.params));function l(a={}){if(rh(a)){const u=t[oe(e.replace)?"replace":"push"](oe(e.to)).catch(Kn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:ce(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function th(e){return e.length===1?e[0]:e}const nh=dt({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:Ci,setup(e,{slots:t}){const n=ts(Ci(e)),{options:s}=lt(rr),r=ce(()=>({[Oi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Oi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&th(t.default(n));return e.custom?o:Jt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),sh=nh;function rh(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 oh(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(!ft(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Ti(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Oi=(e,t,n)=>e??t??n,ih=dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=lt(Qr),r=ce(()=>e.route||s.value),o=lt(wi,0),i=ce(()=>{let u=oe(o);const{matched:c}=r.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),l=ce(()=>r.value.matched[i.value]);vs(wi,ce(()=>i.value+1)),vs(Dd,l),vs(Qr,r);const a=ue();return _n(()=>[a.value,l.value,e.name],([u,c,f],[p,g,b])=>{c&&(c.instances[f]=u,g&&g!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!Rn(c,g)||!p)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,f=l.value,p=f&&f.components[c];if(!p)return ki(n.default,{Component:p,route:u});const g=f.props[c],b=g?g===!0?u.params:typeof g=="function"?g(u):g:null,_=Jt(p,he({},b,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[c]=null)},ref:a}));return ki(n.default,{Component:_,route:u})||_}}});function ki(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lh=ih;function ah(e){const t=Xd(e.routes,e),n=e.parseQuery||Nd,s=e.stringifyQuery||vi,r=e.history,o=Dn(),i=Dn(),l=Dn(),a=nu(jt);let u=jt;bn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Sr.bind(null,h=>""+h),f=Sr.bind(null,gd),p=Sr.bind(null,es);function g(h,M){let R,L;return Ia(h)?(R=t.getRecordMatcher(h),L=M):L=h,t.addRoute(L,R)}function b(h){const M=t.getRecordMatcher(h);M&&t.removeRoute(M)}function v(){return t.getRoutes().map(h=>h.record)}function _(h){return!!t.getRecordMatcher(h)}function k(h,M){if(M=he({},M||a.value),typeof h=="string"){const y=Rr(n,h,M.path),E=t.resolve({path:y.path},M),A=r.createHref(y.fullPath);return he(y,E,{params:p(E.params),hash:es(y.hash),redirectedFrom:void 0,href:A})}let R;if(h.path!=null)R=he({},h,{path:Rr(n,h.path,M.path).path});else{const y=he({},h.params);for(const E in y)y[E]==null&&delete y[E];R=he({},h,{params:f(y)}),M.params=f(M.params)}const L=t.resolve(R,M),J=h.hash||"";L.params=c(p(L.params));const d=vd(s,he({},h,{hash:hd(J),path:L.path})),m=r.createHref(d);return he({fullPath:d,hash:J,query:s===vi?Md(h.query):h.query||{}},L,{redirectedFrom:void 0,href:m})}function C(h){return typeof h=="string"?Rr(n,h,a.value.path):he({},h)}function P(h,M){if(u!==h)return An(Oe.NAVIGATION_CANCELLED,{from:M,to:h})}function I(h){return G(h)}function V(h){return I(he(C(h),{replace:!0}))}function Z(h,M){const R=h.matched[h.matched.length-1];if(R&&R.redirect){const{redirect:L}=R;let J=typeof L=="function"?L(h,M):L;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=C(J):{path:J},J.params={}),he({query:h.query,hash:h.hash,params:J.path!=null?{}:h.params},J)}}function G(h,M){const R=u=k(h),L=a.value,J=h.state,d=h.force,m=h.replace===!0,y=Z(R,L);if(y)return G(he(C(y),{state:typeof y=="object"?he({},J,y.state):J,force:d,replace:m}),M||R);const E=R;E.redirectedFrom=M;let A;return!d&&wd(s,L,R)&&(A=An(Oe.NAVIGATION_DUPLICATED,{to:E,from:L}),me(L,L,!0,!1)),(A?Promise.resolve(A):x(E,L)).catch(S=>At(S)?At(S,Oe.NAVIGATION_GUARD_REDIRECT)?S:Le(S):N(S,E,L)).then(S=>{if(S){if(At(S,Oe.NAVIGATION_GUARD_REDIRECT))return G(he({replace:m},C(S.to),{state:typeof S.to=="object"?he({},J,S.to.state):J,force:d}),M||E)}else S=q(E,L,!0,m,J);return U(E,L,S),S})}function T(h,M){const R=P(h,M);return R?Promise.reject(R):Promise.resolve()}function H(h){const M=we.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(h):h()}function x(h,M){let R;const[L,J,d]=Ld(h,M);R=Cr(L.reverse(),"beforeRouteLeave",h,M);for(const y of L)y.leaveGuards.forEach(E=>{R.push(Gt(E,h,M))});const m=T.bind(null,h,M);return R.push(m),Fe(R).then(()=>{R=[];for(const y of o.list())R.push(Gt(y,h,M));return R.push(m),Fe(R)}).then(()=>{R=Cr(J,"beforeRouteUpdate",h,M);for(const y of J)y.updateGuards.forEach(E=>{R.push(Gt(E,h,M))});return R.push(m),Fe(R)}).then(()=>{R=[];for(const y of d)if(y.beforeEnter)if(ft(y.beforeEnter))for(const E of y.beforeEnter)R.push(Gt(E,h,M));else R.push(Gt(y.beforeEnter,h,M));return R.push(m),Fe(R)}).then(()=>(h.matched.forEach(y=>y.enterCallbacks={}),R=Cr(d,"beforeRouteEnter",h,M,H),R.push(m),Fe(R))).then(()=>{R=[];for(const y of i.list())R.push(Gt(y,h,M));return R.push(m),Fe(R)}).catch(y=>At(y,Oe.NAVIGATION_CANCELLED)?y:Promise.reject(y))}function U(h,M,R){l.list().forEach(L=>H(()=>L(h,M,R)))}function q(h,M,R,L,J){const d=P(h,M);if(d)return d;const m=M===jt,y=bn?history.state:{};R&&(L||m?r.replace(h.fullPath,he({scroll:m&&y&&y.scroll},J)):r.push(h.fullPath,J)),a.value=h,me(h,M,R,m),Le()}let Y;function le(){Y||(Y=r.listen((h,M,R)=>{if(!Be.listening)return;const L=k(h),J=Z(L,Be.currentRoute.value);if(J){G(he(J,{replace:!0,force:!0}),L).catch(Kn);return}u=L;const d=a.value;bn&&Td(yi(d.fullPath,R.delta),sr()),x(L,d).catch(m=>At(m,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_CANCELLED)?m:At(m,Oe.NAVIGATION_GUARD_REDIRECT)?(G(he(C(m.to),{force:!0}),L).then(y=>{At(y,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_DUPLICATED)&&!R.delta&&R.type===Xr.pop&&r.go(-1,!1)}).catch(Kn),Promise.reject()):(R.delta&&r.go(-R.delta,!1),N(m,L,d))).then(m=>{m=m||q(L,d,!1),m&&(R.delta&&!At(m,Oe.NAVIGATION_CANCELLED)?r.go(-R.delta,!1):R.type===Xr.pop&&At(m,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),U(L,d,m)}).catch(Kn)}))}let Re=Dn(),W=Dn(),K;function N(h,M,R){Le(h);const L=W.list();return L.length?L.forEach(J=>J(h,M,R)):console.error(h),Promise.reject(h)}function De(){return K&&a.value!==jt?Promise.resolve():new Promise((h,M)=>{Re.add([h,M])})}function Le(h){return K||(K=!h,le(),Re.list().forEach(([M,R])=>h?R(h):M()),Re.reset()),h}function me(h,M,R,L){const{scrollBehavior:J}=e;if(!bn||!J)return Promise.resolve();const d=!R&&Od(yi(h.fullPath,0))||(L||!R)&&history.state&&history.state.scroll||null;return ss().then(()=>J(h,M,d)).then(m=>m&&Cd(m)).catch(m=>N(m,h,M))}const be=h=>r.go(h);let ye;const we=new Set,Be={currentRoute:a,listening:!0,addRoute:g,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:v,resolve:k,options:e,push:I,replace:V,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:W.add,isReady:De,install(h){h.component("RouterLink",sh),h.component("RouterView",lh),h.config.globalProperties.$router=Be,Object.defineProperty(h.config.globalProperties,"$route",{enumerable:!0,get:()=>oe(a)}),bn&&!ye&&a.value===jt&&(ye=!0,I(r.location).catch(L=>{}));const M={};for(const L in jt)Object.defineProperty(M,L,{get:()=>a.value[L],enumerable:!0});h.provide(rr,Be),h.provide(_o,Pl(M)),h.provide(Qr,a);const R=h.unmount;we.add(h),h.unmount=function(){we.delete(h),we.size<1&&(u=jt,Y&&Y(),Y=null,a.value=jt,ye=!1,K=!1),R()}}};function Fe(h){return h.reduce((M,R)=>M.then(()=>H(R)),Promise.resolve())}return Be}function ch(){return lt(rr)}function Ba(e){return lt(_o)}function Fa(e,t){return function(){return e.apply(t,arguments)}}const{toString:uh}=Object.prototype,{getPrototypeOf:xo}=Object,{iterator:or,toStringTag:ja}=Symbol,ir=(e=>t=>{const n=uh.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ht=e=>(e=e.toLowerCase(),t=>ir(t)===e),lr=e=>t=>typeof t===e,{isArray:Tn}=Array,Cn=lr("undefined");function os(e){return e!==null&&!Cn(e)&&e.constructor!==null&&!Cn(e.constructor)&&et(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ua=ht("ArrayBuffer");function fh(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ua(e.buffer),t}const dh=lr("string"),et=lr("function"),Ha=lr("number"),is=e=>e!==null&&typeof e=="object",hh=e=>e===!0||e===!1,Es=e=>{if(ir(e)!=="object")return!1;const t=xo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ja in e)&&!(or in e)},ph=e=>{if(!is(e)||os(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},mh=ht("Date"),gh=ht("File"),bh=ht("Blob"),yh=ht("FileList"),vh=e=>is(e)&&et(e.pipe),wh=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||et(e.append)&&((t=ir(e))==="formdata"||t==="object"&&et(e.toString)&&e.toString()==="[object FormData]"))},_h=ht("URLSearchParams"),[xh,Eh,Sh,Rh]=["ReadableStream","Request","Response","Headers"].map(ht),Ah=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ls(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Tn(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(os(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(s=0;s<i;s++)l=o[s],t.call(null,e[l],l,e)}}function Va(e,t){if(os(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 sn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$a=e=>!Cn(e)&&e!==sn;function Zr(){const{caseless:e,skipUndefined:t}=$a(this)&&this||{},n={},s=(r,o)=>{const i=e&&Va(n,o)||o;Es(n[i])&&Es(r)?n[i]=Zr(n[i],r):Es(r)?n[i]=Zr({},r):Tn(r)?n[i]=r.slice():(!t||!Cn(r))&&(n[i]=r)};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&ls(arguments[r],s);return n}const Ch=(e,t,n,{allOwnKeys:s}={})=>(ls(t,(r,o)=>{n&&et(r)?e[o]=Fa(r,n):e[o]=r},{allOwnKeys:s}),e),Th=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Oh=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},kh=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&xo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ph=(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},Ih=e=>{if(!e)return null;if(Tn(e))return e;let t=e.length;if(!Ha(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Nh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&xo(Uint8Array)),Mh=(e,t)=>{const s=(e&&e[or]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Dh=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Lh=ht("HTMLFormElement"),Bh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Pi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Fh=ht("RegExp"),za=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ls(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},jh=e=>{za(e,(t,n)=>{if(et(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(et(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+"'")})}})},Uh=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return Tn(e)?s(e):s(String(e).split(t)),n},Hh=()=>{},Vh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function $h(e){return!!(e&&et(e.append)&&e[ja]==="FormData"&&e[or])}const zh=e=>{const t=new Array(10),n=(s,r)=>{if(is(s)){if(t.indexOf(s)>=0)return;if(os(s))return s;if(!("toJSON"in s)){t[r]=s;const o=Tn(s)?[]:{};return ls(s,(i,l)=>{const a=n(i,r+1);!Cn(a)&&(o[l]=a)}),t[r]=void 0,o}}return s};return n(e,0)},qh=ht("AsyncFunction"),Gh=e=>e&&(is(e)||et(e))&&et(e.then)&&et(e.catch),qa=((e,t)=>e?setImmediate:t?((n,s)=>(sn.addEventListener("message",({source:r,data:o})=>{r===sn&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),sn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",et(sn.postMessage)),Wh=typeof queueMicrotask<"u"?queueMicrotask.bind(sn):typeof process<"u"&&process.nextTick||qa,Kh=e=>e!=null&&et(e[or]),w={isArray:Tn,isArrayBuffer:Ua,isBuffer:os,isFormData:wh,isArrayBufferView:fh,isString:dh,isNumber:Ha,isBoolean:hh,isObject:is,isPlainObject:Es,isEmptyObject:ph,isReadableStream:xh,isRequest:Eh,isResponse:Sh,isHeaders:Rh,isUndefined:Cn,isDate:mh,isFile:gh,isBlob:bh,isRegExp:Fh,isFunction:et,isStream:vh,isURLSearchParams:_h,isTypedArray:Nh,isFileList:yh,forEach:ls,merge:Zr,extend:Ch,trim:Ah,stripBOM:Th,inherits:Oh,toFlatObject:kh,kindOf:ir,kindOfTest:ht,endsWith:Ph,toArray:Ih,forEachEntry:Mh,matchAll:Dh,isHTMLForm:Lh,hasOwnProperty:Pi,hasOwnProp:Pi,reduceDescriptors:za,freezeMethods:jh,toObjectSet:Uh,toCamelCase:Bh,noop:Hh,toFiniteNumber:Vh,findKey:Va,global:sn,isContextDefined:$a,isSpecCompliantForm:$h,toJSONObject:zh,isAsyncFn:qh,isThenable:Gh,setImmediate:qa,asap:Wh,isIterable:Kh};function re(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}w.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.status}}});const Ga=re.prototype,Wa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Wa[e]={value:e}});Object.defineProperties(re,Wa);Object.defineProperty(Ga,"isAxiosError",{value:!0});re.from=(e,t,n,s,r,o)=>{const i=Object.create(Ga);w.toFlatObject(e,i,function(c){return c!==Error.prototype},u=>u!=="isAxiosError");const l=e&&e.message?e.message:"Error",a=t==null&&e?e.code:t;return re.call(i,l,a,n,s,r),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",o&&Object.assign(i,o),i};const Jh=null;function eo(e){return w.isPlainObject(e)||w.isArray(e)}function Ka(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Ii(e,t,n){return e?e.concat(t).map(function(r,o){return r=Ka(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Xh(e){return w.isArray(e)&&!e.some(eo)}const Yh=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function ar(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,_){return!w.isUndefined(_[v])});const s=n.metaTokens,r=n.visitor||c,o=n.dots,i=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(r))throw new TypeError("visitor must be a function");function u(b){if(b===null)return"";if(w.isDate(b))return b.toISOString();if(w.isBoolean(b))return b.toString();if(!a&&w.isBlob(b))throw new re("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(b)||w.isTypedArray(b)?a&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,v,_){let k=b;if(b&&!_&&typeof b=="object"){if(w.endsWith(v,"{}"))v=s?v:v.slice(0,-2),b=JSON.stringify(b);else if(w.isArray(b)&&Xh(b)||(w.isFileList(b)||w.endsWith(v,"[]"))&&(k=w.toArray(b)))return v=Ka(v),k.forEach(function(P,I){!(w.isUndefined(P)||P===null)&&t.append(i===!0?Ii([v],I,o):i===null?v:v+"[]",u(P))}),!1}return eo(b)?!0:(t.append(Ii(_,v,o),u(b)),!1)}const f=[],p=Object.assign(Yh,{defaultVisitor:c,convertValue:u,isVisitable:eo});function g(b,v){if(!w.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(b),w.forEach(b,function(k,C){(!(w.isUndefined(k)||k===null)&&r.call(t,k,w.isString(C)?C.trim():C,v,p))===!0&&g(k,v?v.concat(C):[C])}),f.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Ni(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Eo(e,t){this._pairs=[],e&&ar(e,this,t)}const Ja=Eo.prototype;Ja.append=function(t,n){this._pairs.push([t,n])};Ja.toString=function(t){const n=t?function(s){return t.call(this,s,Ni)}:Ni;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Qh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Xa(e,t,n){if(!t)return e;const s=n&&n.encode||Qh;w.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=w.isURLSearchParams(t)?t.toString():new Eo(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Mi{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){w.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ya={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zh=typeof URLSearchParams<"u"?URLSearchParams:Eo,ep=typeof FormData<"u"?FormData:null,tp=typeof Blob<"u"?Blob:null,np={isBrowser:!0,classes:{URLSearchParams:Zh,FormData:ep,Blob:tp},protocols:["http","https","file","blob","url","data"]},So=typeof window<"u"&&typeof document<"u",to=typeof navigator=="object"&&navigator||void 0,sp=So&&(!to||["ReactNative","NativeScript","NS"].indexOf(to.product)<0),rp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",op=So&&window.location.href||"http://localhost",ip=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:So,hasStandardBrowserEnv:sp,hasStandardBrowserWebWorkerEnv:rp,navigator:to,origin:op},Symbol.toStringTag,{value:"Module"})),$e={...ip,...np};function lp(e,t){return ar(e,new $e.classes.URLSearchParams,{visitor:function(n,s,r,o){return $e.isNode&&w.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function ap(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function cp(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 Qa(e){function t(n,s,r,o){let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),a=o>=n.length;return i=!i&&w.isArray(r)?r.length:i,a?(w.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!w.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&w.isArray(r[i])&&(r[i]=cp(r[i])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(s,r)=>{t(ap(s),r,n,0)}),n}return null}function up(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const as={transitional:Ya,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=w.isObject(t);if(o&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return r?JSON.stringify(Qa(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.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 lp(t,this.formSerializer).toString();if((l=w.isFileList(t))||s.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return ar(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),up(t)):t}],transformResponse:[function(t){const n=this.transitional||as.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(l){if(i)throw l.name==="SyntaxError"?re.from(l,re.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:$e.classes.FormData,Blob:$e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{as.headers[e]={}});const fp=w.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"]),dp=e=>{const t={};let n,s,r;return e&&e.split(`
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&fp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Di=Symbol("internals");function Ln(e){return e&&String(e).trim().toLowerCase()}function Ss(e){return e===!1||e==null?e:w.isArray(e)?e.map(Ss):String(e)}function hp(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 pp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Tr(e,t,n,s,r){if(w.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!w.isString(t)){if(w.isString(s))return t.indexOf(s)!==-1;if(w.isRegExp(s))return s.test(t)}}function mp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function gp(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let tt=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,a,u){const c=Ln(a);if(!c)throw new Error("header name must be a non-empty string");const f=w.findKey(r,c);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||a]=Ss(l))}const i=(l,a)=>w.forEach(l,(u,c)=>o(u,c,a));if(w.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(w.isString(t)&&(t=t.trim())&&!pp(t))i(dp(t),n);else if(w.isObject(t)&&w.isIterable(t)){let l={},a,u;for(const c of t){if(!w.isArray(c))throw TypeError("Object iterator must return a key-value pair");l[u=c[0]]=(a=l[u])?w.isArray(a)?[...a,c[1]]:[a,c[1]]:c[1]}i(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=Ln(t),t){const s=w.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return hp(r);if(w.isFunction(n))return n.call(this,r,s);if(w.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ln(t),t){const s=w.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Tr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=Ln(i),i){const l=w.findKey(s,i);l&&(!n||Tr(s,s[l],l,n))&&(delete s[l],r=!0)}}return w.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||Tr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return w.forEach(this,(r,o)=>{const i=w.findKey(s,o);if(i){n[i]=Ss(r),delete n[o];return}const l=t?mp(o):String(o).trim();l!==o&&delete n[o],n[l]=Ss(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&w.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[Di]=this[Di]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=Ln(i);s[l]||(gp(r,i),s[l]=!0)}return w.isArray(t)?t.forEach(o):o(t),this}};tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(tt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});w.freezeMethods(tt);function Or(e,t){const n=this||as,s=t||n,r=tt.from(s.headers);let o=s.data;return w.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Za(e){return!!(e&&e.__CANCEL__)}function On(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(On,re,{__CANCEL__:!0});function ec(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function bp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function yp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=s[o];i||(i=u),n[r]=a,s[r]=u;let f=o,p=0;for(;f!==r;)p+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i<t)return;const g=c&&u-c;return g?Math.round(p*1e3/g):void 0}}function vp(e,t){let n=0,s=1e3/t,r,o;const i=(u,c=Date.now())=>{n=c,r=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=s?i(u,c):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const Ls=(e,t,n=3)=>{let s=0;const r=yp(50,250);return vp(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,a=i-s,u=r(a),c=i<=l;s=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:u||void 0,estimated:u&&l&&c?(l-i)/u:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Li=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Bi=e=>(...t)=>w.asap(()=>e(...t)),wp=$e.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,$e.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL($e.origin),$e.navigator&&/(msie|trident)/i.test($e.navigator.userAgent)):()=>!0,_p=$e.hasStandardBrowserEnv?{write(e,t,n,s,r,o,i){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];w.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),w.isString(s)&&l.push(`path=${s}`),w.isString(r)&&l.push(`domain=${r}`),o===!0&&l.push("secure"),w.isString(i)&&l.push(`SameSite=${i}`),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 xp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ep(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function tc(e,t,n){let s=!xp(t);return e&&(s||n==!1)?Ep(e,t):t}const Fi=e=>e instanceof tt?{...e}:e;function cn(e,t){t=t||{};const n={};function s(u,c,f,p){return w.isPlainObject(u)&&w.isPlainObject(c)?w.merge.call({caseless:p},u,c):w.isPlainObject(c)?w.merge({},c):w.isArray(c)?c.slice():c}function r(u,c,f,p){if(w.isUndefined(c)){if(!w.isUndefined(u))return s(void 0,u,f,p)}else return s(u,c,f,p)}function o(u,c){if(!w.isUndefined(c))return s(void 0,c)}function i(u,c){if(w.isUndefined(c)){if(!w.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function l(u,c,f){if(f in t)return s(u,c);if(f in e)return s(void 0,u)}const a={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,c,f)=>r(Fi(u),Fi(c),f,!0)};return w.forEach(Object.keys({...e,...t}),function(c){const f=a[c]||r,p=f(e[c],t[c],c);w.isUndefined(p)&&f!==l||(n[c]=p)}),n}const nc=e=>{const t=cn({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;if(t.headers=i=tt.from(i),t.url=Xa(tc(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),w.isFormData(n)){if($e.hasStandardBrowserEnv||$e.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(w.isFunction(n.getHeaders)){const a=n.getHeaders(),u=["content-type","content-length"];Object.entries(a).forEach(([c,f])=>{u.includes(c.toLowerCase())&&i.set(c,f)})}}if($e.hasStandardBrowserEnv&&(s&&w.isFunction(s)&&(s=s(t)),s||s!==!1&&wp(t.url))){const a=r&&o&&_p.read(o);a&&i.set(r,a)}return t},Sp=typeof XMLHttpRequest<"u",Rp=Sp&&function(e){return new Promise(function(n,s){const r=nc(e);let o=r.data;const i=tt.from(r.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:u}=r,c,f,p,g,b;function v(){g&&g(),b&&b(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let _=new XMLHttpRequest;_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout;function k(){if(!_)return;const P=tt.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),V={data:!l||l==="text"||l==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:P,config:e,request:_};ec(function(G){n(G),v()},function(G){s(G),v()},V),_=null}"onloadend"in _?_.onloadend=k:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(k)},_.onabort=function(){_&&(s(new re("Request aborted",re.ECONNABORTED,e,_)),_=null)},_.onerror=function(I){const V=I&&I.message?I.message:"Network Error",Z=new re(V,re.ERR_NETWORK,e,_);Z.event=I||null,s(Z),_=null},_.ontimeout=function(){let I=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||Ya;r.timeoutErrorMessage&&(I=r.timeoutErrorMessage),s(new re(I,V.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,_)),_=null},o===void 0&&i.setContentType(null),"setRequestHeader"in _&&w.forEach(i.toJSON(),function(I,V){_.setRequestHeader(V,I)}),w.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),l&&l!=="json"&&(_.responseType=r.responseType),u&&([p,b]=Ls(u,!0),_.addEventListener("progress",p)),a&&_.upload&&([f,g]=Ls(a),_.upload.addEventListener("progress",f),_.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(c=P=>{_&&(s(!P||P.type?new On(null,e,_):P),_.abort(),_=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const C=bp(r.url);if(C&&$e.protocols.indexOf(C)===-1){s(new re("Unsupported protocol "+C+":",re.ERR_BAD_REQUEST,e));return}_.send(o||null)})},Ap=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(u){if(!r){r=!0,l();const c=u instanceof Error?u:this.reason;s.abort(c instanceof re?c:new On(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,o(new re(`timeout ${t} of ms exceeded`,re.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:a}=s;return a.unsubscribe=()=>w.asap(l),a}},Cp=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},Tp=async function*(e,t){for await(const n of Op(e))yield*Cp(n,t)},Op=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()}},ji=(e,t,n,s)=>{const r=Tp(e,t);let o=0,i,l=a=>{i||(i=!0,s&&s(a))};return new ReadableStream({async pull(a){try{const{done:u,value:c}=await r.next();if(u){l(),a.close();return}let f=c.byteLength;if(n){let p=o+=f;n(p)}a.enqueue(new Uint8Array(c))}catch(u){throw l(u),u}},cancel(a){return l(a),r.return()}},{highWaterMark:2})},Ui=64*1024,{isFunction:ps}=w,kp=(({Request:e,Response:t})=>({Request:e,Response:t}))(w.global),{ReadableStream:Hi,TextEncoder:Vi}=w.global,$i=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Pp=e=>{e=w.merge.call({skipUndefined:!0},kp,e);const{fetch:t,Request:n,Response:s}=e,r=t?ps(t):typeof fetch=="function",o=ps(n),i=ps(s);if(!r)return!1;const l=r&&ps(Hi),a=r&&(typeof Vi=="function"?(b=>v=>b.encode(v))(new Vi):async b=>new Uint8Array(await new n(b).arrayBuffer())),u=o&&l&&$i(()=>{let b=!1;const v=new n($e.origin,{body:new Hi,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!v}),c=i&&l&&$i(()=>w.isReadableStream(new s("").body)),f={stream:c&&(b=>b.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(v,_)=>{let k=v&&v[b];if(k)return k.call(v);throw new re(`Response type '${b}' is not supported`,re.ERR_NOT_SUPPORT,_)})});const p=async b=>{if(b==null)return 0;if(w.isBlob(b))return b.size;if(w.isSpecCompliantForm(b))return(await new n($e.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(w.isArrayBufferView(b)||w.isArrayBuffer(b))return b.byteLength;if(w.isURLSearchParams(b)&&(b=b+""),w.isString(b))return(await a(b)).byteLength},g=async(b,v)=>{const _=w.toFiniteNumber(b.getContentLength());return _??p(v)};return async b=>{let{url:v,method:_,data:k,signal:C,cancelToken:P,timeout:I,onDownloadProgress:V,onUploadProgress:Z,responseType:G,headers:T,withCredentials:H="same-origin",fetchOptions:x}=nc(b),U=t||fetch;G=G?(G+"").toLowerCase():"text";let q=Ap([C,P&&P.toAbortSignal()],I),Y=null;const le=q&&q.unsubscribe&&(()=>{q.unsubscribe()});let Re;try{if(Z&&u&&_!=="get"&&_!=="head"&&(Re=await g(T,k))!==0){let me=new n(v,{method:"POST",body:k,duplex:"half"}),be;if(w.isFormData(k)&&(be=me.headers.get("content-type"))&&T.setContentType(be),me.body){const[ye,we]=Li(Re,Ls(Bi(Z)));k=ji(me.body,Ui,ye,we)}}w.isString(H)||(H=H?"include":"omit");const W=o&&"credentials"in n.prototype,K={...x,signal:q,method:_.toUpperCase(),headers:T.normalize().toJSON(),body:k,duplex:"half",credentials:W?H:void 0};Y=o&&new n(v,K);let N=await(o?U(Y,x):U(v,K));const De=c&&(G==="stream"||G==="response");if(c&&(V||De&&le)){const me={};["status","statusText","headers"].forEach(Be=>{me[Be]=N[Be]});const be=w.toFiniteNumber(N.headers.get("content-length")),[ye,we]=V&&Li(be,Ls(Bi(V),!0))||[];N=new s(ji(N.body,Ui,ye,()=>{we&&we(),le&&le()}),me)}G=G||"text";let Le=await f[w.findKey(f,G)||"text"](N,b);return!De&&le&&le(),await new Promise((me,be)=>{ec(me,be,{data:Le,headers:tt.from(N.headers),status:N.status,statusText:N.statusText,config:b,request:Y})})}catch(W){throw le&&le(),W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,b,Y),{cause:W.cause||W}):re.from(W,W&&W.code,b,Y)}}},Ip=new Map,sc=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,o=[s,r,n];let i=o.length,l=i,a,u,c=Ip;for(;l--;)a=o[l],u=c.get(a),u===void 0&&c.set(a,u=l?new Map:Pp(t)),c=u;return u};sc();const Ro={http:Jh,xhr:Rp,fetch:{get:sc}};w.forEach(Ro,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zi=e=>`- ${e}`,Np=e=>w.isFunction(e)||e===null||e===!1;function Mp(e,t){e=w.isArray(e)?e:[e];const{length:n}=e;let s,r;const o={};for(let i=0;i<n;i++){s=e[i];let l;if(r=s,!Np(s)&&(r=Ro[(l=String(s)).toLowerCase()],r===void 0))throw new re(`Unknown adapter '${l}'`);if(r&&(w.isFunction(r)||(r=r.get(t))))break;o[l||"#"+i]=r}if(!r){const i=Object.entries(o).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
`+i.map(zi).join(`
`):" "+zi(i[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r}const rc={getAdapter:Mp,adapters:Ro};function kr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new On(null,e)}function qi(e){return kr(e),e.headers=tt.from(e.headers),e.data=Or.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rc.getAdapter(e.adapter||as.adapter,e)(e).then(function(s){return kr(e),s.data=Or.call(e,e.transformResponse,s),s.headers=tt.from(s.headers),s},function(s){return Za(s)||(kr(e),s&&s.response&&(s.response.data=Or.call(e,e.transformResponse,s.response),s.response.headers=tt.from(s.response.headers))),Promise.reject(s)})}const oc="1.13.2",cr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Gi={};cr.transitional=function(t,n,s){function r(o,i){return"[Axios v"+oc+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new re(r(i," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Gi[i]&&(Gi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};cr.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Dp(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new re("option "+o+" must be "+a,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+o,re.ERR_BAD_OPTION)}}const Rs={assertOptions:Dp,validators:cr},yt=Rs.validators;let ln=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Mi,response:new Mi}}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=cn(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Rs.assertOptions(s,{silentJSONParsing:yt.transitional(yt.boolean),forcedJSONParsing:yt.transitional(yt.boolean),clarifyTimeoutError:yt.transitional(yt.boolean)},!1),r!=null&&(w.isFunction(r)?n.paramsSerializer={serialize:r}:Rs.assertOptions(r,{encode:yt.function,serialize:yt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Rs.assertOptions(n,{baseUrl:yt.spelling("baseURL"),withXsrfToken:yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&w.merge(o.common,o[n.method]);o&&w.forEach(["delete","get","head","post","put","patch","common"],b=>{delete o[b]}),n.headers=tt.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(a=a&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,p;if(!a){const b=[qi.bind(this),void 0];for(b.unshift(...l),b.push(...u),p=b.length,c=Promise.resolve(n);f<p;)c=c.then(b[f++],b[f++]);return c}p=l.length;let g=n;for(;f<p;){const b=l[f++],v=l[f++];try{g=b(g)}catch(_){v.call(this,_);break}}try{c=qi.call(this,g)}catch(b){return Promise.reject(b)}for(f=0,p=u.length;f<p;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=cn(this.defaults,t);const n=tc(t.baseURL,t.url,t.allowAbsoluteUrls);return Xa(n,t.params,t.paramsSerializer)}};w.forEach(["delete","get","head","options"],function(t){ln.prototype[t]=function(n,s){return this.request(cn(s||{},{method:t,url:n,data:(s||{}).data}))}});w.forEach(["post","put","patch"],function(t){function n(s){return function(o,i,l){return this.request(cn(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}ln.prototype[t]=n(),ln.prototype[t+"Form"]=n(!0)});let Lp=class ic{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 i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new On(o,i,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 ic(function(r){t=r}),cancel:t}}};function Bp(e){return function(n){return e.apply(null,n)}}function Fp(e){return w.isObject(e)&&e.isAxiosError===!0}const no={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(no).forEach(([e,t])=>{no[t]=e});function lc(e){const t=new ln(e),n=Fa(ln.prototype.request,t);return w.extend(n,ln.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return lc(cn(e,r))},n}const Pe=lc(as);Pe.Axios=ln;Pe.CanceledError=On;Pe.CancelToken=Lp;Pe.isCancel=Za;Pe.VERSION=oc;Pe.toFormData=ar;Pe.AxiosError=re;Pe.Cancel=Pe.CanceledError;Pe.all=function(t){return Promise.all(t)};Pe.spread=Bp;Pe.isAxiosError=Fp;Pe.mergeConfig=cn;Pe.AxiosHeaders=tt;Pe.formToJSON=e=>Qa(w.isHTMLForm(e)?new FormData(e):e);Pe.getAdapter=rc.getAdapter;Pe.HttpStatusCode=no;Pe.default=Pe;const{Axios:bb,AxiosError:yb,CanceledError:vb,isCancel:wb,CancelToken:_b,VERSION:xb,all:Eb,Cancel:Sb,isAxiosError:Rb,spread:Ab,toFormData:Cb,AxiosHeaders:Tb,HttpStatusCode:Ob,formToJSON:kb,getAdapter:Pb,mergeConfig:Ib}=Pe,ur=Pe.create({baseURL:"",timeout:3e4,headers:{"Content-Type":"application/json"}});ur.interceptors.request.use(e=>{const t=fr();return t.token&&(e.headers.Authorization=`Bearer ${t.token}`),e},e=>Promise.reject(e));ur.interceptors.response.use(e=>e,e=>((e.response?.status===401||e.response?.status===403)&&(fr().logout(),Ao.push("/admin/login")),Promise.reject(e)));function jp(e){return ur.post("/api/login",e)}function Up(){return ur.get("/api/profile")}const fr=ed("auth",()=>{const e=ue(localStorage.getItem("token")),t=ue(null),n=ce(()=>!!e.value);async function s(i){try{const l=await jp(i);return l.data.success&&l.data.token?(e.value=l.data.token,localStorage.setItem("token",l.data.token),{success:!0}):{success:!1,message:l.data.message||"登录失败"}}catch(l){return l.code==="ERR_NETWORK"||l.message==="Network Error"?{success:!1,message:"无法连接到服务器,请检查后端服务是否已启动"}:l.code==="ECONNABORTED"?{success:!1,message:"连接超时,请稍后重试"}:l.response?.data?.message?{success:!1,message:l.response.data.message}:{success:!1,message:"登录失败,请稍后重试"}}}async function r(){if(!e.value)return!1;try{const i=await Up();return i.data.success&&i.data.user?(t.value=i.data.user,!0):(o(),!1)}catch{return o(),!1}}function o(){e.value=null,t.value=null,localStorage.removeItem("token")}return{token:e,user:t,isAuthenticated:n,login:s,checkAuth:r,logout:o}}),Hp=[{path:"/",name:"join",component:()=>hn(()=>import("./JoinPage-fgRz2aae.js"),__vite__mapDeps([0,1,2,3,4,5,6])),meta:{layout:"public"}},{path:"/admin",redirect:"/admin/dashboard"},{path:"/admin/login",name:"admin-login",component:()=>hn(()=>import("./LoginPage-DmXSAfKa.js"),__vite__mapDeps([7,1,2,3,4])),meta:{layout:"public"}},{path:"/admin/dashboard",name:"admin-dashboard",component:()=>hn(()=>import("./DashboardPage-BlLDgadq.js"),__vite__mapDeps([8,1,9,10,11,6])),meta:{layout:"admin",requiresAuth:!0}},{path:"/admin/teams",name:"admin-teams",component:()=>hn(()=>import("./TeamsPage-DxLnC5Oz.js"),__vite__mapDeps([12,1,3,4,13,14,9,10,5,11])),meta:{layout:"admin",requiresAuth:!0}},{path:"/admin/teams/:id/invites",name:"admin-team-invites",component:()=>hn(()=>import("./TeamInvitesPage-CDyGxj0w.js"),__vite__mapDeps([15,1,2,13,4,9,5,10])),meta:{layout:"admin",requiresAuth:!0}},{path:"/admin/cardkeys",name:"admin-cardkeys",component:()=>hn(()=>import("./CardKeysPage-BfgEvPHq.js"),__vite__mapDeps([16,1,3,4,13,14,9])),meta:{layout:"admin",requiresAuth:!0}}],Ao=ah({history:Ud(),routes:Hp});Ao.beforeEach(async(e,t,n)=>{const s=fr();if(e.meta.requiresAuth){if(!s.isAuthenticated){n({name:"admin-login",query:{redirect:e.fullPath}});return}if(!await s.checkAuth()){n({name:"admin-login",query:{redirect:e.fullPath}});return}}if(e.name==="admin-login"&&s.isAuthenticated){n({name:"admin-dashboard"});return}n()});function ac(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=ac(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function cc(){for(var e,t,n=0,s="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=ac(e))&&(s&&(s+=" "),s+=t);return s}const Wi=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ki=cc,Vp=(e,t)=>n=>{var s;if(t?.variants==null)return Ki(e,n?.class,n?.className);const{variants:r,defaultVariants:o}=t,i=Object.keys(r).map(u=>{const c=n?.[u],f=o?.[u];if(c===null)return null;const p=Wi(c)||Wi(f);return r[u][p]}),l=n&&Object.entries(n).reduce((u,c)=>{let[f,p]=c;return p===void 0||(u[f]=p),u},{}),a=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((u,c)=>{let{class:f,className:p,...g}=c;return Object.entries(g).every(b=>{let[v,_]=b;return Array.isArray(_)?_.includes({...o,...l}[v]):{...o,...l}[v]===_})?[...u,f,p]:u},[]);return Ki(e,i,a,n?.class,n?.className)};function uc(e){return e?e.flatMap(t=>t.type===Ae?uc(t.children):[t]):[]}const $p=dt({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const s=uc(n.default()),r=s.findIndex(a=>a.type!==St);if(r===-1)return s;const o=s[r];delete o.props?.ref;const i=o.props?En(t,o.props):t,l=an({...o,props:{}},i);return s.length===1?l:(s[r]=l,s)}}}),zp=["area","img","input"],qp=dt({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const s=e.asChild?"template":e.as;return typeof s=="string"&&zp.includes(s)?()=>Jt(s,t):s!=="template"?()=>Jt(e.as,t,{default:n.default}):()=>Jt($p,t,{default:n.default})}}),Gp=(e,t)=>{const n=new Array(e.length+t.length);for(let s=0;s<e.length;s++)n[s]=e[s];for(let s=0;s<t.length;s++)n[e.length+s]=t[s];return n},Wp=(e,t)=>({classGroupId:e,validator:t}),fc=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Bs="-",Ji=[],Kp="arbitrary..",Jp=e=>{const t=Yp(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Xp(i);const l=i.split(Bs),a=l[0]===""&&l.length>1?1:0;return dc(l,a,t)},getConflictingClassGroupIds:(i,l)=>{if(l){const a=s[i],u=n[i];return a?u?Gp(u,a):a:u||Ji}return n[i]||Ji}}},dc=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const u=dc(e,t+1,o);if(u)return u}const i=n.validators;if(i===null)return;const l=t===0?e.join(Bs):e.slice(t).join(Bs),a=i.length;for(let u=0;u<a;u++){const c=i[u];if(c.validator(l))return c.classGroupId}},Xp=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),s=t.slice(0,n);return s?Kp+s:void 0})(),Yp=e=>{const{theme:t,classGroups:n}=e;return Qp(n,t)},Qp=(e,t)=>{const n=fc();for(const s in e){const r=e[s];Co(r,n,s,t)}return n},Co=(e,t,n,s)=>{const r=e.length;for(let o=0;o<r;o++){const i=e[o];Zp(i,t,n,s)}},Zp=(e,t,n,s)=>{if(typeof e=="string"){em(e,t,n);return}if(typeof e=="function"){tm(e,t,n,s);return}nm(e,t,n,s)},em=(e,t,n)=>{const s=e===""?t:hc(t,e);s.classGroupId=n},tm=(e,t,n,s)=>{if(sm(e)){Co(e(s),t,n,s);return}t.validators===null&&(t.validators=[]),t.validators.push(Wp(n,e))},nm=(e,t,n,s)=>{const r=Object.entries(e),o=r.length;for(let i=0;i<o;i++){const[l,a]=r[i];Co(a,hc(t,l),n,s)}},hc=(e,t)=>{let n=e;const s=t.split(Bs),r=s.length;for(let o=0;o<r;o++){const i=s[o];let l=n.nextPart.get(i);l||(l=fc(),n.nextPart.set(i,l)),n=l}return n},sm=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,rm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),s=Object.create(null);const r=(o,i)=>{n[o]=i,t++,t>e&&(t=0,s=n,n=Object.create(null))};return{get(o){let i=n[o];if(i!==void 0)return i;if((i=s[o])!==void 0)return r(o,i),i},set(o,i){o in n?n[o]=i:r(o,i)}}},so="!",Xi=":",om=[],Yi=(e,t,n,s,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:s,isExternal:r}),im=e=>{const{prefix:t,experimentalParseClassName:n}=e;let s=r=>{const o=[];let i=0,l=0,a=0,u;const c=r.length;for(let v=0;v<c;v++){const _=r[v];if(i===0&&l===0){if(_===Xi){o.push(r.slice(a,v)),a=v+1;continue}if(_==="/"){u=v;continue}}_==="["?i++:_==="]"?i--:_==="("?l++:_===")"&&l--}const f=o.length===0?r:r.slice(a);let p=f,g=!1;f.endsWith(so)?(p=f.slice(0,-1),g=!0):f.startsWith(so)&&(p=f.slice(1),g=!0);const b=u&&u>a?u-a:void 0;return Yi(o,g,p,b)};if(t){const r=t+Xi,o=s;s=i=>i.startsWith(r)?o(i.slice(r.length)):Yi(om,!1,i,void 0,!0)}if(n){const r=s;s=o=>n({className:o,parseClassName:r})}return s},lm=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,s)=>{t.set(n,1e6+s)}),n=>{const s=[];let r=[];for(let o=0;o<n.length;o++){const i=n[o],l=i[0]==="[",a=t.has(i);l||a?(r.length>0&&(r.sort(),s.push(...r),r=[]),s.push(i)):r.push(i)}return r.length>0&&(r.sort(),s.push(...r)),s}},am=e=>({cache:rm(e.cacheSize),parseClassName:im(e),sortModifiers:lm(e),...Jp(e)}),cm=/\s+/,um=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r,sortModifiers:o}=t,i=[],l=e.trim().split(cm);let a="";for(let u=l.length-1;u>=0;u-=1){const c=l[u],{isExternal:f,modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:v}=n(c);if(f){a=c+(a.length>0?" "+a:a);continue}let _=!!v,k=s(_?b.substring(0,v):b);if(!k){if(!_){a=c+(a.length>0?" "+a:a);continue}if(k=s(b),!k){a=c+(a.length>0?" "+a:a);continue}_=!1}const C=p.length===0?"":p.length===1?p[0]:o(p).join(":"),P=g?C+so:C,I=P+k;if(i.indexOf(I)>-1)continue;i.push(I);const V=r(k,_);for(let Z=0;Z<V.length;++Z){const G=V[Z];i.push(P+G)}a=c+(a.length>0?" "+a:a)}return a},fm=(...e)=>{let t=0,n,s,r="";for(;t<e.length;)(n=e[t++])&&(s=pc(n))&&(r&&(r+=" "),r+=s);return r},pc=e=>{if(typeof e=="string")return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=pc(e[s]))&&(n&&(n+=" "),n+=t);return n},dm=(e,...t)=>{let n,s,r,o;const i=a=>{const u=t.reduce((c,f)=>f(c),e());return n=am(u),s=n.cache.get,r=n.cache.set,o=l,l(a)},l=a=>{const u=s(a);if(u)return u;const c=um(a,n);return r(a,c),c};return o=i,(...a)=>o(fm(...a))},hm=[],Ie=e=>{const t=n=>n[e]||hm;return t.isThemeGetter=!0,t},mc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,gc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pm=/^\d+\/\d+$/,mm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,bm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ym=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pn=e=>pm.test(e),ie=e=>!!e&&!Number.isNaN(Number(e)),Ut=e=>!!e&&Number.isInteger(Number(e)),Pr=e=>e.endsWith("%")&&ie(e.slice(0,-1)),Ct=e=>mm.test(e),wm=()=>!0,_m=e=>gm.test(e)&&!bm.test(e),bc=()=>!1,xm=e=>ym.test(e),Em=e=>vm.test(e),Sm=e=>!$(e)&&!z(e),Rm=e=>kn(e,wc,bc),$=e=>mc.test(e),Zt=e=>kn(e,_c,_m),Ir=e=>kn(e,km,ie),Qi=e=>kn(e,yc,bc),Am=e=>kn(e,vc,Em),ms=e=>kn(e,xc,xm),z=e=>gc.test(e),Bn=e=>Pn(e,_c),Cm=e=>Pn(e,Pm),Zi=e=>Pn(e,yc),Tm=e=>Pn(e,wc),Om=e=>Pn(e,vc),gs=e=>Pn(e,xc,!0),kn=(e,t,n)=>{const s=mc.exec(e);return s?s[1]?t(s[1]):n(s[2]):!1},Pn=(e,t,n=!1)=>{const s=gc.exec(e);return s?s[1]?t(s[1]):n:!1},yc=e=>e==="position"||e==="percentage",vc=e=>e==="image"||e==="url",wc=e=>e==="length"||e==="size"||e==="bg-size",_c=e=>e==="length",km=e=>e==="number",Pm=e=>e==="family-name",xc=e=>e==="shadow",Im=()=>{const e=Ie("color"),t=Ie("font"),n=Ie("text"),s=Ie("font-weight"),r=Ie("tracking"),o=Ie("leading"),i=Ie("breakpoint"),l=Ie("container"),a=Ie("spacing"),u=Ie("radius"),c=Ie("shadow"),f=Ie("inset-shadow"),p=Ie("text-shadow"),g=Ie("drop-shadow"),b=Ie("blur"),v=Ie("perspective"),_=Ie("aspect"),k=Ie("ease"),C=Ie("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...I(),z,$],Z=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],T=()=>[z,$,a],H=()=>[pn,"full","auto",...T()],x=()=>[Ut,"none","subgrid",z,$],U=()=>["auto",{span:["full",Ut,z,$]},Ut,z,$],q=()=>[Ut,"auto",z,$],Y=()=>["auto","min","max","fr",z,$],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Re=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...T()],K=()=>[pn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],N=()=>[e,z,$],De=()=>[...I(),Zi,Qi,{position:[z,$]}],Le=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",Tm,Rm,{size:[z,$]}],be=()=>[Pr,Bn,Zt],ye=()=>["","none","full",u,z,$],we=()=>["",ie,Bn,Zt],Be=()=>["solid","dashed","dotted","double"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[ie,Pr,Zi,Qi],M=()=>["","none",b,z,$],R=()=>["none",ie,z,$],L=()=>["none",ie,z,$],J=()=>[ie,z,$],d=()=>[pn,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ct],breakpoint:[Ct],color:[wm],container:[Ct],"drop-shadow":[Ct],ease:["in","out","in-out"],font:[Sm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ct],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ct],shadow:[Ct],spacing:["px",ie],text:[Ct],"text-shadow":[Ct],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",pn,$,z,_]}],container:["container"],columns:[{columns:[ie,$,z,l]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:V()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{start:H()}],end:[{end:H()}],top:[{top:H()}],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[Ut,"auto",z,$]}],basis:[{basis:[pn,"full","auto",l,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ie,pn,"auto","initial","none",$]}],grow:[{grow:["",ie,z,$]}],shrink:[{shrink:["",ie,z,$]}],order:[{order:[Ut,"first","last","none",z,$]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:U()}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:U()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Y()}],"auto-rows":[{"auto-rows":Y()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...Re(),"normal"]}],"justify-self":[{"justify-self":["auto",...Re()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...Re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Re(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...Re(),"baseline"]}],"place-self":[{"place-self":["auto",...Re()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],w:[{w:[l,"screen",...K()]}],"min-w":[{"min-w":[l,"screen","none",...K()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",n,Bn,Zt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,z,Ir]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Pr,$]}],"font-family":[{font:[Cm,$,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,z,$]}],"line-clamp":[{"line-clamp":[ie,"none",z,Ir]}],leading:[{leading:[o,...T()]}],"list-image":[{"list-image":["none",z,$]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",z,$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Be(),"wavy"]}],"text-decoration-thickness":[{decoration:[ie,"from-font","auto",z,Zt]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[ie,"auto",z,$]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z,$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",z,$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:De()}],"bg-repeat":[{bg:Le()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ut,z,$],radial:["",z,$],conic:[Ut,z,$]},Om,Am]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:be()}],"gradient-via-pos":[{via:be()}],"gradient-to-pos":[{to:be()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:ye()}],"rounded-s":[{"rounded-s":ye()}],"rounded-e":[{"rounded-e":ye()}],"rounded-t":[{"rounded-t":ye()}],"rounded-r":[{"rounded-r":ye()}],"rounded-b":[{"rounded-b":ye()}],"rounded-l":[{"rounded-l":ye()}],"rounded-ss":[{"rounded-ss":ye()}],"rounded-se":[{"rounded-se":ye()}],"rounded-ee":[{"rounded-ee":ye()}],"rounded-es":[{"rounded-es":ye()}],"rounded-tl":[{"rounded-tl":ye()}],"rounded-tr":[{"rounded-tr":ye()}],"rounded-br":[{"rounded-br":ye()}],"rounded-bl":[{"rounded-bl":ye()}],"border-w":[{border:we()}],"border-w-x":[{"border-x":we()}],"border-w-y":[{"border-y":we()}],"border-w-s":[{"border-s":we()}],"border-w-e":[{"border-e":we()}],"border-w-t":[{"border-t":we()}],"border-w-r":[{"border-r":we()}],"border-w-b":[{"border-b":we()}],"border-w-l":[{"border-l":we()}],"divide-x":[{"divide-x":we()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":we()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Be(),"hidden","none"]}],"divide-style":[{divide:[...Be(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...Be(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ie,z,$]}],"outline-w":[{outline:["",ie,Bn,Zt]}],"outline-color":[{outline:N()}],shadow:[{shadow:["","none",c,gs,ms]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",f,gs,ms]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[ie,Zt]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":we()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":["none",p,gs,ms]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[ie,z,$]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ie]}],"mask-image-linear-from-pos":[{"mask-linear-from":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[z,$]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[ie]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:De()}],"mask-repeat":[{mask:Le()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",z,$]}],filter:[{filter:["","none",z,$]}],blur:[{blur:M()}],brightness:[{brightness:[ie,z,$]}],contrast:[{contrast:[ie,z,$]}],"drop-shadow":[{"drop-shadow":["","none",g,gs,ms]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:["",ie,z,$]}],"hue-rotate":[{"hue-rotate":[ie,z,$]}],invert:[{invert:["",ie,z,$]}],saturate:[{saturate:[ie,z,$]}],sepia:[{sepia:["",ie,z,$]}],"backdrop-filter":[{"backdrop-filter":["","none",z,$]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[ie,z,$]}],"backdrop-contrast":[{"backdrop-contrast":[ie,z,$]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ie,z,$]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ie,z,$]}],"backdrop-invert":[{"backdrop-invert":["",ie,z,$]}],"backdrop-opacity":[{"backdrop-opacity":[ie,z,$]}],"backdrop-saturate":[{"backdrop-saturate":[ie,z,$]}],"backdrop-sepia":[{"backdrop-sepia":["",ie,z,$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",z,$]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ie,"initial",z,$]}],ease:[{ease:["linear","initial",k,z,$]}],delay:[{delay:[ie,z,$]}],animate:[{animate:["none",C,z,$]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,z,$]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:J()}],"skew-x":[{"skew-x":J()}],"skew-y":[{"skew-y":J()}],transform:[{transform:[z,$,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:d()}],"translate-x":[{"translate-x":d()}],"translate-y":[{"translate-y":d()}],"translate-z":[{"translate-z":d()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",z,$]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",z,$]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[ie,Bn,Zt,Ir]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Nm=dm(Im);function Mm(...e){return Nm(cc(e))}const Nr=dt({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(n,s)=>(se(),Ze(oe(qp),{"data-slot":"button",as:e.as,"as-child":e.asChild,class:Me(oe(Mm)(oe(Dm)({variant:e.variant,size:e.size}),t.class))},{default:st(()=>[Je(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),Dm=Vp("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});const el=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Lm=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase()),Bm=e=>{const t=Lm(e);return t.charAt(0).toUpperCase()+t.slice(1)},Fm=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim(),tl=e=>e==="";var Fn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const jm=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":s,strokeWidth:r,"stroke-width":o,size:i=Fn.width,color:l=Fn.stroke,...a},{slots:u})=>Jt("svg",{...Fn,...a,width:i,height:i,stroke:l,"stroke-width":tl(n)||tl(s)||n===!0||s===!0?Number(r||o||Fn["stroke-width"])*24/Number(i):r||o||Fn["stroke-width"],class:Fm("lucide",a.class,...e?[`lucide-${el(Bm(e))}-icon`,`lucide-${el(e)}`]:["lucide-icon"])},[...t.map(c=>Jt(...c)),...u.default?[u.default()]:[]]);const un=(e,t)=>(n,{slots:s,attrs:r})=>Jt(jm,{...r,...n,iconNode:t,name:e},s);const Um=un("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);const Hm=un("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);const Vm=un("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);const $m=un("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);const zm=un("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);const qm=un("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const Gm=un("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),Wm={class:"min-h-screen bg-background"},Km={class:"flex h-16 items-center justify-between px-4 border-b"},Jm={key:0,class:"text-lg font-semibold"},Xm={class:"flex-1 space-y-1 p-2"},Ym={key:0},Qm={class:"absolute bottom-0 left-0 right-0 border-t p-2 space-y-1"},Zm={key:2},eg={key:0},tg={class:"sticky top-0 z-30 flex h-16 items-center gap-4 border-b bg-background/95 backdrop-blur px-6"},ng={class:"flex-1"},sg={class:"text-xl font-semibold"},rg={key:0,class:"text-sm text-muted-foreground"},og={class:"p-6"},ig=dt({__name:"AdminLayout",setup(e){const t=ch(),n=Ba(),s=fr(),r=ue(!0),o=ue(document.documentElement.classList.contains("dark")),i=[{name:"Dashboard",path:"/admin/dashboard",icon:Hm},{name:"Teams",path:"/admin/teams",icon:Gm},{name:"Card Keys",path:"/admin/cardkeys",icon:Um}];function l(){r.value=!r.value}function a(){o.value=!o.value,document.documentElement.classList.toggle("dark",o.value),localStorage.setItem("theme",o.value?"dark":"light")}function u(){s.logout(),t.push("/admin/login")}function c(f){return n.path===f||n.path.startsWith(f+"/")}return(localStorage.getItem("theme")==="dark"||!localStorage.getItem("theme")&&window.matchMedia("(prefers-color-scheme: dark)").matches)&&(document.documentElement.classList.add("dark"),o.value=!0),(f,p)=>{const g=Xl("router-link");return se(),de("div",Wm,[ke("aside",{class:Me(["fixed left-0 top-0 z-40 h-screen transition-transform duration-300",r.value?"w-64":"w-16","bg-card border-r"])},[ke("div",Km,[r.value?(se(),de("span",Jm,"GPT Manager")):it("",!0),ve(oe(Nr),{variant:"ghost",size:"icon",onClick:l},{default:st(()=>[ve(oe($m),{class:"h-5 w-5"})]),_:1})]),ke("nav",Xm,[(se(),de(Ae,null,Is(i,b=>ve(g,{key:b.path,to:b.path,class:Me(["flex items-center gap-3 rounded-lg px-3 py-2 transition-colors",c(b.path)?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"])},{default:st(()=>[(se(),Ze(tn(b.icon),{class:"h-5 w-5 shrink-0"})),r.value?(se(),de("span",Ym,It(b.name),1)):it("",!0)]),_:2},1032,["to","class"])),64))]),ke("div",Qm,[ve(oe(Nr),{variant:"ghost",class:Me(["w-full justify-start gap-3",r.value?"":"justify-center"]),onClick:a},{default:st(()=>[o.value?(se(),Ze(oe(qm),{key:0,class:"h-5 w-5"})):(se(),Ze(oe(zm),{key:1,class:"h-5 w-5"})),r.value?(se(),de("span",Zm,It(o.value?"Light Mode":"Dark Mode"),1)):it("",!0)]),_:1},8,["class"]),ve(oe(Nr),{variant:"ghost",class:Me(["w-full justify-start gap-3 text-destructive hover:text-destructive",r.value?"":"justify-center"]),onClick:u},{default:st(()=>[ve(oe(Vm),{class:"h-5 w-5"}),r.value?(se(),de("span",eg,"Logout")):it("",!0)]),_:1},8,["class"])])],2),ke("main",{class:Me(["transition-all duration-300",r.value?"ml-64":"ml-16"])},[ke("header",tg,[ke("div",ng,[ke("h1",sg,It(oe(n).meta.title||oe(n).name?.toString().replace("admin-","").replace(/-/g," ")),1)]),oe(s).user?(se(),de("div",rg,It(oe(s).user.username),1)):it("",!0)]),ke("div",og,[Je(f.$slots,"default")])],2)])}}}),lg={class:"min-h-screen bg-background flex items-center justify-center"},ag=dt({__name:"PublicLayout",setup(e){return Ps(()=>{(localStorage.getItem("theme")==="dark"||!localStorage.getItem("theme")&&window.matchMedia("(prefers-color-scheme: dark)").matches)&&document.documentElement.classList.add("dark")}),(t,n)=>(se(),de("div",lg,[Je(t.$slots,"default")]))}});let ro=1;var cg=class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{const{message:t,...n}=e,s=typeof e.id=="number"||e.id&&e.id?.length>0?e.id:ro++,r=this.toasts.find(i=>i.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),r?this.toasts=this.toasts.map(i=>i.id===s?(this.publish({...i,...e,id:s,title:t}),{...i,...e,id:s,dismissible:o,title:t}):i):this.addToast({title:t,...n,dismissible:o,id:s}),s};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:"default"});error=(e,t)=>this.create({...t,type:"error",message:e});success=(e,t)=>this.create({...t,type:"success",message:e});info=(e,t)=>this.create({...t,type:"info",message:e});warning=(e,t)=>this.create({...t,type:"warning",message:e});loading=(e,t)=>this.create({...t,type:"loading",message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));const s=Promise.resolve(e instanceof Function?e():e);let r=n!==void 0,o;const i=s.then(async a=>{if(o=["resolve",a],_t(a))r=!1,this.create({id:n,type:"default",message:a});else if(fg(a)&&!a.ok){r=!1;const c=typeof t.error=="function"?await t.error(`HTTP error! status: ${a.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${a.status}`):t.description,g=typeof c=="object"&&!_t(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"error",description:f,...g})}else if(a instanceof Error){r=!1;const c=typeof t.error=="function"?await t.error(a):t.error,f=typeof t.description=="function"?await t.description(a):t.description,g=typeof c=="object"&&!_t(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"error",description:f,...g})}else if(t.success!==void 0){r=!1;const c=typeof t.success=="function"?await t.success(a):t.success,f=typeof t.description=="function"?await t.description(a):t.description,g=typeof c=="object"&&!_t(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"success",description:f,...g})}}).catch(async a=>{if(o=["reject",a],t.error!==void 0){r=!1;const u=typeof t.error=="function"?await t.error(a):t.error,c=typeof t.description=="function"?await t.description(a):t.description,p=typeof u=="object"&&!_t(u)?u:{message:u||"",id:n||""};this.create({id:n,type:"error",description:c,...p})}}).finally(()=>{r&&(this.dismiss(n),n=void 0),t.finally?.()}),l=()=>new Promise((a,u)=>i.then(()=>o[0]==="reject"?u(o[1]):a(o[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})};custom=(e,t)=>{const n=t?.id||ro++,s=this.toasts.find(o=>o.id===n),r=t?.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),s?this.toasts=this.toasts.map(o=>o.id===n?(this.publish({...o,component:e,dismissible:r,id:n,...t}),{...o,component:e,dismissible:r,id:n,...t}):o):this.addToast({component:e,dismissible:r,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};const Qe=new cg;function ug(e,t){const n=t?.id||ro++;return Qe.create({message:e,id:n,type:"default",...t}),n}const fg=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",dg=ug,hg=()=>Qe.toasts,pg=()=>Qe.getActiveToasts(),Nb=Object.assign(dg,{success:Qe.success,info:Qe.info,warning:Qe.warning,error:Qe.error,custom:Qe.custom,message:Qe.message,promise:Qe.promise,dismiss:Qe.dismiss,loading:Qe.loading},{getHistory:hg,getToasts:pg});function bs(e){return e.label!==void 0}const mg=3,Ec="24px",Sc="16px",nl=4e3,gg=356,bg=14,yg=45,Rc=200;function vg(){const e=ue(!1);return Ot(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}function Ht(...e){return e.filter(Boolean).join(" ")}function wg(e){const[t,n]=e.split("-"),s=[];return t&&s.push(t),n&&s.push(n),s}function _g(e,t){const n={};return[e,t].forEach((s,r)=>{const o=r===1,i=o?"--mobile-offset":"--offset",l=o?Sc:Ec;function a(u){["top","right","bottom","left"].forEach(c=>{n[`${i}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof s=="number"||typeof s=="string"?a(s):typeof s=="object"?["top","right","bottom","left"].forEach(u=>{s[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof s[u]=="number"?`${s[u]}px`:s[u]}):a(l)}),n}const xg=["data-rich-colors","data-styled","data-mounted","data-promise","data-swiped","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-swipe-direction","data-expanded","data-testid"],Eg=["aria-label","data-disabled","data-close-button-position"];var Sg=dt({__name:"Toast",props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:["update:heights","update:height","removeToast"],setup(e,{emit:t}){const n=e,s=t,r=ue(null),o=ue(null),i=ue(!1),l=ue(!1),a=ue(!1),u=ue(!1),c=ue(!1),f=ue(0),p=ue(0),g=ue(n.toast.duration||n.duration||nl),b=ue(null),v=ue(null),_=ce(()=>n.index===0),k=ce(()=>n.index+1<=n.visibleToasts),C=ce(()=>n.toast.type),P=ce(()=>n.toast.dismissible!==!1),I=ce(()=>n.toast.class||""),V=ce(()=>n.descriptionClass||""),Z=ce(()=>{const h=n.toast.position||n.position,R=n.heights.filter(L=>L.position===h).findIndex(L=>L.toastId===n.toast.id);return R>=0?R:0}),G=ce(()=>{const h=n.toast.position||n.position;return n.heights.filter(R=>R.position===h).reduce((R,L,J)=>J>=Z.value?R:R+L.height,0)}),T=ce(()=>Z.value*n.gap+G.value||0),H=ce(()=>n.toast.closeButton??n.closeButton),x=ce(()=>n.toast.duration||n.duration||nl),U=ue(0),q=ue(0),Y=ue(null),le=ce(()=>n.position.split("-")),Re=ce(()=>le.value[0]),W=ce(()=>le.value[1]),K=ce(()=>typeof n.toast.title!="string"),N=ce(()=>typeof n.toast.description!="string"),{isDocumentHidden:De}=vg(),Le=ce(()=>C.value&&C.value==="loading");Ps(()=>{i.value=!0,g.value=x.value}),Ot(async()=>{if(!i.value||!v.value)return;await ss();const h=v.value,M=h.style.height;h.style.height="auto";const R=h.getBoundingClientRect().height;h.style.height=M,p.value=R,s("update:height",{toastId:n.toast.id,height:R,position:n.toast.position||n.position})});function me(){l.value=!0,f.value=T.value,setTimeout(()=>{s("removeToast",n.toast)},Rc)}function be(){if(Le.value||!P.value)return{};me(),n.toast.onDismiss?.(n.toast)}function ye(h){h.button!==2&&(Le.value||!P.value||(b.value=new Date,f.value=T.value,h.target.setPointerCapture(h.pointerId),h.target.tagName!=="BUTTON"&&(a.value=!0,Y.value={x:h.clientX,y:h.clientY})))}function we(){if(u.value||!P.value)return;Y.value=null;const h=Number(v.value?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),M=Number(v.value?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),R=new Date().getTime()-(b.value?.getTime()||0),L=r.value==="x"?h:M,J=Math.abs(L)/R;if(Math.abs(L)>=yg||J>.11){f.value=T.value,n.toast.onDismiss?.(n.toast),r.value==="x"?o.value=h>0?"right":"left":o.value=M>0?"down":"up",me(),u.value=!0;return}else v.value?.style.setProperty("--swipe-amount-x","0px"),v.value?.style.setProperty("--swipe-amount-y","0px");c.value=!1,a.value=!1,r.value=null}function Be(h){if(!Y.value||!P.value||(window?.getSelection()?.toString()?.length??!1))return;const R=h.clientY-Y.value.y,L=h.clientX-Y.value.x,J=n.swipeDirections??wg(n.position);!r.value&&(Math.abs(L)>1||Math.abs(R)>1)&&(r.value=Math.abs(L)>Math.abs(R)?"x":"y");let d={x:0,y:0};const m=y=>1/(1.5+Math.abs(y)/20);if(r.value==="y"){if(J.includes("top")||J.includes("bottom"))if(J.includes("top")&&R<0||J.includes("bottom")&&R>0)d.y=R;else{const y=R*m(R);d.y=Math.abs(y)<Math.abs(R)?y:R}}else if(r.value==="x"&&(J.includes("left")||J.includes("right")))if(J.includes("left")&&L<0||J.includes("right")&&L>0)d.x=L;else{const y=L*m(L);d.x=Math.abs(y)<Math.abs(L)?y:L}(Math.abs(d.x)>0||Math.abs(d.y)>0)&&(c.value=!0),v.value?.style.setProperty("--swipe-amount-x",`${d.x}px`),v.value?.style.setProperty("--swipe-amount-y",`${d.y}px`)}Ps(()=>{if(i.value=!0,!v.value)return;const h=v.value.getBoundingClientRect().height;p.value=h;const M=[{toastId:n.toast.id,height:h,position:n.toast.position},...n.heights];s("update:heights",M)}),Wl(()=>{v.value&&s("removeToast",n.toast)}),Ot(h=>{if(n.toast.promise&&C.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let M;const R=()=>{if(q.value<U.value){const J=new Date().getTime()-U.value;g.value=g.value-J}q.value=new Date().getTime()},L=()=>{g.value!==1/0&&(U.value=new Date().getTime(),M=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),me()},g.value))};n.expanded||n.interacting||De.value?R():L(),h(()=>{clearTimeout(M)})}),_n(()=>n.toast.delete,h=>{h!==void 0&&h&&(me(),n.toast.onDismiss?.(n.toast))},{deep:!0});function Fe(){a.value=!1,r.value=null,Y.value=null}return(h,M)=>(se(),de("li",{tabindex:"0",ref_key:"toastRef",ref:v,class:Me(oe(Ht)(n.class,I.value,h.classes?.toast,h.toast.classes?.toast,h.classes?.[C.value],h.toast?.classes?.[C.value])),"data-sonner-toast":"","data-rich-colors":h.toast.richColors??h.defaultRichColors,"data-styled":!(h.toast.component||h.toast?.unstyled||h.unstyled),"data-mounted":i.value,"data-promise":!!h.toast.promise,"data-swiped":c.value,"data-removed":l.value,"data-visible":k.value,"data-y-position":Re.value,"data-x-position":W.value,"data-index":h.index,"data-front":_.value,"data-swiping":a.value,"data-dismissible":P.value,"data-type":C.value,"data-invert":h.toast.invert||h.invert,"data-swipe-out":u.value,"data-swipe-direction":o.value,"data-expanded":!!(h.expanded||h.expandByDefault&&i.value),"data-testid":h.toast.testId,style:Kt({"--index":h.index,"--toasts-before":h.index,"--z-index":h.toasts.length-h.index,"--offset":`${l.value?f.value:T.value}px`,"--initial-height":h.expandByDefault?"auto":`${p.value}px`,...h.style,...n.toast.style}),onDragend:Fe,onPointerdown:ye,onPointerup:we,onPointermove:Be},[H.value&&!h.toast.component&&C.value!=="loading"?(se(),de("button",{key:0,"aria-label":h.closeButtonAriaLabel||"Close toast","data-disabled":Le.value,"data-close-button":"true","data-close-button-position":h.closeButtonPosition,class:Me(oe(Ht)(h.classes?.closeButton,h.toast?.classes?.closeButton)),onClick:be},[h.icons?.close?(se(),Ze(tn(h.icons?.close),{key:0})):Je(h.$slots,"close-icon",{key:1})],10,Eg)):it("v-if",!0),h.toast.component?(se(),Ze(tn(h.toast.component),En({key:1},h.toast.componentProps,{onCloseToast:be,isPaused:h.$props.expanded||h.$props.interacting||oe(De)}),null,16,["isPaused"])):(se(),de(Ae,{key:2},[C.value!=="default"||h.toast.icon||h.toast.promise?(se(),de("div",{key:0,"data-icon":"",class:Me(oe(Ht)(h.classes?.icon,h.toast?.classes?.icon))},[h.toast.icon?(se(),Ze(tn(h.toast.icon),{key:0})):(se(),de(Ae,{key:1},[C.value==="loading"?Je(h.$slots,"loading-icon",{key:0}):C.value==="success"?Je(h.$slots,"success-icon",{key:1}):C.value==="error"?Je(h.$slots,"error-icon",{key:2}):C.value==="warning"?Je(h.$slots,"warning-icon",{key:3}):C.value==="info"?Je(h.$slots,"info-icon",{key:4}):it("v-if",!0)],64))],2)):it("v-if",!0),ke("div",{"data-content":"",class:Me(oe(Ht)(h.classes?.content,h.toast?.classes?.content))},[ke("div",{"data-title":"",class:Me(oe(Ht)(h.classes?.title,h.toast.classes?.title))},[K.value?(se(),Ze(tn(h.toast.title),No(En({key:0},h.toast.componentProps)),null,16)):(se(),de(Ae,{key:1},[zr(It(h.toast.title),1)],64))],2),h.toast.description?(se(),de("div",{key:0,"data-description":"",class:Me(oe(Ht)(h.descriptionClass,V.value,h.classes?.description,h.toast.classes?.description))},[N.value?(se(),Ze(tn(h.toast.description),No(En({key:0},h.toast.componentProps)),null,16)):(se(),de(Ae,{key:1},[zr(It(h.toast.description),1)],64))],2)):it("v-if",!0)],2),h.toast.cancel?(se(),de("button",{key:1,style:Kt(h.toast.cancelButtonStyle||h.cancelButtonStyle),class:Me(oe(Ht)(h.classes?.cancelButton,h.toast.classes?.cancelButton)),"data-button":"","data-cancel":"",onClick:M[0]||(M[0]=R=>{oe(bs)(h.toast.cancel)&&P.value&&(h.toast.cancel.onClick?.(R),me())})},It(oe(bs)(h.toast.cancel)?h.toast.cancel?.label:h.toast.cancel),7)):it("v-if",!0),h.toast.action?(se(),de("button",{key:2,style:Kt(h.toast.actionButtonStyle||h.actionButtonStyle),class:Me(oe(Ht)(h.classes?.actionButton,h.toast.classes?.actionButton)),"data-button":"","data-action":"",onClick:M[1]||(M[1]=R=>{oe(bs)(h.toast.action)&&(h.toast.action.onClick?.(R),!R.defaultPrevented&&me())})},It(oe(bs)(h.toast.action)?h.toast.action?.label:h.toast.action),7)):it("v-if",!0)],64))],46,xg))}}),Rg=Sg,cs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const Ag={},Cg={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function Tg(e,t){return se(),de("svg",Cg,t[0]||(t[0]=[ke("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),ke("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}var Og=cs(Ag,[["render",Tg]]);const kg=["data-visible"],Pg={class:"sonner-spinner"};var Ig=dt({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(n,s)=>(se(),de("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[ke("div",Pg,[(se(!0),de(Ae,null,Is(oe(t),r=>(se(),de("div",{key:`spinner-bar-${r}`,class:"sonner-loading-bar"}))),128))])],8,kg))}}),Ng=Ig;const Mg={},Dg={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Lg(e,t){return se(),de("svg",Dg,t[0]||(t[0]=[ke("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}var Bg=cs(Mg,[["render",Lg]]);const Fg={},jg={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Ug(e,t){return se(),de("svg",jg,t[0]||(t[0]=[ke("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}var Hg=cs(Fg,[["render",Ug]]);const Vg={},$g={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function zg(e,t){return se(),de("svg",$g,t[0]||(t[0]=[ke("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}var qg=cs(Vg,[["render",zg]]);const Gg={},Wg={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Kg(e,t){return se(),de("svg",Wg,t[0]||(t[0]=[ke("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}var Jg=cs(Gg,[["render",Kg]]);const Xg=["aria-label"],Yg=["data-sonner-theme","dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Qg=typeof window<"u"&&typeof document<"u";function Zg(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var eb=dt({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{id:{},invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},closeButtonPosition:{default:"top-left"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:bg},visibleToasts:{default:mg},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{},offset:{default:Ec},mobileOffset:{default:Sc},dir:{default:"auto"},swipeDirections:{},icons:{},containerAriaLabel:{default:"Notifications"}},setup(e){const t=e,n=Mu(),s=ue([]),r=ce(()=>t.id?s.value.filter(x=>x.toasterId===t.id):s.value.filter(x=>!x.toasterId));function o(x,U){return r.value.filter(q=>!q.position&&U===0||q.position===x)}const i=ce(()=>{const x=r.value.filter(U=>U.position).map(U=>U.position);return x.length>0?Array.from(new Set([t.position].concat(x))):[t.position]}),l=ce(()=>{const x={};return i.value.forEach(U=>{x[U]=s.value.filter(q=>q.position===U)}),x}),a=ue([]),u=ue({}),c=ue(!1);Ot(()=>{i.value.forEach(x=>{x in u.value||(u.value[x]=!1)})});const f=ue(t.theme!=="system"?t.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),p=ue(null),g=ue(null),b=ue(!1),v=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function _(x){s.value.find(U=>U.id===x.id)?.delete||Qe.dismiss(x.id),s.value=s.value.filter(({id:U})=>U!==x.id),setTimeout(()=>{s.value.find(U=>U.id===x.id)||(a.value=a.value.filter(U=>U.toastId!==x.id))},Rc+50)}function k(x){b.value&&!x.currentTarget?.contains?.(x.relatedTarget)&&(b.value=!1,g.value&&(g.value.focus({preventScroll:!0}),g.value=null))}function C(x){x.target instanceof HTMLElement&&x.target.dataset.dismissible==="false"||b.value||(b.value=!0,g.value=x.relatedTarget)}function P(x){x.target&&x.target instanceof HTMLElement&&x.target.dataset.dismissible==="false"||(c.value=!0)}Ot(x=>{const U=Qe.subscribe(q=>{if(q.dismiss){requestAnimationFrame(()=>{s.value=s.value.map(Y=>Y.id===q.id?{...Y,delete:!0}:Y)});return}ss(()=>{const Y=s.value.findIndex(le=>le.id===q.id);Y!==-1?s.value=[...s.value.slice(0,Y),{...s.value[Y],...q},...s.value.slice(Y+1)]:s.value=[q,...s.value]})});x(U)}),Ot(x=>{if(typeof window>"u")return;if(t.theme!=="system"){f.value=t.theme;return}const U=window.matchMedia("(prefers-color-scheme: dark)"),q=le=>{f.value=le?"dark":"light"};q(U.matches);const Y=le=>{q(le.matches)};try{U.addEventListener("change",Y)}catch{U.addListener(Y)}x(()=>{try{U.removeEventListener("change",Y)}catch{U.removeListener(Y)}})}),Ot(()=>{p.value&&g.value&&(g.value.focus({preventScroll:!0}),g.value=null,b.value=!1)}),Ot(()=>{s.value.length<=1&&Object.keys(u.value).forEach(x=>{u.value[x]=!1})}),Ot(x=>{function U(q){const Y=t.hotkey.every(W=>q[W]||q.code===W),le=Array.isArray(p.value)?p.value[0]:p.value;Y&&(i.value.forEach(W=>{u.value[W]=!0}),le?.focus());const Re=document.activeElement===p.value||le?.contains(document.activeElement);q.code==="Escape"&&Re&&i.value.forEach(W=>{u.value[W]=!1})}Qg&&(document.addEventListener("keydown",U),x(()=>{document.removeEventListener("keydown",U)}))});function I(x){const U=x.currentTarget,q=U.getAttribute("data-y-position")+"-"+U.getAttribute("data-x-position");u.value[q]=!0}function V(x){if(!c.value){const U=x.currentTarget,q=U.getAttribute("data-y-position")+"-"+U.getAttribute("data-x-position");u.value[q]=!1}}function Z(){Object.keys(u.value).forEach(x=>{u.value[x]=!1})}function G(){c.value=!1}function T(x){a.value=x}function H(x){const U=a.value.findIndex(q=>q.toastId===x.toastId);if(U!==-1)a.value[U]=x;else{const q=a.value.findIndex(Y=>Y.position===x.position);q!==-1?a.value.splice(q,0,x):a.value.unshift(x)}}return(x,U)=>(se(),de(Ae,null,[it(" Remove item from normal navigation flow, only available via hotkey "),ke("section",{"aria-label":`${x.containerAriaLabel} ${oe(v)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(se(!0),de(Ae,null,Is(i.value,(q,Y)=>(se(),de("ol",En({key:q,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"","data-sonner-theme":f.value,class:t.class,dir:x.dir==="auto"?Zg():x.dir,tabIndex:-1,"data-theme":x.theme,"data-rich-colors":x.richColors,"data-y-position":q.split("-")[0],"data-x-position":q.split("-")[1],style:{"--front-toast-height":`${a.value[0]?.height||0}px`,"--width":`${oe(gg)}px`,"--gap":`${x.gap}px`,...x.style,...oe(n).style,...oe(_g)(x.offset,x.mobileOffset)}},{ref_for:!0},x.$attrs,{onBlur:k,onFocus:C,onMouseenter:I,onMousemove:I,onMouseleave:V,onDragend:Z,onPointerdown:P,onPointerup:G}),[(se(!0),de(Ae,null,Is(o(q,Y),(le,Re)=>(se(),Ze(Rg,{key:le.id,heights:a.value,icons:x.icons,index:Re,toast:le,defaultRichColors:x.richColors,duration:x.toastOptions?.duration??x.duration,class:Me(x.toastOptions?.class??""),descriptionClass:x.toastOptions?.descriptionClass,invert:x.invert,visibleToasts:x.visibleToasts,closeButton:x.toastOptions?.closeButton??x.closeButton,interacting:c.value,position:q,closeButtonPosition:x.toastOptions?.closeButtonPosition??x.closeButtonPosition,style:Kt(x.toastOptions?.style),unstyled:x.toastOptions?.unstyled,classes:x.toastOptions?.classes,cancelButtonStyle:x.toastOptions?.cancelButtonStyle,actionButtonStyle:x.toastOptions?.actionButtonStyle,"close-button-aria-label":x.toastOptions?.closeButtonAriaLabel,toasts:l.value[q],expandByDefault:x.expand,gap:x.gap,expanded:u.value[q]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":T,"onUpdate:height":H,onRemoveToast:_},{"close-icon":st(()=>[Je(x.$slots,"close-icon",{},()=>[ve(Og)])]),"loading-icon":st(()=>[Je(x.$slots,"loading-icon",{},()=>[ve(Ng,{visible:le.type==="loading"},null,8,["visible"])])]),"success-icon":st(()=>[Je(x.$slots,"success-icon",{},()=>[ve(Bg)])]),"error-icon":st(()=>[Je(x.$slots,"error-icon",{},()=>[ve(Jg)])]),"warning-icon":st(()=>[Je(x.$slots,"warning-icon",{},()=>[ve(qg)])]),"info-icon":st(()=>[Je(x.$slots,"info-icon",{},()=>[ve(Hg)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","closeButtonPosition","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","close-button-aria-label","toasts","expandByDefault","gap","expanded","swipeDirections"]))),128))],16,Yg))),128))],8,Xg)],2112))}}),tb=eb;const nb=dt({__name:"App",setup(e){const t=Ba(),n=ce(()=>t.meta.layout==="admin"?ig:ag);return(s,r)=>{const o=Xl("router-view");return se(),de(Ae,null,[(se(),Ze(tn(n.value),null,{default:st(()=>[ve(o)]),_:1})),ve(oe(tb),{position:"top-center","rich-colors":""})],64)}}}),To=qf(nb);To.use(Kf());To.use(Ao);To.mount("#app");export{Jt as $,Kl as A,ss as B,_n as C,En as D,pb as E,Ae as F,tn as G,iu as H,No as I,uf as J,Um as K,er as L,lb as M,db as N,Ce as O,qp as P,lt as Q,vs as R,dr as S,at as T,Gm as U,Ot as V,rb as W,ib as X,ub as Y,uc as Z,Nr as _,Ze as a,ts as a0,Kt as a1,cb as a2,ho as a3,$p as a4,ab as a5,nu as a6,pl as a7,Lc as a8,sb as a9,fb as aa,Wl as ab,Vp as ac,Dm as ad,ob as ae,hl as af,Br as ag,ve as b,un as c,dt as d,zr as e,ke as f,hb as g,de as h,it as i,Nb as j,fr as k,ch as l,Ba as m,Me as n,se as o,Ps as p,ce as q,ue as r,Is as s,It as t,oe as u,Mm as v,st as w,Je as x,ur as y,ed as z};