Files
PilotVault/API Server/internal/api/dist/assets/index-DKDpmK_V.js
T
tajniak81andClaude Opus 4.8 afc6952eda Initial commit: PilotVault multi-service project
Add API Server (Go/PocketBase), Web App (Go BFF + Vue), Fly App
(Flutter/DJI MSDK), Adobe Plugin, and Docker/Docker AIO deployment
configs. Design assets and build artifacts are gitignored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 11:43:33 +02:00

18 lines
91 KiB
JavaScript

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=s(i);fetch(i.href,o)}})();/**
* @vue/shared v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function nn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ee={},Ct=[],Ge=()=>{},oi=()=>!1,_s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ws=e=>e.startsWith("onUpdate:"),fe=Object.assign,on=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},bo=Object.prototype.hasOwnProperty,J=(e,t)=>bo.call(e,t),j=Array.isArray,Tt=e=>Qt(e)==="[object Map]",Mt=e=>Qt(e)==="[object Set]",En=e=>Qt(e)==="[object Date]",N=e=>typeof e=="function",ne=e=>typeof e=="string",qe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",ri=e=>(Z(e)||N(e))&&N(e.then)&&N(e.catch),li=Object.prototype.toString,Qt=e=>li.call(e),vo=e=>Qt(e).slice(8,-1),ai=e=>Qt(e)==="[object Object]",rn=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nt=nn(",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)))},yo=/-\w/g,Re=Ss(e=>e.replace(yo,t=>t.slice(1).toUpperCase())),xo=/\B([A-Z])/g,xt=Ss(e=>e.replace(xo,"-$1").toLowerCase()),ci=Ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rs=Ss(e=>e?`on${ci(e)}`:""),We=(e,t)=>!Object.is(e,t),cs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},ui=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Cs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Pn;const Ts=()=>Pn||(Pn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ln(e){if(j(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=ne(n)?Co(n):ln(n);if(i)for(const o in i)t[o]=i[o]}return t}else if(ne(e)||Z(e))return e}const _o=/;(?![^(]*\))/g,wo=/:([^]+)/,So=/\/\*[^]*?\*\//g;function Co(e){const t={};return e.replace(So,"").split(_o).forEach(s=>{if(s){const n=s.split(wo);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ee(e){let t="";if(ne(e))t=e;else if(j(e))for(let s=0;s<e.length;s++){const n=Ee(e[s]);n&&(t+=n+" ")}else if(Z(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const To="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Eo=nn(To);function fi(e){return!!e||e===""}function Po(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=ct(e[n],t[n]);return s}function ct(e,t){if(e===t)return!0;let s=En(e),n=En(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=qe(e),n=qe(t),s||n)return e===t;if(s=j(e),n=j(t),s||n)return s&&n?Po(e,t):!1;if(s=Z(e),n=Z(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const r in e){const l=e.hasOwnProperty(r),c=t.hasOwnProperty(r);if(l&&!c||!l&&c||!ct(e[r],t[r]))return!1}}return String(e)===String(t)}function an(e,t){return e.findIndex(s=>ct(s,t))}const di=e=>!!(e&&e.__v_isRef===!0),U=e=>ne(e)?e:e==null?"":j(e)||Z(e)&&(e.toString===li||!N(e.toString))?di(e)?U(e.value):JSON.stringify(e,pi,2):String(e),pi=(e,t)=>di(t)?pi(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],o)=>(s[Ds(n,o)+" =>"]=i,s),{})}:Mt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ds(s))}:qe(t)?Ds(t):Z(t)&&!j(t)&&!ai(t)?String(t):t,Ds=(e,t="")=>{var s;return qe(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 le;class ko{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&&le&&(le.active?(this.parent=le,this.index=(le.scopes||(le.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=le;try{return le=this,t()}finally{le=s}}}on(){++this._on===1&&(this.prevScope=le,le=this)}off(){if(this._on>0&&--this._on===0){if(le===this)le=this.prevScope;else{let t=le;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 i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Ao(){return le}let te;const Fs=new WeakSet;class hi{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,le&&(le.active?le.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Fs.has(this)&&(Fs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,kn(this),bi(this);const t=te,s=De;te=this,De=!0;try{return this.fn()}finally{vi(this),te=t,De=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)fn(t);this.deps=this.depsTail=void 0,kn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Fs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Gs(this)&&this.run()}get dirty(){return Gs(this)}}let gi=0,Ht,Vt;function mi(e,t=!1){if(e.flags|=8,t){e.next=Vt,Vt=e;return}e.next=Ht,Ht=e}function cn(){gi++}function un(){if(--gi>0)return;if(Vt){let t=Vt;for(Vt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Ht;){let t=Ht;for(Ht=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 bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),fn(n),Oo(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt)||(e.globalVersion=qt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Gs(e))))return;e.flags|=2;const t=e.dep,s=te,n=De;te=e,De=!0;try{bi(e);const i=e.fn(e._value);(t.version===0||We(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{te=s,De=n,vi(e),e.flags&=-3}}function fn(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)fn(o,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Oo(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let De=!0;const xi=[];function Je(){xi.push(De),De=!1}function ze(){const e=xi.pop();De=e===void 0?!0:e}function kn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=te;te=void 0;try{t()}finally{te=s}}}let qt=0;class Mo{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 dn{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(!te||!De||te===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==te)s=this.activeLink=new Mo(te,this),te.deps?(s.prevDep=te.depsTail,te.depsTail.nextDep=s,te.depsTail=s):te.deps=te.depsTail=s,_i(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=te.depsTail,s.nextDep=void 0,te.depsTail.nextDep=s,te.depsTail=s,te.deps===s&&(te.deps=n)}return s}trigger(t){this.version++,qt++,this.notify(t)}notify(t){cn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{un()}}}function _i(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)_i(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const qs=new WeakMap,vt=Symbol(""),Js=Symbol(""),Jt=Symbol("");function ce(e,t,s){if(De&&te){let n=qs.get(e);n||qs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new dn),i.map=n,i.key=s),i.track()}}function st(e,t,s,n,i,o){const r=qs.get(e);if(!r){qt++;return}const l=c=>{c&&c.trigger()};if(cn(),t==="clear")r.forEach(l);else{const c=j(e),p=c&&rn(s);if(c&&s==="length"){const f=Number(n);r.forEach((m,P)=>{(P==="length"||P===Jt||!qe(P)&&P>=f)&&l(m)})}else switch((s!==void 0||r.has(void 0))&&l(r.get(s)),p&&l(r.get(Jt)),t){case"add":c?p&&l(r.get("length")):(l(r.get(vt)),Tt(e)&&l(r.get(Js)));break;case"delete":c||(l(r.get(vt)),Tt(e)&&l(r.get(Js)));break;case"set":Tt(e)&&l(r.get(vt));break}}un()}function wt(e){const t=q(e);return t===e?t:(ce(t,"iterate",Jt),ke(e)?t:t.map(Fe))}function Es(e){return ce(e=q(e),"iterate",Jt),e}function Be(e,t){return ot(e)?kt(yt(e)?Fe(t):t):Fe(t)}const Io={__proto__:null,[Symbol.iterator](){return Ls(this,Symbol.iterator,e=>Be(this,e))},concat(...e){return wt(this).concat(...e.map(t=>j(t)?wt(t):t))},entries(){return Ls(this,"entries",e=>(e[1]=Be(this,e[1]),e))},every(e,t){return Ze(this,"every",e,t,void 0,arguments)},filter(e,t){return Ze(this,"filter",e,t,s=>s.map(n=>Be(this,n)),arguments)},find(e,t){return Ze(this,"find",e,t,s=>Be(this,s),arguments)},findIndex(e,t){return Ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ze(this,"findLast",e,t,s=>Be(this,s),arguments)},findLastIndex(e,t){return Ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return js(this,"includes",e)},indexOf(...e){return js(this,"indexOf",e)},join(e){return wt(this).join(e)},lastIndexOf(...e){return js(this,"lastIndexOf",e)},map(e,t){return Ze(this,"map",e,t,void 0,arguments)},pop(){return Dt(this,"pop")},push(...e){return Dt(this,"push",e)},reduce(e,...t){return An(this,"reduce",e,t)},reduceRight(e,...t){return An(this,"reduceRight",e,t)},shift(){return Dt(this,"shift")},some(e,t){return Ze(this,"some",e,t,void 0,arguments)},splice(...e){return Dt(this,"splice",e)},toReversed(){return wt(this).toReversed()},toSorted(e){return wt(this).toSorted(e)},toSpliced(...e){return wt(this).toSpliced(...e)},unshift(...e){return Dt(this,"unshift",e)},values(){return Ls(this,"values",e=>Be(this,e))}};function Ls(e,t,s){const n=Es(e),i=n[t]();return n!==e&&!ke(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Ro=Array.prototype;function Ze(e,t,s,n,i,o){const r=Es(e),l=r!==e&&!ke(e),c=r[t];if(c!==Ro[t]){const m=c.apply(e,o);return l?Fe(m):m}let p=s;r!==e&&(l?p=function(m,P){return s.call(this,Be(e,m),P,e)}:s.length>2&&(p=function(m,P){return s.call(this,m,P,e)}));const f=c.call(r,p,n);return l&&i?i(f):f}function An(e,t,s,n){const i=Es(e),o=i!==e&&!ke(e);let r=s,l=!1;i!==e&&(o?(l=n.length===0,r=function(p,f,m){return l&&(l=!1,p=Be(e,p)),s.call(this,p,Be(e,f),m,e)}):s.length>3&&(r=function(p,f,m){return s.call(this,p,f,m,e)}));const c=i[t](r,...n);return l?Be(e,c):c}function js(e,t,s){const n=q(e);ce(n,"iterate",Jt);const i=n[t](...s);return(i===-1||i===!1)&&mn(s[0])?(s[0]=q(s[0]),n[t](...s)):i}function Dt(e,t,s=[]){Je(),cn();const n=q(e)[t].apply(e,s);return un(),ze(),n}const Do=nn("__proto__,__v_isRef,__isVue"),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qe));function Fo(e){qe(e)||(e=String(e));const t=q(this);return ce(t,"has",e),t.hasOwnProperty(e)}class Si{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?Wo:Pi:o?Ei:Ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=j(t);if(!i){let c;if(r&&(c=Io[s]))return c;if(s==="hasOwnProperty")return Fo}const l=Reflect.get(t,s,ue(t)?t:n);if((qe(s)?wi.has(s):Do(s))||(i||ce(t,"get",s),o))return l;if(ue(l)){const c=r&&rn(s)?l:l.value;return i&&Z(c)?Ys(c):c}return Z(l)?i?Ys(l):hn(l):l}}class Ci extends Si{constructor(t=!1){super(!1,t)}set(t,s,n,i){let o=t[s];const r=j(t)&&rn(s);if(!this._isShallow){const p=ot(o);if(!ke(n)&&!ot(n)&&(o=q(o),n=q(n)),!r&&ue(o)&&!ue(n))return p||(o.value=n),!0}const l=r?Number(s)<t.length:J(t,s),c=Reflect.set(t,s,n,ue(t)?t:i);return t===q(i)&&c&&(l?We(n,o)&&st(t,"set",s,n):st(t,"add",s,n)),c}deleteProperty(t,s){const n=J(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&st(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!qe(s)||!wi.has(s))&&ce(t,"has",s),n}ownKeys(t){return ce(t,"iterate",j(t)?"length":vt),Reflect.ownKeys(t)}}class Lo extends Si{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const jo=new Ci,Uo=new Lo,$o=new Ci(!0);const zs=e=>e,is=e=>Reflect.getPrototypeOf(e);function No(e,t,s){return function(...n){const i=this.__v_raw,o=q(i),r=Tt(o),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,p=i[e](...n),f=s?zs:t?kt:Fe;return!t&&ce(o,"iterate",c?Js:vt),fe(Object.create(p),{next(){const{value:m,done:P}=p.next();return P?{value:m,done:P}:{value:l?[f(m[0]),f(m[1])]:f(m),done:P}}})}}function os(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ho(e,t){const s={get(i){const o=this.__v_raw,r=q(o),l=q(i);e||(We(i,l)&&ce(r,"get",i),ce(r,"get",l));const{has:c}=is(r),p=t?zs:e?kt:Fe;if(c.call(r,i))return p(o.get(i));if(c.call(r,l))return p(o.get(l));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!e&&ce(q(i),"iterate",vt),i.size},has(i){const o=this.__v_raw,r=q(o),l=q(i);return e||(We(i,l)&&ce(r,"has",i),ce(r,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const r=this,l=r.__v_raw,c=q(l),p=t?zs:e?kt:Fe;return!e&&ce(c,"iterate",vt),l.forEach((f,m)=>i.call(o,p(f),p(m),r))}};return fe(s,e?{add:os("add"),set:os("set"),delete:os("delete"),clear:os("clear")}:{add(i){const o=q(this),r=is(o),l=q(i),c=!t&&!ke(i)&&!ot(i)?l:i;return r.has.call(o,c)||We(i,c)&&r.has.call(o,i)||We(l,c)&&r.has.call(o,l)||(o.add(c),st(o,"add",c,c)),this},set(i,o){!t&&!ke(o)&&!ot(o)&&(o=q(o));const r=q(this),{has:l,get:c}=is(r);let p=l.call(r,i);p||(i=q(i),p=l.call(r,i));const f=c.call(r,i);return r.set(i,o),p?We(o,f)&&st(r,"set",i,o):st(r,"add",i,o),this},delete(i){const o=q(this),{has:r,get:l}=is(o);let c=r.call(o,i);c||(i=q(i),c=r.call(o,i)),l&&l.call(o,i);const p=o.delete(i);return c&&st(o,"delete",i,void 0),p},clear(){const i=q(this),o=i.size!==0,r=i.clear();return o&&st(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=No(i,e,t)}),s}function pn(e,t){const s=Ho(e,t);return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(J(s,i)&&i in n?s:n,i,o)}const Vo={get:pn(!1,!1)},Bo={get:pn(!1,!0)},Ko={get:pn(!0,!1)};const Ti=new WeakMap,Ei=new WeakMap,Pi=new WeakMap,Wo=new WeakMap;function Go(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hn(e){return ot(e)?e:gn(e,!1,jo,Vo,Ti)}function qo(e){return gn(e,!1,$o,Bo,Ei)}function Ys(e){return gn(e,!0,Uo,Ko,Pi)}function gn(e,t,s,n,i){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=i.get(e);if(o)return o;const r=Go(vo(e));if(r===0)return e;const l=new Proxy(e,r===2?n:s);return i.set(e,l),l}function yt(e){return ot(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function ot(e){return!!(e&&e.__v_isReadonly)}function ke(e){return!!(e&&e.__v_isShallow)}function mn(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function Jo(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&ui(e,"__v_skip",!0),e}const Fe=e=>Z(e)?hn(e):e,kt=e=>Z(e)?Ys(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function z(e){return zo(e,!1)}function zo(e,t){return ue(e)?e:new Yo(e,t)}class Yo{constructor(t,s){this.dep=new dn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:q(t),this._value=s?t:Fe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ke(t)||ot(t);t=n?t:q(t),We(t,s)&&(this._rawValue=t,this._value=n?t:Fe(t),this.dep.trigger())}}function jt(e){return ue(e)?e.value:e}const Xo={get:(e,t,s)=>t==="__v_raw"?e:jt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ue(i)&&!ue(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ki(e){return yt(e)?e:new Proxy(e,Xo)}class Zo{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new dn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return mi(this,!0),!0}get value(){const t=this.dep.track();return yi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Qo(e,t,s=!1){let n,i;return N(e)?n=e:(n=e.get,i=e.set),new Zo(n,i,s)}const rs={},ps=new WeakMap;let bt;function er(e,t=!1,s=bt){if(s){let n=ps.get(s);n||ps.set(s,n=[]),n.push(e)}}function tr(e,t,s=ee){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:l,call:c}=s,p=R=>i?R:ke(R)||i===!1||i===0?nt(R,1):nt(R);let f,m,P,A,B=!1,O=!1;if(ue(e)?(m=()=>e.value,B=ke(e)):yt(e)?(m=()=>p(e),B=!0):j(e)?(O=!0,B=e.some(R=>yt(R)||ke(R)),m=()=>e.map(R=>{if(ue(R))return R.value;if(yt(R))return p(R);if(N(R))return c?c(R,2):R()})):N(e)?t?m=c?()=>c(e,2):e:m=()=>{if(P){Je();try{P()}finally{ze()}}const R=bt;bt=f;try{return c?c(e,3,[A]):e(A)}finally{bt=R}}:m=Ge,t&&i){const R=m,G=i===!0?1/0:i;m=()=>nt(R(),G)}const H=Ao(),K=()=>{f.stop(),H&&H.active&&on(H.effects,f)};if(o&&t){const R=t;t=(...G)=>{const be=R(...G);return K(),be}}let $=O?new Array(e.length).fill(rs):rs;const W=R=>{if(!(!(f.flags&1)||!f.dirty&&!R))if(t){const G=f.run();if(R||i||B||(O?G.some((be,we)=>We(be,$[we])):We(G,$))){P&&P();const be=bt;bt=f;try{const we=[G,$===rs?void 0:O&&$[0]===rs?[]:$,A];$=G,c?c(t,3,we):t(...we)}finally{bt=be}}}else f.run()};return l&&l(W),f=new hi(m),f.scheduler=r?()=>r(W,!1):W,A=R=>er(R,!1,f),P=f.onStop=()=>{const R=ps.get(f);if(R){if(c)c(R,4);else for(const G of R)G();ps.delete(f)}},t?n?W(!0):$=f.run():r?r(W.bind(null,!0),!0):f.run(),K.pause=f.pause.bind(f),K.resume=f.resume.bind(f),K.stop=K,K}function nt(e,t=1/0,s){if(t<=0||!Z(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ue(e))nt(e.value,t,s);else if(j(e))for(let n=0;n<e.length;n++)nt(e[n],t,s);else if(Mt(e)||Tt(e))e.forEach(n=>{nt(n,t,s)});else if(ai(e)){for(const n in e)nt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&nt(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function es(e,t,s,n){try{return n?e(...n):e()}catch(i){Ps(i,t,s)}}function Le(e,t,s,n){if(N(e)){const i=es(e,t,s,n);return i&&ri(i)&&i.catch(o=>{Ps(o,t,s)}),i}if(j(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Le(e[o],t,s,n));return i}}function Ps(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,p=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const f=l.ec;if(f){for(let m=0;m<f.length;m++)if(f[m](e,c,p)===!1)return}l=l.parent}if(o){Je(),es(o,null,10,[e,c,p]),ze();return}}sr(e,s,i,n,r)}function sr(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const pe=[];let Ve=-1;const Et=[];let at=null,St=0;const Ai=Promise.resolve();let hs=null;function Oi(e){const t=hs||Ai;return e?t.then(this?e.bind(this):e):t}function nr(e){let t=Ve+1,s=pe.length;for(;t<s;){const n=t+s>>>1,i=pe[n],o=zt(i);o<e||o===e&&i.flags&2?t=n+1:s=n}return t}function bn(e){if(!(e.flags&1)){const t=zt(e),s=pe[pe.length-1];!s||!(e.flags&2)&&t>=zt(s)?pe.push(e):pe.splice(nr(t),0,e),e.flags|=1,Mi()}}function Mi(){hs||(hs=Ai.then(Ri))}function ir(e){j(e)?Et.push(...e):at&&e.id===-1?at.splice(St+1,0,e):e.flags&1||(Et.push(e),e.flags|=1),Mi()}function On(e,t,s=Ve+1){for(;s<pe.length;s++){const n=pe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;pe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Ii(e){if(Et.length){const t=[...new Set(Et)].sort((s,n)=>zt(s)-zt(n));if(Et.length=0,at){at.push(...t);return}for(at=t,St=0;St<at.length;St++){const s=at[St];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}at=null,St=0}}const zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ri(e){try{for(Ve=0;Ve<pe.length;Ve++){const t=pe[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),es(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<pe.length;Ve++){const t=pe[Ve];t&&(t.flags&=-2)}Ve=-1,pe.length=0,Ii(),hs=null,(pe.length||Et.length)&&Ri()}}let Pe=null,Di=null;function gs(e){const t=Pe;return Pe=e,Di=e&&e.type.__scopeId||null,t}function or(e,t=Pe,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Hn(-1);const o=gs(t);let r;try{r=e(...i)}finally{gs(o),n._d&&Hn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ce(e,t){if(Pe===null)return e;const s=Ms(Pe),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,r,l,c=ee]=t[i];o&&(N(o)&&(o={mounted:o,updated:o}),o.deep&&nt(r),n.push({dir:o,instance:s,value:r,oldValue:void 0,arg:l,modifiers:c}))}return e}function gt(e,t,s,n){const i=e.dirs,o=t&&t.dirs;for(let r=0;r<i.length;r++){const l=i[r];o&&(l.oldValue=o[r].value);let c=l.dir[n];c&&(Je(),Le(c,s,8,[e.el,l,e,t]),ze())}}function rr(e,t){if(he){let s=he.provides;const n=he.parent&&he.parent.provides;n===s&&(s=he.provides=Object.create(n)),s[e]=t}}function us(e,t,s=!1){const n=ol();if(n||Pt){let i=Pt?Pt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&N(t)?t.call(n&&n.proxy):t}}const lr=Symbol.for("v-scx"),ar=()=>us(lr);function Us(e,t,s){return Fi(e,t,s)}function Fi(e,t,s=ee){const{immediate:n,deep:i,flush:o,once:r}=s,l=fe({},s),c=t&&n||!t&&o!=="post";let p;if(Xt){if(o==="sync"){const A=ar();p=A.__watcherHandles||(A.__watcherHandles=[])}else if(!c){const A=()=>{};return A.stop=Ge,A.resume=Ge,A.pause=Ge,A}}const f=he;l.call=(A,B,O)=>Le(A,f,B,O);let m=!1;o==="post"?l.scheduler=A=>{me(A,f&&f.suspense)}:o!=="sync"&&(m=!0,l.scheduler=(A,B)=>{B?A():bn(A)}),l.augmentJob=A=>{t&&(A.flags|=4),m&&(A.flags|=2,f&&(A.id=f.uid,A.i=f))};const P=tr(e,t,l);return Xt&&(p?p.push(P):c&&P()),P}function cr(e,t,s){const n=this.proxy,i=ne(e)?e.includes(".")?Li(n,e):()=>n[e]:e.bind(n,n);let o;N(t)?o=t:(o=t.handler,s=t);const r=ts(this),l=Fi(i,o.bind(n),s);return r(),l}function Li(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const ur=Symbol("_vte"),fr=e=>e.__isTeleport,$s=Symbol("_leaveCb");function vn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vn(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 ji(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Mn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ms=new WeakMap;function Bt(e,t,s,n,i=!1){if(j(e)){e.forEach((O,H)=>Bt(O,t&&(j(t)?t[H]:t),s,n,i));return}if(Kt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Bt(e,t,s,n.component.subTree);return}const o=n.shapeFlag&4?Ms(n.component):n.el,r=i?null:o,{i:l,r:c}=e,p=t&&t.r,f=l.refs===ee?l.refs={}:l.refs,m=l.setupState,P=q(m),A=m===ee?oi:O=>Mn(f,O)?!1:J(P,O),B=(O,H)=>!(H&&Mn(f,H));if(p!=null&&p!==c){if(In(t),ne(p))f[p]=null,A(p)&&(m[p]=null);else if(ue(p)){const O=t;B(p,O.k)&&(p.value=null),O.k&&(f[O.k]=null)}}if(N(c)){Je();try{es(c,l,12,[r,f])}finally{ze()}}else{const O=ne(c),H=ue(c);if(O||H){const K=()=>{if(e.f){const $=O?A(c)?m[c]:f[c]:B()||!e.k?c.value:f[e.k];if(i)j($)&&on($,o);else if(j($))$.includes(o)||$.push(o);else if(O)f[c]=[o],A(c)&&(m[c]=f[c]);else{const W=[o];B(c,e.k)&&(c.value=W),e.k&&(f[e.k]=W)}}else O?(f[c]=r,A(c)&&(m[c]=r)):H&&(B(c,e.k)&&(c.value=r),e.k&&(f[e.k]=r))};if(r){const $=()=>{K(),ms.delete(e)};$.id=-1,ms.set(e,$),me($,s)}else In(e),K()}}}function In(e){const t=ms.get(e);t&&(t.flags|=8,ms.delete(e))}Ts().requestIdleCallback;Ts().cancelIdleCallback;const Kt=e=>!!e.type.__asyncLoader,Ui=e=>e.type.__isKeepAlive;function dr(e,t){$i(e,"a",t)}function pr(e,t){$i(e,"da",t)}function $i(e,t,s=he){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ks(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Ui(i.parent.vnode)&&hr(n,t,s,i),i=i.parent}}function hr(e,t,s,n){const i=ks(t,e,n,!0);yn(()=>{on(n[t],i)},s)}function ks(e,t,s=he,n=!1){if(s){const i=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Je();const l=ts(s),c=Le(t,s,e,r);return l(),ze(),c});return n?i.unshift(o):i.push(o),o}}const rt=e=>(t,s=he)=>{(!Xt||e==="sp")&&ks(e,(...n)=>t(...n),s)},gr=rt("bm"),Ni=rt("m"),mr=rt("bu"),br=rt("u"),vr=rt("bum"),yn=rt("um"),yr=rt("sp"),xr=rt("rtg"),_r=rt("rtc");function wr(e,t=he){ks("ec",e,t)}const Sr=Symbol.for("v-ndc");function lt(e,t,s,n){let i;const o=s,r=j(e);if(r||ne(e)){const l=r&&yt(e);let c=!1,p=!1;l&&(c=!ke(e),p=ot(e),e=Es(e)),i=new Array(e.length);for(let f=0,m=e.length;f<m;f++)i[f]=t(c?p?kt(Fe(e[f])):Fe(e[f]):e[f],f,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,o)}else if(Z(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,p=l.length;c<p;c++){const f=l[c];i[c]=t(e[f],f,c,o)}}else i=[];return i}const Xs=e=>e?lo(e)?Ms(e):Xs(e.parent):null,Wt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xs(e.parent),$root:e=>Xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vi(e),$forceUpdate:e=>e.f||(e.f=()=>{bn(e.update)}),$nextTick:e=>e.n||(e.n=Oi.bind(e.proxy)),$watch:e=>cr.bind(e)}),Ns=(e,t)=>e!==ee&&!e.__isScriptSetup&&J(e,t),Cr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:l,appContext:c}=e;if(t[0]!=="$"){const P=r[t];if(P!==void 0)switch(P){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return o[t]}else{if(Ns(n,t))return r[t]=1,n[t];if(i!==ee&&J(i,t))return r[t]=2,i[t];if(J(o,t))return r[t]=3,o[t];if(s!==ee&&J(s,t))return r[t]=4,s[t];Zs&&(r[t]=0)}}const p=Wt[t];let f,m;if(p)return t==="$attrs"&&ce(e.attrs,"get",""),p(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(s!==ee&&J(s,t))return r[t]=4,s[t];if(m=c.config.globalProperties,J(m,t))return m[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:o}=e;return Ns(i,t)?(i[t]=s,!0):n!==ee&&J(n,t)?(n[t]=s,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:o,type:r}},l){let c;return!!(s[l]||e!==ee&&l[0]!=="$"&&J(e,l)||Ns(t,l)||J(o,l)||J(n,l)||J(Wt,l)||J(i.config.globalProperties,l)||(c=r.__cssModules)&&c[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:J(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Rn(e){return j(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Zs=!0;function Tr(e){const t=Vi(e),s=e.proxy,n=e.ctx;Zs=!1,t.beforeCreate&&Dn(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:l,provide:c,inject:p,created:f,beforeMount:m,mounted:P,beforeUpdate:A,updated:B,activated:O,deactivated:H,beforeDestroy:K,beforeUnmount:$,destroyed:W,unmounted:R,render:G,renderTracked:be,renderTriggered:we,errorCaptured:je,serverPrefetch:Se,expose:ge,inheritAttrs:oe,components:Ue,directives:Oe,filters:ae}=t;if(p&&Er(p,n,null),r)for(const Y in r){const X=r[Y];N(X)&&(n[Y]=X.bind(s))}if(i){const Y=i.call(s,s);Z(Y)&&(e.data=hn(Y))}if(Zs=!0,o)for(const Y in o){const X=o[Y],Ie=N(X)?X.bind(s,s):N(X.get)?X.get.bind(s,s):Ge,_t=!N(X)&&N(X.set)?X.set.bind(s):Ge,Ye=co({get:Ie,set:_t});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ve=>Ye.value=ve})}if(l)for(const Y in l)Hi(l[Y],n,s,Y);if(c){const Y=N(c)?c.call(s):c;Reflect.ownKeys(Y).forEach(X=>{rr(X,Y[X])})}f&&Dn(f,e,"c");function se(Y,X){j(X)?X.forEach(Ie=>Y(Ie.bind(s))):X&&Y(X.bind(s))}if(se(gr,m),se(Ni,P),se(mr,A),se(br,B),se(dr,O),se(pr,H),se(wr,je),se(_r,be),se(xr,we),se(vr,$),se(yn,R),se(yr,Se),j(ge))if(ge.length){const Y=e.exposed||(e.exposed={});ge.forEach(X=>{Object.defineProperty(Y,X,{get:()=>s[X],set:Ie=>s[X]=Ie,enumerable:!0})})}else e.exposed||(e.exposed={});G&&e.render===Ge&&(e.render=G),oe!=null&&(e.inheritAttrs=oe),Ue&&(e.components=Ue),Oe&&(e.directives=Oe),Se&&ji(e)}function Er(e,t,s=Ge){j(e)&&(e=Qs(e));for(const n in e){const i=e[n];let o;Z(i)?"default"in i?o=us(i.from||n,i.default,!0):o=us(i.from||n):o=us(i),ue(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[n]=o}}function Dn(e,t,s){Le(j(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Hi(e,t,s,n){let i=n.includes(".")?Li(s,n):()=>s[n];if(ne(e)){const o=t[e];N(o)&&Us(i,o)}else if(N(e))Us(i,e.bind(s));else if(Z(e))if(j(e))e.forEach(o=>Hi(o,t,s,n));else{const o=N(e.handler)?e.handler.bind(s):t[e.handler];N(o)&&Us(i,o,e)}}function Vi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,l=o.get(t);let c;return l?c=l:!i.length&&!s&&!n?c=t:(c={},i.length&&i.forEach(p=>bs(c,p,r,!0)),bs(c,t,r)),Z(t)&&o.set(t,c),c}function bs(e,t,s,n=!1){const{mixins:i,extends:o}=t;o&&bs(e,o,s,!0),i&&i.forEach(r=>bs(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const l=Pr[r]||s&&s[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Pr={data:Fn,props:Ln,emits:Ln,methods:Ut,computed:Ut,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Ut,directives:Ut,watch:Ar,provide:Fn,inject:kr};function Fn(e,t){return t?e?function(){return fe(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function kr(e,t){return Ut(Qs(e),Qs(t))}function Qs(e){if(j(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function de(e,t){return e?[...new Set([].concat(e,t))]:t}function Ut(e,t){return e?fe(Object.create(null),e,t):t}function Ln(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:fe(Object.create(null),Rn(e),Rn(t??{})):t}function Ar(e,t){if(!e)return t;if(!t)return e;const s=fe(Object.create(null),e);for(const n in t)s[n]=de(e[n],t[n]);return s}function Bi(){return{app:null,config:{isNativeTag:oi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Or=0;function Mr(e,t){return function(n,i=null){N(n)||(n=fe({},n)),i!=null&&!Z(i)&&(i=null);const o=Bi(),r=new WeakSet,l=[];let c=!1;const p=o.app={_uid:Or++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:fl,get config(){return o.config},set config(f){},use(f,...m){return r.has(f)||(f&&N(f.install)?(r.add(f),f.install(p,...m)):N(f)&&(r.add(f),f(p,...m))),p},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),p},component(f,m){return m?(o.components[f]=m,p):o.components[f]},directive(f,m){return m?(o.directives[f]=m,p):o.directives[f]},mount(f,m,P){if(!c){const A=p._ceVNode||_e(n,i);return A.appContext=o,P===!0?P="svg":P===!1&&(P=void 0),e(A,f,P),c=!0,p._container=f,f.__vue_app__=p,Ms(A.component)}},onUnmount(f){l.push(f)},unmount(){c&&(Le(l,p._instance,16),e(null,p._container),delete p._container.__vue_app__)},provide(f,m){return o.provides[f]=m,p},runWithContext(f){const m=Pt;Pt=p;try{return f()}finally{Pt=m}}};return p}}let Pt=null;const Ir=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Re(t)}Modifiers`]||e[`${xt(t)}Modifiers`];function Rr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ee;let i=s;const o=t.startsWith("update:"),r=o&&Ir(n,t.slice(7));r&&(r.trim&&(i=s.map(f=>ne(f)?f.trim():f)),r.number&&(i=s.map(Cs)));let l,c=n[l=Rs(t)]||n[l=Rs(Re(t))];!c&&o&&(c=n[l=Rs(xt(t))]),c&&Le(c,e,6,i);const p=n[l+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Le(p,e,6,i)}}const Dr=new WeakMap;function Ki(e,t,s=!1){const n=s?Dr:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let r={},l=!1;if(!N(e)){const c=p=>{const f=Ki(p,t,!0);f&&(l=!0,fe(r,f))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&n.set(e,null),null):(j(o)?o.forEach(c=>r[c]=null):fe(r,o),Z(e)&&n.set(e,r),r)}function As(e,t){return!e||!_s(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,xt(t))||J(e,t))}function jn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:l,emit:c,render:p,renderCache:f,props:m,data:P,setupState:A,ctx:B,inheritAttrs:O}=e,H=gs(e);let K,$;try{if(s.shapeFlag&4){const R=i||n,G=R;K=Ke(p.call(G,R,f,m,A,P,B)),$=l}else{const R=t;K=Ke(R.length>1?R(m,{attrs:l,slots:r,emit:c}):R(m,null)),$=t.props?l:Fr(l)}}catch(R){Gt.length=0,Ps(R,e,1),K=_e(ut)}let W=K;if($&&O!==!1){const R=Object.keys($),{shapeFlag:G}=W;R.length&&G&7&&(o&&R.some(ws)&&($=Lr($,o)),W=At(W,$,!1,!0))}return s.dirs&&(W=At(W,null,!1,!0),W.dirs=W.dirs?W.dirs.concat(s.dirs):s.dirs),s.transition&&vn(W,s.transition),K=W,gs(H),K}const Fr=e=>{let t;for(const s in e)(s==="class"||s==="style"||_s(s))&&((t||(t={}))[s]=e[s]);return t},Lr=(e,t)=>{const s={};for(const n in e)(!ws(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function jr(e,t,s){const{props:n,children:i,component:o}=e,{props:r,children:l,patchFlag:c}=t,p=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Un(n,r,p):!!r;if(c&8){const f=t.dynamicProps;for(let m=0;m<f.length;m++){const P=f[m];if(Wi(r,n,P)&&!As(p,P))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===r?!1:n?r?Un(n,r,p):!0:!!r;return!1}function Un(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(Wi(t,e,o)&&!As(s,o))return!0}return!1}function Wi(e,t,s){const n=e[s],i=t[s];return s==="style"&&Z(n)&&Z(i)?!ct(n,i):n!==i}function Ur({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Gi={},qi=()=>Object.create(Gi),Ji=e=>Object.getPrototypeOf(e)===Gi;function $r(e,t,s,n=!1){const i={},o=qi();e.propsDefaults=Object.create(null),zi(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);s?e.props=n?i:qo(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Nr(e,t,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,l=q(i),[c]=e.propsOptions;let p=!1;if((n||r>0)&&!(r&16)){if(r&8){const f=e.vnode.dynamicProps;for(let m=0;m<f.length;m++){let P=f[m];if(As(e.emitsOptions,P))continue;const A=t[P];if(c)if(J(o,P))A!==o[P]&&(o[P]=A,p=!0);else{const B=Re(P);i[B]=en(c,l,B,A,e,!1)}else A!==o[P]&&(o[P]=A,p=!0)}}}else{zi(e,t,i,o)&&(p=!0);let f;for(const m in l)(!t||!J(t,m)&&((f=xt(m))===m||!J(t,f)))&&(c?s&&(s[m]!==void 0||s[f]!==void 0)&&(i[m]=en(c,l,m,void 0,e,!0)):delete i[m]);if(o!==l)for(const m in o)(!t||!J(t,m))&&(delete o[m],p=!0)}p&&st(e.attrs,"set","")}function zi(e,t,s,n){const[i,o]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(Nt(c))continue;const p=t[c];let f;i&&J(i,f=Re(c))?!o||!o.includes(f)?s[f]=p:(l||(l={}))[f]=p:As(e.emitsOptions,c)||(!(c in n)||p!==n[c])&&(n[c]=p,r=!0)}if(o){const c=q(s),p=l||ee;for(let f=0;f<o.length;f++){const m=o[f];s[m]=en(i,c,m,p[m],e,!J(p,m))}}return r}function en(e,t,s,n,i,o){const r=e[s];if(r!=null){const l=J(r,"default");if(l&&n===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&N(c)){const{propsDefaults:p}=i;if(s in p)n=p[s];else{const f=ts(i);n=p[s]=c.call(null,t),f()}}else n=c;i.ce&&i.ce._setProp(s,n)}r[0]&&(o&&!l?n=!1:r[1]&&(n===""||n===xt(s))&&(n=!0))}return n}const Hr=new WeakMap;function Yi(e,t,s=!1){const n=s?Hr:t.propsCache,i=n.get(e);if(i)return i;const o=e.props,r={},l=[];let c=!1;if(!N(e)){const f=m=>{c=!0;const[P,A]=Yi(m,t,!0);fe(r,P),A&&l.push(...A)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&n.set(e,Ct),Ct;if(j(o))for(let f=0;f<o.length;f++){const m=Re(o[f]);$n(m)&&(r[m]=ee)}else if(o)for(const f in o){const m=Re(f);if($n(m)){const P=o[f],A=r[m]=j(P)||N(P)?{type:P}:fe({},P),B=A.type;let O=!1,H=!0;if(j(B))for(let K=0;K<B.length;++K){const $=B[K],W=N($)&&$.name;if(W==="Boolean"){O=!0;break}else W==="String"&&(H=!1)}else O=N(B)&&B.name==="Boolean";A[0]=O,A[1]=H,(O||J(A,"default"))&&l.push(m)}}const p=[r,l];return Z(e)&&n.set(e,p),p}function $n(e){return e[0]!=="$"&&!Nt(e)}const xn=e=>e==="_"||e==="_ctx"||e==="$stable",_n=e=>j(e)?e.map(Ke):[Ke(e)],Vr=(e,t,s)=>{if(t._n)return t;const n=or((...i)=>_n(t(...i)),s);return n._c=!1,n},Xi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(xn(i))continue;const o=e[i];if(N(o))t[i]=Vr(i,o,n);else if(o!=null){const r=_n(o);t[i]=()=>r}}},Zi=(e,t)=>{const s=_n(t);e.slots.default=()=>s},Qi=(e,t,s)=>{for(const n in t)(s||!xn(n))&&(e[n]=t[n])},Br=(e,t,s)=>{const n=e.slots=qi();if(e.vnode.shapeFlag&32){const i=t._;i?(Qi(n,t,s),s&&ui(n,"_",i,!0)):Xi(t,n)}else t&&Zi(e,t)},Kr=(e,t,s)=>{const{vnode:n,slots:i}=e;let o=!0,r=ee;if(n.shapeFlag&32){const l=t._;l?s&&l===1?o=!1:Qi(i,t,s):(o=!t.$stable,Xi(t,i)),r=t}else t&&(Zi(e,t),r={default:1});if(o)for(const l in i)!xn(l)&&r[l]==null&&delete i[l]},me=zr;function Wr(e){return Gr(e)}function Gr(e,t){const s=Ts();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:l,createComment:c,setText:p,setElementText:f,parentNode:m,nextSibling:P,setScopeId:A=Ge,insertStaticContent:B}=e,O=(a,u,g,_=null,b=null,v=null,T=void 0,C=null,S=!!u.dynamicChildren)=>{if(a===u)return;a&&!Ft(a,u)&&(_=pt(a),ve(a,b,v,!0),a=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:x,ref:I,shapeFlag:E}=u;switch(x){case Os:H(a,u,g,_);break;case ut:K(a,u,g,_);break;case fs:a==null&&$(u,g,_,T);break;case re:Ue(a,u,g,_,b,v,T,C,S);break;default:E&1?G(a,u,g,_,b,v,T,C,S):E&6?Oe(a,u,g,_,b,v,T,C,S):(E&64||E&128)&&x.process(a,u,g,_,b,v,T,C,S,ht)}I!=null&&b?Bt(I,a&&a.ref,v,u||a,!u):I==null&&a&&a.ref!=null&&Bt(a.ref,null,v,a,!0)},H=(a,u,g,_)=>{if(a==null)n(u.el=l(u.children),g,_);else{const b=u.el=a.el;u.children!==a.children&&p(b,u.children)}},K=(a,u,g,_)=>{a==null?n(u.el=c(u.children||""),g,_):u.el=a.el},$=(a,u,g,_)=>{[a.el,a.anchor]=B(a.children,u,g,_,a.el,a.anchor)},W=({el:a,anchor:u},g,_)=>{let b;for(;a&&a!==u;)b=P(a),n(a,g,_),a=b;n(u,g,_)},R=({el:a,anchor:u})=>{let g;for(;a&&a!==u;)g=P(a),i(a),a=g;i(u)},G=(a,u,g,_,b,v,T,C,S)=>{if(u.type==="svg"?T="svg":u.type==="math"&&(T="mathml"),a==null)be(u,g,_,b,v,T,C,S);else{const x=a.el&&a.el._isVueCE?a.el:null;try{x&&x._beginPatch(),Se(a,u,b,v,T,C,S)}finally{x&&x._endPatch()}}},be=(a,u,g,_,b,v,T,C)=>{let S,x;const{props:I,shapeFlag:E,transition:M,dirs:L}=a;if(S=a.el=r(a.type,v,I&&I.is,I),E&8?f(S,a.children):E&16&&je(a.children,S,null,_,b,Hs(a,v),T,C),L&&gt(a,null,_,"created"),we(S,a,a.scopeId,T,_),I){for(const w in I)w!=="value"&&!Nt(w)&&o(S,w,null,I[w],v,_);"value"in I&&o(S,"value",null,I.value,v),(x=I.onVnodeBeforeMount)&&He(x,_,a)}L&&gt(a,null,_,"beforeMount");const V=qr(b,M);V&&M.beforeEnter(S),n(S,u,g),((x=I&&I.onVnodeMounted)||V||L)&&me(()=>{try{x&&He(x,_,a),V&&M.enter(S),L&&gt(a,null,_,"mounted")}finally{}},b)},we=(a,u,g,_,b)=>{if(g&&A(a,g),_)for(let v=0;v<_.length;v++)A(a,_[v]);if(b){let v=b.subTree;if(u===v||no(v.type)&&(v.ssContent===u||v.ssFallback===u)){const T=b.vnode;we(a,T,T.scopeId,T.slotScopeIds,b.parent)}}},je=(a,u,g,_,b,v,T,C,S=0)=>{for(let x=S;x<a.length;x++){const I=a[x]=C?tt(a[x]):Ke(a[x]);O(null,I,u,g,_,b,v,T,C)}},Se=(a,u,g,_,b,v,T)=>{const C=u.el=a.el;let{patchFlag:S,dynamicChildren:x,dirs:I}=u;S|=a.patchFlag&16;const E=a.props||ee,M=u.props||ee;let L;if(g&&mt(g,!1),(L=M.onVnodeBeforeUpdate)&&He(L,g,u,a),I&&gt(u,a,g,"beforeUpdate"),g&&mt(g,!0),x&&(!a.dynamicChildren||a.dynamicChildren.length!==x.length)&&(S=0,T=!1,x=null),(E.innerHTML&&M.innerHTML==null||E.textContent&&M.textContent==null)&&f(C,""),x?ge(a.dynamicChildren,x,C,g,_,Hs(u,b),v):T||X(a,u,C,null,g,_,Hs(u,b),v,!1),S>0){if(S&16)oe(C,E,M,g,b);else if(S&2&&E.class!==M.class&&o(C,"class",null,M.class,b),S&4&&o(C,"style",E.style,M.style,b),S&8){const V=u.dynamicProps;for(let w=0;w<V.length;w++){const d=V[w],h=E[d],k=M[d];(k!==h||d==="value")&&o(C,d,h,k,b,g)}}S&1&&a.children!==u.children&&f(C,u.children)}else!T&&x==null&&oe(C,E,M,g,b);((L=M.onVnodeUpdated)||I)&&me(()=>{L&&He(L,g,u,a),I&&gt(u,a,g,"updated")},_)},ge=(a,u,g,_,b,v,T)=>{for(let C=0;C<u.length;C++){const S=a[C],x=u[C],I=S.el&&(S.type===re||!Ft(S,x)||S.shapeFlag&198)?m(S.el):g;O(S,x,I,null,_,b,v,T,!0)}},oe=(a,u,g,_,b)=>{if(u!==g){if(u!==ee)for(const v in u)!Nt(v)&&!(v in g)&&o(a,v,u[v],null,b,_);for(const v in g){if(Nt(v))continue;const T=g[v],C=u[v];T!==C&&v!=="value"&&o(a,v,C,T,b,_)}"value"in g&&o(a,"value",u.value,g.value,b)}},Ue=(a,u,g,_,b,v,T,C,S)=>{const x=u.el=a?a.el:l(""),I=u.anchor=a?a.anchor:l("");let{patchFlag:E,dynamicChildren:M,slotScopeIds:L}=u;L&&(C=C?C.concat(L):L),a==null?(n(x,g,_),n(I,g,_),je(u.children||[],g,I,b,v,T,C,S)):E>0&&E&64&&M&&a.dynamicChildren&&a.dynamicChildren.length===M.length?(ge(a.dynamicChildren,M,g,b,v,T,C),(u.key!=null||b&&u===b.subTree)&&eo(a,u,!0)):X(a,u,g,I,b,v,T,C,S)},Oe=(a,u,g,_,b,v,T,C,S)=>{u.slotScopeIds=C,a==null?u.shapeFlag&512?b.ctx.activate(u,g,_,T,S):ae(u,g,_,b,v,T,S):Me(a,u,S)},ae=(a,u,g,_,b,v,T)=>{const C=a.component=il(a,_,b);if(Ui(a)&&(C.ctx.renderer=ht),rl(C,!1,T),C.asyncDep){if(b&&b.registerDep(C,se,T),!a.el){const S=C.subTree=_e(ut);K(null,S,u,g),a.placeholder=S.el}}else se(C,a,u,g,b,v,T)},Me=(a,u,g)=>{const _=u.component=a.component;if(jr(a,u,g))if(_.asyncDep&&!_.asyncResolved){Y(_,u,g);return}else _.next=u,_.update();else u.el=a.el,_.vnode=u},se=(a,u,g,_,b,v,T)=>{const C=()=>{if(a.isMounted){let{next:E,bu:M,u:L,parent:V,vnode:w}=a;{const $e=to(a);if($e){E&&(E.el=w.el,Y(a,E,T)),$e.asyncDep.then(()=>{me(()=>{a.isUnmounted||x()},b)});return}}let d=E,h;mt(a,!1),E?(E.el=w.el,Y(a,E,T)):E=w,M&&cs(M),(h=E.props&&E.props.onVnodeBeforeUpdate)&&He(h,V,E,w),mt(a,!0);const k=jn(a),ie=a.subTree;a.subTree=k,O(ie,k,m(ie.el),pt(ie),a,b,v),E.el=k.el,d===null&&Ur(a,k.el),L&&me(L,b),(h=E.props&&E.props.onVnodeUpdated)&&me(()=>He(h,V,E,w),b)}else{let E;const{el:M,props:L}=u,{bm:V,m:w,parent:d,root:h,type:k}=a,ie=Kt(u);mt(a,!1),V&&cs(V),!ie&&(E=L&&L.onVnodeBeforeMount)&&He(E,d,u),mt(a,!0);{h.ce&&h.ce._hasShadowRoot()&&h.ce._injectChildStyle(k,a.parent?a.parent.type:void 0);const $e=a.subTree=jn(a);O(null,$e,g,_,a,b,v),u.el=$e.el}if(w&&me(w,b),!ie&&(E=L&&L.onVnodeMounted)){const $e=u;me(()=>He(E,d,$e),b)}(u.shapeFlag&256||d&&Kt(d.vnode)&&d.vnode.shapeFlag&256)&&a.a&&me(a.a,b),a.isMounted=!0,u=g=_=null}};a.scope.on();const S=a.effect=new hi(C);a.scope.off();const x=a.update=S.run.bind(S),I=a.job=S.runIfDirty.bind(S);I.i=a,I.id=a.uid,S.scheduler=()=>bn(I),mt(a,!0),x()},Y=(a,u,g)=>{u.component=a;const _=a.vnode.props;a.vnode=u,a.next=null,Nr(a,u.props,_,g),Kr(a,u.children,g),Je(),On(a),ze()},X=(a,u,g,_,b,v,T,C,S=!1)=>{const x=a&&a.children,I=a?a.shapeFlag:0,E=u.children,{patchFlag:M,shapeFlag:L}=u;if(M>0){if(M&128){_t(x,E,g,_,b,v,T,C,S);return}else if(M&256){Ie(x,E,g,_,b,v,T,C,S);return}}L&8?(I&16&&dt(x,b,v),E!==x&&f(g,E)):I&16?L&16?_t(x,E,g,_,b,v,T,C,S):dt(x,b,v,!0):(I&8&&f(g,""),L&16&&je(E,g,_,b,v,T,C,S))},Ie=(a,u,g,_,b,v,T,C,S)=>{a=a||Ct,u=u||Ct;const x=a.length,I=u.length,E=Math.min(x,I);let M;for(M=0;M<E;M++){const L=u[M]=S?tt(u[M]):Ke(u[M]);O(a[M],L,g,null,b,v,T,C,S)}x>I?dt(a,b,v,!0,!1,E):je(u,g,_,b,v,T,C,S,E)},_t=(a,u,g,_,b,v,T,C,S)=>{let x=0;const I=u.length;let E=a.length-1,M=I-1;for(;x<=E&&x<=M;){const L=a[x],V=u[x]=S?tt(u[x]):Ke(u[x]);if(Ft(L,V))O(L,V,g,null,b,v,T,C,S);else break;x++}for(;x<=E&&x<=M;){const L=a[E],V=u[M]=S?tt(u[M]):Ke(u[M]);if(Ft(L,V))O(L,V,g,null,b,v,T,C,S);else break;E--,M--}if(x>E){if(x<=M){const L=M+1,V=L<I?u[L].el:_;for(;x<=M;)O(null,u[x]=S?tt(u[x]):Ke(u[x]),g,V,b,v,T,C,S),x++}}else if(x>M)for(;x<=E;)ve(a[x],b,v,!0),x++;else{const L=x,V=x,w=new Map;for(x=V;x<=M;x++){const ye=u[x]=S?tt(u[x]):Ke(u[x]);ye.key!=null&&w.set(ye.key,x)}let d,h=0;const k=M-V+1;let ie=!1,$e=0;const Rt=new Array(k);for(x=0;x<k;x++)Rt[x]=0;for(x=L;x<=E;x++){const ye=a[x];if(h>=k){ve(ye,b,v,!0);continue}let Ne;if(ye.key!=null)Ne=w.get(ye.key);else for(d=V;d<=M;d++)if(Rt[d-V]===0&&Ft(ye,u[d])){Ne=d;break}Ne===void 0?ve(ye,b,v,!0):(Rt[Ne-V]=x+1,Ne>=$e?$e=Ne:ie=!0,O(ye,u[Ne],g,null,b,v,T,C,S),h++)}const Sn=ie?Jr(Rt):Ct;for(d=Sn.length-1,x=k-1;x>=0;x--){const ye=V+x,Ne=u[ye],Cn=u[ye+1],Tn=ye+1<I?Cn.el||so(Cn):_;Rt[x]===0?O(null,Ne,g,Tn,b,v,T,C,S):ie&&(d<0||x!==Sn[d]?Ye(Ne,g,Tn,2):d--)}}},Ye=(a,u,g,_,b=null)=>{const{el:v,type:T,transition:C,children:S,shapeFlag:x}=a;if(x&6){Ye(a.component.subTree,u,g,_);return}if(x&128){a.suspense.move(u,g,_);return}if(x&64){T.move(a,u,g,ht);return}if(T===re){n(v,u,g);for(let E=0;E<S.length;E++)Ye(S[E],u,g,_);n(a.anchor,u,g);return}if(T===fs){W(a,u,g);return}if(_!==2&&x&1&&C)if(_===0)C.persisted&&!v[$s]?n(v,u,g):(C.beforeEnter(v),n(v,u,g),me(()=>C.enter(v),b));else{const{leave:E,delayLeave:M,afterLeave:L}=C,V=()=>{a.ctx.isUnmounted?i(v):n(v,u,g)},w=()=>{const d=v._isLeaving||!!v[$s];v._isLeaving&&v[$s](!0),C.persisted&&!d?V():E(v,()=>{V(),L&&L()})};M?M(v,V,w):w()}else n(v,u,g)},ve=(a,u,g,_=!1,b=!1)=>{const{type:v,props:T,ref:C,children:S,dynamicChildren:x,shapeFlag:I,patchFlag:E,dirs:M,cacheIndex:L,memo:V}=a;if(E===-2&&(b=!1),C!=null&&(Je(),Bt(C,null,g,a,!0),ze()),L!=null&&(u.renderCache[L]=void 0),I&256){u.ctx.deactivate(a);return}const w=I&1&&M,d=!Kt(a);let h;if(d&&(h=T&&T.onVnodeBeforeUnmount)&&He(h,u,a),I&6)Xe(a.component,g,_);else{if(I&128){a.suspense.unmount(g,_);return}w&&gt(a,null,u,"beforeUnmount"),I&64?a.type.remove(a,u,g,ht,_):x&&!x.hasOnce&&(v!==re||E>0&&E&64)?dt(x,u,g,!1,!0):(v===re&&E&384||!b&&I&16)&&dt(S,u,g),_&&ss(a)}const k=V!=null&&L==null;(d&&(h=T&&T.onVnodeUnmounted)||w||k)&&me(()=>{h&&He(h,u,a),w&&gt(a,null,u,"unmounted"),k&&(a.el=null)},g)},ss=a=>{const{type:u,el:g,anchor:_,transition:b}=a;if(u===re){Is(g,_);return}if(u===fs){R(a);return}const v=()=>{i(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:T,delayLeave:C}=b,S=()=>T(g,v);C?C(a.el,v,S):S()}else v()},Is=(a,u)=>{let g;for(;a!==u;)g=P(a),i(a),a=g;i(u)},Xe=(a,u,g)=>{const{bum:_,scope:b,job:v,subTree:T,um:C,m:S,a:x}=a;Nn(S),Nn(x),_&&cs(_),b.stop(),v&&(v.flags|=8,ve(T,a,u,g)),C&&me(C,u),me(()=>{a.isUnmounted=!0},u)},dt=(a,u,g,_=!1,b=!1,v=0)=>{for(let T=v;T<a.length;T++)ve(a[T],u,g,_,b)},pt=a=>{if(a.shapeFlag&6)return pt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const u=P(a.anchor||a.el),g=u&&u[ur];return g?P(g):u};let It=!1;const ns=(a,u,g)=>{let _;a==null?u._vnode&&(ve(u._vnode,null,null,!0),_=u._vnode.component):O(u._vnode||null,a,u,null,null,null,g),u._vnode=a,It||(It=!0,On(_),Ii(),It=!1)},ht={p:O,um:ve,m:Ye,r:ss,mt:ae,mc:je,pc:X,pbc:ge,n:pt,o:e};return{render:ns,hydrate:void 0,createApp:Mr(ns)}}function Hs({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 mt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function eo(e,t,s=!1){const n=e.children,i=t.children;if(j(n)&&j(i))for(let o=0;o<n.length;o++){const r=n[o];let l=i[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[o]=tt(i[o]),l.el=r.el),!s&&l.patchFlag!==-2&&eo(r,l)),l.type===Os&&(l.patchFlag===-1&&(l=i[o]=tt(l)),l.el=r.el),l.type===ut&&!l.el&&(l.el=r.el)}}function Jr(e){const t=e.slice(),s=[0];let n,i,o,r,l;const c=e.length;for(n=0;n<c;n++){const p=e[n];if(p!==0){if(i=s[s.length-1],e[i]<p){t[n]=i,s.push(n);continue}for(o=0,r=s.length-1;o<r;)l=o+r>>1,e[s[l]]<p?o=l+1:r=l;p<e[s[o]]&&(o>0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=t[r];return s}function to(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:to(t)}function Nn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function so(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?so(t.subTree):null}const no=e=>e.__isSuspense;function zr(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):ir(e)}const re=Symbol.for("v-fgt"),Os=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),fs=Symbol.for("v-stc"),Gt=[];let xe=null;function D(e=!1){Gt.push(xe=e?null:[])}function Yr(){Gt.pop(),xe=Gt[Gt.length-1]||null}let Yt=1;function Hn(e,t=!1){Yt+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function io(e){return e.dynamicChildren=Yt>0?xe||Ct:null,Yr(),Yt>0&&xe&&xe.push(e),e}function F(e,t,s,n,i,o){return io(y(e,t,s,n,i,o,!0))}function Xr(e,t,s,n,i){return io(_e(e,t,s,n,i,!0))}function oo(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const ro=({key:e})=>e??null,ds=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||ue(e)||N(e)?{i:Pe,r:e,k:t,f:!!s}:e:null);function y(e,t=null,s=null,n=0,i=null,o=e===re?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ro(t),ref:t&&ds(t),scopeId:Di,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:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Pe};return l?(vs(c,s),o&128&&e.normalize(c)):s&&(c.shapeFlag|=ne(s)?8:16),Yt>0&&!r&&xe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&xe.push(c),c}const _e=Zr;function Zr(e,t=null,s=null,n=0,i=null,o=!1){if((!e||e===Sr)&&(e=ut),oo(e)){const l=At(e,t,!0);return s&&vs(l,s),Yt>0&&!o&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(ul(e)&&(e=e.__vccOpts),t){t=Qr(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ee(l)),Z(c)&&(mn(c)&&!j(c)&&(c=fe({},c)),t.style=ln(c))}const r=ne(e)?1:no(e)?128:fr(e)?64:Z(e)?4:N(e)?2:0;return y(e,t,s,n,i,r,o,!0)}function Qr(e){return e?mn(e)||Ji(e)?fe({},e):e:null}function At(e,t,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:l,transition:c}=e,p=t?tl(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&ro(p),ref:t&&t.ref?s&&o?j(o)?o.concat(ds(t)):[o,ds(t)]:ds(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==re?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&vn(f,c.clone(f)),f}function Te(e=" ",t=0){return _e(Os,null,e,t)}function el(e,t){const s=_e(fs,null,e);return s.staticCount=t,s}function Q(e="",t=!1){return t?(D(),Xr(ut,null,e)):_e(ut,null,e)}function Ke(e){return e==null||typeof e=="boolean"?_e(ut):j(e)?_e(re,null,e.slice()):oo(e)?tt(e):_e(Os,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function vs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(j(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),vs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ji(t)?t._ctx=Pe:i===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(n&65){vs(e,{default:t});return}t={default:t,_ctx:Pe},s=32}else t=String(t),n&64?(s=16,t=[Te(t)]):s=8;e.children=t,e.shapeFlag|=s}function tl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Ee([t.class,n.class]));else if(i==="style")t.style=ln([t.style,n.style]);else if(_s(i)){const o=t[i],r=n[i];r&&o!==r&&!(j(o)&&o.includes(r))?t[i]=o?[].concat(o,r):r:r==null&&o==null&&!ws(i)&&(t[i]=r)}else i!==""&&(t[i]=n[i])}return t}function He(e,t,s,n=null){Le(e,t,7,[s,n])}const sl=Bi();let nl=0;function il(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||sl,o={uid:nl++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ko(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yi(n,i),emitsOptions:Ki(n,i),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:n.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Rr.bind(null,o),e.ce&&e.ce(o),o}let he=null;const ol=()=>he||Pe;let ys,tn;{const e=Ts(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};ys=t("__VUE_INSTANCE_SETTERS__",s=>he=s),tn=t("__VUE_SSR_SETTERS__",s=>Xt=s)}const ts=e=>{const t=he;return ys(e),e.scope.on(),()=>{e.scope.off(),ys(t)}},Vn=()=>{he&&he.scope.off(),ys(null)};function lo(e){return e.vnode.shapeFlag&4}let Xt=!1;function rl(e,t=!1,s=!1){t&&tn(t);const{props:n,children:i}=e.vnode,o=lo(e);$r(e,n,o,t),Br(e,i,s||t);const r=o?ll(e,t):void 0;return t&&tn(!1),r}function ll(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Cr);const{setup:n}=s;if(n){Je();const i=e.setupContext=n.length>1?cl(e):null,o=ts(e),r=es(n,e,0,[e.props,i]),l=ri(r);if(ze(),o(),(l||e.sp)&&!Kt(e)&&ji(e),l){if(r.then(Vn,Vn),t)return r.then(c=>{Bn(e,c)}).catch(c=>{Ps(c,e,0)});e.asyncDep=r}else Bn(e,r)}else ao(e)}function Bn(e,t,s){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=ki(t)),ao(e)}function ao(e,t,s){const n=e.type;e.render||(e.render=n.render||Ge);{const i=ts(e);Je();try{Tr(e)}finally{ze(),i()}}}const al={get(e,t){return ce(e,"get",""),e[t]}};function cl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,al),slots:e.slots,emit:e.emit,expose:t}}function Ms(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ki(Jo(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Wt)return Wt[s](e)},has(t,s){return s in t||s in Wt}})):e.proxy}function ul(e){return N(e)&&"__vccOpts"in e}const co=(e,t)=>Qo(e,t,Xt),fl="3.5.39";/**
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let sn;const Kn=typeof window<"u"&&window.trustedTypes;if(Kn)try{sn=Kn.createPolicy("vue",{createHTML:e=>e})}catch{}const uo=sn?e=>sn.createHTML(e):e=>e,dl="http://www.w3.org/2000/svg",pl="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,Wn=Qe&&Qe.createElement("template"),hl={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 i=t==="svg"?Qe.createElementNS(dl,e):t==="mathml"?Qe.createElementNS(pl,e):s?Qe.createElement(e,{is:s}):Qe.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,o){const r=s?s.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{Wn.innerHTML=uo(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Wn.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},gl=Symbol("_vtc");function ml(e,t,s){const n=e[gl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const xs=Symbol("_vod"),fo=Symbol("_vsh"),Vs={name:"show",beforeMount(e,{value:t},{transition:s}){e[xs]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Lt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Lt(e,!0),n.enter(e)):n.leave(e,()=>{Lt(e,!1)}):Lt(e,t))},beforeUnmount(e,{value:t}){Lt(e,t)}};function Lt(e,t){e.style.display=t?e[xs]:"none",e[fo]=!t}const bl=Symbol(""),vl=/(?:^|;)\s*display\s*:/;function yl(e,t,s){const n=e.style,i=ne(s);let o=!1;if(s&&!i){if(t)if(ne(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();s[l]==null&&$t(n,l,"")}else for(const r in t)s[r]==null&&$t(n,r,"");for(const r in s){r==="display"&&(o=!0);const l=s[r];l!=null?_l(e,r,!ne(t)&&t?t[r]:void 0,l)||$t(n,r,l):$t(n,r,"")}}else if(i){if(t!==s){const r=n[bl];r&&(s+=";"+r),n.cssText=s,o=vl.test(s)}}else t&&e.removeAttribute("style");xs in e&&(e[xs]=o?n.display:"",e[fo]&&(n.display="none"))}const Gn=/\s*!important$/;function $t(e,t,s){if(j(s))s.forEach(n=>$t(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=xl(e,t);Gn.test(s)?e.setProperty(xt(n),s.replace(Gn,""),"important"):e[n]=s}}const qn=["Webkit","Moz","ms"],Bs={};function xl(e,t){const s=Bs[t];if(s)return s;let n=Re(t);if(n!=="filter"&&n in e)return Bs[t]=n;n=ci(n);for(let i=0;i<qn.length;i++){const o=qn[i]+n;if(o in e)return Bs[t]=o}return t}function _l(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ne(n)&&s===n}const Jn="http://www.w3.org/1999/xlink";function zn(e,t,s,n,i,o=Eo(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Jn,t.slice(6,t.length)):e.setAttributeNS(Jn,t,s):s==null||o&&!fi(s)?e.removeAttribute(t):e.setAttribute(t,o?"":qe(s)?String(s):s)}function Yn(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?uo(s):s);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let r=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=fi(s):s==null&&l==="string"?(s="",r=!0):l==="number"&&(s=0,r=!0)}try{e[t]=s}catch{}r&&e.removeAttribute(i||t)}function it(e,t,s,n){e.addEventListener(t,s,n)}function wl(e,t,s,n){e.removeEventListener(t,s,n)}const Xn=Symbol("_vei");function Sl(e,t,s,n,i=null){const o=e[Xn]||(e[Xn]={}),r=o[t];if(n&&r)r.value=n;else{const[l,c]=El(t);if(n){const p=o[t]=Al(n,i);it(e,l,p,c)}else r&&(wl(e,l,r,c),o[t]=void 0)}}const Cl=/(Once|Passive|Capture)$/,Tl=/^on:?(?:Once|Passive|Capture)$/;function El(e){let t,s;for(;(s=e.match(Cl))&&!Tl.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):xt(e.slice(2)),t]}let Ks=0;const Pl=Promise.resolve(),kl=()=>Ks||(Pl.then(()=>Ks=0),Ks=Date.now());function Al(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(j(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const r=i.slice(),l=[n];for(let c=0;c<r.length&&!n._stopped;c++){const p=r[c];p&&Le(p,t,5,l)}}else Le(i,t,5,[n])};return s.value=e,s.attached=kl(),s}const Zn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ol=(e,t,s,n,i,o)=>{const r=i==="svg";t==="class"?ml(e,n,r):t==="style"?yl(e,s,n):_s(t)?ws(t)||Sl(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ml(e,t,n,r))?(Yn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zn(e,t,n,r,o,t!=="value")):e._isVueCE&&(Il(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ne(n)))?Yn(e,Re(t),n,o,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),zn(e,t,n,r))};function Ml(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zn(t)&&N(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Zn(t)&&ne(s)?!1:t in e}function Il(e,t){const s=e._def.props;if(!s)return!1;const n=Re(t);return Array.isArray(s)?s.some(i=>Re(i)===n):Object.keys(s).some(i=>Re(i)===n)}const ft=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?s=>cs(t,s):t};function Rl(e){e.target.composing=!0}function Qn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ae=Symbol("_assign");function ei(e,t,s){return t&&(e=e.trim()),s&&(e=Cs(e)),e}const et={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Ae]=ft(i);const o=n||i.props&&i.props.type==="number";it(e,t?"change":"input",r=>{r.target.composing||e[Ae](ei(e.value,s,o))}),(s||o)&&it(e,"change",()=>{e.value=ei(e.value,s,o)}),t||(it(e,"compositionstart",Rl),it(e,"compositionend",Qn),it(e,"change",Qn))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:o}},r){if(e[Ae]=ft(r),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Cs(e.value):e.value,c=t??"";if(l===c)return;const p=e.getRootNode();(p instanceof Document||p instanceof ShadowRoot)&&p.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===c)||(e.value=c)}},Dl={deep:!0,created(e,t,s){e[Ae]=ft(s),it(e,"change",()=>{const n=e._modelValue,i=Ot(e),o=e.checked,r=e[Ae];if(j(n)){const l=an(n,i),c=l!==-1;if(o&&!c)r(n.concat(i));else if(!o&&c){const p=[...n];p.splice(l,1),r(p)}}else if(Mt(n)){const l=new Set(n);o?l.add(i):l.delete(i),r(l)}else r(ho(e,o))})},mounted:ti,beforeUpdate(e,t,s){e[Ae]=ft(s),ti(e,t,s)}};function ti(e,{value:t,oldValue:s},n){e._modelValue=t;let i;if(j(t))i=an(t,n.props.value)>-1;else if(Mt(t))i=t.has(n.props.value);else{if(t===s)return;i=ct(t,ho(e,!0))}e.checked!==i&&(e.checked=i)}const Fl={created(e,{value:t},s){e.checked=ct(t,s.props.value),e[Ae]=ft(s),it(e,"change",()=>{e[Ae](Ot(e))})},beforeUpdate(e,{value:t,oldValue:s},n){e[Ae]=ft(n),t!==s&&(e.checked=ct(t,n.props.value))}},po={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const i=Mt(t);it(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?Cs(Ot(r)):Ot(r));e[Ae](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Oi(()=>{e._assigning=!1})}),e[Ae]=ft(n)},mounted(e,{value:t}){si(e,t)},beforeUpdate(e,t,s){e[Ae]=ft(s)},updated(e,{value:t}){e._assigning||si(e,t)}};function si(e,t){const s=e.multiple,n=j(t);if(!(s&&!n&&!Mt(t))){for(let i=0,o=e.options.length;i<o;i++){const r=e.options[i],l=Ot(r);if(s)if(n){const c=typeof l;c==="string"||c==="number"?r.selected=t.some(p=>String(p)===String(l)):r.selected=an(t,l)>-1}else r.selected=t.has(l);else if(ct(Ot(r),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ot(e){return"_value"in e?e._value:e.value}function ho(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Ll={created(e,t,s){ls(e,t,s,null,"created")},mounted(e,t,s){ls(e,t,s,null,"mounted")},beforeUpdate(e,t,s,n){ls(e,t,s,n,"beforeUpdate")},updated(e,t,s,n){ls(e,t,s,n,"updated")}};function jl(e,t){switch(e){case"SELECT":return po;case"TEXTAREA":return et;default:switch(t){case"checkbox":return Dl;case"radio":return Fl;default:return et}}}function ls(e,t,s,n,i){const r=jl(e.tagName,s.props&&s.props.type)[i];r&&r(e,t,s,n)}const Ul=["ctrl","shift","alt","meta"],$l={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ul.some(s=>e[`${s}Key`]&&!t.includes(s))},Nl=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((i,...o)=>{for(let r=0;r<t.length;r++){const l=$l[t[r]];if(l&&l(i,t))return}return e(i,...o)}))},Hl=fe({patchProp:Ol},hl);let ni;function Vl(){return ni||(ni=Wr(Hl))}const Bl=((...e)=>{const t=Vl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Wl(n);if(!i)return;const o=t._component;!N(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,Kl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t});function Kl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wl(e){return ne(e)?document.querySelector(e):e}const go="pilotvault-theme";function Gl(){try{return localStorage.getItem(go)==="dark"?"dark":"light"}catch{return"light"}}const Zt=z(Gl());function mo(e){Zt.value=e,document.documentElement.setAttribute("data-theme",e);try{localStorage.setItem(go,e)}catch{}}function ii(){mo(Zt.value==="dark"?"light":"dark")}mo(Zt.value);const ql={class:"overflow-hidden rounded-lg border border-subtle bg-card shadow-xs"},Jl={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},zl={class:"text-base font-semibold text-primary"},Yl={class:"pv-eyebrow"},Xl={class:"w-full text-left text-sm"},Zl={class:"border-t border-subtle px-5 py-2.5 font-mono text-xs whitespace-nowrap"},Ql={class:"text-primary"},ea={class:"border-t border-subtle px-5 py-2.5 text-secondary"},Ws={__name:"EndpointTable",props:{title:String,auth:String,endpoints:Array},setup(e){const t={GET:"text-success",POST:"text-brand-text",PATCH:"text-warning",DELETE:"text-danger"};return(s,n)=>(D(),F("div",ql,[y("div",Jl,[y("div",zl,U(e.title),1),y("span",Yl,U(e.auth),1)]),y("table",Xl,[n[0]||(n[0]=y("thead",null,[y("tr",{class:"pv-eyebrow"},[y("th",{class:"px-5 py-2.5 font-medium"},"Endpoint"),y("th",{class:"px-5 py-2.5 font-medium"},"Description")])],-1)),y("tbody",null,[(D(!0),F(re,null,lt(e.endpoints,i=>(D(),F("tr",{key:i.method+i.path,class:"transition-colors hover:bg-sunken"},[y("td",Zl,[y("span",{class:Ee(["font-semibold",t[i.method]])},U(i.method),3),y("span",Ql,U(i.path),1)]),y("td",ea,U(i.desc),1)]))),128))])])]))}},ta={class:"mx-auto flex max-w-5xl flex-col gap-6 px-6 pt-12 pb-16"},sa={class:"flex items-center gap-3"},na={key:0,class:"pv-eyebrow hidden truncate sm:inline"},ia=["title"],oa={key:0,class:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},ra={key:1,class:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},la={key:0,class:"rounded-lg border border-subtle bg-card px-5 py-10 text-center shadow-sm"},aa={key:1,class:"mx-auto w-full max-w-sm rounded-lg border border-subtle bg-card shadow-sm"},ca={class:"flex flex-col gap-1"},ua={class:"flex flex-col gap-1"},fa={key:0,class:"rounded-sm bg-danger-tint px-3 py-2 text-xs font-medium text-danger"},da=["disabled"],pa={class:"flex gap-1 self-start rounded-lg border border-subtle bg-card p-1 shadow-sm"},ha=["onClick"],ga={class:"flex flex-col gap-6"},ma={class:"rounded-lg border border-subtle bg-card shadow-sm"},ba={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},va={class:"pv-eyebrow"},ya={class:"min-w-0"},xa={class:"text-sm font-semibold text-primary"},_a={key:0,class:"truncate font-mono text-xs text-secondary"},wa={class:"flex items-center justify-between gap-3 border-t border-subtle px-5 py-3.5"},Sa={class:"font-mono text-xs text-secondary"},Ca={class:"flex flex-col gap-6"},Ta={class:"rounded-lg border border-subtle bg-card shadow-sm"},Ea={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},Pa={class:"flex flex-col gap-3 px-5 py-5"},ka={class:"flex flex-col gap-1"},Aa={class:"flex flex-col gap-1"},Oa={class:"flex flex-col gap-1"},Ma=["placeholder"],Ia={key:0,class:"font-mono text-[11px] text-muted"},Ra={key:0},Da={key:1},Fa={key:1,class:"rounded-sm bg-danger-tint px-3 py-2 text-xs font-medium text-danger"},La={key:2,class:"rounded-sm bg-success-tint px-3 py-2 text-xs font-medium text-success"},ja={class:"flex flex-wrap items-center gap-2"},Ua=["disabled"],$a=["disabled"],Na={class:"flex flex-col gap-6"},Ha={class:"rounded-lg border border-subtle bg-card shadow-sm"},Va={class:"flex flex-col"},Ba={key:0,class:"px-5 py-3 text-xs font-medium text-danger"},Ka={key:1,class:"border-b border-subtle bg-sunken px-5 py-2.5 font-mono text-xs text-secondary"},Wa={key:2,class:"px-5 py-6 text-sm text-secondary"},Ga={key:3,class:"flex gap-1 overflow-x-auto overflow-y-hidden border-b border-subtle px-3 pt-1"},qa=["onClick"],Ja={key:4,class:"px-5 py-6 text-sm text-secondary"},za={class:"flex flex-wrap items-center gap-x-3 gap-y-2"},Ya={class:"min-w-0 flex-1"},Xa={class:"flex flex-wrap items-center gap-2"},Za={class:"text-sm font-semibold text-primary"},Qa=["title"],ec={key:0},tc={class:"mt-0.5 font-mono text-xs text-secondary"},sc={key:0,class:"mt-0.5 text-[11px] text-secondary"},nc={key:1,class:"mt-2 flex flex-col gap-1.5"},ic={class:"rounded-sm bg-sunken px-1.5 py-0.5 font-mono text-[10px] text-secondary"},oc={key:0,class:"font-mono text-[10px] text-muted"},rc={key:1,class:"w-full text-[11px] text-secondary sm:w-auto"},lc={key:2,class:"mt-1 truncate font-mono text-[11px] text-muted"},ac={class:"flex shrink-0 items-center gap-2"},cc=["disabled","onClick"],uc=["onClick"],fc=["disabled","onClick"],dc=["disabled","onClick"],pc={key:0,class:"mt-3 flex flex-col gap-2 rounded-md border border-subtle bg-sunken px-4 py-4"},hc={class:"pv-eyebrow"},gc={key:0,class:"text-danger"},mc=["onUpdate:modelValue"],bc=["value"],vc=["onUpdate:modelValue","type","placeholder"],yc={key:2,class:"text-[11px] text-muted"},xc={class:"flex items-center gap-2"},_c=["disabled","onClick"],wc={class:"border-t border-subtle px-5 py-4"},Sc={class:"flex flex-col gap-2 sm:flex-row"},Cc=["disabled"],Tc={key:0,class:"mt-2 text-xs font-medium text-danger"},as="pv_panel_token",Ec={__name:"App",setup(e){const t=z(localStorage.getItem(as)||""),s=z(null),n=z(!1),i=z(!0),o=z({email:"",password:""}),r=z(""),l=z(!1),c=z("overview"),p=[{id:"overview",label:"Overview"},{id:"pocketbase",label:"PocketBase"},{id:"plugins",label:"Plugins"}];async function f(w){try{const d=await fetch("/api/me",{headers:{Authorization:w}});if(!d.ok)return!1;const h=await d.json();return h.role!=="superadmin"?!1:(s.value={email:h.email,role:h.role},!0)}catch{return!1}}async function m(w){t.value=w,localStorage.setItem(as,w),n.value=!0,I(),be(),Xe()}async function P(){r.value="";const w=o.value.email.trim().toLowerCase();if(!w||!o.value.password){r.value="Enter your email and password.";return}l.value=!0;try{const d=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:w,password:o.value.password})}),h=await d.json().catch(()=>({}));if(!d.ok||!h.token){r.value="Invalid email or password.";return}if(!await f(h.token)){r.value="Access to this panel is restricted to superadmins.";return}o.value.password="",await m(h.token)}catch{r.value="Cannot reach the API server."}finally{l.value=!1}}function A(){E(),localStorage.removeItem(as),t.value="",s.value=null,n.value=!1}const B=z(null),O=z({url:"",adminEmail:"",adminPassword:""}),H=z(null),K=z(""),$=z(""),W=z(!1),R=z(!1);function G(w){const d={Authorization:t.value};return w&&(d["Content-Type"]="application/json"),d}async function be(){try{const w=await fetch("/api/admin/pb-config",{headers:G()});if(!w.ok)return;const d=await w.json();B.value=d,O.value={url:d.url||"",adminEmail:d.adminEmail||"",adminPassword:""},H.value=d.probe||null}catch{}}async function we(){K.value="",$.value="",R.value=!0;try{const w=await fetch("/api/admin/pb-config/test",{method:"POST",headers:G(!0),body:JSON.stringify(O.value)});H.value=await w.json()}catch{$.value="Could not run the test."}finally{R.value=!1}}async function je(){var w;if(K.value="",$.value="",!O.value.url.trim()){$.value="A PocketBase URL is required.";return}W.value=!0;try{const d=await fetch("/api/admin/pb-config",{method:"PUT",headers:G(!0),body:JSON.stringify(O.value)}),h=await d.json().catch(()=>({}));if(!d.ok){$.value=h.error||"Could not save the connection.";return}B.value=h.config,H.value=((w=h.config)==null?void 0:w.probe)||null,O.value={url:h.config.url,adminEmail:h.config.adminEmail,adminPassword:""},K.value=h.warning||"Connection saved."}catch{$.value="Could not reach the API server."}finally{W.value=!1}}const Se=z([]),ge=z(""),oe=z(""),Ue=z(""),Oe=z({}),ae=z(""),Me=z({name:"",baseURL:"",provider:""}),se=z(""),Y=z(!1),X=[{id:"apis-external",label:"APIs — External"},{id:"drives-external",label:"Drives — External"},{id:"drives-local",label:"Drives — Local"}],Ie=z("apis-external");function _t(w){return w.category||"apis-external"}function Ye(w){return Se.value.filter(d=>_t(d)===w)}const ve=co(()=>Ye(Ie.value)),ss={builtin:"bg-success-tint text-success",external:"bg-warning-tint text-warning"},Is={ok:"bg-success-tint text-success",degraded:"bg-warning-tint text-warning",down:"bg-danger-tint text-danger"};async function Xe(){ge.value="";try{const w=await fetch("/api/admin/plugins",{headers:G()});if(!w.ok){ge.value="Could not load plugins.";return}const d=await w.json();Se.value=d.plugins||[];for(const h of Se.value)h.enabled&&!h.health&&dt(h.name)}catch{ge.value="Could not reach the API server."}}async function dt(w){try{const d=await fetch(`/api/admin/plugins/${encodeURIComponent(w)}/health`,{method:"POST",headers:G()}),h=await d.json().catch(()=>({}));if(d.ok&&h.health){const k=pt(w);k&&(k.health=h.health)}}catch{}}function pt(w){return Se.value.find(d=>d.name===w)}async function It(w){ae.value=w.name,oe.value="";try{const d=await fetch(`/api/admin/plugins/${encodeURIComponent(w.name)}`,{method:"PUT",headers:G(!0),body:JSON.stringify({enabled:!w.enabled})}),h=await d.json().catch(()=>({}));d.ok?h.warning&&(oe.value=`${w.name}: ${h.warning}`):oe.value=h.error||"Could not update the plugin.",await Xe()}finally{ae.value=""}}function ns(w){Ue.value=Ue.value===w.name?"":w.name;const d={...w.config||{}};for(const h of w.configFields||[])(d[h.key]===void 0||d[h.key]==="")&&h.default&&(d[h.key]=h.default);Oe.value=d}async function ht(w){ae.value=w.name,oe.value="";try{const d=await fetch(`/api/admin/plugins/${encodeURIComponent(w.name)}`,{method:"PUT",headers:G(!0),body:JSON.stringify({config:Oe.value})}),h=await d.json().catch(()=>({}));d.ok?(oe.value=h.warning?`${w.name}: ${h.warning}`:"Configuration saved.",Ue.value=""):oe.value=h.error||"Could not save the configuration.",await Xe()}finally{ae.value=""}}async function wn(w){ae.value=w.name,oe.value="";try{const d=await fetch(`/api/admin/plugins/${encodeURIComponent(w.name)}/health`,{method:"POST",headers:G()}),h=await d.json().catch(()=>({}));if(d.ok&&h.health){const k=pt(w.name);k&&(k.health=h.health)}else oe.value=h.error||"Health check failed."}finally{ae.value=""}}async function a(w){if(w.kind==="external"){ae.value=w.name;try{const d=await fetch(`/api/admin/plugins/${encodeURIComponent(w.name)}`,{method:"DELETE",headers:G()});if(!d.ok){const h=await d.json().catch(()=>({}));oe.value=h.error||"Could not remove the plugin."}await Xe()}finally{ae.value=""}}}async function u(){if(se.value="",!Me.value.name.trim()||!Me.value.baseURL.trim()){se.value="Name and base URL are required.";return}Y.value=!0;try{const w=await fetch("/api/admin/plugins",{method:"POST",headers:G(!0),body:JSON.stringify(Me.value)}),d=await w.json().catch(()=>({}));if(!w.ok){se.value=d.error||"Could not register the plugin.";return}Me.value={name:"",baseURL:"",provider:""},oe.value="External plugin registered.",await Xe()}catch{se.value="Could not reach the API server."}finally{Y.value=!1}}const g=z(null),_=z(null),b=z({apiServer:{status:"checking",detail:""},pocketBase:{status:"checking",detail:""},webApp:{status:"checking",detail:""}});let v=null;const T=[{key:"apiServer",label:"API server"},{key:"pocketBase",label:"PocketBase"},{key:"webApp",label:"Web App"}],C={checking:{label:"checking",cls:"bg-sunken text-secondary"},ok:{label:"operational",cls:"bg-success-tint text-success"},down:{label:"unreachable",cls:"bg-danger-tint text-danger"},unreachable:{label:"unreachable",cls:"bg-danger-tint text-danger"}};function S(w){const d=[];return typeof w.latencyMs=="number"&&d.push(w.latencyMs+"ms"),w.httpStatus&&d.push("HTTP "+w.httpStatus),w.url&&d.push(w.url),d.join(" · ")}async function x(){var w,d;try{const h=await fetch("/api/status");if(!h.ok)throw new Error("status "+h.status);const k=await h.json(),ie=k.apiServer||{};_.value=ie.devices??0,b.value={apiServer:{status:"ok",detail:""},pocketBase:{status:((w=k.pocketBase)==null?void 0:w.status)==="ok"?"ok":"down",detail:S(k.pocketBase||{})},webApp:{status:((d=k.webApp)==null?void 0:d.status)==="ok"?"ok":"down",detail:S(k.webApp||{})}}}catch{_.value=null,b.value={apiServer:{status:"unreachable",detail:""},pocketBase:{status:"unreachable",detail:""},webApp:{status:"unreachable",detail:""}}}g.value=new Date}function I(){x(),clearInterval(v),v=setInterval(x,1e4)}function E(){clearInterval(v),v=null}Ni(async()=>{t.value&&await f(t.value)?(n.value=!0,I(),be(),Xe()):t.value&&(localStorage.removeItem(as),t.value=""),i.value=!1}),yn(()=>E());const M=[{method:"POST",path:"/api/auth/login",desc:"Exchange email + password for a session (via PocketBase)"},{method:"GET",path:"/api/auth/validate",desc:"Validate the current session token"},{method:"GET",path:"/api/me",desc:"Caller's id, email, role, and organization from their token"},{method:"GET",path:"/api/preferences",desc:"Read the caller's saved settings blob"},{method:"PUT",path:"/api/preferences",desc:"Persist the caller's settings onto their user record"},{method:"GET",path:"/api/devices",desc:"List connected devices and last-known state"},{method:"GET",path:"/api/devices/{id}/track",desc:"GPS track history for a device"},{method:"POST",path:"/api/devices/{id}/command",desc:"Send a command down to a device"},{method:"DELETE",path:"/api/devices/{id}",desc:"Forget a device's stored state"},{method:"GET",path:"/ws/ui",desc:"Live telemetry stream (WebSocket)"}],L=[{method:"GET",path:"/api/users",desc:"List users (admin: own org · superadmin: all)"},{method:"POST",path:"/api/users",desc:"Create a user {email, password, role, organization?}"},{method:"PATCH",path:"/api/users/{id}",desc:"Edit a user (role/org changes are scope-checked)"},{method:"DELETE",path:"/api/users/{id}",desc:"Delete a user (not self; admins in-org only)"},{method:"GET",path:"/api/orgs",desc:"List organizations (admin: own · superadmin: all)"},{method:"POST",path:"/api/orgs",desc:"Create an organization {name} (superadmin)"},{method:"PATCH",path:"/api/orgs/{id}",desc:"Rename an organization (superadmin)"},{method:"DELETE",path:"/api/orgs/{id}",desc:"Delete an empty organization (superadmin)"},{method:"GET",path:"/api/admin/pb-config",desc:"Read the PocketBase connection + live probe (superadmin)"},{method:"POST",path:"/api/admin/pb-config/test",desc:"Test a candidate connection without applying (superadmin)"},{method:"PUT",path:"/api/admin/pb-config",desc:"Update + persist the PocketBase connection (superadmin)"},{method:"GET",path:"/api/admin/plugins",desc:"List plugins + state + last health (superadmin)"},{method:"POST",path:"/api/admin/plugins",desc:"Register an external plugin {name, baseURL} (superadmin)"},{method:"PUT",path:"/api/admin/plugins/{name}",desc:"Enable/disable + configure a plugin (superadmin)"},{method:"DELETE",path:"/api/admin/plugins/{name}",desc:"Remove an external plugin (superadmin)"},{method:"POST",path:"/api/admin/plugins/{name}/health",desc:"Run a plugin health check (superadmin)"}],V=[{method:"GET",path:"/ws/device?id={id}",desc:"Device telemetry uplink (WebSocket)"},{method:"POST",path:"/api/telemetry?id={id}",desc:"Push a single telemetry event over HTTP"},{method:"GET",path:"/healthz",desc:"Readiness probe"}];return(w,d)=>(D(),F("div",ta,[y("div",sa,[d[12]||(d[12]=el('<svg width="32" height="32" viewBox="0 0 48 48" fill="none" aria-hidden="true"><g stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="8,30 19,17 30,30" stroke="var(--brand)"></polyline><polyline points="18,33 29,20 40,33" stroke="currentColor"></polyline></g></svg><div class="leading-tight text-primary"><div class="font-display text-lg font-bold tracking-tight">PilotVault</div><span class="pv-eyebrow">API server</span></div><div class="flex-1"></div>',3)),n.value&&s.value?(D(),F("span",na,U(s.value.email),1)):Q("",!0),n.value?(D(),F("button",{key:1,class:"pv-btn-sec pv-btn-sm",onClick:A},"Sign out")):Q("",!0),y("button",{class:"pv-btn-sec pv-btn-sm",title:jt(Zt)==="dark"?"Switch to light theme":"Switch to dark theme",onClick:d[0]||(d[0]=(...h)=>jt(ii)&&jt(ii)(...h))},[jt(Zt)==="dark"?(D(),F("svg",oa,[...d[9]||(d[9]=[y("circle",{cx:"12",cy:"12",r:"4"},null,-1),y("path",{d:"M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"},null,-1)])])):(D(),F("svg",ra,[...d[10]||(d[10]=[y("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"},null,-1)])])),d[11]||(d[11]=Te(" Theme ",-1))],8,ia)]),i.value?(D(),F("div",la,[...d[13]||(d[13]=[y("span",{class:"pv-eyebrow"},"Checking session…",-1)])])):n.value?(D(),F(re,{key:2},[y("div",pa,[(D(),F(re,null,lt(p,h=>y("button",{key:h.id,class:Ee(["rounded-md px-3.5 py-1.5 text-sm font-semibold transition",c.value===h.id?"bg-brand text-on-brand":"text-secondary hover:text-primary"]),onClick:k=>c.value=h.id},U(h.label),11,ha)),64))]),Ce(y("div",ga,[y("div",ma,[y("div",ba,[d[17]||(d[17]=y("div",{class:"text-base font-semibold text-primary"},"Status",-1)),y("span",va,U(g.value?"checked "+g.value.toLocaleTimeString():"—"),1)]),y("div",null,[(D(),F(re,null,lt(T,h=>y("div",{key:h.key,class:"flex items-center justify-between gap-3 border-t border-subtle px-5 py-3.5 first:border-t-0"},[y("div",ya,[y("div",xa,U(h.label),1),b.value[h.key].detail?(D(),F("div",_a,U(b.value[h.key].detail),1)):Q("",!0)]),y("span",{class:Ee(["inline-flex shrink-0 items-center gap-1.5 rounded-sm px-2.5 py-1 font-mono text-xs font-medium",C[b.value[h.key].status].cls])},[d[18]||(d[18]=y("span",{class:"h-1.5 w-1.5 rounded-full bg-current"},null,-1)),Te(" "+U(C[b.value[h.key].status].label),1)],2)])),64)),y("div",wa,[d[19]||(d[19]=y("div",{class:"text-sm font-semibold text-primary"},"Devices",-1)),y("span",Sa,U(_.value===null?"—":_.value+" online"),1)])])]),_e(Ws,{title:"Client API",auth:"PocketBase session",endpoints:M}),_e(Ws,{title:"Management API",auth:"Admin · superadmin",endpoints:L}),_e(Ws,{title:"Device API",auth:"Device uplink",endpoints:V})],512),[[Vs,c.value==="overview"]]),Ce(y("div",Ca,[y("div",Ta,[y("div",Ea,[d[21]||(d[21]=y("div",null,[y("div",{class:"text-base font-semibold text-primary"},"PocketBase connection"),y("span",{class:"pv-eyebrow"},"Settings")],-1)),H.value?(D(),F("span",{key:0,class:Ee(["inline-flex shrink-0 items-center gap-1.5 rounded-sm px-2.5 py-1 font-mono text-xs font-medium",H.value.reachable?H.value.superuser?"bg-success-tint text-success":"bg-warning-tint text-warning":"bg-danger-tint text-danger"])},[d[20]||(d[20]=y("span",{class:"h-1.5 w-1.5 rounded-full bg-current"},null,-1)),Te(" "+U(H.value.reachable?H.value.superuser?"connected":"reachable":"unreachable"),1)],2)):Q("",!0)]),y("div",Pa,[y("label",ka,[d[22]||(d[22]=y("span",{class:"pv-eyebrow"},"PocketBase URL",-1)),Ce(y("input",{"onUpdate:modelValue":d[3]||(d[3]=h=>O.value.url=h),class:"pv-input",placeholder:"http://10.2.1.10:8026",spellcheck:"false"},null,512),[[et,O.value.url]])]),y("label",Aa,[d[23]||(d[23]=y("span",{class:"pv-eyebrow"},"Service account email",-1)),Ce(y("input",{"onUpdate:modelValue":d[4]||(d[4]=h=>O.value.adminEmail=h),class:"pv-input",placeholder:"admin@pilotvault.local",autocomplete:"off",spellcheck:"false"},null,512),[[et,O.value.adminEmail]])]),y("label",Oa,[d[24]||(d[24]=y("span",{class:"pv-eyebrow"},"Service account password",-1)),Ce(y("input",{"onUpdate:modelValue":d[5]||(d[5]=h=>O.value.adminPassword=h),type:"password",class:"pv-input",autocomplete:"new-password",placeholder:B.value&&B.value.adminConfigured?"leave blank to keep current":"set a password"},null,8,Ma),[[et,O.value.adminPassword]])]),H.value?(D(),F("div",Ia,[Te(" health: "+U(H.value.reachable?"ok":"down"),1),H.value.latencyMs?(D(),F("span",Ra," · "+U(H.value.latencyMs)+"ms",1)):Q("",!0),Te(" · superuser auth: "+U(H.value.superuser?"ok":"—"),1),H.value.detail?(D(),F("span",Da," · "+U(H.value.detail),1)):Q("",!0)])):Q("",!0),$.value?(D(),F("p",Fa,U($.value),1)):K.value?(D(),F("p",La,U(K.value),1)):Q("",!0),y("div",ja,[y("button",{class:"pv-btn",disabled:W.value,onClick:je},U(W.value?"Saving…":"Save connection"),9,Ua),y("button",{class:"pv-btn-sec",disabled:R.value,onClick:we},U(R.value?"Testing…":"Test connection"),9,$a)]),d[25]||(d[25]=y("p",{class:"text-[11px] text-muted"}," The service account is used only for user & organization management. Changing the URL repoints the whole API Server at a new PocketBase and may sign you out. ",-1))])])],512),[[Vs,c.value==="pocketbase"]]),Ce(y("div",Na,[y("div",Ha,[y("div",{class:"flex items-center justify-between border-b border-subtle px-5 py-4"},[d[26]||(d[26]=y("div",null,[y("div",{class:"text-base font-semibold text-primary"},"Plugins"),y("span",{class:"pv-eyebrow"},"External integrations")],-1)),y("button",{class:"pv-btn-sec pv-btn-sm",onClick:Xe},"Refresh")]),y("div",Va,[ge.value?(D(),F("p",Ba,U(ge.value),1)):Q("",!0),oe.value?(D(),F("p",Ka,U(oe.value),1)):Q("",!0),!Se.value.length&&!ge.value?(D(),F("p",Wa,"No plugins registered yet.")):Q("",!0),Se.value.length?(D(),F("div",Ga,[(D(),F(re,null,lt(X,h=>y("button",{key:h.id,class:Ee(["-mb-px whitespace-nowrap border-b-2 px-3 py-2 text-sm font-semibold transition",Ie.value===h.id?"border-brand text-primary":"border-transparent text-secondary hover:text-primary"]),onClick:k=>Ie.value=h.id},U(h.label),11,qa)),64))])):Q("",!0),Se.value.length&&!ve.value.length?(D(),F("p",Ja,"No plugins in this category.")):Q("",!0),(D(!0),F(re,null,lt(ve.value,h=>(D(),F("div",{key:h.name,class:"border-t border-subtle px-5 py-4 first:border-t-0"},[y("div",za,[y("div",Ya,[y("div",Xa,[y("span",Za,U(h.name),1),y("span",{class:Ee(["rounded-sm px-1.5 py-0.5 font-mono text-[10px] font-medium uppercase tracking-wider",ss[h.kind]])},U(h.kind),3),h.health?(D(),F("span",{key:0,class:Ee(["inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 font-mono text-[10px] font-medium",Is[h.health.status]]),title:h.health.detail||""},[d[27]||(d[27]=y("span",{class:"h-1 w-1 rounded-full bg-current"},null,-1)),Te(U(h.health.status),1),h.health.latencyMs?(D(),F("span",ec," · "+U(h.health.latencyMs)+"ms",1)):Q("",!0)],10,Qa)):Q("",!0)]),y("div",tc,U(h.provider)+" · v"+U(h.version)+" · "+U(h.authType),1),h.health&&h.health.detail?(D(),F("div",sc,U(h.health.detail),1)):Q("",!0),h.capabilities&&h.capabilities.length?(D(),F("div",nc,[d[28]||(d[28]=y("div",{class:"pv-eyebrow"},"Capabilities",-1)),(D(!0),F(re,null,lt(h.capabilities,k=>(D(),F("div",{key:k.id,class:"flex flex-wrap items-baseline gap-x-2 gap-y-0.5"},[y("span",ic,U(k.id),1),k.method||k.endpoint?(D(),F("span",oc,U(k.method)+" "+U(k.endpoint),1)):Q("",!0),k.description?(D(),F("span",rc,U(k.description),1)):Q("",!0)]))),128))])):Q("",!0),h.baseURL?(D(),F("div",lc,U(h.baseURL),1)):Q("",!0)]),y("div",ac,[y("button",{class:Ee(["pv-btn-sec pv-btn-sm",h.enabled?"!border-transparent !bg-success-tint !text-success":""]),disabled:ae.value===h.name,onClick:k=>It(h)},[y("span",{class:Ee(["h-1.5 w-1.5 rounded-full",h.enabled?"bg-success":"bg-muted"])},null,2),Te(" "+U(h.enabled?"Enabled":"Disabled"),1)],10,cc),h.configFields&&h.configFields.length?(D(),F("button",{key:0,class:"pv-btn-sec pv-btn-sm",onClick:k=>ns(h)},"Configure",8,uc)):Q("",!0),y("button",{class:"pv-btn-sec pv-btn-sm",disabled:ae.value===h.name,onClick:k=>wn(h)},"Check",8,fc),h.kind==="external"?(D(),F("button",{key:1,class:"pv-btn-sec pv-btn-sm !text-danger",disabled:ae.value===h.name,onClick:k=>a(h)},"Remove",8,dc)):Q("",!0)])]),Ue.value===h.name?(D(),F("div",pc,[(D(!0),F(re,null,lt(h.configFields,k=>(D(),F("label",{key:k.key,class:"flex flex-col gap-1"},[y("span",hc,[Te(U(k.label),1),k.required?(D(),F("span",gc," *")):Q("",!0)]),k.type==="select"?Ce((D(),F("select",{key:0,"onUpdate:modelValue":ie=>Oe.value[k.key]=ie,class:"pv-input"},[(D(!0),F(re,null,lt(k.options,ie=>(D(),F("option",{key:ie.value,value:ie.value},U(ie.label),9,bc))),128))],8,mc)),[[po,Oe.value[k.key]]]):Ce((D(),F("input",{key:1,"onUpdate:modelValue":ie=>Oe.value[k.key]=ie,type:k.secret||k.type==="password"?"password":k.type==="number"?"number":"text",class:"pv-input",autocomplete:"off",placeholder:k.help||""},null,8,vc)),[[Ll,Oe.value[k.key]]]),k.help?(D(),F("span",yc,U(k.help),1)):Q("",!0)]))),128)),y("div",xc,[y("button",{class:"pv-btn pv-btn-sm",disabled:ae.value===h.name,onClick:k=>ht(h)},"Save configuration",8,_c),y("button",{class:"pv-btn-sec pv-btn-sm",onClick:d[6]||(d[6]=k=>Ue.value="")},"Cancel")])])):Q("",!0)]))),128)),y("div",wc,[d[29]||(d[29]=y("div",{class:"pv-eyebrow mb-2"},"Register external plugin",-1)),y("div",Sc,[Ce(y("input",{"onUpdate:modelValue":d[7]||(d[7]=h=>Me.value.name=h),class:"pv-input sm:w-40",placeholder:"name",autocomplete:"off",spellcheck:"false"},null,512),[[et,Me.value.name]]),Ce(y("input",{"onUpdate:modelValue":d[8]||(d[8]=h=>Me.value.baseURL=h),class:"pv-input flex-1",placeholder:"https://plugin.example.com",autocomplete:"off",spellcheck:"false"},null,512),[[et,Me.value.baseURL]]),y("button",{class:"pv-btn",disabled:Y.value,onClick:u},U(Y.value?"Adding…":"Add"),9,Cc)]),se.value?(D(),F("p",Tc,U(se.value),1)):Q("",!0),d[30]||(d[30]=y("p",{class:"mt-2 text-[11px] text-muted"},[Te(" A remote service that answers "),y("span",{class:"font-mono"},"GET /health"),Te(" and "),y("span",{class:"font-mono"},"GET /manifest"),Te(" — added at runtime, no rebuild. ")],-1))])])])],512),[[Vs,c.value==="plugins"]])],64)):(D(),F("div",aa,[d[16]||(d[16]=y("div",{class:"border-b border-subtle px-5 py-4"},[y("div",{class:"text-base font-semibold text-primary"},"Sign in"),y("span",{class:"pv-eyebrow"},"Superadmin access only")],-1)),y("form",{class:"flex flex-col gap-3 px-5 py-5",onSubmit:Nl(P,["prevent"])},[y("label",ca,[d[14]||(d[14]=y("span",{class:"pv-eyebrow"},"Email",-1)),Ce(y("input",{"onUpdate:modelValue":d[1]||(d[1]=h=>o.value.email=h),type:"email",autocomplete:"username",class:"pv-input",placeholder:"superadmin@pilotvault.local"},null,512),[[et,o.value.email]])]),y("label",ua,[d[15]||(d[15]=y("span",{class:"pv-eyebrow"},"Password",-1)),Ce(y("input",{"onUpdate:modelValue":d[2]||(d[2]=h=>o.value.password=h),type:"password",autocomplete:"current-password",class:"pv-input",placeholder:"••••••••"},null,512),[[et,o.value.password]])]),r.value?(D(),F("p",fa,U(r.value),1)):Q("",!0),y("button",{type:"submit",class:"pv-btn mt-1",disabled:l.value},U(l.value?"Signing in…":"Sign in"),9,da)],32)])),d[31]||(d[31]=y("p",{class:"text-center font-mono text-[11px] text-muted"}," PilotVault — live drone telemetry, command & control. ",-1))]))}};Bl(Ec).mount("#app");