@hsupu/copilot-api 0.8.1-beta.2 → 0.8.2
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.
- package/config.example.yaml +25 -0
- package/dist/main.mjs +2967 -903
- package/dist/main.mjs.map +1 -1
- package/package.json +10 -5
- package/ui/history-v3/dist/assets/LogsPage-CkzMEjbU.css +1 -0
- package/ui/history-v3/dist/assets/LogsPage-CyM6vZyg.js +1 -0
- package/ui/history-v3/dist/assets/VActivityPage-DGZYvP1d.css +1 -0
- package/ui/history-v3/dist/assets/VActivityPage-qSJRqJGU.js +3 -0
- package/ui/history-v3/dist/assets/VCard-B2q0rBgl.js +1 -0
- package/ui/history-v3/dist/assets/VCard-v_d_q0Rh.css +1 -0
- package/ui/history-v3/dist/assets/VConfigPage-DisddwD3.css +1 -0
- package/ui/history-v3/dist/assets/VConfigPage-zQu5b6tC.js +1 -0
- package/ui/history-v3/dist/assets/VDashboardPage-CsNfE_go.js +1 -0
- package/ui/history-v3/dist/assets/VDashboardPage-oAbMfN9y.css +1 -0
- package/ui/history-v3/dist/assets/VDialog-B5tAv-4d.js +1 -0
- package/ui/history-v3/dist/assets/VDialog-CFhCWS_I.css +1 -0
- package/ui/history-v3/dist/assets/VModelsPage-C1y0gG_S.js +1 -0
- package/ui/history-v3/dist/assets/VModelsPage-DMPq4SEZ.css +1 -0
- package/ui/history-v3/dist/assets/VSelect-CahLC2X3.js +1 -0
- package/ui/history-v3/dist/assets/VSelect-CiSADOyl.css +1 -0
- package/ui/history-v3/dist/assets/VSheet-BhXOOy9y.js +1 -0
- package/ui/history-v3/dist/assets/VSheet-DI_DMcjz.css +1 -0
- package/ui/history-v3/dist/assets/index-Cxye_z0t.js +18 -0
- package/ui/history-v3/dist/assets/index-sVLYkWM6.css +1 -0
- package/ui/history-v3/dist/assets/useLogs-C_hg5wZk.js +1 -0
- package/ui/history-v3/dist/assets/{vendor-CmGvxZwr.js → vendor-tLv7SZ-i.js} +1 -1
- package/ui/history-v3/dist/assets/vue-McY99x0M.js +1 -0
- package/ui/history-v3/dist/assets/ws-status-BJ5xglsi.js +1 -0
- package/ui/history-v3/dist/index.html +3 -3
- package/ui/history-v3/dist/assets/BaseSelect-CttLMFCN.js +0 -1
- package/ui/history-v3/dist/assets/BaseSelect-N-W6HPTu.css +0 -1
- package/ui/history-v3/dist/assets/DashboardPage-BYXNxjXb.css +0 -1
- package/ui/history-v3/dist/assets/DashboardPage-CgXivoWS.js +0 -1
- package/ui/history-v3/dist/assets/DetailPanel-CGpPxDDa.css +0 -1
- package/ui/history-v3/dist/assets/DetailPanel-EOQma5fZ.js +0 -3
- package/ui/history-v3/dist/assets/HistoryPage-PA0Yh3n3.css +0 -1
- package/ui/history-v3/dist/assets/HistoryPage-rhEb_UZG.js +0 -1
- package/ui/history-v3/dist/assets/LogsPage-BuPou1cg.css +0 -1
- package/ui/history-v3/dist/assets/LogsPage-CNXQuqMj.js +0 -1
- package/ui/history-v3/dist/assets/ModelsPage-Bpi7Y9GS.js +0 -1
- package/ui/history-v3/dist/assets/ModelsPage-F2KTxq2i.css +0 -1
- package/ui/history-v3/dist/assets/ProgressBar-6xzx-ZSc.js +0 -1
- package/ui/history-v3/dist/assets/ProgressBar-CtfiTXLy.css +0 -1
- package/ui/history-v3/dist/assets/UsagePage-COyq-DOU.css +0 -1
- package/ui/history-v3/dist/assets/UsagePage-CZfgTYCP.js +0 -1
- package/ui/history-v3/dist/assets/VChip-9UyCCNyg.js +0 -1
- package/ui/history-v3/dist/assets/VChip-B_fbAfwz.css +0 -1
- package/ui/history-v3/dist/assets/VDashboardPage-DXtj4agW.js +0 -1
- package/ui/history-v3/dist/assets/VDashboardPage-axfQtTiR.css +0 -1
- package/ui/history-v3/dist/assets/VDivider-D8zdArq0.js +0 -1
- package/ui/history-v3/dist/assets/VDivider-DITF6qCr.css +0 -1
- package/ui/history-v3/dist/assets/VHistoryPage-Dj0qUmWz.js +0 -1
- package/ui/history-v3/dist/assets/VHistoryPage-DqpLWYXo.css +0 -1
- package/ui/history-v3/dist/assets/VList-Bf0AJT_N.css +0 -1
- package/ui/history-v3/dist/assets/VList-Ct6gdZ-F.js +0 -1
- package/ui/history-v3/dist/assets/VLogsPage-BOA_17HS.js +0 -1
- package/ui/history-v3/dist/assets/VLogsPage-Dr3my9y3.css +0 -1
- package/ui/history-v3/dist/assets/VModelsPage-Bkon7sFs.css +0 -1
- package/ui/history-v3/dist/assets/VModelsPage-D-IbiiwR.js +0 -1
- package/ui/history-v3/dist/assets/VSpacer-DfbUir7X.css +0 -1
- package/ui/history-v3/dist/assets/VSpacer-F4vloCsf.js +0 -1
- package/ui/history-v3/dist/assets/VTable-B4qROCQu.js +0 -1
- package/ui/history-v3/dist/assets/VTable-BTui1tPX.css +0 -1
- package/ui/history-v3/dist/assets/VTooltip-9iBP-JhF.js +0 -1
- package/ui/history-v3/dist/assets/VTooltip-C1DKovoh.css +0 -1
- package/ui/history-v3/dist/assets/VUsagePage-B8WkBKET.js +0 -1
- package/ui/history-v3/dist/assets/VUsagePage-Se7R-H-Y.css +0 -1
- package/ui/history-v3/dist/assets/index-B8CP-fZd.css +0 -1
- package/ui/history-v3/dist/assets/index-cupXJxSz.js +0 -18
- package/ui/history-v3/dist/assets/useInjectedHistoryStore-Dx7UlhLw.js +0 -1
- package/ui/history-v3/dist/assets/useLogs-Bz9naVOB.js +0 -1
- package/ui/history-v3/dist/assets/usePolling-CRd-nhvF.js +0 -1
- package/ui/history-v3/dist/assets/vue-Bmo88J5t.js +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HistoryPage-rhEb_UZG.js","assets/DetailPanel-EOQma5fZ.js","assets/vue-Bmo88J5t.js","assets/BaseSelect-CttLMFCN.js","assets/vendor-CmGvxZwr.js","assets/BaseSelect-N-W6HPTu.css","assets/useInjectedHistoryStore-Dx7UlhLw.js","assets/useFormatters-BBIZmSf2.js","assets/DetailPanel-CGpPxDDa.css","assets/HistoryPage-PA0Yh3n3.css","assets/LogsPage-CNXQuqMj.js","assets/useLogs-Bz9naVOB.js","assets/LogsPage-BuPou1cg.css","assets/DashboardPage-CgXivoWS.js","assets/ProgressBar-6xzx-ZSc.js","assets/ProgressBar-CtfiTXLy.css","assets/usePolling-CRd-nhvF.js","assets/DashboardPage-BYXNxjXb.css","assets/ModelsPage-Bpi7Y9GS.js","assets/ModelsPage-F2KTxq2i.css","assets/UsagePage-CZfgTYCP.js","assets/UsagePage-COyq-DOU.css","assets/VHistoryPage-Dj0qUmWz.js","assets/VChip-9UyCCNyg.js","assets/VSpacer-F4vloCsf.js","assets/VSpacer-DfbUir7X.css","assets/VChip-B_fbAfwz.css","assets/VTooltip-9iBP-JhF.js","assets/VDivider-D8zdArq0.js","assets/VDivider-DITF6qCr.css","assets/VList-Ct6gdZ-F.js","assets/VList-Bf0AJT_N.css","assets/VTooltip-C1DKovoh.css","assets/VHistoryPage-DqpLWYXo.css","assets/VLogsPage-BOA_17HS.js","assets/VTable-B4qROCQu.js","assets/VTable-BTui1tPX.css","assets/VLogsPage-Dr3my9y3.css","assets/VDashboardPage-DXtj4agW.js","assets/VDashboardPage-axfQtTiR.css","assets/VModelsPage-D-IbiiwR.js","assets/VModelsPage-Bkon7sFs.css","assets/VUsagePage-B8WkBKET.js","assets/VUsagePage-Se7R-H-Y.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{d as be,g as ae,h as Ze,i as ce,o as G,j as L,F as _e,k as Ht,c as O,l as he,u as q,t as Te,m as N,f as b,p as Wt,q as Bt,s as qe,e as lt,r as w,T as En,v as xn,w as $e,x as C,b as U,y as R,z as Cn,A as Tn,B as An,C as Mn,D as In,E as ue,G as Yt,a as ne,H as jt,I as Xe,J as On,K as Pn,L as Fn,M as Qe,N as Ue,O as _n,P as $n,Q as Ln,R as Rn,S as Nn,U as Vn,V as Hn,n as Wn,W as Bn,X as Yn,Y as jn}from"./vue-Bmo88J5t.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();const Un=be({__name:"StatusDot",props:{status:{},size:{default:8}},setup(e){return(t,n)=>(G(),ae("span",{class:ce(["status-dot","status-"+e.status]),style:Ze({width:e.size+"px",height:e.size+"px"})},null,6))}}),Le=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},zn=Le(Un,[["__scopeId","data-v-3f3b5f04"]]);function Je(e){return e.startsWith("/v/")}function Gn(e){return e==="/"?"/v/dashboard":Je(e)?e.replace("/v/","/"):`/v${e}`}const Kn={class:"navbar"},Zn={class:"navbar-center"},qn={class:"navbar-right"},Xn={class:"ws-label"},Qn=be({__name:"NavBar",setup(e){const t=N("historyStore");if(!t)throw new Error("historyStore injection missing");const n=Bt(),r=b(()=>Je(n.path)),s=[{to:"/v/history",label:"History"},{to:"/v/logs",label:"Logs"},{to:"/v/dashboard",label:"Dashboard"},{to:"/v/models",label:"Models"},{to:"/v/usage",label:"Usage"}],a=[{to:"/history",label:"History"},{to:"/logs",label:"Logs"},{to:"/dashboard",label:"Dashboard"},{to:"/models",label:"Models"},{to:"/usage",label:"Usage"}],o=b(()=>r.value?s:a),i=b(()=>Gn(n.path)),u=b(()=>r.value?"Legacy":"Vuetify");function c(l){return n.path===l}return(l,f)=>{const m=Wt("router-link");return G(),ae("nav",Kn,[f[0]||(f[0]=L("div",{class:"navbar-left"},[L("span",{class:"navbar-brand"},"copilot-api")],-1)),L("div",Zn,[(G(!0),ae(_e,null,Ht(o.value,v=>(G(),qe(m,{key:v.to,to:v.to,class:ce(["nav-link",{active:c(v.to)}])},{default:he(()=>[lt(Te(v.label),1)]),_:2},1032,["to","class"]))),128))]),L("div",qn,[O(m,{to:i.value,class:"switch-link"},{default:he(()=>[lt(Te(u.value),1)]),_:1},8,["to"]),O(zn,{status:q(t).wsConnected.value?"success":"error",size:6},null,8,["status"]),L("span",Xn,Te(q(t).wsConnected.value?"Live":"Offline"),1)])])}}}),ft=Le(Qn,[["__scopeId","data-v-21776911"]]);let Jn=0;const ke=w([]);function Ut(){function e(t,n="info",r=3e3){const s=Jn++;ke.value.push({id:s,text:t,type:n}),setTimeout(()=>{ke.value=ke.value.filter(a=>a.id!==s)},r)}return{messages:ke,show:e}}const er={class:"toast-container"},tr=be({__name:"BaseToast",setup(e){const{messages:t}=Ut();return(n,r)=>(G(),qe(xn,{to:"body"},[L("div",er,[O(En,{name:"slide-up"},{default:he(()=>[(G(!0),ae(_e,null,Ht(q(t),s=>(G(),ae("div",{key:s.id,class:ce(["toast-item","toast-"+s.type])},Te(s.text),3))),128))]),_:1})])]))}}),nr=Le(tr,[["__scopeId","data-v-40f42fcd"]]),zt="/history/api";class Gt extends Error{constructor(t,n){super(n),this.status=t,this.name="ApiError"}}async function Z(e,t){const n=await fetch(zt+e,{headers:{"Content-Type":"application/json"},...t});if(!n.ok){const r=await n.text().catch(()=>"Unknown error");throw new Gt(n.status,`${n.status}: ${r}`)}return n.json()}async function We(e,t){const n=await fetch(e,{headers:{"Content-Type":"application/json"},...t});if(!n.ok){const r=await n.text().catch(()=>"Unknown error");throw new Gt(n.status,`${n.status}: ${r}`)}return n.json()}const fe={async fetchEntries(e={}){const t=new URLSearchParams;e.cursor&&t.set("cursor",e.cursor),e.limit&&t.set("limit",String(e.limit)),e.direction&&t.set("direction",e.direction),e.model&&t.set("model",e.model),e.endpoint&&t.set("endpoint",e.endpoint),e.success!==void 0&&t.set("success",String(e.success)),e.from&&t.set("from",String(e.from)),e.to&&t.set("to",String(e.to)),e.search&&t.set("search",e.search),e.sessionId&&t.set("sessionId",e.sessionId);const n=t.toString();return Z("/entries"+(n?"?"+n:""))},async fetchEntry(e){return Z("/entries/"+e)},async deleteEntries(){await Z("/entries",{method:"DELETE"})},async fetchSessions(){return Z("/sessions")},async fetchSession(e){return Z("/sessions/"+e)},async deleteSession(e){await Z("/sessions/"+e,{method:"DELETE"})},async fetchStats(){return Z("/stats")},getExportUrl(e){return zt+"/export?format="+e},async fetchStatus(){return We("/api/status")},async fetchConfig(){return We("/api/config")},async fetchLogs(e=100){return Z(`/entries?limit=${String(e)}`)},async fetchModels(e=!1){return We("/models"+(e?"?detail=true":""))}};function rr(e){const t=w([]),n=w(null),r=w([]),s=w(null),a=w(""),o=w(null),i=w(null),u=w(null),c=w(null),l=w(null),f=w(0),m=w(!1),v=w(!1),g=w(null),S=20,T=b(()=>n.value!==null),d=b(()=>n.value?t.value.findIndex(D=>D.id===n.value?.id):-1);async function h(D,F){v.value=!0,g.value=null;try{const A=await fe.fetchEntries({cursor:D,direction:F,limit:S,endpoint:o.value,success:i.value===null?void 0:i.value==="true",search:a.value||void 0,sessionId:u.value||void 0});t.value=A.entries,c.value=A.nextCursor,l.value=A.prevCursor,f.value=A.total,m.value=A.nextCursor!==null,n.value===null&&t.value.length>0&&await I(t.value[0].id)}catch(A){const Q=A instanceof Error?A.message:"Failed to load entries";g.value=Q,e(Q,"error")}finally{v.value=!1}}async function y(){try{s.value=await fe.fetchStats()}catch{}}async function x(){try{const D=await fe.fetchSessions();r.value=D.sessions}catch{}}async function I(D){try{n.value=await fe.fetchEntry(D)}catch(F){const A=F instanceof Error?F.message:"Failed to load entry";e(A,"error")}}function p(D){const F=d.value;if(t.value.length===0)return;let A;F===-1?A=0:D==="next"?A=Math.min(F+1,t.value.length-1):A=Math.max(F-1,0);const Q=t.value[A];Q&&I(Q.id)}function E(){n.value=null}async function _(){try{await fe.deleteEntries(),t.value=[],n.value=null,s.value=null,f.value=0,c.value=null,l.value=null,m.value=!1,e("History cleared","success"),await y()}catch(D){const F=D instanceof Error?D.message:"Failed to clear history";e(F,"error")}}async function k(){const D=n.value?.id;await Promise.all([h(),y(),x()]),D&&await I(D)}function $(){c.value&&h(c.value,"older")}function H(){l.value&&h(l.value,"newer")}function W(){c.value=null,l.value=null}function X(D){u.value=D,W(),h()}function re(D){o.value=D,W(),h()}function ct(D){i.value=D,W(),h()}function De(D){a.value=D,W(),h()}return{entries:t,selectedEntry:n,sessions:r,stats:s,searchQuery:a,filterEndpoint:o,filterSuccess:i,selectedSessionId:u,nextCursor:c,prevCursor:l,total:f,hasMore:m,loading:v,error:g,hasSelection:T,selectedIndex:d,pageSize:S,fetchEntries:h,fetchStats:y,fetchSessions:x,selectEntry:I,selectAdjacentEntry:p,clearSelection:E,clearAll:_,refresh:k,loadNext:$,loadPrev:H,setSessionFilter:X,setEndpointFilter:re,setSuccessFilter:ct,setSearch:De}}class sr{constructor(t){this.options=t}ws=null;reconnectTimer=null;reconnectDelay=1e3;maxReconnectDelay=3e4;intentionalClose=!1;connect(){this.intentionalClose=!1,this.createConnection()}disconnect(){this.intentionalClose=!0,this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.ws&&(this.ws.close(),this.ws=null),this.options.onStatusChange?.(!1)}get isConnected(){return this.ws?.readyState===WebSocket.OPEN}createConnection(){const n=`${location.protocol==="https:"?"wss:":"ws:"}//${location.host}/ws`;try{this.ws=new WebSocket(n)}catch{this.scheduleReconnect();return}this.ws.addEventListener("open",()=>{this.reconnectDelay=1e3,this.options.onStatusChange?.(!0),this.options.topics&&this.ws?.send(JSON.stringify({type:"subscribe",topics:this.options.topics}))}),this.ws.addEventListener("close",()=>{this.options.onStatusChange?.(!1),this.intentionalClose||this.scheduleReconnect()}),this.ws.addEventListener("error",()=>{}),this.ws.addEventListener("message",r=>{try{const s=JSON.parse(r.data);this.handleMessage(s)}catch{}})}handleMessage(t){switch(t.type){case"entry_added":{this.options.onEntryAdded?.(t.data);break}case"entry_updated":{this.options.onEntryUpdated?.(t.data);break}case"stats_updated":{this.options.onStatsUpdated?.(t.data);break}case"connected":{this.options.onConnected?.(t.data.clientCount);break}case"history_cleared":{this.options.onHistoryCleared?.();break}case"session_deleted":{this.options.onSessionDeleted?.(t.data.sessionId);break}case"active_request_changed":{this.options.onActiveRequestChanged?.(t.data);break}case"rate_limiter_changed":{this.options.onRateLimiterChanged?.(t.data);break}case"shutdown_phase_changed":{this.options.onShutdownPhaseChanged?.(t.data);break}}}scheduleReconnect(){this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.createConnection()},this.reconnectDelay),this.reconnectDelay=Math.min(this.reconnectDelay*2,this.maxReconnectDelay))}}function or({entries:e,prevCursor:t,total:n,stats:r,selectedEntry:s,wsConnected:a,pageSize:o,refresh:i,selectEntry:u}){let c=null;function l(S){t.value===null&&(e.value=[S,...e.value.slice(0,o-1)],n.value++)}function f(S){const T=e.value.findIndex(d=>d.id===S.id);T!==-1&&(e.value=e.value.map((d,h)=>h===T?S:d)),s.value?.id===S.id&&u(S.id)}function m(S){r.value=S}function v(){i(),c=new sr({topics:["history"],onEntryAdded:l,onEntryUpdated:f,onStatsUpdated:m,onHistoryCleared:()=>{i()},onSessionDeleted:()=>{i()},onStatusChange:S=>{a.value=S}}),c.connect()}function g(){c?.disconnect(),c=null}return{init:v,destroy:g}}function ar(){const{show:e}=Ut(),t=rr(e),n=w(!1),r=w(""),s=w(""),a=w(""),o=w(!0),i=w(null),u=w(!1),c=or({entries:t.entries,prevCursor:t.prevCursor,total:t.total,stats:t.stats,selectedEntry:t.selectedEntry,wsConnected:n,pageSize:t.pageSize,refresh:t.refresh,selectEntry:t.selectEntry});return{entries:t.entries,selectedEntry:t.selectedEntry,sessions:t.sessions,stats:t.stats,searchQuery:t.searchQuery,filterEndpoint:t.filterEndpoint,filterSuccess:t.filterSuccess,selectedSessionId:t.selectedSessionId,nextCursor:t.nextCursor,prevCursor:t.prevCursor,total:t.total,hasMore:t.hasMore,loading:t.loading,error:t.error,wsConnected:n,detailSearch:r,detailFilterRole:s,detailFilterType:a,aggregateTools:o,detailViewMode:i,showOnlyRewritten:u,hasSelection:t.hasSelection,selectedIndex:t.selectedIndex,fetchEntries:t.fetchEntries,fetchStats:t.fetchStats,fetchSessions:t.fetchSessions,selectEntry:t.selectEntry,selectAdjacentEntry:t.selectAdjacentEntry,clearSelection:t.clearSelection,clearAll:t.clearAll,refresh:t.refresh,loadNext:t.loadNext,loadPrev:t.loadPrev,setSessionFilter:t.setSessionFilter,setEndpointFilter:t.setEndpointFilter,setSuccessFilter:t.setSuccessFilter,setSearch:t.setSearch,init:c.init,destroy:c.destroy}}function V(e,t){return n=>Object.keys(e).reduce((r,s)=>{const o=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...o,default:n[s]}:r[s]=o,t&&!r[s].source&&(r[s].source=t),r},{})}const Kt=V({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function ir(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const P=typeof window<"u",Mo=P&&"IntersectionObserver"in window,cr=P&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Zt=P&&"matchMedia"in window&&typeof window.matchMedia=="function",ur=()=>Zt&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function qt(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;s<r;s++){if(e==null)return n;e=e[t[s]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function ze(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),qt(e,t.split("."),n))}function Io(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return ze(e,t,n);if(Array.isArray(t))return qt(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Xt(e,t=0){return Array.from({length:e},(n,r)=>t+r)}function Y(e,t="px"){if(e==null||e==="")return;const n=Number(e);return isNaN(n)?String(e):isFinite(n)?`${n}${t}`:void 0}function Oo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function dt(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Qt(e){if(e&&"$el"in e){const t=e.$el;return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}function Be(e,t){return t.every(n=>e.hasOwnProperty(n))}function lr(e,t){const n={};for(const r of t)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function mt(e,t,n){const r=Object.create(null),s=Object.create(null);for(const a in e)t.some(o=>o instanceof RegExp?o.test(a):o===a)?r[a]=e[a]:s[a]=e[a];return[r,s]}function Jt(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const en=/^on[^a-z]/,Po=e=>en.test(e),fr=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Fo(e){const[t,n]=mt(e,[en]),r=Jt(t,fr),[s,a]=mt(n,["class","style","id","inert",/^data-/]);return Object.assign(s,t),Object.assign(a,r),[s,a]}function _o(e){return e==null?[]:Array.isArray(e)?e:[e]}function $o(e,t){let n=0;const r=(...s)=>{clearTimeout(n),n=setTimeout(()=>e(...s),q(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function et(e,t=0,n=1){return Math.max(t,Math.min(n,e))}function ht(e,t,n="0"){return e+n.repeat(Math.max(0,t-e.length))}function pt(e,t,n="0"){return n.repeat(Math.max(0,t-e.length))+e}function dr(e,t=1){const n=[];let r=0;for(;r<e.length;)n.push(e.substr(r,t)),r+=t;return n}function M(e={},t={},n,r){const s={};for(const a in e)s[a]=e[a];for(const a in t){const o=t[a];if(r&&!r(a,o))continue;const i=e[a];if(dt(i)&&dt(o)){s[a]=M(i,o,n,r);continue}s[a]=o}return s}function mr(e){return e.map(t=>t.type===_e?mr(t.children):t).flat()}function ee(e=""){if(ee.cache.has(e))return ee.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ee.cache.set(e,t),t}ee.cache=new Map;function de(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>de(e,n)).flat(1);if(t.suspense)return de(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>de(e,n)).flat(1);if(t.component){if(Object.getOwnPropertyDescriptor(t.component.provides,e))return[t.component];if(t.component.subTree)return de(e,t.component.subTree).flat(1)}return[]}class Lo{#t=[];#e=0;constructor(t){this.size=t}get isFull(){return this.#t.length===this.size}push(t){this.#t[this.#e]=t,this.#e=(this.#e+1)%this.size}values(){return this.#t.slice(this.#e).concat(this.#t.slice(0,this.#e))}clear(){this.#t.length=0,this.#e=0}}function Ro(e){const t=U({});$e(()=>{const r=e();for(const s in r)t[s]=r[s]},{flush:"sync"});const n={};for(const r in t)n[r]=C(()=>t[r]);return n}function No(e,t){return e.includes(t)}function Vo(e){return e[2].toLowerCase()+e.slice(3)}const Ho=()=>[Function,Array];function Wo(e,t){return t="on"+Cn(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function Bo(e,...t){if(Array.isArray(e))for(const n of e)n(...t);else typeof e=="function"&&e(...t)}function hr(e,t=!0){const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(s=>`${s}${t?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let r;try{r=[...e.querySelectorAll(n)]}catch{return[]}return r.filter(s=>!s.closest("[inert]")).filter(s=>!!s.offsetParent||s.getClientRects().length>0).filter(s=>!s.parentElement?.closest("details:not([open])")||s.tagName==="SUMMARY"&&s.parentElement?.tagName==="DETAILS")}function pr(e,t,n){let r,s=e.indexOf(document.activeElement);const a=t==="next"?1:-1;do s+=a,r=e[s];while((!r||r.offsetParent==null||!(n?.(r)??!0))&&s<e.length&&s>=0);return r}function yr(e,t){const n=hr(e);if(t==null)(e===document.activeElement||!e.contains(document.activeElement))&&n[0]?.focus();else if(t==="first")n[0]?.focus();else if(t==="last")n.at(-1)?.focus();else if(typeof t=="number")n[t]?.focus();else{const r=pr(n,t);r?r.focus():yr(e,t==="next"?"first":"last")}}function Yo(e,t){if(!(P&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function vr(e){return e.some(t=>An(t)?t.type===Mn?!1:t.type!==_e||vr(t.children):!0)?e:null}function jo(e,t){if(!P||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function Uo(e,t){const n=e.clientX,r=e.clientY,s=t.getBoundingClientRect(),a=s.left,o=s.top,i=s.right,u=s.bottom;return n>=a&&n<=i&&r>=o&&r<=u}function gr(){const e=R(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>Qt(e.value)}),t}function zo(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}function Go(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function Ko(e){const t={};for(const n in e)t[Tn(n)]=e[n];return t}function Zo(e){const t=["checked","disabled"];return Object.fromEntries(Object.entries(e).filter(([n,r])=>t.includes(n)?!!r:r!==void 0))}const se=2.4,yt=.2126729,vt=.7151522,gt=.072175,br=.55,wr=.58,Sr=.57,Dr=.62,Ee=.03,bt=1.45,kr=5e-4,Er=1.25,xr=1.25,wt=.078,St=12.82051282051282,xe=.06,Dt=.001;function kt(e,t){const n=(e.r/255)**se,r=(e.g/255)**se,s=(e.b/255)**se,a=(t.r/255)**se,o=(t.g/255)**se,i=(t.b/255)**se;let u=n*yt+r*vt+s*gt,c=a*yt+o*vt+i*gt;if(u<=Ee&&(u+=(Ee-u)**bt),c<=Ee&&(c+=(Ee-c)**bt),Math.abs(c-u)<kr)return 0;let l;if(c>u){const f=(c**br-u**wr)*Er;l=f<Dt?0:f<wt?f-f*St*xe:f-xe}else{const f=(c**Dr-u**Sr)*xr;l=f>-Dt?0:f>-wt?f-f*St*xe:f+xe}return l*100}const Ae=.20689655172413793,Cr=e=>e>Ae**3?Math.cbrt(e):e/(3*Ae**2)+4/29,Tr=e=>e>Ae?e**3:3*Ae**2*(e-4/29);function tn(e){const t=Cr,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function nn(e){const t=Tr,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Ar=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Mr=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Ir=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Or=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function rn(e){const t=Array(3),n=Mr,r=Ar;for(let s=0;s<3;++s)t[s]=Math.round(et(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function tt({r:e,g:t,b:n}){const r=[0,0,0],s=Or,a=Ir;e=s(e/255),t=s(t/255),n=s(n/255);for(let o=0;o<3;++o)r[o]=a[o][0]*e+a[o][1]*t+a[o][2]*n;return r}function Pr(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function qo(e){return Pr(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Et=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,Fr={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>xt({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>xt({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>pe({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>pe({h:e,s:t,v:n,a:r})};function z(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Et.test(e)){const{groups:t}=e.match(Et),{fn:n,values:r}=t,s=r.split(/,\s*|\s*\/\s*|\s+/).map((a,o)=>a.endsWith("%")||o>0&&o<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(a)/100:parseFloat(a));return Fr[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),$r(t)}else if(typeof e=="object"){if(Be(e,["r","g","b"]))return e;if(Be(e,["h","s","l"]))return pe(sn(e));if(Be(e,["h","s","v"]))return pe(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
|
|
3
|
-
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function pe(e){const{h:t,s:n,v:r,a:s}=e,a=i=>{const u=(i+t/60)%6;return r-r*n*Math.max(Math.min(u,4-u,1),0)},o=[a(5),a(3),a(1)].map(i=>Math.round(i*255));return{r:o[0],g:o[1],b:o[2],a:s}}function xt(e){return pe(sn(e))}function sn(e){const{h:t,s:n,l:r,a:s}=e,a=r+n*Math.min(r,1-r),o=a===0?0:2-2*r/a;return{h:t,s:o,v:a,a:s}}function Ce(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function _r({r:e,g:t,b:n,a:r}){return`#${[Ce(e),Ce(t),Ce(n),r!==void 0?Ce(Math.round(r*255)):""].join("")}`}function $r(e){e=Lr(e);let[t,n,r,s]=dr(e,2).map(a=>parseInt(a,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function Lr(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=ht(ht(e,6),8,"F")),e}function Rr(e,t){const n=tn(tt(e));return n[0]=n[0]+t*10,rn(nn(n))}function Nr(e,t){const n=tn(tt(e));return n[0]=n[0]-t*10,rn(nn(n))}function Vr(e){const t=z(e);return tt(t)[1]}function Hr(e){const t=Math.abs(kt(z(0),z(e)));return Math.abs(kt(z(16777215),z(e)))>Math.min(t,50)}function K(e,t){const n=In();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function Wr(e="composables"){const t=K(e).type;return ee(t?.aliasName||t?.name)}function Br(e,t=K("injectSelf")){const{provides:n}=t;if(n&&e in n)return n[e]}const ie=Symbol.for("vuetify:defaults");function Yr(e){return w(e)}function nt(){const e=N(ie);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Xo(e,t){const n=nt(),r=w(e),s=b(()=>{if(q(t?.disabled))return n.value;const o=q(t?.scoped),i=q(t?.reset),u=q(t?.root);if(r.value==null&&!(o||i||u))return n.value;let c=M(r.value,{prev:n.value});if(o)return c;if(i||u){const l=Number(i||1/0);for(let f=0;f<=l&&!(!c||!("prev"in c));f++)c=c.prev;return c&&typeof u=="string"&&u in c&&(c=M(M(c,{prev:c}),c[u])),c}return c.prev?M(c.prev,c,void 0,(l,f)=>f!==void 0):c});return ue(ie,s),s}function jr(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[ee(t)]<"u")}function Ur(e={},t,n=nt()){const r=K("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=b(()=>n.value?.[e._as??t]),a=new Proxy(e,{get(u,c){const l=Reflect.get(u,c);if(c==="class"||c==="style")return[s.value?.[c],l].filter(v=>v!=null);if(jr(r.vnode,c))return l;const f=s.value?.[c];if(f!==void 0)return f;const m=n.value?.global?.[c];return m!==void 0?m:l}}),o=R();$e(()=>{if(s.value){const u=Object.entries(s.value).filter(([c])=>c.startsWith(c[0].toUpperCase()));o.value=u.length?Object.fromEntries(u):void 0}else o.value=void 0});function i(){const u=Br(ie,r);ue(ie,b(()=>o.value?M(u?.value??{},o.value):u?.value))}return{props:a,provideSubDefaults:i}}function we(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=V(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return lr(r,t)},e.props._as=String,e.setup=function(r,s){const a=nt();if(!a.value)return e._setup(r,s);const{props:o,provideSubDefaults:i}=Ur(r,r._as??e.name,a),u=e._setup(o,s);return i(),u}}return e}function rt(e=!0){return t=>(e?we:be)(t)}const Qo="cubic-bezier(0.4, 0, 0.2, 1)",Jo="cubic-bezier(0.0, 0, 0.2, 1)",ea="cubic-bezier(0.4, 0, 1, 1)",zr={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1};function on(e){const t=K("useRender");t.render=e}function Gr(e,t="content"){const n=gr(),r=w();if(P){const s=new ResizeObserver(a=>{e?.(a,s),a.length&&(t==="content"?r.value=a[0].contentRect:r.value=a[0].target.getBoundingClientRect())});Yt(()=>{s.disconnect()}),ne(()=>n.el,(a,o)=>{o&&(s.unobserve(o),r.value=void 0),a&&s.observe(a)},{flush:"post"})}return{resizeRef:n,contentRect:jt(r)}}const Me=Symbol.for("vuetify:layout"),an=Symbol.for("vuetify:layout-item"),Ct=1e3,Kr=V({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),ta=V({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Zr(){const e=N(Me);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function na(e){const t=N(Me);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${On()}`,r=K("useLayoutItem");ue(an,{id:n});const s=R(!1);Pn(()=>s.value=!0),Fn(()=>s.value=!1);const{layoutItemStyles:a,layoutItemScrimStyles:o}=t.register(r,{...e,active:b(()=>s.value?!1:e.active.value),id:n});return Yt(()=>t.unregister(n)),{layoutItemStyles:a,layoutRect:t.layoutRect,layoutItemScrimStyles:o}}const qr=(e,t,n,r)=>{let s={top:0,left:0,right:0,bottom:0};const a=[{id:"",layer:{...s}}];for(const o of e){const i=t.get(o),u=n.get(o),c=r.get(o);if(!i||!u||!c)continue;const l={...s,[i.value]:parseInt(s[i.value],10)+(c.value?parseInt(u.value,10):0)};a.push({id:o,layer:l}),s=l}return a};function Xr(e){const t=N(Me,null),n=b(()=>t?t.rootZIndex.value-100:Ct),r=w([]),s=U(new Map),a=U(new Map),o=U(new Map),i=U(new Map),u=U(new Map),{resizeRef:c,contentRect:l}=Gr(),f=b(()=>{const p=new Map,E=e.overlaps??[];for(const _ of E.filter(k=>k.includes(":"))){const[k,$]=_.split(":");if(!r.value.includes(k)||!r.value.includes($))continue;const H=s.get(k),W=s.get($),X=a.get(k),re=a.get($);!H||!W||!X||!re||(p.set($,{position:H.value,amount:parseInt(X.value,10)}),p.set(k,{position:W.value,amount:-parseInt(re.value,10)}))}return p}),m=b(()=>{const p=[...new Set([...o.values()].map(_=>_.value))].sort((_,k)=>_-k),E=[];for(const _ of p){const k=r.value.filter($=>o.get($)?.value===_);E.push(...k)}return qr(E,s,a,i)}),v=b(()=>!Array.from(u.values()).some(p=>p.value)),g=b(()=>m.value[m.value.length-1].layer),S=C(()=>({"--v-layout-left":Y(g.value.left),"--v-layout-right":Y(g.value.right),"--v-layout-top":Y(g.value.top),"--v-layout-bottom":Y(g.value.bottom),...v.value?void 0:{transition:"none"}})),T=b(()=>m.value.slice(1).map(({id:p},E)=>{const{layer:_}=m.value[E],k=a.get(p),$=s.get(p);return{id:p,..._,size:Number(k.value),position:$.value}})),d=p=>T.value.find(E=>E.id===p),h=K("createLayout"),y=R(!1);Xe(()=>{y.value=!0}),ue(Me,{register:(p,{id:E,order:_,position:k,layoutSize:$,elementSize:H,active:W,disableTransitions:X,absolute:re})=>{o.set(E,_),s.set(E,k),a.set(E,$),i.set(E,W),X&&u.set(E,X);const De=de(an,h?.vnode).indexOf(p);De>-1?r.value.splice(De,0,E):r.value.push(E);const D=b(()=>T.value.findIndex(le=>le.id===E)),F=b(()=>n.value+m.value.length*2-D.value*2),A=b(()=>{const le=k.value==="left"||k.value==="right",Ne=k.value==="right",wn=k.value==="bottom",Ve=Number(H.value??$.value),Sn=`translate${le?"X":"Y"}`,Dn=W.value?0:(Ve===0?100:Ve+1)*(Ne||wn?1:-1),kn=Ve===0?"%":"px",ut={[k.value]:0,zIndex:F.value,transform:`${Sn}(${Dn}${kn})`,position:re.value||n.value!==Ct?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(!y.value)return ut;const j=T.value[D.value],He=f.value.get(E);return He&&(j[He.position]+=He.amount),{...ut,height:le?`calc(100% - ${j.top}px - ${j.bottom}px)`:H.value?`${H.value}px`:void 0,left:Ne?void 0:`${j.left}px`,right:Ne?`${j.right}px`:void 0,top:k.value!=="bottom"?`${j.top}px`:void 0,bottom:k.value!=="top"?`${j.bottom}px`:void 0,width:le?H.value?`${H.value}px`:void 0:`calc(100% - ${j.left}px - ${j.right}px)`}}),Q=b(()=>({zIndex:F.value-1}));return{layoutItemStyles:A,layoutItemScrimStyles:Q,zIndex:F}},unregister:p=>{o.delete(p),s.delete(p),a.delete(p),i.delete(p),u.delete(p),r.value=r.value.filter(E=>E!==p)},mainRect:g,mainStyles:S,getLayoutItem:d,items:T,layoutRect:l,rootZIndex:n});const x=C(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),I=C(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:x,layoutStyles:I,getLayoutItem:d,items:T,layoutRect:l,layoutRef:c}}function Qr(e,t){let n;function r(){n=Ue(),n.run(()=>t.length?t(()=>{n?.stop(),r()}):t())}ne(e,s=>{s&&!n?r():s||(n?.stop(),n=void 0)},{immediate:!0}),Qe(()=>{n?.stop()})}function Jr(e,t,n,r=a=>a,s=a=>a){const a=K("useProxiedModel"),o=w(e[t]!==void 0?e[t]:n),i=ee(t),c=i!==t?b(()=>(e[t],!!((a.vnode.props?.hasOwnProperty(t)||a.vnode.props?.hasOwnProperty(i))&&(a.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||a.vnode.props?.hasOwnProperty(`onUpdate:${i}`))))):b(()=>(e[t],!!(a.vnode.props?.hasOwnProperty(t)&&a.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));Qr(()=>!c.value,()=>{ne(()=>e[t],f=>{o.value=f})});const l=b({get(){const f=e[t];return r(c.value?f:o.value)},set(f){const m=s(f),v=_n(c.value?e[t]:o.value);v===m||r(v)===f||(o.value=m,a?.emit(`update:${t}`,m))}});return Object.defineProperty(l,"externalValue",{get:()=>c.value?e[t]:o.value}),l}const es={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time",hour:"Hour",minute:"Minute",second:"Second",notAllowed:"Value is not allowed"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},command:{search:"Type a command or search..."},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}",or:"or"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},Tt="$vuetify.",At=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[Number(r)])),cn=(e,t,n)=>(r,...s)=>{if(!r.startsWith(Tt))return At(r,s);const a=r.replace(Tt,""),o=e.value&&n.value[e.value],i=t.value&&n.value[t.value];let u=ze(o,a,null);return u||(`${r}${e.value}`,u=ze(i,a,null)),u||(u=r),typeof u!="string"&&(u=r),At(u,s)};function st(e,t){return(n,r)=>new Intl.NumberFormat([e.value,t.value],r).format(n)}function un(e,t){return st(e,t)(.1).includes(",")?",":"."}function Ye(e,t,n){const r=Jr(e,t,e[t]??n.value);return r.value=e[t]??n.value,ne(n,s=>{e[t]==null&&(r.value=n.value)}),r}function ln(e){return t=>{const n=Ye(t,"locale",e.current),r=Ye(t,"fallback",e.fallback),s=Ye(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,decimalSeparator:C(()=>un(n,r)),t:cn(n,r,s),n:st(n,r),provide:ln({current:n,fallback:r,messages:s})}}}function ts(e){const t=R(e?.locale??"en"),n=R(e?.fallback??"en"),r=w({en:es,...e?.messages});return{name:"vuetify",current:t,fallback:n,messages:r,decimalSeparator:C(()=>e?.decimalSeparator??un(t,n)),t:cn(t,n,r),n:st(t,n),provide:ln({current:t,fallback:n,messages:r})}}const Ie=Symbol.for("vuetify:locale");function ns(e){return e.name!=null}function rs(e){const t=e?.adapter&&ns(e?.adapter)?e?.adapter:ts(e),n=os(t,e);return{...t,...n}}function ra(){const e=N(Ie);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function ss(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function os(e,t){const n=w(t?.rtl??ss()),r=b(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:C(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function fn(){const e=N(Ie);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const ye=Symbol.for("vuetify:theme"),as=V({theme:String},"theme");function Mt(){return{defaultTheme:"system",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"black","elevation-overlay-opacity-step":"2%"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"shadow-color":"#000000","high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC","theme-on-dark":"#FFF","theme-on-light":"#000","elevation-overlay-color":"white","elevation-overlay-opacity-step":"2%"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,utilities:!0}}function is(e=Mt()){const t=Mt();return e?M(t,e):{...t,isDisabled:!0}}function J(e,t,n,r){e.push(`${fs(t,r)} {
|
|
4
|
-
`,...n.map(s=>` ${s};
|
|
5
|
-
`),`}
|
|
6
|
-
`)}function It(e,t){const n=e.dark?2:1,r=e.dark?1:2,s=[];for(const[a,o]of Object.entries(e.colors)){const i=z(o);s.push(`--${t}theme-${a}: ${i.r},${i.g},${i.b}`+(i.a==null?"":`,${i.a}`)),a.startsWith("on-")||s.push(`--${t}theme-${a}-overlay-multiplier: ${Vr(o)>.18?n:r}`)}for(const[a,o]of Object.entries(e.variables)){const i=typeof o=="string"&&o.startsWith("#")?z(o):void 0,u=i?`${i.r}, ${i.g}, ${i.b}`:void 0;s.push(`--${t}${a}: ${u??o}`)}return s}function cs(e,t,n){const r={};if(n)for(const s of["lighten","darken"]){const a=s==="lighten"?Rr:Nr;for(const o of Xt(n[s],1))r[`${e}-${s}-${o}`]=_r(a(z(t),o))}return r}function us(e,t){if(!t)return{};let n={};for(const r of t.colors){const s=e[r];s&&(n={...n,...cs(r,s,t)})}return n}function ls(e,t){const n={};for(const r of Object.keys(e)){if(r.startsWith("on-")||e[`on-${r}`])continue;const s=`on-${r}`,a=z(e[r]);n[s]=Hr(a)?t["theme-on-dark"]:t["theme-on-light"]}return n}function fs(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function ds(e,t,n){const r=ms(e,t);r&&(r.innerHTML=n)}function ms(e,t){if(!P)return null;let n=document.getElementById(e);return n||(n=document.createElement("style"),n.id=e,n.type="text/css",t&&n.setAttribute("nonce",t),document.head.appendChild(n)),n}function hs(e){const t=is(e),n=R(t.defaultTheme),r=w(t.themes),s=R("light"),a=b({get(){return n.value==="system"?s.value:n.value},set(d){n.value=d}}),o=b(()=>{const d={};for(const[h,y]of Object.entries(r.value)){const x=y.dark||h==="dark"?r.value.dark:r.value.light,I=M(x,y),p={...I.colors,...us(I.colors,t.variations)};d[h]={...I,colors:{...p,...ls(p,I.variables)}}}return d}),i=C(()=>o.value[a.value]),u=C(()=>n.value==="system"),c=b(()=>{const d=[],h=t.scoped?t.prefix:"";d.push(`@layer theme-base {
|
|
7
|
-
`),i.value?.dark&&J(d,":root",["color-scheme: dark"],t.scope),J(d,":root",It(i.value,t.prefix),t.scope);for(const[y,x]of Object.entries(o.value))J(d,`.${t.prefix}theme--${y}`,[`color-scheme: ${x.dark?"dark":"normal"}`,...It(x,t.prefix)],t.scope);if(d.push(`}
|
|
8
|
-
`),t.utilities){const y=[],x=[],I=new Set(Object.values(o.value).flatMap(p=>Object.keys(p.colors)));for(const p of I)p.startsWith("on-")?J(x,`.${p}`,[`color: rgb(var(--${t.prefix}theme-${p}))`],t.scope):(J(y,`.${h}bg-${p}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${p}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${p}))`,`color: rgb(var(--${t.prefix}theme-on-${p}))`],t.scope),J(x,`.${h}text-${p}`,[`color: rgb(var(--${t.prefix}theme-${p}))`],t.scope),J(x,`.${h}border-${p}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${p})`],t.scope));d.push(`@layer theme-background {
|
|
9
|
-
`,...y.map(p=>` ${p}`),`}
|
|
10
|
-
`,`@layer theme-foreground {
|
|
11
|
-
`,...x.map(p=>` ${p}`),`}
|
|
12
|
-
`)}return`@layer vuetify-utilities {
|
|
13
|
-
`+d.map(y=>` ${y}`).join("")+`
|
|
14
|
-
}`}),l=C(()=>t.isDisabled?void 0:`${t.prefix}theme--${a.value}`),f=C(()=>Object.keys(o.value));if(Zt){let h=function(){s.value=d.matches?"dark":"light"};const d=window.matchMedia("(prefers-color-scheme: dark)");h(),d.addEventListener("change",h,{passive:!0}),$n()&&Qe(()=>{d.removeEventListener("change",h)})}function m(d){if(t.isDisabled)return;const h=d._context.provides.usehead;if(h){let y=function(){return{style:[{textContent:c.value,id:t.stylesheetId,nonce:t.cspNonce||!1,tagPosition:"bodyOpen"}]}};if(h.push){const x=h.push(y);P&&ne(c,()=>{x.patch(y)})}else P?(h.addHeadObjs(C(y)),$e(()=>h.updateDOM())):h.addHeadObjs(y())}else{let y=function(){ds(t.stylesheetId,t.cspNonce,c.value)};P?ne(c,y,{immediate:!0}):y()}}function v(d){d!=="system"&&!f.value.includes(d)||(a.value=d)}function g(d=f.value){const h=d.indexOf(a.value),y=h===-1?0:(h+1)%d.length;v(d[y])}function S(d=["light","dark"]){g(d)}const T=new Proxy(a,{get(d,h){return Reflect.get(d,h)},set(d,h,y){return h==="value"&&ir(`theme.global.name.value = ${y}`,`theme.change('${y}')`),Reflect.set(d,h,y)}});return{install:m,change:v,cycle:g,toggle:S,isDisabled:t.isDisabled,isSystem:u,name:a,themes:r,current:i,computedThemes:o,prefix:t.prefix,themeClasses:l,styles:c,global:{name:T,current:i}}}function ps(e){K("provideTheme");const t=N(ye,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=C(()=>e.theme??t.name.value),r=C(()=>t.themes.value[n.value]),s=C(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`),a={...t,name:n,current:r,themeClasses:s};return ue(ye,a),a}function sa(){K("useTheme");const e=N(ye,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}const ys=V({...Kt(),...Jt(Kr(),["fullHeight"]),...as()},"VApp"),vs=rt()({name:"VApp",props:ys(),setup(e,{slots:t}){const n=ps(e),{layoutClasses:r,getLayoutItem:s,items:a,layoutRef:o}=Xr({...e,fullHeight:!0}),{rtlClasses:i}=fn();return on(()=>L("div",{ref:o,class:ce(["v-application",n.themeClasses.value,r.value,i.value,e.class]),style:Ze([e.style])},[L("div",{class:"v-application__wrap"},[t.default?.()])])),{getLayoutItem:s,items:a,theme:n}}}),gs=V({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function bs(e){return{dimensionStyles:b(()=>{const n={},r=Y(e.height),s=Y(e.maxHeight),a=Y(e.maxWidth),o=Y(e.minHeight),i=Y(e.minWidth),u=Y(e.width);return r!=null&&(n.height=r),s!=null&&(n.maxHeight=s),a!=null&&(n.maxWidth=a),o!=null&&(n.minHeight=o),i!=null&&(n.minWidth=i),u!=null&&(n.width=u),n})}}function ws(){const e=R(!1);return Xe(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:C(()=>e.value?void 0:{transition:"none !important"}),isBooted:jt(e)}}const Ss=V({tag:{type:[String,Object,Function],default:"div"}},"tag"),Ds=V({scrollable:Boolean,...Kt(),...gs(),...Ss({tag:"main"})},"VMain"),ks=rt()({name:"VMain",props:Ds(),setup(e,{slots:t}){const{dimensionStyles:n}=bs(e),{mainStyles:r}=Zr(),{ssrBootStyles:s}=ws();return on(()=>O(e.tag,{class:ce(["v-main",{"v-main--scrollable":e.scrollable},e.class]),style:Ze([r.value,s.value,n.value,e.style])},{default:()=>[e.scrollable?L("div",{class:"v-main__scroller"},[t.default?.()]):t.default?.()]})),{}}}),Es={key:1,class:"app"},xs=be({__name:"App",setup(e){const t=ar();ue("historyStore",t);const n=Bt(),r=b(()=>Je(n.path));return Xe(()=>t.init()),Ln(()=>t.destroy()),(s,a)=>{const o=Wt("router-view");return r.value?(G(),qe(vs,{key:0},{default:he(()=>[O(ft),O(ks,null,{default:he(()=>[O(o)]),_:1})]),_:1})):(G(),ae("div",Es,[O(ft),O(o),O(nr)]))}}}),Cs=Le(xs,[["__scopeId","data-v-f9b76585"]]),Ts=[String,Function,Object,Array],Ge=Symbol.for("vuetify:icons"),Re=V({icon:{type:Ts},tag:{type:[String,Object,Function],required:!0}},"icon"),Ot=rt()({name:"VComponentIcon",props:Re(),setup(e,{slots:t}){return()=>{const n=e.icon;return O(e.tag,null,{default:()=>[e.icon?O(n,null,null):t.default?.()]})}}}),dn=we({name:"VSvgIcon",inheritAttrs:!1,props:Re(),setup(e,{attrs:t}){return()=>O(e.tag,Rn(t,{style:null}),{default:()=>[L("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(n=>Array.isArray(n)?L("path",{d:n[0],"fill-opacity":n[1]},null):L("path",{d:n},null)):L("path",{d:e.icon},null)])]})}});we({name:"VLigatureIcon",props:Re(),setup(e){return()=>O(e.tag,null,{default:()=>[e.icon]})}});const mn=we({name:"VClassIcon",props:Re(),setup(e){return()=>O(e.tag,{class:ce(e.icon)},null)}}),oa=e=>{const t=N(Ge);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:b(()=>{const r=Nn(e);if(!r)return{component:Ot};let s=r;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=t.aliases?.[s.slice(1)])),Array.isArray(s))return{component:dn,icon:s};if(typeof s!="string")return{component:Ot,icon:s};const a=Object.keys(t.sets).find(u=>typeof s=="string"&&s.startsWith(`${u}:`)),o=a?s.slice(a.length+1):s;return{component:t.sets[a??t.defaultSet].component,icon:o}})}},As={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off",search:"mdi-magnify"},Ms={component:e=>Vn(mn,{...e,class:"mdi"})};function Is(){return{svg:{component:dn},class:{component:mn}}}function Os(e){const t=Is(),n=e?.defaultSet??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=Ms),M({defaultSet:n,sets:t,aliases:{...As,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}function Se(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
15
|
-
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
|
|
16
|
-
VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
|
|
17
|
-
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
|
|
18
|
-
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(t):return{firstDay:6,firstWeekSize:1};case t==="MV":return{firstDay:5,firstWeekSize:1};case t==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function Ps(e,t,n){const r=[];let s=[];const a=hn(e),o=pn(e),i=n??Se(t)?.firstDay??0,u=(a.getDay()-i+7)%7,c=(o.getDay()-i+7)%7;for(let l=0;l<u;l++){const f=new Date(a);f.setDate(f.getDate()-(u-l)),s.push(f)}for(let l=1;l<=o.getDate();l++){const f=new Date(e.getFullYear(),e.getMonth(),l);s.push(f),s.length===7&&(r.push(s),s=[])}for(let l=1;l<7-c;l++){const f=new Date(o);f.setDate(f.getDate()+l),s.push(f)}return s.length>0&&r.push(s),r}function me(e,t,n){let r=(n??Se(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(r)||(r=0);const s=new Date(e);for(;s.getDay()!==r;)s.setDate(s.getDate()-1);return s}function Fs(e,t){const n=new Date(e),r=((Se(t)?.firstDay??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function hn(e){return new Date(e.getFullYear(),e.getMonth(),1)}function pn(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function _s(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const $s=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function yn(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if($s.test(e))return _s(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Pt=new Date(2e3,0,2);function Ls(e,t,n){const r=t??Se(e)?.firstDay??0;return Xt(7).map(s=>{const a=new Date(Pt);return a.setDate(Pt.getDate()+r+s),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(a)})}function Rs(e,t,n,r){const s=yn(e)??new Date,a=r?.[t];if(typeof a=="function")return a(s,t,n);let o={};switch(t){case"fullDate":o={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const i=s.getDate(),u=new Intl.DateTimeFormat(n,{month:"long"}).format(s);return`${i} ${u}`;case"normalDateWithWeekday":o={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":o={month:"short",day:"numeric"};break;case"year":o={year:"numeric"};break;case"month":o={month:"long"};break;case"monthShort":o={month:"short"};break;case"monthAndYear":o={month:"long",year:"numeric"};break;case"monthAndDate":o={month:"long",day:"numeric"};break;case"weekday":o={weekday:"long"};break;case"weekdayShort":o={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(s.getDate());case"hours12h":o={hour:"numeric",hour12:!0};break;case"hours24h":o={hour:"numeric",hour12:!1};break;case"minutes":o={minute:"numeric"};break;case"seconds":o={second:"numeric"};break;case"fullTime":o={hour:"numeric",minute:"numeric"};break;case"fullTime12h":o={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":o={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":o={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(n,o).format(s).replace(/, /g," ");case"keyboardDateTime12h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(n,o).format(s).replace(/, /g," ");case"keyboardDateTime24h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(n,o).format(s).replace(/, /g," ");default:o=a??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,o).format(s)}function Ns(e,t){const n=e.toJsDate(t),r=n.getFullYear(),s=pt(String(n.getMonth()+1),2,"0"),a=pt(String(n.getDate()),2,"0");return`${r}-${s}-${a}`}function Vs(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function Hs(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function Ws(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function te(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function Bs(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function Ys(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function ve(e){return e.getFullYear()}function js(e){return e.getMonth()}function Us(e,t,n,r){const s=Se(t),a=n??s?.firstDay??0,o=s?.firstWeekSize??1;return r!==void 0?zs(e,t,a,r):Gs(e,t,a,o)}function zs(e,t,n,r){const s=(7+r-n)%7,a=me(e,t,n),o=te(a,6);function i(m){return(7+new Date(m,0,1).getDay()-n)%7}let u=ve(a);u<ve(o)&&i(u+1)<=s&&u++;const c=new Date(u,0,1),l=i(u),f=l<=s?te(c,-l):te(c,7-l);return 1+Fe(ot(a),ge(f),"weeks")}function Gs(e,t,n,r){const s=me(e,t,n),a=te(me(e,t,n),6);function o(f){const m=new Date(f,0,1);return 7-Fe(m,me(m,t,n),"days")}let i=ve(s);i<ve(a)&&o(i+1)>=r&&i++;const u=new Date(i,0,1),c=o(i),l=c>=r?te(u,c-7):te(u,c);return 1+Fe(ot(s),ge(l),"weeks")}function Ks(e){return e.getDate()}function Zs(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function qs(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function Xs(e){return e.getHours()}function Qs(e){return e.getMinutes()}function Js(e){return new Date(e.getFullYear(),0,1)}function eo(e){return new Date(e.getFullYear(),11,31)}function to(e,t){return Pe(e,t[0])||Pe(e,t[1])||Oe(e,t[0])&&so(e,t[1])}function no(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Oe(e,t){return e.getTime()>t.getTime()}function ro(e,t){return Oe(ge(e),ge(t))}function so(e,t){return e.getTime()<t.getTime()}function Pe(e,t){return e.getTime()===t.getTime()}function oo(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function ao(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function io(e,t){return e.getFullYear()===t.getFullYear()}function Fe(e,t,n){const r=new Date(e),s=new Date(t);switch(n){case"years":return r.getFullYear()-s.getFullYear();case"quarters":return Math.floor((r.getMonth()-s.getMonth()+(r.getFullYear()-s.getFullYear())*12)/4);case"months":return r.getMonth()-s.getMonth()+(r.getFullYear()-s.getFullYear())*12;case"weeks":return Math.floor((r.getTime()-s.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((r.getTime()-s.getTime())/(1e3*60*60*24));case"hours":return Math.floor((r.getTime()-s.getTime())/(1e3*60*60));case"minutes":return Math.floor((r.getTime()-s.getTime())/(1e3*60));case"seconds":return Math.floor((r.getTime()-s.getTime())/1e3);default:return r.getTime()-s.getTime()}}function co(e,t){const n=new Date(e);return n.setHours(t),n}function uo(e,t){const n=new Date(e);return n.setMinutes(t),n}function lo(e,t){const n=new Date(e);return n.setMonth(t),n}function fo(e,t){const n=new Date(e);return n.setDate(t),n}function mo(e,t){const n=new Date(e);return n.setFullYear(t),n}function ge(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function ot(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class ho{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return yn(t)}toJsDate(t){return t}toISO(t){return Ns(this,t)}parseISO(t){return Vs(t)}addMinutes(t,n){return Hs(t,n)}addHours(t,n){return Ws(t,n)}addDays(t,n){return te(t,n)}addWeeks(t,n){return Bs(t,n)}addMonths(t,n){return Ys(t,n)}getWeekArray(t,n){const r=n!==void 0?Number(n):void 0;return Ps(t,this.locale,r)}startOfWeek(t,n){const r=n!==void 0?Number(n):void 0;return me(t,this.locale,r)}endOfWeek(t){return Fs(t,this.locale)}startOfMonth(t){return hn(t)}endOfMonth(t){return pn(t)}format(t,n){return Rs(t,n,this.locale,this.formats)}isEqual(t,n){return Pe(t,n)}isValid(t){return no(t)}isWithinRange(t,n){return to(t,n)}isAfter(t,n){return Oe(t,n)}isAfterDay(t,n){return ro(t,n)}isBefore(t,n){return!Oe(t,n)&&!Pe(t,n)}isSameDay(t,n){return oo(t,n)}isSameMonth(t,n){return ao(t,n)}isSameYear(t,n){return io(t,n)}setMinutes(t,n){return uo(t,n)}setHours(t,n){return co(t,n)}setMonth(t,n){return lo(t,n)}setDate(t,n){return fo(t,n)}setYear(t,n){return mo(t,n)}getDiff(t,n,r){return Fe(t,n,r)}getWeekdays(t,n){const r=t!==void 0?Number(t):void 0;return Ls(this.locale,r,n)}getYear(t){return ve(t)}getMonth(t){return js(t)}getWeek(t,n,r){const s=n!==void 0?Number(n):void 0,a=r!==void 0?Number(r):void 0;return Us(t,this.locale,s,a)}getDate(t){return Ks(t)}getNextMonth(t){return Zs(t)}getPreviousMonth(t){return qs(t)}getHours(t){return Xs(t)}getMinutes(t){return Qs(t)}startOfDay(t){return ge(t)}endOfDay(t){return ot(t)}startOfYear(t){return Js(t)}endOfYear(t){return eo(t)}}const po=Symbol.for("vuetify:date-options"),Ft=Symbol.for("vuetify:date-adapter");function yo(e,t){const n=M({adapter:ho,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:vo(n,t)}}function vo(e,t){const n=U(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return ne(t.current,r=>{n.locale=e.locale[r]??r??n.locale}),n}const Ke=Symbol.for("vuetify:display"),_t={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:840,lg:1145,xl:1545,xxl:2138}},go=(e=_t)=>M(_t,e);function $t(e){return P&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Lt(e){return P&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Rt(e){const t=P&&!e?window.navigator.userAgent:"ssr";function n(g){return!!t.match(g)}const r=n(/android/i),s=n(/iphone|ipad|ipod/i),a=n(/cordova/i),o=n(/electron/i),i=n(/chrome/i),u=n(/edge/i),c=n(/firefox/i),l=n(/opera/i),f=n(/win/i),m=n(/mac/i),v=n(/linux/i);return{android:r,ios:s,cordova:a,electron:o,chrome:i,edge:u,firefox:c,opera:l,win:f,mac:m,linux:v,touch:cr,ssr:t==="ssr"}}function bo(e,t){const{thresholds:n,mobileBreakpoint:r}=go(e),s=R(Lt(t)),a=R(Rt(t)),o=U({}),i=R($t(t));function u(){s.value=Lt(),i.value=$t()}function c(){u(),a.value=Rt()}return $e(()=>{const l=i.value<n.sm,f=i.value<n.md&&!l,m=i.value<n.lg&&!(f||l),v=i.value<n.xl&&!(m||f||l),g=i.value<n.xxl&&!(v||m||f||l),S=i.value>=n.xxl,T=l?"xs":f?"sm":m?"md":v?"lg":g?"xl":"xxl",d=typeof r=="number"?r:n[r],h=i.value<d;o.xs=l,o.sm=f,o.md=m,o.lg=v,o.xl=g,o.xxl=S,o.smAndUp=!l,o.mdAndUp=!(l||f),o.lgAndUp=!(l||f||m),o.xlAndUp=!(l||f||m||v),o.smAndDown=!(m||v||g||S),o.mdAndDown=!(v||g||S),o.lgAndDown=!(g||S),o.xlAndDown=!S,o.name=T,o.height=s.value,o.width=i.value,o.mobile=h,o.mobileBreakpoint=r,o.platform=a.value,o.thresholds=n}),P&&(window.addEventListener("resize",u,{passive:!0}),Qe(()=>{window.removeEventListener("resize",u)},!0)),{...Hn(o),update:c,ssr:!!t}}const aa=V({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function ia(e={mobile:null},t=Wr()){const n=N(Ke);if(!n)throw new Error("Could not find Vuetify display injection");const r=b(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?n.width.value<e.mobileBreakpoint:e.mobileBreakpoint?n.width.value<n.thresholds.value[e.mobileBreakpoint]:e.mobile===null?n.mobile.value:!1),s=C(()=>t?{[`${t}--mobile`]:r.value}:{});return{...n,displayClasses:s,mobile:r}}const vn=Symbol.for("vuetify:goto");function gn(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:zr}}function wo(e){return at(e)??(document.scrollingElement||document.body)}function at(e){return typeof e=="string"?document.querySelector(e):Qt(e)}function je(e,t,n){if(typeof e=="number")return t&&n?-e:e;let r=at(e),s=0;for(;r;)s+=t?r.offsetLeft:r.offsetTop,r=r.offsetParent;return s}function So(e,t){return{rtl:t.isRtl,options:M(gn(),e)}}async function Nt(e,t,n,r){const s=n?"scrollLeft":"scrollTop",a=M(r?.options??gn(),t),o=r?.rtl.value,i=(typeof e=="number"?e:at(e))??0,u=a.container==="parent"&&i instanceof HTMLElement?i.parentElement:wo(a.container),c=ur()?a.patterns.instant:typeof a.easing=="function"?a.easing:a.patterns[a.easing];if(!c)throw new TypeError(`Easing function "${a.easing}" not found.`);let l;if(typeof i=="number")l=je(i,n,o);else if(l=je(i,n,o)-je(u,n,o),a.layout){const g=window.getComputedStyle(i).getPropertyValue("--v-layout-top");g&&(l-=parseInt(g,10))}l+=a.offset,l=Do(u,l,!!o,!!n);const f=u[s]??0;if(l===f)return Promise.resolve(l);const m=performance.now();return new Promise(v=>requestAnimationFrame(function g(S){const d=(S-m)/a.duration,h=Math.floor(f+(l-f)*c(et(d,0,1)));if(u[s]=h,d>=1&&Math.abs(h-u[s])<10)return v(l);if(d>2)return v(u[s]);requestAnimationFrame(g)}))}function ca(e={}){const t=N(vn),{isRtl:n}=fn();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const r={...t,rtl:C(()=>t.rtl.value||n.value)};async function s(a,o){return Nt(a,M(e,o),!1,r)}return s.horizontal=async(a,o)=>Nt(a,M(e,o),!0,r),s}function Do(e,t,n,r){const{scrollWidth:s,scrollHeight:a}=e,[o,i]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let u,c;return r?n?(u=-(s-o),c=0):(u=0,c=s-o):(u=0,c=a+-i),et(t,u,c)}function bn(e={}){const{blueprint:t,...n}=e,r=M(t,n),{aliases:s={},components:a={},directives:o={}}=r,i=Ue();return i.run(()=>{const u=Yr(r.defaults),c=bo(r.display,r.ssr),l=hs(r.theme),f=Os(r.icons),m=rs(r.locale),v=yo(r.date,m),g=So(r.goTo,m);function S(d){for(const y in o)d.directive(y,o[y]);for(const y in a)d.component(y,a[y]);for(const y in s)d.component(y,we({...s[y],name:y,aliasName:s[y].name}));const h=Ue();if(h.run(()=>{l.install(d)}),d.onUnmount(()=>h.stop()),d.provide(ie,u),d.provide(Ke,c),d.provide(ye,l),d.provide(Ge,f),d.provide(Ie,m),d.provide(po,v.options),d.provide(Ft,v.instance),d.provide(vn,g),P&&r.ssr)if(d.$nuxt)d.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:y}=d;d.mount=(...x)=>{const I=y(...x);return Wn(()=>c.update()),d.mount=y,I}}d.mixin({computed:{$vuetify(){return U({defaults:oe.call(this,ie),display:oe.call(this,Ke),theme:oe.call(this,ye),icons:oe.call(this,Ge),locale:oe.call(this,Ie),date:oe.call(this,Ft)})}}})}function T(){i.stop()}return{install:S,unmount:T,defaults:u,display:c,theme:l,icons:f,locale:m,date:v,goTo:g}})}const ko="4.0.4";bn.version=ko;function oe(e){const t=this.$,n=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}const Eo=bn({theme:{defaultTheme:"dark",themes:{dark:{dark:!0,colors:{background:"#0d1117",surface:"#161b22","surface-variant":"#21262d",primary:"#58a6ff",secondary:"#8b949e",success:"#3fb950",error:"#f85149",warning:"#d29922",info:"#58a6ff"}},light:{dark:!1,colors:{background:"#ffffff",surface:"#f6f8fa","surface-variant":"#eaeef2",primary:"#0969da",secondary:"#57606a",success:"#1a7f37",error:"#cf222e",warning:"#9a6700",info:"#0969da"}}}},defaults:{VCard:{variant:"outlined",density:"comfortable"},VChip:{size:"small",variant:"tonal"},VTextField:{variant:"outlined",density:"compact",hideDetails:!0},VSelect:{variant:"outlined",density:"compact",hideDetails:!0},VBtn:{variant:"text",size:"small"}}}),xo="modulepreload",Co=function(e){return"/ui/"+e},Vt={},B=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(l=>Promise.resolve(l).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=o?.nonce||o?.getAttribute("nonce");s=u(n.map(c=>{if(c=Co(c),c in Vt)return;Vt[c]=!0;const l=c.endsWith(".css"),f=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const m=document.createElement("link");if(m.rel=l?"stylesheet":xo,l||(m.as="script"),m.crossOrigin="",m.href=c,i&&m.setAttribute("nonce",i),document.head.appendChild(m),l)return new Promise((v,g)=>{m.addEventListener("load",v),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(o){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o}return s.then(o=>{for(const i of o||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})},To=Bn({history:Yn("/ui/"),routes:[{path:"/",redirect:"/v/dashboard"},{path:"/history",name:"history",component:()=>B(()=>import("./HistoryPage-rhEb_UZG.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))},{path:"/logs",name:"logs",component:()=>B(()=>import("./LogsPage-CNXQuqMj.js"),__vite__mapDeps([10,7,11,2,12]))},{path:"/dashboard",name:"dashboard",component:()=>B(()=>import("./DashboardPage-CgXivoWS.js"),__vite__mapDeps([13,14,2,15,7,16,17]))},{path:"/models",name:"models",component:()=>B(()=>import("./ModelsPage-Bpi7Y9GS.js"),__vite__mapDeps([18,2,3,4,5,19]))},{path:"/usage",name:"usage",component:()=>B(()=>import("./UsagePage-CZfgTYCP.js"),__vite__mapDeps([20,2,14,15,7,6,16,21]))},{path:"/v/history",name:"v-history",component:()=>B(()=>import("./VHistoryPage-Dj0qUmWz.js"),__vite__mapDeps([22,1,2,3,4,5,6,7,8,23,24,25,26,27,28,29,30,31,32,33]))},{path:"/v/logs",name:"v-logs",component:()=>B(()=>import("./VLogsPage-BOA_17HS.js"),__vite__mapDeps([34,7,11,2,24,25,23,26,35,36,37]))},{path:"/v/dashboard",name:"v-dashboard",component:()=>B(()=>import("./VDashboardPage-DXtj4agW.js"),__vite__mapDeps([38,28,2,24,25,29,35,23,26,36,30,31,7,16,39]))},{path:"/v/models",name:"v-models",component:()=>B(()=>import("./VModelsPage-D-IbiiwR.js"),__vite__mapDeps([40,2,27,23,24,25,26,28,29,30,31,32,35,36,41]))},{path:"/v/usage",name:"v-usage",component:()=>B(()=>import("./VUsagePage-B8WkBKET.js"),__vite__mapDeps([42,7,6,2,16,24,25,28,29,43]))}]}),it=jn(Cs);it.use(Eo);it.use(To);it.mount("#app");export{Io as $,ea as A,Qo as B,Lo as C,Jo as D,jo as E,P as F,hr as G,K as H,Ts as I,Ho as J,Fo as K,Yo as L,_o as M,ra as N,Bo as O,ur as P,lr as Q,Ro as R,zn as S,gr as T,pr as U,yr as V,sr as W,Uo as X,Gr as Y,$o as Z,Le as _,fe as a,zo as a0,Ko as a1,vr as a2,we as a3,ir as a4,Go as a5,de as a6,No as a7,sa as a8,oa as a9,mr as aa,Wo as ab,Oo as ac,Zo as ad,mt as ae,Mo as af,ca as ag,Pr as ah,qo as ai,z as aj,Hr as ak,et as b,Y as c,fn as d,ia as e,Jr as f,rt as g,ws as h,na as i,Xo as j,on as k,V as l,as as m,Ss as n,Jt as o,ps as p,ta as q,aa as r,Kt as s,Ut as t,Qr as u,bs as v,gs as w,Po as x,Vo as y,Wr as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{m as t}from"./vue-Bmo88J5t.js";function e(){const r=t("historyStore");if(!r)throw new Error("historyStore injection missing");return r}export{e as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r,W as c}from"./index-cupXJxSz.js";import{I as f,Q as v,r as o}from"./vue-Bmo88J5t.js";const p=200;function h(){const t=o([]),a=o(!0),l=o(!1);let e=null;function s(n){t.value=[n,...t.value].slice(0,p)}function u(n){t.value=t.value.map(i=>i.id===n.id?n:i)}async function d(){a.value=!0;try{const n=await r.fetchEntries({limit:100});t.value=n.entries}catch{}finally{a.value=!1}}return f(()=>{d(),e=new c({topics:["history"],onEntryAdded:s,onEntryUpdated:u,onHistoryCleared:()=>{t.value=[]},onStatusChange:n=>{l.value=n}}),e.connect()}),v(()=>{e?.disconnect(),e=null}),{entries:t,loading:a,wsConnected:l}}export{h as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as i,Q as c,r}from"./vue-Bmo88J5t.js";function v(u,s){const a=r(null),o=r(!0),l=r(null);let e=null;async function t(){try{const n=await u();a.value=n,l.value=null}catch(n){l.value=n instanceof Error?n.message:"Failed to fetch"}finally{o.value=!1}}return i(()=>{t(),e=setInterval(()=>{t()},s)}),c(()=>{e&&(clearInterval(e),e=null)}),{data:a,loading:o,error:l,refresh:t}}export{v as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function Hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Y={},Ft=[],Ze=()=>{},li=()=>!1,Hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bn=e=>e.startsWith("onUpdate:"),ae=Object.assign,Bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qo=Object.prototype.hasOwnProperty,te=(e,t)=>Qo.call(e,t),H=Array.isArray,$t=e=>gn(e)==="[object Map]",ci=e=>gn(e)==="[object Set]",cr=e=>gn(e)==="[object Date]",U=e=>typeof e=="function",ce=e=>typeof e=="string",Le=e=>typeof e=="symbol",Q=e=>e!==null&&typeof e=="object",fi=e=>(Q(e)||U(e))&&U(e.then)&&U(e.catch),ui=Object.prototype.toString,gn=e=>ui.call(e),Xo=e=>gn(e).slice(8,-1),ai=e=>gn(e)==="[object Object]",jn=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=Hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Un=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Zo=/-\w/g,Se=Un(e=>e.replace(Zo,t=>t.slice(1).toUpperCase())),el=/\B([A-Z])/g,bt=Un(e=>e.replace(el,"-$1").toLowerCase()),kn=Un(e=>e.charAt(0).toUpperCase()+e.slice(1)),ss=Un(e=>e?`on${kn(e)}`:""),be=(e,t)=>!Object.is(e,t),rs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},hi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},tl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nl=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let fr;const Gn=()=>fr||(fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function js(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ce(s)?ol(s):js(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ce(e)||Q(e))return e}const sl=/;(?![^(]*\))/g,rl=/:([^]+)/,il=/\/\*[^]*?\*\//g;function ol(e){const t={};return e.replace(il,"").split(sl).forEach(n=>{if(n){const s=n.split(rl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Us(e){let t="";if(ce(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=Us(e[n]);s&&(t+=s+" ")}else if(Q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ll="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cl=Hs(ll);function di(e){return!!e||e===""}function fl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ks(e[s],t[s]);return n}function ks(e,t){if(e===t)return!0;let n=cr(e),s=cr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Le(e),s=Le(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?fl(e,t):!1;if(n=Q(e),s=Q(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!ks(e[o],t[o]))return!1}}return String(e)===String(t)}const pi=e=>!!(e&&e.__v_isRef===!0),ul=e=>ce(e)?e:e==null?"":H(e)||Q(e)&&(e.toString===ui||!U(e.toString))?pi(e)?ul(e.value):JSON.stringify(e,gi,2):String(e),gi=(e,t)=>pi(t)?gi(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[is(s,i)+" =>"]=r,n),{})}:ci(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>is(n))}:Le(t)?is(t):Q(t)&&!H(t)&&!ai(t)?String(t):t,is=(e,t="")=>{var n;return Le(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ve;class mi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){this._on>0&&--this._on===0&&(ve=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function $u(e){return new mi(e)}function al(){return ve}function Vu(e,t=!1){ve&&ve.cleanups.push(e)}let oe;const os=new WeakSet;class _i{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)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,os.has(this)&&(os.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||vi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ur(this),bi(this);const t=oe,n=He;oe=this,He=!0;try{return this.fn()}finally{Ei(this),oe=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ws(t);this.deps=this.depsTail=void 0,ur(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?os.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bs(this)&&this.run()}get dirty(){return bs(this)}}let yi=0,Zt,en;function vi(e,t=!1){if(e.flags|=8,t){e.next=en,en=e;return}e.next=Zt,Zt=e}function Gs(){yi++}function Ks(){if(--yi>0)return;if(en){let t=en;for(en=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Zt;){let t=Zt;for(Zt=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 bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ei(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ws(s),hl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function bs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ai(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ai(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ln)||(e.globalVersion=ln,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!bs(e))))return;e.flags|=2;const t=e.dep,n=oe,s=He;oe=e,He=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{oe=n,He=s,Ei(e),e.flags&=-3}}function Ws(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 i=n.computed.deps;i;i=i.nextDep)Ws(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const Ci=[];function ct(){Ci.push(He),He=!1}function ft(){const e=Ci.pop();He=e===void 0?!0:e}function ur(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let ln=0;class dl{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 Kn{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(!oe||!He||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new dl(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,Si(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=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=s)}return n}trigger(t){this.version++,ln++,this.notify(t)}notify(t){Gs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ks()}}}function Si(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)Si(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tn=new WeakMap,Tt=Symbol(""),Es=Symbol(""),cn=Symbol("");function Ee(e,t,n){if(He&&oe){let s=Tn.get(e);s||Tn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Kn),r.map=s,r.key=n),r.track()}}function ot(e,t,n,s,r,i){const o=Tn.get(e);if(!o){ln++;return}const l=c=>{c&&c.trigger()};if(Gs(),t==="clear")o.forEach(l);else{const c=H(e),u=c&&jn(n);if(c&&n==="length"){const f=Number(s);o.forEach((h,p)=>{(p==="length"||p===cn||!Le(p)&&p>=f)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(cn)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Tt)),$t(e)&&l(o.get(Es)));break;case"delete":c||(l(o.get(Tt)),$t(e)&&l(o.get(Es)));break;case"set":$t(e)&&l(o.get(Tt));break}}Ks()}function pl(e,t){const n=Tn.get(e);return n&&n.get(t)}function Mt(e){const t=z(e);return t===e?t:(Ee(t,"iterate",cn),De(e)?t:t.map(Be))}function Wn(e){return Ee(e=z(e),"iterate",cn),e}function Qe(e,t){return ut(e)?jt(Ot(e)?Be(t):t):Be(t)}const gl={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,e=>Qe(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>H(t)?Mt(t):t))},entries(){return ls(this,"entries",e=>(e[1]=Qe(this,e[1]),e))},every(e,t){return nt(this,"every",e,t,void 0,arguments)},filter(e,t){return nt(this,"filter",e,t,n=>n.map(s=>Qe(this,s)),arguments)},find(e,t){return nt(this,"find",e,t,n=>Qe(this,n),arguments)},findIndex(e,t){return nt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return nt(this,"findLast",e,t,n=>Qe(this,n),arguments)},findLastIndex(e,t){return nt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return nt(this,"forEach",e,t,void 0,arguments)},includes(...e){return cs(this,"includes",e)},indexOf(...e){return cs(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return cs(this,"lastIndexOf",e)},map(e,t){return nt(this,"map",e,t,void 0,arguments)},pop(){return Wt(this,"pop")},push(...e){return Wt(this,"push",e)},reduce(e,...t){return ar(this,"reduce",e,t)},reduceRight(e,...t){return ar(this,"reduceRight",e,t)},shift(){return Wt(this,"shift")},some(e,t){return nt(this,"some",e,t,void 0,arguments)},splice(...e){return Wt(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return Wt(this,"unshift",e)},values(){return ls(this,"values",e=>Qe(this,e))}};function ls(e,t,n){const s=Wn(e),r=s[t]();return s!==e&&!De(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const ml=Array.prototype;function nt(e,t,n,s,r,i){const o=Wn(e),l=o!==e&&!De(e),c=o[t];if(c!==ml[t]){const h=c.apply(e,i);return l?Be(h):h}let u=n;o!==e&&(l?u=function(h,p){return n.call(this,Qe(e,h),p,e)}:n.length>2&&(u=function(h,p){return n.call(this,h,p,e)}));const f=c.call(o,u,s);return l&&r?r(f):f}function ar(e,t,n,s){const r=Wn(e),i=r!==e&&!De(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(u,f,h){return l&&(l=!1,u=Qe(e,u)),n.call(this,u,Qe(e,f),h,e)}):n.length>3&&(o=function(u,f,h){return n.call(this,u,f,h,e)}));const c=r[t](o,...s);return l?Qe(e,c):c}function cs(e,t,n){const s=z(e);Ee(s,"iterate",cn);const r=s[t](...n);return(r===-1||r===!1)&&zn(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function Wt(e,t,n=[]){ct(),Gs();const s=z(e)[t].apply(e,n);return Ks(),ft(),s}const _l=Hs("__proto__,__v_isRef,__isVue"),Ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function yl(e){Le(e)||(e=String(e));const t=z(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class xi{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,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Tl:Pi:i?Oi:Ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!r){let c;if(o&&(c=gl[n]))return c;if(n==="hasOwnProperty")return yl}const l=Reflect.get(t,n,pe(t)?t:s);if((Le(n)?Ri.has(n):_l(n))||(r||Ee(t,"get",n),i))return l;if(pe(l)){const c=o&&jn(n)?l:l.value;return r&&Q(c)?Cs(c):c}return Q(l)?r?Cs(l):qn(l):l}}class wi extends xi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=H(t)&&jn(n);if(!this._isShallow){const u=ut(i);if(!De(s)&&!ut(s)&&(i=z(i),s=z(s)),!o&&pe(i)&&!pe(s))return u||(i.value=s),!0}const l=o?Number(n)<t.length:te(t,n),c=Reflect.set(t,n,s,pe(t)?t:r);return t===z(r)&&(l?be(s,i)&&ot(t,"set",n,s):ot(t,"add",n,s)),c}deleteProperty(t,n){const s=te(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ot(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Le(n)||!Ri.has(n))&&Ee(t,"has",n),s}ownKeys(t){return Ee(t,"iterate",H(t)?"length":Tt),Reflect.ownKeys(t)}}class vl extends xi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const bl=new wi,El=new vl,Al=new wi(!0);const As=e=>e,vn=e=>Reflect.getPrototypeOf(e);function Cl(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=$t(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),f=n?As:t?jt:Be;return!t&&Ee(i,"iterate",c?Es:Tt),ae(Object.create(u),{next(){const{value:h,done:p}=u.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}}})}}function bn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Sl(e,t){const n={get(r){const i=this.__v_raw,o=z(i),l=z(r);e||(be(r,l)&&Ee(o,"get",r),Ee(o,"get",l));const{has:c}=vn(o),u=t?As:e?jt:Be;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&Ee(z(r),"iterate",Tt),r.size},has(r){const i=this.__v_raw,o=z(i),l=z(r);return e||(be(r,l)&&Ee(o,"has",r),Ee(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=z(l),u=t?As:e?jt:Be;return!e&&Ee(c,"iterate",Tt),l.forEach((f,h)=>r.call(i,u(f),u(h),o))}};return ae(n,e?{add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(r){const i=z(this),o=vn(i),l=z(r),c=!t&&!De(r)&&!ut(r)?l:r;return o.has.call(i,c)||be(r,c)&&o.has.call(i,r)||be(l,c)&&o.has.call(i,l)||(i.add(c),ot(i,"add",c,c)),this},set(r,i){!t&&!De(i)&&!ut(i)&&(i=z(i));const o=z(this),{has:l,get:c}=vn(o);let u=l.call(o,r);u||(r=z(r),u=l.call(o,r));const f=c.call(o,r);return o.set(r,i),u?be(i,f)&&ot(o,"set",r,i):ot(o,"add",r,i),this},delete(r){const i=z(this),{has:o,get:l}=vn(i);let c=o.call(i,r);c||(r=z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&ot(i,"delete",r,void 0),u},clear(){const r=z(this),i=r.size!==0,o=r.clear();return i&&ot(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Cl(r,e,t)}),n}function qs(e,t){const n=Sl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,i)}const Rl={get:qs(!1,!1)},xl={get:qs(!1,!0)},wl={get:qs(!0,!1)};const Ti=new WeakMap,Oi=new WeakMap,Pi=new WeakMap,Tl=new WeakMap;function Ol(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ol(Xo(e))}function qn(e){return ut(e)?e:zs(e,!1,bl,Rl,Ti)}function Ii(e){return zs(e,!1,Al,xl,Oi)}function Cs(e){return zs(e,!0,El,wl,Pi)}function zs(e,t,n,s,r){if(!Q(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Pl(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Ot(e){return ut(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function zn(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function Il(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&hi(e,"__v_skip",!0),e}const Be=e=>Q(e)?qn(e):e,jt=e=>Q(e)?Cs(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function Ni(e){return Mi(e,!1)}function Nl(e){return Mi(e,!0)}function Mi(e,t){return pe(e)?e:new Ml(e,t)}class Ml{constructor(t,n){this.dep=new Kn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:Be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||De(t)||ut(t);t=s?t:z(t),be(t,n)&&(this._rawValue=t,this._value=s?t:Be(t),this.dep.trigger())}}function yt(e){return pe(e)?e.value:e}function Hu(e){return U(e)?e():yt(e)}const Dl={get:(e,t,n)=>t==="__v_raw"?e:yt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Di(e){return Ot(e)?e:new Proxy(e,Dl)}class Ll{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Kn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Fl(e){return new Ll(e)}function Bu(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=Li(e,n);return t}class $l{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Le(n)?n:String(n),this._raw=z(t);let r=!0,i=t;if(!H(t)||Le(this._key)||!jn(this._key))do r=!zn(i)||De(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=yt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&pe(this._raw[this._key])){const n=this._object[this._key];if(pe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return pl(this._raw,this._key)}}class Vl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ju(e,t,n){return pe(e)?e:U(e)?new Vl(e):Q(e)&&arguments.length>1?Li(e,t,n):Ni(e)}function Li(e,t,n){return new $l(e,t,n)}class Hl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Kn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ln-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return vi(this,!0),!0}get value(){const t=this.dep.track();return Ai(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Bl(e,t,n=!1){let s,r;return U(e)?s=e:(s=e.get,r=e.set),new Hl(s,r,n)}const En={},On=new WeakMap;let Rt;function jl(e,t=!1,n=Rt){if(n){let s=On.get(n);s||On.set(n,s=[]),s.push(e)}}function Ul(e,t,n=Y){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=P=>r?P:De(P)||r===!1||r===0?lt(P,1):lt(P);let f,h,p,m,C=!1,A=!1;if(pe(e)?(h=()=>e.value,C=De(e)):Ot(e)?(h=()=>u(e),C=!0):H(e)?(A=!0,C=e.some(P=>Ot(P)||De(P)),h=()=>e.map(P=>{if(pe(P))return P.value;if(Ot(P))return u(P);if(U(P))return c?c(P,2):P()})):U(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){ct();try{p()}finally{ft()}}const P=Rt;Rt=f;try{return c?c(e,3,[m]):e(m)}finally{Rt=P}}:h=Ze,t&&r){const P=h,k=r===!0?1/0:r;h=()=>lt(P(),k)}const L=al(),M=()=>{f.stop(),L&&L.active&&Bs(L.effects,f)};if(i&&t){const P=t;t=(...k)=>{P(...k),M()}}let S=A?new Array(e.length).fill(En):En;const D=P=>{if(!(!(f.flags&1)||!f.dirty&&!P))if(t){const k=f.run();if(r||C||(A?k.some((K,W)=>be(K,S[W])):be(k,S))){p&&p();const K=Rt;Rt=f;try{const W=[k,S===En?void 0:A&&S[0]===En?[]:S,m];S=k,c?c(t,3,W):t(...W)}finally{Rt=K}}}else f.run()};return l&&l(D),f=new _i(h),f.scheduler=o?()=>o(D,!1):D,m=P=>jl(P,!1,f),p=f.onStop=()=>{const P=On.get(f);if(P){if(c)c(P,4);else for(const k of P)k();On.delete(f)}},t?s?D(!0):S=f.run():o?o(D.bind(null,!0),!0):f.run(),M.pause=f.pause.bind(f),M.resume=f.resume.bind(f),M.stop=M,M}function lt(e,t=1/0,n){if(t<=0||!Q(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,pe(e))lt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)lt(e[s],t,n);else if(ci(e)||$t(e))e.forEach(s=>{lt(s,t,n)});else if(ai(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&<(e[s],t,n)}return e}function mn(e,t,n,s){try{return s?e(...s):e()}catch(r){Jn(r,t,n)}}function je(e,t,n,s){if(U(e)){const r=mn(e,t,n,s);return r&&fi(r)&&r.catch(i=>{Jn(i,t,n)}),r}if(H(e)){const r=[];for(let i=0;i<e.length;i++)r.push(je(e[i],t,n,s));return r}}function Jn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Y;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,u)===!1)return}l=l.parent}if(i){ct(),mn(i,null,10,[e,c,u]),ft();return}}kl(e,n,r,s,o)}function kl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let Je=-1;const Vt=[];let mt=null,Dt=0;const Fi=Promise.resolve();let Pn=null;function $i(e){const t=Pn||Fi;return e?t.then(this?e.bind(this):e):t}function Gl(e){let t=Je+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=fn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Js(e){if(!(e.flags&1)){const t=fn(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=fn(n)?we.push(e):we.splice(Gl(t),0,e),e.flags|=1,Vi()}}function Vi(){Pn||(Pn=Fi.then(Bi))}function Kl(e){H(e)?Vt.push(...e):mt&&e.id===-1?mt.splice(Dt+1,0,e):e.flags&1||(Vt.push(e),e.flags|=1),Vi()}function hr(e,t,n=Je+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Hi(e){if(Vt.length){const t=[...new Set(Vt)].sort((n,s)=>fn(n)-fn(s));if(Vt.length=0,mt){mt.push(...t);return}for(mt=t,Dt=0;Dt<mt.length;Dt++){const n=mt[Dt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}mt=null,Dt=0}}const fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Bi(e){try{for(Je=0;Je<we.length;Je++){const t=we[Je];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),mn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Je<we.length;Je++){const t=we[Je];t&&(t.flags&=-2)}Je=-1,we.length=0,Hi(),Pn=null,(we.length||Vt.length)&&Bi()}}let _e=null,ji=null;function In(e){const t=_e;return _e=e,ji=e&&e.type.__scopeId||null,t}function Wl(e,t=_e,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ln(-1);const i=In(t);let o;try{o=e(...r)}finally{In(i),s._d&&Ln(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Uu(e,t){if(_e===null)return e;const n=ts(_e),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=Y]=t[r];i&&(U(i)&&(i={mounted:i,updated:i}),i.deep&<(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function At(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(ct(),je(c,n,8,[e.el,l,e,t]),ft())}}function Cn(e,t){if(Ce){let n=Ce.provides;const s=Ce.parent&&Ce.parent.provides;s===n&&(n=Ce.provides=Object.create(s)),n[e]=t}}function et(e,t,n=!1){const s=_n();if(s||Bt){let r=Bt?Bt._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&&U(t)?t.call(s&&s.proxy):t}}const ql=Symbol.for("v-scx"),zl=()=>et(ql);function ku(e,t){return Yn(e,null,t)}function Jl(e,t){return Yn(e,null,{flush:"sync"})}function Sn(e,t,n){return Yn(e,t,n)}function Yn(e,t,n=Y){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let u;if(dn){if(i==="sync"){const m=zl();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ze,m.resume=Ze,m.pause=Ze,m}}const f=Ce;l.call=(m,C,A)=>je(m,f,C,A);let h=!1;i==="post"?l.scheduler=m=>{ye(m,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(m,C)=>{C?m():Js(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=Ul(e,t,l);return dn&&(u?u.push(p):c&&p()),p}function Yl(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?Ui(s,e):()=>s[e]:e.bind(s,s);let i;U(t)?i=t:(i=t.handler,n=t);const o=yn(this),l=Yn(r,i.bind(s),n);return o(),l}function Ui(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 ki=Symbol("_vte"),Gi=e=>e.__isTeleport,tn=e=>e&&(e.disabled||e.disabled===""),Ql=e=>e&&(e.defer||e.defer===""),dr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,pr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ss=(e,t)=>{const n=e&&e.to;return ce(n)?t?t(n):null:n},Ki={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:f,pc:h,pbc:p,o:{insert:m,querySelector:C,createText:A,createComment:L}}=u,M=tn(t.props);let{shapeFlag:S,children:D,dynamicChildren:P}=t;if(e==null){const k=t.el=A(""),K=t.anchor=A("");m(k,n,s),m(K,n,s);const W=(F,G)=>{S&16&&f(D,F,G,r,i,o,l,c)},le=()=>{const F=t.target=Ss(t.props,C),G=Rs(F,t,A,m);F&&(o!=="svg"&&dr(F)?o="svg":o!=="mathml"&&pr(F)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(F),M||(W(F,G),Rn(t,!1)))};M&&(W(n,K),Rn(t,!0)),Ql(t.props)||i&&i.pendingBranch?(t.el.__isMounted=!1,ye(()=>{t.el.__isMounted===!1&&(le(),delete t.el.__isMounted)},i)):le()}else{t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,K=t.target=e.target,W=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){ye(()=>{Ki.process(e,t,n,s,r,i,o,l,c,u)},i);return}const le=tn(e.props),F=le?n:K,G=le?k:W;if(o==="svg"||dr(K)?o="svg":(o==="mathml"||pr(K))&&(o="mathml"),P?(p(e.dynamicChildren,P,F,r,i,o,l),Zs(e,t,!0)):c||h(e,t,F,G,r,i,o,l,!1),M)le?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):An(t,n,k,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ne=t.target=Ss(t.props,C);ne&&An(t,ne,null,u,0)}else le&&An(t,K,W,u,1);Rn(t,M)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:p}=e;if(h&&(r(u),r(f)),i&&r(c),o&16){const m=i||!tn(p);for(let C=0;C<l.length;C++){const A=l[C];s(A,t,n,m,!!A.dynamicChildren)}}},move:An,hydrate:Xl};function An(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:u,props:f}=e,h=i===2;if(h&&s(o,t,n),(!h||tn(f))&&c&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);h&&s(l,t,n)}function Xl(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:u,createText:f}},h){function p(L,M){let S=M;for(;S;){if(S&&S.nodeType===8){if(S.data==="teleport start anchor")t.targetStart=S;else if(S.data==="teleport anchor"){t.targetAnchor=S,L._lpa=t.targetAnchor&&o(t.targetAnchor);break}}S=o(S)}}function m(L,M){M.anchor=h(o(L),M,l(L),n,s,r,i)}const C=t.target=Ss(t.props,c),A=tn(t.props);if(C){const L=C._lpa||C.firstChild;t.shapeFlag&16&&(A?(m(e,t),p(C,L),t.targetAnchor||Rs(C,t,f,u,l(e)===C?e:null)):(t.anchor=o(e),p(C,L),t.targetAnchor||Rs(C,t,f,u),h(L&&o(L),t,C,n,s,r,i))),Rn(t,A)}else A&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const Gu=Ki;function Rn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Rs(e,t,n,s,r=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[ki]=o,e&&(s(i,e,r),s(o,e,r)),o}const Ye=Symbol("_leaveCb"),qt=Symbol("_enterCb");function Wi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return eo(()=>{e.isMounted=!0}),no(()=>{e.isUnmounting=!0}),e}const $e=[Function,Array],qi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$e,onEnter:$e,onAfterEnter:$e,onEnterCancelled:$e,onBeforeLeave:$e,onLeave:$e,onAfterLeave:$e,onLeaveCancelled:$e,onBeforeAppear:$e,onAppear:$e,onAfterAppear:$e,onAppearCancelled:$e},zi=e=>{const t=e.subTree;return t.component?zi(t.component):t},Zl={name:"BaseTransition",props:qi,setup(e,{slots:t}){const n=_n(),s=Wi();return()=>{const r=t.default&&Ys(t.default(),!0);if(!r||!r.length)return;const i=Ji(r),o=z(e),{mode:l}=o;if(s.isLeaving)return fs(i);const c=gr(i);if(!c)return fs(i);let u=un(c,o,s,n,h=>u=h);c.type!==Ae&&Pt(c,u);let f=n.subTree&&gr(n.subTree);if(f&&f.type!==Ae&&!xt(f,c)&&zi(n).type!==Ae){let h=un(f,o,s,n);if(Pt(f,h),l==="out-in"&&c.type!==Ae)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,f=void 0},fs(i);l==="in-out"&&c.type!==Ae?h.delayLeave=(p,m,C)=>{const A=Yi(s,f);A[String(f.key)]=f,p[Ye]=()=>{m(),p[Ye]=void 0,delete u.delayedLeave,f=void 0},u.delayedLeave=()=>{C(),delete u.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function Ji(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ae){t=n;break}}return t}const ec=Zl;function Yi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function un(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:p,onLeave:m,onAfterLeave:C,onLeaveCancelled:A,onBeforeAppear:L,onAppear:M,onAfterAppear:S,onAppearCancelled:D}=t,P=String(e.key),k=Yi(n,e),K=(F,G)=>{F&&je(F,s,9,G)},W=(F,G)=>{const ne=G[1];K(F,G),H(F)?F.every(I=>I.length<=1)&&ne():F.length<=1&&ne()},le={mode:o,persisted:l,beforeEnter(F){let G=c;if(!n.isMounted)if(i)G=L||c;else return;F[Ye]&&F[Ye](!0);const ne=k[P];ne&&xt(e,ne)&&ne.el[Ye]&&ne.el[Ye](),K(G,[F])},enter(F){if(k[P]===e)return;let G=u,ne=f,I=h;if(!n.isMounted)if(i)G=M||u,ne=S||f,I=D||h;else return;let X=!1;F[qt]=Ie=>{X||(X=!0,Ie?K(I,[F]):K(ne,[F]),le.delayedLeave&&le.delayedLeave(),F[qt]=void 0)};const ge=F[qt].bind(null,!1);G?W(G,[F,ge]):ge()},leave(F,G){const ne=String(e.key);if(F[qt]&&F[qt](!0),n.isUnmounting)return G();K(p,[F]);let I=!1;F[Ye]=ge=>{I||(I=!0,G(),ge?K(A,[F]):K(C,[F]),F[Ye]=void 0,k[ne]===e&&delete k[ne])};const X=F[Ye].bind(null,!1);k[ne]=e,m?W(m,[F,X]):X()},clone(F){const G=un(F,t,n,s,r);return r&&r(G),G}};return le}function fs(e){if(Qn(e))return e=vt(e),e.children=null,e}function gr(e){if(!Qn(e))return Gi(e.type)&&e.children?Ji(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&U(n.default))return n.default()}}function Pt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Pt(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 Ys(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Pe?(o.patchFlag&128&&r++,s=s.concat(Ys(o.children,t,l))):(t||o.type!==Ae)&&s.push(l!=null?vt(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function Qi(e,t){return U(e)?ae({name:e.name},t,{setup:e}):e}function Ku(){const e=_n();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Xi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Nn=new WeakMap;function nn(e,t,n,s,r=!1){if(H(e)){e.forEach((A,L)=>nn(A,t&&(H(t)?t[L]:t),n,s,r));return}if(Ht(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&nn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?ts(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,f=l.refs===Y?l.refs={}:l.refs,h=l.setupState,p=z(h),m=h===Y?li:A=>mr(f,A)?!1:te(p,A),C=(A,L)=>!(L&&mr(f,L));if(u!=null&&u!==c){if(_r(t),ce(u))f[u]=null,m(u)&&(h[u]=null);else if(pe(u)){const A=t;C(u,A.k)&&(u.value=null),A.k&&(f[A.k]=null)}}if(U(c))mn(c,l,12,[o,f]);else{const A=ce(c),L=pe(c);if(A||L){const M=()=>{if(e.f){const S=A?m(c)?h[c]:f[c]:C()||!e.k?c.value:f[e.k];if(r)H(S)&&Bs(S,i);else if(H(S))S.includes(i)||S.push(i);else if(A)f[c]=[i],m(c)&&(h[c]=f[c]);else{const D=[i];C(c,e.k)&&(c.value=D),e.k&&(f[e.k]=D)}}else A?(f[c]=o,m(c)&&(h[c]=o)):L&&(C(c,e.k)&&(c.value=o),e.k&&(f[e.k]=o))};if(o){const S=()=>{M(),Nn.delete(e)};S.id=-1,Nn.set(e,S),ye(S,n)}else _r(e),M()}}}function _r(e){const t=Nn.get(e);t&&(t.flags|=8,Nn.delete(e))}Gn().requestIdleCallback;Gn().cancelIdleCallback;const Ht=e=>!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function tc(e,t){Zi(e,"a",t)}function nc(e,t){Zi(e,"da",t)}function Zi(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&sc(s,t,n,r),r=r.parent}}function sc(e,t,n,s){const r=Xn(t,e,s,!0);so(()=>{Bs(s[t],r)},n)}function Xn(e,t,n=Ce,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ct();const l=yn(n),c=je(t,n,e,o);return l(),ft(),c});return s?r.unshift(i):r.push(i),i}}const at=e=>(t,n=Ce)=>{(!dn||e==="sp")&&Xn(e,(...s)=>t(...s),n)},rc=at("bm"),eo=at("m"),ic=at("bu"),to=at("u"),no=at("bum"),so=at("um"),oc=at("sp"),lc=at("rtg"),cc=at("rtc");function fc(e,t=Ce){Xn("ec",e,t)}const ro="components";function Wu(e,t){return io(ro,e,!0,t)||e}const uc=Symbol.for("v-ndc");function qu(e){return ce(e)&&io(ro,e,!1)||e}function io(e,t,n=!0,s=!1){const r=_e||Ce;if(r){const i=r.type;{const l=zc(i,!1);if(l&&(l===t||l===Se(t)||l===kn(Se(t))))return i}const o=yr(r[e]||i[e],t)||yr(r.appContext[e],t);return!o&&s?i:o}}function yr(e,t){return e&&(e[t]||e[Se(t)]||e[kn(Se(t))])}function zu(e,t,n,s){let r;const i=n,o=H(e);if(o||ce(e)){const l=o&&Ot(e);let c=!1,u=!1;l&&(c=!De(e),u=ut(e),e=Wn(e)),r=new Array(e.length);for(let f=0,h=e.length;f<h;f++)r[f]=t(c?u?jt(Be(e[f])):Be(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(Q(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const f=l[c];r[c]=t(e[f],f,c,i)}}else r=[];return r}function Ju(e,t,n={},s,r){if(_e.ce||_e.parent&&Ht(_e.parent)&&_e.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Ps(),Is(Pe,null,[Te("slot",n,s)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Ps();const o=i&&oo(i(n)),l=n.key||o&&o.key,c=Is(Pe,{key:(l&&!Le(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||[],o&&e._===1?64:-2);return i&&i._c&&(i._d=!0),c}function oo(e){return e.some(t=>hn(t)?!(t.type===Ae||t.type===Pe&&!oo(t.children)):!0)?e:null}const xs=e=>e?To(e)?ts(e):xs(e.parent):null,sn=ae(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=>xs(e.parent),$root:e=>xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>co(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=$i.bind(e.proxy)),$watch:e=>Yl.bind(e)}),us=(e,t)=>e!==Y&&!e.__isScriptSetup&&te(e,t),ac={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(us(s,t))return o[t]=1,s[t];if(r!==Y&&te(r,t))return o[t]=2,r[t];if(te(i,t))return o[t]=3,i[t];if(n!==Y&&te(n,t))return o[t]=4,n[t];ws&&(o[t]=0)}}const u=sn[t];let f,h;if(u)return t==="$attrs"&&Ee(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Y&&te(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,te(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return us(r,t)?(r[t]=n,!0):s!==Y&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==Y&&l[0]!=="$"&&te(e,l)||us(t,l)||te(i,l)||te(s,l)||te(sn,l)||te(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mn(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yu(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):ae({},Mn(e),Mn(t))}let ws=!0;function hc(e){const t=co(e),n=e.proxy,s=e.ctx;ws=!1,t.beforeCreate&&vr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:C,activated:A,deactivated:L,beforeDestroy:M,beforeUnmount:S,destroyed:D,unmounted:P,render:k,renderTracked:K,renderTriggered:W,errorCaptured:le,serverPrefetch:F,expose:G,inheritAttrs:ne,components:I,directives:X,filters:ge}=t;if(u&&dc(u,s,null),o)for(const se in o){const Z=o[se];U(Z)&&(s[se]=Z.bind(n))}if(r){const se=r.call(n,n);Q(se)&&(e.data=qn(se))}if(ws=!0,i)for(const se in i){const Z=i[se],tt=U(Z)?Z.bind(n,n):U(Z.get)?Z.get.bind(n,n):Ze,ht=!U(Z)&&U(Z.set)?Z.set.bind(n):Ze,ke=Ve({get:tt,set:ht});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>ke.value,set:Oe=>ke.value=Oe})}if(l)for(const se in l)lo(l[se],s,n,se);if(c){const se=U(c)?c.call(n):c;Reflect.ownKeys(se).forEach(Z=>{Cn(Z,se[Z])})}f&&vr(f,e,"c");function ue(se,Z){H(Z)?Z.forEach(tt=>se(tt.bind(n))):Z&&se(Z.bind(n))}if(ue(rc,h),ue(eo,p),ue(ic,m),ue(to,C),ue(tc,A),ue(nc,L),ue(fc,le),ue(cc,K),ue(lc,W),ue(no,S),ue(so,P),ue(oc,F),H(G))if(G.length){const se=e.exposed||(e.exposed={});G.forEach(Z=>{Object.defineProperty(se,Z,{get:()=>n[Z],set:tt=>n[Z]=tt,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Ze&&(e.render=k),ne!=null&&(e.inheritAttrs=ne),I&&(e.components=I),X&&(e.directives=X),F&&Xi(e)}function dc(e,t,n=Ze){H(e)&&(e=Ts(e));for(const s in e){const r=e[s];let i;Q(r)?"default"in r?i=et(r.from||s,r.default,!0):i=et(r.from||s):i=et(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function vr(e,t,n){je(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function lo(e,t,n,s){let r=s.includes(".")?Ui(n,s):()=>n[s];if(ce(e)){const i=t[e];U(i)&&Sn(r,i)}else if(U(e))Sn(r,e.bind(n));else if(Q(e))if(H(e))e.forEach(i=>lo(i,t,n,s));else{const i=U(e.handler)?e.handler.bind(n):t[e.handler];U(i)&&Sn(r,i,e)}}function co(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Dn(c,u,o,!0)),Dn(c,t,o)),Q(t)&&i.set(t,c),c}function Dn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Dn(e,i,n,!0),r&&r.forEach(o=>Dn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=pc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const pc={data:br,props:Er,emits:Er,methods:Qt,computed:Qt,beforeCreate:Re,created:Re,beforeMount:Re,mounted:Re,beforeUpdate:Re,updated:Re,beforeDestroy:Re,beforeUnmount:Re,destroyed:Re,unmounted:Re,activated:Re,deactivated:Re,errorCaptured:Re,serverPrefetch:Re,components:Qt,directives:Qt,watch:mc,provide:br,inject:gc};function br(e,t){return t?e?function(){return ae(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function gc(e,t){return Qt(Ts(e),Ts(t))}function Ts(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Re(e,t){return e?[...new Set([].concat(e,t))]:t}function Qt(e,t){return e?ae(Object.create(null),e,t):t}function Er(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:ae(Object.create(null),Mn(e),Mn(t??{})):t}function mc(e,t){if(!e)return t;if(!t)return e;const n=ae(Object.create(null),e);for(const s in t)n[s]=Re(e[s],t[s]);return n}function fo(){return{app:null,config:{isNativeTag:li,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 _c=0;function yc(e,t){return function(s,r=null){U(s)||(s=ae({},s)),r!=null&&!Q(r)&&(r=null);const i=fo(),o=new WeakSet,l=[];let c=!1;const u=i.app={_uid:_c++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Yc,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&U(f.install)?(o.add(f),f.install(u,...h)):U(f)&&(o.add(f),f(u,...h))),u},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),u},component(f,h){return h?(i.components[f]=h,u):i.components[f]},directive(f,h){return h?(i.directives[f]=h,u):i.directives[f]},mount(f,h,p){if(!c){const m=u._ceVNode||Te(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,f,p),c=!0,u._container=f,f.__vue_app__=u,ts(m.component)}},onUnmount(f){l.push(f)},unmount(){c&&(je(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(f,h){return i.provides[f]=h,u},runWithContext(f){const h=Bt;Bt=u;try{return f()}finally{Bt=h}}};return u}}let Bt=null;function Qu(e,t,n=Y){const s=_n(),r=Se(t),i=bt(t),o=uo(e,r),l=Fl((c,u)=>{let f,h=Y,p;return Jl(()=>{const m=e[r];be(f,m)&&(f=m,u())}),{get(){return c(),n.get?n.get(f):f},set(m){const C=n.set?n.set(m):m;if(!be(C,f)&&!(h!==Y&&be(m,h)))return;const A=s.vnode.props;A&&(t in A||r in A||i in A)&&(`onUpdate:${t}`in A||`onUpdate:${r}`in A||`onUpdate:${i}`in A)||(f=m,u()),s.emit(`update:${t}`,C),be(m,C)&&be(m,h)&&!be(C,p)&&u(),h=m,p=C}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||Y:l,done:!1}:{done:!0}}}},l}const uo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Se(t)}Modifiers`]||e[`${bt(t)}Modifiers`];function vc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const i=t.startsWith("update:"),o=i&&uo(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>ce(f)?f.trim():f)),o.number&&(r=n.map(tl)));let l,c=s[l=ss(t)]||s[l=ss(Se(t))];!c&&i&&(c=s[l=ss(bt(t))]),c&&je(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,je(u,e,6,r)}}const bc=new WeakMap;function ao(e,t,n=!1){const s=n?bc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!U(e)){const c=u=>{const f=ao(u,t,!0);f&&(l=!0,ae(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Q(e)&&s.set(e,null),null):(H(i)?i.forEach(c=>o[c]=null):ae(o,i),Q(e)&&s.set(e,o),o)}function Zn(e,t){return!e||!Hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,bt(t))||te(e,t))}function Ar(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:f,props:h,data:p,setupState:m,ctx:C,inheritAttrs:A}=e,L=In(e);let M,S;try{if(n.shapeFlag&4){const P=r||s,k=P;M=Xe(u.call(k,P,f,h,m,p,C)),S=l}else{const P=t;M=Xe(P.length>1?P(h,{attrs:l,slots:o,emit:c}):P(h,null)),S=t.props?l:Ec(l)}}catch(P){rn.length=0,Jn(P,e,1),M=Te(Ae)}let D=M;if(S&&A!==!1){const P=Object.keys(S),{shapeFlag:k}=D;P.length&&k&7&&(i&&P.some(Bn)&&(S=Ac(S,i)),D=vt(D,S,!1,!0))}return n.dirs&&(D=vt(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&Pt(D,n.transition),M=D,In(L),M}const Ec=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hn(n))&&((t||(t={}))[n]=e[n]);return t},Ac=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Cc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Cr(s,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const p=f[h];if(ho(o,s,p)&&!Zn(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Cr(s,o,u):!0:!!o;return!1}function Cr(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 i=s[r];if(ho(t,e,i)&&!Zn(n,i))return!0}return!1}function ho(e,t,n){const s=e[n],r=t[n];return n==="style"&&Q(s)&&Q(r)?!ks(s,r):s!==r}function Sc({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 po={},go=()=>Object.create(po),mo=e=>Object.getPrototypeOf(e)===po;function Rc(e,t,n,s=!1){const r={},i=go();e.propsDefaults=Object.create(null),_o(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ii(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let p=f[h];if(Zn(e.emitsOptions,p))continue;const m=t[p];if(c)if(te(i,p))m!==i[p]&&(i[p]=m,u=!0);else{const C=Se(p);r[C]=Os(c,l,C,m,e,!1)}else m!==i[p]&&(i[p]=m,u=!0)}}}else{_o(e,t,r,i)&&(u=!0);let f;for(const h in l)(!t||!te(t,h)&&((f=bt(h))===h||!te(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(r[h]=Os(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!te(t,h))&&(delete i[h],u=!0)}u&&ot(e.attrs,"set","")}function _o(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Xt(c))continue;const u=t[c];let f;r&&te(r,f=Se(c))?!i||!i.includes(f)?n[f]=u:(l||(l={}))[f]=u:Zn(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(i){const c=z(n),u=l||Y;for(let f=0;f<i.length;f++){const h=i[f];n[h]=Os(r,c,h,u[h],e,!te(u,h))}}return o}function Os(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=te(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&U(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const f=yn(r);s=u[n]=c.call(null,t),f()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===bt(n))&&(s=!0))}return s}const wc=new WeakMap;function yo(e,t,n=!1){const s=n?wc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!U(e)){const f=h=>{c=!0;const[p,m]=yo(h,t,!0);ae(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return Q(e)&&s.set(e,Ft),Ft;if(H(i))for(let f=0;f<i.length;f++){const h=Se(i[f]);Sr(h)&&(o[h]=Y)}else if(i)for(const f in i){const h=Se(f);if(Sr(h)){const p=i[f],m=o[h]=H(p)||U(p)?{type:p}:ae({},p),C=m.type;let A=!1,L=!0;if(H(C))for(let M=0;M<C.length;++M){const S=C[M],D=U(S)&&S.name;if(D==="Boolean"){A=!0;break}else D==="String"&&(L=!1)}else A=U(C)&&C.name==="Boolean";m[0]=A,m[1]=L,(A||te(m,"default"))&&l.push(h)}}const u=[o,l];return Q(e)&&s.set(e,u),u}function Sr(e){return e[0]!=="$"&&!Xt(e)}const Qs=e=>e==="_"||e==="_ctx"||e==="$stable",Xs=e=>H(e)?e.map(Xe):[Xe(e)],Tc=(e,t,n)=>{if(t._n)return t;const s=Wl((...r)=>Xs(t(...r)),n);return s._c=!1,s},vo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Qs(r))continue;const i=e[r];if(U(i))t[r]=Tc(r,i,s);else if(i!=null){const o=Xs(i);t[r]=()=>o}}},bo=(e,t)=>{const n=Xs(t);e.slots.default=()=>n},Eo=(e,t,n)=>{for(const s in t)(n||!Qs(s))&&(e[s]=t[s])},Oc=(e,t,n)=>{const s=e.slots=go();if(e.vnode.shapeFlag&32){const r=t._;r?(Eo(s,t,n),n&&hi(s,"_",r,!0)):vo(t,s)}else t&&bo(e,t)},Pc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Y;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Eo(r,t,n):(i=!t.$stable,vo(t,r)),o=t}else t&&(bo(e,t),o={default:1});if(i)for(const l in r)!Qs(l)&&o[l]==null&&delete r[l]},ye=Lc;function Ic(e){return Nc(e)}function Nc(e,t){const n=Gn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=Ze,insertStaticContent:C}=e,A=(a,d,g,_=null,b=null,y=null,w=void 0,x=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!xt(a,d)&&(_=v(a),Oe(a,b,y,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:B,shapeFlag:O}=d;switch(E){case es:L(a,d,g,_);break;case Ae:M(a,d,g,_);break;case hs:a==null&&S(d,g,_,w);break;case Pe:I(a,d,g,_,b,y,w,x,R);break;default:O&1?k(a,d,g,_,b,y,w,x,R):O&6?X(a,d,g,_,b,y,w,x,R):(O&64||O&128)&&E.process(a,d,g,_,b,y,w,x,R,$)}B!=null&&b?nn(B,a&&a.ref,y,d||a,!d):B==null&&a&&a.ref!=null&&nn(a.ref,null,y,a,!0)},L=(a,d,g,_)=>{if(a==null)s(d.el=l(d.children),g,_);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},M=(a,d,g,_)=>{a==null?s(d.el=c(d.children||""),g,_):d.el=a.el},S=(a,d,g,_)=>{[a.el,a.anchor]=C(a.children,d,g,_,a.el,a.anchor)},D=({el:a,anchor:d},g,_)=>{let b;for(;a&&a!==d;)b=p(a),s(a,g,_),a=b;s(d,g,_)},P=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=p(a),r(a),a=g;r(d)},k=(a,d,g,_,b,y,w,x,R)=>{if(d.type==="svg"?w="svg":d.type==="math"&&(w="mathml"),a==null)K(d,g,_,b,y,w,x,R);else{const E=a.el&&a.el._isVueCE?a.el:null;try{E&&E._beginPatch(),F(a,d,b,y,w,x,R)}finally{E&&E._endPatch()}}},K=(a,d,g,_,b,y,w,x)=>{let R,E;const{props:B,shapeFlag:O,transition:V,dirs:j}=a;if(R=a.el=o(a.type,y,B&&B.is,B),O&8?f(R,a.children):O&16&&le(a.children,R,null,_,b,as(a,y),w,x),j&&At(a,null,_,"created"),W(R,a,a.scopeId,w,_),B){for(const re in B)re!=="value"&&!Xt(re)&&i(R,re,null,B[re],y,_);"value"in B&&i(R,"value",null,B.value,y),(E=B.onVnodeBeforeMount)&&qe(E,_,a)}j&&At(a,null,_,"beforeMount");const J=Mc(b,V);J&&V.beforeEnter(R),s(R,d,g),((E=B&&B.onVnodeMounted)||J||j)&&ye(()=>{E&&qe(E,_,a),J&&V.enter(R),j&&At(a,null,_,"mounted")},b)},W=(a,d,g,_,b)=>{if(g&&m(a,g),_)for(let y=0;y<_.length;y++)m(a,_[y]);if(b){let y=b.subTree;if(d===y||So(y.type)&&(y.ssContent===d||y.ssFallback===d)){const w=b.vnode;W(a,w,w.scopeId,w.slotScopeIds,b.parent)}}},le=(a,d,g,_,b,y,w,x,R=0)=>{for(let E=R;E<a.length;E++){const B=a[E]=x?it(a[E]):Xe(a[E]);A(null,B,d,g,_,b,y,w,x)}},F=(a,d,g,_,b,y,w)=>{const x=d.el=a.el;let{patchFlag:R,dynamicChildren:E,dirs:B}=d;R|=a.patchFlag&16;const O=a.props||Y,V=d.props||Y;let j;if(g&&Ct(g,!1),(j=V.onVnodeBeforeUpdate)&&qe(j,g,d,a),B&&At(d,a,g,"beforeUpdate"),g&&Ct(g,!0),(O.innerHTML&&V.innerHTML==null||O.textContent&&V.textContent==null)&&f(x,""),E?G(a.dynamicChildren,E,x,g,_,as(d,b),y):w||Z(a,d,x,null,g,_,as(d,b),y,!1),R>0){if(R&16)ne(x,O,V,g,b);else if(R&2&&O.class!==V.class&&i(x,"class",null,V.class,b),R&4&&i(x,"style",O.style,V.style,b),R&8){const J=d.dynamicProps;for(let re=0;re<J.length;re++){const ie=J[re],he=O[ie],me=V[ie];(me!==he||ie==="value")&&i(x,ie,he,me,b,g)}}R&1&&a.children!==d.children&&f(x,d.children)}else!w&&E==null&&ne(x,O,V,g,b);((j=V.onVnodeUpdated)||B)&&ye(()=>{j&&qe(j,g,d,a),B&&At(d,a,g,"updated")},_)},G=(a,d,g,_,b,y,w)=>{for(let x=0;x<d.length;x++){const R=a[x],E=d[x],B=R.el&&(R.type===Pe||!xt(R,E)||R.shapeFlag&198)?h(R.el):g;A(R,E,B,null,_,b,y,w,!0)}},ne=(a,d,g,_,b)=>{if(d!==g){if(d!==Y)for(const y in d)!Xt(y)&&!(y in g)&&i(a,y,d[y],null,b,_);for(const y in g){if(Xt(y))continue;const w=g[y],x=d[y];w!==x&&y!=="value"&&i(a,y,x,w,b,_)}"value"in g&&i(a,"value",d.value,g.value,b)}},I=(a,d,g,_,b,y,w,x,R)=>{const E=d.el=a?a.el:l(""),B=d.anchor=a?a.anchor:l("");let{patchFlag:O,dynamicChildren:V,slotScopeIds:j}=d;j&&(x=x?x.concat(j):j),a==null?(s(E,g,_),s(B,g,_),le(d.children||[],g,B,b,y,w,x,R)):O>0&&O&64&&V&&a.dynamicChildren&&a.dynamicChildren.length===V.length?(G(a.dynamicChildren,V,g,b,y,w,x),(d.key!=null||b&&d===b.subTree)&&Zs(a,d,!0)):Z(a,d,g,B,b,y,w,x,R)},X=(a,d,g,_,b,y,w,x,R)=>{d.slotScopeIds=x,a==null?d.shapeFlag&512?b.ctx.activate(d,g,_,w,R):ge(d,g,_,b,y,w,R):Ie(a,d,R)},ge=(a,d,g,_,b,y,w)=>{const x=a.component=kc(a,_,b);if(Qn(a)&&(x.ctx.renderer=$),Gc(x,!1,w),x.asyncDep){if(b&&b.registerDep(x,ue,w),!a.el){const R=x.subTree=Te(Ae);M(null,R,d,g),a.placeholder=R.el}}else ue(x,a,d,g,b,y,w)},Ie=(a,d,g)=>{const _=d.component=a.component;if(Cc(a,d,g))if(_.asyncDep&&!_.asyncResolved){se(_,d,g);return}else _.next=d,_.update();else d.el=a.el,_.vnode=d},ue=(a,d,g,_,b,y,w)=>{const x=()=>{if(a.isMounted){let{next:O,bu:V,u:j,parent:J,vnode:re}=a;{const Ke=Ao(a);if(Ke){O&&(O.el=re.el,se(a,O,w)),Ke.asyncDep.then(()=>{ye(()=>{a.isUnmounted||E()},b)});return}}let ie=O,he;Ct(a,!1),O?(O.el=re.el,se(a,O,w)):O=re,V&&rs(V),(he=O.props&&O.props.onVnodeBeforeUpdate)&&qe(he,J,O,re),Ct(a,!0);const me=Ar(a),Ge=a.subTree;a.subTree=me,A(Ge,me,h(Ge.el),v(Ge),a,b,y),O.el=me.el,ie===null&&Sc(a,me.el),j&&ye(j,b),(he=O.props&&O.props.onVnodeUpdated)&&ye(()=>qe(he,J,O,re),b)}else{let O;const{el:V,props:j}=d,{bm:J,m:re,parent:ie,root:he,type:me}=a,Ge=Ht(d);Ct(a,!1),J&&rs(J),!Ge&&(O=j&&j.onVnodeBeforeMount)&&qe(O,ie,d),Ct(a,!0);{he.ce&&he.ce._hasShadowRoot()&&he.ce._injectChildStyle(me,a.parent?a.parent.type:void 0);const Ke=a.subTree=Ar(a);A(null,Ke,g,_,a,b,y),d.el=Ke.el}if(re&&ye(re,b),!Ge&&(O=j&&j.onVnodeMounted)){const Ke=d;ye(()=>qe(O,ie,Ke),b)}(d.shapeFlag&256||ie&&Ht(ie.vnode)&&ie.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=_=null}};a.scope.on();const R=a.effect=new _i(x);a.scope.off();const E=a.update=R.run.bind(R),B=a.job=R.runIfDirty.bind(R);B.i=a,B.id=a.uid,R.scheduler=()=>Js(B),Ct(a,!0),E()},se=(a,d,g)=>{d.component=a;const _=a.vnode.props;a.vnode=d,a.next=null,xc(a,d.props,_,g),Pc(a,d.children,g),ct(),hr(a),ft()},Z=(a,d,g,_,b,y,w,x,R=!1)=>{const E=a&&a.children,B=a?a.shapeFlag:0,O=d.children,{patchFlag:V,shapeFlag:j}=d;if(V>0){if(V&128){ht(E,O,g,_,b,y,w,x,R);return}else if(V&256){tt(E,O,g,_,b,y,w,x,R);return}}j&8?(B&16&&Fe(E,b,y),O!==E&&f(g,O)):B&16?j&16?ht(E,O,g,_,b,y,w,x,R):Fe(E,b,y,!0):(B&8&&f(g,""),j&16&&le(O,g,_,b,y,w,x,R))},tt=(a,d,g,_,b,y,w,x,R)=>{a=a||Ft,d=d||Ft;const E=a.length,B=d.length,O=Math.min(E,B);let V;for(V=0;V<O;V++){const j=d[V]=R?it(d[V]):Xe(d[V]);A(a[V],j,g,null,b,y,w,x,R)}E>B?Fe(a,b,y,!0,!1,O):le(d,g,_,b,y,w,x,R,O)},ht=(a,d,g,_,b,y,w,x,R)=>{let E=0;const B=d.length;let O=a.length-1,V=B-1;for(;E<=O&&E<=V;){const j=a[E],J=d[E]=R?it(d[E]):Xe(d[E]);if(xt(j,J))A(j,J,g,null,b,y,w,x,R);else break;E++}for(;E<=O&&E<=V;){const j=a[O],J=d[V]=R?it(d[V]):Xe(d[V]);if(xt(j,J))A(j,J,g,null,b,y,w,x,R);else break;O--,V--}if(E>O){if(E<=V){const j=V+1,J=j<B?d[j].el:_;for(;E<=V;)A(null,d[E]=R?it(d[E]):Xe(d[E]),g,J,b,y,w,x,R),E++}}else if(E>V)for(;E<=O;)Oe(a[E],b,y,!0),E++;else{const j=E,J=E,re=new Map;for(E=J;E<=V;E++){const Ne=d[E]=R?it(d[E]):Xe(d[E]);Ne.key!=null&&re.set(Ne.key,E)}let ie,he=0;const me=V-J+1;let Ge=!1,Ke=0;const Kt=new Array(me);for(E=0;E<me;E++)Kt[E]=0;for(E=j;E<=O;E++){const Ne=a[E];if(he>=me){Oe(Ne,b,y,!0);continue}let We;if(Ne.key!=null)We=re.get(Ne.key);else for(ie=J;ie<=V;ie++)if(Kt[ie-J]===0&&xt(Ne,d[ie])){We=ie;break}We===void 0?Oe(Ne,b,y,!0):(Kt[We-J]=E+1,We>=Ke?Ke=We:Ge=!0,A(Ne,d[We],g,null,b,y,w,x,R),he++)}const ir=Ge?Dc(Kt):Ft;for(ie=ir.length-1,E=me-1;E>=0;E--){const Ne=J+E,We=d[Ne],or=d[Ne+1],lr=Ne+1<B?or.el||Co(or):_;Kt[E]===0?A(null,We,g,lr,b,y,w,x,R):Ge&&(ie<0||E!==ir[ie]?ke(We,g,lr,2):ie--)}}},ke=(a,d,g,_,b=null)=>{const{el:y,type:w,transition:x,children:R,shapeFlag:E}=a;if(E&6){ke(a.component.subTree,d,g,_);return}if(E&128){a.suspense.move(d,g,_);return}if(E&64){w.move(a,d,g,$);return}if(w===Pe){s(y,d,g);for(let O=0;O<R.length;O++)ke(R[O],d,g,_);s(a.anchor,d,g);return}if(w===hs){D(a,d,g);return}if(_!==2&&E&1&&x)if(_===0)x.beforeEnter(y),s(y,d,g),ye(()=>x.enter(y),b);else{const{leave:O,delayLeave:V,afterLeave:j}=x,J=()=>{a.ctx.isUnmounted?r(y):s(y,d,g)},re=()=>{y._isLeaving&&y[Ye](!0),O(y,()=>{J(),j&&j()})};V?V(y,J,re):re()}else s(y,d,g)},Oe=(a,d,g,_=!1,b=!1)=>{const{type:y,props:w,ref:x,children:R,dynamicChildren:E,shapeFlag:B,patchFlag:O,dirs:V,cacheIndex:j,memo:J}=a;if(O===-2&&(b=!1),x!=null&&(ct(),nn(x,null,g,a,!0),ft()),j!=null&&(d.renderCache[j]=void 0),B&256){d.ctx.deactivate(a);return}const re=B&1&&V,ie=!Ht(a);let he;if(ie&&(he=w&&w.onVnodeBeforeUnmount)&&qe(he,d,a),B&6)Et(a.component,g,_);else{if(B&128){a.suspense.unmount(g,_);return}re&&At(a,null,d,"beforeUnmount"),B&64?a.type.remove(a,d,g,$,_):E&&!E.hasOnce&&(y!==Pe||O>0&&O&64)?Fe(E,d,g,!1,!0):(y===Pe&&O&384||!b&&B&16)&&Fe(R,d,g),_&&It(a)}const me=J!=null&&j==null;(ie&&(he=w&&w.onVnodeUnmounted)||re||me)&&ye(()=>{he&&qe(he,d,a),re&&At(a,null,d,"unmounted"),me&&(a.el=null)},g)},It=a=>{const{type:d,el:g,anchor:_,transition:b}=a;if(d===Pe){Nt(g,_);return}if(d===hs){P(a);return}const y=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:w,delayLeave:x}=b,R=()=>w(g,y);x?x(a.el,y,R):R()}else y()},Nt=(a,d)=>{let g;for(;a!==d;)g=p(a),r(a),a=g;r(d)},Et=(a,d,g)=>{const{bum:_,scope:b,job:y,subTree:w,um:x,m:R,a:E}=a;Rr(R),Rr(E),_&&rs(_),b.stop(),y&&(y.flags|=8,Oe(w,a,d,g)),x&&ye(x,d),ye(()=>{a.isUnmounted=!0},d)},Fe=(a,d,g,_=!1,b=!1,y=0)=>{for(let w=y;w<a.length;w++)Oe(a[w],d,g,_,b)},v=a=>{if(a.shapeFlag&6)return v(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=p(a.anchor||a.el),g=d&&d[ki];return g?p(g):d};let N=!1;const T=(a,d,g)=>{let _;a==null?d._vnode&&(Oe(d._vnode,null,null,!0),_=d._vnode.component):A(d._vnode||null,a,d,null,null,null,g),d._vnode=a,N||(N=!0,hr(_),Hi(),N=!1)},$={p:A,um:Oe,m:ke,r:It,mt:ge,mc:le,pc:Z,pbc:G,n:v,o:e};return{render:T,hydrate:void 0,createApp:yc(T)}}function as({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 Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zs(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=it(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Zs(o,l)),l.type===es&&(l.patchFlag===-1&&(l=r[i]=it(l)),l.el=o.el),l.type===Ae&&!l.el&&(l.el=o.el)}}function Dc(e){const t=e.slice(),n=[0];let s,r,i,o,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(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ao(t)}function Rr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Co(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Co(t.subTree):null}const So=e=>e.__isSuspense;function Lc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Kl(e)}const Pe=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),hs=Symbol.for("v-stc"),rn=[];let Me=null;function Ps(e=!1){rn.push(Me=e?null:[])}function Fc(){rn.pop(),Me=rn[rn.length-1]||null}let an=1;function Ln(e,t=!1){an+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function Ro(e){return e.dynamicChildren=an>0?Me||Ft:null,Fc(),an>0&&Me&&Me.push(e),e}function Xu(e,t,n,s,r,i){return Ro(wo(e,t,n,s,r,i,!0))}function Is(e,t,n,s,r){return Ro(Te(e,t,n,s,r,!0))}function hn(e){return e?e.__v_isVNode===!0:!1}function xt(e,t){return e.type===t.type&&e.key===t.key}const xo=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||pe(e)||U(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function wo(e,t=null,n=null,s=0,r=null,i=e===Pe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xo(t),ref:t&&xn(t),scopeId:ji,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_e};return l?(er(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),an>0&&!o&&Me&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Me.push(c),c}const Te=$c;function $c(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===uc)&&(e=Ae),hn(e)){const l=vt(e,t,!0);return n&&er(l,n),an>0&&!i&&Me&&(l.shapeFlag&6?Me[Me.indexOf(e)]=l:Me.push(l)),l.patchFlag=-2,l}if(Jc(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=Us(l)),Q(c)&&(zn(c)&&!H(c)&&(c=ae({},c)),t.style=js(c))}const o=ce(e)?1:So(e)?128:Gi(e)?64:Q(e)?4:U(e)?2:0;return wo(e,t,n,s,r,o,i,!0)}function Vc(e){return e?zn(e)||mo(e)?ae({},e):e:null}function vt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Bc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&xo(u),ref:t&&t.ref?n&&i?H(i)?i.concat(xn(t)):[i,xn(t)]:xn(t):i,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!==Pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Pt(f,c.clone(f)),f}function Hc(e=" ",t=0){return Te(es,null,e,t)}function Zu(e="",t=!1){return t?(Ps(),Is(Ae,null,e)):Te(Ae,null,e)}function Xe(e){return e==null||typeof e=="boolean"?Te(Ae):H(e)?Te(Pe,null,e.slice()):hn(e)?it(e):Te(es,null,String(e))}function it(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function er(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),er(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!mo(t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),s&64?(n=16,t=[Hc(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bc(...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=Us([t.class,s.class]));else if(r==="style")t.style=js([t.style,s.style]);else if(Hn(r)){const i=t[r],o=s[r];o&&i!==o&&!(H(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!Bn(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function qe(e,t,n,s=null){je(e,t,7,[n,s])}const jc=fo();let Uc=0;function kc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||jc,i={uid:Uc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new mi(!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:yo(s,r),emitsOptions:ao(s,r),emit:null,emitted:null,propsDefaults:Y,inheritAttrs:s.inheritAttrs,ctx:Y,data:Y,props:Y,attrs:Y,slots:Y,refs:Y,setupState:Y,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=vc.bind(null,i),e.ce&&e.ce(i),i}let Ce=null;const _n=()=>Ce||_e;let Fn,Ns;{const e=Gn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),Ns=t("__VUE_SSR_SETTERS__",n=>dn=n)}const yn=e=>{const t=Ce;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},xr=()=>{Ce&&Ce.scope.off(),Fn(null)};function To(e){return e.vnode.shapeFlag&4}let dn=!1;function Gc(e,t=!1,n=!1){t&&Ns(t);const{props:s,children:r}=e.vnode,i=To(e);Rc(e,s,i,t),Oc(e,r,n||t);const o=i?Kc(e,t):void 0;return t&&Ns(!1),o}function Kc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ac);const{setup:s}=n;if(s){ct();const r=e.setupContext=s.length>1?qc(e):null,i=yn(e),o=mn(s,e,0,[e.props,r]),l=fi(o);if(ft(),i(),(l||e.sp)&&!Ht(e)&&Xi(e),l){if(o.then(xr,xr),t)return o.then(c=>{wr(e,c)}).catch(c=>{Jn(c,e,0)});e.asyncDep=o}else wr(e,o)}else Oo(e)}function wr(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Q(t)&&(e.setupState=Di(t)),Oo(e)}function Oo(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const r=yn(e);ct();try{hc(e)}finally{ft(),r()}}}const Wc={get(e,t){return Ee(e,"get",""),e[t]}};function qc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Wc),slots:e.slots,emit:e.emit,expose:t}}function ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Di(Il(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}})):e.proxy}function zc(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function Jc(e){return U(e)&&"__vccOpts"in e}const Ve=(e,t)=>Bl(e,t,dn);function tr(e,t,n){try{Ln(-1);const s=arguments.length;return s===2?Q(t)&&!H(t)?hn(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&hn(n)&&(n=[n]),Te(e,t,n))}finally{Ln(1)}}const Yc="3.5.31";let Ms;const Tr=typeof window<"u"&&window.trustedTypes;if(Tr)try{Ms=Tr.createPolicy("vue",{createHTML:e=>e})}catch{}const Po=Ms?e=>Ms.createHTML(e):e=>e,Qc="http://www.w3.org/2000/svg",Xc="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,Or=rt&&rt.createElement("template"),Zc={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"?rt.createElementNS(Qc,e):t==="mathml"?rt.createElementNS(Xc,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Or.innerHTML=Po(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Or.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[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dt="transition",zt="animation",Ut=Symbol("_vtc"),Io={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},No=ae({},qi,Io),ef=e=>(e.displayName="Transition",e.props=No,e),ea=ef((e,{slots:t})=>tr(ec,Mo(e),t)),St=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pr=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function Mo(e){const t={};for(const I in e)I in Io||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,C=tf(r),A=C&&C[0],L=C&&C[1],{onBeforeEnter:M,onEnter:S,onEnterCancelled:D,onLeave:P,onLeaveCancelled:k,onBeforeAppear:K=M,onAppear:W=S,onAppearCancelled:le=D}=t,F=(I,X,ge,Ie)=>{I._enterCancelled=Ie,gt(I,X?f:l),gt(I,X?u:o),ge&&ge()},G=(I,X)=>{I._isLeaving=!1,gt(I,h),gt(I,m),gt(I,p),X&&X()},ne=I=>(X,ge)=>{const Ie=I?W:S,ue=()=>F(X,I,ge);St(Ie,[X,ue]),Ir(()=>{gt(X,I?c:i),ze(X,I?f:l),Pr(Ie)||Nr(X,s,A,ue)})};return ae(t,{onBeforeEnter(I){St(M,[I]),ze(I,i),ze(I,o)},onBeforeAppear(I){St(K,[I]),ze(I,c),ze(I,u)},onEnter:ne(!1),onAppear:ne(!0),onLeave(I,X){I._isLeaving=!0;const ge=()=>G(I,X);ze(I,h),I._enterCancelled?(ze(I,p),Ds(I)):(Ds(I),ze(I,p)),Ir(()=>{I._isLeaving&&(gt(I,h),ze(I,m),Pr(P)||Nr(I,s,L,ge))}),St(P,[I,ge])},onEnterCancelled(I){F(I,!1,void 0,!0),St(D,[I])},onAppearCancelled(I){F(I,!0,void 0,!0),St(le,[I])},onLeaveCancelled(I){G(I),St(k,[I])}})}function tf(e){if(e==null)return null;if(Q(e))return[ds(e.enter),ds(e.leave)];{const t=ds(e);return[t,t]}}function ds(e){return nl(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ut]||(e[Ut]=new Set)).add(t)}function gt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ut];n&&(n.delete(t),n.size||(e[Ut]=void 0))}function Ir(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nf=0;function Nr(e,t,n,s){const r=e._endId=++nf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Do(e,t);if(!o)return s();const u=o+"end";let f=0;const h=()=>{e.removeEventListener(u,p),i()},p=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(u,p)}function Do(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${dt}Delay`),i=s(`${dt}Duration`),o=Mr(r,i),l=s(`${zt}Delay`),c=s(`${zt}Duration`),u=Mr(l,c);let f=null,h=0,p=0;t===dt?o>0&&(f=dt,h=o,p=i.length):t===zt?u>0&&(f=zt,h=u,p=c.length):(h=Math.max(o,u),f=h>0?o>u?dt:zt:null,p=f?f===dt?i.length:c.length:0);const m=f===dt&&/\b(?:transform|all)(?:,|$)/.test(s(`${dt}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:m}}function Mr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Dr(n)+Dr(e[s])))}function Dr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ds(e){return(e?e.ownerDocument:document).body.offsetHeight}function sf(e,t,n){const s=e[Ut];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $n=Symbol("_vod"),Lo=Symbol("_vsh"),ta={name:"show",beforeMount(e,{value:t},{transition:n}){e[$n]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Jt(e,!0),s.enter(e)):s.leave(e,()=>{Jt(e,!1)}):Jt(e,t))},beforeUnmount(e,{value:t}){Jt(e,t)}};function Jt(e,t){e.style.display=t?e[$n]:"none",e[Lo]=!t}const rf=Symbol(""),of=/(?:^|;)\s*display\s*:/;function lf(e,t,n){const s=e.style,r=ce(n);let i=!1;if(n&&!r){if(t)if(ce(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&wn(s,l,"")}else for(const o in t)n[o]==null&&wn(s,o,"");for(const o in n)o==="display"&&(i=!0),wn(s,o,n[o])}else if(r){if(t!==n){const o=s[rf];o&&(n+=";"+o),s.cssText=n,i=of.test(n)}}else t&&e.removeAttribute("style");$n in e&&(e[$n]=i?s.display:"",e[Lo]&&(s.display="none"))}const Lr=/\s*!important$/;function wn(e,t,n){if(H(n))n.forEach(s=>wn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=cf(e,t);Lr.test(n)?e.setProperty(bt(s),n.replace(Lr,""),"important"):e[s]=n}}const Fr=["Webkit","Moz","ms"],ps={};function cf(e,t){const n=ps[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return ps[t]=s;s=kn(s);for(let r=0;r<Fr.length;r++){const i=Fr[r]+s;if(i in e)return ps[t]=i}return t}const $r="http://www.w3.org/1999/xlink";function Vr(e,t,n,s,r,i=cl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS($r,t.slice(6,t.length)):e.setAttributeNS($r,t,n):n==null||i&&!di(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Le(n)?String(n):n)}function Hr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Po(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="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 o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=di(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function ff(e,t,n,s){e.addEventListener(t,n,s)}function uf(e,t,n,s){e.removeEventListener(t,n,s)}const Br=Symbol("_vei");function af(e,t,n,s,r=null){const i=e[Br]||(e[Br]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=hf(t);if(s){const u=i[t]=gf(s,r);ff(e,l,u,c)}else o&&(uf(e,l,o,c),i[t]=void 0)}}const jr=/(?:Once|Passive|Capture)$/;function hf(e){let t;if(jr.test(e)){t={};let s;for(;s=e.match(jr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bt(e.slice(2)),t]}let gs=0;const df=Promise.resolve(),pf=()=>gs||(df.then(()=>gs=0),gs=Date.now());function gf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;je(mf(s,n.value),t,5,[s])};return n.value=e,n.attached=pf(),n}function mf(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ur=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_f=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?sf(e,s,o):t==="style"?lf(e,n,s):Hn(t)?Bn(t)||af(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yf(e,t,s,o))?(Hr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Vr(e,t,s,o,i,t!=="value")):e._isVueCE&&(vf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ce(s)))?Hr(e,Se(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Vr(e,t,s,o))};function yf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ur(t)&&U(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 Ur(t)&&ce(n)?!1:t in e}function vf(e,t){const n=e._def.props;if(!n)return!1;const s=Se(t);return Array.isArray(n)?n.some(r=>Se(r)===s):Object.keys(n).some(r=>Se(r)===s)}const Fo=new WeakMap,$o=new WeakMap,Vn=Symbol("_moveCb"),kr=Symbol("_enterCb"),bf=e=>(delete e.props.mode,e),Ef=bf({name:"TransitionGroup",props:ae({},No,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_n(),s=Wi();let r,i;return to(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Rf(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(Af),r.forEach(Cf);const l=r.filter(Sf);Ds(n.vnode.el),l.forEach(c=>{const u=c.el,f=u.style;ze(u,o),f.transform=f.webkitTransform=f.transitionDuration="";const h=u[Vn]=p=>{p&&p.target!==u||(!p||p.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",h),u[Vn]=null,gt(u,o))};u.addEventListener("transitionend",h)}),r=[]}),()=>{const o=z(e),l=Mo(o);let c=o.tag||Pe;if(r=[],i)for(let u=0;u<i.length;u++){const f=i[u];f.el&&f.el instanceof Element&&(r.push(f),Pt(f,un(f,l,s,n)),Fo.set(f,Vo(f.el)))}i=t.default?Ys(t.default()):[];for(let u=0;u<i.length;u++){const f=i[u];f.key!=null&&Pt(f,un(f,l,s,n))}return Te(c,null,i)}}}),na=Ef;function Af(e){const t=e.el;t[Vn]&&t[Vn](),t[kr]&&t[kr]()}function Cf(e){$o.set(e,Vo(e.el))}function Sf(e){const t=Fo.get(e),n=$o.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el,o=i.style,l=i.getBoundingClientRect();let c=1,u=1;return i.offsetWidth&&(c=l.width/i.offsetWidth),i.offsetHeight&&(u=l.height/i.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(c-1)<.01&&(c=1),Math.abs(u-1)<.01&&(u=1),o.transform=o.webkitTransform=`translate(${s/c}px,${r/u}px)`,o.transitionDuration="0s",e}}function Vo(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Rf(e,t,n){const s=e.cloneNode(),r=e[Ut];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Do(s);return i.removeChild(s),o}const xf=["ctrl","shift","alt","meta"],wf={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)=>xf.some(n=>e[`${n}Key`]&&!t.includes(n))},sa=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=wf[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},Tf=ae({patchProp:_f},Zc);let Gr;function Of(){return Gr||(Gr=Ic(Tf))}const ra=((...e)=>{const t=Of().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=If(s);if(!r)return;const i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Pf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Pf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function If(e){return ce(e)?document.querySelector(e):e}const Lt=typeof document<"u";function Ho(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Nf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ho(e.default)}const ee=Object.assign;function ms(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ue(r)?r.map(e):e(r)}return n}const on=()=>{},Ue=Array.isArray;function Kr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}let fe=(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 Bo=Symbol("");fe.MATCHER_NOT_FOUND+"",fe.NAVIGATION_GUARD_REDIRECT+"",fe.NAVIGATION_ABORTED+"",fe.NAVIGATION_CANCELLED+"",fe.NAVIGATION_DUPLICATED+"";function kt(e,t){return ee(new Error,{type:e,[Bo]:!0},t)}function st(e,t){return e instanceof Error&&Bo in e&&(t==null||!!(e.type&t))}const Mf=["params","query","hash"];function Df(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Mf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Lf=Symbol(""),Wr=Symbol(""),nr=Symbol(""),sr=Symbol(""),Ls=Symbol("");function ia(e){return et(sr)}const jo=/#/g,Ff=/&/g,$f=/\//g,Vf=/=/g,Hf=/\?/g,Uo=/\+/g,Bf=/%5B/g,jf=/%5D/g,ko=/%5E/g,Uf=/%60/g,Go=/%7B/g,kf=/%7C/g,Ko=/%7D/g,Gf=/%20/g;function rr(e){return e==null?"":encodeURI(""+e).replace(kf,"|").replace(Bf,"[").replace(jf,"]")}function Kf(e){return rr(e).replace(Go,"{").replace(Ko,"}").replace(ko,"^")}function Fs(e){return rr(e).replace(Uo,"%2B").replace(Gf,"+").replace(jo,"%23").replace(Ff,"%26").replace(Uf,"`").replace(Go,"{").replace(Ko,"}").replace(ko,"^")}function Wf(e){return Fs(e).replace(Vf,"%3D")}function qf(e){return rr(e).replace(jo,"%23").replace(Hf,"%3F")}function zf(e){return qf(e).replace($f,"%2F")}function pn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Jf=/\/$/,Yf=e=>e.replace(Jf,"");function _s(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=eu(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:pn(o)}}function Qf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Gt(t.matched[s],n.matched[r])&&Wo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Wo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Zf(e[n],t[n]))return!1;return!0}function Zf(e,t){return Ue(e)?zr(e,t):Ue(t)?zr(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function zr(e,t){return Ue(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function eu(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 i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let $s=(function(e){return e.pop="pop",e.push="push",e})({}),ys=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function tu(e){if(!e)if(Lt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yf(e)}const nu=/^[^#]+#/;function su(e,t){return e.replace(nu,"#")+t}function ru(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 ns=()=>({left:window.scrollX,top:window.scrollY});function iu(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=ru(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 Jr(e,t){return(history.state?history.state.position-t:-1)+e}const Vs=new Map;function ou(e,t){Vs.set(e,t)}function lu(e){const t=Vs.get(e);return Vs.delete(e),t}function cu(e){return typeof e=="string"||e&&typeof e=="object"}function qo(e){return typeof e=="string"||typeof e=="symbol"}function fu(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(Uo," "),i=r.indexOf("="),o=pn(i<0?r:r.slice(0,i)),l=i<0?null:pn(r.slice(i+1));if(o in t){let c=t[o];Ue(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function Yr(e){let t="";for(let n in e){const s=e[n];if(n=Wf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ue(s)?s.map(r=>r&&Fs(r)):[s&&Fs(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function uu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ue(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function Yt(){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 _t(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(kt(fe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):cu(p)?c(kt(fe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},f=i(()=>e.call(s&&s.instances[r],t,n,u));let h=Promise.resolve(f);e.length<3&&(h=h.then(u)),h.catch(p=>c(p))})}function vs(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Ho(c)){const u=(c.__vccOpts||c)[t];u&&i.push(_t(u,n,s,o,l,r))}else{let u=c();i.push(()=>u.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const h=Nf(f)?f.default:f;o.mods[l]=f,o.components[l]=h;const p=(h.__vccOpts||h)[t];return p&&_t(p,n,s,o,l,r)()}))}}return i}function au(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(u=>Gt(u,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(u=>Gt(u,c))||r.push(c))}return[n,s,r]}let hu=()=>location.protocol+"//"+location.host;function zo(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),qr(l,"")}return qr(n,e)+s+r}function du(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=zo(e,location),C=n.value,A=t.value;let L=0;if(p){if(n.value=m,t.value=p,o&&o===C){o=null;return}L=A?p.position-A.position:0}else s(m);r.forEach(M=>{M(n.value,C,{delta:L,type:$s.pop,direction:L?L>0?ys.forward:ys.back:ys.unknown})})};function c(){o=n.value}function u(p){r.push(p);const m=()=>{const C=r.indexOf(p);C>-1&&r.splice(C,1)};return i.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ee({},p.state,{scroll:ns()}),"")}}function h(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:u,destroy:h}}function Qr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ns():null}}function pu(e){const{history:t,location:n}=window,s={value:zo(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:hu()+e+c;try{t[f?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function o(c,u){i(c,ee({},t.state,Qr(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const f=ee({},r.value,t.state,{forward:c,scroll:ns()});i(f.current,f,!0),i(c,ee({},Qr(s.value,c,null),{position:f.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function gu(e){e=tu(e);const t=pu(e),n=du(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=ee({location:"",base:e,go:s,createHref:su.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function oa(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),gu(e)}let wt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var de=(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})(de||{});const mu={type:wt.Static,value:""},_u=/[a-zA-Z0-9_]/;function yu(e){if(!e)return[[]];if(e==="/")return[[mu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=de.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,u="",f="";function h(){u&&(n===de.Static?i.push({type:wt.Static,value:u}):n===de.Param||n===de.ParamRegExp||n===de.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:wt.Param,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==de.ParamRegExp){s=n,n=de.EscapeNext;continue}switch(n){case de.Static:c==="/"?(u&&h(),o()):c===":"?(h(),n=de.Param):p();break;case de.EscapeNext:p(),n=s;break;case de.Param:c==="("?n=de.ParamRegExp:_u.test(c)?p():(h(),n=de.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case de.ParamRegExp:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=de.ParamRegExpEnd:f+=c;break;case de.ParamRegExpEnd:h(),n=de.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===de.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),h(),o(),r}const Xr="[^/]+?",vu={sensitive:!1,strict:!1,start:!0,end:!0};var xe=(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})(xe||{});const bu=/[.+*?^${}()[\]/\\]/g;function Eu(e,t){const n=ee({},vu,t),s=[];let r=n.start?"^":"";const i=[];for(const u of e){const f=u.length?[]:[xe.Root];n.strict&&!u.length&&(r+="/");for(let h=0;h<u.length;h++){const p=u[h];let m=xe.Segment+(n.sensitive?xe.BonusCaseSensitive:0);if(p.type===wt.Static)h||(r+="/"),r+=p.value.replace(bu,"\\$&"),m+=xe.Static;else if(p.type===wt.Param){const{value:C,repeatable:A,optional:L,regexp:M}=p;i.push({name:C,repeatable:A,optional:L});const S=M||Xr;if(S!==Xr){m+=xe.BonusCustomRegExp;try{new RegExp(`(${S})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${C}" (${S}): `+P.message)}}let D=A?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;h||(D=L&&u.length<2?`(?:/${D})`:"/"+D),L&&(D+="?"),r+=D,m+=xe.Dynamic,L&&(m+=xe.BonusOptional),A&&(m+=xe.BonusRepeatable),S===".*"&&(m+=xe.BonusWildcard)}f.push(m)}s.push(f)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=xe.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(u){const f=u.match(o),h={};if(!f)return null;for(let p=1;p<f.length;p++){const m=f[p]||"",C=i[p-1];h[C.name]=m&&C.repeatable?m.split("/"):m}return h}function c(u){let f="",h=!1;for(const p of e){(!h||!f.endsWith("/"))&&(f+="/"),h=!1;for(const m of p)if(m.type===wt.Static)f+=m.value;else if(m.type===wt.Param){const{value:C,repeatable:A,optional:L}=m,M=C in u?u[C]:"";if(Ue(M)&&!A)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const S=Ue(M)?M.join("/"):M;if(!S)if(L)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):h=!0);else throw new Error(`Missing required param "${C}"`);f+=S}}return f||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function Au(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]===xe.Static+xe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===xe.Static+xe.Segment?1:-1:0}function Jo(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Au(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Zr(s))return 1;if(Zr(r))return-1}return r.length-s.length}function Zr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Cu={strict:!1,end:!0,sensitive:!1};function Su(e,t,n){const s=Eu(yu(e.path),n),r=ee(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ru(e,t){const n=[],s=new Map;t=Kr(Cu,t);function r(h){return s.get(h)}function i(h,p,m){const C=!m,A=ti(h);A.aliasOf=m&&m.record;const L=Kr(t,h),M=[A];if("alias"in h){const P=typeof h.alias=="string"?[h.alias]:h.alias;for(const k of P)M.push(ti(ee({},A,{components:m?m.record.components:A.components,path:k,aliasOf:m?m.record:A})))}let S,D;for(const P of M){const{path:k}=P;if(p&&k[0]!=="/"){const K=p.record.path,W=K[K.length-1]==="/"?"":"/";P.path=p.record.path+(k&&W+k)}if(S=Su(P,p,L),m?m.alias.push(S):(D=D||S,D!==S&&D.alias.push(S),C&&h.name&&!ni(S)&&o(h.name)),Yo(S)&&c(S),A.children){const K=A.children;for(let W=0;W<K.length;W++)i(K[W],S,m&&m.children[W])}m=m||S}return D?()=>{o(D)}:on}function o(h){if(qo(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function l(){return n}function c(h){const p=Tu(h,n);n.splice(p,0,h),h.record.name&&!ni(h)&&s.set(h.record.name,h)}function u(h,p){let m,C={},A,L;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw kt(fe.MATCHER_NOT_FOUND,{location:h});L=m.record.name,C=ee(ei(p.params,m.keys.filter(D=>!D.optional).concat(m.parent?m.parent.keys.filter(D=>D.optional):[]).map(D=>D.name)),h.params&&ei(h.params,m.keys.map(D=>D.name))),A=m.stringify(C)}else if(h.path!=null)A=h.path,m=n.find(D=>D.re.test(A)),m&&(C=m.parse(A),L=m.record.name);else{if(m=p.name?s.get(p.name):n.find(D=>D.re.test(p.path)),!m)throw kt(fe.MATCHER_NOT_FOUND,{location:h,currentLocation:p});L=m.record.name,C=ee({},p.params,h.params),A=m.stringify(C)}const M=[];let S=m;for(;S;)M.unshift(S.record),S=S.parent;return{name:L,path:A,params:C,matched:M,meta:wu(M)}}e.forEach(h=>i(h));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function ei(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ti(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xu(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 xu(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 ni(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wu(e){return e.reduce((t,n)=>ee(t,n.meta),{})}function Tu(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Jo(e,t[i])<0?s=i:n=i+1}const r=Ou(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ou(e){let t=e;for(;t=t.parent;)if(Yo(t)&&Jo(e,t)===0)return t}function Yo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function si(e){const t=et(nr),n=et(sr),s=Ve(()=>{const c=yt(e.to);return t.resolve(c)}),r=Ve(()=>{const{matched:c}=s.value,{length:u}=c,f=c[u-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(Gt.bind(null,f));if(p>-1)return p;const m=ri(c[u-2]);return u>1&&ri(f)===m&&h[h.length-1].path!==m?h.findIndex(Gt.bind(null,c[u-2])):p}),i=Ve(()=>r.value>-1&&Du(n.params,s.value.params)),o=Ve(()=>r.value>-1&&r.value===n.matched.length-1&&Wo(n.params,s.value.params));function l(c={}){if(Mu(c)){const u=t[yt(e.replace)?"replace":"push"](yt(e.to)).catch(on);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:Ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Pu(e){return e.length===1?e[0]:e}const Iu=Qi({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:si,setup(e,{slots:t}){const n=qn(si(e)),{options:s}=et(nr),r=Ve(()=>({[ii(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ii(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Pu(t.default(n));return e.custom?i:tr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Nu=Iu;function Mu(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 Du(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(!Ue(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function ri(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ii=(e,t,n)=>e??t??n,Lu=Qi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(Ls),r=Ve(()=>e.route||s.value),i=et(Wr,0),o=Ve(()=>{let u=yt(i);const{matched:f}=r.value;let h;for(;(h=f[u])&&!h.components;)u++;return u}),l=Ve(()=>r.value.matched[o.value]);Cn(Wr,Ve(()=>o.value+1)),Cn(Lf,l),Cn(Ls,r);const c=Ni();return Sn(()=>[c.value,l.value,e.name],([u,f,h],[p,m,C])=>{f&&(f.instances[h]=u,m&&m!==f&&u&&u===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),u&&f&&(!m||!Gt(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(A=>A(u))},{flush:"post"}),()=>{const u=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return oi(n.default,{Component:p,route:u});const m=h.props[f],C=m?m===!0?u.params:typeof m=="function"?m(u):m:null,L=tr(p,ee({},C,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return oi(n.default,{Component:L,route:u})||L}}});function oi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Fu=Lu;function la(e){const t=Ru(e.routes,e),n=e.parseQuery||fu,s=e.stringifyQuery||Yr,r=e.history,i=Yt(),o=Yt(),l=Yt(),c=Nl(pt);let u=pt;Lt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ms.bind(null,v=>""+v),h=ms.bind(null,zf),p=ms.bind(null,pn);function m(v,N){let T,$;return qo(v)?(T=t.getRecordMatcher(v),$=N):$=v,t.addRoute($,T)}function C(v){const N=t.getRecordMatcher(v);N&&t.removeRoute(N)}function A(){return t.getRoutes().map(v=>v.record)}function L(v){return!!t.getRecordMatcher(v)}function M(v,N){if(N=ee({},N||c.value),typeof v=="string"){const g=_s(n,v,N.path),_=t.resolve({path:g.path},N),b=r.createHref(g.fullPath);return ee(g,_,{params:p(_.params),hash:pn(g.hash),redirectedFrom:void 0,href:b})}let T;if(v.path!=null)T=ee({},v,{path:_s(n,v.path,N.path).path});else{const g=ee({},v.params);for(const _ in g)g[_]==null&&delete g[_];T=ee({},v,{params:h(g)}),N.params=h(N.params)}const $=t.resolve(T,N),q=v.hash||"";$.params=f(p($.params));const a=Qf(s,ee({},v,{hash:Kf(q),path:$.path})),d=r.createHref(a);return ee({fullPath:a,hash:q,query:s===Yr?uu(v.query):v.query||{}},$,{redirectedFrom:void 0,href:d})}function S(v){return typeof v=="string"?_s(n,v,c.value.path):ee({},v)}function D(v,N){if(u!==v)return kt(fe.NAVIGATION_CANCELLED,{from:N,to:v})}function P(v){return W(v)}function k(v){return P(ee(S(v),{replace:!0}))}function K(v,N){const T=v.matched[v.matched.length-1];if(T&&T.redirect){const{redirect:$}=T;let q=typeof $=="function"?$(v,N):$;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=S(q):{path:q},q.params={}),ee({query:v.query,hash:v.hash,params:q.path!=null?{}:v.params},q)}}function W(v,N){const T=u=M(v),$=c.value,q=v.state,a=v.force,d=v.replace===!0,g=K(T,$);if(g)return W(ee(S(g),{state:typeof g=="object"?ee({},q,g.state):q,force:a,replace:d}),N||T);const _=T;_.redirectedFrom=N;let b;return!a&&Xf(s,$,T)&&(b=kt(fe.NAVIGATION_DUPLICATED,{to:_,from:$}),ke($,$,!0,!1)),(b?Promise.resolve(b):G(_,$)).catch(y=>st(y)?st(y,fe.NAVIGATION_GUARD_REDIRECT)?y:ht(y):Z(y,_,$)).then(y=>{if(y){if(st(y,fe.NAVIGATION_GUARD_REDIRECT))return W(ee({replace:d},S(y.to),{state:typeof y.to=="object"?ee({},q,y.to.state):q,force:a}),N||_)}else y=I(_,$,!0,d,q);return ne(_,$,y),y})}function le(v,N){const T=D(v,N);return T?Promise.reject(T):Promise.resolve()}function F(v){const N=Nt.values().next().value;return N&&typeof N.runWithContext=="function"?N.runWithContext(v):v()}function G(v,N){let T;const[$,q,a]=au(v,N);T=vs($.reverse(),"beforeRouteLeave",v,N);for(const g of $)g.leaveGuards.forEach(_=>{T.push(_t(_,v,N))});const d=le.bind(null,v,N);return T.push(d),Fe(T).then(()=>{T=[];for(const g of i.list())T.push(_t(g,v,N));return T.push(d),Fe(T)}).then(()=>{T=vs(q,"beforeRouteUpdate",v,N);for(const g of q)g.updateGuards.forEach(_=>{T.push(_t(_,v,N))});return T.push(d),Fe(T)}).then(()=>{T=[];for(const g of a)if(g.beforeEnter)if(Ue(g.beforeEnter))for(const _ of g.beforeEnter)T.push(_t(_,v,N));else T.push(_t(g.beforeEnter,v,N));return T.push(d),Fe(T)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),T=vs(a,"beforeRouteEnter",v,N,F),T.push(d),Fe(T))).then(()=>{T=[];for(const g of o.list())T.push(_t(g,v,N));return T.push(d),Fe(T)}).catch(g=>st(g,fe.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function ne(v,N,T){l.list().forEach($=>F(()=>$(v,N,T)))}function I(v,N,T,$,q){const a=D(v,N);if(a)return a;const d=N===pt,g=Lt?history.state:{};T&&($||d?r.replace(v.fullPath,ee({scroll:d&&g&&g.scroll},q)):r.push(v.fullPath,q)),c.value=v,ke(v,N,T,d),ht()}let X;function ge(){X||(X=r.listen((v,N,T)=>{if(!Et.listening)return;const $=M(v),q=K($,Et.currentRoute.value);if(q){W(ee(q,{replace:!0,force:!0}),$).catch(on);return}u=$;const a=c.value;Lt&&ou(Jr(a.fullPath,T.delta),ns()),G($,a).catch(d=>st(d,fe.NAVIGATION_ABORTED|fe.NAVIGATION_CANCELLED)?d:st(d,fe.NAVIGATION_GUARD_REDIRECT)?(W(ee(S(d.to),{force:!0}),$).then(g=>{st(g,fe.NAVIGATION_ABORTED|fe.NAVIGATION_DUPLICATED)&&!T.delta&&T.type===$s.pop&&r.go(-1,!1)}).catch(on),Promise.reject()):(T.delta&&r.go(-T.delta,!1),Z(d,$,a))).then(d=>{d=d||I($,a,!1),d&&(T.delta&&!st(d,fe.NAVIGATION_CANCELLED)?r.go(-T.delta,!1):T.type===$s.pop&&st(d,fe.NAVIGATION_ABORTED|fe.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ne($,a,d)}).catch(on)}))}let Ie=Yt(),ue=Yt(),se;function Z(v,N,T){ht(v);const $=ue.list();return $.length?$.forEach(q=>q(v,N,T)):console.error(v),Promise.reject(v)}function tt(){return se&&c.value!==pt?Promise.resolve():new Promise((v,N)=>{Ie.add([v,N])})}function ht(v){return se||(se=!v,ge(),Ie.list().forEach(([N,T])=>v?T(v):N()),Ie.reset()),v}function ke(v,N,T,$){const{scrollBehavior:q}=e;if(!Lt||!q)return Promise.resolve();const a=!T&&lu(Jr(v.fullPath,0))||($||!T)&&history.state&&history.state.scroll||null;return $i().then(()=>q(v,N,a)).then(d=>d&&iu(d)).catch(d=>Z(d,v,N))}const Oe=v=>r.go(v);let It;const Nt=new Set,Et={currentRoute:c,listening:!0,addRoute:m,removeRoute:C,clearRoutes:t.clearRoutes,hasRoute:L,getRoutes:A,resolve:M,options:e,push:P,replace:k,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:ue.add,isReady:tt,install(v){v.component("RouterLink",Nu),v.component("RouterView",Fu),v.config.globalProperties.$router=Et,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>yt(c)}),Lt&&!It&&c.value===pt&&(It=!0,P(r.location).catch($=>{}));const N={};for(const $ in pt)Object.defineProperty(N,$,{get:()=>c.value[$],enumerable:!0});v.provide(nr,Et),v.provide(sr,Ii(N)),v.provide(Ls,c);const T=v.unmount;Nt.add(v),v.unmount=function(){Nt.delete(v),Nt.size<1&&(u=pt,X&&X(),X=null,c.value=pt,It=!1,se=!1),T()}}};function Fe(v){return v.reduce((N,T)=>N.then(()=>F(T)),Promise.resolve())}return Et}export{ta as $,Se as A,hn as B,Ae as C,_n as D,Cn as E,Pe as F,no as G,Cs as H,eo as I,Ku as J,nc as K,tc as L,Vu as M,$u as N,z as O,al as P,so as Q,Bc as R,Hu as S,na as T,tr as U,Bu as V,la as W,oa as X,ra as Y,sa as Z,Uu as _,Sn as a,Ju as a0,Zu as a1,ea as a2,fc as a3,Qu as a4,Yu as a5,pe as a6,rc as a7,vt as a8,to as a9,es as aa,qu as ab,qn as b,Te as c,Qi as d,Hc as e,Ve as f,Xu as g,js as h,Us as i,wo as j,zu as k,Wl as l,et as m,$i as n,Ps as o,Wu as p,ia as q,Ni as r,Is as s,ul as t,yt as u,Gu as v,ku as w,ju as x,Nl as y,kn as z};
|