@hsupu/copilot-api 0.8.1-beta.1 → 0.8.1-beta.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/dist/{dist-8vhX0s4a.mjs → dist-B3gFwWti.mjs} +2 -3
- package/dist/{dist-8vhX0s4a.mjs.map → dist-B3gFwWti.mjs.map} +1 -1
- package/dist/main.mjs +2158 -2401
- package/dist/main.mjs.map +1 -1
- package/package.json +48 -23
- package/ui/history-v3/dist/assets/BaseSelect-CttLMFCN.js +1 -0
- package/ui/history-v3/dist/assets/BaseSelect-N-W6HPTu.css +1 -0
- package/ui/history-v3/dist/assets/DashboardPage-BYXNxjXb.css +1 -0
- package/ui/history-v3/dist/assets/DashboardPage-CgXivoWS.js +1 -0
- package/ui/history-v3/dist/assets/DetailPanel-CGpPxDDa.css +1 -0
- package/ui/history-v3/dist/assets/DetailPanel-EOQma5fZ.js +3 -0
- package/ui/history-v3/dist/assets/HistoryPage-PA0Yh3n3.css +1 -0
- package/ui/history-v3/dist/assets/HistoryPage-rhEb_UZG.js +1 -0
- package/ui/history-v3/dist/assets/LogsPage-BuPou1cg.css +1 -0
- package/ui/history-v3/dist/assets/LogsPage-CNXQuqMj.js +1 -0
- package/ui/history-v3/dist/assets/ModelsPage-Bpi7Y9GS.js +1 -0
- package/ui/history-v3/dist/assets/ModelsPage-F2KTxq2i.css +1 -0
- package/ui/history-v3/dist/assets/ProgressBar-6xzx-ZSc.js +1 -0
- package/ui/history-v3/dist/assets/{ProgressBar-B_0VSeE9.css → ProgressBar-CtfiTXLy.css} +1 -1
- package/ui/history-v3/dist/assets/UsagePage-COyq-DOU.css +1 -0
- package/ui/history-v3/dist/assets/UsagePage-CZfgTYCP.js +1 -0
- package/ui/history-v3/dist/assets/VChip-9UyCCNyg.js +1 -0
- package/ui/history-v3/dist/assets/VChip-B_fbAfwz.css +1 -0
- package/ui/history-v3/dist/assets/VDashboardPage-DXtj4agW.js +1 -0
- package/ui/history-v3/dist/assets/VDashboardPage-axfQtTiR.css +1 -0
- package/ui/history-v3/dist/assets/VDivider-D8zdArq0.js +1 -0
- package/ui/history-v3/dist/assets/VDivider-DITF6qCr.css +1 -0
- package/ui/history-v3/dist/assets/VHistoryPage-Dj0qUmWz.js +1 -0
- package/ui/history-v3/dist/assets/VHistoryPage-DqpLWYXo.css +1 -0
- package/ui/history-v3/dist/assets/VList-Bf0AJT_N.css +1 -0
- package/ui/history-v3/dist/assets/VList-Ct6gdZ-F.js +1 -0
- package/ui/history-v3/dist/assets/VLogsPage-BOA_17HS.js +1 -0
- package/ui/history-v3/dist/assets/VLogsPage-Dr3my9y3.css +1 -0
- package/ui/history-v3/dist/assets/VModelsPage-Bkon7sFs.css +1 -0
- package/ui/history-v3/dist/assets/VModelsPage-D-IbiiwR.js +1 -0
- package/ui/history-v3/dist/assets/VSpacer-DfbUir7X.css +1 -0
- package/ui/history-v3/dist/assets/VSpacer-F4vloCsf.js +1 -0
- package/ui/history-v3/dist/assets/VTable-B4qROCQu.js +1 -0
- package/ui/history-v3/dist/assets/VTable-BTui1tPX.css +1 -0
- package/ui/history-v3/dist/assets/VTooltip-9iBP-JhF.js +1 -0
- package/ui/history-v3/dist/assets/VTooltip-C1DKovoh.css +1 -0
- package/ui/history-v3/dist/assets/VUsagePage-B8WkBKET.js +1 -0
- package/ui/history-v3/dist/assets/VUsagePage-Se7R-H-Y.css +1 -0
- package/ui/history-v3/dist/assets/index-B8CP-fZd.css +1 -0
- package/ui/history-v3/dist/assets/index-cupXJxSz.js +18 -0
- package/ui/history-v3/dist/assets/materialdesignicons-webfont-B7mPwVP_.ttf +0 -0
- package/ui/history-v3/dist/assets/materialdesignicons-webfont-CSr8KVlo.eot +0 -0
- package/ui/history-v3/dist/assets/materialdesignicons-webfont-Dp5v-WZN.woff2 +0 -0
- package/ui/history-v3/dist/assets/materialdesignicons-webfont-PXm3-2wK.woff +0 -0
- package/ui/history-v3/dist/assets/useInjectedHistoryStore-Dx7UlhLw.js +1 -0
- package/ui/history-v3/dist/assets/useLogs-Bz9naVOB.js +1 -0
- package/ui/history-v3/dist/assets/usePolling-CRd-nhvF.js +1 -0
- package/ui/history-v3/dist/assets/{vendor-BJ2Uq5vY.js → vendor-CmGvxZwr.js} +15 -15
- package/ui/history-v3/dist/assets/vue-Bmo88J5t.js +1 -0
- package/ui/history-v3/dist/index.html +3 -3
- package/ui/history-v3/dist/assets/DashboardPage-B1uByGH4.js +0 -1
- package/ui/history-v3/dist/assets/DashboardPage-CabImjCg.css +0 -1
- package/ui/history-v3/dist/assets/HistoryPage-CcuFI_7q.js +0 -3
- package/ui/history-v3/dist/assets/HistoryPage-MBmz_wrp.css +0 -1
- package/ui/history-v3/dist/assets/LogsPage-CTboGme2.js +0 -1
- package/ui/history-v3/dist/assets/LogsPage-DnfMvMyI.css +0 -1
- package/ui/history-v3/dist/assets/ModelsPage-BCijEIH1.css +0 -1
- package/ui/history-v3/dist/assets/ModelsPage-B_sjc_hg.js +0 -1
- package/ui/history-v3/dist/assets/ProgressBar-BQxTnwIj.js +0 -1
- package/ui/history-v3/dist/assets/UsagePage-Nx_clyfV.css +0 -1
- package/ui/history-v3/dist/assets/UsagePage-Nxy64EGo.js +0 -1
- package/ui/history-v3/dist/assets/index-D5HcAJB-.css +0 -1
- package/ui/history-v3/dist/assets/index-DOp9l2lW.js +0 -2
- package/ui/history-v3/dist/assets/vue-CYcm9SLm.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
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};
|