18 lines
69 KiB
JavaScript
18 lines
69 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
|
|
* @vue/shared v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Ls(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const V={},nt=[],Pe=()=>{},jn=()=>!1,es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ts=e=>e.startsWith("onUpdate:"),se=Object.assign,Hs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},qr=Object.prototype.hasOwnProperty,$=(e,t)=>qr.call(e,t),R=Array.isArray,rt=e=>It(e)==="[object Map]",$n=e=>It(e)==="[object Set]",ln=e=>It(e)==="[object Date]",F=e=>typeof e=="function",J=e=>typeof e=="string",Me=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",Nn=e=>(U(e)||F(e))&&F(e.then)&&F(e.catch),Un=Object.prototype.toString,It=e=>Un.call(e),Jr=e=>It(e).slice(8,-1),Wn=e=>It(e)==="[object Object]",js=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xt=Ls(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Yr=/-\w/g,de=ss(e=>e.replace(Yr,t=>t.slice(1).toUpperCase())),zr=/\B([A-Z])/g,et=ss(e=>e.replace(zr,"-$1").toLowerCase()),Bn=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),as=ss(e=>e?`on${Bn(e)}`:""),Ce=(e,t)=>!Object.is(e,t),ds=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Kn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let cn;const ns=()=>cn||(cn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $s(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=J(n)?ti(n):$s(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(J(e)||U(e))return e}const Zr=/;(?![^(]*\))/g,Qr=/:([^]+)/,ei=/\/\*[^]*?\*\//g;function ti(e){const t={};return e.replace(ei,"").split(Zr).forEach(s=>{if(s){const n=s.split(Qr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ft(e){let t="";if(J(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=Ft(e[s]);n&&(t+=n+" ")}else if(U(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const si="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ni=Ls(si);function Vn(e){return!!e||e===""}function ri(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Ns(e[n],t[n]);return s}function Ns(e,t){if(e===t)return!0;let s=ln(e),n=ln(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Me(e),n=Me(t),s||n)return e===t;if(s=R(e),n=R(t),s||n)return s&&n?ri(e,t):!1;if(s=U(e),n=U(t),s||n){if(!s||!n)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),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Ns(e[o],t[o]))return!1}}return String(e)===String(t)}const Gn=e=>!!(e&&e.__v_isRef===!0),Ae=e=>J(e)?e:e==null?"":R(e)||U(e)&&(e.toString===Un||!F(e.toString))?Gn(e)?Ae(e.value):JSON.stringify(e,kn,2):String(e),kn=(e,t)=>Gn(t)?kn(e,t.value):rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[hs(n,i)+" =>"]=r,s),{})}:$n(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>hs(s))}:Me(t)?hs(t):U(t)&&!R(t)&&!Wn(t)?String(t):t,hs=(e,t="")=>{var s;return Me(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
* @vue/reactivity v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Z;class ii{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Z&&(Z.active?(this.parent=Z,this.index=(Z.scopes||(Z.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Z;try{return Z=this,t()}finally{Z=s}}}on(){++this._on===1&&(this.prevScope=Z,Z=this)}off(){if(this._on>0&&--this._on===0){if(Z===this)Z=this.prevScope;else{let t=Z;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function oi(){return Z}let K;const ps=new WeakSet;class qn{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,Z&&(Z.active?Z.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ps.has(this)&&(ps.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,fn(this),zn(this);const t=K,s=he;K=this,he=!0;try{return this.fn()}finally{Xn(this),K=t,he=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Bs(t);this.deps=this.depsTail=void 0,fn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ps.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ss(this)&&this.run()}get dirty(){return Ss(this)}}let Jn=0,yt,wt;function Yn(e,t=!1){if(e.flags|=8,t){e.next=wt,wt=e;return}e.next=yt,yt=e}function Us(){Jn++}function Ws(){if(--Jn>0)return;if(wt){let t=wt;for(wt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;yt;){let t=yt;for(yt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function zn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Bs(n),li(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function Ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===At)||(e.globalVersion=At,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ss(e))))return;e.flags|=2;const t=e.dep,s=K,n=he;K=e,he=!0;try{zn(e);const r=e.fn(e._value);(t.version===0||Ce(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{K=s,he=n,Xn(e),e.flags&=-3}}function Bs(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Bs(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function li(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let he=!0;const Qn=[];function Re(){Qn.push(he),he=!1}function Ie(){const e=Qn.pop();he=e===void 0?!0:e}function fn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=K;K=void 0;try{t()}finally{K=s}}}let At=0;class ci{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ks{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(!K||!he||K===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==K)s=this.activeLink=new ci(K,this),K.deps?(s.prevDep=K.depsTail,K.depsTail.nextDep=s,K.depsTail=s):K.deps=K.depsTail=s,er(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=K.depsTail,s.nextDep=void 0,K.depsTail.nextDep=s,K.depsTail=s,K.deps===s&&(K.deps=n)}return s}trigger(t){this.version++,At++,this.notify(t)}notify(t){Us();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ws()}}}function er(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)er(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Es=new WeakMap,Ze=Symbol(""),Cs=Symbol(""),Ot=Symbol("");function ee(e,t,s){if(he&&K){let n=Es.get(e);n||Es.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Ks),r.map=n,r.key=s),r.track()}}function He(e,t,s,n,r,i){const o=Es.get(e);if(!o){At++;return}const l=f=>{f&&f.trigger()};if(Us(),t==="clear")o.forEach(l);else{const f=R(e),d=f&&js(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,T)=>{(T==="length"||T===Ot||!Me(T)&&T>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Ot)),t){case"add":f?d&&l(o.get("length")):(l(o.get(Ze)),rt(e)&&l(o.get(Cs)));break;case"delete":f||(l(o.get(Ze)),rt(e)&&l(o.get(Cs)));break;case"set":rt(e)&&l(o.get(Ze));break}}Ws()}function tt(e){const t=j(e);return t===e?t:(ee(t,"iterate",Ot),ue(e)?t:t.map(pe))}function rs(e){return ee(e=j(e),"iterate",Ot),e}function Se(e,t){return $e(e)?ct(Qe(e)?pe(t):t):pe(t)}const fi={__proto__:null,[Symbol.iterator](){return gs(this,Symbol.iterator,e=>Se(this,e))},concat(...e){return tt(this).concat(...e.map(t=>R(t)?tt(t):t))},entries(){return gs(this,"entries",e=>(e[1]=Se(this,e[1]),e))},every(e,t){return Fe(this,"every",e,t,void 0,arguments)},filter(e,t){return Fe(this,"filter",e,t,s=>s.map(n=>Se(this,n)),arguments)},find(e,t){return Fe(this,"find",e,t,s=>Se(this,s),arguments)},findIndex(e,t){return Fe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fe(this,"findLast",e,t,s=>Se(this,s),arguments)},findLastIndex(e,t){return Fe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ms(this,"includes",e)},indexOf(...e){return ms(this,"indexOf",e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return ms(this,"lastIndexOf",e)},map(e,t){return Fe(this,"map",e,t,void 0,arguments)},pop(){return pt(this,"pop")},push(...e){return pt(this,"push",e)},reduce(e,...t){return un(this,"reduce",e,t)},reduceRight(e,...t){return un(this,"reduceRight",e,t)},shift(){return pt(this,"shift")},some(e,t){return Fe(this,"some",e,t,void 0,arguments)},splice(...e){return pt(this,"splice",e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return pt(this,"unshift",e)},values(){return gs(this,"values",e=>Se(this,e))}};function gs(e,t,s){const n=rs(e),r=n[t]();return n!==e&&!ue(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const ui=Array.prototype;function Fe(e,t,s,n,r,i){const o=rs(e),l=o!==e&&!ue(e),f=o[t];if(f!==ui[t]){const p=f.apply(e,i);return l?pe(p):p}let d=s;o!==e&&(l?d=function(p,T){return s.call(this,Se(e,p),T,e)}:s.length>2&&(d=function(p,T){return s.call(this,p,T,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function un(e,t,s,n){const r=rs(e),i=r!==e&&!ue(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Se(e,d)),s.call(this,d,Se(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=r[t](o,...n);return l?Se(e,f):f}function ms(e,t,s){const n=j(e);ee(n,"iterate",Ot);const r=n[t](...s);return(r===-1||r===!1)&&qs(s[0])?(s[0]=j(s[0]),n[t](...s)):r}function pt(e,t,s=[]){Re(),Us();const n=j(e)[t].apply(e,s);return Ws(),Ie(),n}const ai=Ls("__proto__,__v_isRef,__isVue"),tr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Me));function di(e){Me(e)||(e=String(e));const t=j(this);return ee(t,"has",e),t.hasOwnProperty(e)}class sr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?wi:or:i?ir:rr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=R(t);if(!r){let f;if(o&&(f=fi[s]))return f;if(s==="hasOwnProperty")return di}const l=Reflect.get(t,s,te(t)?t:n);if((Me(s)?tr.has(s):ai(s))||(r||ee(t,"get",s),i))return l;if(te(l)){const f=o&&js(s)?l:l.value;return r&&U(f)?Os(f):f}return U(l)?r?Os(l):Gs(l):l}}class nr extends sr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=R(t)&&js(s);if(!this._isShallow){const d=$e(i);if(!ue(n)&&!$e(n)&&(i=j(i),n=j(n)),!o&&te(i)&&!te(n))return d||(i.value=n),!0}const l=o?Number(s)<t.length:$(t,s),f=Reflect.set(t,s,n,te(t)?t:r);return t===j(r)&&f&&(l?Ce(n,i)&&He(t,"set",s,n):He(t,"add",s,n)),f}deleteProperty(t,s){const n=$(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&He(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Me(s)||!tr.has(s))&&ee(t,"has",s),n}ownKeys(t){return ee(t,"iterate",R(t)?"length":Ze),Reflect.ownKeys(t)}}class hi extends sr{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const pi=new nr,gi=new hi,mi=new nr(!0);const As=e=>e,Wt=e=>Reflect.getPrototypeOf(e);function _i(e,t,s){return function(...n){const r=this.__v_raw,i=j(r),o=rt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?As:t?ct:pe;return!t&&ee(i,"iterate",f?Cs:Ze),se(Object.create(d),{next(){const{value:p,done:T}=d.next();return T?{value:p,done:T}:{value:l?[a(p[0]),a(p[1])]:a(p),done:T}}})}}function Bt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const s={get(r){const i=this.__v_raw,o=j(i),l=j(r);e||(Ce(r,l)&&ee(o,"get",r),ee(o,"get",l));const{has:f}=Wt(o),d=t?As:e?ct:pe;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ee(j(r),"iterate",Ze),r.size},has(r){const i=this.__v_raw,o=j(i),l=j(r);return e||(Ce(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,f=j(l),d=t?As:e?ct:pe;return!e&&ee(f,"iterate",Ze),l.forEach((a,p)=>r.call(i,d(a),d(p),o))}};return se(s,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(r){const i=j(this),o=Wt(i),l=j(r),f=!t&&!ue(r)&&!$e(r)?l:r;return o.has.call(i,f)||Ce(r,f)&&o.has.call(i,r)||Ce(l,f)&&o.has.call(i,l)||(i.add(f),He(i,"add",f,f)),this},set(r,i){!t&&!ue(i)&&!$e(i)&&(i=j(i));const o=j(this),{has:l,get:f}=Wt(o);let d=l.call(o,r);d||(r=j(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Ce(i,a)&&He(o,"set",r,i):He(o,"add",r,i),this},delete(r){const i=j(this),{has:o,get:l}=Wt(i);let f=o.call(i,r);f||(r=j(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&He(i,"delete",r,void 0),d},clear(){const r=j(this),i=r.size!==0,o=r.clear();return i&&He(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=_i(r,e,t)}),s}function Vs(e,t){const s=bi(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get($(s,r)&&r in n?s:n,r,i)}const vi={get:Vs(!1,!1)},xi={get:Vs(!1,!0)},yi={get:Vs(!0,!1)};const rr=new WeakMap,ir=new WeakMap,or=new WeakMap,wi=new WeakMap;function Ti(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gs(e){return $e(e)?e:ks(e,!1,pi,vi,rr)}function Si(e){return ks(e,!1,mi,xi,ir)}function Os(e){return ks(e,!0,gi,yi,or)}function ks(e,t,s,n,r){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=Ti(Jr(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function Qe(e){return $e(e)?Qe(e.__v_raw):!!(e&&e.__v_isReactive)}function $e(e){return!!(e&&e.__v_isReadonly)}function ue(e){return!!(e&&e.__v_isShallow)}function qs(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Ei(e){return!$(e,"__v_skip")&&Object.isExtensible(e)&&Kn(e,"__v_skip",!0),e}const pe=e=>U(e)?Gs(e):e,ct=e=>U(e)?Os(e):e;function te(e){return e?e.__v_isRef===!0:!1}function mt(e){return Ci(e,!1)}function Ci(e,t){return te(e)?e:new Ai(e,t)}class Ai{constructor(t,s){this.dep=new Ks,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:j(t),this._value=s?t:pe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ue(t)||$e(t);t=n?t:j(t),Ce(t,s)&&(this._rawValue=t,this._value=n?t:pe(t),this.dep.trigger())}}function _t(e){return te(e)?e.value:e}const Oi={get:(e,t,s)=>t==="__v_raw"?e:_t(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return te(r)&&!te(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function lr(e){return Qe(e)?e:new Proxy(e,Oi)}class Pi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Ks(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=At-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&K!==this)return Yn(this,!0),!0}get value(){const t=this.dep.track();return Zn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Mi(e,t,s=!1){let n,r;return F(e)?n=e:(n=e.get,r=e.set),new Pi(n,r,s)}const Kt={},qt=new WeakMap;let Xe;function Ri(e,t=!1,s=Xe){if(s){let n=qt.get(s);n||qt.set(s,n=[]),n.push(e)}}function Ii(e,t,s=V){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=O=>r?O:ue(O)||r===!1||r===0?Be(O,1):Be(O);let a,p,T,S,H=!1,M=!1;if(te(e)?(p=()=>e.value,H=ue(e)):Qe(e)?(p=()=>d(e),H=!0):R(e)?(M=!0,H=e.some(O=>Qe(O)||ue(O)),p=()=>e.map(O=>{if(te(O))return O.value;if(Qe(O))return d(O);if(F(O))return f?f(O,2):O()})):F(e)?t?p=f?()=>f(e,2):e:p=()=>{if(T){Re();try{T()}finally{Ie()}}const O=Xe;Xe=a;try{return f?f(e,3,[S]):e(S)}finally{Xe=O}}:p=Pe,t&&r){const O=p,z=r===!0?1/0:r;p=()=>Be(O(),z)}const k=oi(),C=()=>{a.stop(),k&&k.active&&Hs(k.effects,a)};if(i&&t){const O=t;t=(...z)=>{const me=O(...z);return C(),me}}let D=M?new Array(e.length).fill(Kt):Kt;const G=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const z=a.run();if(O||r||H||(M?z.some((me,_e)=>Ce(me,D[_e])):Ce(z,D))){T&&T();const me=Xe;Xe=a;try{const _e=[z,D===Kt?void 0:M&&D[0]===Kt?[]:D,S];D=z,f?f(t,3,_e):t(..._e)}finally{Xe=me}}}else a.run()};return l&&l(G),a=new qn(p),a.scheduler=o?()=>o(G,!1):G,S=O=>Ri(O,!1,a),T=a.onStop=()=>{const O=qt.get(a);if(O){if(f)f(O,4);else for(const z of O)z();qt.delete(a)}},t?n?G(!0):D=a.run():o?o(G.bind(null,!0),!0):a.run(),C.pause=a.pause.bind(a),C.resume=a.resume.bind(a),C.stop=C,C}function Be(e,t=1/0,s){if(t<=0||!U(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,te(e))Be(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)Be(e[n],t,s);else if($n(e)||rt(e))e.forEach(n=>{Be(n,t,s)});else if(Wn(e)){for(const n in e)Be(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Be(e[n],t,s)}return e}/**
|
|
* @vue/runtime-core v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Dt(e,t,s,n){try{return n?e(...n):e()}catch(r){is(r,t,s)}}function ge(e,t,s,n){if(F(e)){const r=Dt(e,t,s,n);return r&&Nn(r)&&r.catch(i=>{is(i,t,s)}),r}if(R(e)){const r=[];for(let i=0;i<e.length;i++)r.push(ge(e[i],t,s,n));return r}}function is(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||V;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(i){Re(),Dt(i,null,10,[e,f,d]),Ie();return}}Fi(e,s,r,n,o)}function Fi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const ie=[];let Te=-1;const it=[];let We=null,st=0;const cr=Promise.resolve();let Jt=null;function Di(e){const t=Jt||cr;return e?t.then(this?e.bind(this):e):t}function Li(e){let t=Te+1,s=ie.length;for(;t<s;){const n=t+s>>>1,r=ie[n],i=Pt(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Js(e){if(!(e.flags&1)){const t=Pt(e),s=ie[ie.length-1];!s||!(e.flags&2)&&t>=Pt(s)?ie.push(e):ie.splice(Li(t),0,e),e.flags|=1,fr()}}function fr(){Jt||(Jt=cr.then(ar))}function Hi(e){R(e)?it.push(...e):We&&e.id===-1?We.splice(st+1,0,e):e.flags&1||(it.push(e),e.flags|=1),fr()}function an(e,t,s=Te+1){for(;s<ie.length;s++){const n=ie[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ie.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ur(e){if(it.length){const t=[...new Set(it)].sort((s,n)=>Pt(s)-Pt(n));if(it.length=0,We){We.push(...t);return}for(We=t,st=0;st<We.length;st++){const s=We[st];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}We=null,st=0}}const Pt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ar(e){try{for(Te=0;Te<ie.length;Te++){const t=ie[Te];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Dt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Te<ie.length;Te++){const t=ie[Te];t&&(t.flags&=-2)}Te=-1,ie.length=0,ur(),Jt=null,(ie.length||it.length)&&ar()}}let Oe=null,dr=null;function Yt(e){const t=Oe;return Oe=e,dr=e&&e.type.__scopeId||null,t}function ji(e,t=Oe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&wn(-1);const i=Yt(t);let o;try{o=e(...r)}finally{Yt(i),n._d&&wn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Je(e,t,s,n){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 f=l.dir[n];f&&(Re(),ge(f,s,8,[e.el,l,e,t]),Ie())}}function $i(e,t){if(oe){let s=oe.provides;const n=oe.parent&&oe.parent.provides;n===s&&(s=oe.provides=Object.create(n)),s[e]=t}}function Vt(e,t,s=!1){const n=No();if(n||ot){let r=ot?ot._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&F(t)?t.call(n&&n.proxy):t}}const Ni=Symbol.for("v-scx"),Ui=()=>Vt(Ni);function _s(e,t,s){return hr(e,t,s)}function hr(e,t,s=V){const{immediate:n,deep:r,flush:i,once:o}=s,l=se({},s),f=t&&n||!t&&i!=="post";let d;if(Rt){if(i==="sync"){const S=Ui();d=S.__watcherHandles||(S.__watcherHandles=[])}else if(!f){const S=()=>{};return S.stop=Pe,S.resume=Pe,S.pause=Pe,S}}const a=oe;l.call=(S,H,M)=>ge(S,a,H,M);let p=!1;i==="post"?l.scheduler=S=>{le(S,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(S,H)=>{H?S():Js(S)}),l.augmentJob=S=>{t&&(S.flags|=4),p&&(S.flags|=2,a&&(S.id=a.uid,S.i=a))};const T=Ii(e,t,l);return Rt&&(d?d.push(T):f&&T()),T}function Wi(e,t,s){const n=this.proxy,r=J(e)?e.includes(".")?pr(n,e):()=>n[e]:e.bind(n,n);let i;F(t)?i=t:(i=t.handler,s=t);const o=Lt(this),l=hr(r,i.bind(n),s);return o(),l}function pr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Bi=Symbol("_vte"),Ki=e=>e.__isTeleport,bs=Symbol("_leaveCb");function Ys(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ys(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 gr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function dn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const zt=new WeakMap;function Tt(e,t,s,n,r=!1){if(R(e)){e.forEach((M,k)=>Tt(M,t&&(R(t)?t[k]:t),s,n,r));return}if(St(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Tt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Qs(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===V?l.refs={}:l.refs,p=l.setupState,T=j(p),S=p===V?jn:M=>dn(a,M)?!1:$(T,M),H=(M,k)=>!(k&&dn(a,k));if(d!=null&&d!==f){if(hn(t),J(d))a[d]=null,S(d)&&(p[d]=null);else if(te(d)){const M=t;H(d,M.k)&&(d.value=null),M.k&&(a[M.k]=null)}}if(F(f)){Re();try{Dt(f,l,12,[o,a])}finally{Ie()}}else{const M=J(f),k=te(f);if(M||k){const C=()=>{if(e.f){const D=M?S(f)?p[f]:a[f]:H()||!e.k?f.value:a[e.k];if(r)R(D)&&Hs(D,i);else if(R(D))D.includes(i)||D.push(i);else if(M)a[f]=[i],S(f)&&(p[f]=a[f]);else{const G=[i];H(f,e.k)&&(f.value=G),e.k&&(a[e.k]=G)}}else M?(a[f]=o,S(f)&&(p[f]=o)):k&&(H(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const D=()=>{C(),zt.delete(e)};D.id=-1,zt.set(e,D),le(D,s)}else hn(e),C()}}}function hn(e){const t=zt.get(e);t&&(t.flags|=8,zt.delete(e))}ns().requestIdleCallback;ns().cancelIdleCallback;const St=e=>!!e.type.__asyncLoader,mr=e=>e.type.__isKeepAlive;function Vi(e,t){_r(e,"a",t)}function Gi(e,t){_r(e,"da",t)}function _r(e,t,s=oe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(os(t,n,s),s){let r=s.parent;for(;r&&r.parent;)mr(r.parent.vnode)&&ki(n,t,s,r),r=r.parent}}function ki(e,t,s,n){const r=os(t,e,n,!0);zs(()=>{Hs(n[t],r)},s)}function os(e,t,s=oe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Re();const l=Lt(s),f=ge(t,s,e,o);return l(),Ie(),f});return n?r.unshift(i):r.push(i),i}}const Ne=e=>(t,s=oe)=>{(!Rt||e==="sp")&&os(e,(...n)=>t(...n),s)},qi=Ne("bm"),br=Ne("m"),Ji=Ne("bu"),Yi=Ne("u"),zi=Ne("bum"),zs=Ne("um"),Xi=Ne("sp"),Zi=Ne("rtg"),Qi=Ne("rtc");function eo(e,t=oe){os("ec",e,t)}const to=Symbol.for("v-ndc");function so(e,t,s,n){let r;const i=s,o=R(e);if(o||J(e)){const l=o&&Qe(e);let f=!1,d=!1;l&&(f=!ue(e),d=$e(e),e=rs(e)),r=new Array(e.length);for(let a=0,p=e.length;a<p;a++)r[a]=t(f?d?ct(pe(e[a])):pe(e[a]):e[a],a,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(U(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];r[f]=t(e[a],a,f,i)}}else r=[];return r}const Ps=e=>e?Nr(e)?Qs(e):Ps(e.parent):null,Et=se(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=>Ps(e.parent),$root:e=>Ps(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xr(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=Di.bind(e.proxy)),$watch:e=>Wi.bind(e)}),vs=(e,t)=>e!==V&&!e.__isScriptSetup&&$(e,t),no={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(vs(n,t))return o[t]=1,n[t];if(r!==V&&$(r,t))return o[t]=2,r[t];if($(i,t))return o[t]=3,i[t];if(s!==V&&$(s,t))return o[t]=4,s[t];Ms&&(o[t]=0)}}const d=Et[t];let a,p;if(d)return t==="$attrs"&&ee(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==V&&$(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,$(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return vs(r,t)?(r[t]=s,!0):n!==V&&$(n,t)?(n[t]=s,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==V&&l[0]!=="$"&&$(e,l)||vs(t,l)||$(i,l)||$(n,l)||$(Et,l)||$(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:$(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function pn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ms=!0;function ro(e){const t=xr(e),s=e.proxy,n=e.ctx;Ms=!1,t.beforeCreate&&gn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:T,beforeUpdate:S,updated:H,activated:M,deactivated:k,beforeDestroy:C,beforeUnmount:D,destroyed:G,unmounted:O,render:z,renderTracked:me,renderTriggered:_e,errorCaptured:Ue,serverPrefetch:Ht,expose:Ge,inheritAttrs:ut,components:jt,directives:$t,filters:fs}=t;if(d&&io(d,n,null),o)for(const q in o){const B=o[q];F(B)&&(n[q]=B.bind(s))}if(r){const q=r.call(s,s);U(q)&&(e.data=Gs(q))}if(Ms=!0,i)for(const q in i){const B=i[q],ke=F(B)?B.bind(s,s):F(B.get)?B.get.bind(s,s):Pe,Nt=!F(B)&&F(B.set)?B.set.bind(s):Pe,qe=Wr({get:ke,set:Nt});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>qe.value,set:be=>qe.value=be})}if(l)for(const q in l)vr(l[q],n,s,q);if(f){const q=F(f)?f.call(s):f;Reflect.ownKeys(q).forEach(B=>{$i(B,q[B])})}a&&gn(a,e,"c");function ne(q,B){R(B)?B.forEach(ke=>q(ke.bind(s))):B&&q(B.bind(s))}if(ne(qi,p),ne(br,T),ne(Ji,S),ne(Yi,H),ne(Vi,M),ne(Gi,k),ne(eo,Ue),ne(Qi,me),ne(Zi,_e),ne(zi,D),ne(zs,O),ne(Xi,Ht),R(Ge))if(Ge.length){const q=e.exposed||(e.exposed={});Ge.forEach(B=>{Object.defineProperty(q,B,{get:()=>s[B],set:ke=>s[B]=ke,enumerable:!0})})}else e.exposed||(e.exposed={});z&&e.render===Pe&&(e.render=z),ut!=null&&(e.inheritAttrs=ut),jt&&(e.components=jt),$t&&(e.directives=$t),Ht&&gr(e)}function io(e,t,s=Pe){R(e)&&(e=Rs(e));for(const n in e){const r=e[n];let i;U(r)?"default"in r?i=Vt(r.from||n,r.default,!0):i=Vt(r.from||n):i=Vt(r),te(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function gn(e,t,s){ge(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function vr(e,t,s,n){let r=n.includes(".")?pr(s,n):()=>s[n];if(J(e)){const i=t[e];F(i)&&_s(r,i)}else if(F(e))_s(r,e.bind(s));else if(U(e))if(R(e))e.forEach(i=>vr(i,t,s,n));else{const i=F(e.handler)?e.handler.bind(s):t[e.handler];F(i)&&_s(r,i,e)}}function xr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>Xt(f,d,o,!0)),Xt(f,t,o)),U(t)&&i.set(t,f),f}function Xt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Xt(e,i,s,!0),r&&r.forEach(o=>Xt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=oo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const oo={data:mn,props:_n,emits:_n,methods:bt,computed:bt,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:bt,directives:bt,watch:co,provide:mn,inject:lo};function mn(e,t){return t?e?function(){return se(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function lo(e,t){return bt(Rs(e),Rs(t))}function Rs(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function re(e,t){return e?[...new Set([].concat(e,t))]:t}function bt(e,t){return e?se(Object.create(null),e,t):t}function _n(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:se(Object.create(null),pn(e),pn(t??{})):t}function co(e,t){if(!e)return t;if(!t)return e;const s=se(Object.create(null),e);for(const n in t)s[n]=re(e[n],t[n]);return s}function yr(){return{app:null,config:{isNativeTag:jn,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 fo=0;function uo(e,t){return function(n,r=null){F(n)||(n=se({},n)),r!=null&&!U(r)&&(r=null);const i=yr(),o=new WeakSet,l=[];let f=!1;const d=i.app={_uid:fo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Go,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&F(a.install)?(o.add(a),a.install(d,...p)):F(a)&&(o.add(a),a(d,...p))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,p){return p?(i.components[a]=p,d):i.components[a]},directive(a,p){return p?(i.directives[a]=p,d):i.directives[a]},mount(a,p,T){if(!f){const S=d._ceVNode||Q(n,r);return S.appContext=i,T===!0?T="svg":T===!1&&(T=void 0),e(S,a,T),f=!0,d._container=a,a.__vue_app__=d,Qs(S.component)}},onUnmount(a){l.push(a)},unmount(){f&&(ge(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return i.provides[a]=p,d},runWithContext(a){const p=ot;ot=d;try{return a()}finally{ot=p}}};return d}}let ot=null;const ao=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${de(t)}Modifiers`]||e[`${et(t)}Modifiers`];function ho(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||V;let r=s;const i=t.startsWith("update:"),o=i&&ao(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>J(a)?a.trim():a)),o.number&&(r=s.map(Xr)));let l,f=n[l=as(t)]||n[l=as(de(t))];!f&&i&&(f=n[l=as(et(t))]),f&&ge(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ge(d,e,6,r)}}const po=new WeakMap;function wr(e,t,s=!1){const n=s?po:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!F(e)){const f=d=>{const a=wr(d,t,!0);a&&(l=!0,se(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(U(e)&&n.set(e,null),null):(R(i)?i.forEach(f=>o[f]=null):se(o,i),U(e)&&n.set(e,o),o)}function ls(e,t){return!e||!es(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,et(t))||$(e,t))}function bn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:T,setupState:S,ctx:H,inheritAttrs:M}=e,k=Yt(e);let C,D;try{if(s.shapeFlag&4){const O=r||n,z=O;C=Ee(d.call(z,O,a,p,S,T,H)),D=l}else{const O=t;C=Ee(O.length>1?O(p,{attrs:l,slots:o,emit:f}):O(p,null)),D=t.props?l:go(l)}}catch(O){Ct.length=0,is(O,e,1),C=Q(Ve)}let G=C;if(D&&M!==!1){const O=Object.keys(D),{shapeFlag:z}=G;O.length&&z&7&&(i&&O.some(ts)&&(D=mo(D,i)),G=ft(G,D,!1,!0))}return s.dirs&&(G=ft(G,null,!1,!0),G.dirs=G.dirs?G.dirs.concat(s.dirs):s.dirs),s.transition&&Ys(G,s.transition),C=G,Yt(k),C}const go=e=>{let t;for(const s in e)(s==="class"||s==="style"||es(s))&&((t||(t={}))[s]=e[s]);return t},mo=(e,t)=>{const s={};for(const n in e)(!ts(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function _o(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?vn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const T=a[p];if(Tr(o,n,T)&&!ls(d,T))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?vn(n,o,d):!0:!!o;return!1}function vn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(Tr(t,e,i)&&!ls(s,i))return!0}return!1}function Tr(e,t,s){const n=e[s],r=t[s];return s==="style"&&U(n)&&U(r)?!Ns(n,r):n!==r}function bo({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Sr={},Er=()=>Object.create(Sr),Cr=e=>Object.getPrototypeOf(e)===Sr;function vo(e,t,s,n=!1){const r={},i=Er();e.propsDefaults=Object.create(null),Ar(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Si(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xo(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=j(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let T=a[p];if(ls(e.emitsOptions,T))continue;const S=t[T];if(f)if($(i,T))S!==i[T]&&(i[T]=S,d=!0);else{const H=de(T);r[H]=Is(f,l,H,S,e,!1)}else S!==i[T]&&(i[T]=S,d=!0)}}}else{Ar(e,t,r,i)&&(d=!0);let a;for(const p in l)(!t||!$(t,p)&&((a=et(p))===p||!$(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=Is(f,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!$(t,p))&&(delete i[p],d=!0)}d&&He(e.attrs,"set","")}function Ar(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(xt(f))continue;const d=t[f];let a;r&&$(r,a=de(f))?!i||!i.includes(a)?s[a]=d:(l||(l={}))[a]=d:ls(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(i){const f=j(s),d=l||V;for(let a=0;a<i.length;a++){const p=i[a];s[p]=Is(r,f,p,d[p],e,!$(d,p))}}return o}function Is(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=$(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&F(f)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=Lt(r);n=d[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===et(s))&&(n=!0))}return n}const yo=new WeakMap;function Or(e,t,s=!1){const n=s?yo:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!F(e)){const a=p=>{f=!0;const[T,S]=Or(p,t,!0);se(o,T),S&&l.push(...S)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return U(e)&&n.set(e,nt),nt;if(R(i))for(let a=0;a<i.length;a++){const p=de(i[a]);xn(p)&&(o[p]=V)}else if(i)for(const a in i){const p=de(a);if(xn(p)){const T=i[a],S=o[p]=R(T)||F(T)?{type:T}:se({},T),H=S.type;let M=!1,k=!0;if(R(H))for(let C=0;C<H.length;++C){const D=H[C],G=F(D)&&D.name;if(G==="Boolean"){M=!0;break}else G==="String"&&(k=!1)}else M=F(H)&&H.name==="Boolean";S[0]=M,S[1]=k,(M||$(S,"default"))&&l.push(p)}}const d=[o,l];return U(e)&&n.set(e,d),d}function xn(e){return e[0]!=="$"&&!xt(e)}const Xs=e=>e==="_"||e==="_ctx"||e==="$stable",Zs=e=>R(e)?e.map(Ee):[Ee(e)],wo=(e,t,s)=>{if(t._n)return t;const n=ji((...r)=>Zs(t(...r)),s);return n._c=!1,n},Pr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Xs(r))continue;const i=e[r];if(F(i))t[r]=wo(r,i,n);else if(i!=null){const o=Zs(i);t[r]=()=>o}}},Mr=(e,t)=>{const s=Zs(t);e.slots.default=()=>s},Rr=(e,t,s)=>{for(const n in t)(s||!Xs(n))&&(e[n]=t[n])},To=(e,t,s)=>{const n=e.slots=Er();if(e.vnode.shapeFlag&32){const r=t._;r?(Rr(n,t,s),s&&Kn(n,"_",r,!0)):Pr(t,n)}else t&&Mr(e,t)},So=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=V;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Rr(r,t,s):(i=!t.$stable,Pr(t,r)),o=t}else t&&(Mr(e,t),o={default:1});if(i)for(const l in r)!Xs(l)&&o[l]==null&&delete r[l]},le=Po;function Eo(e){return Co(e)}function Co(e,t){const s=ns();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:T,setScopeId:S=Pe,insertStaticContent:H}=e,M=(c,u,h,b=null,_=null,g=null,y=void 0,x=null,v=!!u.dynamicChildren)=>{if(c===u)return;c&&!gt(c,u)&&(b=Ut(c),be(c,_,g,!0),c=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:m,ref:A,shapeFlag:w}=u;switch(m){case cs:k(c,u,h,b);break;case Ve:C(c,u,h,b);break;case ys:c==null&&D(u,h,b,y);break;case ae:jt(c,u,h,b,_,g,y,x,v);break;default:w&1?z(c,u,h,b,_,g,y,x,v):w&6?$t(c,u,h,b,_,g,y,x,v):(w&64||w&128)&&m.process(c,u,h,b,_,g,y,x,v,dt)}A!=null&&_?Tt(A,c&&c.ref,g,u||c,!u):A==null&&c&&c.ref!=null&&Tt(c.ref,null,g,c,!0)},k=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const _=u.el=c.el;u.children!==c.children&&d(_,u.children)}},C=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},D=(c,u,h,b)=>{[c.el,c.anchor]=H(c.children,u,h,b,c.el,c.anchor)},G=({el:c,anchor:u},h,b)=>{let _;for(;c&&c!==u;)_=T(c),n(c,h,b),c=_;n(u,h,b)},O=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=T(c),r(c),c=h;r(u)},z=(c,u,h,b,_,g,y,x,v)=>{if(u.type==="svg"?y="svg":u.type==="math"&&(y="mathml"),c==null)me(u,h,b,_,g,y,x,v);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),Ht(c,u,_,g,y,x,v)}finally{m&&m._endPatch()}}},me=(c,u,h,b,_,g,y,x)=>{let v,m;const{props:A,shapeFlag:w,transition:E,dirs:P}=c;if(v=c.el=o(c.type,g,A&&A.is,A),w&8?a(v,c.children):w&16&&Ue(c.children,v,null,b,_,xs(c,g),y,x),P&&Je(c,null,b,"created"),_e(v,c,c.scopeId,y,b),A){for(const W in A)W!=="value"&&!xt(W)&&i(v,W,null,A[W],g,b);"value"in A&&i(v,"value",null,A.value,g),(m=A.onVnodeBeforeMount)&&we(m,b,c)}P&&Je(c,null,b,"beforeMount");const L=Ao(_,E);L&&E.beforeEnter(v),n(v,u,h),((m=A&&A.onVnodeMounted)||L||P)&&le(()=>{try{m&&we(m,b,c),L&&E.enter(v),P&&Je(c,null,b,"mounted")}finally{}},_)},_e=(c,u,h,b,_)=>{if(h&&S(c,h),b)for(let g=0;g<b.length;g++)S(c,b[g]);if(_){let g=_.subTree;if(u===g||Lr(g.type)&&(g.ssContent===u||g.ssFallback===u)){const y=_.vnode;_e(c,y,y.scopeId,y.slotScopeIds,_.parent)}}},Ue=(c,u,h,b,_,g,y,x,v=0)=>{for(let m=v;m<c.length;m++){const A=c[m]=x?Le(c[m]):Ee(c[m]);M(null,A,u,h,b,_,g,y,x)}},Ht=(c,u,h,b,_,g,y)=>{const x=u.el=c.el;let{patchFlag:v,dynamicChildren:m,dirs:A}=u;v|=c.patchFlag&16;const w=c.props||V,E=u.props||V;let P;if(h&&Ye(h,!1),(P=E.onVnodeBeforeUpdate)&&we(P,h,u,c),A&&Je(u,c,h,"beforeUpdate"),h&&Ye(h,!0),m&&(!c.dynamicChildren||c.dynamicChildren.length!==m.length)&&(v=0,y=!1,m=null),(w.innerHTML&&E.innerHTML==null||w.textContent&&E.textContent==null)&&a(x,""),m?Ge(c.dynamicChildren,m,x,h,b,xs(u,_),g):y||B(c,u,x,null,h,b,xs(u,_),g,!1),v>0){if(v&16)ut(x,w,E,h,_);else if(v&2&&w.class!==E.class&&i(x,"class",null,E.class,_),v&4&&i(x,"style",w.style,E.style,_),v&8){const L=u.dynamicProps;for(let W=0;W<L.length;W++){const N=L[W],Y=w[N],X=E[N];(X!==Y||N==="value")&&i(x,N,Y,X,_,h)}}v&1&&c.children!==u.children&&a(x,u.children)}else!y&&m==null&&ut(x,w,E,h,_);((P=E.onVnodeUpdated)||A)&&le(()=>{P&&we(P,h,u,c),A&&Je(u,c,h,"updated")},b)},Ge=(c,u,h,b,_,g,y)=>{for(let x=0;x<u.length;x++){const v=c[x],m=u[x],A=v.el&&(v.type===ae||!gt(v,m)||v.shapeFlag&198)?p(v.el):h;M(v,m,A,null,b,_,g,y,!0)}},ut=(c,u,h,b,_)=>{if(u!==h){if(u!==V)for(const g in u)!xt(g)&&!(g in h)&&i(c,g,u[g],null,_,b);for(const g in h){if(xt(g))continue;const y=h[g],x=u[g];y!==x&&g!=="value"&&i(c,g,x,y,_,b)}"value"in h&&i(c,"value",u.value,h.value,_)}},jt=(c,u,h,b,_,g,y,x,v)=>{const m=u.el=c?c.el:l(""),A=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:E,slotScopeIds:P}=u;P&&(x=x?x.concat(P):P),c==null?(n(m,h,b),n(A,h,b),Ue(u.children||[],h,A,_,g,y,x,v)):w>0&&w&64&&E&&c.dynamicChildren&&c.dynamicChildren.length===E.length?(Ge(c.dynamicChildren,E,h,_,g,y,x),(u.key!=null||_&&u===_.subTree)&&Ir(c,u,!0)):B(c,u,h,A,_,g,y,x,v)},$t=(c,u,h,b,_,g,y,x,v)=>{u.slotScopeIds=x,c==null?u.shapeFlag&512?_.ctx.activate(u,h,b,y,v):fs(u,h,b,_,g,y,v):en(c,u,v)},fs=(c,u,h,b,_,g,y)=>{const x=c.component=$o(c,b,_);if(mr(c)&&(x.ctx.renderer=dt),Uo(x,!1,y),x.asyncDep){if(_&&_.registerDep(x,ne,y),!c.el){const v=x.subTree=Q(Ve);C(null,v,u,h),c.placeholder=v.el}}else ne(x,c,u,h,_,g,y)},en=(c,u,h)=>{const b=u.component=c.component;if(_o(c,u,h))if(b.asyncDep&&!b.asyncResolved){q(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},ne=(c,u,h,b,_,g,y)=>{const x=()=>{if(c.isMounted){let{next:w,bu:E,u:P,parent:L,vnode:W}=c;{const xe=Fr(c);if(xe){w&&(w.el=W.el,q(c,w,y)),xe.asyncDep.then(()=>{le(()=>{c.isUnmounted||m()},_)});return}}let N=w,Y;Ye(c,!1),w?(w.el=W.el,q(c,w,y)):w=W,E&&ds(E),(Y=w.props&&w.props.onVnodeBeforeUpdate)&&we(Y,L,w,W),Ye(c,!0);const X=bn(c),ve=c.subTree;c.subTree=X,M(ve,X,p(ve.el),Ut(ve),c,_,g),w.el=X.el,N===null&&bo(c,X.el),P&&le(P,_),(Y=w.props&&w.props.onVnodeUpdated)&&le(()=>we(Y,L,w,W),_)}else{let w;const{el:E,props:P}=u,{bm:L,m:W,parent:N,root:Y,type:X}=c,ve=St(u);Ye(c,!1),L&&ds(L),!ve&&(w=P&&P.onVnodeBeforeMount)&&we(w,N,u),Ye(c,!0);{Y.ce&&Y.ce._hasShadowRoot()&&Y.ce._injectChildStyle(X,c.parent?c.parent.type:void 0);const xe=c.subTree=bn(c);M(null,xe,h,b,c,_,g),u.el=xe.el}if(W&&le(W,_),!ve&&(w=P&&P.onVnodeMounted)){const xe=u;le(()=>we(w,N,xe),_)}(u.shapeFlag&256||N&&St(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&le(c.a,_),c.isMounted=!0,u=h=b=null}};c.scope.on();const v=c.effect=new qn(x);c.scope.off();const m=c.update=v.run.bind(v),A=c.job=v.runIfDirty.bind(v);A.i=c,A.id=c.uid,v.scheduler=()=>Js(A),Ye(c,!0),m()},q=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,xo(c,u.props,b,h),So(c,u.children,h),Re(),an(c),Ie()},B=(c,u,h,b,_,g,y,x,v=!1)=>{const m=c&&c.children,A=c?c.shapeFlag:0,w=u.children,{patchFlag:E,shapeFlag:P}=u;if(E>0){if(E&128){Nt(m,w,h,b,_,g,y,x,v);return}else if(E&256){ke(m,w,h,b,_,g,y,x,v);return}}P&8?(A&16&&at(m,_,g),w!==m&&a(h,w)):A&16?P&16?Nt(m,w,h,b,_,g,y,x,v):at(m,_,g,!0):(A&8&&a(h,""),P&16&&Ue(w,h,b,_,g,y,x,v))},ke=(c,u,h,b,_,g,y,x,v)=>{c=c||nt,u=u||nt;const m=c.length,A=u.length,w=Math.min(m,A);let E;for(E=0;E<w;E++){const P=u[E]=v?Le(u[E]):Ee(u[E]);M(c[E],P,h,null,_,g,y,x,v)}m>A?at(c,_,g,!0,!1,w):Ue(u,h,b,_,g,y,x,v,w)},Nt=(c,u,h,b,_,g,y,x,v)=>{let m=0;const A=u.length;let w=c.length-1,E=A-1;for(;m<=w&&m<=E;){const P=c[m],L=u[m]=v?Le(u[m]):Ee(u[m]);if(gt(P,L))M(P,L,h,null,_,g,y,x,v);else break;m++}for(;m<=w&&m<=E;){const P=c[w],L=u[E]=v?Le(u[E]):Ee(u[E]);if(gt(P,L))M(P,L,h,null,_,g,y,x,v);else break;w--,E--}if(m>w){if(m<=E){const P=E+1,L=P<A?u[P].el:b;for(;m<=E;)M(null,u[m]=v?Le(u[m]):Ee(u[m]),h,L,_,g,y,x,v),m++}}else if(m>E)for(;m<=w;)be(c[m],_,g,!0),m++;else{const P=m,L=m,W=new Map;for(m=L;m<=E;m++){const ce=u[m]=v?Le(u[m]):Ee(u[m]);ce.key!=null&&W.set(ce.key,m)}let N,Y=0;const X=E-L+1;let ve=!1,xe=0;const ht=new Array(X);for(m=0;m<X;m++)ht[m]=0;for(m=P;m<=w;m++){const ce=c[m];if(Y>=X){be(ce,_,g,!0);continue}let ye;if(ce.key!=null)ye=W.get(ce.key);else for(N=L;N<=E;N++)if(ht[N-L]===0&>(ce,u[N])){ye=N;break}ye===void 0?be(ce,_,g,!0):(ht[ye-L]=m+1,ye>=xe?xe=ye:ve=!0,M(ce,u[ye],h,null,_,g,y,x,v),Y++)}const nn=ve?Oo(ht):nt;for(N=nn.length-1,m=X-1;m>=0;m--){const ce=L+m,ye=u[ce],rn=u[ce+1],on=ce+1<A?rn.el||Dr(rn):b;ht[m]===0?M(null,ye,h,on,_,g,y,x,v):ve&&(N<0||m!==nn[N]?qe(ye,h,on,2):N--)}}},qe=(c,u,h,b,_=null)=>{const{el:g,type:y,transition:x,children:v,shapeFlag:m}=c;if(m&6){qe(c.component.subTree,u,h,b);return}if(m&128){c.suspense.move(u,h,b);return}if(m&64){y.move(c,u,h,dt);return}if(y===ae){n(g,u,h);for(let w=0;w<v.length;w++)qe(v[w],u,h,b);n(c.anchor,u,h);return}if(y===ys){G(c,u,h);return}if(b!==2&&m&1&&x)if(b===0)x.persisted&&!g[bs]?n(g,u,h):(x.beforeEnter(g),n(g,u,h),le(()=>x.enter(g),_));else{const{leave:w,delayLeave:E,afterLeave:P}=x,L=()=>{c.ctx.isUnmounted?r(g):n(g,u,h)},W=()=>{const N=g._isLeaving||!!g[bs];g._isLeaving&&g[bs](!0),x.persisted&&!N?L():w(g,()=>{L(),P&&P()})};E?E(g,L,W):W()}else n(g,u,h)},be=(c,u,h,b=!1,_=!1)=>{const{type:g,props:y,ref:x,children:v,dynamicChildren:m,shapeFlag:A,patchFlag:w,dirs:E,cacheIndex:P,memo:L}=c;if(w===-2&&(_=!1),x!=null&&(Re(),Tt(x,null,h,c,!0),Ie()),P!=null&&(u.renderCache[P]=void 0),A&256){u.ctx.deactivate(c);return}const W=A&1&&E,N=!St(c);let Y;if(N&&(Y=y&&y.onVnodeBeforeUnmount)&&we(Y,u,c),A&6)kr(c.component,h,b);else{if(A&128){c.suspense.unmount(h,b);return}W&&Je(c,null,u,"beforeUnmount"),A&64?c.type.remove(c,u,h,dt,b):m&&!m.hasOnce&&(g!==ae||w>0&&w&64)?at(m,u,h,!1,!0):(g===ae&&w&384||!_&&A&16)&&at(v,u,h),b&&tn(c)}const X=L!=null&&P==null;(N&&(Y=y&&y.onVnodeUnmounted)||W||X)&&le(()=>{Y&&we(Y,u,c),W&&Je(c,null,u,"unmounted"),X&&(c.el=null)},h)},tn=c=>{const{type:u,el:h,anchor:b,transition:_}=c;if(u===ae){Gr(h,b);return}if(u===ys){O(c);return}const g=()=>{r(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:y,delayLeave:x}=_,v=()=>y(h,g);x?x(c.el,g,v):v()}else g()},Gr=(c,u)=>{let h;for(;c!==u;)h=T(c),r(c),c=h;r(u)},kr=(c,u,h)=>{const{bum:b,scope:_,job:g,subTree:y,um:x,m:v,a:m}=c;yn(v),yn(m),b&&ds(b),_.stop(),g&&(g.flags|=8,be(y,c,u,h)),x&&le(x,u),le(()=>{c.isUnmounted=!0},u)},at=(c,u,h,b=!1,_=!1,g=0)=>{for(let y=g;y<c.length;y++)be(c[y],u,h,b,_)},Ut=c=>{if(c.shapeFlag&6)return Ut(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=T(c.anchor||c.el),h=u&&u[Bi];return h?T(h):u};let us=!1;const sn=(c,u,h)=>{let b;c==null?u._vnode&&(be(u._vnode,null,null,!0),b=u._vnode.component):M(u._vnode||null,c,u,null,null,null,h),u._vnode=c,us||(us=!0,an(b),ur(),us=!1)},dt={p:M,um:be,m:qe,r:tn,mt:fs,mc:Ue,pc:B,pbc:Ge,n:Ut,o:e};return{render:sn,hydrate:void 0,createApp:uo(sn)}}function xs({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ye({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ao(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ir(e,t,s=!1){const n=e.children,r=t.children;if(R(n)&&R(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Le(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&Ir(o,l)),l.type===cs&&(l.patchFlag===-1&&(l=r[i]=Le(l)),l.el=o.el),l.type===Ve&&!l.el&&(l.el=o.el)}}function Oo(e){const t=e.slice(),s=[0];let n,r,i,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<d?i=l+1:o=l;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Fr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fr(t)}function yn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Dr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Dr(t.subTree):null}const Lr=e=>e.__isSuspense;function Po(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Hi(e)}const ae=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),ys=Symbol.for("v-stc"),Ct=[];let fe=null;function je(e=!1){Ct.push(fe=e?null:[])}function Mo(){Ct.pop(),fe=Ct[Ct.length-1]||null}let Mt=1;function wn(e,t=!1){Mt+=e,e<0&&fe&&t&&(fe.hasOnce=!0)}function Hr(e){return e.dynamicChildren=Mt>0?fe||nt:null,Mo(),Mt>0&&fe&&fe.push(e),e}function Ke(e,t,s,n,r,i){return Hr(I(e,t,s,n,r,i,!0))}function Ro(e,t,s,n,r){return Hr(Q(e,t,s,n,r,!0))}function jr(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){return e.type===t.type&&e.key===t.key}const $r=({key:e})=>e??null,Gt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||te(e)||F(e)?{i:Oe,r:e,k:t,f:!!s}:e:null);function I(e,t=null,s=null,n=0,r=null,i=e===ae?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$r(t),ref:t&&Gt(t),scopeId:dr,slotScopeIds:null,children:s,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:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return l?(Zt(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=J(s)?8:16),Mt>0&&!o&&fe&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&fe.push(f),f}const Q=Io;function Io(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===to)&&(e=Ve),jr(e)){const l=ft(e,t,!0);return s&&Zt(l,s),Mt>0&&!i&&fe&&(l.shapeFlag&6?fe[fe.indexOf(e)]=l:fe.push(l)),l.patchFlag=-2,l}if(Vo(e)&&(e=e.__vccOpts),t){t=Fo(t);let{class:l,style:f}=t;l&&!J(l)&&(t.class=Ft(l)),U(f)&&(qs(f)&&!R(f)&&(f=se({},f)),t.style=$s(f))}const o=J(e)?1:Lr(e)?128:Ki(e)?64:U(e)?4:F(e)?2:0;return I(e,t,s,n,r,o,i,!0)}function Fo(e){return e?qs(e)||Cr(e)?se({},e):e:null}function ft(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?Lo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&$r(d),ref:t&&t.ref?s&&i?R(i)?i.concat(Gt(t)):[i,Gt(t)]:Gt(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!==ae?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Ys(a,f.clone(a)),a}function kt(e=" ",t=0){return Q(cs,null,e,t)}function Do(e="",t=!1){return t?(je(),Ro(Ve,null,e)):Q(Ve,null,e)}function Ee(e){return e==null||typeof e=="boolean"?Q(Ve):R(e)?Q(ae,null,e.slice()):jr(e)?Le(e):Q(cs,null,String(e))}function Le(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ft(e)}function Zt(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Zt(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Cr(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(F(t)){if(n&65){Zt(e,{default:t});return}t={default:t,_ctx:Oe},s=32}else t=String(t),n&64?(s=16,t=[kt(t)]):s=8;e.children=t,e.shapeFlag|=s}function Lo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Ft([t.class,n.class]));else if(r==="style")t.style=$s([t.style,n.style]);else if(es(r)){const i=t[r],o=n[r];o&&i!==o&&!(R(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!ts(r)&&(t[r]=o)}else r!==""&&(t[r]=n[r])}return t}function we(e,t,s,n=null){ge(e,t,7,[s,n])}const Ho=yr();let jo=0;function $o(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||Ho,i={uid:jo++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ii(!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:Or(n,r),emitsOptions:wr(n,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:n.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,suspense:s,suspenseId:s?s.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=ho.bind(null,i),e.ce&&e.ce(i),i}let oe=null;const No=()=>oe||Oe;let Qt,Fs;{const e=ns(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Qt=t("__VUE_INSTANCE_SETTERS__",s=>oe=s),Fs=t("__VUE_SSR_SETTERS__",s=>Rt=s)}const Lt=e=>{const t=oe;return Qt(e),e.scope.on(),()=>{e.scope.off(),Qt(t)}},Tn=()=>{oe&&oe.scope.off(),Qt(null)};function Nr(e){return e.vnode.shapeFlag&4}let Rt=!1;function Uo(e,t=!1,s=!1){t&&Fs(t);const{props:n,children:r}=e.vnode,i=Nr(e);vo(e,n,i,t),To(e,r,s||t);const o=i?Wo(e,t):void 0;return t&&Fs(!1),o}function Wo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,no);const{setup:n}=s;if(n){Re();const r=e.setupContext=n.length>1?Ko(e):null,i=Lt(e),o=Dt(n,e,0,[e.props,r]),l=Nn(o);if(Ie(),i(),(l||e.sp)&&!St(e)&&gr(e),l){if(o.then(Tn,Tn),t)return o.then(f=>{Sn(e,f)}).catch(f=>{is(f,e,0)});e.asyncDep=o}else Sn(e,o)}else Ur(e)}function Sn(e,t,s){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=lr(t)),Ur(e)}function Ur(e,t,s){const n=e.type;e.render||(e.render=n.render||Pe);{const r=Lt(e);Re();try{ro(e)}finally{Ie(),r()}}}const Bo={get(e,t){return ee(e,"get",""),e[t]}};function Ko(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Bo),slots:e.slots,emit:e.emit,expose:t}}function Qs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lr(Ei(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Et)return Et[s](e)},has(t,s){return s in t||s in Et}})):e.proxy}function Vo(e){return F(e)&&"__vccOpts"in e}const Wr=(e,t)=>Mi(e,t,Rt),Go="3.5.39";/**
|
|
* @vue/runtime-dom v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ds;const En=typeof window<"u"&&window.trustedTypes;if(En)try{Ds=En.createPolicy("vue",{createHTML:e=>e})}catch{}const Br=Ds?e=>Ds.createHTML(e):e=>e,ko="http://www.w3.org/2000/svg",qo="http://www.w3.org/1998/Math/MathML",De=typeof document<"u"?document:null,Cn=De&&De.createElement("template"),Jo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?De.createElementNS(ko,e):t==="mathml"?De.createElementNS(qo,e):s?De.createElement(e,{is:s}):De.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>De.createTextNode(e),createComment:e=>De.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>De.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Cn.innerHTML=Br(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Cn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Yo=Symbol("_vtc");function zo(e,t,s){const n=e[Yo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const An=Symbol("_vod"),Xo=Symbol("_vsh"),Zo=Symbol(""),Qo=/(?:^|;)\s*display\s*:/;function el(e,t,s){const n=e.style,r=J(s);let i=!1;if(s&&!r){if(t)if(J(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&vt(n,l,"")}else for(const o in t)s[o]==null&&vt(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?sl(e,o,!J(t)&&t?t[o]:void 0,l)||vt(n,o,l):vt(n,o,"")}}else if(r){if(t!==s){const o=n[Zo];o&&(s+=";"+o),n.cssText=s,i=Qo.test(s)}}else t&&e.removeAttribute("style");An in e&&(e[An]=i?n.display:"",e[Xo]&&(n.display="none"))}const On=/\s*!important$/;function vt(e,t,s){if(R(s))s.forEach(n=>vt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=tl(e,t);On.test(s)?e.setProperty(et(n),s.replace(On,""),"important"):e[n]=s}}const Pn=["Webkit","Moz","ms"],ws={};function tl(e,t){const s=ws[t];if(s)return s;let n=de(t);if(n!=="filter"&&n in e)return ws[t]=n;n=Bn(n);for(let r=0;r<Pn.length;r++){const i=Pn[r]+n;if(i in e)return ws[t]=i}return t}function sl(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&J(n)&&s===n}const Mn="http://www.w3.org/1999/xlink";function Rn(e,t,s,n,r,i=ni(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Mn,t.slice(6,t.length)):e.setAttributeNS(Mn,t,s):s==null||i&&!Vn(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Me(s)?String(s):s)}function In(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Br(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Vn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function nl(e,t,s,n){e.addEventListener(t,s,n)}function rl(e,t,s,n){e.removeEventListener(t,s,n)}const Fn=Symbol("_vei");function il(e,t,s,n,r=null){const i=e[Fn]||(e[Fn]={}),o=i[t];if(n&&o)o.value=n;else{const[l,f]=cl(t);if(n){const d=i[t]=al(n,r);nl(e,l,d,f)}else o&&(rl(e,l,o,f),i[t]=void 0)}}const ol=/(Once|Passive|Capture)$/,ll=/^on:?(?:Once|Passive|Capture)$/;function cl(e){let t,s;for(;(s=e.match(ol))&&!ll.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):et(e.slice(2)),t]}let Ts=0;const fl=Promise.resolve(),ul=()=>Ts||(fl.then(()=>Ts=0),Ts=Date.now());function al(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(R(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const o=r.slice(),l=[n];for(let f=0;f<o.length&&!n._stopped;f++){const d=o[f];d&&ge(d,t,5,l)}}else ge(r,t,5,[n])};return s.value=e,s.attached=ul(),s}const Dn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dl=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?zo(e,n,o):t==="style"?el(e,s,n):es(t)?ts(t)||il(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hl(e,t,n,o))?(In(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Rn(e,t,n,o,i,t!=="value")):e._isVueCE&&(pl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(n)))?In(e,de(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Rn(e,t,n,o))};function hl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dn(t)&&F(s));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 Dn(t)&&J(s)?!1:t in e}function pl(e,t){const s=e._def.props;if(!s)return!1;const n=de(t);return Array.isArray(s)?s.some(r=>de(r)===n):Object.keys(s).some(r=>de(r)===n)}const gl=se({patchProp:dl},Jo);let Ln;function ml(){return Ln||(Ln=Eo(gl))}const _l=((...e)=>{const t=ml().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=vl(n);if(!r)return;const i=t._component;!F(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,bl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function bl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vl(e){return J(e)?document.querySelector(e):e}const Kr="dh-panel-theme";function xl(){var e;try{const t=localStorage.getItem(Kr);if(t==="dark"||t==="light")return t}catch{}return(e=window.matchMedia)!=null&&e.call(window,"(prefers-color-scheme: dark)").matches?"dark":"light"}const lt=mt(xl());function Vr(e){lt.value=e,document.documentElement.classList.toggle("dark",e==="dark");try{localStorage.setItem(Kr,e)}catch{}}function Hn(){Vr(lt.value==="dark"?"light":"dark")}Vr(lt.value);const yl={class:"dh-card overflow-hidden"},wl={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},Tl={class:"text-base font-bold tracking-[-0.02em] text-strong"},Sl={class:"eyebrow"},El={class:"w-full text-left text-sm"},Cl={class:"data border-t border-subtle px-5 py-2.5 text-xs whitespace-nowrap"},Al={class:"text-strong"},Ol={class:"border-t border-subtle px-5 py-2.5 text-body"},ze={__name:"EndpointTable",props:{title:String,auth:String,endpoints:Array},setup(e){const t={GET:"text-success",POST:"text-brandtext",PATCH:"text-warning",DELETE:"text-danger"};return(s,n)=>(je(),Ke("div",yl,[I("div",wl,[I("div",Tl,Ae(e.title),1),I("span",Sl,Ae(e.auth),1)]),I("table",El,[n[0]||(n[0]=I("thead",null,[I("tr",{class:"[&>th]:eyebrow [&>th]:px-5 [&>th]:py-2.5 [&>th]:font-medium"},[I("th",null,"Endpoint"),I("th",null,"Description")])],-1)),I("tbody",null,[(je(!0),Ke(ae,null,so(e.endpoints,r=>(je(),Ke("tr",{key:r.method+r.path,class:"transition-colors hover:bg-sunken"},[I("td",Cl,[I("span",{class:Ft(["font-semibold",t[r.method]])},Ae(r.method),3),I("span",Al,Ae(r.path),1)]),I("td",Ol,Ae(r.desc),1)]))),128))])])]))}},Pl={class:"mx-auto flex max-w-3xl flex-col gap-6 px-6 pt-12 pb-16"},Ml={class:"flex items-center gap-3"},Rl={class:"inline-flex items-center gap-2.5 select-none"},Il={class:"h-8 w-8 shrink-0",viewBox:"0 0 48 48",fill:"none","aria-hidden":"true"},Fl={transform:"translate(7 0) skewX(-13)"},Dl=["fill"],Ll=["fill"],Hl=["fill"],jl=["title"],$l={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.75",class:"h-4 w-4"},Nl={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.75",class:"h-4 w-4"},Ul={class:"dh-card"},Wl={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},Bl={class:"data flex flex-wrap items-center gap-x-6 gap-y-2 px-5 py-4 text-xs text-muted"},Kl={__name:"App",setup(e){const t=mt("checking"),s=mt(null),n=mt(null),r=mt(null);let i=null;async function o(){const k=performance.now();try{const C=await fetch("/api/health");n.value=Math.round(performance.now()-k),s.value=C.status,t.value=C.ok?"ok":"error"}catch{n.value=null,s.value=null,t.value="unreachable"}r.value=new Date}br(()=>{o(),i=setInterval(o,1e4)}),zs(()=>clearInterval(i));const l={checking:{label:"checking",cls:"bg-sunken text-muted"},ok:{label:"operational",cls:"bg-success-soft text-success"},error:{label:"error",cls:"bg-danger-soft text-danger"},unreachable:{label:"unreachable",cls:"bg-danger-soft text-danger"}},f=Wr(()=>lt.value==="dark"?["#60a5fa","#93c5fd","#ffffff"]:["var(--brand-700)","var(--brand-500)","var(--brand-400)"]),d=[{method:"GET",path:"/api/health",desc:"Liveness probe (no auth)"},{method:"POST",path:"/api/auth/login",desc:"Exchange email + password for a JWT"},{method:"GET",path:"/api/auth/me",desc:"Identity of the bearer token"}],a=[{method:"GET",path:"/api/cars",desc:"List owned + shared cars"},{method:"POST",path:"/api/cars",desc:"Create a car"},{method:"GET",path:"/api/cars/{id}",desc:"Fetch one car"},{method:"PATCH",path:"/api/cars/{id}",desc:"Update a car"},{method:"DELETE",path:"/api/cars/{id}",desc:"Delete a car (owner only)"},{method:"GET",path:"/api/cars/{id}/service-records",desc:"A car's service history"},{method:"GET",path:"/api/cars/{id}/parts",desc:"A car's parts catalog"},{method:"GET",path:"/api/cars/{id}/shares",desc:"Who a car is shared with (owner)"},{method:"POST",path:"/api/cars/{id}/shares",desc:"Share a car by email (owner)"},{method:"DELETE",path:"/api/cars/{id}/shares/{userId}",desc:"Revoke a share (owner)"}],p=[{method:"GET",path:"/api/service-records",desc:"List service records"},{method:"POST",path:"/api/service-records",desc:"Log a service record"},{method:"GET",path:"/api/service-records/{id}",desc:"Fetch one record"},{method:"PATCH",path:"/api/service-records/{id}",desc:"Update a record"},{method:"DELETE",path:"/api/service-records/{id}",desc:"Delete a record"}],T=[{method:"GET",path:"/api/parts",desc:"List parts"},{method:"POST",path:"/api/parts",desc:"Add a part"},{method:"GET",path:"/api/parts/{id}",desc:"Fetch one part"},{method:"PATCH",path:"/api/parts/{id}",desc:"Update a part"},{method:"DELETE",path:"/api/parts/{id}",desc:"Delete a part"}],S=[{method:"GET",path:"/api/me",desc:"Current user profile"},{method:"PATCH",path:"/api/me",desc:"Update profile"},{method:"POST",path:"/api/me/password",desc:"Change password"},{method:"POST",path:"/api/me/avatar",desc:"Upload avatar"},{method:"GET",path:"/api/me/avatar",desc:"Fetch avatar"},{method:"DELETE",path:"/api/me/avatar",desc:"Remove avatar"},{method:"POST",path:"/api/me/verify/request",desc:"Request email verification"},{method:"GET",path:"/api/me/export",desc:"Export your data"},{method:"POST",path:"/api/me/import",desc:"Import data"},{method:"POST",path:"/api/me/delete",desc:"Request account deletion"},{method:"POST",path:"/api/me/delete/cancel",desc:"Cancel deletion request"},{method:"DELETE",path:"/api/me",desc:"Finalize account deletion"}],H=[{method:"GET",path:"/api/sessions",desc:"List active sessions (devices)"},{method:"DELETE",path:"/api/sessions/{id}",desc:"Revoke one session"},{method:"DELETE",path:"/api/sessions",desc:"Revoke all other sessions"}],M=[{method:"GET",path:"/api/admin/users",desc:"List users"},{method:"POST",path:"/api/admin/users",desc:"Create a user"},{method:"PATCH",path:"/api/admin/users/{id}",desc:"Update name / role"},{method:"POST",path:"/api/admin/users/{id}/password",desc:"Reset a user's password"},{method:"DELETE",path:"/api/admin/users/{id}",desc:"Delete a user"}];return(k,C)=>(je(),Ke("div",Pl,[I("div",Ml,[I("span",Rl,[(je(),Ke("svg",Il,[I("g",Fl,[I("rect",{x:"9",y:"16",width:"6",height:"16",rx:"3",fill:f.value[0]},null,8,Dl),I("rect",{x:"19",y:"12",width:"6",height:"24",rx:"3",fill:f.value[1]},null,8,Ll),I("rect",{x:"29",y:"8",width:"6",height:"32",rx:"3",fill:f.value[2]},null,8,Hl)])])),C[1]||(C[1]=I("span",{class:"text-2xl leading-none font-extrabold tracking-[-0.03em] italic"},[I("span",{class:"text-strong"},"Driver"),I("span",{class:"text-brandtext"},"Vault")],-1))]),C[5]||(C[5]=I("span",{class:"eyebrow mt-1.5"},"API server",-1)),C[6]||(C[6]=I("div",{class:"flex-1"},null,-1)),I("button",{class:"dh-btn-ghost",title:_t(lt)==="dark"?"Switch to light theme":"Switch to dark theme",onClick:C[0]||(C[0]=(...D)=>_t(Hn)&&_t(Hn)(...D))},[_t(lt)==="dark"?(je(),Ke("svg",$l,[...C[2]||(C[2]=[I("circle",{cx:"12",cy:"12",r:"4"},null,-1),I("path",{"stroke-linecap":"round",d:"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"},null,-1)])])):(je(),Ke("svg",Nl,[...C[3]||(C[3]=[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z"},null,-1)])])),C[4]||(C[4]=kt(" Theme ",-1))],8,jl)]),I("div",Ul,[I("div",Wl,[C[8]||(C[8]=I("div",{class:"text-base font-bold tracking-[-0.02em] text-strong"},"Status",-1)),I("span",{class:Ft(["data inline-flex items-center gap-1.5 rounded-pill px-2.5 py-1 text-xs font-medium",l[t.value].cls])},[C[7]||(C[7]=I("span",{class:"h-1.5 w-1.5 rounded-full bg-current"},null,-1)),kt(" "+Ae(l[t.value].label),1),t.value==="error"?(je(),Ke(ae,{key:0},[kt(Ae(s.value),1)],64)):Do("",!0)],2)]),I("div",Bl,[C[9]||(C[9]=I("span",null,"GET /api/health",-1)),I("span",null,Ae(n.value!==null?n.value+"ms":"—"),1),I("span",null,Ae(r.value?"checked "+r.value.toLocaleTimeString():"—"),1)])]),Q(ze,{title:"Public",auth:"No auth",endpoints:d}),Q(ze,{title:"Cars",auth:"Bearer JWT",endpoints:a}),Q(ze,{title:"Service records",auth:"Bearer JWT",endpoints:p}),Q(ze,{title:"Parts",auth:"Bearer JWT",endpoints:T}),Q(ze,{title:"Account",auth:"Bearer JWT",endpoints:S}),Q(ze,{title:"Sessions",auth:"Bearer JWT",endpoints:H}),Q(ze,{title:"Admin",auth:"Admin JWT",endpoints:M}),C[10]||(C[10]=I("p",{class:"eyebrow text-center"}," DriverVault — car maintenance & service tracker. ",-1))]))}};_l(Kl).mount("#app");
|