Files
2026-07-22 10:18:59 +08:00

39 lines
152 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-Dcp3NoQt.js","assets/LoginView-DgiltbgB.css","assets/DashboardView-41vPTFAh.js","assets/DashboardView-DtLSEgg1.css","assets/UsersView-CLuVCwZV.js","assets/UsersView-DuUh_wEj.css","assets/ConversationsView-Bt1OyWj5.js","assets/ConversationsView-Dqu65M7_.css","assets/ModelsView-BBsHmI-q.js","assets/ModelsView-CPw5vLW6.css","assets/MembershipsView-CLmkcDlm.js","assets/MembershipsView-B4bftbDy.css","assets/RolesView-q7tHl65w.js","assets/RolesView-BeGWpVWp.css","assets/DepartmentsView-VeLyrwHF.js","assets/DepartmentsView-Cr3VpI80.css","assets/PermissionsView-BZrwhSBt.js","assets/PermissionsView-C-fxXD5e.css","assets/SettingsView-BViEVh3n.js","assets/SettingsView-BwaJql5i.css"])))=>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)}})();/**
* @vue/shared v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ar(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},Xt=[],dt=()=>{},_i=()=>!1,_s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ys=e=>e.startsWith("onUpdate:"),xe=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wc=Object.prototype.hasOwnProperty,se=(e,t)=>wc.call(e,t),V=Array.isArray,Qt=e=>jn(e)==="[object Map]",ln=e=>jn(e)==="[object Set]",eo=e=>jn(e)==="[object Date]",K=e=>typeof e=="function",pe=e=>typeof e=="string",Je=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",yi=e=>(re(e)||K(e))&&K(e.then)&&K(e.catch),bi=Object.prototype.toString,jn=e=>bi.call(e),Rc=e=>jn(e).slice(8,-1),Ei=e=>jn(e)==="[object Object]",bs=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bn=Ar(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Es=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},vc=/-\w/g,Fe=Es(e=>e.replace(vc,t=>t.slice(1).toUpperCase())),Sc=/\B([A-Z])/g,Wt=Es(e=>e.replace(Sc,"-$1").toLowerCase()),ws=Es(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bs=Es(e=>e?`on${ws(e)}`:""),ft=(e,t)=>!Object.is(e,t),Qn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},wi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let to;const vs=()=>to||(to=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=pe(s)?Cc(s):xr(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(pe(e)||re(e))return e}const Ac=/;(?![^(]*\))/g,Oc=/:([^]+)/,xc=/\/\*[^]*?\*\//g;function Cc(e){const t={};return e.replace(xc,"").split(Ac).forEach(n=>{if(n){const s=n.split(Oc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tn(e){let t="";if(pe(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=Tn(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Pc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tc=Ar(Pc);function Ri(e){return!!e||e===""}function Nc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=cn(e[s],t[s]);return n}function cn(e,t){if(e===t)return!0;let n=eo(e),s=eo(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Je(e),s=Je(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?Nc(e,t):!1;if(n=re(e),s=re(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!cn(e[i],t[i]))return!1}}return String(e)===String(t)}function Cr(e,t){return e.findIndex(n=>cn(n,t))}const vi=e=>!!(e&&e.__v_isRef===!0),Lt=e=>pe(e)?e:e==null?"":V(e)||re(e)&&(e.toString===bi||!K(e.toString))?vi(e)?Lt(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>vi(t)?Si(e,t.value):Qt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[js(s,o)+" =>"]=r,n),{})}:ln(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>js(n))}:Je(t)?js(t):re(t)&&!V(t)&&!Ei(t)?String(t):t,js=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ee;class Ai{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ee&&(Ee.active?(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!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=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){++this._on===1&&(this.prevScope=Ee,Ee=this)}off(){if(this._on>0&&--this._on===0){if(Ee===this)Ee=this.prevScope;else{let t=Ee;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.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 Oi(e){return new Ai(e)}function xi(){return Ee}function Ic(e,t=!1){Ee&&Ee.cleanups.push(e)}let ae;const Hs=new WeakSet;class Ci{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,Ee&&(Ee.active?Ee.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Hs.has(this)&&(Hs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ti(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,no(this),Ni(this);const t=ae,n=Qe;ae=this,Qe=!0;try{return this.fn()}finally{Ii(this),ae=t,Qe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Nr(t);this.deps=this.depsTail=void 0,no(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Hs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){rr(this)&&this.run()}get dirty(){return rr(this)}}let Pi=0,En,wn;function Ti(e,t=!1){if(e.flags|=8,t){e.next=wn,wn=e;return}e.next=En,En=e}function Pr(){Pi++}function Tr(){if(--Pi>0)return;if(wn){let t=wn;for(wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=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 Ni(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ii(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Nr(s),Dc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function rr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Di(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Di(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Nn)||(e.globalVersion=Nn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!rr(e))))return;e.flags|=2;const t=e.dep,n=ae,s=Qe;ae=e,Qe=!0;try{Ni(e);const r=e.fn(e._value);(t.version===0||ft(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ae=n,Qe=s,Ii(e),e.flags&=-3}}function Nr(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)Nr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Dc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Qe=!0;const Li=[];function ht(){Li.push(Qe),Qe=!1}function pt(){const e=Li.pop();Qe=e===void 0?!0:e}function no(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ae;ae=void 0;try{t()}finally{ae=n}}}let Nn=0;class Lc{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 Ir{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(!ae||!Qe||ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ae)n=this.activeLink=new Lc(ae,this),ae.deps?(n.prevDep=ae.depsTail,ae.depsTail.nextDep=n,ae.depsTail=n):ae.deps=ae.depsTail=n,Fi(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=ae.depsTail,n.nextDep=void 0,ae.depsTail.nextDep=n,ae.depsTail=n,ae.deps===n&&(ae.deps=s)}return n}trigger(t){this.version++,Nn++,this.notify(t)}notify(t){Pr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Tr()}}}function Fi(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)Fi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ss=new WeakMap,jt=Symbol(""),or=Symbol(""),In=Symbol("");function Pe(e,t,n){if(Qe&&ae){let s=ss.get(e);s||ss.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ir),r.map=s,r.key=n),r.track()}}function bt(e,t,n,s,r,o){const i=ss.get(e);if(!i){Nn++;return}const l=c=>{c&&c.trigger()};if(Pr(),t==="clear")i.forEach(l);else{const c=V(e),u=c&&bs(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,h)=>{(h==="length"||h===In||!Je(h)&&h>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(In)),t){case"add":c?u&&l(i.get("length")):(l(i.get(jt)),Qt(e)&&l(i.get(or)));break;case"delete":c||(l(i.get(jt)),Qt(e)&&l(i.get(or)));break;case"set":Qt(e)&&l(i.get(jt));break}}Tr()}function Fc(e,t){const n=ss.get(e);return n&&n.get(t)}function $t(e){const t=ee(e);return t===e?t:(Pe(t,"iterate",In),We(e)?t:t.map(Ye))}function Ss(e){return Pe(e=ee(e),"iterate",In),e}function at(e,t){return vt(e)?Zt(wt(e)?Ye(t):t):Ye(t)}const Mc={__proto__:null,[Symbol.iterator](){return ks(this,Symbol.iterator,e=>at(this,e))},concat(...e){return $t(this).concat(...e.map(t=>V(t)?$t(t):t))},entries(){return ks(this,"entries",e=>(e[1]=at(this,e[1]),e))},every(e,t){return mt(this,"every",e,t,void 0,arguments)},filter(e,t){return mt(this,"filter",e,t,n=>n.map(s=>at(this,s)),arguments)},find(e,t){return mt(this,"find",e,t,n=>at(this,n),arguments)},findIndex(e,t){return mt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mt(this,"findLast",e,t,n=>at(this,n),arguments)},findLastIndex(e,t){return mt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vs(this,"includes",e)},indexOf(...e){return Vs(this,"indexOf",e)},join(e){return $t(this).join(e)},lastIndexOf(...e){return Vs(this,"lastIndexOf",e)},map(e,t){return mt(this,"map",e,t,void 0,arguments)},pop(){return dn(this,"pop")},push(...e){return dn(this,"push",e)},reduce(e,...t){return so(this,"reduce",e,t)},reduceRight(e,...t){return so(this,"reduceRight",e,t)},shift(){return dn(this,"shift")},some(e,t){return mt(this,"some",e,t,void 0,arguments)},splice(...e){return dn(this,"splice",e)},toReversed(){return $t(this).toReversed()},toSorted(e){return $t(this).toSorted(e)},toSpliced(...e){return $t(this).toSpliced(...e)},unshift(...e){return dn(this,"unshift",e)},values(){return ks(this,"values",e=>at(this,e))}};function ks(e,t,n){const s=Ss(e),r=s[t]();return s!==e&&!We(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Uc=Array.prototype;function mt(e,t,n,s,r,o){const i=Ss(e),l=i!==e&&!We(e),c=i[t];if(c!==Uc[t]){const f=c.apply(e,o);return l?Ye(f):f}let u=n;i!==e&&(l?u=function(f,h){return n.call(this,at(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function so(e,t,n,s){const r=Ss(e),o=r!==e&&!We(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,a,f){return l&&(l=!1,u=at(e,u)),n.call(this,u,at(e,a),f,e)}):n.length>3&&(i=function(u,a,f){return n.call(this,u,a,f,e)}));const c=r[t](i,...s);return l?at(e,c):c}function Vs(e,t,n){const s=ee(e);Pe(s,"iterate",In);const r=s[t](...n);return(r===-1||r===!1)&&As(n[0])?(n[0]=ee(n[0]),s[t](...n)):r}function dn(e,t,n=[]){ht(),Pr();const s=ee(e)[t].apply(e,n);return Tr(),pt(),s}const Bc=Ar("__proto__,__v_isRef,__isVue"),Mi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function jc(e){Je(e)||(e=String(e));const t=ee(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class Ui{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?Jc:ki:o?Hi:ji).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=V(t);if(!r){let c;if(i&&(c=Mc[n]))return c;if(n==="hasOwnProperty")return jc}const l=Reflect.get(t,n,me(t)?t:s);if((Je(n)?Mi.has(n):Bc(n))||(r||Pe(t,"get",n),o))return l;if(me(l)){const c=i&&bs(n)?l:l.value;return r&&re(c)?lr(c):c}return re(l)?r?lr(l):Hn(l):l}}class Bi extends Ui{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=V(t)&&bs(n);if(!this._isShallow){const u=vt(o);if(!We(s)&&!vt(s)&&(o=ee(o),s=ee(s)),!i&&me(o)&&!me(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:se(t,n),c=Reflect.set(t,n,s,me(t)?t:r);return t===ee(r)&&c&&(l?ft(s,o)&&bt(t,"set",n,s):bt(t,"add",n,s)),c}deleteProperty(t,n){const s=se(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&bt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Je(n)||!Mi.has(n))&&Pe(t,"has",n),s}ownKeys(t){return Pe(t,"iterate",V(t)?"length":jt),Reflect.ownKeys(t)}}class Hc extends Ui{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const kc=new Bi,Vc=new Hc,qc=new Bi(!0);const ir=e=>e,Gn=e=>Reflect.getPrototypeOf(e);function Wc(e,t,n){return function(...s){const r=this.__v_raw,o=ee(r),i=Qt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?ir:t?Zt:Ye;return!t&&Pe(o,"iterate",c?or:jt),xe(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[a(f[0]),a(f[1])]:a(f),done:h}}})}}function zn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $c(e,t){const n={get(r){const o=this.__v_raw,i=ee(o),l=ee(r);e||(ft(r,l)&&Pe(i,"get",r),Pe(i,"get",l));const{has:c}=Gn(i),u=t?ir:e?Zt:Ye;if(c.call(i,r))return u(o.get(r));if(c.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Pe(ee(r),"iterate",jt),r.size},has(r){const o=this.__v_raw,i=ee(o),l=ee(r);return e||(ft(r,l)&&Pe(i,"has",r),Pe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ee(l),u=t?ir:e?Zt:Ye;return!e&&Pe(c,"iterate",jt),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return xe(n,e?{add:zn("add"),set:zn("set"),delete:zn("delete"),clear:zn("clear")}:{add(r){const o=ee(this),i=Gn(o),l=ee(r),c=!t&&!We(r)&&!vt(r)?l:r;return i.has.call(o,c)||ft(r,c)&&i.has.call(o,r)||ft(l,c)&&i.has.call(o,l)||(o.add(c),bt(o,"add",c,c)),this},set(r,o){!t&&!We(o)&&!vt(o)&&(o=ee(o));const i=ee(this),{has:l,get:c}=Gn(i);let u=l.call(i,r);u||(r=ee(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?ft(o,a)&&bt(i,"set",r,o):bt(i,"add",r,o),this},delete(r){const o=ee(this),{has:i,get:l}=Gn(o);let c=i.call(o,r);c||(r=ee(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&bt(o,"delete",r,void 0),u},clear(){const r=ee(this),o=r.size!==0,i=r.clear();return o&&bt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Wc(r,e,t)}),n}function Dr(e,t){const n=$c(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Kc={get:Dr(!1,!1)},Gc={get:Dr(!1,!0)},zc={get:Dr(!0,!1)};const ji=new WeakMap,Hi=new WeakMap,ki=new WeakMap,Jc=new WeakMap;function Xc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hn(e){return vt(e)?e:Lr(e,!1,kc,Kc,ji)}function Vi(e){return Lr(e,!1,qc,Gc,Hi)}function lr(e){return Lr(e,!0,Vc,zc,ki)}function Lr(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=Xc(Rc(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function wt(e){return vt(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function As(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function Fr(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&wi(e,"__v_skip",!0),e}const Ye=e=>re(e)?Hn(e):e,Zt=e=>re(e)?lr(e):e;function me(e){return e?e.__v_isRef===!0:!1}function Mt(e){return qi(e,!1)}function Qc(e){return qi(e,!0)}function qi(e,t){return me(e)?e:new Yc(e,t)}class Yc{constructor(t,n){this.dep=new Ir,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ee(t),this._value=n?t:Ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||We(t)||vt(t);t=s?t:ee(t),ft(t,n)&&(this._rawValue=t,this._value=s?t:Ye(t),this.dep.trigger())}}function Xe(e){return me(e)?e.value:e}const Zc={get:(e,t,n)=>t==="__v_raw"?e:Xe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return me(r)&&!me(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Wi(e){return wt(e)?e:new Proxy(e,Zc)}function ea(e){const t=V(e)?new Array(e.length):{};for(const n in e)t[n]=na(e,n);return t}class ta{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Je(n)?n:String(n),this._raw=ee(t);let r=!0,o=t;if(!V(t)||Je(this._key)||!bs(this._key))do r=!As(o)||We(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=Xe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&me(this._raw[this._key])){const n=this._object[this._key];if(me(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Fc(this._raw,this._key)}}function na(e,t,n){return new ta(e,t,n)}class sa{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ir(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Nn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return Ti(this,!0),!0}get value(){const t=this.dep.track();return Di(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ra(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new sa(s,r,n)}const Jn={},rs=new WeakMap;let Ft;function oa(e,t=!1,n=Ft){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function ia(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=w=>r?w:We(w)||r===!1||r===0?Et(w,1):Et(w);let a,f,h,m,O=!1,A=!1;if(me(e)?(f=()=>e.value,O=We(e)):wt(e)?(f=()=>u(e),O=!0):V(e)?(A=!0,O=e.some(w=>wt(w)||We(w)),f=()=>e.map(w=>{if(me(w))return w.value;if(wt(w))return u(w);if(K(w))return c?c(w,2):w()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(h){ht();try{h()}finally{pt()}}const w=Ft;Ft=a;try{return c?c(e,3,[m]):e(m)}finally{Ft=w}}:f=dt,t&&r){const w=f,F=r===!0?1/0:r;f=()=>Et(w(),F)}const x=xi(),b=()=>{a.stop(),x&&x.active&&Or(x.effects,a)};if(o&&t){const w=t;t=(...F)=>{const H=w(...F);return b(),H}}let S=A?new Array(e.length).fill(Jn):Jn;const C=w=>{if(!(!(a.flags&1)||!a.dirty&&!w))if(t){const F=a.run();if(w||r||O||(A?F.some((H,W)=>ft(H,S[W])):ft(F,S))){h&&h();const H=Ft;Ft=a;try{const W=[F,S===Jn?void 0:A&&S[0]===Jn?[]:S,m];S=F,c?c(t,3,W):t(...W)}finally{Ft=H}}}else a.run()};return l&&l(C),a=new Ci(f),a.scheduler=i?()=>i(C,!1):C,m=w=>oa(w,!1,a),h=a.onStop=()=>{const w=rs.get(a);if(w){if(c)c(w,4);else for(const F of w)F();rs.delete(a)}},t?s?C(!0):S=a.run():i?i(C.bind(null,!0),!0):a.run(),b.pause=a.pause.bind(a),b.resume=a.resume.bind(a),b.stop=b,b}function Et(e,t=1/0,n){if(t<=0||!re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,me(e))Et(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)Et(e[s],t,n);else if(ln(e)||Qt(e))e.forEach(s=>{Et(s,t,n)});else if(Ei(e)){for(const s in e)Et(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Et(e[s],t,n)}return e}/**
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function kn(e,t,n,s){try{return s?e(...s):e()}catch(r){Os(r,t,n)}}function Ze(e,t,n,s){if(K(e)){const r=kn(e,t,n,s);return r&&yi(r)&&r.catch(o=>{Os(o,t,n)}),r}if(V(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ze(e[o],t,n,s));return r}}function Os(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ce;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(o){ht(),kn(o,null,10,[e,c,u]),pt();return}}la(e,n,r,s,i)}function la(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Le=[];let ct=-1;const Yt=[];let xt=null,zt=0;const $i=Promise.resolve();let os=null;function xs(e){const t=os||$i;return e?t.then(this?e.bind(this):e):t}function ca(e){let t=ct+1,n=Le.length;for(;t<n;){const s=t+n>>>1,r=Le[s],o=Dn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Mr(e){if(!(e.flags&1)){const t=Dn(e),n=Le[Le.length-1];!n||!(e.flags&2)&&t>=Dn(n)?Le.push(e):Le.splice(ca(t),0,e),e.flags|=1,Ki()}}function Ki(){os||(os=$i.then(zi))}function aa(e){V(e)?Yt.push(...e):xt&&e.id===-1?xt.splice(zt+1,0,e):e.flags&1||(Yt.push(e),e.flags|=1),Ki()}function ro(e,t,n=ct+1){for(;n<Le.length;n++){const s=Le[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Le.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Gi(e){if(Yt.length){const t=[...new Set(Yt)].sort((n,s)=>Dn(n)-Dn(s));if(Yt.length=0,xt){xt.push(...t);return}for(xt=t,zt=0;zt<xt.length;zt++){const n=xt[zt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xt=null,zt=0}}const Dn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zi(e){try{for(ct=0;ct<Le.length;ct++){const t=Le[ct];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ct<Le.length;ct++){const t=Le[ct];t&&(t.flags&=-2)}ct=-1,Le.length=0,Gi(),os=null,(Le.length||Yt.length)&&zi()}}let Ve=null,Ji=null;function is(e){const t=Ve;return Ve=e,Ji=e&&e.type.__scopeId||null,t}function Xi(e,t=Ve,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&as(-1);const o=is(t);let i;try{i=e(...r)}finally{is(o),s._d&&as(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Pp(e,t){if(Ve===null)return e;const n=Ns(Ve),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=ce]=t[r];o&&(K(o)&&(o={mounted:o,updated:o}),o.deep&&Et(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function It(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 c=l.dir[s];c&&(ht(),Ze(c,n,8,[e.el,l,e,t]),pt())}}function Yn(e,t){if(Te){let n=Te.provides;const s=Te.parent&&Te.parent.provides;s===n&&(n=Te.provides=Object.create(s)),n[e]=t}}function ze(e,t,n=!1){const s=Sl();if(s||Ht){let r=Ht?Ht._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&&K(t)?t.call(s&&s.proxy):t}}function ua(){return!!(Sl()||Ht)}const fa=Symbol.for("v-scx"),da=()=>ze(fa);function Rn(e,t,n){return Qi(e,t,n)}function Qi(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=xe({},n),c=t&&s||!t&&o!=="post";let u;if(Fn){if(o==="sync"){const m=da();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=dt,m.resume=dt,m.pause=dt,m}}const a=Te;l.call=(m,O,A)=>Ze(m,a,O,A);let f=!1;o==="post"?l.scheduler=m=>{Me(m,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(m,O)=>{O?m():Mr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const h=ia(e,t,l);return Fn&&(u?u.push(h):c&&h()),h}function ha(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?Yi(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Vn(this),l=Qi(r,o.bind(s),n);return i(),l}function Yi(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 pa=Symbol("_vte"),ma=e=>e.__isTeleport,qs=Symbol("_leaveCb");function Ur(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ur(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 Zi(e,t){return K(e)?xe({name:e.name},t,{setup:e}):e}function el(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function oo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ls=new WeakMap;function vn(e,t,n,s,r=!1){if(V(e)){e.forEach((A,x)=>vn(A,t&&(V(t)?t[x]:t),n,s,r));return}if(Sn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&vn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ns(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ce?l.refs={}:l.refs,f=l.setupState,h=ee(f),m=f===ce?_i:A=>oo(a,A)?!1:se(h,A),O=(A,x)=>!(x&&oo(a,x));if(u!=null&&u!==c){if(io(t),pe(u))a[u]=null,m(u)&&(f[u]=null);else if(me(u)){const A=t;O(u,A.k)&&(u.value=null),A.k&&(a[A.k]=null)}}if(K(c)){ht();try{kn(c,l,12,[i,a])}finally{pt()}}else{const A=pe(c),x=me(c);if(A||x){const b=()=>{if(e.f){const S=A?m(c)?f[c]:a[c]:O()||!e.k?c.value:a[e.k];if(r)V(S)&&Or(S,o);else if(V(S))S.includes(o)||S.push(o);else if(A)a[c]=[o],m(c)&&(f[c]=a[c]);else{const C=[o];O(c,e.k)&&(c.value=C),e.k&&(a[e.k]=C)}}else A?(a[c]=i,m(c)&&(f[c]=i)):x&&(O(c,e.k)&&(c.value=i),e.k&&(a[e.k]=i))};if(i){const S=()=>{b(),ls.delete(e)};S.id=-1,ls.set(e,S),Me(S,n)}else io(e),b()}}}function io(e){const t=ls.get(e);t&&(t.flags|=8,ls.delete(e))}vs().requestIdleCallback;vs().cancelIdleCallback;const Sn=e=>!!e.type.__asyncLoader,tl=e=>e.type.__isKeepAlive;function ga(e,t){nl(e,"a",t)}function _a(e,t){nl(e,"da",t)}function nl(e,t,n=Te){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Cs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)tl(r.parent.vnode)&&ya(s,t,n,r),r=r.parent}}function ya(e,t,n,s){const r=Cs(t,e,s,!0);sl(()=>{Or(s[t],r)},n)}function Cs(e,t,n=Te,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ht();const l=Vn(n),c=Ze(t,n,e,i);return l(),pt(),c});return s?r.unshift(o):r.push(o),o}}const St=e=>(t,n=Te)=>{(!Fn||e==="sp")&&Cs(e,(...s)=>t(...s),n)},ba=St("bm"),Ea=St("m"),wa=St("bu"),Ra=St("u"),va=St("bum"),sl=St("um"),Sa=St("sp"),Aa=St("rtg"),Oa=St("rtc");function xa(e,t=Te){Cs("ec",e,t)}const Ca="components";function cr(e,t){return Ta(Ca,e,!0,t)||e}const Pa=Symbol.for("v-ndc");function Ta(e,t,n=!0,s=!1){const r=Ve||Te;if(r){const o=r.type;{const l=mu(o,!1);if(l&&(l===t||l===Fe(t)||l===ws(Fe(t))))return o}const i=lo(r[e]||o[e],t)||lo(r.appContext[e],t);return!i&&s?o:i}}function lo(e,t){return e&&(e[t]||e[Fe(t)]||e[ws(Fe(t))])}function co(e,t,n,s){let r;const o=n,i=V(e);if(i||pe(e)){const l=i&&wt(e);let c=!1,u=!1;l&&(c=!We(e),u=vt(e),e=Ss(e)),r=new Array(e.length);for(let a=0,f=e.length;a<f;a++)r[a]=t(c?u?Zt(Ye(e[a])):Ye(e[a]):e[a],a,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(re(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];r[c]=t(e[a],a,c,o)}}else r=[];return r}const ar=e=>e?Al(e)?Ns(e):ar(e.parent):null,An=xe(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=>ar(e.parent),$root:e=>ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ol(e),$forceUpdate:e=>e.f||(e.f=()=>{Mr(e.update)}),$nextTick:e=>e.n||(e.n=xs.bind(e.proxy)),$watch:e=>ha.bind(e)}),Ws=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),Na={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Ws(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if(se(o,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];ur&&(i[t]=0)}}const u=An[t];let a,f;if(u)return t==="$attrs"&&Pe(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,se(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Ws(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(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 c;return!!(n[l]||e!==ce&&l[0]!=="$"&&se(e,l)||Ws(t,l)||se(o,l)||se(s,l)||se(An,l)||se(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ao(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ur=!0;function Ia(e){const t=ol(e),n=e.proxy,s=e.ctx;ur=!1,t.beforeCreate&&uo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:h,beforeUpdate:m,updated:O,activated:A,deactivated:x,beforeDestroy:b,beforeUnmount:S,destroyed:C,unmounted:w,render:F,renderTracked:H,renderTriggered:W,errorCaptured:G,serverPrefetch:z,expose:Y,inheritAttrs:ue,components:we,directives:ve,filters:Re}=t;if(u&&Da(u,s,null),i)for(const $ in i){const Z=i[$];K(Z)&&(s[$]=Z.bind(n))}if(r){const $=r.call(n,n);re($)&&(e.data=Hn($))}if(ur=!0,o)for(const $ in o){const Z=o[$],$e=K(Z)?Z.bind(n,n):K(Z.get)?Z.get.bind(n,n):dt,Se=!K(Z)&&K(Z.set)?Z.set.bind(n):dt,oe=he({get:$e,set:Se});Object.defineProperty(s,$,{enumerable:!0,configurable:!0,get:()=>oe.value,set:fe=>oe.value=fe})}if(l)for(const $ in l)rl(l[$],s,n,$);if(c){const $=K(c)?c.call(n):c;Reflect.ownKeys($).forEach(Z=>{Yn(Z,$[Z])})}a&&uo(a,e,"c");function te($,Z){V(Z)?Z.forEach($e=>$($e.bind(n))):Z&&$(Z.bind(n))}if(te(ba,f),te(Ea,h),te(wa,m),te(Ra,O),te(ga,A),te(_a,x),te(xa,G),te(Oa,H),te(Aa,W),te(va,S),te(sl,w),te(Sa,z),V(Y))if(Y.length){const $=e.exposed||(e.exposed={});Y.forEach(Z=>{Object.defineProperty($,Z,{get:()=>n[Z],set:$e=>n[Z]=$e,enumerable:!0})})}else e.exposed||(e.exposed={});F&&e.render===dt&&(e.render=F),ue!=null&&(e.inheritAttrs=ue),we&&(e.components=we),ve&&(e.directives=ve),z&&el(e)}function Da(e,t,n=dt){V(e)&&(e=fr(e));for(const s in e){const r=e[s];let o;re(r)?"default"in r?o=ze(r.from||s,r.default,!0):o=ze(r.from||s):o=ze(r),me(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function uo(e,t,n){Ze(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function rl(e,t,n,s){let r=s.includes(".")?Yi(n,s):()=>n[s];if(pe(e)){const o=t[e];K(o)&&Rn(r,o)}else if(K(e))Rn(r,e.bind(n));else if(re(e))if(V(e))e.forEach(o=>rl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Rn(r,o,e)}}function ol(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>cs(c,u,i,!0)),cs(c,t,i)),re(t)&&o.set(t,c),c}function cs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&cs(e,o,n,!0),r&&r.forEach(i=>cs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=La[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const La={data:fo,props:ho,emits:ho,methods:_n,computed:_n,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:_n,directives:_n,watch:Ma,provide:fo,inject:Fa};function fo(e,t){return t?e?function(){return xe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Fa(e,t){return _n(fr(e),fr(t))}function fr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ie(e,t){return e?[...new Set([].concat(e,t))]:t}function _n(e,t){return e?xe(Object.create(null),e,t):t}function ho(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:xe(Object.create(null),ao(e),ao(t??{})):t}function Ma(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const s in t)n[s]=Ie(e[s],t[s]);return n}function il(){return{app:null,config:{isNativeTag:_i,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 Ua=0;function Ba(e,t){return function(s,r=null){K(s)||(s=xe({},s)),r!=null&&!re(r)&&(r=null);const o=il(),i=new WeakSet,l=[];let c=!1;const u=o.app={_uid:Ua++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:_u,get config(){return o.config},set config(a){},use(a,...f){return i.has(a)||(a&&K(a.install)?(i.add(a),a.install(u,...f)):K(a)&&(i.add(a),a(u,...f))),u},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),u},component(a,f){return f?(o.components[a]=f,u):o.components[a]},directive(a,f){return f?(o.directives[a]=f,u):o.directives[a]},mount(a,f,h){if(!c){const m=u._ceVNode||Ue(s,r);return m.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),e(m,a,h),c=!0,u._container=a,a.__vue_app__=u,Ns(m.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Ze(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return o.provides[a]=f,u},runWithContext(a){const f=Ht;Ht=u;try{return a()}finally{Ht=f}}};return u}}let Ht=null;const ja=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Fe(t)}Modifiers`]||e[`${Wt(t)}Modifiers`];function Ha(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&ja(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>pe(a)?a.trim():a)),i.number&&(r=n.map(Rs)));let l,c=s[l=Bs(t)]||s[l=Bs(Fe(t))];!c&&o&&(c=s[l=Bs(Wt(t))]),c&&Ze(c,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,Ze(u,e,6,r)}}const ka=new WeakMap;function ll(e,t,n=!1){const s=n?ka:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const a=ll(u,t,!0);a&&(l=!0,xe(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(re(e)&&s.set(e,null),null):(V(o)?o.forEach(c=>i[c]=null):xe(i,o),re(e)&&s.set(e,i),i)}function Ps(e,t){return!e||!_s(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Wt(t))||se(e,t))}function po(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:h,setupState:m,ctx:O,inheritAttrs:A}=e,x=is(e);let b,S;try{if(n.shapeFlag&4){const w=r||s,F=w;b=ut(u.call(F,w,a,f,m,h,O)),S=l}else{const w=t;b=ut(w.length>1?w(f,{attrs:l,slots:i,emit:c}):w(f,null)),S=t.props?l:Va(l)}}catch(w){On.length=0,Os(w,e,1),b=Ue(Nt)}let C=b;if(S&&A!==!1){const w=Object.keys(S),{shapeFlag:F}=C;w.length&&F&7&&(o&&w.some(ys)&&(S=qa(S,o)),C=en(C,S,!1,!0))}return n.dirs&&(C=en(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&Ur(C,n.transition),b=C,is(x),b}const Va=e=>{let t;for(const n in e)(n==="class"||n==="style"||_s(n))&&((t||(t={}))[n]=e[n]);return t},qa=(e,t)=>{const n={};for(const s in e)(!ys(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Wa(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?mo(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const h=a[f];if(cl(i,s,h)&&!Ps(u,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?mo(s,i,u):!0:!!i;return!1}function mo(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(cl(t,e,o)&&!Ps(n,o))return!0}return!1}function cl(e,t,n){const s=e[n],r=t[n];return n==="style"&&re(s)&&re(r)?!cn(s,r):s!==r}function $a({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const al={},ul=()=>Object.create(al),fl=e=>Object.getPrototypeOf(e)===al;function Ka(e,t,n,s=!1){const r={},o=ul();e.propsDefaults=Object.create(null),dl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Vi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ga(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ee(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let h=a[f];if(Ps(e.emitsOptions,h))continue;const m=t[h];if(c)if(se(o,h))m!==o[h]&&(o[h]=m,u=!0);else{const O=Fe(h);r[O]=dr(c,l,O,m,e,!1)}else m!==o[h]&&(o[h]=m,u=!0)}}}else{dl(e,t,r,o)&&(u=!0);let a;for(const f in l)(!t||!se(t,f)&&((a=Wt(f))===f||!se(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(r[f]=dr(c,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!se(t,f))&&(delete o[f],u=!0)}u&&bt(e.attrs,"set","")}function dl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(bn(c))continue;const u=t[c];let a;r&&se(r,a=Fe(c))?!o||!o.includes(a)?n[a]=u:(l||(l={}))[a]=u:Ps(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,i=!0)}if(o){const c=ee(n),u=l||ce;for(let a=0;a<o.length;a++){const f=o[a];n[f]=dr(r,c,f,u[f],e,!se(u,f))}}return i}function dr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=se(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&K(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=Vn(r);s=u[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Wt(n))&&(s=!0))}return s}const za=new WeakMap;function hl(e,t,n=!1){const s=n?za:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!K(e)){const a=f=>{c=!0;const[h,m]=hl(f,t,!0);xe(i,h),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return re(e)&&s.set(e,Xt),Xt;if(V(o))for(let a=0;a<o.length;a++){const f=Fe(o[a]);go(f)&&(i[f]=ce)}else if(o)for(const a in o){const f=Fe(a);if(go(f)){const h=o[a],m=i[f]=V(h)||K(h)?{type:h}:xe({},h),O=m.type;let A=!1,x=!0;if(V(O))for(let b=0;b<O.length;++b){const S=O[b],C=K(S)&&S.name;if(C==="Boolean"){A=!0;break}else C==="String"&&(x=!1)}else A=K(O)&&O.name==="Boolean";m[0]=A,m[1]=x,(A||se(m,"default"))&&l.push(f)}}const u=[i,l];return re(e)&&s.set(e,u),u}function go(e){return e[0]!=="$"&&!bn(e)}const Br=e=>e==="_"||e==="_ctx"||e==="$stable",jr=e=>V(e)?e.map(ut):[ut(e)],Ja=(e,t,n)=>{if(t._n)return t;const s=Xi((...r)=>jr(t(...r)),n);return s._c=!1,s},pl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Br(r))continue;const o=e[r];if(K(o))t[r]=Ja(r,o,s);else if(o!=null){const i=jr(o);t[r]=()=>i}}},ml=(e,t)=>{const n=jr(t);e.slots.default=()=>n},gl=(e,t,n)=>{for(const s in t)(n||!Br(s))&&(e[s]=t[s])},Xa=(e,t,n)=>{const s=e.slots=ul();if(e.vnode.shapeFlag&32){const r=t._;r?(gl(s,t,n),n&&wi(s,"_",r,!0)):pl(t,s)}else t&&ml(e,t)},Qa=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:gl(r,t,n):(o=!t.$stable,pl(t,r)),i=t}else t&&(ml(e,t),i={default:1});if(o)for(const l in r)!Br(l)&&i[l]==null&&delete r[l]},Me=nu;function Ya(e){return Za(e)}function Za(e,t){const n=vs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:h,setScopeId:m=dt,insertStaticContent:O}=e,A=(d,p,_,R=null,y=null,E=null,I=void 0,T=null,N=!!p.dynamicChildren)=>{if(d===p)return;d&&!pn(d,p)&&(R=v(d),fe(d,y,E,!0),d=null),p.patchFlag===-2&&(N=!1,p.dynamicChildren=null);const{type:P,ref:B,shapeFlag:U}=p;switch(P){case Ts:x(d,p,_,R);break;case Nt:b(d,p,_,R);break;case Ks:d==null&&S(p,_,R,I);break;case Ge:we(d,p,_,R,y,E,I,T,N);break;default:U&1?F(d,p,_,R,y,E,I,T,N):U&6?ve(d,p,_,R,y,E,I,T,N):(U&64||U&128)&&P.process(d,p,_,R,y,E,I,T,N,j)}B!=null&&y?vn(B,d&&d.ref,E,p||d,!p):B==null&&d&&d.ref!=null&&vn(d.ref,null,E,d,!0)},x=(d,p,_,R)=>{if(d==null)s(p.el=l(p.children),_,R);else{const y=p.el=d.el;p.children!==d.children&&u(y,p.children)}},b=(d,p,_,R)=>{d==null?s(p.el=c(p.children||""),_,R):p.el=d.el},S=(d,p,_,R)=>{[d.el,d.anchor]=O(d.children,p,_,R,d.el,d.anchor)},C=({el:d,anchor:p},_,R)=>{let y;for(;d&&d!==p;)y=h(d),s(d,_,R),d=y;s(p,_,R)},w=({el:d,anchor:p})=>{let _;for(;d&&d!==p;)_=h(d),r(d),d=_;r(p)},F=(d,p,_,R,y,E,I,T,N)=>{if(p.type==="svg"?I="svg":p.type==="math"&&(I="mathml"),d==null)H(p,_,R,y,E,I,T,N);else{const P=d.el&&d.el._isVueCE?d.el:null;try{P&&P._beginPatch(),z(d,p,y,E,I,T,N)}finally{P&&P._endPatch()}}},H=(d,p,_,R,y,E,I,T)=>{let N,P;const{props:B,shapeFlag:U,transition:k,dirs:q}=d;if(N=d.el=i(d.type,E,B&&B.is,B),U&8?a(N,d.children):U&16&&G(d.children,N,null,R,y,$s(d,E),I,T),q&&It(d,null,R,"created"),W(N,d,d.scopeId,I,R),B){for(const le in B)le!=="value"&&!bn(le)&&o(N,le,null,B[le],E,R);"value"in B&&o(N,"value",null,B.value,E),(P=B.onVnodeBeforeMount)&&it(P,R,d)}q&&It(d,null,R,"beforeMount");const Q=eu(y,k);Q&&k.beforeEnter(N),s(N,p,_),((P=B&&B.onVnodeMounted)||Q||q)&&Me(()=>{try{P&&it(P,R,d),Q&&k.enter(N),q&&It(d,null,R,"mounted")}finally{}},y)},W=(d,p,_,R,y)=>{if(_&&m(d,_),R)for(let E=0;E<R.length;E++)m(d,R[E]);if(y){let E=y.subTree;if(p===E||El(E.type)&&(E.ssContent===p||E.ssFallback===p)){const I=y.vnode;W(d,I,I.scopeId,I.slotScopeIds,y.parent)}}},G=(d,p,_,R,y,E,I,T,N=0)=>{for(let P=N;P<d.length;P++){const B=d[P]=T?yt(d[P]):ut(d[P]);A(null,B,p,_,R,y,E,I,T)}},z=(d,p,_,R,y,E,I)=>{const T=p.el=d.el;let{patchFlag:N,dynamicChildren:P,dirs:B}=p;N|=d.patchFlag&16;const U=d.props||ce,k=p.props||ce;let q;if(_&&Dt(_,!1),(q=k.onVnodeBeforeUpdate)&&it(q,_,p,d),B&&It(p,d,_,"beforeUpdate"),_&&Dt(_,!0),P&&(!d.dynamicChildren||d.dynamicChildren.length!==P.length)&&(N=0,I=!1,P=null),(U.innerHTML&&k.innerHTML==null||U.textContent&&k.textContent==null)&&a(T,""),P?Y(d.dynamicChildren,P,T,_,R,$s(p,y),E):I||Z(d,p,T,null,_,R,$s(p,y),E,!1),N>0){if(N&16)ue(T,U,k,_,y);else if(N&2&&U.class!==k.class&&o(T,"class",null,k.class,y),N&4&&o(T,"style",U.style,k.style,y),N&8){const Q=p.dynamicProps;for(let le=0;le<Q.length;le++){const ie=Q[le],ye=U[ie],Ae=k[ie];(Ae!==ye||ie==="value")&&o(T,ie,ye,Ae,y,_)}}N&1&&d.children!==p.children&&a(T,p.children)}else!I&&P==null&&ue(T,U,k,_,y);((q=k.onVnodeUpdated)||B)&&Me(()=>{q&&it(q,_,p,d),B&&It(p,d,_,"updated")},R)},Y=(d,p,_,R,y,E,I)=>{for(let T=0;T<p.length;T++){const N=d[T],P=p[T],B=N.el&&(N.type===Ge||!pn(N,P)||N.shapeFlag&198)?f(N.el):_;A(N,P,B,null,R,y,E,I,!0)}},ue=(d,p,_,R,y)=>{if(p!==_){if(p!==ce)for(const E in p)!bn(E)&&!(E in _)&&o(d,E,p[E],null,y,R);for(const E in _){if(bn(E))continue;const I=_[E],T=p[E];I!==T&&E!=="value"&&o(d,E,T,I,y,R)}"value"in _&&o(d,"value",p.value,_.value,y)}},we=(d,p,_,R,y,E,I,T,N)=>{const P=p.el=d?d.el:l(""),B=p.anchor=d?d.anchor:l("");let{patchFlag:U,dynamicChildren:k,slotScopeIds:q}=p;q&&(T=T?T.concat(q):q),d==null?(s(P,_,R),s(B,_,R),G(p.children||[],_,B,y,E,I,T,N)):U>0&&U&64&&k&&d.dynamicChildren&&d.dynamicChildren.length===k.length?(Y(d.dynamicChildren,k,_,y,E,I,T),(p.key!=null||y&&p===y.subTree)&&_l(d,p,!0)):Z(d,p,_,B,y,E,I,T,N)},ve=(d,p,_,R,y,E,I,T,N)=>{p.slotScopeIds=T,d==null?p.shapeFlag&512?y.ctx.activate(p,_,R,I,N):Re(p,_,R,y,E,I,N):je(d,p,N)},Re=(d,p,_,R,y,E,I)=>{const T=d.component=uu(d,R,y);if(tl(d)&&(T.ctx.renderer=j),fu(T,!1,I),T.asyncDep){if(y&&y.registerDep(T,te,I),!d.el){const N=T.subTree=Ue(Nt);b(null,N,p,_),d.placeholder=N.el}}else te(T,d,p,_,y,E,I)},je=(d,p,_)=>{const R=p.component=d.component;if(Wa(d,p,_))if(R.asyncDep&&!R.asyncResolved){$(R,p,_);return}else R.next=p,R.update();else p.el=d.el,R.vnode=p},te=(d,p,_,R,y,E,I)=>{const T=()=>{if(d.isMounted){let{next:U,bu:k,u:q,parent:Q,vnode:le}=d;{const rt=yl(d);if(rt){U&&(U.el=le.el,$(d,U,I)),rt.asyncDep.then(()=>{Me(()=>{d.isUnmounted||P()},y)});return}}let ie=U,ye;Dt(d,!1),U?(U.el=le.el,$(d,U,I)):U=le,k&&Qn(k),(ye=U.props&&U.props.onVnodeBeforeUpdate)&&it(ye,Q,U,le),Dt(d,!0);const Ae=po(d),st=d.subTree;d.subTree=Ae,A(st,Ae,f(st.el),v(st),d,y,E),U.el=Ae.el,ie===null&&$a(d,Ae.el),q&&Me(q,y),(ye=U.props&&U.props.onVnodeUpdated)&&Me(()=>it(ye,Q,U,le),y)}else{let U;const{el:k,props:q}=p,{bm:Q,m:le,parent:ie,root:ye,type:Ae}=d,st=Sn(p);Dt(d,!1),Q&&Qn(Q),!st&&(U=q&&q.onVnodeBeforeMount)&&it(U,ie,p),Dt(d,!0);{ye.ce&&ye.ce._hasShadowRoot()&&ye.ce._injectChildStyle(Ae,d.parent?d.parent.type:void 0);const rt=d.subTree=po(d);A(null,rt,_,R,d,y,E),p.el=rt.el}if(le&&Me(le,y),!st&&(U=q&&q.onVnodeMounted)){const rt=p;Me(()=>it(U,ie,rt),y)}(p.shapeFlag&256||ie&&Sn(ie.vnode)&&ie.vnode.shapeFlag&256)&&d.a&&Me(d.a,y),d.isMounted=!0,p=_=R=null}};d.scope.on();const N=d.effect=new Ci(T);d.scope.off();const P=d.update=N.run.bind(N),B=d.job=N.runIfDirty.bind(N);B.i=d,B.id=d.uid,N.scheduler=()=>Mr(B),Dt(d,!0),P()},$=(d,p,_)=>{p.component=d;const R=d.vnode.props;d.vnode=p,d.next=null,Ga(d,p.props,R,_),Qa(d,p.children,_),ht(),ro(d),pt()},Z=(d,p,_,R,y,E,I,T,N=!1)=>{const P=d&&d.children,B=d?d.shapeFlag:0,U=p.children,{patchFlag:k,shapeFlag:q}=p;if(k>0){if(k&128){Se(P,U,_,R,y,E,I,T,N);return}else if(k&256){$e(P,U,_,R,y,E,I,T,N);return}}q&8?(B&16&&J(P,y,E),U!==P&&a(_,U)):B&16?q&16?Se(P,U,_,R,y,E,I,T,N):J(P,y,E,!0):(B&8&&a(_,""),q&16&&G(U,_,R,y,E,I,T,N))},$e=(d,p,_,R,y,E,I,T,N)=>{d=d||Xt,p=p||Xt;const P=d.length,B=p.length,U=Math.min(P,B);let k;for(k=0;k<U;k++){const q=p[k]=N?yt(p[k]):ut(p[k]);A(d[k],q,_,null,y,E,I,T,N)}P>B?J(d,y,E,!0,!1,U):G(p,_,R,y,E,I,T,N,U)},Se=(d,p,_,R,y,E,I,T,N)=>{let P=0;const B=p.length;let U=d.length-1,k=B-1;for(;P<=U&&P<=k;){const q=d[P],Q=p[P]=N?yt(p[P]):ut(p[P]);if(pn(q,Q))A(q,Q,_,null,y,E,I,T,N);else break;P++}for(;P<=U&&P<=k;){const q=d[U],Q=p[k]=N?yt(p[k]):ut(p[k]);if(pn(q,Q))A(q,Q,_,null,y,E,I,T,N);else break;U--,k--}if(P>U){if(P<=k){const q=k+1,Q=q<B?p[q].el:R;for(;P<=k;)A(null,p[P]=N?yt(p[P]):ut(p[P]),_,Q,y,E,I,T,N),P++}}else if(P>k)for(;P<=U;)fe(d[P],y,E,!0),P++;else{const q=P,Q=P,le=new Map;for(P=Q;P<=k;P++){const ke=p[P]=N?yt(p[P]):ut(p[P]);ke.key!=null&&le.set(ke.key,P)}let ie,ye=0;const Ae=k-Q+1;let st=!1,rt=0;const fn=new Array(Ae);for(P=0;P<Ae;P++)fn[P]=0;for(P=q;P<=U;P++){const ke=d[P];if(ye>=Ae){fe(ke,y,E,!0);continue}let ot;if(ke.key!=null)ot=le.get(ke.key);else for(ie=Q;ie<=k;ie++)if(fn[ie-Q]===0&&pn(ke,p[ie])){ot=ie;break}ot===void 0?fe(ke,y,E,!0):(fn[ot-Q]=P+1,ot>=rt?rt=ot:st=!0,A(ke,p[ot],_,null,y,E,I,T,N),ye++)}const Qr=st?tu(fn):Xt;for(ie=Qr.length-1,P=Ae-1;P>=0;P--){const ke=Q+P,ot=p[ke],Yr=p[ke+1],Zr=ke+1<B?Yr.el||bl(Yr):R;fn[P]===0?A(null,ot,_,Zr,y,E,I,T,N):st&&(ie<0||P!==Qr[ie]?oe(ot,_,Zr,2):ie--)}}},oe=(d,p,_,R,y=null)=>{const{el:E,type:I,transition:T,children:N,shapeFlag:P}=d;if(P&6){oe(d.component.subTree,p,_,R);return}if(P&128){d.suspense.move(p,_,R);return}if(P&64){I.move(d,p,_,j);return}if(I===Ge){s(E,p,_);for(let U=0;U<N.length;U++)oe(N[U],p,_,R);s(d.anchor,p,_);return}if(I===Ks){C(d,p,_);return}if(R!==2&&P&1&&T)if(R===0)T.persisted&&!E[qs]?s(E,p,_):(T.beforeEnter(E),s(E,p,_),Me(()=>T.enter(E),y));else{const{leave:U,delayLeave:k,afterLeave:q}=T,Q=()=>{d.ctx.isUnmounted?r(E):s(E,p,_)},le=()=>{const ie=E._isLeaving||!!E[qs];E._isLeaving&&E[qs](!0),T.persisted&&!ie?Q():U(E,()=>{Q(),q&&q()})};k?k(E,Q,le):le()}else s(E,p,_)},fe=(d,p,_,R=!1,y=!1)=>{const{type:E,props:I,ref:T,children:N,dynamicChildren:P,shapeFlag:B,patchFlag:U,dirs:k,cacheIndex:q,memo:Q}=d;if(U===-2&&(y=!1),T!=null&&(ht(),vn(T,null,_,d,!0),pt()),q!=null&&(p.renderCache[q]=void 0),B&256){p.ctx.deactivate(d);return}const le=B&1&&k,ie=!Sn(d);let ye;if(ie&&(ye=I&&I.onVnodeBeforeUnmount)&&it(ye,p,d),B&6)nt(d.component,_,R);else{if(B&128){d.suspense.unmount(_,R);return}le&&It(d,null,p,"beforeUnmount"),B&64?d.type.remove(d,p,_,j,R):P&&!P.hasOnce&&(E!==Ge||U>0&&U&64)?J(P,p,_,!1,!0):(E===Ge&&U&384||!y&&B&16)&&J(N,p,_),R&&He(d)}const Ae=Q!=null&&q==null;(ie&&(ye=I&&I.onVnodeUnmounted)||le||Ae)&&Me(()=>{ye&&it(ye,p,d),le&&It(d,null,p,"unmounted"),Ae&&(d.el=null)},_)},He=d=>{const{type:p,el:_,anchor:R,transition:y}=d;if(p===Ge){Ke(_,R);return}if(p===Ks){w(d);return}const E=()=>{r(_),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(d.shapeFlag&1&&y&&!y.persisted){const{leave:I,delayLeave:T}=y,N=()=>I(_,E);T?T(d.el,E,N):N()}else E()},Ke=(d,p)=>{let _;for(;d!==p;)_=h(d),r(d),d=_;r(p)},nt=(d,p,_)=>{const{bum:R,scope:y,job:E,subTree:I,um:T,m:N,a:P}=d;_o(N),_o(P),R&&Qn(R),y.stop(),E&&(E.flags|=8,fe(I,d,p,_)),T&&Me(T,p),Me(()=>{d.isUnmounted=!0},p)},J=(d,p,_,R=!1,y=!1,E=0)=>{for(let I=E;I<d.length;I++)fe(d[I],p,_,R,y)},v=d=>{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),_=p&&p[pa];return _?h(_):p};let M=!1;const L=(d,p,_)=>{let R;d==null?p._vnode&&(fe(p._vnode,null,null,!0),R=p._vnode.component):A(p._vnode||null,d,p,null,null,null,_),p._vnode=d,M||(M=!0,ro(R),Gi(),M=!1)},j={p:A,um:fe,m:oe,r:He,mt:Re,mc:G,pc:Z,pbc:Y,n:v,o:e};return{render:L,hydrate:void 0,createApp:Ba(L)}}function $s({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 Dt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function eu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _l(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(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]=yt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&_l(i,l)),l.type===Ts&&(l.patchFlag===-1&&(l=r[o]=yt(l)),l.el=i.el),l.type===Nt&&!l.el&&(l.el=i.el)}}function tu(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;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 yl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:yl(t)}function _o(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function bl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?bl(t.subTree):null}const El=e=>e.__isSuspense;function nu(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):aa(e)}const Ge=Symbol.for("v-fgt"),Ts=Symbol.for("v-txt"),Nt=Symbol.for("v-cmt"),Ks=Symbol.for("v-stc"),On=[];let qe=null;function Ct(e=!1){On.push(qe=e?null:[])}function su(){On.pop(),qe=On[On.length-1]||null}let Ln=1;function as(e,t=!1){Ln+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function wl(e){return e.dynamicChildren=Ln>0?qe||Xt:null,su(),Ln>0&&qe&&qe.push(e),e}function hn(e,t,n,s,r,o){return wl(ge(e,t,n,s,r,o,!0))}function Hr(e,t,n,s,r){return wl(Ue(e,t,n,s,r,!0))}function us(e){return e?e.__v_isVNode===!0:!1}function pn(e,t){return e.type===t.type&&e.key===t.key}const Rl=({key:e})=>e??null,Zn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||me(e)||K(e)?{i:Ve,r:e,k:t,f:!!n}:e:null);function ge(e,t=null,n=null,s=0,r=null,o=e===Ge?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rl(t),ref:t&&Zn(t),scopeId:Ji,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:Ve};return l?(fs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),Ln>0&&!i&&qe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&qe.push(c),c}const Ue=ru;function ru(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Pa)&&(e=Nt),us(e)){const l=en(e,t,!0);return n&&fs(l,n),Ln>0&&!o&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(gu(e)&&(e=e.__vccOpts),t){t=ou(t);let{class:l,style:c}=t;l&&!pe(l)&&(t.class=Tn(l)),re(c)&&(As(c)&&!V(c)&&(c=xe({},c)),t.style=xr(c))}const i=pe(e)?1:El(e)?128:ma(e)?64:re(e)?4:K(e)?2:0;return ge(e,t,n,s,r,i,o,!0)}function ou(e){return e?As(e)||fl(e)?xe({},e):e:null}function en(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?lu(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Rl(u),ref:t&&t.ref?n&&o?V(o)?o.concat(Zn(t)):[o,Zn(t)]:Zn(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!==Ge?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&en(e.ssContent),ssFallback:e.ssFallback&&en(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ur(a,c.clone(a)),a}function vl(e=" ",t=0){return Ue(Ts,null,e,t)}function iu(e="",t=!1){return t?(Ct(),Hr(Nt,null,e)):Ue(Nt,null,e)}function ut(e){return e==null||typeof e=="boolean"?Ue(Nt):V(e)?Ue(Ge,null,e.slice()):us(e)?yt(e):Ue(Ts,null,String(e))}function yt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:en(e)}function fs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),fs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!fl(t)?t._ctx=Ve:r===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(K(t)){if(s&65){fs(e,{default:t});return}t={default:t,_ctx:Ve},n=32}else t=String(t),s&64?(n=16,t=[vl(t)]):n=8;e.children=t,e.shapeFlag|=n}function lu(...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=Tn([t.class,s.class]));else if(r==="style")t.style=xr([t.style,s.style]);else if(_s(r)){const o=t[r],i=s[r];i&&o!==i&&!(V(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!ys(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function it(e,t,n,s=null){Ze(e,t,7,[n,s])}const cu=il();let au=0;function uu(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||cu,o={uid:au++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ai(!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:hl(s,r),emitsOptions:ll(s,r),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:s.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,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=Ha.bind(null,o),e.ce&&e.ce(o),o}let Te=null;const Sl=()=>Te||Ve;let ds,hr;{const e=vs(),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=>Te=n),hr=t("__VUE_SSR_SETTERS__",n=>Fn=n)}const Vn=e=>{const t=Te;return ds(e),e.scope.on(),()=>{e.scope.off(),ds(t)}},yo=()=>{Te&&Te.scope.off(),ds(null)};function Al(e){return e.vnode.shapeFlag&4}let Fn=!1;function fu(e,t=!1,n=!1){t&&hr(t);const{props:s,children:r}=e.vnode,o=Al(e);Ka(e,s,o,t),Xa(e,r,n||t);const i=o?du(e,t):void 0;return t&&hr(!1),i}function du(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Na);const{setup:s}=n;if(s){ht();const r=e.setupContext=s.length>1?pu(e):null,o=Vn(e),i=kn(s,e,0,[e.props,r]),l=yi(i);if(pt(),o(),(l||e.sp)&&!Sn(e)&&el(e),l){if(i.then(yo,yo),t)return i.then(c=>{bo(e,c)}).catch(c=>{Os(c,e,0)});e.asyncDep=i}else bo(e,i)}else Ol(e)}function bo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Wi(t)),Ol(e)}function Ol(e,t,n){const s=e.type;e.render||(e.render=s.render||dt);{const r=Vn(e);ht();try{Ia(e)}finally{pt(),r()}}}const hu={get(e,t){return Pe(e,"get",""),e[t]}};function pu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hu),slots:e.slots,emit:e.emit,expose:t}}function Ns(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wi(Fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in An)return An[n](e)},has(t,n){return n in t||n in An}})):e.proxy}function mu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function gu(e){return K(e)&&"__vccOpts"in e}const he=(e,t)=>ra(e,t,Fn);function xl(e,t,n){try{as(-1);const s=arguments.length;return s===2?re(t)&&!V(t)?us(t)?Ue(e,null,[t]):Ue(e,t):Ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&us(n)&&(n=[n]),Ue(e,t,n))}finally{as(1)}}const _u="3.5.39";/**
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let pr;const Eo=typeof window<"u"&&window.trustedTypes;if(Eo)try{pr=Eo.createPolicy("vue",{createHTML:e=>e})}catch{}const Cl=pr?e=>pr.createHTML(e):e=>e,yu="http://www.w3.org/2000/svg",bu="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,wo=_t&&_t.createElement("template"),Eu={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"?_t.createElementNS(yu,e):t==="mathml"?_t.createElementNS(bu,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.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{wo.innerHTML=Cl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=wo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wu=Symbol("_vtc");function Ru(e,t,n){const s=e[wu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),vu=Symbol("_vsh"),Su=Symbol(""),Au=/(?:^|;)\s*display\s*:/;function Ou(e,t,n){const s=e.style,r=pe(n);let o=!1;if(n&&!r){if(t)if(pe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&yn(s,l,"")}else for(const i in t)n[i]==null&&yn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Cu(e,i,!pe(t)&&t?t[i]:void 0,l)||yn(s,i,l):yn(s,i,"")}}else if(r){if(t!==n){const i=s[Su];i&&(n+=";"+i),s.cssText=n,o=Au.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=o?s.display:"",e[vu]&&(s.display="none"))}const vo=/\s*!important$/;function yn(e,t,n){if(V(n))n.forEach(s=>yn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=xu(e,t);vo.test(n)?e.setProperty(Wt(s),n.replace(vo,""),"important"):e[s]=n}}const So=["Webkit","Moz","ms"],Gs={};function xu(e,t){const n=Gs[t];if(n)return n;let s=Fe(t);if(s!=="filter"&&s in e)return Gs[t]=s;s=ws(s);for(let r=0;r<So.length;r++){const o=So[r]+s;if(o in e)return Gs[t]=o}return t}function Cu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&pe(s)&&n===s}const Ao="http://www.w3.org/1999/xlink";function Oo(e,t,n,s,r,o=Tc(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ao,t.slice(6,t.length)):e.setAttributeNS(Ao,t,n):n==null||o&&!Ri(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Je(n)?String(n):n)}function xo(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Cl(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ri(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 Tt(e,t,n,s){e.addEventListener(t,n,s)}function Pu(e,t,n,s){e.removeEventListener(t,n,s)}const Co=Symbol("_vei");function Tu(e,t,n,s,r=null){const o=e[Co]||(e[Co]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Du(t);if(s){const u=o[t]=Mu(s,r);Tt(e,l,u,c)}else i&&(Pu(e,l,i,c),o[t]=void 0)}}const Nu=/(Once|Passive|Capture)$/,Iu=/^on:?(?:Once|Passive|Capture)$/;function Du(e){let t,n;for(;(n=e.match(Nu))&&!Iu.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Wt(e.slice(2)),t]}let zs=0;const Lu=Promise.resolve(),Fu=()=>zs||(Lu.then(()=>zs=0),zs=Date.now());function Mu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(V(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let c=0;c<i.length&&!s._stopped;c++){const u=i[c];u&&Ze(u,t,5,l)}}else Ze(r,t,5,[s])};return n.value=e,n.attached=Fu(),n}const Po=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Uu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ru(e,s,i):t==="style"?Ou(e,n,s):_s(t)?ys(t)||Tu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bu(e,t,s,i))?(xo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Oo(e,t,s,i,o,t!=="value")):e._isVueCE&&(ju(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!pe(s)))?xo(e,Fe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Oo(e,t,s,i))};function Bu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Po(t)&&K(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 Po(t)&&pe(n)?!1:t in e}function ju(e,t){const n=e._def.props;if(!n)return!1;const s=Fe(t);return Array.isArray(n)?n.some(r=>Fe(r)===s):Object.keys(n).some(r=>Fe(r)===s)}const tn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Qn(t,n):t};function Hu(e){e.target.composing=!0}function To(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Rt=Symbol("_assign");function No(e,t,n){return t&&(e=e.trim()),n&&(e=Rs(e)),e}const Tp={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Rt]=tn(r);const o=s||r.props&&r.props.type==="number";Tt(e,t?"change":"input",i=>{i.target.composing||e[Rt](No(e.value,n,o))}),(n||o)&&Tt(e,"change",()=>{e.value=No(e.value,n,o)}),t||(Tt(e,"compositionstart",Hu),Tt(e,"compositionend",To),Tt(e,"change",To))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Rt]=tn(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Rs(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Np={deep:!0,created(e,t,n){e[Rt]=tn(n),Tt(e,"change",()=>{const s=e._modelValue,r=Mn(e),o=e.checked,i=e[Rt];if(V(s)){const l=Cr(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(ln(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Pl(e,o))})},mounted:Io,beforeUpdate(e,t,n){e[Rt]=tn(n),Io(e,t,n)}};function Io(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(V(t))r=Cr(t,s.props.value)>-1;else if(ln(t))r=t.has(s.props.value);else{if(t===n)return;r=cn(t,Pl(e,!0))}e.checked!==r&&(e.checked=r)}const Ip={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=ln(t);Tt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Rs(Mn(i)):Mn(i));e[Rt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,xs(()=>{e._assigning=!1})}),e[Rt]=tn(s)},mounted(e,{value:t}){Do(e,t)},beforeUpdate(e,t,n){e[Rt]=tn(n)},updated(e,{value:t}){e._assigning||Do(e,t)}};function Do(e,t){const n=e.multiple,s=V(t);if(!(n&&!s&&!ln(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],l=Mn(i);if(n)if(s){const c=typeof l;c==="string"||c==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=Cr(t,l)>-1}else i.selected=t.has(l);else if(cn(Mn(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Mn(e){return"_value"in e?e._value:e.value}function Pl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ku=["ctrl","shift","alt","meta"],Vu={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)=>ku.some(n=>e[`${n}Key`]&&!t.includes(n))},Dp=(e,t)=>{if(!e)return e;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=Vu[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},qu=xe({patchProp:Uu},Eu);let Lo;function Wu(){return Lo||(Lo=Ya(qu))}const $u=((...e)=>{const t=Wu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Gu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Ku(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Ku(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Gu(e){return pe(e)?document.querySelector(e):e}/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Tl;const Is=e=>Tl=e,Nl=Symbol();function mr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(xn||(xn={}));function zu(){const e=Oi(!0),t=e.run(()=>Mt({}));let n=[],s=[];const r=Fr({install(o){Is(r),r._a=o,o.provide(Nl,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 Il=()=>{};function Fo(e,t,n,s=Il){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&xi()&&Ic(r),r}function Kt(e,...t){e.slice().forEach(n=>{n(...t)})}const Ju=e=>e(),Mo=Symbol(),Js=Symbol();function gr(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];mr(r)&&mr(s)&&e.hasOwnProperty(n)&&!me(s)&&!wt(s)?e[n]=gr(r,s):e[n]=s}return e}const Xu=Symbol();function Qu(e){return!mr(e)||!e.hasOwnProperty(Xu)}const{assign:Ot}=Object;function Yu(e){return!!(me(e)&&e.effect)}function Zu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const a=ea(n.state.value[e]);return Ot(a,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=Fr(he(()=>{Is(n);const m=n._s.get(e);return i[h].call(m,m)})),f),{}))}return c=Dl(e,u,t,n,s,!0),c}function Dl(e,t,n={},s,r,o){let i;const l=Ot({actions:{}},n),c={deep:!0};let u,a,f=[],h=[],m;const O=s.state.value[e];!o&&!O&&(s.state.value[e]={});let A;function x(G){let z;u=a=!1,typeof G=="function"?(G(s.state.value[e]),z={type:xn.patchFunction,storeId:e,events:m}):(gr(s.state.value[e],G),z={type:xn.patchObject,payload:G,storeId:e,events:m});const Y=A=Symbol();xs().then(()=>{A===Y&&(u=!0)}),a=!0,Kt(f,z,s.state.value[e])}const b=o?function(){const{state:z}=n,Y=z?z():{};this.$patch(ue=>{Ot(ue,Y)})}:Il;function S(){i.stop(),f=[],h=[],s._s.delete(e)}const C=(G,z="")=>{if(Mo in G)return G[Js]=z,G;const Y=function(){Is(s);const ue=Array.from(arguments),we=[],ve=[];function Re($){we.push($)}function je($){ve.push($)}Kt(h,{args:ue,name:Y[Js],store:F,after:Re,onError:je});let te;try{te=G.apply(this&&this.$id===e?this:F,ue)}catch($){throw Kt(ve,$),$}return te instanceof Promise?te.then($=>(Kt(we,$),$)).catch($=>(Kt(ve,$),Promise.reject($))):(Kt(we,te),te)};return Y[Mo]=!0,Y[Js]=z,Y},w={_p:s,$id:e,$onAction:Fo.bind(null,h),$patch:x,$reset:b,$subscribe(G,z={}){const Y=Fo(f,G,z.detached,()=>ue()),ue=i.run(()=>Rn(()=>s.state.value[e],we=>{(z.flush==="sync"?a:u)&&G({storeId:e,type:xn.direct,events:m},we)},Ot({},c,z)));return Y},$dispose:S},F=Hn(w);s._s.set(e,F);const W=(s._a&&s._a.runWithContext||Ju)(()=>s._e.run(()=>(i=Oi()).run(()=>t({action:C}))));for(const G in W){const z=W[G];if(me(z)&&!Yu(z)||wt(z))o||(O&&Qu(z)&&(me(z)?z.value=O[G]:gr(z,O[G])),s.state.value[e][G]=z);else if(typeof z=="function"){const Y=C(z,G);W[G]=Y,l.actions[G]=z}}return Ot(F,W),Ot(ee(F),W),Object.defineProperty(F,"$state",{get:()=>s.state.value[e],set:G=>{x(z=>{Ot(z,G)})}}),s._p.forEach(G=>{Ot(F,i.run(()=>G({store:F,app:s._a,pinia:s,options:l})))}),O&&o&&n.hydrate&&n.hydrate(F.$state,O),u=!0,a=!0,F}/*! #__NO_SIDE_EFFECTS__ */function ef(e,t,n){let s,r;const o=typeof t=="function";s=e,r=o?n:t;function i(l,c){const u=ua();return l=l||(u?ze(Nl,null):null),l&&Is(l),l=Tl,l._s.has(s)||(o?Dl(s,t,r,l):Zu(s,r,l)),l._s.get(s)}return i.$id=s,i}const Ll=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},tf={};function nf(e,t){const n=cr("router-view");return Ct(),Hr(n)}const sf=Ll(tf,[["render",nf]]),rf="modulepreload",of=function(e){return"/admin/"+e},Uo={},lt=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(u=>{if(u=of(u),u in Uo)return;Uo[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=a?"stylesheet":rf,a||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),a)return new Promise((m,O)=>{h.addEventListener("load",m),h.addEventListener("error",()=>O(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)})};/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Jt=typeof document<"u";function Fl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function lf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fl(e.default)}const ne=Object.assign;function Xs(e,t){const n={};for(const s in t){const r=t[s];n[s]=et(r)?r.map(e):e(r)}return n}const Cn=()=>{},et=Array.isArray;function Bo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Ml=/#/g,cf=/&/g,af=/\//g,uf=/=/g,ff=/\?/g,Ul=/\+/g,df=/%5B/g,hf=/%5D/g,Bl=/%5E/g,pf=/%60/g,jl=/%7B/g,mf=/%7C/g,Hl=/%7D/g,gf=/%20/g;function kr(e){return e==null?"":encodeURI(""+e).replace(mf,"|").replace(df,"[").replace(hf,"]")}function _f(e){return kr(e).replace(jl,"{").replace(Hl,"}").replace(Bl,"^")}function _r(e){return kr(e).replace(Ul,"%2B").replace(gf,"+").replace(Ml,"%23").replace(cf,"%26").replace(pf,"`").replace(jl,"{").replace(Hl,"}").replace(Bl,"^")}function yf(e){return _r(e).replace(uf,"%3D")}function bf(e){return kr(e).replace(Ml,"%23").replace(ff,"%3F")}function Ef(e){return bf(e).replace(af,"%2F")}function Un(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const wf=/\/$/,Rf=e=>e.replace(wf,"");function Qs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,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=Of(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Un(i)}}function vf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function jo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Sf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&nn(t.matched[s],n.matched[r])&&kl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Af(e[n],t[n]))return!1;return!0}function Af(e,t){return et(e)?Ho(e,t):et(t)?Ho(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ho(e,t){return et(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Of(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 At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let yr=(function(e){return e.pop="pop",e.push="push",e})({}),Ys=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function xf(e){if(!e)if(Jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Rf(e)}const Cf=/^[^#]+#/;function Pf(e,t){return e.replace(Cf,"#")+t}function Tf(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 Ds=()=>({left:window.scrollX,top:window.scrollY});function Nf(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=Tf(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 ko(e,t){return(history.state?history.state.position-t:-1)+e}const br=new Map;function If(e,t){br.set(e,t)}function Df(e){const t=br.get(e);return br.delete(e),t}function Lf(e){return typeof e=="string"||e&&typeof e=="object"}function Vl(e){return typeof e=="string"||typeof e=="symbol"}let de=(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 ql=Symbol("");de.MATCHER_NOT_FOUND+"",de.NAVIGATION_GUARD_REDIRECT+"",de.NAVIGATION_ABORTED+"",de.NAVIGATION_CANCELLED+"",de.NAVIGATION_DUPLICATED+"";function sn(e,t){return ne(new Error,{type:e,[ql]:!0},t)}function gt(e,t){return e instanceof Error&&ql in e&&(t==null||!!(e.type&t))}const Ff=["params","query","hash"];function Mf(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Ff)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Uf(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(Ul," "),o=r.indexOf("="),i=Un(o<0?r:r.slice(0,o)),l=o<0?null:Un(r.slice(o+1));if(i in t){let c=t[i];et(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Vo(e){let t="";for(let n in e){const s=e[n];if(n=yf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(et(s)?s.map(r=>r&&_r(r)):[s&&_r(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Bf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=et(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const jf=Symbol(""),qo=Symbol(""),Ls=Symbol(""),Vr=Symbol(""),Er=Symbol("");function mn(){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 Pt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=h=>{h===!1?c(sn(de.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):Lf(h)?c(sn(de.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function Zs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Fl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Pt(u,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=lf(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&Pt(h,n,s,i,l,r)()}))}}return o}function Hf(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=>nn(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>nn(u,c))||r.push(c))}return[n,s,r]}/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let kf=()=>location.protocol+"//"+location.host;function Wl(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),jo(l,"")}return jo(n,e)+s+r}function Vf(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const m=Wl(e,location),O=n.value,A=t.value;let x=0;if(h){if(n.value=m,t.value=h,i&&i===O){i=null;return}x=A?h.position-A.position:0}else s(m);r.forEach(b=>{b(n.value,O,{delta:x,type:yr.pop,direction:x?x>0?Ys.forward:Ys.back:Ys.unknown})})};function c(){i=n.value}function u(h){r.push(h);const m=()=>{const O=r.indexOf(h);O>-1&&r.splice(O,1)};return o.push(m),m}function a(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(ne({},h.state,{scroll:Ds()}),"")}}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Wo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ds():null}}function qf(e){const{history:t,location:n}=window,s={value:Wl(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(c,u,a){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:kf()+e+c;try{t[a?"replaceState":"pushState"](u,"",h),r.value=u}catch(m){console.error(m),n[a?"replace":"assign"](h)}}function i(c,u){o(c,ne({},t.state,Wo(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=ne({},r.value,t.state,{forward:c,scroll:Ds()});o(a.current,a,!0),o(c,ne({},Wo(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Wf(e){e=xf(e);const t=qf(e),n=Vf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ne({location:"",base:e,go:s,createHref:Pf.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 Ut=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var be=(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})(be||{});const $f={type:Ut.Static,value:""},Kf=/[a-zA-Z0-9_]/;function Gf(e){if(!e)return[[]];if(e==="/")return[[$f]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=be.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===be.Static?o.push({type:Ut.Static,value:u}):n===be.Param||n===be.ParamRegExp||n===be.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Ut.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==be.ParamRegExp){s=n,n=be.EscapeNext;continue}switch(n){case be.Static:c==="/"?(u&&f(),i()):c===":"?(f(),n=be.Param):h();break;case be.EscapeNext:h(),n=s;break;case be.Param:c==="("?n=be.ParamRegExp:Kf.test(c)?h():(f(),n=be.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case be.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=be.ParamRegExpEnd:a+=c;break;case be.ParamRegExpEnd:f(),n=be.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===be.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),r}const $o="[^/]+?",zf={sensitive:!1,strict:!1,start:!0,end:!0};var De=(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})(De||{});const Jf=/[.+*?^${}()[\]/\\]/g;function Xf(e,t){const n=ne({},zf,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[De.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const h=u[f];let m=De.Segment+(n.sensitive?De.BonusCaseSensitive:0);if(h.type===Ut.Static)f||(r+="/"),r+=h.value.replace(Jf,"\\$&"),m+=De.Static;else if(h.type===Ut.Param){const{value:O,repeatable:A,optional:x,regexp:b}=h;o.push({name:O,repeatable:A,optional:x});const S=b||$o;if(S!==$o){m+=De.BonusCustomRegExp;try{`${S}`}catch(w){throw new Error(`Invalid custom RegExp for param "${O}" (${S}): `+w.message)}}let C=A?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(C=x&&u.length<2?`(?:/${C})`:"/"+C),x&&(C+="?"),r+=C,m+=De.Dynamic,x&&(m+=De.BonusOptional),A&&(m+=De.BonusRepeatable),S===".*"&&(m+=De.BonusWildcard)}a.push(m)}s.push(a)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=De.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(u){const a=u.match(i),f={};if(!a)return null;for(let h=1;h<a.length;h++){const m=a[h]||"",O=o[h-1];f[O.name]=m&&O.repeatable?m.split("/"):m}return f}function c(u){let a="",f=!1;for(const h of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const m of h)if(m.type===Ut.Static)a+=m.value;else if(m.type===Ut.Param){const{value:O,repeatable:A,optional:x}=m,b=O in u?u[O]:"";if(et(b)&&!A)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const S=et(b)?b.join("/"):b;if(!S)if(x)h.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${O}"`);a+=S}}return a||"/"}return{re:i,score:s,keys:o,parse:l,stringify:c}}function Qf(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]===De.Static+De.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===De.Static+De.Segment?1:-1:0}function $l(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Qf(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Ko(s))return 1;if(Ko(r))return-1}return r.length-s.length}function Ko(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Yf={strict:!1,end:!0,sensitive:!1};function Zf(e,t,n){const s=Xf(Gf(e.path),n),r=ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ed(e,t){const n=[],s=new Map;t=Bo(Yf,t);function r(f){return s.get(f)}function o(f,h,m){const O=!m,A=zo(f);A.aliasOf=m&&m.record;const x=Bo(t,f),b=[A];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const F of w)b.push(zo(ne({},A,{components:m?m.record.components:A.components,path:F,aliasOf:m?m.record:A})))}let S,C;for(const w of b){const{path:F}=w;if(h&&F[0]!=="/"){const H=h.record.path,W=H[H.length-1]==="/"?"":"/";w.path=h.record.path+(F&&W+F)}if(S=Zf(w,h,x),m?m.alias.push(S):(C=C||S,C!==S&&C.alias.push(S),O&&f.name&&!Jo(S)&&i(f.name)),Kl(S)&&c(S),A.children){const H=A.children;for(let W=0;W<H.length;W++)o(H[W],S,m&&m.children[W])}m=m||S}return C?()=>{i(C)}:Cn}function i(f){if(Vl(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const h=sd(f,n);n.splice(h,0,f),f.record.name&&!Jo(f)&&s.set(f.record.name,f)}function u(f,h){let m,O={},A,x;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw sn(de.MATCHER_NOT_FOUND,{location:f});x=m.record.name,O=ne(Go(h.params,m.keys.filter(C=>!C.optional).concat(m.parent?m.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&Go(f.params,m.keys.map(C=>C.name))),A=m.stringify(O)}else if(f.path!=null)A=f.path,m=n.find(C=>C.re.test(A)),m&&(O=m.parse(A),x=m.record.name);else{if(m=h.name?s.get(h.name):n.find(C=>C.re.test(h.path)),!m)throw sn(de.MATCHER_NOT_FOUND,{location:f,currentLocation:h});x=m.record.name,O=ne({},h.params,f.params),A=m.stringify(O)}const b=[];let S=m;for(;S;)b.unshift(S.record),S=S.parent;return{name:x,path:A,params:O,matched:b,meta:nd(b)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Go(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function zo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:td(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 td(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 Jo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function nd(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function sd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;$l(e,t[o])<0?s=o:n=o+1}const r=rd(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function rd(e){let t=e;for(;t=t.parent;)if(Kl(t)&&$l(e,t)===0)return t}function Kl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Xo(e){const t=ze(Ls),n=ze(Vr),s=he(()=>{const c=Xe(e.to);return t.resolve(c)}),r=he(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const h=f.findIndex(nn.bind(null,a));if(h>-1)return h;const m=Qo(c[u-2]);return u>1&&Qo(a)===m&&f[f.length-1].path!==m?f.findIndex(nn.bind(null,c[u-2])):h}),o=he(()=>r.value>-1&&ad(n.params,s.value.params)),i=he(()=>r.value>-1&&r.value===n.matched.length-1&&kl(n.params,s.value.params));function l(c={}){if(cd(c)){const u=t[Xe(e.replace)?"replace":"push"](Xe(e.to)).catch(Cn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function od(e){return e.length===1?e[0]:e}const id=Zi({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:Xo,setup(e,{slots:t}){const n=Hn(Xo(e)),{options:s}=ze(Ls),r=he(()=>({[Yo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Yo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&od(t.default(n));return e.custom?o:xl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),ld=id;function cd(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 ad(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(!et(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Qo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Yo=(e,t,n)=>e??t??n,ud=Zi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ze(Er),r=he(()=>e.route||s.value),o=ze(qo,0),i=he(()=>{let u=Xe(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=he(()=>r.value.matched[i.value]);Yn(qo,he(()=>i.value+1)),Yn(jf,l),Yn(Er,r);const c=Mt();return Rn(()=>[c.value,l.value,e.name],([u,a,f],[h,m,O])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===h&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!nn(a,m)||!h)&&(a.enterCallbacks[f]||[]).forEach(A=>A(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,h=f&&f.components[a];if(!h)return Zo(n.default,{Component:h,route:u});const m=f.props[a],O=m?m===!0?u.params:typeof m=="function"?m(u):m:null,x=xl(h,ne({},O,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Zo(n.default,{Component:x,route:u})||x}}});function Zo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const fd=ud;function dd(e){const t=ed(e.routes,e),n=e.parseQuery||Uf,s=e.stringifyQuery||Vo,r=e.history,o=mn(),i=mn(),l=mn(),c=Qc(At);let u=At;Jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Xs.bind(null,v=>""+v),f=Xs.bind(null,Ef),h=Xs.bind(null,Un);function m(v,M){let L,j;return Vl(v)?(L=t.getRecordMatcher(v),j=M):j=v,t.addRoute(j,L)}function O(v){const M=t.getRecordMatcher(v);M&&t.removeRoute(M)}function A(){return t.getRoutes().map(v=>v.record)}function x(v){return!!t.getRecordMatcher(v)}function b(v,M){if(M=ne({},M||c.value),typeof v=="string"){const _=Qs(n,v,M.path),R=t.resolve({path:_.path},M),y=r.createHref(_.fullPath);return ne(_,R,{params:h(R.params),hash:Un(_.hash),redirectedFrom:void 0,href:y})}let L;if(v.path!=null)L=ne({},v,{path:Qs(n,v.path,M.path).path});else{const _=ne({},v.params);for(const R in _)_[R]==null&&delete _[R];L=ne({},v,{params:f(_)}),M.params=f(M.params)}const j=t.resolve(L,M),X=v.hash||"";j.params=a(h(j.params));const d=vf(s,ne({},v,{hash:_f(X),path:j.path})),p=r.createHref(d);return ne({fullPath:d,hash:X,query:s===Vo?Bf(v.query):v.query||{}},j,{redirectedFrom:void 0,href:p})}function S(v){return typeof v=="string"?Qs(n,v,c.value.path):ne({},v)}function C(v,M){if(u!==v)return sn(de.NAVIGATION_CANCELLED,{from:M,to:v})}function w(v){return W(v)}function F(v){return w(ne(S(v),{replace:!0}))}function H(v,M){const L=v.matched[v.matched.length-1];if(L&&L.redirect){const{redirect:j}=L;let X=typeof j=="function"?j(v,M):j;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=S(X):{path:X},X.params={}),ne({query:v.query,hash:v.hash,params:X.path!=null?{}:v.params},X)}}function W(v,M){const L=u=b(v),j=c.value,X=v.state,d=v.force,p=v.replace===!0,_=H(L,j);if(_)return W(ne(S(_),{state:typeof _=="object"?ne({},X,_.state):X,force:d,replace:p}),M||L);const R=L;R.redirectedFrom=M;let y;return!d&&Sf(s,j,L)&&(y=sn(de.NAVIGATION_DUPLICATED,{to:R,from:j}),oe(j,j,!0,!1)),(y?Promise.resolve(y):Y(R,j)).catch(E=>gt(E)?gt(E,de.NAVIGATION_GUARD_REDIRECT)?E:Se(E):Z(E,R,j)).then(E=>{if(E){if(gt(E,de.NAVIGATION_GUARD_REDIRECT))return W(ne({replace:p},S(E.to),{state:typeof E.to=="object"?ne({},X,E.to.state):X,force:d}),M||R)}else E=we(R,j,!0,p,X);return ue(R,j,E),E})}function G(v,M){const L=C(v,M);return L?Promise.reject(L):Promise.resolve()}function z(v){const M=Ke.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(v):v()}function Y(v,M){let L;const[j,X,d]=Hf(v,M);L=Zs(j.reverse(),"beforeRouteLeave",v,M);for(const _ of j)_.leaveGuards.forEach(R=>{L.push(Pt(R,v,M))});const p=G.bind(null,v,M);return L.push(p),J(L).then(()=>{L=[];for(const _ of o.list())L.push(Pt(_,v,M));return L.push(p),J(L)}).then(()=>{L=Zs(X,"beforeRouteUpdate",v,M);for(const _ of X)_.updateGuards.forEach(R=>{L.push(Pt(R,v,M))});return L.push(p),J(L)}).then(()=>{L=[];for(const _ of d)if(_.beforeEnter)if(et(_.beforeEnter))for(const R of _.beforeEnter)L.push(Pt(R,v,M));else L.push(Pt(_.beforeEnter,v,M));return L.push(p),J(L)}).then(()=>(v.matched.forEach(_=>_.enterCallbacks={}),L=Zs(d,"beforeRouteEnter",v,M,z),L.push(p),J(L))).then(()=>{L=[];for(const _ of i.list())L.push(Pt(_,v,M));return L.push(p),J(L)}).catch(_=>gt(_,de.NAVIGATION_CANCELLED)?_:Promise.reject(_))}function ue(v,M,L){l.list().forEach(j=>z(()=>j(v,M,L)))}function we(v,M,L,j,X){const d=C(v,M);if(d)return d;const p=M===At,_=Jt?history.state:{};L&&(j||p?r.replace(v.fullPath,ne({scroll:p&&_&&_.scroll},X)):r.push(v.fullPath,X)),c.value=v,oe(v,M,L,p),Se()}let ve;function Re(){ve||(ve=r.listen((v,M,L)=>{if(!nt.listening)return;const j=b(v),X=H(j,nt.currentRoute.value);if(X){W(ne(X,{replace:!0,force:!0}),j).catch(Cn);return}u=j;const d=c.value;Jt&&If(ko(d.fullPath,L.delta),Ds()),Y(j,d).catch(p=>gt(p,de.NAVIGATION_ABORTED|de.NAVIGATION_CANCELLED)?p:gt(p,de.NAVIGATION_GUARD_REDIRECT)?(W(ne(S(p.to),{force:!0}),j).then(_=>{gt(_,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&!L.delta&&L.type===yr.pop&&r.go(-1,!1)}).catch(Cn),Promise.reject()):(L.delta&&r.go(-L.delta,!1),Z(p,j,d))).then(p=>{p=p||we(j,d,!1),p&&(L.delta&&!gt(p,de.NAVIGATION_CANCELLED)?r.go(-L.delta,!1):L.type===yr.pop&&gt(p,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ue(j,d,p)}).catch(Cn)}))}let je=mn(),te=mn(),$;function Z(v,M,L){Se(v);const j=te.list();return j.length?j.forEach(X=>X(v,M,L)):console.error(v),Promise.reject(v)}function $e(){return $&&c.value!==At?Promise.resolve():new Promise((v,M)=>{je.add([v,M])})}function Se(v){return $||($=!v,Re(),je.list().forEach(([M,L])=>v?L(v):M()),je.reset()),v}function oe(v,M,L,j){const{scrollBehavior:X}=e;if(!Jt||!X)return Promise.resolve();const d=!L&&Df(ko(v.fullPath,0))||(j||!L)&&history.state&&history.state.scroll||null;return xs().then(()=>X(v,M,d)).then(p=>p&&Nf(p)).catch(p=>Z(p,v,M))}const fe=v=>r.go(v);let He;const Ke=new Set,nt={currentRoute:c,listening:!0,addRoute:m,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:A,resolve:b,options:e,push:w,replace:F,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:te.add,isReady:$e,install(v){v.component("RouterLink",ld),v.component("RouterView",fd),v.config.globalProperties.$router=nt,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>Xe(c)}),Jt&&!He&&c.value===At&&(He=!0,w(r.location).catch(j=>{}));const M={};for(const j in At)Object.defineProperty(M,j,{get:()=>c.value[j],enumerable:!0});v.provide(Ls,nt),v.provide(Vr,Vi(M)),v.provide(Er,c);const L=v.unmount;Ke.add(v),v.unmount=function(){Ke.delete(v),Ke.size<1&&(u=At,ve&&ve(),ve=null,c.value=At,He=!1,$=!1),L()}}};function J(v){return v.reduce((M,L)=>M.then(()=>z(L)),Promise.resolve())}return nt}function hd(){return ze(Ls)}function pd(e){return ze(Vr)}function Gl(e,t){return function(){return e.apply(t,arguments)}}const{toString:md}=Object.prototype,{getPrototypeOf:rn}=Object,{iterator:qn,toStringTag:zl}=Symbol,hs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Bn=(e,t)=>{let n=e;const s=[];for(;n!=null&&n!==Object.prototype;){if(s.indexOf(n)!==-1)return!1;if(s.push(n),hs(n,t))return!0;n=rn(n)}return!1},gd=(e,t)=>e!=null&&Bn(e,t)?e[t]:void 0,qr=(e=>t=>{const n=md.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),tt=e=>(e=e.toLowerCase(),t=>qr(t)===e),Fs=e=>t=>typeof t===e,{isArray:Vt}=Array,on=Fs("undefined");function an(e){return e!==null&&!on(e)&&e.constructor!==null&&!on(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jl=tt("ArrayBuffer");function _d(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jl(e.buffer),t}const yd=Fs("string"),Be=Fs("function"),Xl=Fs("number"),un=e=>e!==null&&typeof e=="object",bd=e=>e===!0||e===!1,es=e=>{if(!un(e))return!1;const t=rn(e);return(t===null||t===Object.prototype||rn(t)===null)&&!Bn(e,zl)&&!Bn(e,qn)},Ed=e=>{if(!un(e)||an(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},wd=tt("Date"),Rd=tt("File"),vd=e=>!!(e&&typeof e.uri<"u"),Sd=e=>e&&typeof e.getParts<"u",Ad=tt("Blob"),Od=tt("FileList"),xd=e=>un(e)&&Be(e.pipe);function Cd(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ei=Cd(),ti=typeof ei.FormData<"u"?ei.FormData:void 0,Pd=e=>{if(!e)return!1;if(ti&&e instanceof ti)return!0;const t=rn(e);if(!t||t===Object.prototype||!Be(e.append))return!1;const n=qr(e);return n==="formdata"||n==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"},Td=tt("URLSearchParams"),[Nd,Id,Dd,Ld]=["ReadableStream","Request","Response","Headers"].map(tt),Fd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Vt(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(an(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 Ql(e,t){if(an(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 Bt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Yl=e=>!on(e)&&e!==Bt;function wr(...e){const{caseless:t,skipUndefined:n}=Yl(this)&&this||{},s={},r=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const l=t&&typeof i=="string"&&Ql(s,i)||i,c=hs(s,l)?s[l]:void 0;es(c)&&es(o)?s[l]=wr(c,o):es(o)?s[l]=wr({},o):Vt(o)?s[l]=o.slice():(!n||!on(o))&&(s[l]=o)};for(let o=0,i=e.length;o<i;o++){const l=e[o];if(!l||an(l)||(Wn(l,r),typeof l!="object"||Vt(l)))continue;const c=Object.getOwnPropertySymbols(l);for(let u=0;u<c.length;u++){const a=c[u];Gd.call(l,a)&&r(l[a],a)}}return s}const Md=(e,t,n,{allOwnKeys:s}={})=>(Wn(t,(r,o)=>{n&&Be(r)?Object.defineProperty(e,o,{__proto__:null,value:Gl(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),Ud=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Bd=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},jd=(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&&rn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Hd=(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},kd=e=>{if(!e)return null;if(Vt(e))return e;let t=e.length;if(!Xl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Vd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rn(Uint8Array)),qd=(e,t)=>{const s=(e&&e[qn]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Wd=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},$d=tt("HTMLFormElement"),Kd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),{propertyIsEnumerable:Gd}=Object.prototype,zd=tt("RegExp"),Zl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Wn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Jd=e=>{Zl(e,(t,n)=>{if(Be(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if(Be(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+"'")})}})},Xd=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return Vt(e)?s(e):s(String(e).split(t)),n},Qd=()=>{},Yd=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Zd(e){return!!(e&&Be(e.append)&&e[zl]==="FormData"&&e[qn])}const eh=e=>{const t=new WeakSet,n=s=>{if(un(s)){if(t.has(s))return;if(an(s))return s;if(!("toJSON"in s)){t.add(s);const r=Vt(s)?[]:{};return Wn(s,(o,i)=>{const l=n(o);!on(l)&&(r[i]=l)}),t.delete(s),r}}return s};return n(e)},th=tt("AsyncFunction"),nh=e=>e&&(un(e)||Be(e))&&Be(e.then)&&Be(e.catch),ec=((e,t)=>e?setImmediate:t?((n,s)=>(Bt.addEventListener("message",({source:r,data:o})=>{r===Bt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Bt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Be(Bt.postMessage)),sh=typeof queueMicrotask<"u"?queueMicrotask.bind(Bt):typeof process<"u"&&process.nextTick||ec,tc=e=>e!=null&&Be(e[qn]),rh=e=>e!=null&&Bn(e,qn)&&tc(e),g={isArray:Vt,isArrayBuffer:Jl,isBuffer:an,isFormData:Pd,isArrayBufferView:_d,isString:yd,isNumber:Xl,isBoolean:bd,isObject:un,isPlainObject:es,isEmptyObject:Ed,isReadableStream:Nd,isRequest:Id,isResponse:Dd,isHeaders:Ld,isUndefined:on,isDate:wd,isFile:Rd,isReactNativeBlob:vd,isReactNative:Sd,isBlob:Ad,isRegExp:zd,isFunction:Be,isStream:xd,isURLSearchParams:Td,isTypedArray:Vd,isFileList:Od,forEach:Wn,merge:wr,extend:Md,trim:Fd,stripBOM:Ud,inherits:Bd,toFlatObject:jd,kindOf:qr,kindOfTest:tt,endsWith:Hd,toArray:kd,forEachEntry:qd,matchAll:Wd,isHTMLForm:$d,hasOwnProperty:hs,hasOwnProp:hs,hasOwnInPrototypeChain:Bn,getSafeProp:gd,reduceDescriptors:Zl,freezeMethods:Jd,toObjectSet:Xd,toCamelCase:Kd,noop:Qd,toFiniteNumber:Yd,findKey:Ql,global:Bt,isContextDefined:Yl,isSpecCompliantForm:Zd,toJSONObject:eh,isAsyncFn:th,isThenable:nh,setImmediate:ec,asap:sh,isIterable:tc,isSafeIterable:rh},oh=g.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"]),ih=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]&&oh[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function lh(e){let t=0,n=e.length;for(;t<n;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;n>t;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const ch=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),ah=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Wr(e,t){return g.isArray(e)?e.map(n=>Wr(n,t)):lh(String(e).replace(t,""))}const uh=e=>Wr(e,ch),fh=e=>Wr(e,ah);function nc(e){const t=Object.create(null);return g.forEach(e.toJSON(),(n,s)=>{t[s]=fh(n)}),t}const ni=Symbol("internals");function gn(e){return e&&String(e).trim().toLowerCase()}function ts(e){return e===!1||e==null?e:g.isArray(e)?e.map(ts):uh(String(e))}function dh(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 hh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function er(e,t,n,s,r){if(g.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!g.isString(t)){if(g.isString(s))return t.indexOf(s)!==-1;if(g.isRegExp(s))return s.test(t)}}function ph(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function mh(e,t){const n=g.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let Ne=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=gn(c);if(!a)return;const f=g.findKey(r,a);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||c]=ts(l))}const i=(l,c)=>g.forEach(l,(u,a)=>o(u,a,c));if(g.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(g.isString(t)&&(t=t.trim())&&!hh(t))i(ih(t),n);else if(g.isObject(t)&&g.isSafeIterable(t)){let l=Object.create(null),c,u;for(const a of t){if(!g.isArray(a))throw new TypeError("Object iterator must return a key-value pair");u=a[0],g.hasOwnProp(l,u)?(c=l[u],l[u]=g.isArray(c)?[...c,a[1]]:[c,a[1]]):l[u]=a[1]}i(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=gn(t),t){const s=g.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return dh(r);if(g.isFunction(n))return n.call(this,r,s);if(g.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gn(t),t){const s=g.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||er(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=gn(i),i){const l=g.findKey(s,i);l&&(!n||er(s,s[l],l,n))&&(delete s[l],r=!0)}}return g.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||er(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return g.forEach(this,(r,o)=>{const i=g.findKey(s,o);if(i){n[i]=ts(r),delete n[o];return}const l=t?ph(o):String(o).trim();l!==o&&delete n[o],n[l]=ts(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return g.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&g.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[ni]=this[ni]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=gn(i);s[l]||(mh(r,i),s[l]=!0)}return g.isArray(t)?t.forEach(o):o(t),this}};Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.reduceDescriptors(Ne.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});g.freezeMethods(Ne);const gh="[REDACTED ****]";function _h(e){if(g.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(g.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function yh(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),s=[],r=o=>{if(o===null||typeof o!="object"||g.isBuffer(o))return o;if(s.indexOf(o)!==-1)return;o instanceof Ne&&(o=o.toJSON()),s.push(o);let i;if(g.isArray(o))i=[],o.forEach((l,c)=>{const u=r(l);g.isUndefined(u)||(i[c]=u)});else{if(!g.isPlainObject(o)&&_h(o))return s.pop(),o;i=Object.create(null);for(const[l,c]of Object.entries(o)){const u=n.has(l.toLowerCase())?gh:r(c);g.isUndefined(u)||(i[l]=u)}}return s.pop(),i};return r(e)}let D=class sc extends Error{static from(t,n,s,r,o,i){const l=new sc(t.message,n||t.code,s,r,o);return Object.defineProperty(l,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),i&&Object.assign(l,i),l}constructor(t,n,s,r,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&g.hasOwnProp(t,"redact")?t.redact:void 0,s=g.isArray(n)&&n.length>0?yh(t,n):g.toJSONObject(t);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:s,code:this.code,status:this.status}}};D.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";D.ERR_BAD_OPTION="ERR_BAD_OPTION";D.ECONNABORTED="ECONNABORTED";D.ETIMEDOUT="ETIMEDOUT";D.ECONNREFUSED="ECONNREFUSED";D.ERR_NETWORK="ERR_NETWORK";D.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";D.ERR_DEPRECATED="ERR_DEPRECATED";D.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";D.ERR_BAD_REQUEST="ERR_BAD_REQUEST";D.ERR_CANCELED="ERR_CANCELED";D.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";D.ERR_INVALID_URL="ERR_INVALID_URL";D.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const bh=null,rc=100;function Rr(e){return g.isPlainObject(e)||g.isArray(e)}function oc(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function tr(e,t,n){return e?e.concat(t).map(function(r,o){return r=oc(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Eh(e){return g.isArray(e)&&!e.some(Rr)}const wh=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function Ms(e,t,n){if(!g.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=g.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,C){return!g.isUndefined(C[S])});const s=n.metaTokens,r=n.visitor||O,o=n.dots,i=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,c=n.maxDepth===void 0?rc:n.maxDepth,u=l&&g.isSpecCompliantForm(t),a=[];if(!g.isFunction(r))throw new TypeError("visitor must be a function");function f(b){if(b===null)return"";if(g.isDate(b))return b.toISOString();if(g.isBoolean(b))return b.toString();if(!u&&g.isBlob(b))throw new D("Blob is not supported. Use a Buffer instead.");if(g.isArrayBuffer(b)||g.isTypedArray(b)){if(u&&typeof l=="function")return new l([b]);if(typeof Buffer<"u")return Buffer.from(b);throw new D("Blob is not supported. Use a Buffer instead.",D.ERR_NOT_SUPPORT)}return b}function h(b){if(b>c)throw new D("Object is too deeply nested ("+b+" levels). Max depth: "+c,D.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(b,S){if(c===1/0)return JSON.stringify(b);const C=[];return JSON.stringify(b,function(F,H){if(!g.isObject(H))return H;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(H),h(S+C.length-1),H})}function O(b,S,C){let w=b;if(g.isReactNative(t)&&g.isReactNativeBlob(b))return t.append(tr(C,S,o),f(b)),!1;if(b&&!C&&typeof b=="object"){if(g.endsWith(S,"{}"))S=s?S:S.slice(0,-2),b=m(b,1);else if(g.isArray(b)&&Eh(b)||(g.isFileList(b)||g.endsWith(S,"[]"))&&(w=g.toArray(b)))return S=oc(S),w.forEach(function(H,W){!(g.isUndefined(H)||H===null)&&t.append(i===!0?tr([S],W,o):i===null?S:S+"[]",f(H))}),!1}return Rr(b)?!0:(t.append(tr(C,S,o),f(b)),!1)}const A=Object.assign(wh,{defaultVisitor:O,convertValue:f,isVisitable:Rr});function x(b,S,C=0){if(!g.isUndefined(b)){if(h(C),a.indexOf(b)!==-1)throw new Error("Circular reference detected in "+S.join("."));a.push(b),g.forEach(b,function(F,H){(!(g.isUndefined(F)||F===null)&&r.call(t,F,g.isString(H)?H.trim():H,S,A))===!0&&x(F,S?S.concat(H):[H],C+1)}),a.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return x(e),t}function si(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function $r(e,t){this._pairs=[],e&&Ms(e,this,t)}const ic=$r.prototype;ic.append=function(t,n){this._pairs.push([t,n])};ic.toString=function(t){const n=t?s=>t.call(this,s,si):si;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Rh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lc(e,t,n){if(!t)return e;e=e||"";const s=g.isFunction(n)?{serialize:n}:n,r=g.getSafeProp(s,"encode")||Rh,o=g.getSafeProp(s,"serialize");let i;if(o?i=o(t,s):i=g.isURLSearchParams(t)?t.toString():new $r(t,s).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ri{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){g.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Kr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},vh=typeof URLSearchParams<"u"?URLSearchParams:$r,Sh=typeof FormData<"u"?FormData:null,Ah=typeof Blob<"u"?Blob:null,Oh={isBrowser:!0,classes:{URLSearchParams:vh,FormData:Sh,Blob:Ah},protocols:["http","https","file","blob","url","data"]},Gr=typeof window<"u"&&typeof document<"u",vr=typeof navigator=="object"&&navigator||void 0,xh=Gr&&(!vr||["ReactNative","NativeScript","NS"].indexOf(vr.product)<0),Ch=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ph=Gr&&window.location.href||"http://localhost",Th=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Gr,hasStandardBrowserEnv:xh,hasStandardBrowserWebWorkerEnv:Ch,navigator:vr,origin:Ph},Symbol.toStringTag,{value:"Module"})),Oe={...Th,...Oh};function Nh(e,t){return Ms(e,new Oe.classes.URLSearchParams,{visitor:function(n,s,r,o){return Oe.isNode&&g.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const oi=rc;function cc(e){if(e>oi)throw new D("FormData field is too deeply nested ("+e+" levels). Max depth: "+oi,D.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Ih(e){const t=[],n=/\w+|\[(\w*)]/g;let s;for(;(s=n.exec(e))!==null;)cc(t.length),t.push(s[0]==="[]"?"":s[1]||s[0]);return t}function Dh(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 ac(e){function t(n,s,r,o){cc(o);let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),c=o>=n.length;return i=!i&&g.isArray(r)?r.length:i,c?(g.hasOwnProp(r,i)?r[i]=g.isArray(r[i])?r[i].concat(s):[r[i],s]:r[i]=s,!l):((!g.hasOwnProp(r,i)||!g.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&g.isArray(r[i])&&(r[i]=Dh(r[i])),!l)}if(g.isFormData(e)&&g.isFunction(e.entries)){const n={};return g.forEachEntry(e,(s,r)=>{t(Ih(s),r,n,0)}),n}return null}const Gt=(e,t)=>e!=null&&g.hasOwnProp(e,t)?e[t]:void 0;function Lh(e,t,n){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const $n={transitional:Kr,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=g.isObject(t);if(o&&g.isHTMLForm(t)&&(t=new FormData(t)),g.isFormData(t))return r?JSON.stringify(ac(t)):t;if(g.isArrayBuffer(t)||g.isBuffer(t)||g.isStream(t)||g.isFile(t)||g.isBlob(t)||g.isReadableStream(t))return t;if(g.isArrayBufferView(t))return t.buffer;if(g.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){const c=Gt(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return Nh(t,c).toString();if((l=g.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=Gt(this,"env"),a=u&&u.FormData;return Ms(l?{"files[]":t}:t,a&&new a,c)}}return o||r?(n.setContentType("application/json",!1),Lh(t)):t}],transformResponse:[function(t){const n=Gt(this,"transitional")||$n.transitional,s=n&&n.forcedJSONParsing,r=Gt(this,"responseType"),o=r==="json";if(g.isResponse(t)||g.isReadableStream(t))return t;if(t&&g.isString(t)&&(s&&!r||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,Gt(this,"parseReviver"))}catch(c){if(l)throw c.name==="SyntaxError"?D.from(c,D.ERR_BAD_RESPONSE,this,null,Gt(this,"response")):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch","query"],e=>{$n.headers[e]={}});function nr(e,t){const n=this||$n,s=t||n,r=Ne.from(s.headers);let o=s.data;return g.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function uc(e){return!!(e&&e.__CANCEL__)}let Kn=class extends D{constructor(t,n,s){super(t??"canceled",D.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function fc(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new D("Request failed with status code "+n.status,n.status>=400&&n.status<500?D.ERR_BAD_REQUEST:D.ERR_BAD_RESPONSE,n.config,n.request,n))}function Fh(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Mh(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(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let f=o,h=0;for(;f!==r;)h+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i<t)return;const m=a&&u-a;return m?Math.round(h*1e3/m):void 0}}function Uh(e,t){let n=0,s=1e3/t,r,o;const i=(u,a=Date.now())=>{n=a,r=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const a=Date.now(),f=a-n;f>=s?i(u,a):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const ps=(e,t,n=3)=>{let s=0;const r=Mh(50,250);return Uh(o=>{if(!o||typeof o.loaded!="number")return;const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=l!=null?Math.min(i,l):i,u=Math.max(0,c-s),a=r(u);s=Math.max(s,c);const f={loaded:c,total:l,progress:l?c/l:void 0,bytes:u,rate:a||void 0,estimated:a&&l?(l-c)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},ii=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},li=e=>(...t)=>g.asap(()=>e(...t)),Bh=Oe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Oe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Oe.origin),Oe.navigator&&/(msie|trident)/i.test(Oe.navigator.userAgent)):()=>!0,jh=Oe.hasStandardBrowserEnv?{write(e,t,n,s,r,o,i){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];g.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),g.isString(s)&&l.push(`path=${s}`),g.isString(r)&&l.push(`domain=${r}`),o===!0&&l.push("secure"),g.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const s=t[n].replace(/^\s+/,""),r=s.indexOf("=");if(r!==-1&&s.slice(0,r)===e)try{return decodeURIComponent(s.slice(r+1))}catch{return s.slice(r+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Hh(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const Vh=/^https?:(?!\/\/)/i,qh=/[\t\n\r]/g;function Wh(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function $h(e){return Wh(e).replace(qh,"")}function ci(e,t){if(typeof e=="string"&&Vh.test($h(e)))throw new D('Invalid URL: missing "//" after protocol',D.ERR_INVALID_URL,t)}function dc(e,t,n,s){ci(t,s);let r=!Hh(t);return e&&(r||n===!1)?(ci(e,s),kh(e,t)):t}const ai=e=>e instanceof Ne?{...e}:e;function qt(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(a,f,h,m){return g.isPlainObject(a)&&g.isPlainObject(f)?g.merge.call({caseless:m},a,f):g.isPlainObject(f)?g.merge({},f):g.isArray(f)?f.slice():f}function r(a,f,h,m){if(g.isUndefined(f)){if(!g.isUndefined(a))return s(void 0,a,h,m)}else return s(a,f,h,m)}function o(a,f){if(!g.isUndefined(f))return s(void 0,f)}function i(a,f){if(g.isUndefined(f)){if(!g.isUndefined(a))return s(void 0,a)}else return s(void 0,f)}function l(a){const f=g.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!g.isUndefined(f))if(g.isPlainObject(f)){if(g.hasOwnProp(f,a))return f[a]}else return;const h=g.hasOwnProp(e,"transitional")?e.transitional:void 0;if(g.isPlainObject(h)&&g.hasOwnProp(h,a))return h[a]}function c(a,f,h){if(g.hasOwnProp(t,h))return s(a,f);if(g.hasOwnProp(e,h))return s(void 0,a)}const u={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,allowedSocketPaths:i,responseEncoding:i,validateStatus:c,headers:(a,f,h)=>r(ai(a),ai(f),h,!0)};return g.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const h=g.hasOwnProp(u,f)?u[f]:r,m=g.hasOwnProp(e,f)?e[f]:void 0,O=g.hasOwnProp(t,f)?t[f]:void 0,A=h(m,O,f);g.isUndefined(A)&&h!==c||(n[f]=A)}),g.hasOwnProp(t,"validateStatus")&&g.isUndefined(t.validateStatus)&&l("validateStatusUndefinedResolves")===!1&&(g.hasOwnProp(e,"validateStatus")?n.validateStatus=s(void 0,e.validateStatus):delete n.validateStatus),n}const Kh=["content-type","content-length"];function Gh(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([s,r])=>{Kh.includes(s.toLowerCase())&&e.set(s,r)})}const zh=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function hc(e){const t=qt({},e),n=h=>g.hasOwnProp(t,h)?t[h]:void 0,s=n("data");let r=n("withXSRFToken");const o=n("xsrfHeaderName"),i=n("xsrfCookieName");let l=n("headers");const c=n("auth"),u=n("baseURL"),a=n("allowAbsoluteUrls"),f=n("url");if(t.headers=l=Ne.from(l),t.url=lc(dc(u,f,a,t),n("params"),n("paramsSerializer")),c){const h=g.getSafeProp(c,"username")||"",m=g.getSafeProp(c,"password")||"";try{l.set("Authorization","Basic "+btoa(h+":"+(m?zh(m):"")))}catch(O){throw D.from(O,D.ERR_BAD_OPTION_VALUE,e)}}if(g.isFormData(s)&&(Oe.hasStandardBrowserEnv||Oe.hasStandardBrowserWebWorkerEnv||g.isReactNative(s)?l.setContentType(void 0):g.isFunction(s.getHeaders)&&Gh(l,s.getHeaders(),n("formDataHeaderPolicy"))),Oe.hasStandardBrowserEnv&&(g.isFunction(r)&&(r=r(t)),r===!0||r==null&&Bh(t.url))){const m=o&&i&&jh.read(i);m&&l.set(o,m)}return t}const Jh=typeof XMLHttpRequest<"u",Xh=Jh&&function(e){return new Promise(function(n,s){const r=hc(e);let o=r.data;const i=Ne.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=r,a,f,h,m,O;function A(){m&&m(),O&&O(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let x=new XMLHttpRequest;x.open(r.method.toUpperCase(),r.url,!0),x.timeout=r.timeout;function b(){if(!x)return;const C=Ne.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),F={data:!l||l==="text"||l==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:C,config:e,request:x};fc(function(W){n(W),A()},function(W){s(W),A()},F),x=null}"onloadend"in x?x.onloadend=b:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.startsWith("file:"))||setTimeout(b)},x.onabort=function(){x&&(s(new D("Request aborted",D.ECONNABORTED,e,x)),A(),x=null)},x.onerror=function(w){const F=w&&w.message?w.message:"Network Error",H=new D(F,D.ERR_NETWORK,e,x);H.event=w||null,s(H),A(),x=null},x.ontimeout=function(){let w=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const F=r.transitional||Kr;r.timeoutErrorMessage&&(w=r.timeoutErrorMessage),s(new D(w,F.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,e,x)),A(),x=null},o===void 0&&i.setContentType(null),"setRequestHeader"in x&&g.forEach(nc(i),function(w,F){x.setRequestHeader(F,w)}),g.isUndefined(r.withCredentials)||(x.withCredentials=!!r.withCredentials),l&&l!=="json"&&(x.responseType=r.responseType),u&&([h,O]=ps(u,!0),x.addEventListener("progress",h)),c&&x.upload&&([f,m]=ps(c),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=C=>{x&&(s(!C||C.type?new Kn(null,e,x):C),x.abort(),A(),x=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const S=Fh(r.url);if(S&&!Oe.protocols.includes(S)){s(new D("Unsupported protocol "+S+":",D.ERR_BAD_REQUEST,e)),A();return}x.send(o||null)})},Qh=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let s=!1;const r=function(c){if(!s){s=!0,i();const u=c instanceof Error?c:this.reason;n.abort(u instanceof D?u:new Kn(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,r(new D(`timeout of ${t}ms exceeded`,D.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>c.addEventListener("abort",r,{once:!0}));const{signal:l}=n;return l.unsubscribe=()=>g.asap(i),l},Yh=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},Zh=async function*(e,t){for await(const n of ep(e))yield*Yh(n,t)},ep=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()}},ui=(e,t,n,s)=>{const r=Zh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:u,value:a}=await r.next();if(u){l(),c.close();return}let f=a.byteLength;if(n){let h=o+=f;n(h)}c.enqueue(new Uint8Array(a))}catch(u){throw l(u),u}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},ms=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,tp=(e,t,n)=>t+2<n&&ms(e.charCodeAt(t+1))&&ms(e.charCodeAt(t+2));function np(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(n)){let i=s.length;const l=s.length;for(let m=0;m<l;m++)if(s.charCodeAt(m)===37&&m+2<l){const O=s.charCodeAt(m+1),A=s.charCodeAt(m+2);ms(O)&&ms(A)&&(i-=2,m+=2)}let c=0,u=l-1;const a=m=>m>=2&&s.charCodeAt(m-2)===37&&s.charCodeAt(m-1)===51&&(s.charCodeAt(m)===68||s.charCodeAt(m)===100);u>=0&&(s.charCodeAt(u)===61?(c++,u--):a(u)&&(c++,u-=3)),c===1&&u>=0&&(s.charCodeAt(u)===61||a(u))&&c++;const h=Math.floor(i/4)*3-(c||0);return h>0?h:0}let o=0;for(let i=0,l=s.length;i<l;i++){const c=s.charCodeAt(i);if(c===37&&tp(s,i,l))o+=1,i+=2;else if(c<128)o+=1;else if(c<2048)o+=2;else if(c>=55296&&c<=56319&&i+1<l){const u=s.charCodeAt(i+1);u>=56320&&u<=57343?(o+=4,i++):o+=3}else o+=3}return o}const zr="1.18.1",fi=64*1024,{isFunction:Xn}=g,sp=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),di=e=>{if(!g.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},hi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},rp=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},op=e=>{const t=g.global!==void 0&&g.global!==null?g.global:globalThis,{ReadableStream:n,TextEncoder:s}=t;e=g.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:o,Response:i}=e,l=r?Xn(r):typeof fetch=="function",c=Xn(o),u=Xn(i);if(!l)return!1;const a=l&&Xn(n),f=l&&(typeof s=="function"?(b=>S=>b.encode(S))(new s):async b=>new Uint8Array(await new o(b).arrayBuffer())),h=c&&a&&hi(()=>{let b=!1;const S=new o(Oe.origin,{body:new n,method:"POST",get duplex(){return b=!0,"half"}}),C=S.headers.has("Content-Type");return S.body!=null&&S.body.cancel(),b&&!C}),m=u&&a&&hi(()=>g.isReadableStream(new i("").body)),O={stream:m&&(b=>b.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!O[b]&&(O[b]=(S,C)=>{let w=S&&S[b];if(w)return w.call(S);throw new D(`Response type '${b}' is not supported`,D.ERR_NOT_SUPPORT,C)})});const A=async b=>{if(b==null)return 0;if(g.isBlob(b))return b.size;if(g.isSpecCompliantForm(b))return(await new o(Oe.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(g.isArrayBufferView(b)||g.isArrayBuffer(b))return b.byteLength;if(g.isURLSearchParams(b)&&(b=b+""),g.isString(b))return(await f(b)).byteLength},x=async(b,S)=>{const C=g.toFiniteNumber(b.getContentLength());return C??A(S)};return async b=>{let{url:S,method:C,data:w,signal:F,cancelToken:H,timeout:W,onDownloadProgress:G,onUploadProgress:z,responseType:Y,headers:ue,withCredentials:we="same-origin",fetchOptions:ve,maxContentLength:Re,maxBodyLength:je}=hc(b);const te=g.isNumber(Re)&&Re>-1,$=g.isNumber(je)&&je>-1,Z=J=>g.hasOwnProp(b,J)?b[J]:void 0;let $e=r||fetch;Y=Y?(Y+"").toLowerCase():"text";let Se=Qh([F,H&&H.toAbortSignal()],W),oe=null;const fe=Se&&Se.unsubscribe&&(()=>{Se.unsubscribe()});let He,Ke=null;const nt=()=>new D("Request body larger than maxBodyLength limit",D.ERR_BAD_REQUEST,b,oe);try{let J;const v=Z("auth");if(v){const y=g.getSafeProp(v,"username")||"",E=g.getSafeProp(v,"password")||"";J={username:y,password:E}}if(rp(S)){const y=new URL(S,Oe.origin);if(!J&&(y.username||y.password)){const E=di(y.username),I=di(y.password);J={username:E,password:I}}(y.username||y.password)&&(y.username="",y.password="",S=y.href)}if(J&&(ue.delete("authorization"),ue.set("Authorization","Basic "+btoa(sp((J.username||"")+":"+(J.password||""))))),te&&typeof S=="string"&&S.startsWith("data:")&&np(S)>Re)throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,b,oe);if($&&C!=="get"&&C!=="head"){const y=await A(w);if(typeof y=="number"&&isFinite(y)&&(He=y,y>je))throw nt()}const M=$&&(g.isReadableStream(w)||g.isStream(w)),L=(y,E,I)=>ui(y,fi,T=>{if($&&T>je)throw Ke=nt();E&&E(T)},I);if(h&&C!=="get"&&C!=="head"&&(z||M)){if(He=He??await x(ue,w),He!==0||M){let y=new o(S,{method:"POST",body:w,duplex:"half"}),E;if(g.isFormData(w)&&(E=y.headers.get("content-type"))&&ue.setContentType(E),y.body){const[I,T]=z&&ii(He,ps(li(z)))||[];w=L(y.body,I,T)}}}else if(M&&!c&&a&&C!=="get"&&C!=="head")w=L(w);else if(M&&c&&!h&&C!=="get"&&C!=="head")throw new D("Stream request bodies are not supported by the current fetch implementation",D.ERR_NOT_SUPPORT,b,oe);g.isString(we)||(we=we?"include":"omit");const j=c&&"credentials"in o.prototype;if(g.isFormData(w)){const y=ue.getContentType();y&&/^multipart\/form-data/i.test(y)&&!/boundary=/i.test(y)&&ue.delete("content-type")}ue.set("User-Agent","axios/"+zr,!1);const X={...ve,signal:Se,method:C.toUpperCase(),headers:nc(ue.normalize()),body:w,duplex:"half",credentials:j?we:void 0};oe=c&&new o(S,X);let d=await(c?$e(oe,ve):$e(S,X));const p=Ne.from(d.headers);if(te){const y=g.toFiniteNumber(p.getContentLength());if(y!=null&&y>Re)throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,b,oe)}const _=m&&(Y==="stream"||Y==="response");if(m&&d.body&&(G||te||_&&fe)){const y={};["status","statusText","headers"].forEach(B=>{y[B]=d[B]});const E=g.toFiniteNumber(p.getContentLength()),[I,T]=G&&ii(E,ps(li(G),!0))||[];let N=0;const P=B=>{if(te&&(N=B,N>Re))throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,b,oe);I&&I(B)};d=new i(ui(d.body,fi,P,()=>{T&&T(),fe&&fe()}),y)}Y=Y||"text";let R=await O[g.findKey(O,Y)||"text"](d,b);if(te&&!m&&!_){let y;if(R!=null&&(typeof R.byteLength=="number"?y=R.byteLength:typeof R.size=="number"?y=R.size:typeof R=="string"&&(y=typeof s=="function"?new s().encode(R).byteLength:R.length)),typeof y=="number"&&y>Re)throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,b,oe)}return!_&&fe&&fe(),await new Promise((y,E)=>{fc(y,E,{data:R,headers:Ne.from(d.headers),status:d.status,statusText:d.statusText,config:b,request:oe})})}catch(J){if(fe&&fe(),Se&&Se.aborted&&Se.reason instanceof D){const v=Se.reason;throw v.config=b,oe&&(v.request=oe),J!==v&&Object.defineProperty(v,"cause",{__proto__:null,value:J,writable:!0,enumerable:!1,configurable:!0}),v}if(Ke)throw oe&&!Ke.request&&(Ke.request=oe),Ke;if(J instanceof D)throw oe&&!J.request&&(J.request=oe),J;if(J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)){const v=new D("Network Error",D.ERR_NETWORK,b,oe,J&&J.response);throw Object.defineProperty(v,"cause",{__proto__:null,value:J.cause||J,writable:!0,enumerable:!1,configurable:!0}),v}throw D.from(J,J&&J.code,b,oe,J&&J.response)}}},ip=new Map,pc=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,o=[s,r,n];let i=o.length,l=i,c,u,a=ip;for(;l--;)c=o[l],u=a.get(c),u===void 0&&a.set(c,u=l?new Map:op(t)),a=u;return u};pc();const Jr={http:bh,xhr:Xh,fetch:{get:pc}};g.forEach(Jr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const pi=e=>`- ${e}`,lp=e=>g.isFunction(e)||e===null||e===!1;function cp(e,t){e=g.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,!lp(s)&&(r=Jr[(l=String(s)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${l}'`);if(r&&(g.isFunction(r)||(r=r.get(t))))break;o[l||"#"+i]=r}if(!r){const i=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
`+i.map(pi).join(`
`):" "+pi(i[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+l,D.ERR_NOT_SUPPORT)}return r}const mc={getAdapter:cp,adapters:Jr};function sr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Kn(null,e)}function mi(e){return sr(e),e.headers=Ne.from(e.headers),e.data=nr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),mc.getAdapter(e.adapter||$n.adapter,e)(e).then(function(s){sr(e),e.response=s;try{s.data=nr.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=Ne.from(s.headers),s},function(s){if(!uc(s)&&(sr(e),s&&s.response)){e.response=s.response;try{s.response.data=nr.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=Ne.from(s.response.headers)}return Promise.reject(s)})}const Us={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Us[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gi={};Us.transitional=function(t,n,s){function r(o,i){return"[Axios v"+zr+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new D(r(i," has been removed"+(n?" in "+n:"")),D.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}};Us.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function ap(e,t,n){if(typeof e!="object"||e===null)throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new D("option "+o+" must be "+c,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+o,D.ERR_BAD_OPTION)}}const ns={assertOptions:ap,validators:Us},Ce=ns.validators;let kt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ri,response:new ri}}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=(()=>{if(!r.stack)return"";const i=r.stack.indexOf(`
`);return i===-1?"":r.stack.slice(i+1)})();try{if(!s.stack)s.stack=o;else if(o){const i=o.indexOf(`
`),l=i===-1?-1:o.indexOf(`
`,i+1),c=l===-1?"":o.slice(l+1);String(s.stack).endsWith(c)||(s.stack+=`
`+o)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ns.assertOptions(s,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean),legacyInterceptorReqResOrdering:Ce.transitional(Ce.boolean),advertiseZstdAcceptEncoding:Ce.transitional(Ce.boolean),validateStatusUndefinedResolves:Ce.transitional(Ce.boolean)},!1),r!=null&&(g.isFunction(r)?n.paramsSerializer={serialize:r}:ns.assertOptions(r,{encode:Ce.function,serialize:Ce.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ns.assertOptions(n,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&g.merge(o.common,o[n.method]);o&&g.forEach(["delete","get","head","post","put","patch","query","common"],O=>{delete o[O]}),n.headers=Ne.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(A){if(typeof A.runWhen=="function"&&A.runWhen(n)===!1)return;c=c&&A.synchronous;const x=n.transitional||Kr;x&&x.legacyInterceptorReqResOrdering?l.unshift(A.fulfilled,A.rejected):l.push(A.fulfilled,A.rejected)});const u=[];this.interceptors.response.forEach(function(A){u.push(A.fulfilled,A.rejected)});let a,f=0,h;if(!c){const O=[mi.bind(this),void 0];for(O.unshift(...l),O.push(...u),h=O.length,a=Promise.resolve(n);f<h;)a=a.then(O[f++],O[f++]);return a}h=l.length;let m=n;for(;f<h;){const O=l[f++],A=l[f++];try{m=O(m)}catch(x){A.call(this,x);break}}try{a=mi.call(this,m)}catch(O){return Promise.reject(O)}for(f=0,h=u.length;f<h;)a=a.then(u[f++],u[f++]);return a}getUri(t){t=qt(this.defaults,t);const n=dc(t.baseURL,t.url,t.allowAbsoluteUrls,t);return lc(n,t.params,t.paramsSerializer)}};g.forEach(["delete","get","head","options"],function(t){kt.prototype[t]=function(n,s){return this.request(qt(s||{},{method:t,url:n,data:s&&g.hasOwnProp(s,"data")?s.data:void 0}))}});g.forEach(["post","put","patch","query"],function(t){function n(s){return function(o,i,l){return this.request(qt(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}kt.prototype[t]=n(),t!=="query"&&(kt.prototype[t+"Form"]=n(!0))});let up=class gc{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 Kn(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 gc(function(r){t=r}),cancel:t}}};function fp(e){return function(n){return e.apply(null,n)}}function dp(e){return g.isObject(e)&&e.isAxiosError===!0}const Sr={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(Sr).forEach(([e,t])=>{Sr[t]=e});function _c(e){const t=new kt(e),n=Gl(kt.prototype.request,t);return g.extend(n,kt.prototype,t,{allOwnKeys:!0}),g.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return _c(qt(e,r))},n}const _e=_c($n);_e.Axios=kt;_e.CanceledError=Kn;_e.CancelToken=up;_e.isCancel=uc;_e.VERSION=zr;_e.toFormData=Ms;_e.AxiosError=D;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=fp;_e.isAxiosError=dp;_e.mergeConfig=qt;_e.AxiosHeaders=Ne;_e.formToJSON=e=>ac(g.isHTMLForm(e)?new FormData(e):e);_e.getAdapter=mc.getAdapter;_e.HttpStatusCode=Sr;_e.default=_e;const{Axios:Up,AxiosError:Bp,CanceledError:jp,isCancel:Hp,CancelToken:kp,VERSION:Vp,all:qp,Cancel:Wp,isAxiosError:$p,spread:Kp,toFormData:Gp,AxiosHeaders:zp,HttpStatusCode:Jp,formToJSON:Xp,getAdapter:Qp,mergeConfig:Yp,create:Zp}=_e,Pn=_e.create({baseURL:"/api",timeout:6e4});Pn.interceptors.request.use(e=>{const t=localStorage.getItem("admin_token");return t&&(e.headers.Authorization=`Bearer ${t}`),e});Pn.interceptors.response.use(e=>e,e=>{var n,s,r;const t=((s=(n=e.response)==null?void 0:n.data)==null?void 0:s.message)||"请求失败";if(((r=e.response)==null?void 0:r.status)===401){localStorage.removeItem("admin_token");const o="/admin/login".replace(/\/{2,}/g,"/");window.location.pathname.includes("/login")||(window.location.href=o)}return Promise.reject(new Error(t))});const gs=[{code:"dir:overview",name:"概览",type:"dir",children:[{code:"menu:dashboard",name:"数据概览",type:"menu",path:"/dashboard",icon:"📊",children:[]}]},{code:"dir:org",name:"组织架构",type:"dir",children:[{code:"menu:users",name:"用户管理",type:"menu",path:"/users",icon:"👥",children:[{code:"btn:user:create",name:"新增用户",type:"btn"},{code:"btn:user:edit",name:"编辑用户",type:"btn"},{code:"btn:user:reset_password",name:"重置密码",type:"btn"},{code:"btn:user:delete",name:"删除用户",type:"btn"}]},{code:"menu:departments",name:"部门管理",type:"menu",path:"/departments",icon:"🏢",children:[{code:"btn:dept:create",name:"新增部门",type:"btn"},{code:"btn:dept:edit",name:"编辑部门",type:"btn"},{code:"btn:dept:delete",name:"删除部门",type:"btn"}]},{code:"menu:roles",name:"角色管理",type:"menu",path:"/roles",icon:"🛡️",children:[{code:"btn:role:create",name:"新增角色",type:"btn"},{code:"btn:role:edit",name:"编辑角色",type:"btn"},{code:"btn:role:delete",name:"删除角色",type:"btn"}]}]},{code:"dir:business",name:"业务数据",type:"dir",children:[{code:"menu:conversations",name:"会话管理",type:"menu",path:"/conversations",icon:"💬",children:[{code:"btn:conv:view_all",name:"查看全部会话",type:"btn"},{code:"btn:conv:view_subordinate",name:"查看下级部门会话",type:"btn"}]},{code:"menu:memberships",name:"会员等级",type:"menu",path:"/memberships",icon:"⭐",children:[{code:"btn:membership:create",name:"新增会员等级",type:"btn"},{code:"btn:membership:edit",name:"编辑会员等级",type:"btn"},{code:"btn:membership:delete",name:"删除会员等级",type:"btn"}]}]},{code:"dir:system",name:"系统管理",type:"dir",children:[{code:"menu:models",name:"AI 模型",type:"menu",path:"/models",icon:"🤖",children:[{code:"btn:model:create",name:"新增模型",type:"btn"},{code:"btn:model:edit",name:"编辑模型",type:"btn"},{code:"btn:model:delete",name:"删除模型",type:"btn"},{code:"btn:model:test",name:"测试连接",type:"btn"}]},{code:"menu:permissions",name:"权限管理",type:"menu",path:"/permissions",icon:"🔑",children:[{code:"btn:perm:create",name:"新增权限",type:"btn"},{code:"btn:perm:edit",name:"编辑权限",type:"btn"},{code:"btn:perm:delete",name:"删除权限",type:"btn"}]},{code:"menu:settings",name:"系统设置",type:"menu",path:"/settings",icon:"🔧",children:[{code:"btn:settings:save",name:"保存设置",type:"btn"}]}]}];function em(){return{can_access_admin:!1,dirs:[],menus:[],buttons:[]}}function yc(e=gs){const t=[];for(const n of e)for(const s of n.children||[])t.push({...s,dir:n.code,dirName:n.name});return t}function tm(e={}){const t=[];e.can_access_admin&&t.push("后台");for(const n of gs)(e.dirs||[]).includes(n.code)&&t.push(n.name);for(const n of yc())(e.menus||[]).includes(n.code)&&t.push(n.name);return t}const bc=ef("auth",()=>{const e=Mt(localStorage.getItem("admin_token")||""),t=Mt(null),n=Mt(!1),s=Mt(gs),r=he(()=>{var w;return((w=t.value)==null?void 0:w.role_permissions)||{}}),o=he(()=>{var w,F,H;return((w=t.value)==null?void 0:w.role_slug)==="super_admin"||((F=t.value)==null?void 0:F.role)==="admin"&&!((H=t.value)!=null&&H.role_id)}),i=he(()=>{var w;return o.value||((w=t.value)==null?void 0:w.role)==="admin"||!!r.value.can_access_admin}),l=he(()=>!!e.value&&!!t.value),c=he(()=>i.value);function u(w){var H;if(!w||o.value||((H=t.value)==null?void 0:H.role)==="admin")return!0;const F=r.value;return w==="can_access_admin"?!!F.can_access_admin:w.startsWith("dir:")?(F.dirs||[]).includes(w):w.startsWith("menu:")?(F.menus||[]).includes(w):w.startsWith("btn:")?(F.buttons||[]).includes(w):!!F[w]}function a(w){return u(w)}function f(w){return u(w)}function h(w){return u(w)}function m(w){return u(w)}function O(w=[]){return w.some(F=>u(F))}const A=he(()=>yc(s.value).filter(w=>w.code==="menu:conversations"?f("menu:conversations")||h("btn:conv:view_all")||h("btn:conv:view_subordinate")||a("can_view_all_conversations")||a("can_view_subordinate_conversations"):f(w.code)));async function x(){var w,F;try{const H=await Pn.get("/admin/permissions/tree");(F=(w=H.data.data)==null?void 0:w.tree)!=null&&F.length&&(s.value=H.data.data.tree)}catch{}}async function b(){if(e.value)try{const w=await Pn.get("/auth/me");t.value=w.data.data,i.value?await x():C()}catch{C()}n.value=!0}async function S(w,F){const W=(await Pn.post("/auth/login",{account:w,password:F})).data.data,G=W.user.role_permissions||{};if(!(W.user.role==="admin"||W.user.role_slug==="super_admin"||!!G.can_access_admin))throw new Error("该账号无管理后台访问权限");return e.value=W.token,t.value=W.user,localStorage.setItem("admin_token",e.value),await x(),W}function C(){e.value="",t.value=null,s.value=gs,localStorage.removeItem("admin_token")}return{token:e,user:t,initialized:n,permissions:r,menuTree:s,isLoggedIn:l,isAdmin:c,isSuper:o,canAccessAdmin:i,allowedMenus:A,hasPermission:a,hasCode:u,hasMenu:f,hasButton:h,hasDir:m,hasAny:O,loadMenuTree:x,init:b,login:S,logout:C}}),hp={class:"admin-layout"},pp=["href"],mp={class:"sidebar-nav"},gp={key:0,class:"nav-group-title"},_p={class:"nav-icon"},yp={class:"sidebar-footer"},bp={class:"admin-user"},Ep={class:"avatar"},wp={class:"main-area"},Rp={class:"topbar"},vp={class:"page-title"},Sp=["href"],Ap={class:"main-content"},Op={__name:"AdminLayout",setup(e){const t=pd(),n=hd(),s=bc(),r=Mt(!1),o=he(()=>{const f=s.allowedMenus,h=[];for(const m of f){let O=h.find(A=>A.dir===m.dir);O||(O={dir:m.dir,dirName:m.dirName,items:[]},h.push(O)),O.items.push({path:m.path,label:m.name,icon:m.icon||"📄"})}return h}),i=he(()=>Object.fromEntries(s.allowedMenus.map(f=>[f.path,f.name]))),l=he(()=>i.value[t.path]||"管理后台"),c=he(()=>{var f;return(((f=s.user)==null?void 0:f.username)||"A").charAt(0).toUpperCase()}),u="/";function a(){s.logout(),n.push("/login")}return(f,h)=>{var A,x;const m=cr("router-link"),O=cr("router-view");return Ct(),hn("div",hp,[ge("aside",{class:Tn(["sidebar",{open:r.value}])},[h[3]||(h[3]=ge("div",{class:"sidebar-brand"},[ge("span",{class:"brand-icon"},"⚙️"),ge("span",null,"AI Chat 管理")],-1)),ge("a",{href:Xe(u),target:"_blank",class:"sidebar-member-link"},"← 会员聊天端",8,pp),ge("nav",mp,[(Ct(!0),hn(Ge,null,co(o.value,b=>(Ct(),hn(Ge,{key:b.dir},[b.dirName?(Ct(),hn("div",gp,Lt(b.dirName),1)):iu("",!0),(Ct(!0),hn(Ge,null,co(b.items,S=>(Ct(),Hr(m,{key:S.path,to:S.path,class:"nav-item",onClick:h[0]||(h[0]=C=>r.value=!1)},{default:Xi(()=>[ge("span",_p,Lt(S.icon),1),vl(" "+Lt(S.label),1)]),_:2},1032,["to"]))),128))],64))),128))]),ge("div",yp,[ge("div",bp,[ge("span",Ep,Lt(c.value),1),ge("span",null,Lt(((A=Xe(s).user)==null?void 0:A.nickname)||((x=Xe(s).user)==null?void 0:x.username)),1)]),ge("button",{class:"btn btn-ghost logout-btn",onClick:a},"退出登录")])],2),ge("div",{class:Tn(["sidebar-overlay",{active:r.value}]),onClick:h[1]||(h[1]=b=>r.value=!1)},null,2),ge("div",wp,[ge("header",Rp,[ge("button",{class:"menu-btn",onClick:h[2]||(h[2]=b=>r.value=!0)},"☰"),ge("span",vp,Lt(l.value),1),ge("a",{href:Xe(u),target:"_blank",class:"member-link"},"会员端",8,Sp)]),ge("main",Ap,[Ue(O)])])])}}},xp=Ll(Op,[["__scopeId","data-v-3a6fcb0e"]]),Cp=[{path:"/login",name:"Login",component:()=>lt(()=>import("./LoginView-Dcp3NoQt.js"),__vite__mapDeps([0,1])),meta:{guest:!0}},{path:"/",component:xp,meta:{requiresAuth:!0,requiresAdmin:!0},children:[{path:"",redirect:"/dashboard"},{path:"dashboard",name:"Dashboard",component:()=>lt(()=>import("./DashboardView-41vPTFAh.js"),__vite__mapDeps([2,3])),meta:{menu:"menu:dashboard"}},{path:"users",name:"Users",component:()=>lt(()=>import("./UsersView-CLuVCwZV.js"),__vite__mapDeps([4,5])),meta:{menu:"menu:users"}},{path:"conversations",name:"Conversations",component:()=>lt(()=>import("./ConversationsView-Bt1OyWj5.js"),__vite__mapDeps([6,7])),meta:{menu:"menu:conversations",menuAny:["btn:conv:view_all","btn:conv:view_subordinate","can_view_all_conversations","can_view_subordinate_conversations"]}},{path:"models",name:"Models",component:()=>lt(()=>import("./ModelsView-BBsHmI-q.js"),__vite__mapDeps([8,9])),meta:{menu:"menu:models"}},{path:"memberships",name:"Memberships",component:()=>lt(()=>import("./MembershipsView-CLmkcDlm.js"),__vite__mapDeps([10,11])),meta:{menu:"menu:memberships"}},{path:"roles",name:"Roles",component:()=>lt(()=>import("./RolesView-q7tHl65w.js"),__vite__mapDeps([12,13])),meta:{menu:"menu:roles"}},{path:"departments",name:"Departments",component:()=>lt(()=>import("./DepartmentsView-VeLyrwHF.js"),__vite__mapDeps([14,15])),meta:{menu:"menu:departments"}},{path:"permissions",name:"Permissions",component:()=>lt(()=>import("./PermissionsView-BZrwhSBt.js"),__vite__mapDeps([16,17])),meta:{menu:"menu:permissions"}},{path:"settings",name:"Settings",component:()=>lt(()=>import("./SettingsView-BViEVh3n.js"),__vite__mapDeps([18,19])),meta:{menu:"menu:settings"}}]}],Ec=dd({history:Wf("/admin/"),routes:Cp});Ec.beforeEach(async(e,t,n)=>{const s=bc();if(s.initialized||await s.init(),e.meta.requiresAuth&&!s.isLoggedIn){n({name:"Login",query:{redirect:e.fullPath}});return}if(e.meta.requiresAdmin&&!s.canAccessAdmin){n({name:"Login"});return}if(e.meta.menu&&!(s.hasMenu(e.meta.menu)||e.meta.menuAny&&s.hasAny(e.meta.menuAny))&&e.path!=="/dashboard"){n({path:"/dashboard"});return}if(e.meta.guest&&s.isLoggedIn){n({name:"Dashboard"});return}n()});const Xr=$u(sf);Xr.use(zu());Xr.use(Ec);Xr.mount("#app");export{tm as A,xr as B,Ge as F,Ll as _,ge as a,Pp as b,hn as c,iu as d,hd as e,pd as f,Ea as g,Pn as h,Xe as i,co as j,Ip as k,he as l,Hn as m,Tn as n,Ct as o,Rn as p,xs as q,Mt as r,vl as s,Lt as t,bc as u,Tp as v,Dp as w,Np as x,gs as y,em as z};