39 lines
158 KiB
JavaScript
39 lines
158 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-CtCAQIEV.js","assets/LoginView-BycWRt1o.css","assets/DashboardView-Blc8uZoj.js","assets/DashboardView-CrKn6eyZ.css","assets/UsersView-Yrjk-M7_.js","assets/UsersView-DEyVNuu2.css","assets/GuestsView-DmVc4vO4.js","assets/GuestsView-DdKFyLMY.css","assets/ConversationsView-CuFqjWiS.js","assets/ConversationsView-xgR-qgWJ.css","assets/ModelsView-DhbB-cj_.js","assets/ModelsView-BmX-Az4_.css","assets/MembershipsView-BCg1-kdU.js","assets/MembershipsView-CN-2AC1v.css","assets/RolesView-DWGTFGXG.js","assets/RolesView-YYh6jMJS.css","assets/DepartmentsView-mlBD19L9.js","assets/DepartmentsView-CJeS8X4t.css","assets/InvitationCodesView-BlIcR7Zk.js","assets/InvitationCodesView-hAcJ92ms.css","assets/PermissionsView-BDpApmTb.js","assets/PermissionsView-DipWQRJy.css","assets/SettingsView-b3lrgubW.js","assets/SettingsView-Db3F_1Ym.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 Tr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},Yt=[],ht=()=>{},Oi=()=>!1,Es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),Te=Object.assign,Pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cc=Object.prototype.hasOwnProperty,re=(e,t)=>Cc.call(e,t),V=Array.isArray,en=e=>kn(e)==="[object Map]",un=e=>kn(e)==="[object Set]",io=e=>kn(e)==="[object Date]",K=e=>typeof e=="function",ge=e=>typeof e=="string",Ze=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",xi=e=>(oe(e)||K(e))&&K(e.then)&&K(e.catch),Ci=Object.prototype.toString,kn=e=>Ci.call(e),Tc=e=>kn(e).slice(8,-1),Ti=e=>kn(e)==="[object Object]",ws=e=>ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=Tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Pc=/-\w/g,Ue=Rs(e=>e.replace(Pc,t=>t.slice(1).toUpperCase())),Nc=/\B([A-Z])/g,Wt=Rs(e=>e.replace(Nc,"-$1").toLowerCase()),Ss=Rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vs=Rs(e=>e?`on${Ss(e)}`:""),dt=(e,t)=>!Object.is(e,t),Qn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},As=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let lo;const Os=()=>lo||(lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ge(s)?Mc(s):Nr(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ge(e)||oe(e))return e}const Ic=/;(?![^(]*\))/g,Dc=/:([^]+)/,Lc=/\/\*[^]*?\*\//g;function Mc(e){const t={};return e.replace(Lc,"").split(Ic).forEach(n=>{if(n){const s=n.split(Dc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Vt(e){let t="";if(ge(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=Vt(e[n]);s&&(t+=s+" ")}else if(oe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Uc=Tr(Fc);function Ni(e){return!!e||e===""}function Bc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=fn(e[s],t[s]);return n}function fn(e,t){if(e===t)return!0;let n=io(e),s=io(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ze(e),s=Ze(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?Bc(e,t):!1;if(n=oe(e),s=oe(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||!fn(e[i],t[i]))return!1}}return String(e)===String(t)}function Ir(e,t){return e.findIndex(n=>fn(n,t))}const Ii=e=>!!(e&&e.__v_isRef===!0),Xt=e=>ge(e)?e:e==null?"":V(e)||oe(e)&&(e.toString===Ci||!K(e.toString))?Ii(e)?Xt(e.value):JSON.stringify(e,Di,2):String(e),Di=(e,t)=>Ii(t)?Di(e,t.value):en(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[qs(s,o)+" =>"]=r,n),{})}:un(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qs(n))}:Ze(t)?qs(t):oe(t)&&!V(t)&&!Ti(t)?String(t):t,qs=(e,t="")=>{var n;return Ze(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 ve;class Li{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&&ve&&(ve.active?(this.parent=ve,this.index=(ve.scopes||(ve.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=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){if(this._on>0&&--this._on===0){if(ve===this)ve=this.prevScope;else{let t=ve;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 Mi(e){return new Li(e)}function Fi(){return ve}function jc(e,t=!1){ve&&ve.cleanups.push(e)}let ue;const $s=new WeakSet;class Ui{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,ve&&(ve.active?ve.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,$s.has(this)&&($s.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ji(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,co(this),ki(this);const t=ue,n=Qe;ue=this,Qe=!0;try{return this.fn()}finally{Hi(this),ue=t,Qe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Mr(t);this.deps=this.depsTail=void 0,co(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?$s.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){lr(this)&&this.run()}get dirty(){return lr(this)}}let Bi=0,wn,Rn;function ji(e,t=!1){if(e.flags|=8,t){e.next=Rn,Rn=e;return}e.next=wn,wn=e}function Dr(){Bi++}function Lr(){if(--Bi>0)return;if(Rn){let t=Rn;for(Rn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wn;){let t=wn;for(wn=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 ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Hi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Mr(s),kc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function lr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Vi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Vi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!lr(e))))return;e.flags|=2;const t=e.dep,n=ue,s=Qe;ue=e,Qe=!0;try{ki(e);const r=e.fn(e._value);(t.version===0||dt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ue=n,Qe=s,Hi(e),e.flags&=-3}}function Mr(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)Mr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function kc(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 qi=[];function pt(){qi.push(Qe),Qe=!1}function mt(){const e=qi.pop();Qe=e===void 0?!0:e}function co(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let In=0;class Hc{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 Fr{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(!ue||!Qe||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new Hc(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,$i(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=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=s)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){Dr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Lr()}}}function $i(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)$i(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const os=new WeakMap,jt=Symbol(""),cr=Symbol(""),Dn=Symbol("");function Ne(e,t,n){if(Qe&&ue){let s=os.get(e);s||os.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Fr),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=os.get(e);if(!i){In++;return}const l=c=>{c&&c.trigger()};if(Dr(),t==="clear")i.forEach(l);else{const c=V(e),u=c&&ws(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,h)=>{(h==="length"||h===Dn||!Ze(h)&&h>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Dn)),t){case"add":c?u&&l(i.get("length")):(l(i.get(jt)),en(e)&&l(i.get(cr)));break;case"delete":c||(l(i.get(jt)),en(e)&&l(i.get(cr)));break;case"set":en(e)&&l(i.get(jt));break}}Lr()}function Vc(e,t){const n=os.get(e);return n&&n.get(t)}function Kt(e){const t=te(e);return t===e?t:(Ne(t,"iterate",Dn),We(e)?t:t.map(Ye))}function xs(e){return Ne(e=te(e),"iterate",Dn),e}function at(e,t){return St(e)?nn(wt(e)?Ye(t):t):Ye(t)}const qc={__proto__:null,[Symbol.iterator](){return Ws(this,Symbol.iterator,e=>at(this,e))},concat(...e){return Kt(this).concat(...e.map(t=>V(t)?Kt(t):t))},entries(){return Ws(this,"entries",e=>(e[1]=at(this,e[1]),e))},every(e,t){return gt(this,"every",e,t,void 0,arguments)},filter(e,t){return gt(this,"filter",e,t,n=>n.map(s=>at(this,s)),arguments)},find(e,t){return gt(this,"find",e,t,n=>at(this,n),arguments)},findIndex(e,t){return gt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return gt(this,"findLast",e,t,n=>at(this,n),arguments)},findLastIndex(e,t){return gt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return gt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return Kt(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return gt(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return ao(this,"reduce",e,t)},reduceRight(e,...t){return ao(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return gt(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Kt(this).toReversed()},toSorted(e){return Kt(this).toSorted(e)},toSpliced(...e){return Kt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return Ws(this,"values",e=>at(this,e))}};function Ws(e,t,n){const s=xs(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 $c=Array.prototype;function gt(e,t,n,s,r,o){const i=xs(e),l=i!==e&&!We(e),c=i[t];if(c!==$c[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 ao(e,t,n,s){const r=xs(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 Ks(e,t,n){const s=te(e);Ne(s,"iterate",Dn);const r=s[t](...n);return(r===-1||r===!1)&&Cs(n[0])?(n[0]=te(n[0]),s[t](...n)):r}function mn(e,t,n=[]){pt(),Dr();const s=te(e)[t].apply(e,n);return Lr(),mt(),s}const Wc=Tr("__proto__,__v_isRef,__isVue"),Wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function Kc(e){Ze(e)||(e=String(e));const t=te(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class Ki{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?na:Xi:o?Ji:Gi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=V(t);if(!r){let c;if(i&&(c=qc[n]))return c;if(n==="hasOwnProperty")return Kc}const l=Reflect.get(t,n,_e(t)?t:s);if((Ze(n)?Wi.has(n):Wc(n))||(r||Ne(t,"get",n),o))return l;if(_e(l)){const c=i&&ws(n)?l:l.value;return r&&oe(c)?ur(c):c}return oe(l)?r?ur(l):Hn(l):l}}class zi extends Ki{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=V(t)&&ws(n);if(!this._isShallow){const u=St(o);if(!We(s)&&!St(s)&&(o=te(o),s=te(s)),!i&&_e(o)&&!_e(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:re(t,n),c=Reflect.set(t,n,s,_e(t)?t:r);return t===te(r)&&c&&(l?dt(s,o)&&Et(t,"set",n,s):Et(t,"add",n,s)),c}deleteProperty(t,n){const s=re(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Et(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ze(n)||!Wi.has(n))&&Ne(t,"has",n),s}ownKeys(t){return Ne(t,"iterate",V(t)?"length":jt),Reflect.ownKeys(t)}}class zc extends Ki{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Gc=new zi,Jc=new zc,Xc=new zi(!0);const ar=e=>e,Gn=e=>Reflect.getPrototypeOf(e);function Zc(e,t,n){return function(...s){const r=this.__v_raw,o=te(r),i=en(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?ar:t?nn:Ye;return!t&&Ne(o,"iterate",c?cr:jt),Te(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 Jn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qc(e,t){const n={get(r){const o=this.__v_raw,i=te(o),l=te(r);e||(dt(r,l)&&Ne(i,"get",r),Ne(i,"get",l));const{has:c}=Gn(i),u=t?ar:e?nn: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&&Ne(te(r),"iterate",jt),r.size},has(r){const o=this.__v_raw,i=te(o),l=te(r);return e||(dt(r,l)&&Ne(i,"has",r),Ne(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=te(l),u=t?ar:e?nn:Ye;return!e&&Ne(c,"iterate",jt),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return Te(n,e?{add:Jn("add"),set:Jn("set"),delete:Jn("delete"),clear:Jn("clear")}:{add(r){const o=te(this),i=Gn(o),l=te(r),c=!t&&!We(r)&&!St(r)?l:r;return i.has.call(o,c)||dt(r,c)&&i.has.call(o,r)||dt(l,c)&&i.has.call(o,l)||(o.add(c),Et(o,"add",c,c)),this},set(r,o){!t&&!We(o)&&!St(o)&&(o=te(o));const i=te(this),{has:l,get:c}=Gn(i);let u=l.call(i,r);u||(r=te(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?dt(o,a)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=te(this),{has:i,get:l}=Gn(o);let c=i.call(o,r);c||(r=te(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&Et(o,"delete",r,void 0),u},clear(){const r=te(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Zc(r,e,t)}),n}function Ur(e,t){const n=Qc(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(re(n,r)&&r in s?n:s,r,o)}const Yc={get:Ur(!1,!1)},ea={get:Ur(!1,!0)},ta={get:Ur(!0,!1)};const Gi=new WeakMap,Ji=new WeakMap,Xi=new WeakMap,na=new WeakMap;function sa(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 St(e)?e:Br(e,!1,Gc,Yc,Gi)}function Zi(e){return Br(e,!1,Xc,ea,Ji)}function ur(e){return Br(e,!0,Jc,ta,Xi)}function Br(e,t,n,s,r){if(!oe(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=sa(Tc(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 St(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function St(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function jr(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&Pi(e,"__v_skip",!0),e}const Ye=e=>oe(e)?Hn(e):e,nn=e=>oe(e)?ur(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function Nt(e){return Qi(e,!1)}function ra(e){return Qi(e,!0)}function Qi(e,t){return _e(e)?e:new oa(e,t)}class oa{constructor(t,n){this.dep=new Fr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(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)||St(t);t=s?t:te(t),dt(t,n)&&(this._rawValue=t,this._value=s?t:Ye(t),this.dep.trigger())}}function xe(e){return _e(e)?e.value:e}const ia={get:(e,t,n)=>t==="__v_raw"?e:xe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return _e(r)&&!_e(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Yi(e){return wt(e)?e:new Proxy(e,ia)}function la(e){const t=V(e)?new Array(e.length):{};for(const n in e)t[n]=aa(e,n);return t}class ca{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Ze(n)?n:String(n),this._raw=te(t);let r=!0,o=t;if(!V(t)||Ze(this._key)||!ws(this._key))do r=!Cs(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&&_e(this._raw[this._key])){const n=this._object[this._key];if(_e(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Vc(this._raw,this._key)}}function aa(e,t,n){return new ca(e,t,n)}class ua{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Fr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return ji(this,!0),!0}get value(){const t=this.dep.track();return Vi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fa(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new ua(s,r,n)}const Xn={},is=new WeakMap;let Mt;function da(e,t=!1,n=Mt){if(n){let s=is.get(n);s||is.set(n,s=[]),s.push(e)}}function ha(e,t,n=ae){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=v=>r?v:We(v)||r===!1||r===0?vt(v,1):vt(v);let a,f,h,m,O=!1,A=!1;if(_e(e)?(f=()=>e.value,O=We(e)):wt(e)?(f=()=>u(e),O=!0):V(e)?(A=!0,O=e.some(v=>wt(v)||We(v)),f=()=>e.map(v=>{if(_e(v))return v.value;if(wt(v))return u(v);if(K(v))return c?c(v,2):v()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(h){pt();try{h()}finally{mt()}}const v=Mt;Mt=a;try{return c?c(e,3,[m]):e(m)}finally{Mt=v}}:f=ht,t&&r){const v=f,M=r===!0?1/0:r;f=()=>vt(v(),M)}const x=Fi(),y=()=>{a.stop(),x&&x.active&&Pr(x.effects,a)};if(o&&t){const v=t;t=(...M)=>{const k=v(...M);return y(),k}}let S=A?new Array(e.length).fill(Xn):Xn;const C=v=>{if(!(!(a.flags&1)||!a.dirty&&!v))if(t){const M=a.run();if(v||r||O||(A?M.some((k,$)=>dt(k,S[$])):dt(M,S))){h&&h();const k=Mt;Mt=a;try{const $=[M,S===Xn?void 0:A&&S[0]===Xn?[]:S,m];S=M,c?c(t,3,$):t(...$)}finally{Mt=k}}}else a.run()};return l&&l(C),a=new Ui(f),a.scheduler=i?()=>i(C,!1):C,m=v=>da(v,!1,a),h=a.onStop=()=>{const v=is.get(a);if(v){if(c)c(v,4);else for(const M of v)M();is.delete(a)}},t?s?C(!0):S=a.run():i?i(C.bind(null,!0),!0):a.run(),y.pause=a.pause.bind(a),y.resume=a.resume.bind(a),y.stop=y,y}function vt(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))vt(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)vt(e[s],t,n);else if(un(e)||en(e))e.forEach(s=>{vt(s,t,n)});else if(Ti(e)){for(const s in e)vt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&vt(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Vn(e,t,n,s){try{return s?e(...s):e()}catch(r){Ts(r,t,n)}}function et(e,t,n,s){if(K(e)){const r=Vn(e,t,n,s);return r&&xi(r)&&r.catch(o=>{Ts(o,t,n)}),r}if(V(e)){const r=[];for(let o=0;o<e.length;o++)r.push(et(e[o],t,n,s));return r}}function Ts(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ae;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){pt(),Vn(o,null,10,[e,c,u]),mt();return}}pa(e,n,r,s,i)}function pa(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Fe=[];let ct=-1;const tn=[];let Ct=null,Zt=0;const el=Promise.resolve();let ls=null;function Ps(e){const t=ls||el;return e?t.then(this?e.bind(this):e):t}function ma(e){let t=ct+1,n=Fe.length;for(;t<n;){const s=t+n>>>1,r=Fe[s],o=Ln(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function kr(e){if(!(e.flags&1)){const t=Ln(e),n=Fe[Fe.length-1];!n||!(e.flags&2)&&t>=Ln(n)?Fe.push(e):Fe.splice(ma(t),0,e),e.flags|=1,tl()}}function tl(){ls||(ls=el.then(sl))}function ga(e){V(e)?tn.push(...e):Ct&&e.id===-1?Ct.splice(Zt+1,0,e):e.flags&1||(tn.push(e),e.flags|=1),tl()}function uo(e,t,n=ct+1){for(;n<Fe.length;n++){const s=Fe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Fe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function nl(e){if(tn.length){const t=[...new Set(tn)].sort((n,s)=>Ln(n)-Ln(s));if(tn.length=0,Ct){Ct.push(...t);return}for(Ct=t,Zt=0;Zt<Ct.length;Zt++){const n=Ct[Zt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ct=null,Zt=0}}const Ln=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sl(e){try{for(ct=0;ct<Fe.length;ct++){const t=Fe[ct];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Vn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ct<Fe.length;ct++){const t=Fe[ct];t&&(t.flags&=-2)}ct=-1,Fe.length=0,nl(),ls=null,(Fe.length||tn.length)&&sl()}}let qe=null,rl=null;function cs(e){const t=qe;return qe=e,rl=e&&e.type.__scopeId||null,t}function ol(e,t=qe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&fs(-1);const o=cs(t);let i;try{i=e(...r)}finally{cs(o),s._d&&fs(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Xp(e,t){if(qe===null)return e;const n=Ls(qe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=ae]=t[r];o&&(K(o)&&(o={mounted:o,updated:o}),o.deep&&vt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Dt(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&&(pt(),et(c,n,8,[e.el,l,e,t]),mt())}}function Yn(e,t){if(Ie){let n=Ie.provides;const s=Ie.parent&&Ie.parent.provides;s===n&&(n=Ie.provides=Object.create(s)),n[e]=t}}function Xe(e,t,n=!1){const s=Il();if(s||kt){let r=kt?kt._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 _a(){return!!(Il()||kt)}const ba=Symbol.for("v-scx"),ya=()=>Xe(ba);function Sn(e,t,n){return il(e,t,n)}function il(e,t,n=ae){const{immediate:s,deep:r,flush:o,once:i}=n,l=Te({},n),c=t&&s||!t&&o!=="post";let u;if(Fn){if(o==="sync"){const m=ya();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=ht,m.resume=ht,m.pause=ht,m}}const a=Ie;l.call=(m,O,A)=>et(m,a,O,A);let f=!1;o==="post"?l.scheduler=m=>{Be(m,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(m,O)=>{O?m():kr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const h=ha(e,t,l);return Fn&&(u?u.push(h):c&&h()),h}function Ea(e,t,n){const s=this.proxy,r=ge(e)?e.includes(".")?ll(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=qn(this),l=il(r,o.bind(s),n);return i(),l}function ll(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 va=Symbol("_vte"),wa=e=>e.__isTeleport,zs=Symbol("_leaveCb");function Hr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Hr(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 cl(e,t){return K(e)?Te({name:e.name},t,{setup:e}):e}function al(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const as=new WeakMap;function An(e,t,n,s,r=!1){if(V(e)){e.forEach((A,x)=>An(A,t&&(V(t)?t[x]:t),n,s,r));return}if(On(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&An(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ls(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ae?l.refs={}:l.refs,f=l.setupState,h=te(f),m=f===ae?Oi:A=>fo(a,A)?!1:re(h,A),O=(A,x)=>!(x&&fo(a,x));if(u!=null&&u!==c){if(ho(t),ge(u))a[u]=null,m(u)&&(f[u]=null);else if(_e(u)){const A=t;O(u,A.k)&&(u.value=null),A.k&&(a[A.k]=null)}}if(K(c)){pt();try{Vn(c,l,12,[i,a])}finally{mt()}}else{const A=ge(c),x=_e(c);if(A||x){const y=()=>{if(e.f){const S=A?m(c)?f[c]:a[c]:O()||!e.k?c.value:a[e.k];if(r)V(S)&&Pr(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=()=>{y(),as.delete(e)};S.id=-1,as.set(e,S),Be(S,n)}else ho(e),y()}}}function ho(e){const t=as.get(e);t&&(t.flags|=8,as.delete(e))}Os().requestIdleCallback;Os().cancelIdleCallback;const On=e=>!!e.type.__asyncLoader,ul=e=>e.type.__isKeepAlive;function Ra(e,t){fl(e,"a",t)}function Sa(e,t){fl(e,"da",t)}function fl(e,t,n=Ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ns(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ul(r.parent.vnode)&&Aa(s,t,n,r),r=r.parent}}function Aa(e,t,n,s){const r=Ns(t,e,s,!0);dl(()=>{Pr(s[t],r)},n)}function Ns(e,t,n=Ie,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{pt();const l=qn(n),c=et(t,n,e,i);return l(),mt(),c});return s?r.unshift(o):r.push(o),o}}const At=e=>(t,n=Ie)=>{(!Fn||e==="sp")&&Ns(e,(...s)=>t(...s),n)},Oa=At("bm"),xa=At("m"),Ca=At("bu"),Ta=At("u"),Pa=At("bum"),dl=At("um"),Na=At("sp"),Ia=At("rtg"),Da=At("rtc");function La(e,t=Ie){Ns("ec",e,t)}const Ma="components";function fr(e,t){return Ua(Ma,e,!0,t)||e}const Fa=Symbol.for("v-ndc");function Ua(e,t,n=!0,s=!1){const r=qe||Ie;if(r){const o=r.type;{const l=wu(o,!1);if(l&&(l===t||l===Ue(t)||l===Ss(Ue(t))))return o}const i=po(r[e]||o[e],t)||po(r.appContext[e],t);return!i&&s?o:i}}function po(e,t){return e&&(e[t]||e[Ue(t)]||e[Ss(Ue(t))])}function mo(e,t,n,s){let r;const o=n,i=V(e);if(i||ge(e)){const l=i&&wt(e);let c=!1,u=!1;l&&(c=!We(e),u=St(e),e=xs(e)),r=new Array(e.length);for(let a=0,f=e.length;a<f;a++)r[a]=t(c?u?nn(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(oe(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 dr=e=>e?Dl(e)?Ls(e):dr(e.parent):null,xn=Te(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=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>pl(e),$forceUpdate:e=>e.f||(e.f=()=>{kr(e.update)}),$nextTick:e=>e.n||(e.n=Ps.bind(e.proxy)),$watch:e=>Ea.bind(e)}),Gs=(e,t)=>e!==ae&&!e.__isScriptSetup&&re(e,t),Ba={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(Gs(s,t))return i[t]=1,s[t];if(r!==ae&&re(r,t))return i[t]=2,r[t];if(re(o,t))return i[t]=3,o[t];if(n!==ae&&re(n,t))return i[t]=4,n[t];hr&&(i[t]=0)}}const u=xn[t];let a,f;if(u)return t==="$attrs"&&Ne(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ae&&re(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,re(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Gs(r,t)?(r[t]=n,!0):s!==ae&&re(s,t)?(s[t]=n,!0):re(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!==ae&&l[0]!=="$"&&re(e,l)||Gs(t,l)||re(o,l)||re(s,l)||re(xn,l)||re(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function go(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hr=!0;function ja(e){const t=pl(e),n=e.proxy,s=e.ctx;hr=!1,t.beforeCreate&&_o(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:y,beforeUnmount:S,destroyed:C,unmounted:v,render:M,renderTracked:k,renderTriggered:$,errorCaptured:z,serverPrefetch:G,expose:Y,inheritAttrs:fe,components:we,directives:Se,filters:Re}=t;if(u&&ka(u,s,null),i)for(const W in i){const ee=i[W];K(ee)&&(s[W]=ee.bind(n))}if(r){const W=r.call(n,n);oe(W)&&(e.data=Hn(W))}if(hr=!0,o)for(const W in o){const ee=o[W],Ke=K(ee)?ee.bind(n,n):K(ee.get)?ee.get.bind(n,n):ht,Ae=!K(ee)&&K(ee.set)?ee.set.bind(n):ht,ie=de({get:Ke,set:Ae});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>ie.value,set:pe=>ie.value=pe})}if(l)for(const W in l)hl(l[W],s,n,W);if(c){const W=K(c)?c.call(n):c;Reflect.ownKeys(W).forEach(ee=>{Yn(ee,W[ee])})}a&&_o(a,e,"c");function ne(W,ee){V(ee)?ee.forEach(Ke=>W(Ke.bind(n))):ee&&W(ee.bind(n))}if(ne(Oa,f),ne(xa,h),ne(Ca,m),ne(Ta,O),ne(Ra,A),ne(Sa,x),ne(La,z),ne(Da,k),ne(Ia,$),ne(Pa,S),ne(dl,v),ne(Na,G),V(Y))if(Y.length){const W=e.exposed||(e.exposed={});Y.forEach(ee=>{Object.defineProperty(W,ee,{get:()=>n[ee],set:Ke=>n[ee]=Ke,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===ht&&(e.render=M),fe!=null&&(e.inheritAttrs=fe),we&&(e.components=we),Se&&(e.directives=Se),G&&al(e)}function ka(e,t,n=ht){V(e)&&(e=pr(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=Xe(r.from||s,r.default,!0):o=Xe(r.from||s):o=Xe(r),_e(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function _o(e,t,n){et(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function hl(e,t,n,s){let r=s.includes(".")?ll(n,s):()=>n[s];if(ge(e)){const o=t[e];K(o)&&Sn(r,o)}else if(K(e))Sn(r,e.bind(n));else if(oe(e))if(V(e))e.forEach(o=>hl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Sn(r,o,e)}}function pl(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=>us(c,u,i,!0)),us(c,t,i)),oe(t)&&o.set(t,c),c}function us(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&us(e,o,n,!0),r&&r.forEach(i=>us(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ha[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ha={data:bo,props:yo,emits:yo,methods:yn,computed:yn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:yn,directives:yn,watch:qa,provide:bo,inject:Va};function bo(e,t){return t?e?function(){return Te(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Va(e,t){return yn(pr(e),pr(t))}function pr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Le(e,t){return e?[...new Set([].concat(e,t))]:t}function yn(e,t){return e?Te(Object.create(null),e,t):t}function yo(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:Te(Object.create(null),go(e),go(t??{})):t}function qa(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const s in t)n[s]=Le(e[s],t[s]);return n}function ml(){return{app:null,config:{isNativeTag:Oi,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 $a=0;function Wa(e,t){return function(s,r=null){K(s)||(s=Te({},s)),r!=null&&!oe(r)&&(r=null);const o=ml(),i=new WeakSet,l=[];let c=!1;const u=o.app={_uid:$a++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Su,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||he(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,Ls(m.component)}},onUnmount(a){l.push(a)},unmount(){c&&(et(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=kt;kt=u;try{return a()}finally{kt=f}}};return u}}let kt=null;const Ka=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ue(t)}Modifiers`]||e[`${Wt(t)}Modifiers`];function za(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ae;let r=n;const o=t.startsWith("update:"),i=o&&Ka(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>ge(a)?a.trim():a)),i.number&&(r=n.map(As)));let l,c=s[l=Vs(t)]||s[l=Vs(Ue(t))];!c&&o&&(c=s[l=Vs(Wt(t))]),c&&et(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,et(u,e,6,r)}}const Ga=new WeakMap;function gl(e,t,n=!1){const s=n?Ga: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=gl(u,t,!0);a&&(l=!0,Te(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(oe(e)&&s.set(e,null),null):(V(o)?o.forEach(c=>i[c]=null):Te(i,o),oe(e)&&s.set(e,i),i)}function Is(e,t){return!e||!Es(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Wt(t))||re(e,t))}function Eo(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=cs(e);let y,S;try{if(n.shapeFlag&4){const v=r||s,M=v;y=ft(u.call(M,v,a,f,m,h,O)),S=l}else{const v=t;y=ft(v.length>1?v(f,{attrs:l,slots:i,emit:c}):v(f,null)),S=t.props?l:Ja(l)}}catch(v){Cn.length=0,Ts(v,e,1),y=he(It)}let C=y;if(S&&A!==!1){const v=Object.keys(S),{shapeFlag:M}=C;v.length&&M&7&&(o&&v.some(vs)&&(S=Xa(S,o)),C=sn(C,S,!1,!0))}return n.dirs&&(C=sn(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&Hr(C,n.transition),y=C,cs(x),y}const Ja=e=>{let t;for(const n in e)(n==="class"||n==="style"||Es(n))&&((t||(t={}))[n]=e[n]);return t},Xa=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Za(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?vo(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const h=a[f];if(_l(i,s,h)&&!Is(u,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?vo(s,i,u):!0:!!i;return!1}function vo(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(_l(t,e,o)&&!Is(n,o))return!0}return!1}function _l(e,t,n){const s=e[n],r=t[n];return n==="style"&&oe(s)&&oe(r)?!fn(s,r):s!==r}function Qa({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 bl={},yl=()=>Object.create(bl),El=e=>Object.getPrototypeOf(e)===bl;function Ya(e,t,n,s=!1){const r={},o=yl();e.propsDefaults=Object.create(null),vl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Zi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function eu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=te(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(Is(e.emitsOptions,h))continue;const m=t[h];if(c)if(re(o,h))m!==o[h]&&(o[h]=m,u=!0);else{const O=Ue(h);r[O]=mr(c,l,O,m,e,!1)}else m!==o[h]&&(o[h]=m,u=!0)}}}else{vl(e,t,r,o)&&(u=!0);let a;for(const f in l)(!t||!re(t,f)&&((a=Wt(f))===f||!re(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(r[f]=mr(c,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!re(t,f))&&(delete o[f],u=!0)}u&&Et(e.attrs,"set","")}function vl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(vn(c))continue;const u=t[c];let a;r&&re(r,a=Ue(c))?!o||!o.includes(a)?n[a]=u:(l||(l={}))[a]=u:Is(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,i=!0)}if(o){const c=te(n),u=l||ae;for(let a=0;a<o.length;a++){const f=o[a];n[f]=mr(r,c,f,u[f],e,!re(u,f))}}return i}function mr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=re(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=qn(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 tu=new WeakMap;function wl(e,t,n=!1){const s=n?tu: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]=wl(f,t,!0);Te(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 oe(e)&&s.set(e,Yt),Yt;if(V(o))for(let a=0;a<o.length;a++){const f=Ue(o[a]);wo(f)&&(i[f]=ae)}else if(o)for(const a in o){const f=Ue(a);if(wo(f)){const h=o[a],m=i[f]=V(h)||K(h)?{type:h}:Te({},h),O=m.type;let A=!1,x=!0;if(V(O))for(let y=0;y<O.length;++y){const S=O[y],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||re(m,"default"))&&l.push(f)}}const u=[i,l];return oe(e)&&s.set(e,u),u}function wo(e){return e[0]!=="$"&&!vn(e)}const Vr=e=>e==="_"||e==="_ctx"||e==="$stable",qr=e=>V(e)?e.map(ft):[ft(e)],nu=(e,t,n)=>{if(t._n)return t;const s=ol((...r)=>qr(t(...r)),n);return s._c=!1,s},Rl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Vr(r))continue;const o=e[r];if(K(o))t[r]=nu(r,o,s);else if(o!=null){const i=qr(o);t[r]=()=>i}}},Sl=(e,t)=>{const n=qr(t);e.slots.default=()=>n},Al=(e,t,n)=>{for(const s in t)(n||!Vr(s))&&(e[s]=t[s])},su=(e,t,n)=>{const s=e.slots=yl();if(e.vnode.shapeFlag&32){const r=t._;r?(Al(s,t,n),n&&Pi(s,"_",r,!0)):Rl(t,s)}else t&&Sl(e,t)},ru=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ae;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Al(r,t,n):(o=!t.$stable,Rl(t,r)),i=t}else t&&(Sl(e,t),i={default:1});if(o)for(const l in r)!Vr(l)&&i[l]==null&&delete r[l]},Be=au;function ou(e){return iu(e)}function iu(e,t){const n=Os();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=ht,insertStaticContent:O}=e,A=(d,p,_,w=null,b=null,E=null,I=void 0,P=null,N=!!p.dynamicChildren)=>{if(d===p)return;d&&!gn(d,p)&&(w=R(d),pe(d,b,E,!0),d=null),p.patchFlag===-2&&(N=!1,p.dynamicChildren=null);const{type:T,ref:B,shapeFlag:U}=p;switch(T){case Ds:x(d,p,_,w);break;case It:y(d,p,_,w);break;case es:d==null&&S(p,_,w,I);break;case Je:we(d,p,_,w,b,E,I,P,N);break;default:U&1?M(d,p,_,w,b,E,I,P,N):U&6?Se(d,p,_,w,b,E,I,P,N):(U&64||U&128)&&T.process(d,p,_,w,b,E,I,P,N,j)}B!=null&&b?An(B,d&&d.ref,E,p||d,!p):B==null&&d&&d.ref!=null&&An(d.ref,null,E,d,!0)},x=(d,p,_,w)=>{if(d==null)s(p.el=l(p.children),_,w);else{const b=p.el=d.el;p.children!==d.children&&u(b,p.children)}},y=(d,p,_,w)=>{d==null?s(p.el=c(p.children||""),_,w):p.el=d.el},S=(d,p,_,w)=>{[d.el,d.anchor]=O(d.children,p,_,w,d.el,d.anchor)},C=({el:d,anchor:p},_,w)=>{let b;for(;d&&d!==p;)b=h(d),s(d,_,w),d=b;s(p,_,w)},v=({el:d,anchor:p})=>{let _;for(;d&&d!==p;)_=h(d),r(d),d=_;r(p)},M=(d,p,_,w,b,E,I,P,N)=>{if(p.type==="svg"?I="svg":p.type==="math"&&(I="mathml"),d==null)k(p,_,w,b,E,I,P,N);else{const T=d.el&&d.el._isVueCE?d.el:null;try{T&&T._beginPatch(),G(d,p,b,E,I,P,N)}finally{T&&T._endPatch()}}},k=(d,p,_,w,b,E,I,P)=>{let N,T;const{props:B,shapeFlag:U,transition:H,dirs:q}=d;if(N=d.el=i(d.type,E,B&&B.is,B),U&8?a(N,d.children):U&16&&z(d.children,N,null,w,b,Js(d,E),I,P),q&&Dt(d,null,w,"created"),$(N,d,d.scopeId,I,w),B){for(const ce in B)ce!=="value"&&!vn(ce)&&o(N,ce,null,B[ce],E,w);"value"in B&&o(N,"value",null,B.value,E),(T=B.onVnodeBeforeMount)&<(T,w,d)}q&&Dt(d,null,w,"beforeMount");const Z=lu(b,H);Z&&H.beforeEnter(N),s(N,p,_),((T=B&&B.onVnodeMounted)||Z||q)&&Be(()=>{try{T&<(T,w,d),Z&&H.enter(N),q&&Dt(d,null,w,"mounted")}finally{}},b)},$=(d,p,_,w,b)=>{if(_&&m(d,_),w)for(let E=0;E<w.length;E++)m(d,w[E]);if(b){let E=b.subTree;if(p===E||Tl(E.type)&&(E.ssContent===p||E.ssFallback===p)){const I=b.vnode;$(d,I,I.scopeId,I.slotScopeIds,b.parent)}}},z=(d,p,_,w,b,E,I,P,N=0)=>{for(let T=N;T<d.length;T++){const B=d[T]=P?yt(d[T]):ft(d[T]);A(null,B,p,_,w,b,E,I,P)}},G=(d,p,_,w,b,E,I)=>{const P=p.el=d.el;let{patchFlag:N,dynamicChildren:T,dirs:B}=p;N|=d.patchFlag&16;const U=d.props||ae,H=p.props||ae;let q;if(_&&Lt(_,!1),(q=H.onVnodeBeforeUpdate)&<(q,_,p,d),B&&Dt(p,d,_,"beforeUpdate"),_&&Lt(_,!0),T&&(!d.dynamicChildren||d.dynamicChildren.length!==T.length)&&(N=0,I=!1,T=null),(U.innerHTML&&H.innerHTML==null||U.textContent&&H.textContent==null)&&a(P,""),T?Y(d.dynamicChildren,T,P,_,w,Js(p,b),E):I||ee(d,p,P,null,_,w,Js(p,b),E,!1),N>0){if(N&16)fe(P,U,H,_,b);else if(N&2&&U.class!==H.class&&o(P,"class",null,H.class,b),N&4&&o(P,"style",U.style,H.style,b),N&8){const Z=p.dynamicProps;for(let ce=0;ce<Z.length;ce++){const le=Z[ce],ye=U[le],Oe=H[le];(Oe!==ye||le==="value")&&o(P,le,ye,Oe,b,_)}}N&1&&d.children!==p.children&&a(P,p.children)}else!I&&T==null&&fe(P,U,H,_,b);((q=H.onVnodeUpdated)||B)&&Be(()=>{q&<(q,_,p,d),B&&Dt(p,d,_,"updated")},w)},Y=(d,p,_,w,b,E,I)=>{for(let P=0;P<p.length;P++){const N=d[P],T=p[P],B=N.el&&(N.type===Je||!gn(N,T)||N.shapeFlag&198)?f(N.el):_;A(N,T,B,null,w,b,E,I,!0)}},fe=(d,p,_,w,b)=>{if(p!==_){if(p!==ae)for(const E in p)!vn(E)&&!(E in _)&&o(d,E,p[E],null,b,w);for(const E in _){if(vn(E))continue;const I=_[E],P=p[E];I!==P&&E!=="value"&&o(d,E,P,I,b,w)}"value"in _&&o(d,"value",p.value,_.value,b)}},we=(d,p,_,w,b,E,I,P,N)=>{const T=p.el=d?d.el:l(""),B=p.anchor=d?d.anchor:l("");let{patchFlag:U,dynamicChildren:H,slotScopeIds:q}=p;q&&(P=P?P.concat(q):q),d==null?(s(T,_,w),s(B,_,w),z(p.children||[],_,B,b,E,I,P,N)):U>0&&U&64&&H&&d.dynamicChildren&&d.dynamicChildren.length===H.length?(Y(d.dynamicChildren,H,_,b,E,I,P),(p.key!=null||b&&p===b.subTree)&&Ol(d,p,!0)):ee(d,p,_,B,b,E,I,P,N)},Se=(d,p,_,w,b,E,I,P,N)=>{p.slotScopeIds=P,d==null?p.shapeFlag&512?b.ctx.activate(p,_,w,I,N):Re(p,_,w,b,E,I,N):ke(d,p,N)},Re=(d,p,_,w,b,E,I)=>{const P=d.component=_u(d,w,b);if(ul(d)&&(P.ctx.renderer=j),bu(P,!1,I),P.asyncDep){if(b&&b.registerDep(P,ne,I),!d.el){const N=P.subTree=he(It);y(null,N,p,_),d.placeholder=N.el}}else ne(P,d,p,_,b,E,I)},ke=(d,p,_)=>{const w=p.component=d.component;if(Za(d,p,_))if(w.asyncDep&&!w.asyncResolved){W(w,p,_);return}else w.next=p,w.update();else p.el=d.el,w.vnode=p},ne=(d,p,_,w,b,E,I)=>{const P=()=>{if(d.isMounted){let{next:U,bu:H,u:q,parent:Z,vnode:ce}=d;{const ot=xl(d);if(ot){U&&(U.el=ce.el,W(d,U,I)),ot.asyncDep.then(()=>{Be(()=>{d.isUnmounted||T()},b)});return}}let le=U,ye;Lt(d,!1),U?(U.el=ce.el,W(d,U,I)):U=ce,H&&Qn(H),(ye=U.props&&U.props.onVnodeBeforeUpdate)&<(ye,Z,U,ce),Lt(d,!0);const Oe=Eo(d),rt=d.subTree;d.subTree=Oe,A(rt,Oe,f(rt.el),R(rt),d,b,E),U.el=Oe.el,le===null&&Qa(d,Oe.el),q&&Be(q,b),(ye=U.props&&U.props.onVnodeUpdated)&&Be(()=>lt(ye,Z,U,ce),b)}else{let U;const{el:H,props:q}=p,{bm:Z,m:ce,parent:le,root:ye,type:Oe}=d,rt=On(p);Lt(d,!1),Z&&Qn(Z),!rt&&(U=q&&q.onVnodeBeforeMount)&<(U,le,p),Lt(d,!0);{ye.ce&&ye.ce._hasShadowRoot()&&ye.ce._injectChildStyle(Oe,d.parent?d.parent.type:void 0);const ot=d.subTree=Eo(d);A(null,ot,_,w,d,b,E),p.el=ot.el}if(ce&&Be(ce,b),!rt&&(U=q&&q.onVnodeMounted)){const ot=p;Be(()=>lt(U,le,ot),b)}(p.shapeFlag&256||le&&On(le.vnode)&&le.vnode.shapeFlag&256)&&d.a&&Be(d.a,b),d.isMounted=!0,p=_=w=null}};d.scope.on();const N=d.effect=new Ui(P);d.scope.off();const T=d.update=N.run.bind(N),B=d.job=N.runIfDirty.bind(N);B.i=d,B.id=d.uid,N.scheduler=()=>kr(B),Lt(d,!0),T()},W=(d,p,_)=>{p.component=d;const w=d.vnode.props;d.vnode=p,d.next=null,eu(d,p.props,w,_),ru(d,p.children,_),pt(),uo(d),mt()},ee=(d,p,_,w,b,E,I,P,N=!1)=>{const T=d&&d.children,B=d?d.shapeFlag:0,U=p.children,{patchFlag:H,shapeFlag:q}=p;if(H>0){if(H&128){Ae(T,U,_,w,b,E,I,P,N);return}else if(H&256){Ke(T,U,_,w,b,E,I,P,N);return}}q&8?(B&16&&J(T,b,E),U!==T&&a(_,U)):B&16?q&16?Ae(T,U,_,w,b,E,I,P,N):J(T,b,E,!0):(B&8&&a(_,""),q&16&&z(U,_,w,b,E,I,P,N))},Ke=(d,p,_,w,b,E,I,P,N)=>{d=d||Yt,p=p||Yt;const T=d.length,B=p.length,U=Math.min(T,B);let H;for(H=0;H<U;H++){const q=p[H]=N?yt(p[H]):ft(p[H]);A(d[H],q,_,null,b,E,I,P,N)}T>B?J(d,b,E,!0,!1,U):z(p,_,w,b,E,I,P,N,U)},Ae=(d,p,_,w,b,E,I,P,N)=>{let T=0;const B=p.length;let U=d.length-1,H=B-1;for(;T<=U&&T<=H;){const q=d[T],Z=p[T]=N?yt(p[T]):ft(p[T]);if(gn(q,Z))A(q,Z,_,null,b,E,I,P,N);else break;T++}for(;T<=U&&T<=H;){const q=d[U],Z=p[H]=N?yt(p[H]):ft(p[H]);if(gn(q,Z))A(q,Z,_,null,b,E,I,P,N);else break;U--,H--}if(T>U){if(T<=H){const q=H+1,Z=q<B?p[q].el:w;for(;T<=H;)A(null,p[T]=N?yt(p[T]):ft(p[T]),_,Z,b,E,I,P,N),T++}}else if(T>H)for(;T<=U;)pe(d[T],b,E,!0),T++;else{const q=T,Z=T,ce=new Map;for(T=Z;T<=H;T++){const Ve=p[T]=N?yt(p[T]):ft(p[T]);Ve.key!=null&&ce.set(Ve.key,T)}let le,ye=0;const Oe=H-Z+1;let rt=!1,ot=0;const pn=new Array(Oe);for(T=0;T<Oe;T++)pn[T]=0;for(T=q;T<=U;T++){const Ve=d[T];if(ye>=Oe){pe(Ve,b,E,!0);continue}let it;if(Ve.key!=null)it=ce.get(Ve.key);else for(le=Z;le<=H;le++)if(pn[le-Z]===0&&gn(Ve,p[le])){it=le;break}it===void 0?pe(Ve,b,E,!0):(pn[it-Z]=T+1,it>=ot?ot=it:rt=!0,A(Ve,p[it],_,null,b,E,I,P,N),ye++)}const so=rt?cu(pn):Yt;for(le=so.length-1,T=Oe-1;T>=0;T--){const Ve=Z+T,it=p[Ve],ro=p[Ve+1],oo=Ve+1<B?ro.el||Cl(ro):w;pn[T]===0?A(null,it,_,oo,b,E,I,P,N):rt&&(le<0||T!==so[le]?ie(it,_,oo,2):le--)}}},ie=(d,p,_,w,b=null)=>{const{el:E,type:I,transition:P,children:N,shapeFlag:T}=d;if(T&6){ie(d.component.subTree,p,_,w);return}if(T&128){d.suspense.move(p,_,w);return}if(T&64){I.move(d,p,_,j);return}if(I===Je){s(E,p,_);for(let U=0;U<N.length;U++)ie(N[U],p,_,w);s(d.anchor,p,_);return}if(I===es){C(d,p,_);return}if(w!==2&&T&1&&P)if(w===0)P.persisted&&!E[zs]?s(E,p,_):(P.beforeEnter(E),s(E,p,_),Be(()=>P.enter(E),b));else{const{leave:U,delayLeave:H,afterLeave:q}=P,Z=()=>{d.ctx.isUnmounted?r(E):s(E,p,_)},ce=()=>{const le=E._isLeaving||!!E[zs];E._isLeaving&&E[zs](!0),P.persisted&&!le?Z():U(E,()=>{Z(),q&&q()})};H?H(E,Z,ce):ce()}else s(E,p,_)},pe=(d,p,_,w=!1,b=!1)=>{const{type:E,props:I,ref:P,children:N,dynamicChildren:T,shapeFlag:B,patchFlag:U,dirs:H,cacheIndex:q,memo:Z}=d;if(U===-2&&(b=!1),P!=null&&(pt(),An(P,null,_,d,!0),mt()),q!=null&&(p.renderCache[q]=void 0),B&256){p.ctx.deactivate(d);return}const ce=B&1&&H,le=!On(d);let ye;if(le&&(ye=I&&I.onVnodeBeforeUnmount)&<(ye,p,d),B&6)st(d.component,_,w);else{if(B&128){d.suspense.unmount(_,w);return}ce&&Dt(d,null,p,"beforeUnmount"),B&64?d.type.remove(d,p,_,j,w):T&&!T.hasOnce&&(E!==Je||U>0&&U&64)?J(T,p,_,!1,!0):(E===Je&&U&384||!b&&B&16)&&J(N,p,_),w&&He(d)}const Oe=Z!=null&&q==null;(le&&(ye=I&&I.onVnodeUnmounted)||ce||Oe)&&Be(()=>{ye&<(ye,p,d),ce&&Dt(d,null,p,"unmounted"),Oe&&(d.el=null)},_)},He=d=>{const{type:p,el:_,anchor:w,transition:b}=d;if(p===Je){ze(_,w);return}if(p===es){v(d);return}const E=()=>{r(_),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:I,delayLeave:P}=b,N=()=>I(_,E);P?P(d.el,E,N):N()}else E()},ze=(d,p)=>{let _;for(;d!==p;)_=h(d),r(d),d=_;r(p)},st=(d,p,_)=>{const{bum:w,scope:b,job:E,subTree:I,um:P,m:N,a:T}=d;Ro(N),Ro(T),w&&Qn(w),b.stop(),E&&(E.flags|=8,pe(I,d,p,_)),P&&Be(P,p),Be(()=>{d.isUnmounted=!0},p)},J=(d,p,_,w=!1,b=!1,E=0)=>{for(let I=E;I<d.length;I++)pe(d[I],p,_,w,b)},R=d=>{if(d.shapeFlag&6)return R(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),_=p&&p[va];return _?h(_):p};let F=!1;const L=(d,p,_)=>{let w;d==null?p._vnode&&(pe(p._vnode,null,null,!0),w=p._vnode.component):A(p._vnode||null,d,p,null,null,null,_),p._vnode=d,F||(F=!0,uo(w),nl(),F=!1)},j={p:A,um:pe,m:ie,r:He,mt:Re,mc:z,pc:ee,pbc:Y,n:R,o:e};return{render:L,hydrate:void 0,createApp:Wa(L)}}function Js({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 Lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ol(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&&Ol(i,l)),l.type===Ds&&(l.patchFlag===-1&&(l=r[o]=yt(l)),l.el=i.el),l.type===It&&!l.el&&(l.el=i.el)}}function cu(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 xl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xl(t)}function Ro(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Cl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Cl(t.subTree):null}const Tl=e=>e.__isSuspense;function au(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):ga(e)}const Je=Symbol.for("v-fgt"),Ds=Symbol.for("v-txt"),It=Symbol.for("v-cmt"),es=Symbol.for("v-stc"),Cn=[];let $e=null;function ut(e=!1){Cn.push($e=e?null:[])}function uu(){Cn.pop(),$e=Cn[Cn.length-1]||null}let Mn=1;function fs(e,t=!1){Mn+=e,e<0&&$e&&t&&($e.hasOnce=!0)}function Pl(e){return e.dynamicChildren=Mn>0?$e||Yt:null,uu(),Mn>0&&$e&&$e.push(e),e}function Ft(e,t,n,s,r,o){return Pl(Q(e,t,n,s,r,o,!0))}function $r(e,t,n,s,r){return Pl(he(e,t,n,s,r,!0))}function ds(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const Nl=({key:e})=>e??null,ts=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ge(e)||_e(e)||K(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function Q(e,t=null,n=null,s=0,r=null,o=e===Je?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nl(t),ref:t&&ts(t),scopeId:rl,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:qe};return l?(hs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ge(n)?8:16),Mn>0&&!i&&$e&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&$e.push(c),c}const he=fu;function fu(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Fa)&&(e=It),ds(e)){const l=sn(e,t,!0);return n&&hs(l,n),Mn>0&&!o&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag=-2,l}if(Ru(e)&&(e=e.__vccOpts),t){t=du(t);let{class:l,style:c}=t;l&&!ge(l)&&(t.class=Vt(l)),oe(c)&&(Cs(c)&&!V(c)&&(c=Te({},c)),t.style=Nr(c))}const i=ge(e)?1:Tl(e)?128:wa(e)?64:oe(e)?4:K(e)?2:0;return Q(e,t,n,s,r,i,o,!0)}function du(e){return e?Cs(e)||El(e)?Te({},e):e:null}function sn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?pu(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Nl(u),ref:t&&t.ref?n&&o?V(o)?o.concat(ts(t)):[o,ts(t)]:ts(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!==Je?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&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Hr(a,c.clone(a)),a}function gr(e=" ",t=0){return he(Ds,null,e,t)}function Zp(e,t){const n=he(es,null,e);return n.staticCount=t,n}function hu(e="",t=!1){return t?(ut(),$r(It,null,e)):he(It,null,e)}function ft(e){return e==null||typeof e=="boolean"?he(It):V(e)?he(Je,null,e.slice()):ds(e)?yt(e):he(Ds,null,String(e))}function yt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sn(e)}function hs(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),hs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!El(t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(K(t)){if(s&65){hs(e,{default:t});return}t={default:t,_ctx:qe},n=32}else t=String(t),s&64?(n=16,t=[gr(t)]):n=8;e.children=t,e.shapeFlag|=n}function pu(...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=Vt([t.class,s.class]));else if(r==="style")t.style=Nr([t.style,s.style]);else if(Es(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&&!vs(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function lt(e,t,n,s=null){et(e,t,7,[n,s])}const mu=ml();let gu=0;function _u(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||mu,o={uid:gu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Li(!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:wl(s,r),emitsOptions:gl(s,r),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:s.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,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=za.bind(null,o),e.ce&&e.ce(o),o}let Ie=null;const Il=()=>Ie||qe;let ps,_r;{const e=Os(),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)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),_r=t("__VUE_SSR_SETTERS__",n=>Fn=n)}const qn=e=>{const t=Ie;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},So=()=>{Ie&&Ie.scope.off(),ps(null)};function Dl(e){return e.vnode.shapeFlag&4}let Fn=!1;function bu(e,t=!1,n=!1){t&&_r(t);const{props:s,children:r}=e.vnode,o=Dl(e);Ya(e,s,o,t),su(e,r,n||t);const i=o?yu(e,t):void 0;return t&&_r(!1),i}function yu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ba);const{setup:s}=n;if(s){pt();const r=e.setupContext=s.length>1?vu(e):null,o=qn(e),i=Vn(s,e,0,[e.props,r]),l=xi(i);if(mt(),o(),(l||e.sp)&&!On(e)&&al(e),l){if(i.then(So,So),t)return i.then(c=>{Ao(e,c)}).catch(c=>{Ts(c,e,0)});e.asyncDep=i}else Ao(e,i)}else Ll(e)}function Ao(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=Yi(t)),Ll(e)}function Ll(e,t,n){const s=e.type;e.render||(e.render=s.render||ht);{const r=qn(e);pt();try{ja(e)}finally{mt(),r()}}}const Eu={get(e,t){return Ne(e,"get",""),e[t]}};function vu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Eu),slots:e.slots,emit:e.emit,expose:t}}function Ls(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yi(jr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xn)return xn[n](e)},has(t,n){return n in t||n in xn}})):e.proxy}function wu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Ru(e){return K(e)&&"__vccOpts"in e}const de=(e,t)=>fa(e,t,Fn);function Ml(e,t,n){try{fs(-1);const s=arguments.length;return s===2?oe(t)&&!V(t)?ds(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ds(n)&&(n=[n]),he(e,t,n))}finally{fs(1)}}const Su="3.5.39";/**
|
|
* @vue/runtime-dom v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let br;const Oo=typeof window<"u"&&window.trustedTypes;if(Oo)try{br=Oo.createPolicy("vue",{createHTML:e=>e})}catch{}const Fl=br?e=>br.createHTML(e):e=>e,Au="http://www.w3.org/2000/svg",Ou="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,xo=bt&&bt.createElement("template"),xu={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"?bt.createElementNS(Au,e):t==="mathml"?bt.createElementNS(Ou,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.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{xo.innerHTML=Fl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=xo.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]}},Cu=Symbol("_vtc");function Tu(e,t,n){const s=e[Cu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Co=Symbol("_vod"),Pu=Symbol("_vsh"),Nu=Symbol(""),Iu=/(?:^|;)\s*display\s*:/;function Du(e,t,n){const s=e.style,r=ge(n);let o=!1;if(n&&!r){if(t)if(ge(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&En(s,l,"")}else for(const i in t)n[i]==null&&En(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Mu(e,i,!ge(t)&&t?t[i]:void 0,l)||En(s,i,l):En(s,i,"")}}else if(r){if(t!==n){const i=s[Nu];i&&(n+=";"+i),s.cssText=n,o=Iu.test(n)}}else t&&e.removeAttribute("style");Co in e&&(e[Co]=o?s.display:"",e[Pu]&&(s.display="none"))}const To=/\s*!important$/;function En(e,t,n){if(V(n))n.forEach(s=>En(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Lu(e,t);To.test(n)?e.setProperty(Wt(s),n.replace(To,""),"important"):e[s]=n}}const Po=["Webkit","Moz","ms"],Xs={};function Lu(e,t){const n=Xs[t];if(n)return n;let s=Ue(t);if(s!=="filter"&&s in e)return Xs[t]=s;s=Ss(s);for(let r=0;r<Po.length;r++){const o=Po[r]+s;if(o in e)return Xs[t]=o}return t}function Mu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ge(s)&&n===s}const No="http://www.w3.org/1999/xlink";function Io(e,t,n,s,r,o=Uc(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(No,t.slice(6,t.length)):e.setAttributeNS(No,t,n):n==null||o&&!Ni(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ze(n)?String(n):n)}function Do(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Fl(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=Ni(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 Pt(e,t,n,s){e.addEventListener(t,n,s)}function Fu(e,t,n,s){e.removeEventListener(t,n,s)}const Lo=Symbol("_vei");function Uu(e,t,n,s,r=null){const o=e[Lo]||(e[Lo]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=ku(t);if(s){const u=o[t]=qu(s,r);Pt(e,l,u,c)}else i&&(Fu(e,l,i,c),o[t]=void 0)}}const Bu=/(Once|Passive|Capture)$/,ju=/^on:?(?:Once|Passive|Capture)$/;function ku(e){let t,n;for(;(n=e.match(Bu))&&!ju.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 Hu=Promise.resolve(),Vu=()=>Zs||(Hu.then(()=>Zs=0),Zs=Date.now());function qu(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&&et(u,t,5,l)}}else et(r,t,5,[s])};return n.value=e,n.attached=Vu(),n}const Mo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$u=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Tu(e,s,i):t==="style"?Du(e,n,s):Es(t)?vs(t)||Uu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wu(e,t,s,i))?(Do(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,s,i,o,t!=="value")):e._isVueCE&&(Ku(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ge(s)))?Do(e,Ue(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Io(e,t,s,i))};function Wu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mo(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 Mo(t)&&ge(n)?!1:t in e}function Ku(e,t){const n=e._def.props;if(!n)return!1;const s=Ue(t);return Array.isArray(n)?n.some(r=>Ue(r)===s):Object.keys(n).some(r=>Ue(r)===s)}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Qn(t,n):t};function zu(e){e.target.composing=!0}function Fo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Rt=Symbol("_assign");function Uo(e,t,n){return t&&(e=e.trim()),n&&(e=As(e)),e}const Qp={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Rt]=rn(r);const o=s||r.props&&r.props.type==="number";Pt(e,t?"change":"input",i=>{i.target.composing||e[Rt](Uo(e.value,n,o))}),(n||o)&&Pt(e,"change",()=>{e.value=Uo(e.value,n,o)}),t||(Pt(e,"compositionstart",zu),Pt(e,"compositionend",Fo),Pt(e,"change",Fo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Rt]=rn(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?As(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)}},Yp={deep:!0,created(e,t,n){e[Rt]=rn(n),Pt(e,"change",()=>{const s=e._modelValue,r=Un(e),o=e.checked,i=e[Rt];if(V(s)){const l=Ir(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(un(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Ul(e,o))})},mounted:Bo,beforeUpdate(e,t,n){e[Rt]=rn(n),Bo(e,t,n)}};function Bo(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(V(t))r=Ir(t,s.props.value)>-1;else if(un(t))r=t.has(s.props.value);else{if(t===n)return;r=fn(t,Ul(e,!0))}e.checked!==r&&(e.checked=r)}const em={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=un(t);Pt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?As(Un(i)):Un(i));e[Rt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Ps(()=>{e._assigning=!1})}),e[Rt]=rn(s)},mounted(e,{value:t}){jo(e,t)},beforeUpdate(e,t,n){e[Rt]=rn(n)},updated(e,{value:t}){e._assigning||jo(e,t)}};function jo(e,t){const n=e.multiple,s=V(t);if(!(n&&!s&&!un(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],l=Un(i);if(n)if(s){const c=typeof l;c==="string"||c==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=Ir(t,l)>-1}else i.selected=t.has(l);else if(fn(Un(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Un(e){return"_value"in e?e._value:e.value}function Ul(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Gu=["ctrl","shift","alt","meta"],Ju={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)=>Gu.some(n=>e[`${n}Key`]&&!t.includes(n))},tm=(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=Ju[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},Xu=Te({patchProp:$u},xu);let ko;function Zu(){return ko||(ko=ou(Xu))}const Qu=((...e)=>{const t=Zu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ef(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,Yu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Yu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ef(e){return ge(e)?document.querySelector(e):e}/*!
|
|
* pinia v2.3.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Bl;const Ms=e=>Bl=e,jl=Symbol();function yr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Tn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Tn||(Tn={}));function tf(){const e=Mi(!0),t=e.run(()=>Nt({}));let n=[],s=[];const r=jr({install(o){Ms(r),r._a=o,o.provide(jl,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 kl=()=>{};function Ho(e,t,n,s=kl){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Fi()&&jc(r),r}function zt(e,...t){e.slice().forEach(n=>{n(...t)})}const nf=e=>e(),Vo=Symbol(),Qs=Symbol();function Er(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];yr(r)&&yr(s)&&e.hasOwnProperty(n)&&!_e(s)&&!wt(s)?e[n]=Er(r,s):e[n]=s}return e}const sf=Symbol();function rf(e){return!yr(e)||!e.hasOwnProperty(sf)}const{assign:xt}=Object;function of(e){return!!(_e(e)&&e.effect)}function lf(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=la(n.state.value[e]);return xt(a,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=jr(de(()=>{Ms(n);const m=n._s.get(e);return i[h].call(m,m)})),f),{}))}return c=Hl(e,u,t,n,s,!0),c}function Hl(e,t,n={},s,r,o){let i;const l=xt({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(z){let G;u=a=!1,typeof z=="function"?(z(s.state.value[e]),G={type:Tn.patchFunction,storeId:e,events:m}):(Er(s.state.value[e],z),G={type:Tn.patchObject,payload:z,storeId:e,events:m});const Y=A=Symbol();Ps().then(()=>{A===Y&&(u=!0)}),a=!0,zt(f,G,s.state.value[e])}const y=o?function(){const{state:G}=n,Y=G?G():{};this.$patch(fe=>{xt(fe,Y)})}:kl;function S(){i.stop(),f=[],h=[],s._s.delete(e)}const C=(z,G="")=>{if(Vo in z)return z[Qs]=G,z;const Y=function(){Ms(s);const fe=Array.from(arguments),we=[],Se=[];function Re(W){we.push(W)}function ke(W){Se.push(W)}zt(h,{args:fe,name:Y[Qs],store:M,after:Re,onError:ke});let ne;try{ne=z.apply(this&&this.$id===e?this:M,fe)}catch(W){throw zt(Se,W),W}return ne instanceof Promise?ne.then(W=>(zt(we,W),W)).catch(W=>(zt(Se,W),Promise.reject(W))):(zt(we,ne),ne)};return Y[Vo]=!0,Y[Qs]=G,Y},v={_p:s,$id:e,$onAction:Ho.bind(null,h),$patch:x,$reset:y,$subscribe(z,G={}){const Y=Ho(f,z,G.detached,()=>fe()),fe=i.run(()=>Sn(()=>s.state.value[e],we=>{(G.flush==="sync"?a:u)&&z({storeId:e,type:Tn.direct,events:m},we)},xt({},c,G)));return Y},$dispose:S},M=Hn(v);s._s.set(e,M);const $=(s._a&&s._a.runWithContext||nf)(()=>s._e.run(()=>(i=Mi()).run(()=>t({action:C}))));for(const z in $){const G=$[z];if(_e(G)&&!of(G)||wt(G))o||(O&&rf(G)&&(_e(G)?G.value=O[z]:Er(G,O[z])),s.state.value[e][z]=G);else if(typeof G=="function"){const Y=C(G,z);$[z]=Y,l.actions[z]=G}}return xt(M,$),xt(te(M),$),Object.defineProperty(M,"$state",{get:()=>s.state.value[e],set:z=>{x(G=>{xt(G,z)})}}),s._p.forEach(z=>{xt(M,i.run(()=>z({store:M,app:s._a,pinia:s,options:l})))}),O&&o&&n.hydrate&&n.hydrate(M.$state,O),u=!0,a=!0,M}/*! #__NO_SIDE_EFFECTS__ */function cf(e,t,n){let s,r;const o=typeof t=="function";s=e,r=o?n:t;function i(l,c){const u=_a();return l=l||(u?Xe(jl,null):null),l&&Ms(l),l=Bl,l._s.has(s)||(o?Hl(s,t,r,l):lf(s,r,l)),l._s.get(s)}return i.$id=s,i}const Fs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},af={};function uf(e,t){const n=fr("router-view");return ut(),$r(n)}const ff=Fs(af,[["render",uf]]),df="modulepreload",hf=function(e){return"/admin/"+e},qo={},Ge=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=hf(u),u in qo)return;qo[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":df,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 Qt=typeof document<"u";function Vl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function pf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Vl(e.default)}const se=Object.assign;function Ys(e,t){const n={};for(const s in t){const r=t[s];n[s]=tt(r)?r.map(e):e(r)}return n}const Pn=()=>{},tt=Array.isArray;function $o(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ql=/#/g,mf=/&/g,gf=/\//g,_f=/=/g,bf=/\?/g,$l=/\+/g,yf=/%5B/g,Ef=/%5D/g,Wl=/%5E/g,vf=/%60/g,Kl=/%7B/g,wf=/%7C/g,zl=/%7D/g,Rf=/%20/g;function Wr(e){return e==null?"":encodeURI(""+e).replace(wf,"|").replace(yf,"[").replace(Ef,"]")}function Sf(e){return Wr(e).replace(Kl,"{").replace(zl,"}").replace(Wl,"^")}function vr(e){return Wr(e).replace($l,"%2B").replace(Rf,"+").replace(ql,"%23").replace(mf,"%26").replace(vf,"`").replace(Kl,"{").replace(zl,"}").replace(Wl,"^")}function Af(e){return vr(e).replace(_f,"%3D")}function Of(e){return Wr(e).replace(ql,"%23").replace(bf,"%3F")}function xf(e){return Of(e).replace(gf,"%2F")}function Bn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Cf=/\/$/,Tf=e=>e.replace(Cf,"");function er(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=Df(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Bn(i)}}function Pf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&on(t.matched[s],n.matched[r])&&Gl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function on(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!If(e[n],t[n]))return!1;return!0}function If(e,t){return tt(e)?Ko(e,t):tt(t)?Ko(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ko(e,t){return tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Df(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 Ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let wr=(function(e){return e.pop="pop",e.push="push",e})({}),tr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Lf(e){if(!e)if(Qt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Tf(e)}const Mf=/^[^#]+#/;function Ff(e,t){return e.replace(Mf,"#")+t}function Uf(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 Us=()=>({left:window.scrollX,top:window.scrollY});function Bf(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=Uf(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 zo(e,t){return(history.state?history.state.position-t:-1)+e}const Rr=new Map;function jf(e,t){Rr.set(e,t)}function kf(e){const t=Rr.get(e);return Rr.delete(e),t}function Hf(e){return typeof e=="string"||e&&typeof e=="object"}function Jl(e){return typeof e=="string"||typeof e=="symbol"}let me=(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 Xl=Symbol("");me.MATCHER_NOT_FOUND+"",me.NAVIGATION_GUARD_REDIRECT+"",me.NAVIGATION_ABORTED+"",me.NAVIGATION_CANCELLED+"",me.NAVIGATION_DUPLICATED+"";function ln(e,t){return se(new Error,{type:e,[Xl]:!0},t)}function _t(e,t){return e instanceof Error&&Xl in e&&(t==null||!!(e.type&t))}const Vf=["params","query","hash"];function qf(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Vf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function $f(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($l," "),o=r.indexOf("="),i=Bn(o<0?r:r.slice(0,o)),l=o<0?null:Bn(r.slice(o+1));if(i in t){let c=t[i];tt(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Go(e){let t="";for(let n in e){const s=e[n];if(n=Af(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(tt(s)?s.map(r=>r&&vr(r)):[s&&vr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Wf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Kf=Symbol(""),Jo=Symbol(""),Bs=Symbol(""),Kr=Symbol(""),Sr=Symbol("");function _n(){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 Tt(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(ln(me.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):Hf(h)?c(ln(me.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 nr(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(Vl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Tt(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=pf(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&Tt(h,n,s,i,l,r)()}))}}return o}function zf(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=>on(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>on(u,c))||r.push(c))}return[n,s,r]}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Gf=()=>location.protocol+"//"+location.host;function Zl(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),Wo(l,"")}return Wo(n,e)+s+r}function Jf(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const m=Zl(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(y=>{y(n.value,O,{delta:x,type:wr.pop,direction:x?x>0?tr.forward:tr.back:tr.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(se({},h.state,{scroll:Us()}),"")}}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 Xo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Us():null}}function Xf(e){const{history:t,location:n}=window,s={value:Zl(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:Gf()+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,se({},t.state,Xo(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=se({},r.value,t.state,{forward:c,scroll:Us()});o(a.current,a,!0),o(c,se({},Xo(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Zf(e){e=Lf(e);const t=Xf(e),n=Jf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=se({location:"",base:e,go:s,createHref:Ff.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 Ee=(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})(Ee||{});const Qf={type:Ut.Static,value:""},Yf=/[a-zA-Z0-9_]/;function ed(e){if(!e)return[[]];if(e==="/")return[[Qf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=Ee.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===Ee.Static?o.push({type:Ut.Static,value:u}):n===Ee.Param||n===Ee.ParamRegExp||n===Ee.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!==Ee.ParamRegExp){s=n,n=Ee.EscapeNext;continue}switch(n){case Ee.Static:c==="/"?(u&&f(),i()):c===":"?(f(),n=Ee.Param):h();break;case Ee.EscapeNext:h(),n=s;break;case Ee.Param:c==="("?n=Ee.ParamRegExp:Yf.test(c)?h():(f(),n=Ee.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case Ee.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=Ee.ParamRegExpEnd:a+=c;break;case Ee.ParamRegExpEnd:f(),n=Ee.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===Ee.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),r}const Zo="[^/]+?",td={sensitive:!1,strict:!1,start:!0,end:!0};var Me=(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})(Me||{});const nd=/[.+*?^${}()[\]/\\]/g;function sd(e,t){const n=se({},td,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[Me.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const h=u[f];let m=Me.Segment+(n.sensitive?Me.BonusCaseSensitive:0);if(h.type===Ut.Static)f||(r+="/"),r+=h.value.replace(nd,"\\$&"),m+=Me.Static;else if(h.type===Ut.Param){const{value:O,repeatable:A,optional:x,regexp:y}=h;o.push({name:O,repeatable:A,optional:x});const S=y||Zo;if(S!==Zo){m+=Me.BonusCustomRegExp;try{`${S}`}catch(v){throw new Error(`Invalid custom RegExp for param "${O}" (${S}): `+v.message)}}let C=A?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(C=x&&u.length<2?`(?:/${C})`:"/"+C),x&&(C+="?"),r+=C,m+=Me.Dynamic,x&&(m+=Me.BonusOptional),A&&(m+=Me.BonusRepeatable),S===".*"&&(m+=Me.BonusWildcard)}a.push(m)}s.push(a)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Me.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,y=O in u?u[O]:"";if(tt(y)&&!A)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const S=tt(y)?y.join("/"):y;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 rd(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]===Me.Static+Me.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Me.Static+Me.Segment?1:-1:0}function Ql(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=rd(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Qo(s))return 1;if(Qo(r))return-1}return r.length-s.length}function Qo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const od={strict:!1,end:!0,sensitive:!1};function id(e,t,n){const s=sd(ed(e.path),n),r=se(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ld(e,t){const n=[],s=new Map;t=$o(od,t);function r(f){return s.get(f)}function o(f,h,m){const O=!m,A=ei(f);A.aliasOf=m&&m.record;const x=$o(t,f),y=[A];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const M of v)y.push(ei(se({},A,{components:m?m.record.components:A.components,path:M,aliasOf:m?m.record:A})))}let S,C;for(const v of y){const{path:M}=v;if(h&&M[0]!=="/"){const k=h.record.path,$=k[k.length-1]==="/"?"":"/";v.path=h.record.path+(M&&$+M)}if(S=id(v,h,x),m?m.alias.push(S):(C=C||S,C!==S&&C.alias.push(S),O&&f.name&&!ti(S)&&i(f.name)),Yl(S)&&c(S),A.children){const k=A.children;for(let $=0;$<k.length;$++)o(k[$],S,m&&m.children[$])}m=m||S}return C?()=>{i(C)}:Pn}function i(f){if(Jl(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=ud(f,n);n.splice(h,0,f),f.record.name&&!ti(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 ln(me.MATCHER_NOT_FOUND,{location:f});x=m.record.name,O=se(Yo(h.params,m.keys.filter(C=>!C.optional).concat(m.parent?m.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&Yo(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 ln(me.MATCHER_NOT_FOUND,{location:f,currentLocation:h});x=m.record.name,O=se({},h.params,f.params),A=m.stringify(O)}const y=[];let S=m;for(;S;)y.unshift(S.record),S=S.parent;return{name:x,path:A,params:O,matched:y,meta:ad(y)}}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 Yo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ei(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:cd(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 cd(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 ti(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ad(e){return e.reduce((t,n)=>se(t,n.meta),{})}function ud(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ql(e,t[o])<0?s=o:n=o+1}const r=fd(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function fd(e){let t=e;for(;t=t.parent;)if(Yl(t)&&Ql(e,t)===0)return t}function Yl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ni(e){const t=Xe(Bs),n=Xe(Kr),s=de(()=>{const c=xe(e.to);return t.resolve(c)}),r=de(()=>{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(on.bind(null,a));if(h>-1)return h;const m=si(c[u-2]);return u>1&&si(a)===m&&f[f.length-1].path!==m?f.findIndex(on.bind(null,c[u-2])):h}),o=de(()=>r.value>-1&&gd(n.params,s.value.params)),i=de(()=>r.value>-1&&r.value===n.matched.length-1&&Gl(n.params,s.value.params));function l(c={}){if(md(c)){const u=t[xe(e.replace)?"replace":"push"](xe(e.to)).catch(Pn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:de(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function dd(e){return e.length===1?e[0]:e}const hd=cl({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:ni,setup(e,{slots:t}){const n=Hn(ni(e)),{options:s}=Xe(Bs),r=de(()=>({[ri(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ri(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&dd(t.default(n));return e.custom?o:Ml("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),pd=hd;function md(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 gd(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(!tt(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function si(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ri=(e,t,n)=>e??t??n,_d=cl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Xe(Sr),r=de(()=>e.route||s.value),o=Xe(Jo,0),i=de(()=>{let u=xe(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=de(()=>r.value.matched[i.value]);Yn(Jo,de(()=>i.value+1)),Yn(Kf,l),Yn(Sr,r);const c=Nt();return Sn(()=>[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||!on(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 oi(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=Ml(h,se({},O,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return oi(n.default,{Component:x,route:u})||x}}});function oi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bd=_d;function yd(e){const t=ld(e.routes,e),n=e.parseQuery||$f,s=e.stringifyQuery||Go,r=e.history,o=_n(),i=_n(),l=_n(),c=ra(Ot);let u=Ot;Qt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Ys.bind(null,R=>""+R),f=Ys.bind(null,xf),h=Ys.bind(null,Bn);function m(R,F){let L,j;return Jl(R)?(L=t.getRecordMatcher(R),j=F):j=R,t.addRoute(j,L)}function O(R){const F=t.getRecordMatcher(R);F&&t.removeRoute(F)}function A(){return t.getRoutes().map(R=>R.record)}function x(R){return!!t.getRecordMatcher(R)}function y(R,F){if(F=se({},F||c.value),typeof R=="string"){const _=er(n,R,F.path),w=t.resolve({path:_.path},F),b=r.createHref(_.fullPath);return se(_,w,{params:h(w.params),hash:Bn(_.hash),redirectedFrom:void 0,href:b})}let L;if(R.path!=null)L=se({},R,{path:er(n,R.path,F.path).path});else{const _=se({},R.params);for(const w in _)_[w]==null&&delete _[w];L=se({},R,{params:f(_)}),F.params=f(F.params)}const j=t.resolve(L,F),X=R.hash||"";j.params=a(h(j.params));const d=Pf(s,se({},R,{hash:Sf(X),path:j.path})),p=r.createHref(d);return se({fullPath:d,hash:X,query:s===Go?Wf(R.query):R.query||{}},j,{redirectedFrom:void 0,href:p})}function S(R){return typeof R=="string"?er(n,R,c.value.path):se({},R)}function C(R,F){if(u!==R)return ln(me.NAVIGATION_CANCELLED,{from:F,to:R})}function v(R){return $(R)}function M(R){return v(se(S(R),{replace:!0}))}function k(R,F){const L=R.matched[R.matched.length-1];if(L&&L.redirect){const{redirect:j}=L;let X=typeof j=="function"?j(R,F):j;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=S(X):{path:X},X.params={}),se({query:R.query,hash:R.hash,params:X.path!=null?{}:R.params},X)}}function $(R,F){const L=u=y(R),j=c.value,X=R.state,d=R.force,p=R.replace===!0,_=k(L,j);if(_)return $(se(S(_),{state:typeof _=="object"?se({},X,_.state):X,force:d,replace:p}),F||L);const w=L;w.redirectedFrom=F;let b;return!d&&Nf(s,j,L)&&(b=ln(me.NAVIGATION_DUPLICATED,{to:w,from:j}),ie(j,j,!0,!1)),(b?Promise.resolve(b):Y(w,j)).catch(E=>_t(E)?_t(E,me.NAVIGATION_GUARD_REDIRECT)?E:Ae(E):ee(E,w,j)).then(E=>{if(E){if(_t(E,me.NAVIGATION_GUARD_REDIRECT))return $(se({replace:p},S(E.to),{state:typeof E.to=="object"?se({},X,E.to.state):X,force:d}),F||w)}else E=we(w,j,!0,p,X);return fe(w,j,E),E})}function z(R,F){const L=C(R,F);return L?Promise.reject(L):Promise.resolve()}function G(R){const F=ze.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(R):R()}function Y(R,F){let L;const[j,X,d]=zf(R,F);L=nr(j.reverse(),"beforeRouteLeave",R,F);for(const _ of j)_.leaveGuards.forEach(w=>{L.push(Tt(w,R,F))});const p=z.bind(null,R,F);return L.push(p),J(L).then(()=>{L=[];for(const _ of o.list())L.push(Tt(_,R,F));return L.push(p),J(L)}).then(()=>{L=nr(X,"beforeRouteUpdate",R,F);for(const _ of X)_.updateGuards.forEach(w=>{L.push(Tt(w,R,F))});return L.push(p),J(L)}).then(()=>{L=[];for(const _ of d)if(_.beforeEnter)if(tt(_.beforeEnter))for(const w of _.beforeEnter)L.push(Tt(w,R,F));else L.push(Tt(_.beforeEnter,R,F));return L.push(p),J(L)}).then(()=>(R.matched.forEach(_=>_.enterCallbacks={}),L=nr(d,"beforeRouteEnter",R,F,G),L.push(p),J(L))).then(()=>{L=[];for(const _ of i.list())L.push(Tt(_,R,F));return L.push(p),J(L)}).catch(_=>_t(_,me.NAVIGATION_CANCELLED)?_:Promise.reject(_))}function fe(R,F,L){l.list().forEach(j=>G(()=>j(R,F,L)))}function we(R,F,L,j,X){const d=C(R,F);if(d)return d;const p=F===Ot,_=Qt?history.state:{};L&&(j||p?r.replace(R.fullPath,se({scroll:p&&_&&_.scroll},X)):r.push(R.fullPath,X)),c.value=R,ie(R,F,L,p),Ae()}let Se;function Re(){Se||(Se=r.listen((R,F,L)=>{if(!st.listening)return;const j=y(R),X=k(j,st.currentRoute.value);if(X){$(se(X,{replace:!0,force:!0}),j).catch(Pn);return}u=j;const d=c.value;Qt&&jf(zo(d.fullPath,L.delta),Us()),Y(j,d).catch(p=>_t(p,me.NAVIGATION_ABORTED|me.NAVIGATION_CANCELLED)?p:_t(p,me.NAVIGATION_GUARD_REDIRECT)?($(se(S(p.to),{force:!0}),j).then(_=>{_t(_,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&!L.delta&&L.type===wr.pop&&r.go(-1,!1)}).catch(Pn),Promise.reject()):(L.delta&&r.go(-L.delta,!1),ee(p,j,d))).then(p=>{p=p||we(j,d,!1),p&&(L.delta&&!_t(p,me.NAVIGATION_CANCELLED)?r.go(-L.delta,!1):L.type===wr.pop&&_t(p,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),fe(j,d,p)}).catch(Pn)}))}let ke=_n(),ne=_n(),W;function ee(R,F,L){Ae(R);const j=ne.list();return j.length?j.forEach(X=>X(R,F,L)):console.error(R),Promise.reject(R)}function Ke(){return W&&c.value!==Ot?Promise.resolve():new Promise((R,F)=>{ke.add([R,F])})}function Ae(R){return W||(W=!R,Re(),ke.list().forEach(([F,L])=>R?L(R):F()),ke.reset()),R}function ie(R,F,L,j){const{scrollBehavior:X}=e;if(!Qt||!X)return Promise.resolve();const d=!L&&kf(zo(R.fullPath,0))||(j||!L)&&history.state&&history.state.scroll||null;return Ps().then(()=>X(R,F,d)).then(p=>p&&Bf(p)).catch(p=>ee(p,R,F))}const pe=R=>r.go(R);let He;const ze=new Set,st={currentRoute:c,listening:!0,addRoute:m,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:A,resolve:y,options:e,push:v,replace:M,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ne.add,isReady:Ke,install(R){R.component("RouterLink",pd),R.component("RouterView",bd),R.config.globalProperties.$router=st,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>xe(c)}),Qt&&!He&&c.value===Ot&&(He=!0,v(r.location).catch(j=>{}));const F={};for(const j in Ot)Object.defineProperty(F,j,{get:()=>c.value[j],enumerable:!0});R.provide(Bs,st),R.provide(Kr,Zi(F)),R.provide(Sr,c);const L=R.unmount;ze.add(R),R.unmount=function(){ze.delete(R),ze.size<1&&(u=Ot,Se&&Se(),Se=null,c.value=Ot,He=!1,W=!1),L()}}};function J(R){return R.reduce((F,L)=>F.then(()=>G(L)),Promise.resolve())}return st}function Ed(){return Xe(Bs)}function vd(e){return Xe(Kr)}function ec(e,t){return function(){return e.apply(t,arguments)}}const{toString:wd}=Object.prototype,{getPrototypeOf:cn}=Object,{iterator:$n,toStringTag:tc}=Symbol,ms=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),jn=(e,t)=>{let n=e;const s=[];for(;n!=null&&n!==Object.prototype;){if(s.indexOf(n)!==-1)return!1;if(s.push(n),ms(n,t))return!0;n=cn(n)}return!1},Rd=(e,t)=>e!=null&&jn(e,t)?e[t]:void 0,zr=(e=>t=>{const n=wd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>zr(t)===e),js=e=>t=>typeof t===e,{isArray:qt}=Array,an=js("undefined");function dn(e){return e!==null&&!an(e)&&e.constructor!==null&&!an(e.constructor)&&je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const nc=nt("ArrayBuffer");function Sd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&nc(e.buffer),t}const Ad=js("string"),je=js("function"),sc=js("number"),hn=e=>e!==null&&typeof e=="object",Od=e=>e===!0||e===!1,ns=e=>{if(!hn(e))return!1;const t=cn(e);return(t===null||t===Object.prototype||cn(t)===null)&&!jn(e,tc)&&!jn(e,$n)},xd=e=>{if(!hn(e)||dn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Cd=nt("Date"),Td=nt("File"),Pd=e=>!!(e&&typeof e.uri<"u"),Nd=e=>e&&typeof e.getParts<"u",Id=nt("Blob"),Dd=nt("FileList"),Ld=e=>hn(e)&&je(e.pipe);function Md(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ii=Md(),li=typeof ii.FormData<"u"?ii.FormData:void 0,Fd=e=>{if(!e)return!1;if(li&&e instanceof li)return!0;const t=cn(e);if(!t||t===Object.prototype||!je(e.append))return!1;const n=zr(e);return n==="formdata"||n==="object"&&je(e.toString)&&e.toString()==="[object FormData]"},Ud=nt("URLSearchParams"),[Bd,jd,kd,Hd]=["ReadableStream","Request","Response","Headers"].map(nt),Vd=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]),qt(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(dn(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 rc(e,t){if(dn(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,oc=e=>!an(e)&&e!==Bt;function Ar(...e){const{caseless:t,skipUndefined:n}=oc(this)&&this||{},s={},r=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const l=t&&typeof i=="string"&&rc(s,i)||i,c=ms(s,l)?s[l]:void 0;ns(c)&&ns(o)?s[l]=Ar(c,o):ns(o)?s[l]=Ar({},o):qt(o)?s[l]=o.slice():(!n||!an(o))&&(s[l]=o)};for(let o=0,i=e.length;o<i;o++){const l=e[o];if(!l||dn(l)||(Wn(l,r),typeof l!="object"||qt(l)))continue;const c=Object.getOwnPropertySymbols(l);for(let u=0;u<c.length;u++){const a=c[u];eh.call(l,a)&&r(l[a],a)}}return s}const qd=(e,t,n,{allOwnKeys:s}={})=>(Wn(t,(r,o)=>{n&&je(r)?Object.defineProperty(e,o,{__proto__:null,value:ec(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),$d=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wd=(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)},Kd=(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&&cn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zd=(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},Gd=e=>{if(!e)return null;if(qt(e))return e;let t=e.length;if(!sc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Jd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&cn(Uint8Array)),Xd=(e,t)=>{const s=(e&&e[$n]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Zd=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Qd=nt("HTMLFormElement"),Yd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),{propertyIsEnumerable:eh}=Object.prototype,th=nt("RegExp"),ic=(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)},nh=e=>{ic(e,(t,n)=>{if(je(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if(je(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+"'")})}})},sh=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return qt(e)?s(e):s(String(e).split(t)),n},rh=()=>{},oh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ih(e){return!!(e&&je(e.append)&&e[tc]==="FormData"&&e[$n])}const lh=e=>{const t=new WeakSet,n=s=>{if(hn(s)){if(t.has(s))return;if(dn(s))return s;if(!("toJSON"in s)){t.add(s);const r=qt(s)?[]:{};return Wn(s,(o,i)=>{const l=n(o);!an(l)&&(r[i]=l)}),t.delete(s),r}}return s};return n(e)},ch=nt("AsyncFunction"),ah=e=>e&&(hn(e)||je(e))&&je(e.then)&&je(e.catch),lc=((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",je(Bt.postMessage)),uh=typeof queueMicrotask<"u"?queueMicrotask.bind(Bt):typeof process<"u"&&process.nextTick||lc,cc=e=>e!=null&&je(e[$n]),fh=e=>e!=null&&jn(e,$n)&&cc(e),g={isArray:qt,isArrayBuffer:nc,isBuffer:dn,isFormData:Fd,isArrayBufferView:Sd,isString:Ad,isNumber:sc,isBoolean:Od,isObject:hn,isPlainObject:ns,isEmptyObject:xd,isReadableStream:Bd,isRequest:jd,isResponse:kd,isHeaders:Hd,isUndefined:an,isDate:Cd,isFile:Td,isReactNativeBlob:Pd,isReactNative:Nd,isBlob:Id,isRegExp:th,isFunction:je,isStream:Ld,isURLSearchParams:Ud,isTypedArray:Jd,isFileList:Dd,forEach:Wn,merge:Ar,extend:qd,trim:Vd,stripBOM:$d,inherits:Wd,toFlatObject:Kd,kindOf:zr,kindOfTest:nt,endsWith:zd,toArray:Gd,forEachEntry:Xd,matchAll:Zd,isHTMLForm:Qd,hasOwnProperty:ms,hasOwnProp:ms,hasOwnInPrototypeChain:jn,getSafeProp:Rd,reduceDescriptors:ic,freezeMethods:nh,toObjectSet:sh,toCamelCase:Yd,noop:rh,toFiniteNumber:oh,findKey:rc,global:Bt,isContextDefined:oc,isSpecCompliantForm:ih,toJSONObject:lh,isAsyncFn:ch,isThenable:ah,setImmediate:lc,asap:uh,isIterable:cc,isSafeIterable:fh},dh=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"]),hh=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]&&dh[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function ph(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 mh=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),gh=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Gr(e,t){return g.isArray(e)?e.map(n=>Gr(n,t)):ph(String(e).replace(t,""))}const _h=e=>Gr(e,mh),bh=e=>Gr(e,gh);function ac(e){const t=Object.create(null);return g.forEach(e.toJSON(),(n,s)=>{t[s]=bh(n)}),t}const ci=Symbol("internals");function bn(e){return e&&String(e).trim().toLowerCase()}function ss(e){return e===!1||e==null?e:g.isArray(e)?e.map(ss):_h(String(e))}function yh(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 Eh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function sr(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 vh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function wh(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 De=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=bn(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]=ss(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())&&!Eh(t))i(hh(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=bn(t),t){const s=g.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return yh(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=bn(t),t){const s=g.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||sr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=bn(i),i){const l=g.findKey(s,i);l&&(!n||sr(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||sr(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]=ss(r),delete n[o];return}const l=t?vh(o):String(o).trim();l!==o&&delete n[o],n[l]=ss(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return 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[ci]=this[ci]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=bn(i);s[l]||(wh(r,i),s[l]=!0)}return g.isArray(t)?t.forEach(o):o(t),this}};De.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.reduceDescriptors(De.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});g.freezeMethods(De);const Rh="[REDACTED ****]";function Sh(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 Ah(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 De&&(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)&&Sh(o))return s.pop(),o;i=Object.create(null);for(const[l,c]of Object.entries(o)){const u=n.has(l.toLowerCase())?Rh:r(c);g.isUndefined(u)||(i[l]=u)}}return s.pop(),i};return r(e)}let D=class uc extends Error{static from(t,n,s,r,o,i){const l=new uc(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?Ah(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 Oh=null,fc=100;function Or(e){return g.isPlainObject(e)||g.isArray(e)}function dc(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function rr(e,t,n){return e?e.concat(t).map(function(r,o){return r=dc(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function xh(e){return g.isArray(e)&&!e.some(Or)}const Ch=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function ks(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?fc:n.maxDepth,u=l&&g.isSpecCompliantForm(t),a=[];if(!g.isFunction(r))throw new TypeError("visitor must be a function");function f(y){if(y===null)return"";if(g.isDate(y))return y.toISOString();if(g.isBoolean(y))return y.toString();if(!u&&g.isBlob(y))throw new D("Blob is not supported. Use a Buffer instead.");if(g.isArrayBuffer(y)||g.isTypedArray(y)){if(u&&typeof l=="function")return new l([y]);if(typeof Buffer<"u")return Buffer.from(y);throw new D("Blob is not supported. Use a Buffer instead.",D.ERR_NOT_SUPPORT)}return y}function h(y){if(y>c)throw new D("Object is too deeply nested ("+y+" levels). Max depth: "+c,D.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(y,S){if(c===1/0)return JSON.stringify(y);const C=[];return JSON.stringify(y,function(M,k){if(!g.isObject(k))return k;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(k),h(S+C.length-1),k})}function O(y,S,C){let v=y;if(g.isReactNative(t)&&g.isReactNativeBlob(y))return t.append(rr(C,S,o),f(y)),!1;if(y&&!C&&typeof y=="object"){if(g.endsWith(S,"{}"))S=s?S:S.slice(0,-2),y=m(y,1);else if(g.isArray(y)&&xh(y)||(g.isFileList(y)||g.endsWith(S,"[]"))&&(v=g.toArray(y)))return S=dc(S),v.forEach(function(k,$){!(g.isUndefined(k)||k===null)&&t.append(i===!0?rr([S],$,o):i===null?S:S+"[]",f(k))}),!1}return Or(y)?!0:(t.append(rr(C,S,o),f(y)),!1)}const A=Object.assign(Ch,{defaultVisitor:O,convertValue:f,isVisitable:Or});function x(y,S,C=0){if(!g.isUndefined(y)){if(h(C),a.indexOf(y)!==-1)throw new Error("Circular reference detected in "+S.join("."));a.push(y),g.forEach(y,function(M,k){(!(g.isUndefined(M)||M===null)&&r.call(t,M,g.isString(k)?k.trim():k,S,A))===!0&&x(M,S?S.concat(k):[k],C+1)}),a.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return x(e),t}function ai(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function Jr(e,t){this._pairs=[],e&&ks(e,this,t)}const hc=Jr.prototype;hc.append=function(t,n){this._pairs.push([t,n])};hc.toString=function(t){const n=t?s=>t.call(this,s,ai):ai;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Th(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function pc(e,t,n){if(!t)return e;e=e||"";const s=g.isFunction(n)?{serialize:n}:n,r=g.getSafeProp(s,"encode")||Th,o=g.getSafeProp(s,"serialize");let i;if(o?i=o(t,s):i=g.isURLSearchParams(t)?t.toString():new Jr(t,s).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ui{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 Xr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Ph=typeof URLSearchParams<"u"?URLSearchParams:Jr,Nh=typeof FormData<"u"?FormData:null,Ih=typeof Blob<"u"?Blob:null,Dh={isBrowser:!0,classes:{URLSearchParams:Ph,FormData:Nh,Blob:Ih},protocols:["http","https","file","blob","url","data"]},Zr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,Lh=Zr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),Mh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Fh=Zr&&window.location.href||"http://localhost",Uh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zr,hasStandardBrowserEnv:Lh,hasStandardBrowserWebWorkerEnv:Mh,navigator:xr,origin:Fh},Symbol.toStringTag,{value:"Module"})),Ce={...Uh,...Dh};function Bh(e,t){return ks(e,new Ce.classes.URLSearchParams,{visitor:function(n,s,r,o){return Ce.isNode&&g.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const fi=fc;function mc(e){if(e>fi)throw new D("FormData field is too deeply nested ("+e+" levels). Max depth: "+fi,D.ERR_FORM_DATA_DEPTH_EXCEEDED)}function jh(e){const t=[],n=/\w+|\[(\w*)]/g;let s;for(;(s=n.exec(e))!==null;)mc(t.length),t.push(s[0]==="[]"?"":s[1]||s[0]);return t}function kh(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 gc(e){function t(n,s,r,o){mc(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]=kh(r[i])),!l)}if(g.isFormData(e)&&g.isFunction(e.entries)){const n={};return g.forEachEntry(e,(s,r)=>{t(jh(s),r,n,0)}),n}return null}const Gt=(e,t)=>e!=null&&g.hasOwnProp(e,t)?e[t]:void 0;function Hh(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 Kn={transitional:Xr,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(gc(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 Bh(t,c).toString();if((l=g.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=Gt(this,"env"),a=u&&u.FormData;return ks(l?{"files[]":t}:t,a&&new a,c)}}return o||r?(n.setContentType("application/json",!1),Hh(t)):t}],transformResponse:[function(t){const n=Gt(this,"transitional")||Kn.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:Ce.classes.FormData,Blob:Ce.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=>{Kn.headers[e]={}});function or(e,t){const n=this||Kn,s=t||n,r=De.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 _c(e){return!!(e&&e.__CANCEL__)}let zn=class extends D{constructor(t,n,s){super(t??"canceled",D.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function bc(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 Vh(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function qh(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 $h(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 gs=(e,t,n=3)=>{let s=0;const r=qh(50,250);return $h(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)},di=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},hi=e=>(...t)=>g.asap(()=>e(...t)),Wh=Ce.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ce.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ce.origin),Ce.navigator&&/(msie|trident)/i.test(Ce.navigator.userAgent)):()=>!0,Kh=Ce.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 zh(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const Jh=/^https?:(?!\/\/)/i,Xh=/[\t\n\r]/g;function Zh(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function Qh(e){return Zh(e).replace(Xh,"")}function pi(e,t){if(typeof e=="string"&&Jh.test(Qh(e)))throw new D('Invalid URL: missing "//" after protocol',D.ERR_INVALID_URL,t)}function yc(e,t,n,s){pi(t,s);let r=!zh(t);return e&&(r||n===!1)?(pi(e,s),Gh(e,t)):t}const mi=e=>e instanceof De?{...e}:e;function $t(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(mi(a),mi(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 Yh=["content-type","content-length"];function ep(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([s,r])=>{Yh.includes(s.toLowerCase())&&e.set(s,r)})}const tp=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function Ec(e){const t=$t({},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=De.from(l),t.url=pc(yc(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?tp(m):"")))}catch(O){throw D.from(O,D.ERR_BAD_OPTION_VALUE,e)}}if(g.isFormData(s)&&(Ce.hasStandardBrowserEnv||Ce.hasStandardBrowserWebWorkerEnv||g.isReactNative(s)?l.setContentType(void 0):g.isFunction(s.getHeaders)&&ep(l,s.getHeaders(),n("formDataHeaderPolicy"))),Ce.hasStandardBrowserEnv&&(g.isFunction(r)&&(r=r(t)),r===!0||r==null&&Wh(t.url))){const m=o&&i&&Kh.read(i);m&&l.set(o,m)}return t}const np=typeof XMLHttpRequest<"u",sp=np&&function(e){return new Promise(function(n,s){const r=Ec(e);let o=r.data;const i=De.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 y(){if(!x)return;const C=De.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),M={data:!l||l==="text"||l==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:C,config:e,request:x};bc(function($){n($),A()},function($){s($),A()},M),x=null}"onloadend"in x?x.onloadend=y:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.startsWith("file:"))||setTimeout(y)},x.onabort=function(){x&&(s(new D("Request aborted",D.ECONNABORTED,e,x)),A(),x=null)},x.onerror=function(v){const M=v&&v.message?v.message:"Network Error",k=new D(M,D.ERR_NETWORK,e,x);k.event=v||null,s(k),A(),x=null},x.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const M=r.transitional||Xr;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),s(new D(v,M.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,e,x)),A(),x=null},o===void 0&&i.setContentType(null),"setRequestHeader"in x&&g.forEach(ac(i),function(v,M){x.setRequestHeader(M,v)}),g.isUndefined(r.withCredentials)||(x.withCredentials=!!r.withCredentials),l&&l!=="json"&&(x.responseType=r.responseType),u&&([h,O]=gs(u,!0),x.addEventListener("progress",h)),c&&x.upload&&([f,m]=gs(c),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=C=>{x&&(s(!C||C.type?new zn(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=Vh(r.url);if(S&&!Ce.protocols.includes(S)){s(new D("Unsupported protocol "+S+":",D.ERR_BAD_REQUEST,e)),A();return}x.send(o||null)})},rp=(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 zn(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},op=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},ip=async function*(e,t){for await(const n of lp(e))yield*op(n,t)},lp=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()}},gi=(e,t,n,s)=>{const r=ip(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})},_s=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,cp=(e,t,n)=>t+2<n&&_s(e.charCodeAt(t+1))&&_s(e.charCodeAt(t+2));function ap(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);_s(O)&&_s(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&&cp(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 Qr="1.18.1",_i=64*1024,{isFunction:Zn}=g,up=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),bi=e=>{if(!g.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},yi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},fp=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},dp=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?Zn(r):typeof fetch=="function",c=Zn(o),u=Zn(i);if(!l)return!1;const a=l&&Zn(n),f=l&&(typeof s=="function"?(y=>S=>y.encode(S))(new s):async y=>new Uint8Array(await new o(y).arrayBuffer())),h=c&&a&&yi(()=>{let y=!1;const S=new o(Ce.origin,{body:new n,method:"POST",get duplex(){return y=!0,"half"}}),C=S.headers.has("Content-Type");return S.body!=null&&S.body.cancel(),y&&!C}),m=u&&a&&yi(()=>g.isReadableStream(new i("").body)),O={stream:m&&(y=>y.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(y=>{!O[y]&&(O[y]=(S,C)=>{let v=S&&S[y];if(v)return v.call(S);throw new D(`Response type '${y}' is not supported`,D.ERR_NOT_SUPPORT,C)})});const A=async y=>{if(y==null)return 0;if(g.isBlob(y))return y.size;if(g.isSpecCompliantForm(y))return(await new o(Ce.origin,{method:"POST",body:y}).arrayBuffer()).byteLength;if(g.isArrayBufferView(y)||g.isArrayBuffer(y))return y.byteLength;if(g.isURLSearchParams(y)&&(y=y+""),g.isString(y))return(await f(y)).byteLength},x=async(y,S)=>{const C=g.toFiniteNumber(y.getContentLength());return C??A(S)};return async y=>{let{url:S,method:C,data:v,signal:M,cancelToken:k,timeout:$,onDownloadProgress:z,onUploadProgress:G,responseType:Y,headers:fe,withCredentials:we="same-origin",fetchOptions:Se,maxContentLength:Re,maxBodyLength:ke}=Ec(y);const ne=g.isNumber(Re)&&Re>-1,W=g.isNumber(ke)&&ke>-1,ee=J=>g.hasOwnProp(y,J)?y[J]:void 0;let Ke=r||fetch;Y=Y?(Y+"").toLowerCase():"text";let Ae=rp([M,k&&k.toAbortSignal()],$),ie=null;const pe=Ae&&Ae.unsubscribe&&(()=>{Ae.unsubscribe()});let He,ze=null;const st=()=>new D("Request body larger than maxBodyLength limit",D.ERR_BAD_REQUEST,y,ie);try{let J;const R=ee("auth");if(R){const b=g.getSafeProp(R,"username")||"",E=g.getSafeProp(R,"password")||"";J={username:b,password:E}}if(fp(S)){const b=new URL(S,Ce.origin);if(!J&&(b.username||b.password)){const E=bi(b.username),I=bi(b.password);J={username:E,password:I}}(b.username||b.password)&&(b.username="",b.password="",S=b.href)}if(J&&(fe.delete("authorization"),fe.set("Authorization","Basic "+btoa(up((J.username||"")+":"+(J.password||""))))),ne&&typeof S=="string"&&S.startsWith("data:")&&ap(S)>Re)throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,y,ie);if(W&&C!=="get"&&C!=="head"){const b=await A(v);if(typeof b=="number"&&isFinite(b)&&(He=b,b>ke))throw st()}const F=W&&(g.isReadableStream(v)||g.isStream(v)),L=(b,E,I)=>gi(b,_i,P=>{if(W&&P>ke)throw ze=st();E&&E(P)},I);if(h&&C!=="get"&&C!=="head"&&(G||F)){if(He=He??await x(fe,v),He!==0||F){let b=new o(S,{method:"POST",body:v,duplex:"half"}),E;if(g.isFormData(v)&&(E=b.headers.get("content-type"))&&fe.setContentType(E),b.body){const[I,P]=G&&di(He,gs(hi(G)))||[];v=L(b.body,I,P)}}}else if(F&&!c&&a&&C!=="get"&&C!=="head")v=L(v);else if(F&&c&&!h&&C!=="get"&&C!=="head")throw new D("Stream request bodies are not supported by the current fetch implementation",D.ERR_NOT_SUPPORT,y,ie);g.isString(we)||(we=we?"include":"omit");const j=c&&"credentials"in o.prototype;if(g.isFormData(v)){const b=fe.getContentType();b&&/^multipart\/form-data/i.test(b)&&!/boundary=/i.test(b)&&fe.delete("content-type")}fe.set("User-Agent","axios/"+Qr,!1);const X={...Se,signal:Ae,method:C.toUpperCase(),headers:ac(fe.normalize()),body:v,duplex:"half",credentials:j?we:void 0};ie=c&&new o(S,X);let d=await(c?Ke(ie,Se):Ke(S,X));const p=De.from(d.headers);if(ne){const b=g.toFiniteNumber(p.getContentLength());if(b!=null&&b>Re)throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,y,ie)}const _=m&&(Y==="stream"||Y==="response");if(m&&d.body&&(z||ne||_&&pe)){const b={};["status","statusText","headers"].forEach(B=>{b[B]=d[B]});const E=g.toFiniteNumber(p.getContentLength()),[I,P]=z&&di(E,gs(hi(z),!0))||[];let N=0;const T=B=>{if(ne&&(N=B,N>Re))throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,y,ie);I&&I(B)};d=new i(gi(d.body,_i,T,()=>{P&&P(),pe&&pe()}),b)}Y=Y||"text";let w=await O[g.findKey(O,Y)||"text"](d,y);if(ne&&!m&&!_){let b;if(w!=null&&(typeof w.byteLength=="number"?b=w.byteLength:typeof w.size=="number"?b=w.size:typeof w=="string"&&(b=typeof s=="function"?new s().encode(w).byteLength:w.length)),typeof b=="number"&&b>Re)throw new D("maxContentLength size of "+Re+" exceeded",D.ERR_BAD_RESPONSE,y,ie)}return!_&&pe&&pe(),await new Promise((b,E)=>{bc(b,E,{data:w,headers:De.from(d.headers),status:d.status,statusText:d.statusText,config:y,request:ie})})}catch(J){if(pe&&pe(),Ae&&Ae.aborted&&Ae.reason instanceof D){const R=Ae.reason;throw R.config=y,ie&&(R.request=ie),J!==R&&Object.defineProperty(R,"cause",{__proto__:null,value:J,writable:!0,enumerable:!1,configurable:!0}),R}if(ze)throw ie&&!ze.request&&(ze.request=ie),ze;if(J instanceof D)throw ie&&!J.request&&(J.request=ie),J;if(J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)){const R=new D("Network Error",D.ERR_NETWORK,y,ie,J&&J.response);throw Object.defineProperty(R,"cause",{__proto__:null,value:J.cause||J,writable:!0,enumerable:!1,configurable:!0}),R}throw D.from(J,J&&J.code,y,ie,J&&J.response)}}},hp=new Map,vc=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=hp;for(;l--;)c=o[l],u=a.get(c),u===void 0&&a.set(c,u=l?new Map:dp(t)),a=u;return u};vc();const Yr={http:Oh,xhr:sp,fetch:{get:vc}};g.forEach(Yr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Ei=e=>`- ${e}`,pp=e=>g.isFunction(e)||e===null||e===!1;function mp(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,!pp(s)&&(r=Yr[(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(Ei).join(`
|
|
`):" "+Ei(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 wc={getAdapter:mp,adapters:Yr};function ir(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zn(null,e)}function vi(e){return ir(e),e.headers=De.from(e.headers),e.data=or.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wc.getAdapter(e.adapter||Kn.adapter,e)(e).then(function(s){ir(e),e.response=s;try{s.data=or.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=De.from(s.headers),s},function(s){if(!_c(s)&&(ir(e),s&&s.response)){e.response=s.response;try{s.response.data=or.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=De.from(s.response.headers)}return Promise.reject(s)})}const Hs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hs[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const wi={};Hs.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Qr+"] 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&&!wi[i]&&(wi[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}};Hs.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function gp(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 rs={assertOptions:gp,validators:Hs},Pe=rs.validators;let Ht=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ui,response:new ui}}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=$t(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&rs.assertOptions(s,{silentJSONParsing:Pe.transitional(Pe.boolean),forcedJSONParsing:Pe.transitional(Pe.boolean),clarifyTimeoutError:Pe.transitional(Pe.boolean),legacyInterceptorReqResOrdering:Pe.transitional(Pe.boolean),advertiseZstdAcceptEncoding:Pe.transitional(Pe.boolean),validateStatusUndefinedResolves:Pe.transitional(Pe.boolean)},!1),r!=null&&(g.isFunction(r)?n.paramsSerializer={serialize:r}:rs.assertOptions(r,{encode:Pe.function,serialize:Pe.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),rs.assertOptions(n,{baseUrl:Pe.spelling("baseURL"),withXsrfToken:Pe.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=De.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||Xr;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=[vi.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=vi.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=$t(this.defaults,t);const n=yc(t.baseURL,t.url,t.allowAbsoluteUrls,t);return pc(n,t.params,t.paramsSerializer)}};g.forEach(["delete","get","head","options"],function(t){Ht.prototype[t]=function(n,s){return this.request($t(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($t(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Ht.prototype[t]=n(),t!=="query"&&(Ht.prototype[t+"Form"]=n(!0))});let _p=class Rc{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 zn(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 Rc(function(r){t=r}),cancel:t}}};function bp(e){return function(n){return e.apply(null,n)}}function yp(e){return g.isObject(e)&&e.isAxiosError===!0}const Cr={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(Cr).forEach(([e,t])=>{Cr[t]=e});function Sc(e){const t=new Ht(e),n=ec(Ht.prototype.request,t);return g.extend(n,Ht.prototype,t,{allOwnKeys:!0}),g.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Sc($t(e,r))},n}const be=Sc(Kn);be.Axios=Ht;be.CanceledError=zn;be.CancelToken=_p;be.isCancel=_c;be.VERSION=Qr;be.toFormData=ks;be.AxiosError=D;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=bp;be.isAxiosError=yp;be.mergeConfig=$t;be.AxiosHeaders=De;be.formToJSON=e=>gc(g.isHTMLForm(e)?new FormData(e):e);be.getAdapter=wc.getAdapter;be.HttpStatusCode=Cr;be.default=be;const{Axios:om,AxiosError:im,CanceledError:lm,isCancel:cm,CancelToken:am,VERSION:um,all:fm,Cancel:dm,isAxiosError:hm,spread:pm,toFormData:mm,AxiosHeaders:gm,HttpStatusCode:_m,formToJSON:bm,getAdapter:ym,mergeConfig:Em,create:vm}=be,Nn=be.create({baseURL:"/api",timeout:6e4});Nn.interceptors.request.use(e=>{const t=localStorage.getItem("admin_token");return t&&(e.headers.Authorization=`Bearer ${t}`),e});Nn.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 bs=[{code:"dir:overview",name:"概览",type:"dir",children:[{code:"menu:dashboard",name:"数据概览",type:"menu",path:"/dashboard",icon:"dashboard",children:[]}]},{code:"dir:org",name:"组织架构",type:"dir",children:[{code:"menu:users",name:"用户管理",type:"menu",path:"/users",icon:"users",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:guests",name:"访客管理",type:"menu",path:"/guests",icon:"visitors",children:[{code:"btn:guest:status",name:"启用/禁用访客",type:"btn"},{code:"btn:guest:delete",name:"删除访客",type:"btn"}]},{code:"menu:departments",name:"部门管理",type:"menu",path:"/departments",icon:"departments",children:[{code:"btn:dept:create",name:"新增部门",type:"btn"},{code:"btn:dept:edit",name:"编辑部门",type:"btn"},{code:"btn:dept:delete",name:"删除部门",type:"btn"}]},{code:"menu:invitations",name:"邀请码管理",type:"menu",path:"/invitations",icon:"ticket",children:[{code:"btn:invitation:create",name:"生成邀请码",type:"btn"},{code:"btn:invitation:revoke",name:"作废邀请码",type:"btn"}]},{code:"menu:roles",name:"角色管理",type:"menu",path:"/roles",icon:"roles",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:"conversations",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:"memberships",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:"models",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:"permissions",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:"settings",children:[{code:"btn:settings:save",name:"保存设置",type:"btn"}]}]}];function wm(){return{can_access_admin:!1,dirs:[],menus:[],buttons:[]}}function Ac(e=bs){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 Rm(e={}){const t=[];e.can_access_admin&&t.push("后台");for(const n of bs)(e.dirs||[]).includes(n.code)&&t.push(n.name);for(const n of Ac())(e.menus||[]).includes(n.code)&&t.push(n.name);return t}const Oc=cf("auth",()=>{const e=Nt(localStorage.getItem("admin_token")||""),t=Nt(null),n=Nt(!1),s=Nt(bs),r=de(()=>{var v;return((v=t.value)==null?void 0:v.role_permissions)||{}}),o=de(()=>{var v,M,k;return((v=t.value)==null?void 0:v.role_slug)==="super_admin"||((M=t.value)==null?void 0:M.role)==="admin"&&!((k=t.value)!=null&&k.role_id)}),i=de(()=>{var v;return o.value||((v=t.value)==null?void 0:v.role)==="admin"||!!r.value.can_access_admin}),l=de(()=>!!e.value&&!!t.value),c=de(()=>i.value);function u(v){var k;if(!v||o.value||((k=t.value)==null?void 0:k.role)==="admin")return!0;const M=r.value;return v==="can_access_admin"?!!M.can_access_admin:v.startsWith("dir:")?(M.dirs||[]).includes(v):v.startsWith("menu:")?(M.menus||[]).includes(v):v.startsWith("btn:")?(M.buttons||[]).includes(v):!!M[v]}function a(v){return u(v)}function f(v){return u(v)}function h(v){return u(v)}function m(v){return u(v)}function O(v=[]){return v.some(M=>u(M))}const A=de(()=>Ac(s.value).filter(v=>v.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(v.code)));async function x(){var v,M;try{const k=await Nn.get("/admin/permissions/tree");(M=(v=k.data.data)==null?void 0:v.tree)!=null&&M.length&&(s.value=k.data.data.tree)}catch{}}async function y(){if(e.value)try{const v=await Nn.get("/auth/me");t.value=v.data.data,i.value?await x():C()}catch{C()}n.value=!0}async function S(v,M){const $=(await Nn.post("/auth/login",{account:v,password:M})).data.data,z=$.user.role_permissions||{};if(!($.user.role==="admin"||$.user.role_slug==="super_admin"||!!z.can_access_admin))throw new Error("该账号无管理后台访问权限");return e.value=$.token,t.value=$.user,localStorage.setItem("admin_token",e.value),await x(),$}function C(){e.value="",t.value=null,s.value=bs,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:y,login:S,logout:C}}),Ep=["width","height"],vp=["d"],wp={__name:"UiIcon",props:{name:{type:String,default:"file"},size:{type:[Number,String],default:18}},setup(e){const t=e,n={dashboard:"M4 13h6V4H4v9Zm0 7h6v-4H4v4Zm10 0h6v-9h-6v9Zm0-12h6V4h-6v4Z",users:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm13 10v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75",visitors:"M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 9v-1a7 7 0 0 1 14 0v1M18.5 8.5 21 11l-2.5 2.5M21 11h-5",departments:"M3 21h18M5 21V8l7-4 7 4v13M9 11h1m4 0h1m-6 4h1m4 0h1m-4 6v-3h2v3",ticket:"M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3a2 2 0 0 0 0 4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3a2 2 0 0 0 0-4V7Zm9 0v2m0 2v2m0 2v2",roles:"M12 3 4.5 6v5.5c0 4.7 3.2 8.1 7.5 9.5 4.3-1.4 7.5-4.8 7.5-9.5V6L12 3Zm-2.3 9.2 1.55 1.55 3.2-3.5",conversations:"M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v8ZM8 9h8M8 13h5",memberships:"m12 3 2.7 5.45 6.02.88-4.36 4.25 1.03 6L12 17.7 6.61 20.5l1.03-6L3.28 9.33l6.02-.88L12 3Z",models:"M9 4.5V2m6 2.5V2M4.5 9H2m20 0h-2.5M7 5h10a2 2 0 0 1 2 2v9a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V7a2 2 0 0 1 2-2Zm2 6v2m6-2v2m-6 3h6",permissions:"M15 7a5 5 0 1 1 1.2 3.25L22 16v3h-3v2h-3v-3l-3.2-3.2M7 7h.01",settings:"M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm7.4-3.5c0-.55-.06-1.08-.17-1.6l2.05-1.6-2-3.46-2.5 1a8.4 8.4 0 0 0-2.77-1.6L13.62 2h-4l-.4 2.74a8.4 8.4 0 0 0-2.77 1.6l-2.5-1-2 3.46L4 10.4A7.7 7.7 0 0 0 3.83 12c0 .55.06 1.08.17 1.6l-2.05 1.6 2 3.46 2.5-1a8.4 8.4 0 0 0 2.77 1.6l.4 2.74h4l.4-2.74a8.4 8.4 0 0 0 2.77-1.6l2.5 1 2-3.46-2.05-1.6c.11-.52.17-1.05.17-1.6Z",external:"M14 3h7v7m0-7-9 9M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",logout:"M10 17l5-5-5-5m5 5H3m11-9h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5",menu:"M4 6h16M4 12h16M4 18h16",folder:"M3 6h7l2 2h9v11H3V6Z",bolt:"m13 2-9 12h7l-1 8 9-12h-7l1-8Z",file:"M6 2h8l4 4v16H6V2Zm8 0v5h5M9 13h6m-6 4h6",activity:"M3 12h4l2.5-6 5 12 2.5-6H21",messages:"M5 4h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-1-2V6a2 2 0 0 1 2-2Z",chart:"M4 20V10m6 10V4m6 16v-7m5 7H2"},s={"/dashboard":"dashboard","/users":"users","/guests":"visitors","/departments":"departments","/invitations":"ticket","/roles":"roles","/conversations":"conversations","/memberships":"memberships","/models":"models","/permissions":"permissions","/settings":"settings",dir:"folder",menu:"file",btn:"bolt"},r=de(()=>n[s[t.name]||t.name]||n.file);return(o,i)=>(ut(),Ft("svg",{class:"ui-icon",width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[Q("path",{d:r.value},null,8,vp)],8,Ep))}},Jt=Fs(wp,[["__scopeId","data-v-b39dbbdf"]]),eo="ai-chat-theme",Ri="light";function Rp(){try{return localStorage.getItem(eo)==="dark"?"dark":Ri}catch{return Ri}}const ys=Nt(Rp());let Si;function to(e,t=!1){const n=e==="dark"?"dark":"light",s=document.documentElement;t&&(s.classList.add("theme-transitioning"),window.clearTimeout(Si),Si=window.setTimeout(()=>s.classList.remove("theme-transitioning"),260)),s.dataset.theme=n,s.style.colorScheme=n,ys.value=n}function Sp(){to(ys.value)}function Ap(){const e=de(()=>ys.value==="dark");function t(n){const s=n==="dark"?"dark":"light";to(s,!0);try{localStorage.setItem(eo,s)}catch{}}return{theme:ys,isDark:e,setTheme:t}}typeof window<"u"&&window.addEventListener("storage",e=>{e.key===eo&&to(e.newValue)});const Op={class:"theme-toggle",role:"group","aria-label":"界面主题"},xp=["aria-pressed"],Cp=["aria-pressed"],Tp={__name:"ThemeToggle",setup(e){const{theme:t,setTheme:n}=Ap();return(s,r)=>(ut(),Ft("div",Op,[Q("button",{type:"button",class:Vt({active:xe(t)==="light"}),"aria-pressed":xe(t)==="light","aria-label":"使用浅色主题",title:"浅色主题",onClick:r[0]||(r[0]=o=>xe(n)("light"))},[...r[2]||(r[2]=[Q("span",null,"浅色",-1)])],10,xp),Q("button",{type:"button",class:Vt({active:xe(t)==="dark"}),"aria-pressed":xe(t)==="dark","aria-label":"使用深色主题",title:"深色主题",onClick:r[1]||(r[1]=o=>xe(n)("dark"))},[...r[3]||(r[3]=[Q("span",null,"深色",-1)])],10,Cp)]))}},Ai=Fs(Tp,[["__scopeId","data-v-6644b9d7"]]),Pp={class:"admin-layout"},Np={class:"sidebar-brand"},Ip={class:"brand-icon"},Dp=["href"],Lp={class:"sidebar-nav","aria-label":"管理后台导航"},Mp={key:0,class:"nav-group-title"},Fp={class:"nav-icon"},Up={class:"nav-label"},Bp={class:"sidebar-footer"},jp={class:"admin-user"},kp={class:"avatar"},Hp={class:"admin-user-copy"},Vp={class:"main-area"},qp={class:"topbar"},$p={class:"page-title"},Wp=["href"],Kp={class:"main-content"},zp={__name:"AdminLayout",setup(e){const t=vd(),n=Ed(),s=Oc(),r=Nt(!1),o=de(()=>{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||"file"})}return h}),i=de(()=>Object.fromEntries(s.allowedMenus.map(f=>[f.path,f.name]))),l=de(()=>i.value[t.path]||"管理后台"),c=de(()=>{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=fr("router-link"),O=fr("router-view");return ut(),Ft("div",Pp,[Q("aside",{class:Vt(["sidebar",{open:r.value}])},[Q("div",Np,[Q("span",Ip,[he(Jt,{name:"bolt",size:18})]),h[3]||(h[3]=Q("span",{class:"brand-copy"},[Q("strong",null,"AI Chat"),Q("small",null,"CONTROL PANEL")],-1))]),Q("a",{href:xe(u),target:"_blank",class:"sidebar-member-link"},[he(Jt,{name:"external",size:15}),h[4]||(h[4]=Q("span",null,"打开会员聊天端",-1))],8,Dp),Q("nav",Lp,[(ut(!0),Ft(Je,null,mo(o.value,y=>(ut(),Ft(Je,{key:y.dir},[y.dirName?(ut(),Ft("div",Mp,Xt(y.dirName),1)):hu("",!0),(ut(!0),Ft(Je,null,mo(y.items,S=>(ut(),$r(m,{key:S.path,to:S.path,class:"nav-item",onClick:h[0]||(h[0]=C=>r.value=!1)},{default:ol(()=>[Q("span",Fp,[he(Jt,{name:S.path,size:17},null,8,["name"])]),Q("span",Up,Xt(S.label),1),h[5]||(h[5]=Q("span",{class:"nav-pip","aria-hidden":"true"},null,-1))]),_:2},1032,["to"]))),128))],64))),128))]),Q("div",Bp,[he(Ai,{class:"sidebar-theme-toggle"}),Q("div",jp,[Q("span",kp,Xt(c.value),1),Q("span",Hp,[Q("strong",null,Xt(((A=xe(s).user)==null?void 0:A.nickname)||((x=xe(s).user)==null?void 0:x.username)),1),h[6]||(h[6]=Q("small",null,"管理员账户",-1))])]),Q("button",{class:"btn btn-ghost logout-btn",type:"button",onClick:a},[he(Jt,{name:"logout",size:15}),h[7]||(h[7]=gr(" 退出登录 ",-1))])])],2),Q("div",{class:Vt(["sidebar-overlay",{active:r.value}]),onClick:h[1]||(h[1]=y=>r.value=!1)},null,2),Q("div",Vp,[Q("header",qp,[Q("button",{class:"menu-btn",type:"button","aria-label":"打开导航",onClick:h[2]||(h[2]=y=>r.value=!0)},[he(Jt,{name:"menu",size:20})]),Q("span",$p,Xt(l.value),1),he(Ai),Q("a",{href:xe(u),target:"_blank",class:"member-link"},[he(Jt,{name:"external",size:14}),h[8]||(h[8]=gr(" 会员端 ",-1))],8,Wp)]),Q("main",Kp,[he(O)])])])}}},Gp=Fs(zp,[["__scopeId","data-v-8f195f22"]]),Jp=[{path:"/login",name:"Login",component:()=>Ge(()=>import("./LoginView-CtCAQIEV.js"),__vite__mapDeps([0,1])),meta:{guest:!0}},{path:"/",component:Gp,meta:{requiresAuth:!0,requiresAdmin:!0},children:[{path:"",redirect:"/dashboard"},{path:"dashboard",name:"Dashboard",component:()=>Ge(()=>import("./DashboardView-Blc8uZoj.js"),__vite__mapDeps([2,3])),meta:{menu:"menu:dashboard"}},{path:"users",name:"Users",component:()=>Ge(()=>import("./UsersView-Yrjk-M7_.js"),__vite__mapDeps([4,5])),meta:{menu:"menu:users"}},{path:"guests",name:"Guests",component:()=>Ge(()=>import("./GuestsView-DmVc4vO4.js"),__vite__mapDeps([6,7])),meta:{menu:"menu:guests"}},{path:"conversations",name:"Conversations",component:()=>Ge(()=>import("./ConversationsView-CuFqjWiS.js"),__vite__mapDeps([8,9])),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:()=>Ge(()=>import("./ModelsView-DhbB-cj_.js"),__vite__mapDeps([10,11])),meta:{menu:"menu:models"}},{path:"memberships",name:"Memberships",component:()=>Ge(()=>import("./MembershipsView-BCg1-kdU.js"),__vite__mapDeps([12,13])),meta:{menu:"menu:memberships"}},{path:"roles",name:"Roles",component:()=>Ge(()=>import("./RolesView-DWGTFGXG.js"),__vite__mapDeps([14,15])),meta:{menu:"menu:roles"}},{path:"departments",name:"Departments",component:()=>Ge(()=>import("./DepartmentsView-mlBD19L9.js"),__vite__mapDeps([16,17])),meta:{menu:"menu:departments"}},{path:"invitations",name:"Invitations",component:()=>Ge(()=>import("./InvitationCodesView-BlIcR7Zk.js"),__vite__mapDeps([18,19])),meta:{menu:"menu:invitations"}},{path:"permissions",name:"Permissions",component:()=>Ge(()=>import("./PermissionsView-BDpApmTb.js"),__vite__mapDeps([20,21])),meta:{menu:"menu:permissions"}},{path:"settings",name:"Settings",component:()=>Ge(()=>import("./SettingsView-b3lrgubW.js"),__vite__mapDeps([22,23])),meta:{menu:"menu:settings"}}]}],xc=yd({history:Zf("/admin/"),routes:Jp});xc.beforeEach(async(e,t,n)=>{const s=Oc();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()});Sp();const no=Qu(ff);no.use(tf());no.use(xc);no.mount("#app");export{wm as A,Rm as B,Nr as C,Pa as D,Zp as E,Je as F,Ai as T,Jt as U,Fs as _,he as a,Q as b,Ft as c,gr as d,Xp as e,hu as f,Ed as g,vd as h,xa as i,Nn as j,xe as k,mo as l,em as m,de as n,ut as o,Hn as p,Vt as q,Nt as r,Sn as s,Xt as t,Oc as u,Qp as v,tm as w,Ps as x,Yp as y,bs as z};
|