flex-mcp 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-Apd8mOT7.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/Login-CPVVdjS9.js","assets/Layout-D8dTPthK.js","assets/Dashboard-Dk-7JVrJ.js","assets/InitScriptEditor-CJfq5ewu.js","assets/Blank-BX2hzrSo.js","assets/Layout-CbJQ0_wa.js","assets/Users-Dfo1A39a.js","assets/Configs-DGpyzfgE.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-BxCS6qf-.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/Login-zgQ_fCXm.js","assets/Layout-CNq36nXL.js","assets/Dashboard-CC6Oo381.js","assets/InitScriptEditor-DzzTB5Qk.js","assets/Blank-BAn70pKV.js","assets/Layout-BOxnvITD.js","assets/Users-68dlwZ5K.js","assets/Configs-C6QxaALX.js"])))=>i.map(i=>d[i]);
2
2
  var iT=Object.defineProperty;var aT=(e,t,n)=>t in e?iT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var bt=(e,t,n)=>aT(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/**
3
3
  * @vue/shared v3.5.26
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -7363,7 +7363,7 @@ ${t}
7363
7363
  * vue-router v4.6.4
7364
7364
  * (c) 2025 Eduardo San Martin Morote
7365
7365
  * @license MIT
7366
- */let Kq=()=>location.protocol+"//"+location.host;function uP(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),G0(l,"")}return G0(n,e)+r+o}function qq(e,t,n,r){let o=[],i=[],a=null;const l=({state:h})=>{const g=uP(e,location),v=n.value,m=t.value;let b=0;if(h){if(n.value=g,t.value=h,a&&a===v){a=null;return}b=m?h.position-m.position:0}else r(g);o.forEach(p=>{p(n.value,v,{delta:b,type:iv.pop,direction:b?b>0?Uf.forward:Uf.back:Uf.unknown})})};function s(){a=n.value}function d(h){o.push(h);const g=()=>{const v=o.indexOf(h);v>-1&&o.splice(v,1)};return i.push(g),g}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Qt({},h.state,{scroll:Pu()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:s,listen:d,destroy:f}}function ey(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Pu():null}}function Yq(e){const{history:t,location:n}=window,r={value:uP(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,d,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+s:Kq()+e+s;try{t[u?"replaceState":"pushState"](d,"",h),o.value=d}catch(g){console.error(g),n[u?"replace":"assign"](h)}}function a(s,d){i(s,Qt({},t.state,ey(o.value.back,s,o.value.forward,!0),d,{position:o.value.position}),!0),r.value=s}function l(s,d){const u=Qt({},o.value,t.state,{forward:s,scroll:Pu()});i(u.current,u,!0),i(s,Qt({},ey(r.value,s,null),{position:u.position+1},d),!1),r.value=s}return{location:r,state:o,push:l,replace:a}}function Gq(e){e=Fq(e);const t=Yq(e),n=qq(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=Qt({location:"",base:e,go:r,createHref:Aq.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let oa=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Nn=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}(Nn||{});const Xq={type:oa.Static,value:""},Zq=/[a-zA-Z0-9_]/;function Jq(e){if(!e)return[[]];if(e==="/")return[[Xq]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=Nn.Static,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let l=0,s,d="",u="";function f(){d&&(n===Nn.Static?i.push({type:oa.Static,value:d}):n===Nn.Param||n===Nn.ParamRegExp||n===Nn.ParamRegExpEnd?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:oa.Param,value:d,regexp:u,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),d="")}function h(){d+=s}for(;l<e.length;){if(s=e[l++],s==="\\"&&n!==Nn.ParamRegExp){r=n,n=Nn.EscapeNext;continue}switch(n){case Nn.Static:s==="/"?(d&&f(),a()):s===":"?(f(),n=Nn.Param):h();break;case Nn.EscapeNext:h(),n=r;break;case Nn.Param:s==="("?n=Nn.ParamRegExp:Zq.test(s)?h():(f(),n=Nn.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--);break;case Nn.ParamRegExp:s===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+s:n=Nn.ParamRegExpEnd:u+=s;break;case Nn.ParamRegExpEnd:f(),n=Nn.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===Nn.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),f(),a(),o}const ty="[^/]+?",Qq={sensitive:!1,strict:!1,start:!0,end:!0};var sr=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}(sr||{});const eY=/[.+*?^${}()[\]/\\]/g;function tY(e,t){const n=Qt({},Qq,t),r=[];let o=n.start?"^":"";const i=[];for(const d of e){const u=d.length?[]:[sr.Root];n.strict&&!d.length&&(o+="/");for(let f=0;f<d.length;f++){const h=d[f];let g=sr.Segment+(n.sensitive?sr.BonusCaseSensitive:0);if(h.type===oa.Static)f||(o+="/"),o+=h.value.replace(eY,"\\$&"),g+=sr.Static;else if(h.type===oa.Param){const{value:v,repeatable:m,optional:b,regexp:p}=h;i.push({name:v,repeatable:m,optional:b});const y=p||ty;if(y!==ty){g+=sr.BonusCustomRegExp;try{`${y}`}catch(w){throw new Error(`Invalid custom RegExp for param "${v}" (${y}): `+w.message)}}let S=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(S=b&&d.length<2?`(?:/${S})`:"/"+S),b&&(S+="?"),o+=S,g+=sr.Dynamic,b&&(g+=sr.BonusOptional),m&&(g+=sr.BonusRepeatable),y===".*"&&(g+=sr.BonusWildcard)}u.push(g)}r.push(u)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=sr.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function l(d){const u=d.match(a),f={};if(!u)return null;for(let h=1;h<u.length;h++){const g=u[h]||"",v=i[h-1];f[v.name]=g&&v.repeatable?g.split("/"):g}return f}function s(d){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of h)if(g.type===oa.Static)u+=g.value;else if(g.type===oa.Param){const{value:v,repeatable:m,optional:b}=g,p=v in d?d[v]:"";if(io(p)&&!m)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const y=io(p)?p.join("/"):p;if(!y)if(b)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);u+=y}}return u||"/"}return{re:a,score:r,keys:i,parse:l,stringify:s}}function nY(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===sr.Static+sr.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===sr.Static+sr.Segment?1:-1:0}function fP(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=nY(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(ny(r))return 1;if(ny(o))return-1}return o.length-r.length}function ny(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const rY={strict:!1,end:!0,sensitive:!1};function oY(e,t,n){const r=tY(Jq(e.path),n),o=Qt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function iY(e,t){const n=[],r=new Map;t=Y0(rY,t);function o(f){return r.get(f)}function i(f,h,g){const v=!g,m=oy(f);m.aliasOf=g&&g.record;const b=Y0(t,f),p=[m];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const C of w)p.push(oy(Qt({},m,{components:g?g.record.components:m.components,path:C,aliasOf:g?g.record:m})))}let y,S;for(const w of p){const{path:C}=w;if(h&&C[0]!=="/"){const P=h.record.path,k=P[P.length-1]==="/"?"":"/";w.path=h.record.path+(C&&k+C)}if(y=oY(w,h,b),g?g.alias.push(y):(S=S||y,S!==y&&S.alias.push(y),v&&f.name&&!iy(y)&&a(f.name)),hP(y)&&s(y),m.children){const P=m.children;for(let k=0;k<P.length;k++)i(P[k],y,g&&g.children[k])}g=g||y}return S?()=>{a(S)}:xs}function a(f){if(dP(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function l(){return n}function s(f){const h=sY(f,n);n.splice(h,0,f),f.record.name&&!iy(f)&&r.set(f.record.name,f)}function d(f,h){let g,v={},m,b;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw xl(Rn.MATCHER_NOT_FOUND,{location:f});b=g.record.name,v=Qt(ry(h.params,g.keys.filter(S=>!S.optional).concat(g.parent?g.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&ry(f.params,g.keys.map(S=>S.name))),m=g.stringify(v)}else if(f.path!=null)m=f.path,g=n.find(S=>S.re.test(m)),g&&(v=g.parse(m),b=g.record.name);else{if(g=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!g)throw xl(Rn.MATCHER_NOT_FOUND,{location:f,currentLocation:h});b=g.record.name,v=Qt({},h.params,f.params),m=g.stringify(v)}const p=[];let y=g;for(;y;)p.unshift(y.record),y=y.parent;return{name:b,path:m,params:v,matched:p,meta:lY(p)}}e.forEach(f=>i(f));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:d,removeRoute:a,clearRoutes:u,getRoutes:l,getRecordMatcher:o}}function ry(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function oy(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:aY(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 aY(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function iy(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lY(e){return e.reduce((t,n)=>Qt(t,n.meta),{})}function sY(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;fP(e,t[i])<0?r=i:n=i+1}const o=dY(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function dY(e){let t=e;for(;t=t.parent;)if(hP(t)&&fP(e,t)===0)return t}function hP({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ay(e){const t=Le(Tu),n=Le(nm),r=R(()=>{const s=Ur(e.to);return t.resolve(s)}),o=R(()=>{const{matched:s}=r.value,{length:d}=s,u=s[d-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(yl.bind(null,u));if(h>-1)return h;const g=ly(s[d-2]);return d>1&&ly(u)===g&&f[f.length-1].path!==g?f.findIndex(yl.bind(null,s[d-2])):h}),i=R(()=>o.value>-1&&vY(n.params,r.value.params)),a=R(()=>o.value>-1&&o.value===n.matched.length-1&&sP(n.params,r.value.params));function l(s={}){if(hY(s)){const d=t[Ur(e.replace)?"replace":"push"](Ur(e.to)).catch(xs);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:i,isExactActive:a,navigate:l}}function cY(e){return e.length===1?e[0]:e}const uY=te({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:ay,setup(e,{slots:t}){const n=Po(ay(e)),{options:r}=Le(Tu),o=R(()=>({[sy(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[sy(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&cY(t.default(n));return e.custom?i:c("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),fY=uY;function hY(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 vY(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!io(o)||o.length!==r.length||r.some((i,a)=>i.valueOf()!==o[a].valueOf()))return!1}return!0}function ly(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const sy=(e,t,n)=>e??t??n,gY=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Le(lv),o=R(()=>e.route||r.value),i=Le(Q0,0),a=R(()=>{let d=Ur(i);const{matched:u}=o.value;let f;for(;(f=u[d])&&!f.components;)d++;return d}),l=R(()=>o.value.matched[a.value]);at(Q0,R(()=>a.value+1)),at(Uq,l),at(lv,o);const s=M();return ct(()=>[s.value,l.value,e.name],([d,u,f],[h,g,v])=>{u&&(u.instances[f]=d,g&&g!==u&&d&&d===h&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),d&&u&&(!g||!yl(u,g)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(d))},{flush:"post"}),()=>{const d=o.value,u=e.name,f=l.value,h=f&&f.components[u];if(!h)return dy(n.default,{Component:h,route:d});const g=f.props[u],v=g?g===!0?d.params:typeof g=="function"?g(d):g:null,b=c(h,Qt({},v,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(f.instances[u]=null)},ref:s}));return dy(n.default,{Component:b,route:d})||b}}});function dy(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const mY=gY;function pY(e){const t=iY(e.routes,e),n=e.parseQuery||jq,r=e.stringifyQuery||J0,o=e.history,i=Zl(),a=Zl(),l=Zl(),s=wv(ui);let d=ui;Xa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=jf.bind(null,oe=>""+oe),f=jf.bind(null,kq),h=jf.bind(null,Ls);function g(oe,Pe){let L,ke;return dP(oe)?(L=t.getRecordMatcher(oe),ke=Pe):ke=oe,t.addRoute(ke,L)}function v(oe){const Pe=t.getRecordMatcher(oe);Pe&&t.removeRoute(Pe)}function m(){return t.getRoutes().map(oe=>oe.record)}function b(oe){return!!t.getRecordMatcher(oe)}function p(oe,Pe){if(Pe=Qt({},Pe||s.value),typeof oe=="string"){const ae=Vf(n,oe,Pe.path),$e=t.resolve({path:ae.path},Pe),ze=o.createHref(ae.fullPath);return Qt(ae,$e,{params:h($e.params),hash:Ls(ae.hash),redirectedFrom:void 0,href:ze})}let L;if(oe.path!=null)L=Qt({},oe,{path:Vf(n,oe.path,Pe.path).path});else{const ae=Qt({},oe.params);for(const $e in ae)ae[$e]==null&&delete ae[$e];L=Qt({},oe,{params:f(ae)}),Pe.params=f(Pe.params)}const ke=t.resolve(L,Pe),Fe=oe.hash||"";ke.params=u(h(ke.params));const j=$q(r,Qt({},oe,{hash:Cq(Fe),path:ke.path})),G=o.createHref(j);return Qt({fullPath:j,hash:Fe,query:r===J0?Vq(oe.query):oe.query||{}},ke,{redirectedFrom:void 0,href:G})}function y(oe){return typeof oe=="string"?Vf(n,oe,s.value.path):Qt({},oe)}function S(oe,Pe){if(d!==oe)return xl(Rn.NAVIGATION_CANCELLED,{from:Pe,to:oe})}function w(oe){return k(oe)}function C(oe){return w(Qt(y(oe),{replace:!0}))}function P(oe,Pe){const L=oe.matched[oe.matched.length-1];if(L&&L.redirect){const{redirect:ke}=L;let Fe=typeof ke=="function"?ke(oe,Pe):ke;return typeof Fe=="string"&&(Fe=Fe.includes("?")||Fe.includes("#")?Fe=y(Fe):{path:Fe},Fe.params={}),Qt({query:oe.query,hash:oe.hash,params:Fe.path!=null?{}:oe.params},Fe)}}function k(oe,Pe){const L=d=p(oe),ke=s.value,Fe=oe.state,j=oe.force,G=oe.replace===!0,ae=P(L,ke);if(ae)return k(Qt(y(ae),{state:typeof ae=="object"?Qt({},Fe,ae.state):Fe,force:j,replace:G}),Pe||L);const $e=L;$e.redirectedFrom=Pe;let ze;return!j&&zq(r,ke,L)&&(ze=xl(Rn.NAVIGATION_DUPLICATED,{to:$e,from:ke}),X(ke,ke,!0,!1)),(ze?Promise.resolve(ze):z($e,ke)).catch(se=>Do(se)?Do(se,Rn.NAVIGATION_GUARD_REDIRECT)?se:ue(se):re(se,$e,ke)).then(se=>{if(se){if(Do(se,Rn.NAVIGATION_GUARD_REDIRECT))return k(Qt({replace:G},y(se.to),{state:typeof se.to=="object"?Qt({},Fe,se.to.state):Fe,force:j}),Pe||$e)}else se=O($e,ke,!0,G,Fe);return E($e,ke,se),se})}function $(oe,Pe){const L=S(oe,Pe);return L?Promise.reject(L):Promise.resolve()}function T(oe){const Pe=V.values().next().value;return Pe&&typeof Pe.runWithContext=="function"?Pe.runWithContext(oe):oe()}function z(oe,Pe){let L;const[ke,Fe,j]=Wq(oe,Pe);L=Wf(ke.reverse(),"beforeRouteLeave",oe,Pe);for(const ae of ke)ae.leaveGuards.forEach($e=>{L.push(yi($e,oe,Pe))});const G=$.bind(null,oe,Pe);return L.push(G),pe(L).then(()=>{L=[];for(const ae of i.list())L.push(yi(ae,oe,Pe));return L.push(G),pe(L)}).then(()=>{L=Wf(Fe,"beforeRouteUpdate",oe,Pe);for(const ae of Fe)ae.updateGuards.forEach($e=>{L.push(yi($e,oe,Pe))});return L.push(G),pe(L)}).then(()=>{L=[];for(const ae of j)if(ae.beforeEnter)if(io(ae.beforeEnter))for(const $e of ae.beforeEnter)L.push(yi($e,oe,Pe));else L.push(yi(ae.beforeEnter,oe,Pe));return L.push(G),pe(L)}).then(()=>(oe.matched.forEach(ae=>ae.enterCallbacks={}),L=Wf(j,"beforeRouteEnter",oe,Pe,T),L.push(G),pe(L))).then(()=>{L=[];for(const ae of a.list())L.push(yi(ae,oe,Pe));return L.push(G),pe(L)}).catch(ae=>Do(ae,Rn.NAVIGATION_CANCELLED)?ae:Promise.reject(ae))}function E(oe,Pe,L){l.list().forEach(ke=>T(()=>ke(oe,Pe,L)))}function O(oe,Pe,L,ke,Fe){const j=S(oe,Pe);if(j)return j;const G=Pe===ui,ae=Xa?history.state:{};L&&(ke||G?o.replace(oe.fullPath,Qt({scroll:G&&ae&&ae.scroll},Fe)):o.push(oe.fullPath,Fe)),s.value=oe,X(oe,Pe,L,G),ue()}let A;function B(){A||(A=o.listen((oe,Pe,L)=>{if(!ie.listening)return;const ke=p(oe),Fe=P(ke,ie.currentRoute.value);if(Fe){k(Qt(Fe,{replace:!0,force:!0}),ke).catch(xs);return}d=ke;const j=s.value;Xa&&Dq(Z0(j.fullPath,L.delta),Pu()),z(ke,j).catch(G=>Do(G,Rn.NAVIGATION_ABORTED|Rn.NAVIGATION_CANCELLED)?G:Do(G,Rn.NAVIGATION_GUARD_REDIRECT)?(k(Qt(y(G.to),{force:!0}),ke).then(ae=>{Do(ae,Rn.NAVIGATION_ABORTED|Rn.NAVIGATION_DUPLICATED)&&!L.delta&&L.type===iv.pop&&o.go(-1,!1)}).catch(xs),Promise.reject()):(L.delta&&o.go(-L.delta,!1),re(G,ke,j))).then(G=>{G=G||O(ke,j,!1),G&&(L.delta&&!Do(G,Rn.NAVIGATION_CANCELLED)?o.go(-L.delta,!1):L.type===iv.pop&&Do(G,Rn.NAVIGATION_ABORTED|Rn.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),E(ke,j,G)}).catch(xs)}))}let N=Zl(),K=Zl(),U;function re(oe,Pe,L){ue(oe);const ke=K.list();return ke.length?ke.forEach(Fe=>Fe(oe,Pe,L)):console.error(oe),Promise.reject(oe)}function ye(){return U&&s.value!==ui?Promise.resolve():new Promise((oe,Pe)=>{N.add([oe,Pe])})}function ue(oe){return U||(U=!oe,B(),N.list().forEach(([Pe,L])=>oe?L(oe):Pe()),N.reset()),oe}function X(oe,Pe,L,ke){const{scrollBehavior:Fe}=e;if(!Xa||!Fe)return Promise.resolve();const j=!L&&Bq(Z0(oe.fullPath,0))||(ke||!L)&&history.state&&history.state.scroll||null;return Tt().then(()=>Fe(oe,Pe,j)).then(G=>G&&Mq(G)).catch(G=>re(G,oe,Pe))}const Y=oe=>o.go(oe);let D;const V=new Set,ie={currentRoute:s,listening:!0,addRoute:g,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:m,resolve:p,options:e,push:w,replace:C,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:K.add,isReady:ye,install(oe){oe.component("RouterLink",fY),oe.component("RouterView",mY),oe.config.globalProperties.$router=ie,Object.defineProperty(oe.config.globalProperties,"$route",{enumerable:!0,get:()=>Ur(s)}),Xa&&!D&&s.value===ui&&(D=!0,w(o.location).catch(ke=>{}));const Pe={};for(const ke in ui)Object.defineProperty(Pe,ke,{get:()=>s.value[ke],enumerable:!0});oe.provide(Tu,ie),oe.provide(nm,Jy(Pe)),oe.provide(lv,s);const L=oe.unmount;V.add(oe),oe.unmount=function(){V.delete(oe),V.size<1&&(d=ui,A&&A(),A=null,s.value=ui,D=!1,U=!1),L()}}};function pe(oe){return oe.reduce((Pe,L)=>Pe.then(()=>T(L)),Promise.resolve())}return ie}function iX(){return Le(Tu)}function aX(e){return Le(nm)}const bY=[{path:"/",redirect:"/user/login"},{path:"/user/login",name:"UserLogin",component:()=>ci(()=>import("./Login-Apd8mOT7.js"),__vite__mapDeps([0,1]))},{path:"/admin/login",name:"AdminLogin",component:()=>ci(()=>import("./Login-CPVVdjS9.js"),__vite__mapDeps([2,1]))},{path:"/user",name:"UserLayout",component:()=>ci(()=>import("./Layout-D8dTPthK.js"),__vite__mapDeps([3,1])),meta:{requiresAuth:!0,role:"user"},children:[{path:"dashboard",name:"UserDashboard",component:()=>ci(()=>import("./Dashboard-Dk-7JVrJ.js"),__vite__mapDeps([4,5,1]))},{path:"blank",name:"UserBlank",component:()=>ci(()=>import("./Blank-BX2hzrSo.js"),__vite__mapDeps([6,1]))}]},{path:"/admin",name:"AdminLayout",component:()=>ci(()=>import("./Layout-CbJQ0_wa.js"),__vite__mapDeps([7,1])),meta:{requiresAuth:!0,role:"admin"},children:[{path:"users",name:"AdminUsers",component:()=>ci(()=>import("./Users-Dfo1A39a.js"),__vite__mapDeps([8,1]))},{path:"configs",name:"AdminConfigs",component:()=>ci(()=>import("./Configs-DGpyzfgE.js"),__vite__mapDeps([9,5,1]))}]}],vP=pY({history:Gq(),routes:bY});vP.beforeEach((e,t,n)=>{if(e.meta.requiresAuth){if(e.meta.role==="admin"){if(!localStorage.getItem("admin_token"))return n("/admin/login")}else if(!localStorage.getItem("user_token"))return n("/user/login")}n()});function gP(e,t){return function(){return e.apply(t,arguments)}}const{toString:yY}=Object.prototype,{getPrototypeOf:rm}=Object,{iterator:$u,toStringTag:mP}=Symbol,zu=(e=>t=>{const n=yY.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),so=e=>(e=e.toLowerCase(),t=>zu(t)===e),Ou=e=>t=>typeof t===e,{isArray:_l}=Array,wl=Ou("undefined");function cd(e){return e!==null&&!wl(e)&&e.constructor!==null&&!wl(e.constructor)&&xr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pP=so("ArrayBuffer");function xY(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pP(e.buffer),t}const wY=Ou("string"),xr=Ou("function"),bP=Ou("number"),ud=e=>e!==null&&typeof e=="object",CY=e=>e===!0||e===!1,ac=e=>{if(zu(e)!=="object")return!1;const t=rm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(mP in e)&&!($u in e)},SY=e=>{if(!ud(e)||cd(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},RY=so("Date"),kY=so("File"),PY=so("Blob"),TY=so("FileList"),$Y=e=>ud(e)&&xr(e.pipe),zY=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xr(e.append)&&((t=zu(e))==="formdata"||t==="object"&&xr(e.toString)&&e.toString()==="[object FormData]"))},OY=so("URLSearchParams"),[_Y,FY,IY,AY]=["ReadableStream","Request","Response","Headers"].map(so),EY=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fd(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),_l(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(cd(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(r=0;r<a;r++)l=i[r],t.call(null,e[l],l,e)}}function yP(e,t){if(cd(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ia=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xP=e=>!wl(e)&&e!==ia;function sv(){const{caseless:e,skipUndefined:t}=xP(this)&&this||{},n={},r=(o,i)=>{const a=e&&yP(n,i)||i;ac(n[a])&&ac(o)?n[a]=sv(n[a],o):ac(o)?n[a]=sv({},o):_l(o)?n[a]=o.slice():(!t||!wl(o))&&(n[a]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&fd(arguments[o],r);return n}const MY=(e,t,n,{allOwnKeys:r}={})=>(fd(t,(o,i)=>{n&&xr(o)?e[i]=gP(o,n):e[i]=o},{allOwnKeys:r}),e),DY=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),BY=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},NY=(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&rm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},LY=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},HY=e=>{if(!e)return null;if(_l(e))return e;let t=e.length;if(!bP(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},jY=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rm(Uint8Array)),VY=(e,t)=>{const r=(e&&e[$u]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},UY=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},WY=so("HTMLFormElement"),KY=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),cy=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qY=so("RegExp"),wP=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};fd(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},YY=e=>{wP(e,(t,n)=>{if(xr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},GY=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return _l(e)?r(e):r(String(e).split(t)),n},XY=()=>{},ZY=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function JY(e){return!!(e&&xr(e.append)&&e[mP]==="FormData"&&e[$u])}const QY=e=>{const t=new Array(10),n=(r,o)=>{if(ud(r)){if(t.indexOf(r)>=0)return;if(cd(r))return r;if(!("toJSON"in r)){t[o]=r;const i=_l(r)?[]:{};return fd(r,(a,l)=>{const s=n(a,o+1);!wl(s)&&(i[l]=s)}),t[o]=void 0,i}}return r};return n(e,0)},eG=so("AsyncFunction"),tG=e=>e&&(ud(e)||xr(e))&&xr(e.then)&&xr(e.catch),CP=((e,t)=>e?setImmediate:t?((n,r)=>(ia.addEventListener("message",({source:o,data:i})=>{o===ia&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),ia.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xr(ia.postMessage)),nG=typeof queueMicrotask<"u"?queueMicrotask.bind(ia):typeof process<"u"&&process.nextTick||CP,rG=e=>e!=null&&xr(e[$u]),Ne={isArray:_l,isArrayBuffer:pP,isBuffer:cd,isFormData:zY,isArrayBufferView:xY,isString:wY,isNumber:bP,isBoolean:CY,isObject:ud,isPlainObject:ac,isEmptyObject:SY,isReadableStream:_Y,isRequest:FY,isResponse:IY,isHeaders:AY,isUndefined:wl,isDate:RY,isFile:kY,isBlob:PY,isRegExp:qY,isFunction:xr,isStream:$Y,isURLSearchParams:OY,isTypedArray:jY,isFileList:TY,forEach:fd,merge:sv,extend:MY,trim:EY,stripBOM:DY,inherits:BY,toFlatObject:NY,kindOf:zu,kindOfTest:so,endsWith:LY,toArray:HY,forEachEntry:VY,matchAll:UY,isHTMLForm:WY,hasOwnProperty:cy,hasOwnProp:cy,reduceDescriptors:wP,freezeMethods:YY,toObjectSet:GY,toCamelCase:KY,noop:XY,toFiniteNumber:ZY,findKey:yP,global:ia,isContextDefined:xP,isSpecCompliantForm:JY,toJSONObject:QY,isAsyncFn:eG,isThenable:tG,setImmediate:CP,asap:nG,isIterable:rG};function Mt(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Ne.inherits(Mt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ne.toJSONObject(this.config),code:this.code,status:this.status}}});const SP=Mt.prototype,RP={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{RP[e]={value:e}});Object.defineProperties(Mt,RP);Object.defineProperty(SP,"isAxiosError",{value:!0});Mt.from=(e,t,n,r,o,i)=>{const a=Object.create(SP);Ne.toFlatObject(e,a,function(u){return u!==Error.prototype},d=>d!=="isAxiosError");const l=e&&e.message?e.message:"Error",s=t==null&&e?e.code:t;return Mt.call(a,l,s,n,r,o),e&&a.cause==null&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};const oG=null;function dv(e){return Ne.isPlainObject(e)||Ne.isArray(e)}function kP(e){return Ne.endsWith(e,"[]")?e.slice(0,-2):e}function uy(e,t,n){return e?e.concat(t).map(function(o,i){return o=kP(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function iG(e){return Ne.isArray(e)&&!e.some(dv)}const aG=Ne.toFlatObject(Ne,{},null,function(t){return/^is[A-Z]/.test(t)});function _u(e,t,n){if(!Ne.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ne.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!Ne.isUndefined(b[m])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&Ne.isSpecCompliantForm(t);if(!Ne.isFunction(o))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(Ne.isDate(v))return v.toISOString();if(Ne.isBoolean(v))return v.toString();if(!s&&Ne.isBlob(v))throw new Mt("Blob is not supported. Use a Buffer instead.");return Ne.isArrayBuffer(v)||Ne.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function u(v,m,b){let p=v;if(v&&!b&&typeof v=="object"){if(Ne.endsWith(m,"{}"))m=r?m:m.slice(0,-2),v=JSON.stringify(v);else if(Ne.isArray(v)&&iG(v)||(Ne.isFileList(v)||Ne.endsWith(m,"[]"))&&(p=Ne.toArray(v)))return m=kP(m),p.forEach(function(S,w){!(Ne.isUndefined(S)||S===null)&&t.append(a===!0?uy([m],w,i):a===null?m:m+"[]",d(S))}),!1}return dv(v)?!0:(t.append(uy(b,m,i),d(v)),!1)}const f=[],h=Object.assign(aG,{defaultVisitor:u,convertValue:d,isVisitable:dv});function g(v,m){if(!Ne.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(v),Ne.forEach(v,function(p,y){(!(Ne.isUndefined(p)||p===null)&&o.call(t,p,Ne.isString(y)?y.trim():y,m,h))===!0&&g(p,m?m.concat(y):[y])}),f.pop()}}if(!Ne.isObject(e))throw new TypeError("data must be an object");return g(e),t}function fy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function om(e,t){this._pairs=[],e&&_u(e,this,t)}const PP=om.prototype;PP.append=function(t,n){this._pairs.push([t,n])};PP.toString=function(t){const n=t?function(r){return t.call(this,r,fy)}:fy;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function lG(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function TP(e,t,n){if(!t)return e;const r=n&&n.encode||lG;Ne.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=Ne.isURLSearchParams(t)?t.toString():new om(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class hy{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ne.forEach(this.handlers,function(r){r!==null&&t(r)})}}const $P={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sG=typeof URLSearchParams<"u"?URLSearchParams:om,dG=typeof FormData<"u"?FormData:null,cG=typeof Blob<"u"?Blob:null,uG={isBrowser:!0,classes:{URLSearchParams:sG,FormData:dG,Blob:cG},protocols:["http","https","file","blob","url","data"]},im=typeof window<"u"&&typeof document<"u",cv=typeof navigator=="object"&&navigator||void 0,fG=im&&(!cv||["ReactNative","NativeScript","NS"].indexOf(cv.product)<0),hG=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vG=im&&window.location.href||"http://localhost",gG=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:im,hasStandardBrowserEnv:fG,hasStandardBrowserWebWorkerEnv:hG,navigator:cv,origin:vG},Symbol.toStringTag,{value:"Module"})),rr={...gG,...uG};function mG(e,t){return _u(e,new rr.classes.URLSearchParams,{visitor:function(n,r,o,i){return rr.isNode&&Ne.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function pG(e){return Ne.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bG(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function zP(e){function t(n,r,o,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),s=i>=n.length;return a=!a&&Ne.isArray(o)?o.length:a,s?(Ne.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!l):((!o[a]||!Ne.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&Ne.isArray(o[a])&&(o[a]=bG(o[a])),!l)}if(Ne.isFormData(e)&&Ne.isFunction(e.entries)){const n={};return Ne.forEachEntry(e,(r,o)=>{t(pG(r),o,n,0)}),n}return null}function yG(e,t,n){if(Ne.isString(e))try{return(t||JSON.parse)(e),Ne.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const hd={transitional:$P,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=Ne.isObject(t);if(i&&Ne.isHTMLForm(t)&&(t=new FormData(t)),Ne.isFormData(t))return o?JSON.stringify(zP(t)):t;if(Ne.isArrayBuffer(t)||Ne.isBuffer(t)||Ne.isStream(t)||Ne.isFile(t)||Ne.isBlob(t)||Ne.isReadableStream(t))return t;if(Ne.isArrayBufferView(t))return t.buffer;if(Ne.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return mG(t,this.formSerializer).toString();if((l=Ne.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return _u(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),yG(t)):t}],transformResponse:[function(t){const n=this.transitional||hd.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(Ne.isResponse(t)||Ne.isReadableStream(t))return t;if(t&&Ne.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(l){if(a)throw l.name==="SyntaxError"?Mt.from(l,Mt.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rr.classes.FormData,Blob:rr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ne.forEach(["delete","get","head","post","put","patch"],e=>{hd.headers[e]={}});const xG=Ne.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"]),wG=e=>{const t={};let n,r,o;return e&&e.split(`
7366
+ */let Kq=()=>location.protocol+"//"+location.host;function uP(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),G0(l,"")}return G0(n,e)+r+o}function qq(e,t,n,r){let o=[],i=[],a=null;const l=({state:h})=>{const g=uP(e,location),v=n.value,m=t.value;let b=0;if(h){if(n.value=g,t.value=h,a&&a===v){a=null;return}b=m?h.position-m.position:0}else r(g);o.forEach(p=>{p(n.value,v,{delta:b,type:iv.pop,direction:b?b>0?Uf.forward:Uf.back:Uf.unknown})})};function s(){a=n.value}function d(h){o.push(h);const g=()=>{const v=o.indexOf(h);v>-1&&o.splice(v,1)};return i.push(g),g}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Qt({},h.state,{scroll:Pu()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:s,listen:d,destroy:f}}function ey(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Pu():null}}function Yq(e){const{history:t,location:n}=window,r={value:uP(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,d,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+s:Kq()+e+s;try{t[u?"replaceState":"pushState"](d,"",h),o.value=d}catch(g){console.error(g),n[u?"replace":"assign"](h)}}function a(s,d){i(s,Qt({},t.state,ey(o.value.back,s,o.value.forward,!0),d,{position:o.value.position}),!0),r.value=s}function l(s,d){const u=Qt({},o.value,t.state,{forward:s,scroll:Pu()});i(u.current,u,!0),i(s,Qt({},ey(r.value,s,null),{position:u.position+1},d),!1),r.value=s}return{location:r,state:o,push:l,replace:a}}function Gq(e){e=Fq(e);const t=Yq(e),n=qq(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=Qt({location:"",base:e,go:r,createHref:Aq.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let oa=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Nn=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}(Nn||{});const Xq={type:oa.Static,value:""},Zq=/[a-zA-Z0-9_]/;function Jq(e){if(!e)return[[]];if(e==="/")return[[Xq]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=Nn.Static,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let l=0,s,d="",u="";function f(){d&&(n===Nn.Static?i.push({type:oa.Static,value:d}):n===Nn.Param||n===Nn.ParamRegExp||n===Nn.ParamRegExpEnd?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:oa.Param,value:d,regexp:u,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),d="")}function h(){d+=s}for(;l<e.length;){if(s=e[l++],s==="\\"&&n!==Nn.ParamRegExp){r=n,n=Nn.EscapeNext;continue}switch(n){case Nn.Static:s==="/"?(d&&f(),a()):s===":"?(f(),n=Nn.Param):h();break;case Nn.EscapeNext:h(),n=r;break;case Nn.Param:s==="("?n=Nn.ParamRegExp:Zq.test(s)?h():(f(),n=Nn.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--);break;case Nn.ParamRegExp:s===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+s:n=Nn.ParamRegExpEnd:u+=s;break;case Nn.ParamRegExpEnd:f(),n=Nn.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===Nn.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),f(),a(),o}const ty="[^/]+?",Qq={sensitive:!1,strict:!1,start:!0,end:!0};var sr=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}(sr||{});const eY=/[.+*?^${}()[\]/\\]/g;function tY(e,t){const n=Qt({},Qq,t),r=[];let o=n.start?"^":"";const i=[];for(const d of e){const u=d.length?[]:[sr.Root];n.strict&&!d.length&&(o+="/");for(let f=0;f<d.length;f++){const h=d[f];let g=sr.Segment+(n.sensitive?sr.BonusCaseSensitive:0);if(h.type===oa.Static)f||(o+="/"),o+=h.value.replace(eY,"\\$&"),g+=sr.Static;else if(h.type===oa.Param){const{value:v,repeatable:m,optional:b,regexp:p}=h;i.push({name:v,repeatable:m,optional:b});const y=p||ty;if(y!==ty){g+=sr.BonusCustomRegExp;try{`${y}`}catch(w){throw new Error(`Invalid custom RegExp for param "${v}" (${y}): `+w.message)}}let S=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(S=b&&d.length<2?`(?:/${S})`:"/"+S),b&&(S+="?"),o+=S,g+=sr.Dynamic,b&&(g+=sr.BonusOptional),m&&(g+=sr.BonusRepeatable),y===".*"&&(g+=sr.BonusWildcard)}u.push(g)}r.push(u)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=sr.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function l(d){const u=d.match(a),f={};if(!u)return null;for(let h=1;h<u.length;h++){const g=u[h]||"",v=i[h-1];f[v.name]=g&&v.repeatable?g.split("/"):g}return f}function s(d){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of h)if(g.type===oa.Static)u+=g.value;else if(g.type===oa.Param){const{value:v,repeatable:m,optional:b}=g,p=v in d?d[v]:"";if(io(p)&&!m)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const y=io(p)?p.join("/"):p;if(!y)if(b)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);u+=y}}return u||"/"}return{re:a,score:r,keys:i,parse:l,stringify:s}}function nY(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===sr.Static+sr.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===sr.Static+sr.Segment?1:-1:0}function fP(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=nY(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(ny(r))return 1;if(ny(o))return-1}return o.length-r.length}function ny(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const rY={strict:!1,end:!0,sensitive:!1};function oY(e,t,n){const r=tY(Jq(e.path),n),o=Qt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function iY(e,t){const n=[],r=new Map;t=Y0(rY,t);function o(f){return r.get(f)}function i(f,h,g){const v=!g,m=oy(f);m.aliasOf=g&&g.record;const b=Y0(t,f),p=[m];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const C of w)p.push(oy(Qt({},m,{components:g?g.record.components:m.components,path:C,aliasOf:g?g.record:m})))}let y,S;for(const w of p){const{path:C}=w;if(h&&C[0]!=="/"){const P=h.record.path,k=P[P.length-1]==="/"?"":"/";w.path=h.record.path+(C&&k+C)}if(y=oY(w,h,b),g?g.alias.push(y):(S=S||y,S!==y&&S.alias.push(y),v&&f.name&&!iy(y)&&a(f.name)),hP(y)&&s(y),m.children){const P=m.children;for(let k=0;k<P.length;k++)i(P[k],y,g&&g.children[k])}g=g||y}return S?()=>{a(S)}:xs}function a(f){if(dP(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function l(){return n}function s(f){const h=sY(f,n);n.splice(h,0,f),f.record.name&&!iy(f)&&r.set(f.record.name,f)}function d(f,h){let g,v={},m,b;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw xl(Rn.MATCHER_NOT_FOUND,{location:f});b=g.record.name,v=Qt(ry(h.params,g.keys.filter(S=>!S.optional).concat(g.parent?g.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&ry(f.params,g.keys.map(S=>S.name))),m=g.stringify(v)}else if(f.path!=null)m=f.path,g=n.find(S=>S.re.test(m)),g&&(v=g.parse(m),b=g.record.name);else{if(g=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!g)throw xl(Rn.MATCHER_NOT_FOUND,{location:f,currentLocation:h});b=g.record.name,v=Qt({},h.params,f.params),m=g.stringify(v)}const p=[];let y=g;for(;y;)p.unshift(y.record),y=y.parent;return{name:b,path:m,params:v,matched:p,meta:lY(p)}}e.forEach(f=>i(f));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:d,removeRoute:a,clearRoutes:u,getRoutes:l,getRecordMatcher:o}}function ry(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function oy(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:aY(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 aY(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function iy(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lY(e){return e.reduce((t,n)=>Qt(t,n.meta),{})}function sY(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;fP(e,t[i])<0?r=i:n=i+1}const o=dY(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function dY(e){let t=e;for(;t=t.parent;)if(hP(t)&&fP(e,t)===0)return t}function hP({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ay(e){const t=Le(Tu),n=Le(nm),r=R(()=>{const s=Ur(e.to);return t.resolve(s)}),o=R(()=>{const{matched:s}=r.value,{length:d}=s,u=s[d-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(yl.bind(null,u));if(h>-1)return h;const g=ly(s[d-2]);return d>1&&ly(u)===g&&f[f.length-1].path!==g?f.findIndex(yl.bind(null,s[d-2])):h}),i=R(()=>o.value>-1&&vY(n.params,r.value.params)),a=R(()=>o.value>-1&&o.value===n.matched.length-1&&sP(n.params,r.value.params));function l(s={}){if(hY(s)){const d=t[Ur(e.replace)?"replace":"push"](Ur(e.to)).catch(xs);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:i,isExactActive:a,navigate:l}}function cY(e){return e.length===1?e[0]:e}const uY=te({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:ay,setup(e,{slots:t}){const n=Po(ay(e)),{options:r}=Le(Tu),o=R(()=>({[sy(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[sy(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&cY(t.default(n));return e.custom?i:c("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),fY=uY;function hY(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 vY(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!io(o)||o.length!==r.length||r.some((i,a)=>i.valueOf()!==o[a].valueOf()))return!1}return!0}function ly(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const sy=(e,t,n)=>e??t??n,gY=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Le(lv),o=R(()=>e.route||r.value),i=Le(Q0,0),a=R(()=>{let d=Ur(i);const{matched:u}=o.value;let f;for(;(f=u[d])&&!f.components;)d++;return d}),l=R(()=>o.value.matched[a.value]);at(Q0,R(()=>a.value+1)),at(Uq,l),at(lv,o);const s=M();return ct(()=>[s.value,l.value,e.name],([d,u,f],[h,g,v])=>{u&&(u.instances[f]=d,g&&g!==u&&d&&d===h&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),d&&u&&(!g||!yl(u,g)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(d))},{flush:"post"}),()=>{const d=o.value,u=e.name,f=l.value,h=f&&f.components[u];if(!h)return dy(n.default,{Component:h,route:d});const g=f.props[u],v=g?g===!0?d.params:typeof g=="function"?g(d):g:null,b=c(h,Qt({},v,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(f.instances[u]=null)},ref:s}));return dy(n.default,{Component:b,route:d})||b}}});function dy(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const mY=gY;function pY(e){const t=iY(e.routes,e),n=e.parseQuery||jq,r=e.stringifyQuery||J0,o=e.history,i=Zl(),a=Zl(),l=Zl(),s=wv(ui);let d=ui;Xa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=jf.bind(null,oe=>""+oe),f=jf.bind(null,kq),h=jf.bind(null,Ls);function g(oe,Pe){let L,ke;return dP(oe)?(L=t.getRecordMatcher(oe),ke=Pe):ke=oe,t.addRoute(ke,L)}function v(oe){const Pe=t.getRecordMatcher(oe);Pe&&t.removeRoute(Pe)}function m(){return t.getRoutes().map(oe=>oe.record)}function b(oe){return!!t.getRecordMatcher(oe)}function p(oe,Pe){if(Pe=Qt({},Pe||s.value),typeof oe=="string"){const ae=Vf(n,oe,Pe.path),$e=t.resolve({path:ae.path},Pe),ze=o.createHref(ae.fullPath);return Qt(ae,$e,{params:h($e.params),hash:Ls(ae.hash),redirectedFrom:void 0,href:ze})}let L;if(oe.path!=null)L=Qt({},oe,{path:Vf(n,oe.path,Pe.path).path});else{const ae=Qt({},oe.params);for(const $e in ae)ae[$e]==null&&delete ae[$e];L=Qt({},oe,{params:f(ae)}),Pe.params=f(Pe.params)}const ke=t.resolve(L,Pe),Fe=oe.hash||"";ke.params=u(h(ke.params));const j=$q(r,Qt({},oe,{hash:Cq(Fe),path:ke.path})),G=o.createHref(j);return Qt({fullPath:j,hash:Fe,query:r===J0?Vq(oe.query):oe.query||{}},ke,{redirectedFrom:void 0,href:G})}function y(oe){return typeof oe=="string"?Vf(n,oe,s.value.path):Qt({},oe)}function S(oe,Pe){if(d!==oe)return xl(Rn.NAVIGATION_CANCELLED,{from:Pe,to:oe})}function w(oe){return k(oe)}function C(oe){return w(Qt(y(oe),{replace:!0}))}function P(oe,Pe){const L=oe.matched[oe.matched.length-1];if(L&&L.redirect){const{redirect:ke}=L;let Fe=typeof ke=="function"?ke(oe,Pe):ke;return typeof Fe=="string"&&(Fe=Fe.includes("?")||Fe.includes("#")?Fe=y(Fe):{path:Fe},Fe.params={}),Qt({query:oe.query,hash:oe.hash,params:Fe.path!=null?{}:oe.params},Fe)}}function k(oe,Pe){const L=d=p(oe),ke=s.value,Fe=oe.state,j=oe.force,G=oe.replace===!0,ae=P(L,ke);if(ae)return k(Qt(y(ae),{state:typeof ae=="object"?Qt({},Fe,ae.state):Fe,force:j,replace:G}),Pe||L);const $e=L;$e.redirectedFrom=Pe;let ze;return!j&&zq(r,ke,L)&&(ze=xl(Rn.NAVIGATION_DUPLICATED,{to:$e,from:ke}),X(ke,ke,!0,!1)),(ze?Promise.resolve(ze):z($e,ke)).catch(se=>Do(se)?Do(se,Rn.NAVIGATION_GUARD_REDIRECT)?se:ue(se):re(se,$e,ke)).then(se=>{if(se){if(Do(se,Rn.NAVIGATION_GUARD_REDIRECT))return k(Qt({replace:G},y(se.to),{state:typeof se.to=="object"?Qt({},Fe,se.to.state):Fe,force:j}),Pe||$e)}else se=O($e,ke,!0,G,Fe);return E($e,ke,se),se})}function $(oe,Pe){const L=S(oe,Pe);return L?Promise.reject(L):Promise.resolve()}function T(oe){const Pe=V.values().next().value;return Pe&&typeof Pe.runWithContext=="function"?Pe.runWithContext(oe):oe()}function z(oe,Pe){let L;const[ke,Fe,j]=Wq(oe,Pe);L=Wf(ke.reverse(),"beforeRouteLeave",oe,Pe);for(const ae of ke)ae.leaveGuards.forEach($e=>{L.push(yi($e,oe,Pe))});const G=$.bind(null,oe,Pe);return L.push(G),pe(L).then(()=>{L=[];for(const ae of i.list())L.push(yi(ae,oe,Pe));return L.push(G),pe(L)}).then(()=>{L=Wf(Fe,"beforeRouteUpdate",oe,Pe);for(const ae of Fe)ae.updateGuards.forEach($e=>{L.push(yi($e,oe,Pe))});return L.push(G),pe(L)}).then(()=>{L=[];for(const ae of j)if(ae.beforeEnter)if(io(ae.beforeEnter))for(const $e of ae.beforeEnter)L.push(yi($e,oe,Pe));else L.push(yi(ae.beforeEnter,oe,Pe));return L.push(G),pe(L)}).then(()=>(oe.matched.forEach(ae=>ae.enterCallbacks={}),L=Wf(j,"beforeRouteEnter",oe,Pe,T),L.push(G),pe(L))).then(()=>{L=[];for(const ae of a.list())L.push(yi(ae,oe,Pe));return L.push(G),pe(L)}).catch(ae=>Do(ae,Rn.NAVIGATION_CANCELLED)?ae:Promise.reject(ae))}function E(oe,Pe,L){l.list().forEach(ke=>T(()=>ke(oe,Pe,L)))}function O(oe,Pe,L,ke,Fe){const j=S(oe,Pe);if(j)return j;const G=Pe===ui,ae=Xa?history.state:{};L&&(ke||G?o.replace(oe.fullPath,Qt({scroll:G&&ae&&ae.scroll},Fe)):o.push(oe.fullPath,Fe)),s.value=oe,X(oe,Pe,L,G),ue()}let A;function B(){A||(A=o.listen((oe,Pe,L)=>{if(!ie.listening)return;const ke=p(oe),Fe=P(ke,ie.currentRoute.value);if(Fe){k(Qt(Fe,{replace:!0,force:!0}),ke).catch(xs);return}d=ke;const j=s.value;Xa&&Dq(Z0(j.fullPath,L.delta),Pu()),z(ke,j).catch(G=>Do(G,Rn.NAVIGATION_ABORTED|Rn.NAVIGATION_CANCELLED)?G:Do(G,Rn.NAVIGATION_GUARD_REDIRECT)?(k(Qt(y(G.to),{force:!0}),ke).then(ae=>{Do(ae,Rn.NAVIGATION_ABORTED|Rn.NAVIGATION_DUPLICATED)&&!L.delta&&L.type===iv.pop&&o.go(-1,!1)}).catch(xs),Promise.reject()):(L.delta&&o.go(-L.delta,!1),re(G,ke,j))).then(G=>{G=G||O(ke,j,!1),G&&(L.delta&&!Do(G,Rn.NAVIGATION_CANCELLED)?o.go(-L.delta,!1):L.type===iv.pop&&Do(G,Rn.NAVIGATION_ABORTED|Rn.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),E(ke,j,G)}).catch(xs)}))}let N=Zl(),K=Zl(),U;function re(oe,Pe,L){ue(oe);const ke=K.list();return ke.length?ke.forEach(Fe=>Fe(oe,Pe,L)):console.error(oe),Promise.reject(oe)}function ye(){return U&&s.value!==ui?Promise.resolve():new Promise((oe,Pe)=>{N.add([oe,Pe])})}function ue(oe){return U||(U=!oe,B(),N.list().forEach(([Pe,L])=>oe?L(oe):Pe()),N.reset()),oe}function X(oe,Pe,L,ke){const{scrollBehavior:Fe}=e;if(!Xa||!Fe)return Promise.resolve();const j=!L&&Bq(Z0(oe.fullPath,0))||(ke||!L)&&history.state&&history.state.scroll||null;return Tt().then(()=>Fe(oe,Pe,j)).then(G=>G&&Mq(G)).catch(G=>re(G,oe,Pe))}const Y=oe=>o.go(oe);let D;const V=new Set,ie={currentRoute:s,listening:!0,addRoute:g,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:m,resolve:p,options:e,push:w,replace:C,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:K.add,isReady:ye,install(oe){oe.component("RouterLink",fY),oe.component("RouterView",mY),oe.config.globalProperties.$router=ie,Object.defineProperty(oe.config.globalProperties,"$route",{enumerable:!0,get:()=>Ur(s)}),Xa&&!D&&s.value===ui&&(D=!0,w(o.location).catch(ke=>{}));const Pe={};for(const ke in ui)Object.defineProperty(Pe,ke,{get:()=>s.value[ke],enumerable:!0});oe.provide(Tu,ie),oe.provide(nm,Jy(Pe)),oe.provide(lv,s);const L=oe.unmount;V.add(oe),oe.unmount=function(){V.delete(oe),V.size<1&&(d=ui,A&&A(),A=null,s.value=ui,D=!1,U=!1),L()}}};function pe(oe){return oe.reduce((Pe,L)=>Pe.then(()=>T(L)),Promise.resolve())}return ie}function iX(){return Le(Tu)}function aX(e){return Le(nm)}const bY=[{path:"/",redirect:"/user/login"},{path:"/user/login",name:"UserLogin",component:()=>ci(()=>import("./Login-BxCS6qf-.js"),__vite__mapDeps([0,1]))},{path:"/admin/login",name:"AdminLogin",component:()=>ci(()=>import("./Login-zgQ_fCXm.js"),__vite__mapDeps([2,1]))},{path:"/user",name:"UserLayout",component:()=>ci(()=>import("./Layout-CNq36nXL.js"),__vite__mapDeps([3,1])),meta:{requiresAuth:!0,role:"user"},children:[{path:"dashboard",name:"UserDashboard",component:()=>ci(()=>import("./Dashboard-CC6Oo381.js"),__vite__mapDeps([4,5,1]))},{path:"blank",name:"UserBlank",component:()=>ci(()=>import("./Blank-BAn70pKV.js"),__vite__mapDeps([6,1]))}]},{path:"/admin",name:"AdminLayout",component:()=>ci(()=>import("./Layout-BOxnvITD.js"),__vite__mapDeps([7,1])),meta:{requiresAuth:!0,role:"admin"},children:[{path:"users",name:"AdminUsers",component:()=>ci(()=>import("./Users-68dlwZ5K.js"),__vite__mapDeps([8,1]))},{path:"configs",name:"AdminConfigs",component:()=>ci(()=>import("./Configs-C6QxaALX.js"),__vite__mapDeps([9,5,1]))}]}],vP=pY({history:Gq(),routes:bY});vP.beforeEach((e,t,n)=>{if(e.meta.requiresAuth){if(e.meta.role==="admin"){if(!localStorage.getItem("admin_token"))return n("/admin/login")}else if(!localStorage.getItem("user_token"))return n("/user/login")}n()});function gP(e,t){return function(){return e.apply(t,arguments)}}const{toString:yY}=Object.prototype,{getPrototypeOf:rm}=Object,{iterator:$u,toStringTag:mP}=Symbol,zu=(e=>t=>{const n=yY.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),so=e=>(e=e.toLowerCase(),t=>zu(t)===e),Ou=e=>t=>typeof t===e,{isArray:_l}=Array,wl=Ou("undefined");function cd(e){return e!==null&&!wl(e)&&e.constructor!==null&&!wl(e.constructor)&&xr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pP=so("ArrayBuffer");function xY(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pP(e.buffer),t}const wY=Ou("string"),xr=Ou("function"),bP=Ou("number"),ud=e=>e!==null&&typeof e=="object",CY=e=>e===!0||e===!1,ac=e=>{if(zu(e)!=="object")return!1;const t=rm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(mP in e)&&!($u in e)},SY=e=>{if(!ud(e)||cd(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},RY=so("Date"),kY=so("File"),PY=so("Blob"),TY=so("FileList"),$Y=e=>ud(e)&&xr(e.pipe),zY=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xr(e.append)&&((t=zu(e))==="formdata"||t==="object"&&xr(e.toString)&&e.toString()==="[object FormData]"))},OY=so("URLSearchParams"),[_Y,FY,IY,AY]=["ReadableStream","Request","Response","Headers"].map(so),EY=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fd(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),_l(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(cd(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(r=0;r<a;r++)l=i[r],t.call(null,e[l],l,e)}}function yP(e,t){if(cd(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ia=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xP=e=>!wl(e)&&e!==ia;function sv(){const{caseless:e,skipUndefined:t}=xP(this)&&this||{},n={},r=(o,i)=>{const a=e&&yP(n,i)||i;ac(n[a])&&ac(o)?n[a]=sv(n[a],o):ac(o)?n[a]=sv({},o):_l(o)?n[a]=o.slice():(!t||!wl(o))&&(n[a]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&fd(arguments[o],r);return n}const MY=(e,t,n,{allOwnKeys:r}={})=>(fd(t,(o,i)=>{n&&xr(o)?e[i]=gP(o,n):e[i]=o},{allOwnKeys:r}),e),DY=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),BY=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},NY=(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&rm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},LY=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},HY=e=>{if(!e)return null;if(_l(e))return e;let t=e.length;if(!bP(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},jY=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rm(Uint8Array)),VY=(e,t)=>{const r=(e&&e[$u]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},UY=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},WY=so("HTMLFormElement"),KY=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),cy=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qY=so("RegExp"),wP=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};fd(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},YY=e=>{wP(e,(t,n)=>{if(xr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},GY=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return _l(e)?r(e):r(String(e).split(t)),n},XY=()=>{},ZY=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function JY(e){return!!(e&&xr(e.append)&&e[mP]==="FormData"&&e[$u])}const QY=e=>{const t=new Array(10),n=(r,o)=>{if(ud(r)){if(t.indexOf(r)>=0)return;if(cd(r))return r;if(!("toJSON"in r)){t[o]=r;const i=_l(r)?[]:{};return fd(r,(a,l)=>{const s=n(a,o+1);!wl(s)&&(i[l]=s)}),t[o]=void 0,i}}return r};return n(e,0)},eG=so("AsyncFunction"),tG=e=>e&&(ud(e)||xr(e))&&xr(e.then)&&xr(e.catch),CP=((e,t)=>e?setImmediate:t?((n,r)=>(ia.addEventListener("message",({source:o,data:i})=>{o===ia&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),ia.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xr(ia.postMessage)),nG=typeof queueMicrotask<"u"?queueMicrotask.bind(ia):typeof process<"u"&&process.nextTick||CP,rG=e=>e!=null&&xr(e[$u]),Ne={isArray:_l,isArrayBuffer:pP,isBuffer:cd,isFormData:zY,isArrayBufferView:xY,isString:wY,isNumber:bP,isBoolean:CY,isObject:ud,isPlainObject:ac,isEmptyObject:SY,isReadableStream:_Y,isRequest:FY,isResponse:IY,isHeaders:AY,isUndefined:wl,isDate:RY,isFile:kY,isBlob:PY,isRegExp:qY,isFunction:xr,isStream:$Y,isURLSearchParams:OY,isTypedArray:jY,isFileList:TY,forEach:fd,merge:sv,extend:MY,trim:EY,stripBOM:DY,inherits:BY,toFlatObject:NY,kindOf:zu,kindOfTest:so,endsWith:LY,toArray:HY,forEachEntry:VY,matchAll:UY,isHTMLForm:WY,hasOwnProperty:cy,hasOwnProp:cy,reduceDescriptors:wP,freezeMethods:YY,toObjectSet:GY,toCamelCase:KY,noop:XY,toFiniteNumber:ZY,findKey:yP,global:ia,isContextDefined:xP,isSpecCompliantForm:JY,toJSONObject:QY,isAsyncFn:eG,isThenable:tG,setImmediate:CP,asap:nG,isIterable:rG};function Mt(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Ne.inherits(Mt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ne.toJSONObject(this.config),code:this.code,status:this.status}}});const SP=Mt.prototype,RP={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{RP[e]={value:e}});Object.defineProperties(Mt,RP);Object.defineProperty(SP,"isAxiosError",{value:!0});Mt.from=(e,t,n,r,o,i)=>{const a=Object.create(SP);Ne.toFlatObject(e,a,function(u){return u!==Error.prototype},d=>d!=="isAxiosError");const l=e&&e.message?e.message:"Error",s=t==null&&e?e.code:t;return Mt.call(a,l,s,n,r,o),e&&a.cause==null&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};const oG=null;function dv(e){return Ne.isPlainObject(e)||Ne.isArray(e)}function kP(e){return Ne.endsWith(e,"[]")?e.slice(0,-2):e}function uy(e,t,n){return e?e.concat(t).map(function(o,i){return o=kP(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function iG(e){return Ne.isArray(e)&&!e.some(dv)}const aG=Ne.toFlatObject(Ne,{},null,function(t){return/^is[A-Z]/.test(t)});function _u(e,t,n){if(!Ne.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ne.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!Ne.isUndefined(b[m])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&Ne.isSpecCompliantForm(t);if(!Ne.isFunction(o))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(Ne.isDate(v))return v.toISOString();if(Ne.isBoolean(v))return v.toString();if(!s&&Ne.isBlob(v))throw new Mt("Blob is not supported. Use a Buffer instead.");return Ne.isArrayBuffer(v)||Ne.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function u(v,m,b){let p=v;if(v&&!b&&typeof v=="object"){if(Ne.endsWith(m,"{}"))m=r?m:m.slice(0,-2),v=JSON.stringify(v);else if(Ne.isArray(v)&&iG(v)||(Ne.isFileList(v)||Ne.endsWith(m,"[]"))&&(p=Ne.toArray(v)))return m=kP(m),p.forEach(function(S,w){!(Ne.isUndefined(S)||S===null)&&t.append(a===!0?uy([m],w,i):a===null?m:m+"[]",d(S))}),!1}return dv(v)?!0:(t.append(uy(b,m,i),d(v)),!1)}const f=[],h=Object.assign(aG,{defaultVisitor:u,convertValue:d,isVisitable:dv});function g(v,m){if(!Ne.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(v),Ne.forEach(v,function(p,y){(!(Ne.isUndefined(p)||p===null)&&o.call(t,p,Ne.isString(y)?y.trim():y,m,h))===!0&&g(p,m?m.concat(y):[y])}),f.pop()}}if(!Ne.isObject(e))throw new TypeError("data must be an object");return g(e),t}function fy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function om(e,t){this._pairs=[],e&&_u(e,this,t)}const PP=om.prototype;PP.append=function(t,n){this._pairs.push([t,n])};PP.toString=function(t){const n=t?function(r){return t.call(this,r,fy)}:fy;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function lG(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function TP(e,t,n){if(!t)return e;const r=n&&n.encode||lG;Ne.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=Ne.isURLSearchParams(t)?t.toString():new om(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class hy{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ne.forEach(this.handlers,function(r){r!==null&&t(r)})}}const $P={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sG=typeof URLSearchParams<"u"?URLSearchParams:om,dG=typeof FormData<"u"?FormData:null,cG=typeof Blob<"u"?Blob:null,uG={isBrowser:!0,classes:{URLSearchParams:sG,FormData:dG,Blob:cG},protocols:["http","https","file","blob","url","data"]},im=typeof window<"u"&&typeof document<"u",cv=typeof navigator=="object"&&navigator||void 0,fG=im&&(!cv||["ReactNative","NativeScript","NS"].indexOf(cv.product)<0),hG=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vG=im&&window.location.href||"http://localhost",gG=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:im,hasStandardBrowserEnv:fG,hasStandardBrowserWebWorkerEnv:hG,navigator:cv,origin:vG},Symbol.toStringTag,{value:"Module"})),rr={...gG,...uG};function mG(e,t){return _u(e,new rr.classes.URLSearchParams,{visitor:function(n,r,o,i){return rr.isNode&&Ne.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function pG(e){return Ne.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bG(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function zP(e){function t(n,r,o,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),s=i>=n.length;return a=!a&&Ne.isArray(o)?o.length:a,s?(Ne.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!l):((!o[a]||!Ne.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&Ne.isArray(o[a])&&(o[a]=bG(o[a])),!l)}if(Ne.isFormData(e)&&Ne.isFunction(e.entries)){const n={};return Ne.forEachEntry(e,(r,o)=>{t(pG(r),o,n,0)}),n}return null}function yG(e,t,n){if(Ne.isString(e))try{return(t||JSON.parse)(e),Ne.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const hd={transitional:$P,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=Ne.isObject(t);if(i&&Ne.isHTMLForm(t)&&(t=new FormData(t)),Ne.isFormData(t))return o?JSON.stringify(zP(t)):t;if(Ne.isArrayBuffer(t)||Ne.isBuffer(t)||Ne.isStream(t)||Ne.isFile(t)||Ne.isBlob(t)||Ne.isReadableStream(t))return t;if(Ne.isArrayBufferView(t))return t.buffer;if(Ne.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return mG(t,this.formSerializer).toString();if((l=Ne.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return _u(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),yG(t)):t}],transformResponse:[function(t){const n=this.transitional||hd.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(Ne.isResponse(t)||Ne.isReadableStream(t))return t;if(t&&Ne.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(l){if(a)throw l.name==="SyntaxError"?Mt.from(l,Mt.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rr.classes.FormData,Blob:rr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ne.forEach(["delete","get","head","post","put","patch"],e=>{hd.headers[e]={}});const xG=Ne.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"]),wG=e=>{const t={};let n,r,o;return e&&e.split(`
7367
7367
  `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&xG[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},vy=Symbol("internals");function Jl(e){return e&&String(e).trim().toLowerCase()}function lc(e){return e===!1||e==null?e:Ne.isArray(e)?e.map(lc):String(e)}function CG(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const SG=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Kf(e,t,n,r,o){if(Ne.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!Ne.isString(t)){if(Ne.isString(r))return t.indexOf(r)!==-1;if(Ne.isRegExp(r))return r.test(t)}}function RG(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function kG(e,t){const n=Ne.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}let wr=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,s,d){const u=Jl(s);if(!u)throw new Error("header name must be a non-empty string");const f=Ne.findKey(o,u);(!f||o[f]===void 0||d===!0||d===void 0&&o[f]!==!1)&&(o[f||s]=lc(l))}const a=(l,s)=>Ne.forEach(l,(d,u)=>i(d,u,s));if(Ne.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Ne.isString(t)&&(t=t.trim())&&!SG(t))a(wG(t),n);else if(Ne.isObject(t)&&Ne.isIterable(t)){let l={},s,d;for(const u of t){if(!Ne.isArray(u))throw TypeError("Object iterator must return a key-value pair");l[d=u[0]]=(s=l[d])?Ne.isArray(s)?[...s,u[1]]:[s,u[1]]:u[1]}a(l,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Jl(t),t){const r=Ne.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return CG(o);if(Ne.isFunction(n))return n.call(this,o,r);if(Ne.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Jl(t),t){const r=Ne.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Kf(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=Jl(a),a){const l=Ne.findKey(r,a);l&&(!n||Kf(r,r[l],l,n))&&(delete r[l],o=!0)}}return Ne.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Kf(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return Ne.forEach(this,(o,i)=>{const a=Ne.findKey(r,i);if(a){n[a]=lc(o),delete n[i];return}const l=t?RG(i):String(i).trim();l!==i&&delete n[i],n[l]=lc(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ne.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&Ne.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
7368
7368
  `)}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 r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[vy]=this[vy]={accessors:{}}).accessors,o=this.prototype;function i(a){const l=Jl(a);r[l]||(kG(o,a),r[l]=!0)}return Ne.isArray(t)?t.forEach(i):i(t),this}};wr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ne.reduceDescriptors(wr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Ne.freezeMethods(wr);function qf(e,t){const n=this||hd,r=t||n,o=wr.from(r.headers);let i=r.data;return Ne.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function OP(e){return!!(e&&e.__CANCEL__)}function Fl(e,t,n){Mt.call(this,e??"canceled",Mt.ERR_CANCELED,t,n),this.name="CanceledError"}Ne.inherits(Fl,Mt,{__CANCEL__:!0});function _P(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Mt("Request failed with status code "+n.status,[Mt.ERR_BAD_REQUEST,Mt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function PG(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function TG(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const d=Date.now(),u=r[i];a||(a=d),n[o]=s,r[o]=d;let f=i,h=0;for(;f!==o;)h+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),d-a<t)return;const g=u&&d-u;return g?Math.round(h*1e3/g):void 0}}function $G(e,t){let n=0,r=1e3/t,o,i;const a=(d,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e(...d)};return[(...d)=>{const u=Date.now(),f=u-n;f>=r?a(d,u):(o=d,i||(i=setTimeout(()=>{i=null,a(o)},r-f)))},()=>o&&a(o)]}const Hc=(e,t,n=3)=>{let r=0;const o=TG(50,250);return $G(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,s=a-r,d=o(s),u=a<=l;r=a;const f={loaded:a,total:l,progress:l?a/l:void 0,bytes:s,rate:d||void 0,estimated:d&&l&&u?(l-a)/d:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},gy=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},my=e=>(...t)=>Ne.asap(()=>e(...t)),zG=rr.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,rr.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(rr.origin),rr.navigator&&/(msie|trident)/i.test(rr.navigator.userAgent)):()=>!0,OG=rr.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];Ne.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),Ne.isString(r)&&l.push(`path=${r}`),Ne.isString(o)&&l.push(`domain=${o}`),i===!0&&l.push("secure"),Ne.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function _G(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function FG(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function FP(e,t,n){let r=!_G(t);return e&&(r||n==!1)?FG(e,t):t}const py=e=>e instanceof wr?{...e}:e;function Sa(e,t){t=t||{};const n={};function r(d,u,f,h){return Ne.isPlainObject(d)&&Ne.isPlainObject(u)?Ne.merge.call({caseless:h},d,u):Ne.isPlainObject(u)?Ne.merge({},u):Ne.isArray(u)?u.slice():u}function o(d,u,f,h){if(Ne.isUndefined(u)){if(!Ne.isUndefined(d))return r(void 0,d,f,h)}else return r(d,u,f,h)}function i(d,u){if(!Ne.isUndefined(u))return r(void 0,u)}function a(d,u){if(Ne.isUndefined(u)){if(!Ne.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function l(d,u,f){if(f in t)return r(d,u);if(f in e)return r(void 0,d)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,u,f)=>o(py(d),py(u),f,!0)};return Ne.forEach(Object.keys({...e,...t}),function(u){const f=s[u]||o,h=f(e[u],t[u],u);Ne.isUndefined(h)&&f!==l||(n[u]=h)}),n}const IP=e=>{const t=Sa({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=wr.from(a),t.url=TP(FP(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ne.isFormData(n)){if(rr.hasStandardBrowserEnv||rr.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Ne.isFunction(n.getHeaders)){const s=n.getHeaders(),d=["content-type","content-length"];Object.entries(s).forEach(([u,f])=>{d.includes(u.toLowerCase())&&a.set(u,f)})}}if(rr.hasStandardBrowserEnv&&(r&&Ne.isFunction(r)&&(r=r(t)),r||r!==!1&&zG(t.url))){const s=o&&i&&OG.read(i);s&&a.set(o,s)}return t},IG=typeof XMLHttpRequest<"u",AG=IG&&function(e){return new Promise(function(n,r){const o=IP(e);let i=o.data;const a=wr.from(o.headers).normalize();let{responseType:l,onUploadProgress:s,onDownloadProgress:d}=o,u,f,h,g,v;function m(){g&&g(),v&&v(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function p(){if(!b)return;const S=wr.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),C={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:S,config:e,request:b};_P(function(k){n(k),m()},function(k){r(k),m()},C),b=null}"onloadend"in b?b.onloadend=p:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(p)},b.onabort=function(){b&&(r(new Mt("Request aborted",Mt.ECONNABORTED,e,b)),b=null)},b.onerror=function(w){const C=w&&w.message?w.message:"Network Error",P=new Mt(C,Mt.ERR_NETWORK,e,b);P.event=w||null,r(P),b=null},b.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const C=o.transitional||$P;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new Mt(w,C.clarifyTimeoutError?Mt.ETIMEDOUT:Mt.ECONNABORTED,e,b)),b=null},i===void 0&&a.setContentType(null),"setRequestHeader"in b&&Ne.forEach(a.toJSON(),function(w,C){b.setRequestHeader(C,w)}),Ne.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),l&&l!=="json"&&(b.responseType=o.responseType),d&&([h,v]=Hc(d,!0),b.addEventListener("progress",h)),s&&b.upload&&([f,g]=Hc(s),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",g)),(o.cancelToken||o.signal)&&(u=S=>{b&&(r(!S||S.type?new Fl(null,e,b):S),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const y=PG(o.url);if(y&&rr.protocols.indexOf(y)===-1){r(new Mt("Unsupported protocol "+y+":",Mt.ERR_BAD_REQUEST,e));return}b.send(i||null)})},EG=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(d){if(!o){o=!0,l();const u=d instanceof Error?d:this.reason;r.abort(u instanceof Mt?u:new Fl(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,i(new Mt(`timeout ${t} of ms exceeded`,Mt.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(i):d.removeEventListener("abort",i)}),e=null)};e.forEach(d=>d.addEventListener("abort",i));const{signal:s}=r;return s.unsubscribe=()=>Ne.asap(l),s}},MG=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},DG=async function*(e,t){for await(const n of BG(e))yield*MG(n,t)},BG=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},by=(e,t,n,r)=>{const o=DG(e,t);let i=0,a,l=s=>{a||(a=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:d,value:u}=await o.next();if(d){l(),s.close();return}let f=u.byteLength;if(n){let h=i+=f;n(h)}s.enqueue(new Uint8Array(u))}catch(d){throw l(d),d}},cancel(s){return l(s),o.return()}},{highWaterMark:2})},yy=64*1024,{isFunction:Yd}=Ne,NG=(({Request:e,Response:t})=>({Request:e,Response:t}))(Ne.global),{ReadableStream:xy,TextEncoder:wy}=Ne.global,Cy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},LG=e=>{e=Ne.merge.call({skipUndefined:!0},NG,e);const{fetch:t,Request:n,Response:r}=e,o=t?Yd(t):typeof fetch=="function",i=Yd(n),a=Yd(r);if(!o)return!1;const l=o&&Yd(xy),s=o&&(typeof wy=="function"?(v=>m=>v.encode(m))(new wy):async v=>new Uint8Array(await new n(v).arrayBuffer())),d=i&&l&&Cy(()=>{let v=!1;const m=new n(rr.origin,{body:new xy,method:"POST",get duplex(){return v=!0,"half"}}).headers.has("Content-Type");return v&&!m}),u=a&&l&&Cy(()=>Ne.isReadableStream(new r("").body)),f={stream:u&&(v=>v.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!f[v]&&(f[v]=(m,b)=>{let p=m&&m[v];if(p)return p.call(m);throw new Mt(`Response type '${v}' is not supported`,Mt.ERR_NOT_SUPPORT,b)})});const h=async v=>{if(v==null)return 0;if(Ne.isBlob(v))return v.size;if(Ne.isSpecCompliantForm(v))return(await new n(rr.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(Ne.isArrayBufferView(v)||Ne.isArrayBuffer(v))return v.byteLength;if(Ne.isURLSearchParams(v)&&(v=v+""),Ne.isString(v))return(await s(v)).byteLength},g=async(v,m)=>{const b=Ne.toFiniteNumber(v.getContentLength());return b??h(m)};return async v=>{let{url:m,method:b,data:p,signal:y,cancelToken:S,timeout:w,onDownloadProgress:C,onUploadProgress:P,responseType:k,headers:$,withCredentials:T="same-origin",fetchOptions:z}=IP(v),E=t||fetch;k=k?(k+"").toLowerCase():"text";let O=EG([y,S&&S.toAbortSignal()],w),A=null;const B=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let N;try{if(P&&d&&b!=="get"&&b!=="head"&&(N=await g($,p))!==0){let X=new n(m,{method:"POST",body:p,duplex:"half"}),Y;if(Ne.isFormData(p)&&(Y=X.headers.get("content-type"))&&$.setContentType(Y),X.body){const[D,V]=gy(N,Hc(my(P)));p=by(X.body,yy,D,V)}}Ne.isString(T)||(T=T?"include":"omit");const K=i&&"credentials"in n.prototype,U={...z,signal:O,method:b.toUpperCase(),headers:$.normalize().toJSON(),body:p,duplex:"half",credentials:K?T:void 0};A=i&&new n(m,U);let re=await(i?E(A,z):E(m,U));const ye=u&&(k==="stream"||k==="response");if(u&&(C||ye&&B)){const X={};["status","statusText","headers"].forEach(ie=>{X[ie]=re[ie]});const Y=Ne.toFiniteNumber(re.headers.get("content-length")),[D,V]=C&&gy(Y,Hc(my(C),!0))||[];re=new r(by(re.body,yy,D,()=>{V&&V(),B&&B()}),X)}k=k||"text";let ue=await f[Ne.findKey(f,k)||"text"](re,v);return!ye&&B&&B(),await new Promise((X,Y)=>{_P(X,Y,{data:ue,headers:wr.from(re.headers),status:re.status,statusText:re.statusText,config:v,request:A})})}catch(K){throw B&&B(),K&&K.name==="TypeError"&&/Load failed|fetch/i.test(K.message)?Object.assign(new Mt("Network Error",Mt.ERR_NETWORK,v,A),{cause:K.cause||K}):Mt.from(K,K&&K.code,v,A)}}},HG=new Map,AP=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a=i.length,l=a,s,d,u=HG;for(;l--;)s=i[l],d=u.get(s),d===void 0&&u.set(s,d=l?new Map:LG(t)),u=d;return d};AP();const am={http:oG,xhr:AG,fetch:{get:AP}};Ne.forEach(am,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Sy=e=>`- ${e}`,jG=e=>Ne.isFunction(e)||e===null||e===!1;function VG(e,t){e=Ne.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){r=e[a];let l;if(o=r,!jG(r)&&(o=am[(l=String(r)).toLowerCase()],o===void 0))throw new Mt(`Unknown adapter '${l}'`);if(o&&(Ne.isFunction(o)||(o=o.get(t))))break;i[l||"#"+a]=o}if(!o){const a=Object.entries(i).map(([s,d])=>`adapter ${s} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=n?a.length>1?`since :
7369
7369
  `+a.map(Sy).join(`