vite-plugin-vue-devtools 7.0.7 → 7.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- (function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.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 a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function e(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=e(i);fetch(i.href,o)}})();var GQ=Object.create,m4=Object.defineProperty,WQ=Object.getOwnPropertyDescriptor,RS=Object.getOwnPropertyNames,HQ=Object.getPrototypeOf,UQ=Object.prototype.hasOwnProperty,ZQ=(t,r)=>function(){return t&&(r=(0,t[RS(t)[0]])(t=0)),r},KQ=(t,r)=>function(){return r||(0,t[RS(t)[0]])((r={exports:{}}).exports,r),r.exports},YQ=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of RS(r))!UQ.call(t,i)&&i!==e&&m4(t,i,{get:()=>r[i],enumerable:!(n=WQ(r,i))||n.enumerable});return t},XQ=(t,r,e)=>(e=t!=null?GQ(HQ(t)):{},YQ(r||!t||!t.__esModule?m4(e,"default",{value:t,enumerable:!0}):e,t)),LA=ZQ({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),QQ=KQ({"../../node_modules/.pnpm/rfdc@1.3.0/node_modules/rfdc/index.js"(t,r){LA(),r.exports=n;function e(o){return o instanceof Buffer?Buffer.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function n(o){if(o=o||{},o.circles)return i(o);return o.proto?l:s;function a(g,u){for(var c=Object.keys(g),d=new Array(c.length),h=0;h<c.length;h++){var A=c[h],f=g[A];typeof f!="object"||f===null?d[A]=f:f instanceof Date?d[A]=new Date(f):ArrayBuffer.isView(f)?d[A]=e(f):d[A]=u(f)}return d}function s(g){if(typeof g!="object"||g===null)return g;if(g instanceof Date)return new Date(g);if(Array.isArray(g))return a(g,s);if(g instanceof Map)return new Map(a(Array.from(g),s));if(g instanceof Set)return new Set(a(Array.from(g),s));var u={};for(var c in g)if(Object.hasOwnProperty.call(g,c)!==!1){var d=g[c];typeof d!="object"||d===null?u[c]=d:d instanceof Date?u[c]=new Date(d):d instanceof Map?u[c]=new Map(a(Array.from(d),s)):d instanceof Set?u[c]=new Set(a(Array.from(d),s)):ArrayBuffer.isView(d)?u[c]=e(d):u[c]=s(d)}return u}function l(g){if(typeof g!="object"||g===null)return g;if(g instanceof Date)return new Date(g);if(Array.isArray(g))return a(g,l);if(g instanceof Map)return new Map(a(Array.from(g),l));if(g instanceof Set)return new Set(a(Array.from(g),l));var u={};for(var c in g){var d=g[c];typeof d!="object"||d===null?u[c]=d:d instanceof Date?u[c]=new Date(d):d instanceof Map?u[c]=new Map(a(Array.from(d),l)):d instanceof Set?u[c]=new Set(a(Array.from(d),l)):ArrayBuffer.isView(d)?u[c]=e(d):u[c]=l(d)}return u}}function i(o){var a=[],s=[];return o.proto?u:g;function l(c,d){for(var h=Object.keys(c),A=new Array(h.length),f=0;f<h.length;f++){var C=h[f],I=c[C];if(typeof I!="object"||I===null)A[C]=I;else if(I instanceof Date)A[C]=new Date(I);else if(ArrayBuffer.isView(I))A[C]=e(I);else{var v=a.indexOf(I);v!==-1?A[C]=s[v]:A[C]=d(I)}}return A}function g(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return l(c,g);if(c instanceof Map)return new Map(l(Array.from(c),g));if(c instanceof Set)return new Set(l(Array.from(c),g));var d={};a.push(c),s.push(d);for(var h in c)if(Object.hasOwnProperty.call(c,h)!==!1){var A=c[h];if(typeof A!="object"||A===null)d[h]=A;else if(A instanceof Date)d[h]=new Date(A);else if(A instanceof Map)d[h]=new Map(l(Array.from(A),g));else if(A instanceof Set)d[h]=new Set(l(Array.from(A),g));else if(ArrayBuffer.isView(A))d[h]=e(A);else{var f=a.indexOf(A);f!==-1?d[h]=s[f]:d[h]=g(A)}}return a.pop(),s.pop(),d}function u(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return l(c,u);if(c instanceof Map)return new Map(l(Array.from(c),u));if(c instanceof Set)return new Set(l(Array.from(c),u));var d={};a.push(c),s.push(d);for(var h in c){var A=c[h];if(typeof A!="object"||A===null)d[h]=A;else if(A instanceof Date)d[h]=new Date(A);else if(A instanceof Map)d[h]=new Map(l(Array.from(A),u));else if(A instanceof Set)d[h]=new Set(l(Array.from(A),u));else if(ArrayBuffer.isView(A))d[h]=e(A);else{var f=a.indexOf(A);f!==-1?d[h]=s[f]:d[h]=u(A)}}return a.pop(),s.pop(),d}}}});LA();LA();var y4=typeof navigator<"u",qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},pc=typeof qe.chrome<"u"&&!!qe.chrome.devtools,qQ=y4&&qe.self!==qe.top,DS=typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");LA();var JQ=XQ(QQ(),1);function mk(){}var yk=()=>navigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),eq=/(?:^|[-_/])(\w)/g,tq=/-(\w)/g,rq=/([a-z0-9])([A-Z])/g;function b4(t,r){return r?r.toUpperCase():""}function $4(t){return t&&`${t}`.replace(eq,b4)}function nq(t){return t&&t.replace(tq,b4)}function iq(t){return t&&t.replace(rq,(r,e,n)=>`${e}-${n}`).toLowerCase()}function oq(t,r){const e=t.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),n=e.lastIndexOf("/"),i=e.substring(n+1);if(r){const o=i.lastIndexOf(r);return i.substring(0,o)}return""}function aq(t){return t&&t.slice().sort((r,e)=>r.key<e.key?-1:r.key>e.key?1:0)}var mc=(0,JQ.default)();function sq(){return Math.random().toString(36).slice(2)}LA();var yb="__vue-devtools-view-mode__",lq="__vue-devtools-broadcast-channel__";function gq(t){return{all:t=t||new Map,on:function(r,e){var n=t.get(r);n?n.push(e):t.set(r,[e])},off:function(r,e){var n=t.get(r);n&&(e?n.splice(n.indexOf(e)>>>0,1):t.set(r,[]))},emit:function(r,e){var n=t.get(r);n&&n.slice().map(function(i){i(e)}),(n=t.get("*"))&&n.slice().map(function(i){i(r,e)})}}}var jr=(t=>(t.APP_INIT="app:init",t.APP_UNMOUNT="app:unmount",t.COMPONENT_UPDATED="component:updated",t.COMPONENT_ADDED="component:added",t.COMPONENT_REMOVED="component:removed",t.COMPONENT_EMIT="component:emit",t.PERFORMANCE_START="perf:start",t.PERFORMANCE_END="perf:end",t.ADD_ROUTE="router:add-route",t.REMOVE_ROUTE="router:remove-route",t.RENDER_TRACKED="render:tracked",t.RENDER_TRIGGERED="render:triggered",t.APP_CONNECTED="app:connected",t.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",t))(jr||{});const uq={trailing:!0};function Qh(t,r=25,e={}){if(e={...uq,...e},!Number.isFinite(r))throw new TypeError("Expected `wait` to be a finite number");let n,i,o=[],a,s;const l=(g,u)=>(a=cq(t,g,u),a.finally(()=>{if(a=null,e.trailing&&s&&!i){const c=l(g,s);return s=null,c}}),a);return function(...g){return a?(e.trailing&&(s=g),a):new Promise(u=>{const c=!i&&e.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const d=e.leading?n:l(this,g);for(const h of o)h(d);o=[]},r),c?(n=l(this,g),u(n)):o.push(u)})}}async function cq(t,r,e){return await t.apply(r,e)}function Dw(t,r={},e){for(const n in t){const i=t[n],o=e?`${e}:${n}`:n;typeof i=="object"&&i!==null?Dw(i,r,o):typeof i=="function"&&(r[o]=i)}return r}const dq={run:t=>t()},hq=()=>dq,w4=typeof console.createTask<"u"?console.createTask:hq;function Aq(t,r){const e=r.shift(),n=w4(e);return t.reduce((i,o)=>i.then(()=>n.run(()=>o(...r))),Promise.resolve())}function fq(t,r){const e=r.shift(),n=w4(e);return Promise.all(t.map(i=>n.run(()=>i(...r))))}function bb(t,r){for(const e of[...t])e(r)}class Cq{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,e,n={}){if(!r||typeof e!="function")return()=>{};const i=r;let o;for(;this._deprecatedHooks[r];)o=this._deprecatedHooks[r],r=o.to;if(o&&!n.allowDeprecated){let a=o.message;a||(a=`${i} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(e),()=>{e&&(this.removeHook(r,e),e=void 0)}}hookOnce(r,e){let n,i=(...o)=>(typeof n=="function"&&n(),n=void 0,i=void 0,e(...o));return n=this.hook(r,i),n}removeHook(r,e){if(this._hooks[r]){const n=this._hooks[r].indexOf(e);n!==-1&&this._hooks[r].splice(n,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,e){this._deprecatedHooks[r]=typeof e=="string"?{to:e}:e;const n=this._hooks[r]||[];delete this._hooks[r];for(const i of n)this.hook(r,i)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const e in r)this.deprecateHook(e,r[e])}addHooks(r){const e=Dw(r),n=Object.keys(e).map(i=>this.hook(i,e[i]));return()=>{for(const i of n.splice(0,n.length))i()}}removeHooks(r){const e=Dw(r);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...e){return e.unshift(r),this.callHookWith(Aq,r,...e)}callHookParallel(r,...e){return e.unshift(r),this.callHookWith(fq,r,...e)}callHookWith(r,e,...n){const i=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&bb(this._before,i);const o=r(e in this._hooks?[...this._hooks[e]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&i&&bb(this._after,i)}):(this._after&&i&&bb(this._after,i),o)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const e=this._before.indexOf(r);e!==-1&&this._before.splice(e,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const e=this._after.indexOf(r);e!==-1&&this._after.splice(e,1)}}}}function _4(){return new Cq}function NS(t,r){const e=new Set(t.split(","));return r?n=>e.has(n.toLowerCase()):n=>e.has(n)}const er={},nc=[],Fi=()=>{},Iq=()=>!1,lm=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),MS=t=>t.startsWith("onUpdate:"),Gr=Object.assign,BS=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},vq=Object.prototype.hasOwnProperty,$t=(t,r)=>vq.call(t,r),Le=Array.isArray,ic=t=>zA(t)==="[object Map]",id=t=>zA(t)==="[object Set]",bk=t=>zA(t)==="[object Date]",et=t=>typeof t=="function",cr=t=>typeof t=="string",Zs=t=>typeof t=="symbol",Gt=t=>t!==null&&typeof t=="object",E4=t=>(Gt(t)||et(t))&&et(t.then)&&et(t.catch),S4=Object.prototype.toString,zA=t=>S4.call(t),pq=t=>zA(t).slice(8,-1),T4=t=>zA(t)==="[object Object]",FS=t=>cr(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,tv=NS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gm=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},mq=/-(\w)/g,qo=gm(t=>t.replace(mq,(r,e)=>e?e.toUpperCase():"")),yq=/\B([A-Z])/g,Bg=gm(t=>t.replace(yq,"-$1").toLowerCase()),um=gm(t=>t.charAt(0).toUpperCase()+t.slice(1)),rv=gm(t=>t?`on${um(t)}`:""),Ks=(t,r)=>!Object.is(t,r),nv=(t,r)=>{for(let e=0;e<t.length;e++)t[e](r)},Vv=(t,r,e)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},Gv=t=>{const r=parseFloat(t);return isNaN(r)?t:r},bq=t=>{const r=cr(t)?Number(t):NaN;return isNaN(r)?t:r};let $k;const O4=()=>$k||($k=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _r(t){if(Le(t)){const r={};for(let e=0;e<t.length;e++){const n=t[e],i=cr(n)?Eq(n):_r(n);if(i)for(const o in i)r[o]=i[o]}return r}else if(cr(t)||Gt(t))return t}const $q=/;(?![^(]*\))/g,wq=/:([^]+)/,_q=/\/\*[^]*?\*\//g;function Eq(t){const r={};return t.replace(_q,"").split($q).forEach(e=>{if(e){const n=e.split(wq);n.length>1&&(r[n[0].trim()]=n[1].trim())}}),r}function _e(t){let r="";if(cr(t))r=t;else if(Le(t))for(let e=0;e<t.length;e++){const n=_e(t[e]);n&&(r+=n+" ")}else if(Gt(t))for(const e in t)t[e]&&(r+=e+" ");return r.trim()}function jA(t){if(!t)return null;let{class:r,style:e}=t;return r&&!cr(r)&&(t.class=_e(r)),e&&(t.style=_r(e)),t}const Sq="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tq=NS(Sq);function k4(t){return!!t||t===""}function Oq(t,r){if(t.length!==r.length)return!1;let e=!0;for(let n=0;e&&n<t.length;n++)e=pg(t[n],r[n]);return e}function pg(t,r){if(t===r)return!0;let e=bk(t),n=bk(r);if(e||n)return e&&n?t.getTime()===r.getTime():!1;if(e=Zs(t),n=Zs(r),e||n)return t===r;if(e=Le(t),n=Le(r),e||n)return e&&n?Oq(t,r):!1;if(e=Gt(t),n=Gt(r),e||n){if(!e||!n)return!1;const i=Object.keys(t).length,o=Object.keys(r).length;if(i!==o)return!1;for(const a in t){const s=t.hasOwnProperty(a),l=r.hasOwnProperty(a);if(s&&!l||!s&&l||!pg(t[a],r[a]))return!1}}return String(t)===String(r)}function LS(t,r){return t.findIndex(e=>pg(e,r))}const we=t=>cr(t)?t:t==null?"":Le(t)||Gt(t)&&(t.toString===S4||!et(t.toString))?JSON.stringify(t,x4,2):String(t),x4=(t,r)=>r&&r.__v_isRef?x4(t,r.value):ic(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[n,i],o)=>(e[$b(n,o)+" =>"]=i,e),{})}:id(r)?{[`Set(${r.size})`]:[...r.values()].map(e=>$b(e))}:Zs(r)?$b(r):Gt(r)&&!Le(r)&&!T4(r)?String(r):r,$b=(t,r="")=>{var e;return Zs(t)?`Symbol(${(e=t.description)!=null?e:r})`:t};let Ai;class kq{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ai,!r&&Ai&&(this.index=(Ai.scopes||(Ai.scopes=[])).push(this)-1)}get active(){return this._active}run(r){if(this._active){const e=Ai;try{return Ai=this,r()}finally{Ai=e}}}on(){Ai=this}off(){Ai=this.parent}stop(r){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!r){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function xq(t,r=Ai){r&&r.active&&r.effects.push(t)}function P4(){return Ai}function R4(t){Ai&&Ai.cleanups.push(t)}let Ql;class zS{constructor(r,e,n,i){this.fn=r,this.trigger=e,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,xq(this,i)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,Fg();for(const r of this.deps)if(r.computed&&(Pq(r.computed),this._dirtyLevel>=2))break;Lg(),this._queryings--}return this._dirtyLevel>=2}set dirty(r){this._dirtyLevel=r?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let r=Os,e=Ql;try{return Os=!0,Ql=this,this._runnings++,wk(this),this.fn()}finally{_k(this),this._runnings--,Ql=e,Os=r}}stop(){var r;this.active&&(wk(this),_k(this),(r=this.onStop)==null||r.call(this),this.active=!1)}}function Pq(t){return t.value}function wk(t){t._trackId++,t._depsLength=0}function _k(t){if(t.deps&&t.deps.length>t._depsLength){for(let r=t._depsLength;r<t.deps.length;r++)D4(t.deps[r],t);t.deps.length=t._depsLength}}function D4(t,r){const e=t.get(r);e!==void 0&&r._trackId!==e&&(t.delete(r),t.size===0&&t.cleanup())}let Os=!0,Nw=0;const N4=[];function Fg(){N4.push(Os),Os=!1}function Lg(){const t=N4.pop();Os=t===void 0?!0:t}function jS(){Nw++}function VS(){for(Nw--;!Nw&&Mw.length;)Mw.shift()()}function M4(t,r,e){if(r.get(t)!==t._trackId){r.set(t,t._trackId);const n=t.deps[t._depsLength];n!==r?(n&&D4(n,t),t.deps[t._depsLength++]=r):t._depsLength++}}const Mw=[];function B4(t,r,e){jS();for(const n of t.keys())if(!(!n.allowRecurse&&n._runnings)&&n._dirtyLevel<r&&(!n._runnings||r!==2)){const i=n._dirtyLevel;n._dirtyLevel=r,i===0&&(!n._queryings||r!==2)&&(n.trigger(),n.scheduler&&Mw.push(n.scheduler))}VS()}const F4=(t,r)=>{const e=new Map;return e.cleanup=t,e.computed=r,e},Wv=new WeakMap,ql=Symbol(""),Bw=Symbol("");function ei(t,r,e){if(Os&&Ql){let n=Wv.get(t);n||Wv.set(t,n=new Map);let i=n.get(e);i||n.set(e,i=F4(()=>n.delete(e))),M4(Ql,i)}}function va(t,r,e,n,i,o){const a=Wv.get(t);if(!a)return;let s=[];if(r==="clear")s=[...a.values()];else if(e==="length"&&Le(t)){const l=Number(n);a.forEach((g,u)=>{(u==="length"||!Zs(u)&&u>=l)&&s.push(g)})}else switch(e!==void 0&&s.push(a.get(e)),r){case"add":Le(t)?FS(e)&&s.push(a.get("length")):(s.push(a.get(ql)),ic(t)&&s.push(a.get(Bw)));break;case"delete":Le(t)||(s.push(a.get(ql)),ic(t)&&s.push(a.get(Bw)));break;case"set":ic(t)&&s.push(a.get(ql));break}jS();for(const l of s)l&&B4(l,3);VS()}function Rq(t,r){var e;return(e=Wv.get(t))==null?void 0:e.get(r)}const Dq=NS("__proto__,__v_isRef,__isVue"),L4=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zs)),Ek=Nq();function Nq(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const n=Ct(this);for(let o=0,a=this.length;o<a;o++)ei(n,"get",o+"");const i=n[r](...e);return i===-1||i===!1?n[r](...e.map(Ct)):i}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...e){Fg(),jS();const n=Ct(this)[r].apply(this,e);return VS(),Lg(),n}}),t}function Mq(t){const r=Ct(this);return ei(r,"has",t),r.hasOwnProperty(t)}class z4{constructor(r=!1,e=!1){this._isReadonly=r,this._shallow=e}get(r,e,n){const i=this._isReadonly,o=this._shallow;if(e==="__v_isReactive")return!i;if(e==="__v_isReadonly")return i;if(e==="__v_isShallow")return o;if(e==="__v_raw")return n===(i?o?Yq:W4:o?G4:V4).get(r)||Object.getPrototypeOf(r)===Object.getPrototypeOf(n)?r:void 0;const a=Le(r);if(!i){if(a&&$t(Ek,e))return Reflect.get(Ek,e,n);if(e==="hasOwnProperty")return Mq}const s=Reflect.get(r,e,n);return(Zs(e)?L4.has(e):Dq(e))||(i||ei(r,"get",e),o)?s:ze(s)?a&&FS(e)?s:s.value:Gt(s)?i?Va(s):Ys(s):s}}class j4 extends z4{constructor(r=!1){super(!1,r)}set(r,e,n,i){let o=r[e];if(!this._shallow){const l=yc(o);if(!Hv(n)&&!yc(n)&&(o=Ct(o),n=Ct(n)),!Le(r)&&ze(o)&&!ze(n))return l?!1:(o.value=n,!0)}const a=Le(r)&&FS(e)?Number(e)<r.length:$t(r,e),s=Reflect.set(r,e,n,i);return r===Ct(i)&&(a?Ks(n,o)&&va(r,"set",e,n):va(r,"add",e,n)),s}deleteProperty(r,e){const n=$t(r,e);r[e];const i=Reflect.deleteProperty(r,e);return i&&n&&va(r,"delete",e,void 0),i}has(r,e){const n=Reflect.has(r,e);return(!Zs(e)||!L4.has(e))&&ei(r,"has",e),n}ownKeys(r){return ei(r,"iterate",Le(r)?"length":ql),Reflect.ownKeys(r)}}class Bq extends z4{constructor(r=!1){super(!0,r)}set(r,e){return!0}deleteProperty(r,e){return!0}}const Fq=new j4,Lq=new Bq,zq=new j4(!0),GS=t=>t,cm=t=>Reflect.getPrototypeOf(t);function yC(t,r,e=!1,n=!1){t=t.__v_raw;const i=Ct(t),o=Ct(r);e||(Ks(r,o)&&ei(i,"get",r),ei(i,"get",o));const{has:a}=cm(i),s=n?GS:e?KS:qh;if(a.call(i,r))return s(t.get(r));if(a.call(i,o))return s(t.get(o));t!==i&&t.get(r)}function bC(t,r=!1){const e=this.__v_raw,n=Ct(e),i=Ct(t);return r||(Ks(t,i)&&ei(n,"has",t),ei(n,"has",i)),t===i?e.has(t):e.has(t)||e.has(i)}function $C(t,r=!1){return t=t.__v_raw,!r&&ei(Ct(t),"iterate",ql),Reflect.get(t,"size",t)}function Sk(t){t=Ct(t);const r=Ct(this);return cm(r).has.call(r,t)||(r.add(t),va(r,"add",t,t)),this}function Tk(t,r){r=Ct(r);const e=Ct(this),{has:n,get:i}=cm(e);let o=n.call(e,t);o||(t=Ct(t),o=n.call(e,t));const a=i.call(e,t);return e.set(t,r),o?Ks(r,a)&&va(e,"set",t,r):va(e,"add",t,r),this}function Ok(t){const r=Ct(this),{has:e,get:n}=cm(r);let i=e.call(r,t);i||(t=Ct(t),i=e.call(r,t)),n&&n.call(r,t);const o=r.delete(t);return i&&va(r,"delete",t,void 0),o}function kk(){const t=Ct(this),r=t.size!==0,e=t.clear();return r&&va(t,"clear",void 0,void 0),e}function wC(t,r){return function(n,i){const o=this,a=o.__v_raw,s=Ct(a),l=r?GS:t?KS:qh;return!t&&ei(s,"iterate",ql),a.forEach((g,u)=>n.call(i,l(g),l(u),o))}}function _C(t,r,e){return function(...n){const i=this.__v_raw,o=Ct(i),a=ic(o),s=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,g=i[t](...n),u=e?GS:r?KS:qh;return!r&&ei(o,"iterate",l?Bw:ql),{next(){const{value:c,done:d}=g.next();return d?{value:c,done:d}:{value:s?[u(c[0]),u(c[1])]:u(c),done:d}},[Symbol.iterator](){return this}}}}function Qa(t){return function(...r){return t==="delete"?!1:t==="clear"?void 0:this}}function jq(){const t={get(o){return yC(this,o)},get size(){return $C(this)},has:bC,add:Sk,set:Tk,delete:Ok,clear:kk,forEach:wC(!1,!1)},r={get(o){return yC(this,o,!1,!0)},get size(){return $C(this)},has:bC,add:Sk,set:Tk,delete:Ok,clear:kk,forEach:wC(!1,!0)},e={get(o){return yC(this,o,!0)},get size(){return $C(this,!0)},has(o){return bC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:wC(!0,!1)},n={get(o){return yC(this,o,!0,!0)},get size(){return $C(this,!0)},has(o){return bC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:wC(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=_C(o,!1,!1),e[o]=_C(o,!0,!1),r[o]=_C(o,!1,!0),n[o]=_C(o,!0,!0)}),[t,e,r,n]}const[Vq,Gq,Wq,Hq]=jq();function WS(t,r){const e=r?t?Hq:Wq:t?Gq:Vq;return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get($t(e,i)&&i in n?e:n,i,o)}const Uq={get:WS(!1,!1)},Zq={get:WS(!1,!0)},Kq={get:WS(!0,!1)},V4=new WeakMap,G4=new WeakMap,W4=new WeakMap,Yq=new WeakMap;function Xq(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qq(t){return t.__v_skip||!Object.isExtensible(t)?0:Xq(pq(t))}function Ys(t){return yc(t)?t:US(t,!1,Fq,Uq,V4)}function HS(t){return US(t,!1,zq,Zq,G4)}function Va(t){return US(t,!0,Lq,Kq,W4)}function US(t,r,e,n,i){if(!Gt(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const a=Qq(t);if(a===0)return t;const s=new Proxy(t,a===2?n:e);return i.set(t,s),s}function Jl(t){return yc(t)?Jl(t.__v_raw):!!(t&&t.__v_isReactive)}function yc(t){return!!(t&&t.__v_isReadonly)}function Hv(t){return!!(t&&t.__v_isShallow)}function H4(t){return Jl(t)||yc(t)}function Ct(t){const r=t&&t.__v_raw;return r?Ct(r):t}function ZS(t){return Vv(t,"__v_skip",!0),t}const qh=t=>Gt(t)?Ys(t):t,KS=t=>Gt(t)?Va(t):t;class U4{constructor(r,e,n,i){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zS(()=>r(this._value),()=>Uv(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const r=Ct(this);return YS(r),(!r._cacheable||r.effect.dirty)&&Ks(r._value,r._value=r.effect.run())&&Uv(r,2),r._value}set value(r){this._setter(r)}get _dirty(){return this.effect.dirty}set _dirty(r){this.effect.dirty=r}}function qq(t,r,e=!1){let n,i;const o=et(t);return o?(n=t,i=Fi):(n=t.get,i=t.set),new U4(n,i,o||!i,e)}function YS(t){Os&&Ql&&(t=Ct(t),M4(Ql,t.dep||(t.dep=F4(()=>t.dep=void 0,t instanceof U4?t:void 0))))}function Uv(t,r=3,e){t=Ct(t);const n=t.dep;n&&B4(n,r)}function ze(t){return!!(t&&t.__v_isRef===!0)}function U(t){return Z4(t,!1)}function na(t){return Z4(t,!0)}function Z4(t,r){return ze(t)?t:new Jq(t,r)}class Jq{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:Ct(r),this._value=e?r:qh(r)}get value(){return YS(this),this._value}set value(r){const e=this.__v_isShallow||Hv(r)||yc(r);r=e?r:Ct(r),Ks(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:qh(r),Uv(this,3))}}function y(t){return ze(t)?t.value:t}function Fw(t){return et(t)?t():y(t)}const eJ={get:(t,r,e)=>y(Reflect.get(t,r,e)),set:(t,r,e,n)=>{const i=t[r];return ze(i)&&!ze(e)?(i.value=e,!0):Reflect.set(t,r,e,n)}};function K4(t){return Jl(t)?t:new Proxy(t,eJ)}class tJ{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:n}=r(()=>YS(this),()=>Uv(this));this._get=e,this._set=n}get value(){return this._get()}set value(r){this._set(r)}}function XS(t){return new tJ(t)}function xk(t){const r=Le(t)?new Array(t.length):{};for(const e in t)r[e]=X4(t,e);return r}class rJ{constructor(r,e,n){this._object=r,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const r=this._object[this._key];return r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}get dep(){return Rq(Ct(this._object),this._key)}}class nJ{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Y4(t,r,e){return ze(t)?t:et(t)?new nJ(t):Gt(t)&&arguments.length>1?X4(t,r,e):U(t)}function X4(t,r,e){const n=t[r];return ze(n)?n:new rJ(t,r,e)}function ks(t,r,e,n){let i;try{i=n?t(...n):t()}catch(o){VA(o,r,e)}return i}function zi(t,r,e,n){if(et(t)){const o=ks(t,r,e,n);return o&&E4(o)&&o.catch(a=>{VA(a,r,e)}),o}const i=[];for(let o=0;o<t.length;o++)i.push(zi(t[o],r,e,n));return i}function VA(t,r,e,n=!0){const i=r?r.vnode:null;if(r){let o=r.parent;const a=r.proxy,s=`https://vuejs.org/errors/#runtime-${e}`;for(;o;){const g=o.ec;if(g){for(let u=0;u<g.length;u++)if(g[u](t,a,s)===!1)return}o=o.parent}const l=r.appContext.config.errorHandler;if(l){ks(l,null,10,[t,a,s]);return}}iJ(t,e,i,n)}function iJ(t,r,e,n=!0){console.error(t)}let Jh=!1,Lw=!1;const bn=[];let Ro=0;const oc=[];let Aa=null,zl=0;const Q4=Promise.resolve();let QS=null;function wn(t){const r=QS||Q4;return t?r.then(this?t.bind(this):t):r}function oJ(t){let r=Ro+1,e=bn.length;for(;r<e;){const n=r+e>>>1,i=bn[n],o=eA(i);o<t||o===t&&i.pre?r=n+1:e=n}return r}function dm(t){(!bn.length||!bn.includes(t,Jh&&t.allowRecurse?Ro+1:Ro))&&(t.id==null?bn.push(t):bn.splice(oJ(t.id),0,t),q4())}function q4(){!Jh&&!Lw&&(Lw=!0,QS=Q4.then(ej))}function aJ(t){const r=bn.indexOf(t);r>Ro&&bn.splice(r,1)}function sJ(t){Le(t)?oc.push(...t):(!Aa||!Aa.includes(t,t.allowRecurse?zl+1:zl))&&oc.push(t),q4()}function Pk(t,r,e=Jh?Ro+1:0){for(;e<bn.length;e++){const n=bn[e];if(n&&n.pre){if(t&&n.id!==t.uid)continue;bn.splice(e,1),e--,n()}}}function J4(t){if(oc.length){const r=[...new Set(oc)];if(oc.length=0,Aa){Aa.push(...r);return}for(Aa=r,Aa.sort((e,n)=>eA(e)-eA(n)),zl=0;zl<Aa.length;zl++)Aa[zl]();Aa=null,zl=0}}const eA=t=>t.id==null?1/0:t.id,lJ=(t,r)=>{const e=eA(t)-eA(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function ej(t){Lw=!1,Jh=!0,bn.sort(lJ);try{for(Ro=0;Ro<bn.length;Ro++){const r=bn[Ro];r&&r.active!==!1&&ks(r,null,14)}}finally{Ro=0,bn.length=0,J4(),Jh=!1,QS=null,(bn.length||oc.length)&&ej()}}function gJ(t,r,...e){if(t.isUnmounted)return;const n=t.vnode.props||er;let i=e;const o=r.startsWith("update:"),a=o&&r.slice(7);if(a&&a in n){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:c,trim:d}=n[u]||er;d&&(i=e.map(h=>cr(h)?h.trim():h)),c&&(i=e.map(Gv))}let s,l=n[s=rv(r)]||n[s=rv(qo(r))];!l&&o&&(l=n[s=rv(Bg(r))]),l&&zi(l,t,6,i);const g=n[s+"Once"];if(g){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,zi(g,t,6,i)}}function tj(t,r,e=!1){const n=r.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let a={},s=!1;if(!et(t)){const l=g=>{const u=tj(g,r,!0);u&&(s=!0,Gr(a,u))};!e&&r.mixins.length&&r.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!s?(Gt(t)&&n.set(t,null),null):(Le(o)?o.forEach(l=>a[l]=null):Gr(a,o),Gt(t)&&n.set(t,a),a)}function hm(t,r){return!t||!lm(r)?!1:(r=r.slice(2).replace(/Once$/,""),$t(t,r[0].toLowerCase()+r.slice(1))||$t(t,Bg(r))||$t(t,r))}let vn=null,Am=null;function Zv(t){const r=vn;return vn=t,Am=t&&t.type.__scopeId||null,r}function fm(t){Am=t}function Cm(){Am=null}const rj=t=>G;function G(t,r=vn,e){if(!r||t._n)return t;const n=(...i)=>{n._d&&Uk(-1);const o=Zv(r);let a;try{a=t(...i)}finally{Zv(o),n._d&&Uk(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function wb(t){const{type:r,vnode:e,proxy:n,withProxy:i,props:o,propsOptions:[a],slots:s,attrs:l,emit:g,render:u,renderCache:c,data:d,setupState:h,ctx:A,inheritAttrs:f}=t;let C,I;const v=Zv(t);try{if(e.shapeFlag&4){const m=i||n,b=m;C=xo(u.call(b,m,c,o,h,d,A)),I=l}else{const m=r;C=xo(m.length>1?m(o,{attrs:l,slots:s,emit:g}):m(o,null)),I=r.props?l:uJ(l)}}catch(m){_h.length=0,VA(m,t,1),C=z(ji)}let p=C;if(I&&f!==!1){const m=Object.keys(I),{shapeFlag:b}=p;m.length&&b&7&&(a&&m.some(MS)&&(I=cJ(I,a)),p=Qs(p,I))}return e.dirs&&(p=Qs(p),p.dirs=p.dirs?p.dirs.concat(e.dirs):e.dirs),e.transition&&(p.transition=e.transition),C=p,Zv(v),C}const uJ=t=>{let r;for(const e in t)(e==="class"||e==="style"||lm(e))&&((r||(r={}))[e]=t[e]);return r},cJ=(t,r)=>{const e={};for(const n in t)(!MS(n)||!(n.slice(9)in r))&&(e[n]=t[n]);return e};function dJ(t,r,e){const{props:n,children:i,component:o}=t,{props:a,children:s,patchFlag:l}=r,g=o.emitsOptions;if(r.dirs||r.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?Rk(n,a,g):!!a;if(l&8){const u=r.dynamicProps;for(let c=0;c<u.length;c++){const d=u[c];if(a[d]!==n[d]&&!hm(g,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:n===a?!1:n?a?Rk(n,a,g):!0:!!a;return!1}function Rk(t,r,e){const n=Object.keys(r);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(r[o]!==t[o]&&!hm(e,o))return!0}return!1}function hJ({vnode:t,parent:r},e){if(e)for(;r;){const n=r.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=r.vnode).el=e,r=r.parent;else break}}const qS="components",AJ="directives";function bi(t,r){return JS(qS,t,!0,r)||t}const nj=Symbol.for("v-ndc");function Xs(t){return cr(t)?JS(qS,t,!1)||t:t||nj}function Im(t){return JS(AJ,t)}function JS(t,r,e=!0,n=!1){const i=vn||Qr;if(i){const o=i.type;if(t===qS){const s=cee(o,!1);if(s&&(s===r||s===qo(r)||s===um(qo(r))))return o}const a=Dk(i[t]||o[t],r)||Dk(i.appContext[t],r);return!a&&n?o:a}}function Dk(t,r){return t&&(t[r]||t[qo(r)]||t[um(qo(r))])}const fJ=t=>t.__isSuspense;function CJ(t,r){r&&r.pendingBranch?Le(t)?r.effects.push(...t):r.effects.push(t):sJ(t)}const IJ=Symbol.for("v-scx"),vJ=()=>Er(IJ);function Nn(t,r){return e2(t,null,r)}const EC={};function rt(t,r,e){return e2(t,r,e)}function e2(t,r,{immediate:e,deep:n,flush:i,once:o,onTrack:a,onTrigger:s}=er){if(r&&o){const b=r;r=(...S)=>{b(...S),m()}}const l=Qr,g=b=>n===!0?b:Wl(b,n===!1?1:void 0);let u,c=!1,d=!1;if(ze(t)?(u=()=>t.value,c=Hv(t)):Jl(t)?(u=()=>g(t),c=!0):Le(t)?(d=!0,c=t.some(b=>Jl(b)||Hv(b)),u=()=>t.map(b=>{if(ze(b))return b.value;if(Jl(b))return g(b);if(et(b))return ks(b,l,2)})):et(t)?r?u=()=>ks(t,l,2):u=()=>(h&&h(),zi(t,l,3,[A])):u=Fi,r&&n){const b=u;u=()=>Wl(b())}let h,A=b=>{h=p.onStop=()=>{ks(b,l,4),h=p.onStop=void 0}},f;if(HA)if(A=Fi,r?e&&zi(r,l,3,[u(),d?[]:void 0,A]):u(),i==="sync"){const b=vJ();f=b.__watcherHandles||(b.__watcherHandles=[])}else return Fi;let C=d?new Array(t.length).fill(EC):EC;const I=()=>{if(!(!p.active||!p.dirty))if(r){const b=p.run();(n||c||(d?b.some((S,N)=>Ks(S,C[N])):Ks(b,C)))&&(h&&h(),zi(r,l,3,[b,C===EC?void 0:d&&C[0]===EC?[]:C,A]),C=b)}else p.run()};I.allowRecurse=!!r;let v;i==="sync"?v=I:i==="post"?v=()=>Un(I,l&&l.suspense):(I.pre=!0,l&&(I.id=l.uid),v=()=>dm(I));const p=new zS(u,Fi,v),m=()=>{p.stop(),l&&l.scope&&BS(l.scope.effects,p)};return r?e?I():C=p.run():i==="post"?Un(p.run.bind(p),l&&l.suspense):p.run(),f&&f.push(m),m}function pJ(t,r,e){const n=this.proxy,i=cr(t)?t.includes(".")?ij(n,t):()=>n[t]:t.bind(n,n);let o;et(r)?o=r:(o=r.handler,e=r);const a=Qr;bc(this);const s=e2(i,o.bind(n),e);return a?bc(a):eg(),s}function ij(t,r){const e=r.split(".");return()=>{let n=t;for(let i=0;i<e.length&&n;i++)n=n[e[i]];return n}}function Wl(t,r,e=0,n){if(!Gt(t)||t.__v_skip)return t;if(r&&r>0){if(e>=r)return t;e++}if(n=n||new Set,n.has(t))return t;if(n.add(t),ze(t))Wl(t.value,r,e,n);else if(Le(t))for(let i=0;i<t.length;i++)Wl(t[i],r,e,n);else if(id(t)||ic(t))t.forEach(i=>{Wl(i,r,e,n)});else if(T4(t))for(const i in t)Wl(t[i],r,e,n);return t}function rn(t,r){const e=vn;if(e===null)return t;const n=ym(e)||e.proxy,i=t.dirs||(t.dirs=[]);for(let o=0;o<r.length;o++){let[a,s,l,g=er]=r[o];a&&(et(a)&&(a={mounted:a,updated:a}),a.deep&&Wl(s),i.push({dir:a,instance:n,value:s,oldValue:void 0,arg:l,modifiers:g}))}return t}function Tl(t,r,e,n){const i=t.dirs,o=r&&r.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let l=s.dir[n];l&&(Fg(),zi(l,e,8,[t.el,s,t,r]),Lg())}}const ds=Symbol("_leaveCb"),SC=Symbol("_enterCb");function mJ(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wi(()=>{t.isMounted=!0}),gj(()=>{t.isUnmounting=!0}),t}const ki=[Function,Array],oj={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ki,onEnter:ki,onAfterEnter:ki,onEnterCancelled:ki,onBeforeLeave:ki,onLeave:ki,onAfterLeave:ki,onLeaveCancelled:ki,onBeforeAppear:ki,onAppear:ki,onAfterAppear:ki,onAppearCancelled:ki},yJ={name:"BaseTransition",props:oj,setup(t,{slots:r}){const e=sl(),n=mJ();let i;return()=>{const o=r.default&&sj(r.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const f of o)if(f.type!==ji){a=f;break}}const s=Ct(t),{mode:l}=s;if(n.isLeaving)return _b(a);const g=Nk(a);if(!g)return _b(a);const u=zw(g,s,n,e);jw(g,u);const c=e.subTree,d=c&&Nk(c);let h=!1;const{getTransitionKey:A}=g.type;if(A){const f=A();i===void 0?i=f:f!==i&&(i=f,h=!0)}if(d&&d.type!==ji&&(!jl(g,d)||h)){const f=zw(d,s,n,e);if(jw(d,f),l==="out-in")return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.update.active!==!1&&(e.effect.dirty=!0,e.update())},_b(a);l==="in-out"&&g.type!==ji&&(f.delayLeave=(C,I,v)=>{const p=aj(n,d);p[String(d.key)]=d,C[ds]=()=>{I(),C[ds]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return a}}},bJ=yJ;function aj(t,r){const{leavingVNodes:e}=t;let n=e.get(r.type);return n||(n=Object.create(null),e.set(r.type,n)),n}function zw(t,r,e,n){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:g,onEnterCancelled:u,onBeforeLeave:c,onLeave:d,onAfterLeave:h,onLeaveCancelled:A,onBeforeAppear:f,onAppear:C,onAfterAppear:I,onAppearCancelled:v}=r,p=String(t.key),m=aj(e,t),b=(k,_)=>{k&&zi(k,n,9,_)},S=(k,_)=>{const T=_[1];b(k,_),Le(k)?k.every(P=>P.length<=1)&&T():k.length<=1&&T()},N={mode:o,persisted:a,beforeEnter(k){let _=s;if(!e.isMounted)if(i)_=f||s;else return;k[ds]&&k[ds](!0);const T=m[p];T&&jl(t,T)&&T.el[ds]&&T.el[ds](),b(_,[k])},enter(k){let _=l,T=g,P=u;if(!e.isMounted)if(i)_=C||l,T=I||g,P=v||u;else return;let R=!1;const L=k[SC]=te=>{R||(R=!0,te?b(P,[k]):b(T,[k]),N.delayedLeave&&N.delayedLeave(),k[SC]=void 0)};_?S(_,[k,L]):L()},leave(k,_){const T=String(t.key);if(k[SC]&&k[SC](!0),e.isUnmounting)return _();b(c,[k]);let P=!1;const R=k[ds]=L=>{P||(P=!0,_(),L?b(A,[k]):b(h,[k]),k[ds]=void 0,m[T]===t&&delete m[T])};m[T]=t,d?S(d,[k,R]):R()},clone(k){return zw(k,r,e,n)}};return N}function _b(t){if(GA(t))return t=Qs(t),t.children=null,t}function Nk(t){return GA(t)?t.children?t.children[0]:void 0:t}function jw(t,r){t.shapeFlag&6&&t.component?jw(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function sj(t,r=!1,e){let n=[],i=0;for(let o=0;o<t.length;o++){let a=t[o];const s=e==null?a.key:String(e)+String(a.key!=null?a.key:o);a.type===ye?(a.patchFlag&128&&i++,n=n.concat(sj(a.children,r,s))):(r||a.type!==ji)&&n.push(s!=null?Qs(a,{key:s}):a)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function $e(t,r){return et(t)?Gr({name:t.name},r,{setup:t}):t}const bh=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function $J(t){et(t)&&(t={loader:t});const{loader:r,loadingComponent:e,errorComponent:n,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=t;let l=null,g,u=0;const c=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=r().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),s)return new Promise((f,C)=>{s(A,()=>f(c()),()=>C(A),u+1)});throw A}).then(A=>h!==l&&l?l:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),g=A,A)))};return $e({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return g},setup(){const h=Qr;if(g)return()=>Eb(g,h);const A=v=>{l=null,VA(v,h,13,!n)};if(a&&h.suspense||HA)return d().then(v=>()=>Eb(v,h)).catch(v=>(A(v),()=>n?z(n,{error:v}):null));const f=U(!1),C=U(),I=U(!!i);return i&&setTimeout(()=>{I.value=!1},i),o!=null&&setTimeout(()=>{if(!f.value&&!C.value){const v=new Error(`Async component timed out after ${o}ms.`);A(v),C.value=v}},o),d().then(()=>{f.value=!0,h.parent&&GA(h.parent.vnode)&&(h.parent.effect.dirty=!0,dm(h.parent.update))}).catch(v=>{A(v),C.value=v}),()=>{if(f.value&&g)return Eb(g,h);if(C.value&&n)return z(n,{error:C.value});if(e&&!I.value)return z(e)}}})}function Eb(t,r){const{ref:e,props:n,children:i,ce:o}=r.vnode,a=z(t,n,i);return a.ref=e,a.ce=o,delete r.vnode.ce,a}const GA=t=>t.type.__isKeepAlive;function wJ(t,r){lj(t,"a",r)}function _J(t,r){lj(t,"da",r)}function lj(t,r,e=Qr){const n=t.__wdc||(t.__wdc=()=>{let i=e;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(vm(r,n,e),e){let i=e.parent;for(;i&&i.parent;)GA(i.parent.vnode)&&EJ(n,r,e,i),i=i.parent}}function EJ(t,r,e,n){const i=vm(r,t,n,!0);WA(()=>{BS(n[r],i)},e)}function vm(t,r,e=Qr,n=!1){if(e){const i=e[t]||(e[t]=[]),o=r.__weh||(r.__weh=(...a)=>{if(e.isUnmounted)return;Fg(),bc(e);const s=zi(r,e,t,a);return eg(),Lg(),s});return n?i.unshift(o):i.push(o),o}}const Ga=t=>(r,e=Qr)=>(!HA||t==="sp")&&vm(t,(...n)=>r(...n),e),SJ=Ga("bm"),wi=Ga("m"),TJ=Ga("bu"),OJ=Ga("u"),gj=Ga("bum"),WA=Ga("um"),kJ=Ga("sp"),xJ=Ga("rtg"),PJ=Ga("rtc");function RJ(t,r=Qr){vm("ec",t,r)}function vt(t,r,e,n){let i;const o=e&&e[n];if(Le(t)||cr(t)){i=new Array(t.length);for(let a=0,s=t.length;a<s;a++)i[a]=r(t[a],a,void 0,o&&o[a])}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=r(a+1,a,void 0,o&&o[a])}else if(Gt(t))if(t[Symbol.iterator])i=Array.from(t,(a,s)=>r(a,s,void 0,o&&o[s]));else{const a=Object.keys(t);i=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const g=a[s];i[s]=r(t[g],g,s,o&&o[s])}}else i=[];return e&&(e[n]=i),i}function uj(t,r){for(let e=0;e<r.length;e++){const n=r[e];if(Le(n))for(let i=0;i<n.length;i++)t[n[i].name]=n[i].fn;else n&&(t[n.name]=n.key?(...i)=>{const o=n.fn(...i);return o&&(o.key=n.key),o}:n.fn)}return t}function Xe(t,r,e={},n,i){if(vn.isCE||vn.parent&&bh(vn.parent)&&vn.parent.isCE)return r!=="default"&&(e.name=r),z("slot",e,n&&n());let o=t[r];o&&o._c&&(o._d=!1),O();const a=o&&cj(o(e)),s=ne(ye,{key:e.key||a&&a.key||`_${r}`},a||(n?n():[]),a&&t._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function cj(t){return t.some(r=>Xv(r)?!(r.type===ji||r.type===ye&&!cj(r.children)):!0)?t:null}function DJ(t,r){const e={};for(const n in t)e[r&&/[A-Z]/.test(n)?`on:${n}`:rv(n)]=t[n];return e}const Vw=t=>t?Ej(t)?ym(t)||t.proxy:Vw(t.parent):null,$h=Gr(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Vw(t.parent),$root:t=>Vw(t.root),$emit:t=>t.emit,$options:t=>t2(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,dm(t.update)}),$nextTick:t=>t.n||(t.n=wn.bind(t.proxy)),$watch:t=>pJ.bind(t)}),Sb=(t,r)=>t!==er&&!t.__isScriptSetup&&$t(t,r),NJ={get({_:t},r){const{ctx:e,setupState:n,data:i,props:o,accessCache:a,type:s,appContext:l}=t;let g;if(r[0]!=="$"){const h=a[r];if(h!==void 0)switch(h){case 1:return n[r];case 2:return i[r];case 4:return e[r];case 3:return o[r]}else{if(Sb(n,r))return a[r]=1,n[r];if(i!==er&&$t(i,r))return a[r]=2,i[r];if((g=t.propsOptions[0])&&$t(g,r))return a[r]=3,o[r];if(e!==er&&$t(e,r))return a[r]=4,e[r];Gw&&(a[r]=0)}}const u=$h[r];let c,d;if(u)return r==="$attrs"&&ei(t,"get",r),u(t);if((c=s.__cssModules)&&(c=c[r]))return c;if(e!==er&&$t(e,r))return a[r]=4,e[r];if(d=l.config.globalProperties,$t(d,r))return d[r]},set({_:t},r,e){const{data:n,setupState:i,ctx:o}=t;return Sb(i,r)?(i[r]=e,!0):n!==er&&$t(n,r)?(n[r]=e,!0):$t(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(o[r]=e,!0)},has({_:{data:t,setupState:r,accessCache:e,ctx:n,appContext:i,propsOptions:o}},a){let s;return!!e[a]||t!==er&&$t(t,a)||Sb(r,a)||(s=o[0])&&$t(s,a)||$t(n,a)||$t($h,a)||$t(i.config.globalProperties,a)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:$t(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};function dj(){return hj().slots}function MJ(){return hj().attrs}function hj(){const t=sl();return t.setupContext||(t.setupContext=Tj(t))}function Mk(t){return Le(t)?t.reduce((r,e)=>(r[e]=null,r),{}):t}let Gw=!0;function BJ(t){const r=t2(t),e=t.proxy,n=t.ctx;Gw=!1,r.beforeCreate&&Bk(r.beforeCreate,t,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:g,created:u,beforeMount:c,mounted:d,beforeUpdate:h,updated:A,activated:f,deactivated:C,beforeDestroy:I,beforeUnmount:v,destroyed:p,unmounted:m,render:b,renderTracked:S,renderTriggered:N,errorCaptured:k,serverPrefetch:_,expose:T,inheritAttrs:P,components:R,directives:L,filters:te}=r;if(g&&FJ(g,n,null),a)for(const Q in a){const Ie=a[Q];et(Ie)&&(n[Q]=Ie.bind(e))}if(i){const Q=i.call(e,e);Gt(Q)&&(t.data=Ys(Q))}if(Gw=!0,o)for(const Q in o){const Ie=o[Q],Re=et(Ie)?Ie.bind(e,e):et(Ie.get)?Ie.get.bind(e,e):Fi,We=!et(Ie)&&et(Ie.set)?Ie.set.bind(e):Fi,Fe=X({get:Re,set:We});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:me=>Fe.value=me})}if(s)for(const Q in s)Aj(s[Q],n,e,Q);if(l){const Q=et(l)?l.call(e):l;Reflect.ownKeys(Q).forEach(Ie=>{pa(Ie,Q[Ie])})}u&&Bk(u,t,"c");function V(Q,Ie){Le(Ie)?Ie.forEach(Re=>Q(Re.bind(e))):Ie&&Q(Ie.bind(e))}if(V(SJ,c),V(wi,d),V(TJ,h),V(OJ,A),V(wJ,f),V(_J,C),V(RJ,k),V(PJ,S),V(xJ,N),V(gj,v),V(WA,m),V(kJ,_),Le(T))if(T.length){const Q=t.exposed||(t.exposed={});T.forEach(Ie=>{Object.defineProperty(Q,Ie,{get:()=>e[Ie],set:Re=>e[Ie]=Re})})}else t.exposed||(t.exposed={});b&&t.render===Fi&&(t.render=b),P!=null&&(t.inheritAttrs=P),R&&(t.components=R),L&&(t.directives=L)}function FJ(t,r,e=Fi){Le(t)&&(t=Ww(t));for(const n in t){const i=t[n];let o;Gt(i)?"default"in i?o=Er(i.from||n,i.default,!0):o=Er(i.from||n):o=Er(i),ze(o)?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):r[n]=o}}function Bk(t,r,e){zi(Le(t)?t.map(n=>n.bind(r.proxy)):t.bind(r.proxy),r,e)}function Aj(t,r,e,n){const i=n.includes(".")?ij(e,n):()=>e[n];if(cr(t)){const o=r[t];et(o)&&rt(i,o)}else if(et(t))rt(i,t.bind(e));else if(Gt(t))if(Le(t))t.forEach(o=>Aj(o,r,e,n));else{const o=et(t.handler)?t.handler.bind(e):r[t.handler];et(o)&&rt(i,o,t)}}function t2(t){const r=t.type,{mixins:e,extends:n}=r,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(r);let l;return s?l=s:!i.length&&!e&&!n?l=r:(l={},i.length&&i.forEach(g=>Kv(l,g,a,!0)),Kv(l,r,a)),Gt(r)&&o.set(r,l),l}function Kv(t,r,e,n=!1){const{mixins:i,extends:o}=r;o&&Kv(t,o,e,!0),i&&i.forEach(a=>Kv(t,a,e,!0));for(const a in r)if(!(n&&a==="expose")){const s=LJ[a]||e&&e[a];t[a]=s?s(t[a],r[a]):r[a]}return t}const LJ={data:Fk,props:Lk,emits:Lk,methods:dh,computed:dh,beforeCreate:Sn,created:Sn,beforeMount:Sn,mounted:Sn,beforeUpdate:Sn,updated:Sn,beforeDestroy:Sn,beforeUnmount:Sn,destroyed:Sn,unmounted:Sn,activated:Sn,deactivated:Sn,errorCaptured:Sn,serverPrefetch:Sn,components:dh,directives:dh,watch:jJ,provide:Fk,inject:zJ};function Fk(t,r){return r?t?function(){return Gr(et(t)?t.call(this,this):t,et(r)?r.call(this,this):r)}:r:t}function zJ(t,r){return dh(Ww(t),Ww(r))}function Ww(t){if(Le(t)){const r={};for(let e=0;e<t.length;e++)r[t[e]]=t[e];return r}return t}function Sn(t,r){return t?[...new Set([].concat(t,r))]:r}function dh(t,r){return t?Gr(Object.create(null),t,r):r}function Lk(t,r){return t?Le(t)&&Le(r)?[...new Set([...t,...r])]:Gr(Object.create(null),Mk(t),Mk(r??{})):r}function jJ(t,r){if(!t)return r;if(!r)return t;const e=Gr(Object.create(null),t);for(const n in r)e[n]=Sn(t[n],r[n]);return e}function fj(){return{app:null,config:{isNativeTag:Iq,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 VJ=0;function GJ(t,r){return function(n,i=null){et(n)||(n=Gr({},n)),i!=null&&!Gt(i)&&(i=null);const o=fj(),a=new WeakSet;let s=!1;const l=o.app={_uid:VJ++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:hee,get config(){return o.config},set config(g){},use(g,...u){return a.has(g)||(g&&et(g.install)?(a.add(g),g.install(l,...u)):et(g)&&(a.add(g),g(l,...u))),l},mixin(g){return o.mixins.includes(g)||o.mixins.push(g),l},component(g,u){return u?(o.components[g]=u,l):o.components[g]},directive(g,u){return u?(o.directives[g]=u,l):o.directives[g]},mount(g,u,c){if(!s){const d=z(n,i);return d.appContext=o,c===!0?c="svg":c===!1&&(c=void 0),u&&r?r(d,g):t(d,g,c),s=!0,l._container=g,g.__vue_app__=l,ym(d.component)||d.component.proxy}},unmount(){s&&(t(null,l._container),delete l._container.__vue_app__)},provide(g,u){return o.provides[g]=u,l},runWithContext(g){Yv=l;try{return g()}finally{Yv=null}}};return l}}let Yv=null;function pa(t,r){if(Qr){let e=Qr.provides;const n=Qr.parent&&Qr.parent.provides;n===e&&(e=Qr.provides=Object.create(n)),e[t]=r}}function Er(t,r,e=!1){const n=Qr||vn;if(n||Yv){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Yv._context.provides;if(i&&t in i)return i[t];if(arguments.length>1)return e&&et(r)?r.call(n&&n.proxy):r}}function WJ(t,r,e,n=!1){const i={},o={};Vv(o,mm,1),t.propsDefaults=Object.create(null),Cj(t,r,i,o);for(const a in t.propsOptions[0])a in i||(i[a]=void 0);e?t.props=n?i:HS(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function HJ(t,r,e,n){const{props:i,attrs:o,vnode:{patchFlag:a}}=t,s=Ct(i),[l]=t.propsOptions;let g=!1;if((n||a>0)&&!(a&16)){if(a&8){const u=t.vnode.dynamicProps;for(let c=0;c<u.length;c++){let d=u[c];if(hm(t.emitsOptions,d))continue;const h=r[d];if(l)if($t(o,d))h!==o[d]&&(o[d]=h,g=!0);else{const A=qo(d);i[A]=Hw(l,s,A,h,t,!1)}else h!==o[d]&&(o[d]=h,g=!0)}}}else{Cj(t,r,i,o)&&(g=!0);let u;for(const c in s)(!r||!$t(r,c)&&((u=Bg(c))===c||!$t(r,u)))&&(l?e&&(e[c]!==void 0||e[u]!==void 0)&&(i[c]=Hw(l,s,c,void 0,t,!0)):delete i[c]);if(o!==s)for(const c in o)(!r||!$t(r,c))&&(delete o[c],g=!0)}g&&va(t,"set","$attrs")}function Cj(t,r,e,n){const[i,o]=t.propsOptions;let a=!1,s;if(r)for(let l in r){if(tv(l))continue;const g=r[l];let u;i&&$t(i,u=qo(l))?!o||!o.includes(u)?e[u]=g:(s||(s={}))[u]=g:hm(t.emitsOptions,l)||(!(l in n)||g!==n[l])&&(n[l]=g,a=!0)}if(o){const l=Ct(e),g=s||er;for(let u=0;u<o.length;u++){const c=o[u];e[c]=Hw(i,l,c,g[c],t,!$t(g,c))}}return a}function Hw(t,r,e,n,i,o){const a=t[e];if(a!=null){const s=$t(a,"default");if(s&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&et(l)){const{propsDefaults:g}=i;e in g?n=g[e]:(bc(i),n=g[e]=l.call(null,r),eg())}else n=l}a[0]&&(o&&!s?n=!1:a[1]&&(n===""||n===Bg(e))&&(n=!0))}return n}function Ij(t,r,e=!1){const n=r.propsCache,i=n.get(t);if(i)return i;const o=t.props,a={},s=[];let l=!1;if(!et(t)){const u=c=>{l=!0;const[d,h]=Ij(c,r,!0);Gr(a,d),h&&s.push(...h)};!e&&r.mixins.length&&r.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return Gt(t)&&n.set(t,nc),nc;if(Le(o))for(let u=0;u<o.length;u++){const c=qo(o[u]);zk(c)&&(a[c]=er)}else if(o)for(const u in o){const c=qo(u);if(zk(c)){const d=o[u],h=a[c]=Le(d)||et(d)?{type:d}:Gr({},d);if(h){const A=Gk(Boolean,h.type),f=Gk(String,h.type);h[0]=A>-1,h[1]=f<0||A<f,(A>-1||$t(h,"default"))&&s.push(c)}}}const g=[a,s];return Gt(t)&&n.set(t,g),g}function zk(t){return t[0]!=="$"}function jk(t){const r=t&&t.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:t===null?"null":""}function Vk(t,r){return jk(t)===jk(r)}function Gk(t,r){return Le(r)?r.findIndex(e=>Vk(e,t)):et(r)&&Vk(r,t)?0:-1}const vj=t=>t[0]==="_"||t==="$stable",r2=t=>Le(t)?t.map(xo):[xo(t)],UJ=(t,r,e)=>{if(r._n)return r;const n=G((...i)=>r2(r(...i)),e);return n._c=!1,n},pj=(t,r,e)=>{const n=t._ctx;for(const i in t){if(vj(i))continue;const o=t[i];if(et(o))r[i]=UJ(i,o,n);else if(o!=null){const a=r2(o);r[i]=()=>a}}},mj=(t,r)=>{const e=r2(r);t.slots.default=()=>e},ZJ=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=Ct(r),Vv(r,"_",e)):pj(r,t.slots={})}else t.slots={},r&&mj(t,r);Vv(t.slots,mm,1)},KJ=(t,r,e)=>{const{vnode:n,slots:i}=t;let o=!0,a=er;if(n.shapeFlag&32){const s=r._;s?e&&s===1?o=!1:(Gr(i,r),!e&&s===1&&delete i._):(o=!r.$stable,pj(r,i)),a=r}else r&&(mj(t,r),a={default:1});if(o)for(const s in i)!vj(s)&&a[s]==null&&delete i[s]};function Uw(t,r,e,n,i=!1){if(Le(t)){t.forEach((d,h)=>Uw(d,r&&(Le(r)?r[h]:r),e,n,i));return}if(bh(n)&&!i)return;const o=n.shapeFlag&4?ym(n.component)||n.component.proxy:n.el,a=i?null:o,{i:s,r:l}=t,g=r&&r.r,u=s.refs===er?s.refs={}:s.refs,c=s.setupState;if(g!=null&&g!==l&&(cr(g)?(u[g]=null,$t(c,g)&&(c[g]=null)):ze(g)&&(g.value=null)),et(l))ks(l,s,12,[a,u]);else{const d=cr(l),h=ze(l);if(d||h){const A=()=>{if(t.f){const f=d?$t(c,l)?c[l]:u[l]:l.value;i?Le(f)&&BS(f,o):Le(f)?f.includes(o)||f.push(o):d?(u[l]=[o],$t(c,l)&&(c[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else d?(u[l]=a,$t(c,l)&&(c[l]=a)):h&&(l.value=a,t.k&&(u[t.k]=a))};a?(A.id=-1,Un(A,e)):A()}}}const Un=CJ;function YJ(t){return XJ(t)}function XJ(t,r){const e=O4();e.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:g,setElementText:u,parentNode:c,nextSibling:d,setScopeId:h=Fi,insertStaticContent:A}=t,f=($,E,x,j=null,Z=null,q=null,de=void 0,re=null,oe=!!E.dynamicChildren)=>{if($===E)return;$&&!jl($,E)&&(j=H($),me($,Z,q,!0),$=null),E.patchFlag===-2&&(oe=!1,E.dynamicChildren=null);const{type:ae,ref:Ee,shapeFlag:Ue}=E;switch(ae){case pm:C($,E,x,j);break;case ji:I($,E,x,j);break;case iv:$==null&&v(E,x,j,de);break;case ye:R($,E,x,j,Z,q,de,re,oe);break;default:Ue&1?b($,E,x,j,Z,q,de,re,oe):Ue&6?L($,E,x,j,Z,q,de,re,oe):(Ue&64||Ue&128)&&ae.process($,E,x,j,Z,q,de,re,oe,M)}Ee!=null&&Z&&Uw(Ee,$&&$.ref,q,E||$,!E)},C=($,E,x,j)=>{if($==null)n(E.el=s(E.children),x,j);else{const Z=E.el=$.el;E.children!==$.children&&g(Z,E.children)}},I=($,E,x,j)=>{$==null?n(E.el=l(E.children||""),x,j):E.el=$.el},v=($,E,x,j)=>{[$.el,$.anchor]=A($.children,E,x,j,$.el,$.anchor)},p=({el:$,anchor:E},x,j)=>{let Z;for(;$&&$!==E;)Z=d($),n($,x,j),$=Z;n(E,x,j)},m=({el:$,anchor:E})=>{let x;for(;$&&$!==E;)x=d($),i($),$=x;i(E)},b=($,E,x,j,Z,q,de,re,oe)=>{E.type==="svg"?de="svg":E.type==="math"&&(de="mathml"),$==null?S(E,x,j,Z,q,de,re,oe):_($,E,Z,q,de,re,oe)},S=($,E,x,j,Z,q,de,re)=>{let oe,ae;const{props:Ee,shapeFlag:Ue,transition:Ve,dirs:tt}=$;if(oe=$.el=a($.type,q,Ee&&Ee.is,Ee),Ue&8?u(oe,$.children):Ue&16&&k($.children,oe,null,j,Z,Tb($,q),de,re),tt&&Tl($,null,j,"created"),N(oe,$,$.scopeId,de,j),Ee){for(const Lt in Ee)Lt!=="value"&&!tv(Lt)&&o(oe,Lt,null,Ee[Lt],q,$.children,j,Z,ht);"value"in Ee&&o(oe,"value",null,Ee.value,q),(ae=Ee.onVnodeBeforeMount)&&_o(ae,j,$)}tt&&Tl($,null,j,"beforeMount");const At=QJ(Z,Ve);At&&Ve.beforeEnter(oe),n(oe,E,x),((ae=Ee&&Ee.onVnodeMounted)||At||tt)&&Un(()=>{ae&&_o(ae,j,$),At&&Ve.enter(oe),tt&&Tl($,null,j,"mounted")},Z)},N=($,E,x,j,Z)=>{if(x&&h($,x),j)for(let q=0;q<j.length;q++)h($,j[q]);if(Z){let q=Z.subTree;if(E===q){const de=Z.vnode;N($,de,de.scopeId,de.slotScopeIds,Z.parent)}}},k=($,E,x,j,Z,q,de,re,oe=0)=>{for(let ae=oe;ae<$.length;ae++){const Ee=$[ae]=re?hs($[ae]):xo($[ae]);f(null,Ee,E,x,j,Z,q,de,re)}},_=($,E,x,j,Z,q,de)=>{const re=E.el=$.el;let{patchFlag:oe,dynamicChildren:ae,dirs:Ee}=E;oe|=$.patchFlag&16;const Ue=$.props||er,Ve=E.props||er;let tt;if(x&&Ol(x,!1),(tt=Ve.onVnodeBeforeUpdate)&&_o(tt,x,E,$),Ee&&Tl(E,$,x,"beforeUpdate"),x&&Ol(x,!0),ae?T($.dynamicChildren,ae,re,x,j,Tb(E,Z),q):de||Ie($,E,re,null,x,j,Tb(E,Z),q,!1),oe>0){if(oe&16)P(re,E,Ue,Ve,x,j,Z);else if(oe&2&&Ue.class!==Ve.class&&o(re,"class",null,Ve.class,Z),oe&4&&o(re,"style",Ue.style,Ve.style,Z),oe&8){const At=E.dynamicProps;for(let Lt=0;Lt<At.length;Lt++){const ir=At[Lt],Ur=Ue[ir],eo=Ve[ir];(eo!==Ur||ir==="value")&&o(re,ir,Ur,eo,Z,$.children,x,j,ht)}}oe&1&&$.children!==E.children&&u(re,E.children)}else!de&&ae==null&&P(re,E,Ue,Ve,x,j,Z);((tt=Ve.onVnodeUpdated)||Ee)&&Un(()=>{tt&&_o(tt,x,E,$),Ee&&Tl(E,$,x,"updated")},j)},T=($,E,x,j,Z,q,de)=>{for(let re=0;re<E.length;re++){const oe=$[re],ae=E[re],Ee=oe.el&&(oe.type===ye||!jl(oe,ae)||oe.shapeFlag&70)?c(oe.el):x;f(oe,ae,Ee,null,j,Z,q,de,!0)}},P=($,E,x,j,Z,q,de)=>{if(x!==j){if(x!==er)for(const re in x)!tv(re)&&!(re in j)&&o($,re,x[re],null,de,E.children,Z,q,ht);for(const re in j){if(tv(re))continue;const oe=j[re],ae=x[re];oe!==ae&&re!=="value"&&o($,re,ae,oe,de,E.children,Z,q,ht)}"value"in j&&o($,"value",x.value,j.value,de)}},R=($,E,x,j,Z,q,de,re,oe)=>{const ae=E.el=$?$.el:s(""),Ee=E.anchor=$?$.anchor:s("");let{patchFlag:Ue,dynamicChildren:Ve,slotScopeIds:tt}=E;tt&&(re=re?re.concat(tt):tt),$==null?(n(ae,x,j),n(Ee,x,j),k(E.children,x,Ee,Z,q,de,re,oe)):Ue>0&&Ue&64&&Ve&&$.dynamicChildren?(T($.dynamicChildren,Ve,x,Z,q,de,re),(E.key!=null||Z&&E===Z.subTree)&&n2($,E,!0)):Ie($,E,x,Ee,Z,q,de,re,oe)},L=($,E,x,j,Z,q,de,re,oe)=>{E.slotScopeIds=re,$==null?E.shapeFlag&512?Z.ctx.activate(E,x,j,de,oe):te(E,x,j,Z,q,de,oe):W($,E,oe)},te=($,E,x,j,Z,q,de)=>{const re=$.component=see($,j,Z);if(GA($)&&(re.ctx.renderer=M),lee(re),re.asyncDep){if(Z&&Z.registerDep(re,V),!$.el){const oe=re.subTree=z(ji);I(null,oe,E,x)}}else V(re,$,E,x,Z,q,de)},W=($,E,x)=>{const j=E.component=$.component;if(dJ($,E,x))if(j.asyncDep&&!j.asyncResolved){Q(j,E,x);return}else j.next=E,aJ(j.update),j.effect.dirty=!0,j.update();else E.el=$.el,j.vnode=E},V=($,E,x,j,Z,q,de)=>{const re=()=>{if($.isMounted){let{next:Ee,bu:Ue,u:Ve,parent:tt,vnode:At}=$;{const Au=yj($);if(Au){Ee&&(Ee.el=At.el,Q($,Ee,de)),Au.asyncDep.then(()=>{$.isUnmounted||re()});return}}let Lt=Ee,ir;Ol($,!1),Ee?(Ee.el=At.el,Q($,Ee,de)):Ee=At,Ue&&nv(Ue),(ir=Ee.props&&Ee.props.onVnodeBeforeUpdate)&&_o(ir,tt,Ee,At),Ol($,!0);const Ur=wb($),eo=$.subTree;$.subTree=Ur,f(eo,Ur,c(eo.el),H(eo),$,Z,q),Ee.el=Ur.el,Lt===null&&hJ($,Ur.el),Ve&&Un(Ve,Z),(ir=Ee.props&&Ee.props.onVnodeUpdated)&&Un(()=>_o(ir,tt,Ee,At),Z)}else{let Ee;const{el:Ue,props:Ve}=E,{bm:tt,m:At,parent:Lt}=$,ir=bh(E);if(Ol($,!1),tt&&nv(tt),!ir&&(Ee=Ve&&Ve.onVnodeBeforeMount)&&_o(Ee,Lt,E),Ol($,!0),Ue&&B){const Ur=()=>{$.subTree=wb($),B(Ue,$.subTree,$,Z,null)};ir?E.type.__asyncLoader().then(()=>!$.isUnmounted&&Ur()):Ur()}else{const Ur=$.subTree=wb($);f(null,Ur,x,j,$,Z,q),E.el=Ur.el}if(At&&Un(At,Z),!ir&&(Ee=Ve&&Ve.onVnodeMounted)){const Ur=E;Un(()=>_o(Ee,Lt,Ur),Z)}(E.shapeFlag&256||Lt&&bh(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&$.a&&Un($.a,Z),$.isMounted=!0,E=x=j=null}},oe=$.effect=new zS(re,Fi,()=>dm(ae),$.scope),ae=$.update=()=>{oe.dirty&&oe.run()};ae.id=$.uid,Ol($,!0),ae()},Q=($,E,x)=>{E.component=$;const j=$.vnode.props;$.vnode=E,$.next=null,HJ($,E.props,j,x),KJ($,E.children,x),Fg(),Pk($),Lg()},Ie=($,E,x,j,Z,q,de,re,oe=!1)=>{const ae=$&&$.children,Ee=$?$.shapeFlag:0,Ue=E.children,{patchFlag:Ve,shapeFlag:tt}=E;if(Ve>0){if(Ve&128){We(ae,Ue,x,j,Z,q,de,re,oe);return}else if(Ve&256){Re(ae,Ue,x,j,Z,q,de,re,oe);return}}tt&8?(Ee&16&&ht(ae,Z,q),Ue!==ae&&u(x,Ue)):Ee&16?tt&16?We(ae,Ue,x,j,Z,q,de,re,oe):ht(ae,Z,q,!0):(Ee&8&&u(x,""),tt&16&&k(Ue,x,j,Z,q,de,re,oe))},Re=($,E,x,j,Z,q,de,re,oe)=>{$=$||nc,E=E||nc;const ae=$.length,Ee=E.length,Ue=Math.min(ae,Ee);let Ve;for(Ve=0;Ve<Ue;Ve++){const tt=E[Ve]=oe?hs(E[Ve]):xo(E[Ve]);f($[Ve],tt,x,null,Z,q,de,re,oe)}ae>Ee?ht($,Z,q,!0,!1,Ue):k(E,x,j,Z,q,de,re,oe,Ue)},We=($,E,x,j,Z,q,de,re,oe)=>{let ae=0;const Ee=E.length;let Ue=$.length-1,Ve=Ee-1;for(;ae<=Ue&&ae<=Ve;){const tt=$[ae],At=E[ae]=oe?hs(E[ae]):xo(E[ae]);if(jl(tt,At))f(tt,At,x,null,Z,q,de,re,oe);else break;ae++}for(;ae<=Ue&&ae<=Ve;){const tt=$[Ue],At=E[Ve]=oe?hs(E[Ve]):xo(E[Ve]);if(jl(tt,At))f(tt,At,x,null,Z,q,de,re,oe);else break;Ue--,Ve--}if(ae>Ue){if(ae<=Ve){const tt=Ve+1,At=tt<Ee?E[tt].el:j;for(;ae<=Ve;)f(null,E[ae]=oe?hs(E[ae]):xo(E[ae]),x,At,Z,q,de,re,oe),ae++}}else if(ae>Ve)for(;ae<=Ue;)me($[ae],Z,q,!0),ae++;else{const tt=ae,At=ae,Lt=new Map;for(ae=At;ae<=Ve;ae++){const ci=E[ae]=oe?hs(E[ae]):xo(E[ae]);ci.key!=null&&Lt.set(ci.key,ae)}let ir,Ur=0;const eo=Ve-At+1;let Au=!1,Ik=0;const Qd=new Array(eo);for(ae=0;ae<eo;ae++)Qd[ae]=0;for(ae=tt;ae<=Ue;ae++){const ci=$[ae];if(Ur>=eo){me(ci,Z,q,!0);continue}let wo;if(ci.key!=null)wo=Lt.get(ci.key);else for(ir=At;ir<=Ve;ir++)if(Qd[ir-At]===0&&jl(ci,E[ir])){wo=ir;break}wo===void 0?me(ci,Z,q,!0):(Qd[wo-At]=ae+1,wo>=Ik?Ik=wo:Au=!0,f(ci,E[wo],x,null,Z,q,de,re,oe),Ur++)}const vk=Au?qJ(Qd):nc;for(ir=vk.length-1,ae=eo-1;ae>=0;ae--){const ci=At+ae,wo=E[ci],pk=ci+1<Ee?E[ci+1].el:j;Qd[ae]===0?f(null,wo,x,pk,Z,q,de,re,oe):Au&&(ir<0||ae!==vk[ir]?Fe(wo,x,pk,2):ir--)}}},Fe=($,E,x,j,Z=null)=>{const{el:q,type:de,transition:re,children:oe,shapeFlag:ae}=$;if(ae&6){Fe($.component.subTree,E,x,j);return}if(ae&128){$.suspense.move(E,x,j);return}if(ae&64){de.move($,E,x,M);return}if(de===ye){n(q,E,x);for(let Ue=0;Ue<oe.length;Ue++)Fe(oe[Ue],E,x,j);n($.anchor,E,x);return}if(de===iv){p($,E,x);return}if(j!==2&&ae&1&&re)if(j===0)re.beforeEnter(q),n(q,E,x),Un(()=>re.enter(q),Z);else{const{leave:Ue,delayLeave:Ve,afterLeave:tt}=re,At=()=>n(q,E,x),Lt=()=>{Ue(q,()=>{At(),tt&&tt()})};Ve?Ve(q,At,Lt):Lt()}else n(q,E,x)},me=($,E,x,j=!1,Z=!1)=>{const{type:q,props:de,ref:re,children:oe,dynamicChildren:ae,shapeFlag:Ee,patchFlag:Ue,dirs:Ve}=$;if(re!=null&&Uw(re,null,x,$,!0),Ee&256){E.ctx.deactivate($);return}const tt=Ee&1&&Ve,At=!bh($);let Lt;if(At&&(Lt=de&&de.onVnodeBeforeUnmount)&&_o(Lt,E,$),Ee&6)it($.component,x,j);else{if(Ee&128){$.suspense.unmount(x,j);return}tt&&Tl($,null,E,"beforeUnmount"),Ee&64?$.type.remove($,E,x,Z,M,j):ae&&(q!==ye||Ue>0&&Ue&64)?ht(ae,E,x,!1,!0):(q===ye&&Ue&384||!Z&&Ee&16)&&ht(oe,E,x),j&&je($)}(At&&(Lt=de&&de.onVnodeUnmounted)||tt)&&Un(()=>{Lt&&_o(Lt,E,$),tt&&Tl($,null,E,"unmounted")},x)},je=$=>{const{type:E,el:x,anchor:j,transition:Z}=$;if(E===ye){Ge(x,j);return}if(E===iv){m($);return}const q=()=>{i(x),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if($.shapeFlag&1&&Z&&!Z.persisted){const{leave:de,delayLeave:re}=Z,oe=()=>de(x,q);re?re($.el,q,oe):oe()}else q()},Ge=($,E)=>{let x;for(;$!==E;)x=d($),i($),$=x;i(E)},it=($,E,x)=>{const{bum:j,scope:Z,update:q,subTree:de,um:re}=$;j&&nv(j),Z.stop(),q&&(q.active=!1,me(de,$,E,x)),re&&Un(re,E),Un(()=>{$.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},ht=($,E,x,j=!1,Z=!1,q=0)=>{for(let de=q;de<$.length;de++)me($[de],E,x,j,Z)},H=$=>$.shapeFlag&6?H($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),ie=($,E,x)=>{$==null?E._vnode&&me(E._vnode,null,null,!0):f(E._vnode||null,$,E,null,null,null,x),Pk(),J4(),E._vnode=$},M={p:f,um:me,m:Fe,r:je,mt:te,mc:k,pc:Ie,pbc:T,n:H,o:t};let D,B;return r&&([D,B]=r(M)),{render:ie,hydrate:D,createApp:GJ(ie,D)}}function Tb({type:t,props:r},e){return e==="svg"&&t==="foreignObject"||e==="mathml"&&t==="annotation-xml"&&r&&r.encoding&&r.encoding.includes("html")?void 0:e}function Ol({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function QJ(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function n2(t,r,e=!1){const n=t.children,i=r.children;if(Le(n)&&Le(i))for(let o=0;o<n.length;o++){const a=n[o];let s=i[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[o]=hs(i[o]),s.el=a.el),e||n2(a,s)),s.type===pm&&(s.el=a.el)}}function qJ(t){const r=t.slice(),e=[0];let n,i,o,a,s;const l=t.length;for(n=0;n<l;n++){const g=t[n];if(g!==0){if(i=e[e.length-1],t[i]<g){r[n]=i,e.push(n);continue}for(o=0,a=e.length-1;o<a;)s=o+a>>1,t[e[s]]<g?o=s+1:a=s;g<t[e[o]]&&(o>0&&(r[n]=e[o-1]),e[o]=n)}}for(o=e.length,a=e[o-1];o-- >0;)e[o]=a,a=r[a];return e}function yj(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:yj(r)}const JJ=t=>t.__isTeleport,wh=t=>t&&(t.disabled||t.disabled===""),Wk=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Hk=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Zw=(t,r)=>{const e=t&&t.to;return cr(e)?r?r(e):null:e},eee={name:"Teleport",__isTeleport:!0,process(t,r,e,n,i,o,a,s,l,g){const{mc:u,pc:c,pbc:d,o:{insert:h,querySelector:A,createText:f,createComment:C}}=g,I=wh(r.props);let{shapeFlag:v,children:p,dynamicChildren:m}=r;if(t==null){const b=r.el=f(""),S=r.anchor=f("");h(b,e,n),h(S,e,n);const N=r.target=Zw(r.props,A),k=r.targetAnchor=f("");N&&(h(k,N),a==="svg"||Wk(N)?a="svg":(a==="mathml"||Hk(N))&&(a="mathml"));const _=(T,P)=>{v&16&&u(p,T,P,i,o,a,s,l)};I?_(e,S):N&&_(N,k)}else{r.el=t.el;const b=r.anchor=t.anchor,S=r.target=t.target,N=r.targetAnchor=t.targetAnchor,k=wh(t.props),_=k?e:S,T=k?b:N;if(a==="svg"||Wk(S)?a="svg":(a==="mathml"||Hk(S))&&(a="mathml"),m?(d(t.dynamicChildren,m,_,i,o,a,s),n2(t,r,!0)):l||c(t,r,_,T,i,o,a,s,!1),I)k?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):TC(r,e,b,g,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const P=r.target=Zw(r.props,A);P&&TC(r,P,null,g,0)}else k&&TC(r,S,N,g,1)}$j(r)},remove(t,r,e,n,{um:i,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:g,targetAnchor:u,target:c,props:d}=t;if(c&&o(u),a&&o(g),s&16){const h=a||!wh(d);for(let A=0;A<l.length;A++){const f=l[A];i(f,r,e,h,!!f.dynamicChildren)}}},move:TC,hydrate:tee};function TC(t,r,e,{o:{insert:n},m:i},o=2){o===0&&n(t.targetAnchor,r,e);const{el:a,anchor:s,shapeFlag:l,children:g,props:u}=t,c=o===2;if(c&&n(a,r,e),(!c||wh(u))&&l&16)for(let d=0;d<g.length;d++)i(g[d],r,e,2);c&&n(s,r,e)}function tee(t,r,e,n,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},g){const u=r.target=Zw(r.props,l);if(u){const c=u._lpa||u.firstChild;if(r.shapeFlag&16)if(wh(r.props))r.anchor=g(a(t),r,s(t),e,n,i,o),r.targetAnchor=c;else{r.anchor=a(t);let d=c;for(;d;)if(d=a(d),d&&d.nodeType===8&&d.data==="teleport anchor"){r.targetAnchor=d,u._lpa=r.targetAnchor&&a(r.targetAnchor);break}g(c,r,u,e,n,i,o)}$j(r)}return r.anchor&&a(r.anchor)}const bj=eee;function $j(t){const r=t.ctx;if(r&&r.ut){let e=t.children[0].el;for(;e&&e!==t.targetAnchor;)e.nodeType===1&&e.setAttribute("data-v-owner",r.uid),e=e.nextSibling;r.ut()}}const ye=Symbol.for("v-fgt"),pm=Symbol.for("v-txt"),ji=Symbol.for("v-cmt"),iv=Symbol.for("v-stc"),_h=[];let go=null;function O(t=!1){_h.push(go=t?null:[])}function ree(){_h.pop(),go=_h[_h.length-1]||null}let tA=1;function Uk(t){tA+=t}function wj(t){return t.dynamicChildren=tA>0?go||nc:null,ree(),tA>0&&go&&go.push(t),t}function F(t,r,e,n,i,o){return wj(w(t,r,e,n,i,o,!0))}function ne(t,r,e,n,i){return wj(z(t,r,e,n,i,!0))}function Xv(t){return t?t.__v_isVNode===!0:!1}function jl(t,r){return t.type===r.type&&t.key===r.key}const mm="__vInternal",_j=({key:t})=>t??null,ov=({ref:t,ref_key:r,ref_for:e})=>(typeof t=="number"&&(t=""+t),t!=null?cr(t)||ze(t)||et(t)?{i:vn,r:t,k:r,f:!!e}:t:null);function w(t,r=null,e=null,n=0,i=null,o=t===ye?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&_j(r),ref:r&&ov(r),scopeId:Am,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:vn};return s?(i2(l,e),o&128&&t.normalize(l)):e&&(l.shapeFlag|=cr(e)?8:16),tA>0&&!a&&go&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&go.push(l),l}const z=nee;function nee(t,r=null,e=null,n=0,i=null,o=!1){if((!t||t===nj)&&(t=ji),Xv(t)){const s=Qs(t,r,!0);return e&&i2(s,e),tA>0&&!o&&go&&(s.shapeFlag&6?go[go.indexOf(t)]=s:go.push(s)),s.patchFlag|=-2,s}if(dee(t)&&(t=t.__vccOpts),r){r=od(r);let{class:s,style:l}=r;s&&!cr(s)&&(r.class=_e(s)),Gt(l)&&(H4(l)&&!Le(l)&&(l=Gr({},l)),r.style=_r(l))}const a=cr(t)?1:fJ(t)?128:JJ(t)?64:Gt(t)?4:et(t)?2:0;return w(t,r,e,n,i,a,o,!0)}function od(t){return t?H4(t)||mm in t?Gr({},t):t:null}function Qs(t,r,e=!1){const{props:n,ref:i,patchFlag:o,children:a}=t,s=r?yn(n||{},r):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&_j(s),ref:r&&r.ref?e&&i?Le(i)?i.concat(ov(r)):[i,ov(r)]:ov(r):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==ye?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Qs(t.ssContent),ssFallback:t.ssFallback&&Qs(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ke(t=" ",r=0){return z(pm,null,t,r)}function iee(t,r){const e=z(iv,null,t);return e.staticCount=r,e}function be(t="",r=!1){return r?(O(),ne(ji,null,t)):z(ji,null,t)}function xo(t){return t==null||typeof t=="boolean"?z(ji):Le(t)?z(ye,null,t.slice()):typeof t=="object"?hs(t):z(pm,null,String(t))}function hs(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qs(t)}function i2(t,r){let e=0;const{shapeFlag:n}=t;if(r==null)r=null;else if(Le(r))e=16;else if(typeof r=="object")if(n&65){const i=r.default;i&&(i._c&&(i._d=!1),i2(t,i()),i._c&&(i._d=!0));return}else{e=32;const i=r._;!i&&!(mm in r)?r._ctx=vn:i===3&&vn&&(vn.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else et(r)?(r={default:r,_ctx:vn},e=32):(r=String(r),n&64?(e=16,r=[ke(r)]):e=8);t.children=r,t.shapeFlag|=e}function yn(...t){const r={};for(let e=0;e<t.length;e++){const n=t[e];for(const i in n)if(i==="class")r.class!==n.class&&(r.class=_e([r.class,n.class]));else if(i==="style")r.style=_r([r.style,n.style]);else if(lm(i)){const o=r[i],a=n[i];a&&o!==a&&!(Le(o)&&o.includes(a))&&(r[i]=o?[].concat(o,a):a)}else i!==""&&(r[i]=n[i])}return r}function _o(t,r,e,n=null){zi(t,r,7,[e,n])}const oee=fj();let aee=0;function see(t,r,e){const n=t.type,i=(r?r.appContext:t.appContext)||oee,o={uid:aee++,vnode:t,type:n,parent:r,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new kq(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:r?r.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ij(n,i),emitsOptions:tj(n,i),emit:null,emitted:null,propsDefaults:er,inheritAttrs:n.inheritAttrs,ctx:er,data:er,props:er,attrs:er,slots:er,refs:er,setupState:er,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:e,suspenseId:e?e.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=r?r.root:o,o.emit=gJ.bind(null,o),t.ce&&t.ce(o),o}let Qr=null;const sl=()=>Qr||vn;let o2,Kw;{const t=O4(),r=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};o2=r("__VUE_INSTANCE_SETTERS__",e=>Qr=e),Kw=r("__VUE_SSR_SETTERS__",e=>HA=e)}const bc=t=>{o2(t),t.scope.on()},eg=()=>{Qr&&Qr.scope.off(),o2(null)};function Ej(t){return t.vnode.shapeFlag&4}let HA=!1;function lee(t,r=!1){r&&Kw(r);const{props:e,children:n}=t.vnode,i=Ej(t);WJ(t,e,i,r),ZJ(t,n);const o=i?gee(t,r):void 0;return r&&Kw(!1),o}function gee(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=ZS(new Proxy(t.ctx,NJ));const{setup:n}=e;if(n){const i=t.setupContext=n.length>1?Tj(t):null;bc(t),Fg();const o=ks(n,t,0,[t.props,i]);if(Lg(),eg(),E4(o)){if(o.then(eg,eg),r)return o.then(a=>{Zk(t,a,r)}).catch(a=>{VA(a,t,0)});t.asyncDep=o}else Zk(t,o,r)}else Sj(t,r)}function Zk(t,r,e){et(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:Gt(r)&&(t.setupState=K4(r)),Sj(t,e)}let Kk;function Sj(t,r,e){const n=t.type;if(!t.render){if(!r&&Kk&&!n.render){const i=n.template||t2(t).template;if(i){const{isCustomElement:o,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:l}=n,g=Gr(Gr({isCustomElement:o,delimiters:s},a),l);n.render=Kk(i,g)}}t.render=n.render||Fi}{bc(t),Fg();try{BJ(t)}finally{Lg(),eg()}}}function uee(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,e){return ei(t,"get","$attrs"),r[e]}}))}function Tj(t){const r=e=>{t.exposed=e||{}};return{get attrs(){return uee(t)},slots:t.slots,emit:t.emit,expose:r}}function ym(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(K4(ZS(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in $h)return $h[e](t)},has(r,e){return e in r||e in $h}}))}function cee(t,r=!0){return et(t)?t.displayName||t.name:t.name||r&&t.__name}function dee(t){return et(t)&&"__vccOpts"in t}const X=(t,r)=>qq(t,r,HA);function ad(t,r,e){const n=arguments.length;return n===2?Gt(r)&&!Le(r)?Xv(r)?z(t,null,[r]):z(t,r):z(t,null,r):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&Xv(e)&&(e=[e]),z(t,r,e))}const hee="3.4.4",Aee="http://www.w3.org/2000/svg",fee="http://www.w3.org/1998/Math/MathML",As=typeof document<"u"?document:null,Yk=As&&As.createElement("template"),Cee={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,n)=>{const i=r==="svg"?As.createElementNS(Aee,t):r==="mathml"?As.createElementNS(fee,t):As.createElement(t,e?{is:e}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>As.createTextNode(t),createComment:t=>As.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>As.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,n,i,o){const a=e?e.previousSibling:r.lastChild;if(i&&(i===o||i.nextSibling))for(;r.insertBefore(i.cloneNode(!0),e),!(i===o||!(i=i.nextSibling)););else{Yk.innerHTML=n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t;const s=Yk.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}r.insertBefore(s,e)}return[a?a.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}},qa="transition",qd="animation",rA=Symbol("_vtc"),UA=(t,{slots:r})=>ad(bJ,Iee(t),r);UA.displayName="Transition";const Oj={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};UA.props=Gr({},oj,Oj);const kl=(t,r=[])=>{Le(t)?t.forEach(e=>e(...r)):t&&t(...r)},Xk=t=>t?Le(t)?t.some(r=>r.length>1):t.length>1:!1;function Iee(t){const r={};for(const R in t)R in Oj||(r[R]=t[R]);if(t.css===!1)return r;const{name:e="v",type:n,duration:i,enterFromClass:o=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:s=`${e}-enter-to`,appearFromClass:l=o,appearActiveClass:g=a,appearToClass:u=s,leaveFromClass:c=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:h=`${e}-leave-to`}=t,A=vee(i),f=A&&A[0],C=A&&A[1],{onBeforeEnter:I,onEnter:v,onEnterCancelled:p,onLeave:m,onLeaveCancelled:b,onBeforeAppear:S=I,onAppear:N=v,onAppearCancelled:k=p}=r,_=(R,L,te)=>{xl(R,L?u:s),xl(R,L?g:a),te&&te()},T=(R,L)=>{R._isLeaving=!1,xl(R,c),xl(R,h),xl(R,d),L&&L()},P=R=>(L,te)=>{const W=R?N:v,V=()=>_(L,R,te);kl(W,[L,V]),Qk(()=>{xl(L,R?l:o),Ja(L,R?u:s),Xk(W)||qk(L,n,f,V)})};return Gr(r,{onBeforeEnter(R){kl(I,[R]),Ja(R,o),Ja(R,a)},onBeforeAppear(R){kl(S,[R]),Ja(R,l),Ja(R,g)},onEnter:P(!1),onAppear:P(!0),onLeave(R,L){R._isLeaving=!0;const te=()=>T(R,L);Ja(R,c),yee(),Ja(R,d),Qk(()=>{R._isLeaving&&(xl(R,c),Ja(R,h),Xk(m)||qk(R,n,C,te))}),kl(m,[R,te])},onEnterCancelled(R){_(R,!1),kl(p,[R])},onAppearCancelled(R){_(R,!0),kl(k,[R])},onLeaveCancelled(R){T(R),kl(b,[R])}})}function vee(t){if(t==null)return null;if(Gt(t))return[Ob(t.enter),Ob(t.leave)];{const r=Ob(t);return[r,r]}}function Ob(t){return bq(t)}function Ja(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[rA]||(t[rA]=new Set)).add(r)}function xl(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const e=t[rA];e&&(e.delete(r),e.size||(t[rA]=void 0))}function Qk(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let pee=0;function qk(t,r,e,n){const i=t._endId=++pee,o=()=>{i===t._endId&&n()};if(e)return setTimeout(o,e);const{type:a,timeout:s,propCount:l}=mee(t,r);if(!a)return n();const g=a+"end";let u=0;const c=()=>{t.removeEventListener(g,d),o()},d=h=>{h.target===t&&++u>=l&&c()};setTimeout(()=>{u<l&&c()},s+1),t.addEventListener(g,d)}function mee(t,r){const e=window.getComputedStyle(t),n=A=>(e[A]||"").split(", "),i=n(`${qa}Delay`),o=n(`${qa}Duration`),a=Jk(i,o),s=n(`${qd}Delay`),l=n(`${qd}Duration`),g=Jk(s,l);let u=null,c=0,d=0;r===qa?a>0&&(u=qa,c=a,d=o.length):r===qd?g>0&&(u=qd,c=g,d=l.length):(c=Math.max(a,g),u=c>0?a>g?qa:qd:null,d=u?u===qa?o.length:l.length:0);const h=u===qa&&/\b(transform|all)(,|$)/.test(n(`${qa}Property`).toString());return{type:u,timeout:c,propCount:d,hasTransform:h}}function Jk(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((e,n)=>ex(e)+ex(t[n])))}function ex(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function yee(){return document.body.offsetHeight}function bee(t,r,e){const n=t[rA];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const $ee=Symbol("_vod"),wee=Symbol("");function _ee(t,r,e){const n=t.style,i=cr(e);if(e&&!i){if(r&&!cr(r))for(const o in r)e[o]==null&&Yw(n,o,"");for(const o in e)Yw(n,o,e[o])}else{const o=n.display;if(i){if(r!==e){const a=n[wee];a&&(e+=";"+a),n.cssText=e}}else r&&t.removeAttribute("style");$ee in t&&(n.display=o)}}const tx=/\s*!important$/;function Yw(t,r,e){if(Le(e))e.forEach(n=>Yw(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Eee(t,r);tx.test(e)?t.setProperty(Bg(n),e.replace(tx,""),"important"):t[n]=e}}const rx=["Webkit","Moz","ms"],kb={};function Eee(t,r){const e=kb[r];if(e)return e;let n=qo(r);if(n!=="filter"&&n in t)return kb[r]=n;n=um(n);for(let i=0;i<rx.length;i++){const o=rx[i]+n;if(o in t)return kb[r]=o}return r}const nx="http://www.w3.org/1999/xlink";function See(t,r,e,n,i){if(n&&r.startsWith("xlink:"))e==null?t.removeAttributeNS(nx,r.slice(6,r.length)):t.setAttributeNS(nx,r,e);else{const o=Tq(r);e==null||o&&!k4(e)?t.removeAttribute(r):t.setAttribute(r,o?"":e)}}function Tee(t,r,e,n,i,o,a){if(r==="innerHTML"||r==="textContent"){n&&a(n,i,o),t[r]=e??"";return}const s=t.tagName;if(r==="value"&&s!=="PROGRESS"&&!s.includes("-")){t._value=e;const g=s==="OPTION"?t.getAttribute("value"):t.value,u=e??"";g!==u&&(t.value=u),e==null&&t.removeAttribute(r);return}let l=!1;if(e===""||e==null){const g=typeof t[r];g==="boolean"?e=k4(e):e==null&&g==="string"?(e="",l=!0):g==="number"&&(e=0,l=!0)}try{t[r]=e}catch{}l&&t.removeAttribute(r)}function Ca(t,r,e,n){t.addEventListener(r,e,n)}function Oee(t,r,e,n){t.removeEventListener(r,e,n)}const ix=Symbol("_vei");function kee(t,r,e,n,i=null){const o=t[ix]||(t[ix]={}),a=o[r];if(n&&a)a.value=n;else{const[s,l]=xee(r);if(n){const g=o[r]=Dee(n,i);Ca(t,s,g,l)}else a&&(Oee(t,s,a,l),o[r]=void 0)}}const ox=/(?:Once|Passive|Capture)$/;function xee(t){let r;if(ox.test(t)){r={};let n;for(;n=t.match(ox);)t=t.slice(0,t.length-n[0].length),r[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Bg(t.slice(2)),r]}let xb=0;const Pee=Promise.resolve(),Ree=()=>xb||(Pee.then(()=>xb=0),xb=Date.now());function Dee(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;zi(Nee(n,e.value),r,5,[n])};return e.value=t,e.attached=Ree(),e}function Nee(t,r){if(Le(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(n=>i=>!i._stopped&&n&&n(i))}else return r}const ax=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Mee=(t,r,e,n,i,o,a,s,l)=>{const g=i==="svg";r==="class"?bee(t,n,g):r==="style"?_ee(t,e,n):lm(r)?MS(r)||kee(t,r,e,n,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Bee(t,r,n,g))?Tee(t,r,n,o,a,s,l):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),See(t,r,n,g))};function Bee(t,r,e,n){if(n)return!!(r==="innerHTML"||r==="textContent"||r in t&&ax(r)&&et(e));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ax(r)&&cr(e)?!1:r in t}const qs=t=>{const r=t.props["onUpdate:modelValue"]||!1;return Le(r)?e=>nv(r,e):r};function Fee(t){t.target.composing=!0}function sx(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const Vi=Symbol("_assign"),lx={created(t,{modifiers:{lazy:r,trim:e,number:n}},i){t[Vi]=qs(i);const o=n||i.props&&i.props.type==="number";Ca(t,r?"change":"input",a=>{if(a.target.composing)return;let s=t.value;e&&(s=s.trim()),o&&(s=Gv(s)),t[Vi](s)}),e&&Ca(t,"change",()=>{t.value=t.value.trim()}),r||(Ca(t,"compositionstart",Fee),Ca(t,"compositionend",sx),Ca(t,"change",sx))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,modifiers:{lazy:e,trim:n,number:i}},o){if(t[Vi]=qs(o),t.composing)return;const a=i||t.type==="number"?Gv(t.value):t.value,s=r??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(e||n&&t.value.trim()===s)||(t.value=s))}},Lee={deep:!0,created(t,r,e){t[Vi]=qs(e),Ca(t,"change",()=>{const n=t._modelValue,i=$c(t),o=t.checked,a=t[Vi];if(Le(n)){const s=LS(n,i),l=s!==-1;if(o&&!l)a(n.concat(i));else if(!o&&l){const g=[...n];g.splice(s,1),a(g)}}else if(id(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(kj(t,o))})},mounted:gx,beforeUpdate(t,r,e){t[Vi]=qs(e),gx(t,r,e)}};function gx(t,{value:r,oldValue:e},n){t._modelValue=r,Le(r)?t.checked=LS(r,n.props.value)>-1:id(r)?t.checked=r.has(n.props.value):r!==e&&(t.checked=pg(r,kj(t,!0)))}const zee={created(t,{value:r},e){t.checked=pg(r,e.props.value),t[Vi]=qs(e),Ca(t,"change",()=>{t[Vi]($c(t))})},beforeUpdate(t,{value:r,oldValue:e},n){t[Vi]=qs(n),r!==e&&(t.checked=pg(r,n.props.value))}},jee={deep:!0,created(t,{value:r,modifiers:{number:e}},n){const i=id(r);Ca(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?Gv($c(a)):$c(a));t[Vi](t.multiple?i?new Set(o):o:o[0])}),t[Vi]=qs(n)},mounted(t,{value:r}){ux(t,r)},beforeUpdate(t,r,e){t[Vi]=qs(e)},updated(t,{value:r}){ux(t,r)}};function ux(t,r){const e=t.multiple;if(!(e&&!Le(r)&&!id(r))){for(let n=0,i=t.options.length;n<i;n++){const o=t.options[n],a=$c(o);if(e)Le(r)?o.selected=LS(r,a)>-1:o.selected=r.has(a);else if(pg($c(o),r)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!e&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function $c(t){return"_value"in t?t._value:t.value}function kj(t,r){const e=r?"_trueValue":"_falseValue";return e in t?t[e]:r}const Vee={created(t,r,e){OC(t,r,e,null,"created")},mounted(t,r,e){OC(t,r,e,null,"mounted")},beforeUpdate(t,r,e,n){OC(t,r,e,n,"beforeUpdate")},updated(t,r,e,n){OC(t,r,e,n,"updated")}};function Gee(t,r){switch(t){case"SELECT":return jee;case"TEXTAREA":return lx;default:switch(r){case"checkbox":return Lee;case"radio":return zee;default:return lx}}}function OC(t,r,e,n,i){const a=Gee(t.tagName,e.props&&e.props.type)[i];a&&a(t,r,e,n)}const Wee=["ctrl","shift","alt","meta"],Hee={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>Wee.some(e=>t[`${e}Key`]&&!r.includes(e))},$n=(t,r)=>{const e=t._withMods||(t._withMods={}),n=r.join(".");return e[n]||(e[n]=(i,...o)=>{for(let a=0;a<r.length;a++){const s=Hee[r[a]];if(s&&s(i,r))return}return t(i,...o)})},Uee={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},xj=(t,r)=>{const e=t._withKeys||(t._withKeys={}),n=r.join(".");return e[n]||(e[n]=i=>{if(!("key"in i))return;const o=Bg(i.key);if(r.some(a=>a===o||Uee[a]===o))return t(i)})},Zee=Gr({patchProp:Mee},Cee);let cx;function Pj(){return cx||(cx=YJ(Zee))}const dx=(...t)=>{Pj().render(...t)},a2=(...t)=>{const r=Pj().createApp(...t),{mount:e}=r;return r.mount=n=>{const i=Yee(n);if(!i)return;const o=r._component;!et(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=e(i,!1,Kee(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},r};function Kee(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Yee(t){return cr(t)?document.querySelector(t):t}var Xee=Object.create,Rj=Object.defineProperty,Qee=Object.getOwnPropertyDescriptor,s2=Object.getOwnPropertyNames,qee=Object.getPrototypeOf,Jee=Object.prototype.hasOwnProperty,ete=(t,r)=>function(){return t&&(r=(0,t[s2(t)[0]])(t=0)),r},Dj=(t,r)=>function(){return r||(0,t[s2(t)[0]])((r={exports:{}}).exports,r),r.exports},tte=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of s2(r))!Jee.call(t,i)&&i!==e&&Rj(t,i,{get:()=>r[i],enumerable:!(n=Qee(r,i))||n.enumerable});return t},rte=(t,r,e)=>(e=t!=null?Xee(qee(t)):{},tte(r||!t||!t.__esModule?Rj(e,"default",{value:t,enumerable:!0}):e,t)),nt=ete({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),nte=Dj({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(t,r){nt(),function(e){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},i=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),g=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),c=function(C,I){var v="-",p="",m="",b=!0,S={},N,k,_,T,P,R,L,te,W,V,Q,Ie,Re,We,Fe="";if(typeof C!="string")return"";if(typeof I=="string"&&(v=I),L=s.en,te=a.en,typeof I=="object"){N=I.maintainCase||!1,S=I.custom&&typeof I.custom=="object"?I.custom:S,_=+I.truncate>1&&I.truncate||!1,T=I.uric||!1,P=I.uricNoSlash||!1,R=I.mark||!1,b=!(I.symbols===!1||I.lang===!1),v=I.separator||v,T&&(Fe+=l),P&&(Fe+=g),R&&(Fe+=u),L=I.lang&&s[I.lang]&&b?s[I.lang]:b?s.en:{},te=I.lang&&a[I.lang]?a[I.lang]:I.lang===!1||I.lang===!0?{}:a.en,I.titleCase&&typeof I.titleCase.length=="number"&&Array.prototype.toString.call(I.titleCase)?(I.titleCase.forEach(function(me){S[me+""]=me+""}),k=!0):k=!!I.titleCase,I.custom&&typeof I.custom.length=="number"&&Array.prototype.toString.call(I.custom)&&I.custom.forEach(function(me){S[me+""]=me+""}),Object.keys(S).forEach(function(me){var je;me.length>1?je=new RegExp("\\b"+h(me)+"\\b","gi"):je=new RegExp(h(me),"gi"),C=C.replace(je,S[me])});for(Q in S)Fe+=Q}for(Fe+=v,Fe=h(Fe),C=C.replace(/(^\s+|\s+$)/g,""),Re=!1,We=!1,V=0,Ie=C.length;V<Ie;V++)Q=C[V],A(Q,S)?Re=!1:te[Q]?(Q=Re&&te[Q].match(/[A-Za-z0-9]/)?" "+te[Q]:te[Q],Re=!1):Q in n?(V+1<Ie&&i.indexOf(C[V+1])>=0?(m+=Q,Q=""):We===!0?(Q=o[m]+n[Q],m=""):Q=Re&&n[Q].match(/[A-Za-z0-9]/)?" "+n[Q]:n[Q],Re=!1,We=!1):Q in o?(m+=Q,Q="",V===Ie-1&&(Q=o[m]),We=!0):L[Q]&&!(T&&l.indexOf(Q)!==-1)&&!(P&&g.indexOf(Q)!==-1)?(Q=Re||p.substr(-1).match(/[A-Za-z0-9]/)?v+L[Q]:L[Q],Q+=C[V+1]!==void 0&&C[V+1].match(/[A-Za-z0-9]/)?v:"",Re=!0):(We===!0?(Q=o[m]+Q,m="",We=!1):Re&&(/[A-Za-z0-9]/.test(Q)||p.substr(-1).match(/A-Za-z0-9]/))&&(Q=" "+Q),Re=!1),p+=Q.replace(new RegExp("[^\\w\\s"+Fe+"_-]","g"),v);return k&&(p=p.replace(/(\w)(\S*)/g,function(me,je,Ge){var it=je.toUpperCase()+(Ge!==null?Ge:"");return Object.keys(S).indexOf(it.toLowerCase())<0?it:it.toLowerCase()})),p=p.replace(/\s+/g,v).replace(new RegExp("\\"+v+"+","g"),v).replace(new RegExp("(^\\"+v+"+|\\"+v+"+$)","g"),""),_&&p.length>_&&(W=p.charAt(_)===v,p=p.slice(0,_),W||(p=p.slice(0,p.lastIndexOf(v)))),!N&&!k&&(p=p.toLowerCase()),p},d=function(C){return function(v){return c(v,C)}},h=function(C){return C.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},A=function(f,C){for(var I in C)if(C[I]===f)return!0};if(typeof r<"u"&&r.exports)r.exports=c,r.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=c,e.createSlug=d}catch{}}(t)}}),ite=Dj({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,r){nt(),r.exports=nte()}});nt();nt();nt();nt();nt();nt();var hx,Ax,vi=(Ax=(hx=qe).__VUE_DEVTOOLS_HOOK)!=null?Ax:hx.__VUE_DEVTOOLS_HOOK=_4(),ote={vueAppInit(t){vi.hook(jr.APP_INIT,t)},vueAppConnected(t){vi.hook(jr.APP_CONNECTED,t)},componentAdded(t){return vi.hook(jr.COMPONENT_ADDED,t)},componentUpdated(t){return vi.hook(jr.COMPONENT_UPDATED,t)},componentRemoved(t){return vi.hook(jr.COMPONENT_REMOVED,t)},setupDevtoolsPlugin(t){vi.hook(jr.SETUP_DEVTOOLS_PLUGIN,t)}};function fx(){return{id:"vue-devtools-next",enabled:!1,appRecords:[],apps:{},events:new Map,on(t,r){var e;return this.events.has(t)||this.events.set(t,[]),(e=this.events.get(t))==null||e.push(r),()=>this.off(t,r)},once(t,r){const e=(...n)=>{this.off(t,e),r(...n)};return this.on(t,e),[t,e]},off(t,r){if(this.events.has(t)){const e=this.events.get(t),n=e.indexOf(r);n!==-1&&e.splice(n,1)}},emit(t,...r){this.events.has(t)&&this.events.get(t).forEach(e=>e(...r))}}}function ate(){const t=qe.__VUE_DEVTOOLS_GLOBAL_HOOK__;t.on(jr.APP_INIT,(r,e)=>{var n,i,o;(o=(i=(n=r?._instance)==null?void 0:n.type)==null?void 0:i.devtools)!=null&&o.hide||vi.callHook(jr.APP_INIT,r,e)}),t.on(jr.COMPONENT_ADDED,async(r,e,n,i)=>{var o,a,s;(s=(a=(o=r?._instance)==null?void 0:o.type)==null?void 0:a.devtools)!=null&&s.hide||!r||typeof e!="number"&&!e||!i||vi.callHook(jr.COMPONENT_ADDED,r,e,n,i)}),t.on(jr.COMPONENT_UPDATED,(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||vi.callHook(jr.COMPONENT_UPDATED,r,e,n,i)}),t.on(jr.COMPONENT_REMOVED,async(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||vi.callHook(jr.COMPONENT_REMOVED,r,e,n,i)}),t.on(jr.SETUP_DEVTOOLS_PLUGIN,(r,e)=>{vi.callHook(jr.SETUP_DEVTOOLS_PLUGIN,r,e)})}var tg={on:ote},wc="__VUE_DEVTOOLS_ROUTER_INFO__",Qv="__VUE_DEVTOOLS_ROUTER__",Cx,Ix;(Ix=(Cx=qe)[wc])!=null||(Cx[wc]={currentRoute:null,routes:[],router:null});var vx,px;(px=(vx=qe)[Qv])!=null||(vx[Qv]=null);var ste=new Proxy(qe[wc],{get(t,r){return qe[wc][r]}});function lte(t){const r=n=>{const i=new Map;return(n?.getRoutes()||[]).filter(o=>!i.has(o.path)&&i.set(o.path,1))};function e(){var n;const i=(n=t.app)==null?void 0:n.config.globalProperties.$router,o=i?.currentRoute.value,a=r(i).map(l=>{const{path:g,name:u,children:c}=l;return{path:g,name:u,children:c}}),s=console.warn;console.warn=()=>{},qe[wc]={currentRoute:o?mc(o):{},routes:mc(a)},qe[Qv]=i,console.warn=s}e(),tg.on.componentUpdated(Qh(()=>{e(),zt.callHook("router-info:updated",qe[wc])},200))}function gte(t){return t.replace(/\D/g,"")||"0"}var fs="__VUE_DEVTOOLS_GLOBAL_STATE__",Mo="__VUE_DEVTOOLS_CONTEXT__",Nj={appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]},mx,yx;(yx=(mx=qe)[fs])!=null||(mx[fs]={connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null});var bx,$x;($x=(bx=qe)[Mo])!=null||(bx[Mo]=mc(Nj));var ute=Qh((t,r)=>{zt.callHook("devtools:state-updated",t,r)},80),cte=Qh((t,r)=>{zt.callHook("devtools:connected-updated",t,r)},80),jt=new Proxy(qe[fs],{get(t,r){return qe[fs][r]},set(t,r,e){var n;const i={...qe[fs]};return t[r]=e,qe[fs][r]=e,r==="activeAppRecord"&&(qe[Mo].appRecord=e,qe[Mo].api=e.api,qe[Mo].inspector=(n=e.inspector)!=null?n:[],lte(e),qe[Mo].routerInfo=ste),ute(qe[fs],i),["connected","clientConnected"].includes(r.toString())&&i[r]!==e&&cte(qe[fs],i),!0},deleteProperty(t,r){return delete t[r],!0}});Object.defineProperty(jt.tabs,"push",{configurable:!0,value(...t){const r=Array.prototype.push.apply(this,t);return jt.tabs=this,zt.callHook("custom-tabs:updated",this),r}});["push","splice"].forEach(t=>{Object.defineProperty(jt.commands,t,{configurable:!0,value(...r){const e=Array.prototype[t].apply(this,r);return jt.commands=this,zt.callHook("custom-commands:updated",this),e}})});var fr=new Proxy(qe[Mo],{get(t,r){return r==="router"?qe[Qv]:r==="clear"?dte:qe[Mo][r]},set(t,r,e){return r==="componentPluginHookBuffer"&&(qe[Mo][r]=e),!0}});function dte(){qe[Mo]=mc(Nj)}nt();nt();nt();nt();var hte=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),wx=/^\[native Symbol Symbol\((.*)\)\]$/,Ate=/^\[object (\w+)]$/,qv=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,fte=/^(?:function|class) (\w+)/,_x=1e4,Ex=5e3,ZA="__vue_devtool_undefined__",bm="__vue_devtool_infinity__",$m="__vue_devtool_negative_infinity__",wm="__vue_devtool_nan__",Cte={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};nt();function Ite(t){return t._&&Object.keys(t._).includes("vnode")}function Mj(t){return Object.prototype.toString.call(t)==="[object Object]"}function vte(t){if(t==null)return!0;const r=typeof t;return r==="string"||r==="number"||r==="boolean"}function Bj(t){return!!t.__v_isRef}function pte(t){return Bj(t)&&!!t.effect}function mte(t){return!!t.__v_isReactive}function yte(t){return!!t.__v_isReadonly}nt();function bte(t){return t===null?"null":t===ZA?"undefined":t===wm?"NaN":t===bm?"Infinity":t===$m?"-Infinity":!1}function Fj(t){if(Array.isArray(t))return t.map(e=>Fj(e)).join(" or ");if(t==null)return"null";const r=t.toString().match(fte);return typeof t=="function"&&r&&r[1]||"any"}function $te(t){return!vte(t)&&!Array.isArray(t)&&!Mj(t)?Object.prototype.toString.call(t):t}function Lj(t){return{ref:Bj(t),computed:pte(t),reactive:mte(t),readonly:yte(t)}}function zj(t){return t?.__v_raw?t.__v_raw:t}function hh(t){return t.replace(/[<>"&]/g,r=>Cte[r]||r)}function _m(t,r=!0){const e=typeof t;if(t==null||t===ZA)return"null";if(e==="boolean"||e==="number"||t===bm||t===$m||t===wm)return"literal";if(t?._custom)return r||t._custom.display!=null||t._custom.displayText!=null?"custom":_m(t._custom.value);if(typeof t=="string"){const n=qv.exec(t);if(n){const[,i]=n;return`native ${i}`}else return"string"}else return Array.isArray(t)||t?._isArray?"array":Mj(t)?"plain-object":"unknown"}function wte(t,r=!1){var e,n;let i;const o=_m(t,!1);if(o!=="custom"&&t?._custom&&(t=t._custom.value),i=bte(t))return i;if(o==="custom")return(e=t._custom.displayText)!=null?e:t._custom.display;if(o==="array")return`Array[${t.length}]`;if(o==="plain-object")return`Object${Object.keys(t).length?"":" (empty)"}`;if(o?.includes("native"))return hh((n=qv.exec(t))==null?void 0:n[2]);if(typeof t=="string"){const a=t.match(Ate);a?t=hh(a[1]):r?t=`<span>"</span>${hh(t)}<span>"</span>`:t=hh(t),t=t.replace(/ /g,"&nbsp;").replace(/\n/g,"<span>\\n</span>")}return t}function jj(t){var r,e;const n=_m(t)==="custom";let i={};if(n){const o=t;i=((r=o._custom)==null?void 0:r.fields)||{},t=(e=o._custom)==null?void 0:e.value}return t&&t._isArray&&(t=t.items),{value:t,inherit:i}}nt();nt();nt();function _te(t){return t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name}function Vj(t){const r=t.__file;if(r)return $4(oq(r,".vue"))}function Ete(t){const r=t.displayName||t.name||t._componentTag;return r||Vj(t)}function Sx(t,r){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=r,r}function ac(t){if(t.__VUE_DEVTOOLS_APP_RECORD__)return t.__VUE_DEVTOOLS_APP_RECORD__;if(t.root)return t.appContext.app.__VUE_DEVTOOLS_APP_RECORD__}async function av(t){const{app:r,uid:e,instance:n}=t;try{if(n.__VUE_DEVTOOLS_UID__)return n.__VUE_DEVTOOLS_UID__;const i=await ac(r);if(!i)return null;const o=i.rootInstance===n;return`${i.id}:${o?"root":e}`}catch{}}function l2(t){var r;return((r=t.subTree)==null?void 0:r.type)===ye}function Pb(t){return t._isBeingDestroyed||t.isUnmounted}function zg(t){var r,e,n;const i=_te(t.type||{});if(i)return i;if(t.root===t)return"Root";for(const a in(e=(r=t.parent)==null?void 0:r.type)==null?void 0:e.components)if(t.parent.type.components[a]===t.type)return Sx(t,a);for(const a in(n=t.appContext)==null?void 0:n.components)if(t.appContext.components[a]===t.type)return Sx(t,a);const o=Vj(t.type||{});return o||"Anonymous Component"}function Gj(t){var r,e,n;const i=(n=(e=(r=t?.appContext)==null?void 0:r.app)==null?void 0:e.__VUE_DEVTOOLS_APP_RECORD_ID__)!=null?n:0,o=t===t.root?"root":t.uid;return`${i}:${o}`}function Ste(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function ll(t){try{return t()}catch(r){return r}}function _c(t,r){return r=r||`${t.id}:root`,t.instanceMap.get(r)||t.instanceMap.get(":root")}nt();function Jv(t,r,e){if(typeof r=="function"&&(r=r.options),!r)return t;const{mixins:n,extends:i}=r;i&&Jv(t,i),n&&n.forEach(o=>Jv(t,o));for(const o of["computed","inject"])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]?Object.assign(t[o],r[o]):t[o]=r[o]);return t}function Tte(t){const r=t.type,{mixins:e,extends:n}=r,i=t.appContext.mixins;if(!i.length&&!e&&!n)return r;const o={};return i.forEach(a=>Jv(o,a)),Jv(o,r),o}function Ote(t){const r=[],e=t.type.props;for(const n in t.props){const i=e?e[n]:null,o=nq(n);r.push({type:"props",key:o,value:ll(()=>t.props[n]),meta:i?{type:i.type?Fj(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return r}function kte(t){const r=t.type,e=r.props,n=r.vuex&&r.vuex.getters,i=r.computed,o={...t.data,...t.renderContext};return Object.keys(o).filter(a=>!(e&&a in e)&&!(n&&a in n)&&!(i&&a in i)).map(a=>({key:a,type:"data",value:ll(()=>o[a]),editable:!0}))}function xte(t){const r=t.computed?"computed":t.ref?"ref":t.reactive?"reactive":null,e=r?`${r.charAt(0).toUpperCase()}${r.slice(1)}`:null;return{stateType:r,stateTypeName:e}}function Pte(t){const r=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(e=>!hte.has(e)&&e.split(/(?=[A-Z])/)[0]!=="use").map(e=>{var n,i,o,a;const s=ll(()=>zj(t.setupState[e])),l=r[e];let g,u=typeof s=="function"||typeof s?.render=="function"||typeof s?.__asyncLoader=="function";if(l){const d=Lj(l),{stateType:h,stateTypeName:A}=xte(d),f=d.ref||d.computed||d.reactive,C=((i=(n=l.effect)==null?void 0:n.raw)==null?void 0:i.toString())||((a=(o=l.effect)==null?void 0:o.fn)==null?void 0:a.toString());h&&(u=!1),g={...h?{stateType:h,stateTypeName:A}:{},...C?{raw:C}:{},editable:f&&!d.readonly}}return{key:e,value:s,type:u?"setup (other)":"setup",...g}})}function Rte(t,r){const e=r,n=[],i=e.computed||{};for(const o in i){const a=i[o],s=typeof a=="function"&&a.vuex?"vuex bindings":"computed";n.push({type:s,key:o,value:ll(()=>{var l;return(l=t?.proxy)==null?void 0:l[o]}),editable:typeof a.set=="function"})}return n}function Dte(t){return Object.keys(t.attrs).map(r=>({type:"attrs",key:r,value:ll(()=>t.attrs[r])}))}function Nte(t){return Reflect.ownKeys(t.provides).map(r=>({type:"provided",key:r.toString(),value:ll(()=>t.provides[r])}))}function Mte(t,r){if(!r?.inject)return[];let e=[],n;return Array.isArray(r.inject)?e=r.inject.map(i=>({key:i,originalKey:i})):e=Reflect.ownKeys(r.inject).map(i=>{const o=r.inject[i];let a;return typeof o=="string"||typeof o=="symbol"?a=o:(a=o.from,n=o.default),{key:i,originalKey:a}}),e.map(({key:i,originalKey:o})=>({type:"injected",key:o&&i!==o?`${o.toString()} ➞ ${i.toString()}`:i.toString(),value:ll(()=>t.ctx.hasOwnProperty(i)?t.ctx[i]:t.provides.hasOwnProperty(o)?t.provides[o]:n)}))}function Bte(t){return Object.keys(t.refs).map(r=>({type:"refs",key:r,value:ll(()=>t.refs[r])}))}function Fte(t){var r;const e=t.type.emits,n=Array.isArray(e)?e:Object.keys(e??{}),i=Object.keys((r=t.vnode.props)!=null?r:{}),o=[];for(const a of i){const[s,...l]=a.split(/(?=[A-Z])/);if(s==="on"){const g=l.join("-").toLowerCase(),u=n.includes(g);o.push({type:"event listeners",key:g,value:{_custom:{displayText:u?"✅ Declared":"⚠️ Not declared",key:u?"✅ Declared":"⚠️ Not declared",value:u?"✅ Declared":"⚠️ Not declared",tooltipText:u?null:`The event <code>${g}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return o}function Wj(t){const r=Tte(t);return Ote(t).concat(kte(t),Pte(t),Rte(t,r),Dte(t),Nte(t),Mte(t,r),Bte(t),Fte(t))}function Lte(t){let r="",e=null;try{r=Function.prototype.toString.call(t),e=String.prototype.match.call(r,/\([\s\S]*?\)/)}catch{}const n=e&&e[0],i=typeof n=="string"?n:"(?)",o=typeof t.name=="string"?t.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${hh(o)}${i}`,tooltipText:r.trim()?`<pre>${r}</pre>`:null}}}function zte(t){const r=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${r})`,value:r}}}function jte(t){const r=[];return t.forEach((e,n)=>r.push({key:n,value:e})),{_custom:{type:"map",displayText:"Map",value:r,readOnly:!0,fields:{abstract:!0}}}}function Vte(t){const r=Array.from(t);return{_custom:{type:"set",displayText:`Set[${r.length}]`,value:r,readOnly:!0}}}function Gte(t){const r={},e=t.getters||{},n=Object.keys(e);for(let i=0;i<n.length;i++){const o=n[i];Object.defineProperty(r,o,{enumerable:!0,get:()=>{try{return e[o]}catch(a){return a}}})}return r}function Wte(t){if(t.length)return t.reduce((r,e)=>{const n=e.type||"data",i=r[n]=r[n]||{};return i[e.key]=e.value,r},{})}function Hte(t){const r={},e=t.length;for(let n=0;n<e;n++){const i=t.item(n);r[i.name]=i.value}return r}function Ute(t){return{_custom:{type:"store",displayText:"Store",value:{state:t.state,getters:Gte(t)},fields:{abstract:!0}}}}function Zte(t){return{_custom:{type:"router",displayText:"VueRouter",value:{options:t.options,currentRoute:t.currentRoute},fields:{abstract:!0}}}}function Kte(t){t._&&(t=t._);const r=Wj(t);return{_custom:{type:"component",id:t.__VUE_DEVTOOLS_UID__,displayText:zg(t),tooltipText:"Component instance",value:Wte(r),fields:{abstract:!0}}}}function Yte(t){let r=Ete(t);return r?t.name&&t.__file&&(r+=` <span>(${t.__file})</span>`):r="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:r,tooltipText:"Component definition",...t.__file?{file:t.__file}:{}}}}function Xte(t){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30">&lt;</span><span class="text-blue-500">${t.tagName.toLowerCase()}</span><span class="opacity-30">&gt;</span>`,value:Hte(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(t)}</span>`}}}}function Qte(t){var r,e,n,i;const o=Lj(t);if(o.ref||o.computed||o.reactive){const s=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=zj(o.reactive?t:t._value),g=((e=(r=t.effect)==null?void 0:r.raw)==null?void 0:e.toString())||((i=(n=t.effect)==null?void 0:n.fn)==null?void 0:i.toString());return{_custom:{type:s?.toLowerCase(),stateTypeName:s,value:l,...g?{tooltipText:`<span class="font-mono">${g}</span>`}:{}}}}if(typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function qte(t){var r;if(t==="compilerOptions")return;const e=this[t],n=typeof e;if(Array.isArray(e)){const i=e.length;return i>Ex?{_isArray:!0,length:i,items:e.slice(0,Ex)}:e}else{if(typeof e=="string")return e.length>_x?`${e.substring(0,_x)}... (${e.length} total length)`:e;if(n==="undefined")return ZA;if(e===Number.POSITIVE_INFINITY)return bm;if(e===Number.NEGATIVE_INFINITY)return $m;if(typeof e=="function")return Lte(e);if(n==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(e)}]`;if(typeof e=="bigint")return zte(e);if(e!==null&&typeof e=="object"){const i=Object.prototype.toString.call(e);if(i==="[object Map]")return jte(e);if(i==="[object Set]")return Vte(e);if(i==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(e)}]`;if(i==="[object Date]")return`[native Date ${Date.prototype.toString.call(e)}]`;if(i==="[object Error]")return`[native Error ${e.message}<>${e.stack}]`;if(e.state&&e._vm)return Ute(e);if(e.constructor&&e.constructor.name==="VueRouter")return Zte(e);if(Ite(e))return Kte(e);if(typeof e.render=="function")return Yte(e);if(e.constructor&&e.constructor.name==="VNode")return`[native VNode <${e.tag}>]`;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return Xte(e);if(((r=e.constructor)==null?void 0:r.name)==="Store"&&e._wrappedGetters)return"[object Store]";if(e.currentRoute)return"[object Router]";const o=Qte(e);if(o!=null)return o}else if(Number.isNaN(e))return wm}return $te(e)}nt();function Jte(t){const r=new Set,e=t._custom.value;for(let n=0;n<e.length;n++){const i=e[n];r.add(Em(i))}return r}function ere(t){const r=new Map,e=t._custom.value;for(let n=0;n<e.length;n++){const{key:i,value:o}=e[n];r.set(i,Em(o))}return r}function Em(t){var r;if(t!==ZA){if(t===bm)return Number.POSITIVE_INFINITY;if(t===$m)return Number.NEGATIVE_INFINITY;if(t===wm)return Number.NaN;if(t&&t._custom){const{_custom:e}=t;return e.type==="component"?(r=fr.appRecord)==null?void 0:r.instanceMap.get(e.id):e.type==="map"?ere(t):e.type==="set"?Jte(t):e.type==="bigint"?BigInt(e.value):Em(e.value)}else if(wx.test(t)){const[,e]=wx.exec(t);return Symbol.for(e)}else if(qv.test(t)){const[,e,n,,i]=qv.exec(t),o=new qe[e](n);return e==="Error"&&i&&(o.stack=i),o}else return t}}function tre(t,r){return Em(r)}nt();var kC=512*1024;function Xw(t,r,e,n){let i,o,a,s,l;const g=n.get(t);if(g!=null)return g;const u=e.length,c=Object.prototype.toString.call(t);if(c==="[object Object]"){i={},n.set(t,u),e.push(i);const d=Object.keys(t);for(s=0,l=d.length;s<l;s++){o=d[s];try{if(o==="compilerOptions")return;a=t[o],r&&(a=r.call(t,o,a))}catch(h){a=h}i[o]=Xw(a,r,e,n)}}else if(c==="[object Array]")for(i=[],n.set(t,u),e.push(i),s=0,l=t.length;s<l;s++){try{a=t[s],r&&(a=r.call(t,s,a))}catch(d){a=d}i[s]=Xw(a,r,e,n)}else e.push(t);return u}function rre(t,r=null){let e=t.length,n,i,o,a,s,l;for(;e--;)if(o=t[e],l=Object.prototype.toString.call(o),l==="[object Object]"){const g=Object.keys(o);for(n=0,i=g.length;n<i;n++)a=g[n],s=t[o[a]],r&&(s=r.call(o,a,s)),o[a]=s}else if(l==="[object Array]")for(n=0,i=o.length;n<i;n++)s=t[o[n]],r&&(s=r.call(o,n,s)),o[n]=s}function nre(t,r=null,e=null){let n;try{n=arguments.length===1?JSON.stringify(t):JSON.stringify(t,r,e)}catch{n=ire(t,r,e)}if(n.length>kC){const i=Math.ceil(n.length/kC),o=[];for(let a=0;a<i;a++)o.push(n.slice(a*kC,(a+1)*kC));return o}return n}function ire(t,r=null,e=null){const n=[];return Xw(t,r,n,new Map),e?` ${JSON.stringify(n,null,e)}`:` ${JSON.stringify(n)}`}function Tx(t,r=null){if(Array.isArray(t)&&(t=t.join("")),/^\s/.test(t)){const n=JSON.parse(t);return rre(n,r),n[0]}else return arguments.length===1?JSON.parse(t):JSON.parse(t,r)}function Ru(t){return nre(t,qte)}function ko(t,r=!1){return t?r?Tx(t,tre):Tx(t):{}}nt();function ore(){return Date.now()}nt();nt();function are(t){fr.inspector.push(t)}function Qw(t){return fr.inspector.find(r=>r.id===t)}function Ox(t,r){const e=Qw(t);e&&Object.assign(e,r)}nt();function sre(t){fr.timelineLayer.push(t)}nt();nt();var Hj=class{constructor(){this.refEditor=new lre}set(t,r,e,n){const i=Array.isArray(r)?r:r.split(".");for(;i.length>1;){const s=i.shift();t=t[s],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const o=i[0],a=this.refEditor.get(t)[o];n?n(t,o,e):this.refEditor.isRef(a)?this.refEditor.set(a,e):t[o]=e}get(t,r){const e=Array.isArray(r)?r:r.split(".");for(let n=0;n<e.length;n++)if(t=t[e[n]],this.refEditor.isRef(t)&&(t=this.refEditor.get(t)),!t)return;return t}has(t,r,e=!1){if(typeof t>"u")return!1;const n=Array.isArray(r)?r.slice():r.split("."),i=e?2:1;for(;t&&n.length>i;){const o=n.shift();t=t[o],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}return t!=null&&Object.prototype.hasOwnProperty.call(t,n[0])}createDefaultSetCallback(t){return(r,e,n)=>{if((t.remove||t.newKey)&&(Array.isArray(r)?r.splice(e,1):Ct(r)instanceof Map&&typeof n=="object"&&n&&"key"in n?r.delete(n.key):Ct(r)instanceof Set?r.delete(n):Reflect.deleteProperty(r,e)),!t.remove){const i=r[t.newKey||e];this.refEditor.isRef(i)?this.refEditor.set(i,n):r[t.newKey||e]=n}}}},lre=class{set(t,r){if(ze(t))t.value=r;else{const e=JSON.parse(r),n=Object.keys(t),i=Object.keys(e);n.length>i.length&&n.filter(a=>!i.includes(a)).forEach(a=>Reflect.deleteProperty(t,a)),i.forEach(o=>{Reflect.set(t,o,Reflect.get(e,o))})}}get(t){return ze(t)?t.value:t}isRef(t){return ze(t)||Jl(t)}};async function gre(t,r){const{path:e,nodeId:n,state:i,type:o}=t,a=_c(fr.appRecord,n);if(!a)return;const s=e.slice();let l;a.devtoolsRawSetupState&&Object.keys(a.devtoolsRawSetupState).includes(e[0])&&(l=a.devtoolsRawSetupState),l&&s&&(i.type,r.set(l,s,i.value,r.createDefaultSetCallback(i)))}var ure=new Hj;async function cre(t){gre(t,ure)}nt();function dre(t={}){const{file:r,line:e=0,column:n=0}=t;if(r){const i=window.location.origin;qe.__VUE_DEVTOOLS_VITE_PLUGIN_DETECTED__&&qe.__VUE_INSPECTOR__.openInEditor(i,r,e,n)}}nt();nt();nt();nt();function hre(t,r){jt.pluginBuffer.push([t,r])}async function Are(t){const{app:r,api:e}=t;jt.pluginBuffer.filter(([i])=>i.app===r).forEach(async([i,o])=>{if(i.packageName!=="vue-query"){if(await ac(i.app),i.packageName==="vue-router"){const a=gte(`${i.id}`);i.app===r&&(jt.appRecords=jt.appRecords.map(s=>({...s,routerId:a})))}o(e)}}),jt.appRecords=jt.appRecords.map(i=>{var o,a;const s=(a=(o=i.app)==null?void 0:o.config)==null?void 0:a.globalProperties;return s?{...i,moduleDetectives:{vueRouter:!!s.$router,pinia:!!s.$pinia}}:i})}function fre(t,r){return vi.callHook(jr.SETUP_DEVTOOLS_PLUGIN,t,r)}nt();nt();function ep(t){return l2(t)?Cre(t.subTree):t.subTree?[t.subTree.el]:[]}function Cre(t){if(!t.children)return[];const r=[];return t.children.forEach(e=>{e.component?r.push(...ep(e.component)):e?.el&&r.push(e.el)}),r}nt();var Ire=class{constructor(t){this.filter=t||""}isQualified(t){const r=zg(t);return $4(r).toLowerCase().includes(this.filter)||iq(r).toLowerCase().includes(this.filter)}};function vre(t){return new Ire(t)}var pre=class{constructor(t){this.captureIds=new Map;const{filterText:r="",maxDepth:e,recursively:n}=t;this.componentFilter=vre(r),this.maxDepth=e,this.recursively=n}getComponentTree(t){return this.captureIds=new Map,this.findQualifiedChildren(t,0)}getComponentParents(t){this.captureIds=new Map;const r=[];this.captureId(t);let e=t;for(;e=e.parent;)this.captureId(e),r.push(e);return r}captureId(t){if(!t)return null;const r=t.__VUE_DEVTOOLS_UID__!=null?t.__VUE_DEVTOOLS_UID__:Gj(t);return t.__VUE_DEVTOOLS_UID__=r,this.captureIds.has(r)?null:(this.captureIds.set(r,void 0),this.mark(t),r)}async capture(t,r){var e;if(!t)return null;const n=this.captureId(t),i=zg(t),o=this.getInternalInstanceChildren(t.subTree).filter(c=>!Pb(c)),a=this.getComponentParents(t)||[],s=!!t.isDeactivated||a.some(c=>c.isDeactivated),l={uid:t.uid,id:n,name:i,renderKey:Ste(t.vnode?t.vnode.key:null),inactive:s,children:[],isFragment:l2(t),tags:typeof t.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:t.type.__file||""};if((r<this.maxDepth||t.type.__isKeepAlive||a.some(c=>c.type.__isKeepAlive))&&(l.children=await Promise.all(o.map(c=>this.capture(c,r+1)).filter(Boolean))),this.isKeepAlive(t)){const c=this.getKeepAliveCachedInstances(t),d=o.map(h=>h.__VUE_DEVTOOLS_UID__);for(const h of c)if(!d.includes(h.__VUE_DEVTOOLS_UID__)){const A=await this.capture({...h,isDeactivated:!0},r+1);A&&l.children.push(A)}}const u=ep(t)[0];if(u?.parentElement){const c=t.parent,d=c?ep(c):[];let h=u;const A=[];do A.push(Array.from(h.parentElement.childNodes).indexOf(h)),h=h.parentElement;while(h.parentElement&&d.length&&!d.includes(h));l.domOrder=A.reverse()}else l.domOrder=[-1];return(e=t.suspense)!=null&&e.suspenseKey&&(l.tags.push({label:t.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(t,!0)),fr.api.visitComponentTree({treeNode:l,componentInstance:t,app:t.appContext.app,filter:this.componentFilter.filter}),l}async findQualifiedChildren(t,r){var e;if(this.componentFilter.isQualified(t)&&!((e=t.type.devtools)!=null&&e.hide))return[await this.capture(t,r)];if(t.subTree){const n=this.isKeepAlive(t)?this.getKeepAliveCachedInstances(t):this.getInternalInstanceChildren(t.subTree);return this.findQualifiedChildrenFromList(n,r)}else return[]}async findQualifiedChildrenFromList(t,r){return t=t.filter(e=>{var n;return!Pb(e)&&!((n=e.type.devtools)!=null&&n.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(t.map(e=>this.findQualifiedChildren(e,r)))):Promise.all(t.map(e=>this.capture(e,r)))}getInternalInstanceChildren(t,r=null){const e=[];if(t)if(t.component)r?e.push({...t.component,suspense:r}):e.push(t.component);else if(t.suspense){const n=t.suspense.isInFallback?"suspense fallback":"suspense default";e.push(...this.getInternalInstanceChildren(t.suspense.activeBranch,{...t.suspense,suspenseKey:n}))}else Array.isArray(t.children)&&t.children.forEach(n=>{n.component?r?e.push({...n.component,suspense:r}):e.push(n.component):e.push(...this.getInternalInstanceChildren(n,r))});return e.filter(n=>{var i;return!Pb(n)&&!((i=n.type.devtools)!=null&&i.hide)})}mark(t,r=!1){const e=ac(t).instanceMap;(r||!e.has(t.__VUE_DEVTOOLS_UID__))&&e.set(t.__VUE_DEVTOOLS_UID__,t)}isKeepAlive(t){return t.type.__isKeepAlive&&t.__v_cache}getKeepAliveCachedInstances(t){return Array.from(t.__v_cache.values()).map(r=>r.component).filter(Boolean)}};nt();function mre(t){var r;const e=_c(fr.appRecord,t.instanceId),n=Gj(e),i=zg(e),o=(r=e?.type)==null?void 0:r.__file,a=Wj(e);return{id:n,name:i,file:o,state:a,instance:e}}nt();function yre(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}var xC;function bre(t){return xC||(xC=document.createRange()),xC.selectNode(t),xC.getBoundingClientRect()}function $re(t){const r=yre();if(!t.children)return r;for(let e=0,n=t.children.length;e<n;e++){const i=t.children[e];let o;if(i.component)o=Ec(i.component);else if(i.el){const a=i.el;a.nodeType===1||a.getBoundingClientRect?o=a.getBoundingClientRect():a.nodeType===3&&a.data.trim()&&(o=bre(a))}o&&wre(r,o)}return r}function wre(t,r){return(!t.top||r.top<t.top)&&(t.top=r.top),(!t.bottom||r.bottom>t.bottom)&&(t.bottom=r.bottom),(!t.left||r.left<t.left)&&(t.left=r.left),(!t.right||r.right>t.right)&&(t.right=r.right),t}var kx={top:0,left:0,right:0,bottom:0,width:0,height:0};function Ec(t){const r=t.subTree.el;return typeof window>"u"?kx:l2(t)?$re(t.subTree):r?.nodeType===1?r?.getBoundingClientRect():t.subTree.component?Ec(t.subTree.component):kx}nt();var xx,Px,zt=(Px=(xx=qe).__VUE_DEVTOOLS_API_HOOK)!=null?Px:xx.__VUE_DEVTOOLS_API_HOOK=_4(),_re={devtoolsStateUpdated(t){zt.hook("devtools:state-updated",t)},routerInfoUpdated(t){zt.hook("router-info:updated",t)},getComponentBoundingRect(t){zt.hook("component-bounding-rect:get",t)},inspectComponent(t){zt.hook("component-state:inspect",t)},visitComponentTree(t){zt.hook("component-tree:visit",t)},getInspectorTree(t){zt.hook("inspector-tree:get",t)},getInspectorState(t){zt.hook("inspector-state:get",t)},sendInspectorTree(t){zt.hook("inspector-tree:send",t)},sendInspectorState(t){zt.hook("inspector-state:send",t)},addTimelineEvent(t){zt.hook("timeline:add-event",t)},editInspectorState(t){zt.hook("inspector-state:edit",t)},editComponentState(){},customTabsUpdated(t){zt.hook("custom-tabs:updated",t)},customCommandsUpdated(t){zt.hook("custom-commands:updated",t)}},es="components";function Ere(t){fre({id:es,label:"Components",app:t},r=>{r.addInspector({id:es,label:"Components",treeFilterPlaceholder:"Search components"}),r.on.getComponentBoundingRect(s=>{if(s.app===t&&s.inspectorId===es){const l=_c(fr.appRecord,s.instanceId);l&&(s.rect=Ec(l),s.rect instanceof DOMRect&&(s.rect={top:s.rect.top,left:s.rect.left,right:s.rect.right,bottom:s.rect.bottom,width:s.rect.width,height:s.rect.height}))}}),r.on.getInspectorTree(async s=>{if(s.app===t&&s.inspectorId===es){const l=_c(fr.appRecord,s.instanceId);if(l){const g=new pre({filterText:s.filter,maxDepth:100,recursively:!1});s.rootNodes=await g.getComponentTree(l)}}}),r.on.getInspectorState(async s=>{var l;if(s.app===t&&s.inspectorId===es){const g=mre({instanceId:s.nodeId}),u=g.instance,c=(l=g.instance)==null?void 0:l.appContext.app,d={componentInstance:u,app:c,instanceData:g};zt.callHookWith(h=>{h.forEach(A=>A(d))},"component-state:inspect"),s.state=g}}),r.on.editInspectorState(async s=>{s.app===t&&s.inspectorId===es&&(cre(s),await r.sendInspectorState("components"))});const e=Qh(()=>{r.sendInspectorTree(es)},120),n=Qh(()=>{r.sendInspectorState(es)},120),i=tg.on.componentAdded(async(s,l,g,u)=>{var c,d,h;if((h=(d=(c=s?._instance)==null?void 0:c.type)==null?void 0:d.devtools)!=null&&h.hide||!s||typeof l!="number"&&!l||!u)return;const A=await av({app:s,uid:l,instance:u}),f=await ac(s);u&&(u.__VUE_DEVTOOLS_UID__==null&&(u.__VUE_DEVTOOLS_UID__=A),f?.instanceMap.has(A)||f?.instanceMap.set(A,u)),f&&e()}),o=tg.on.componentUpdated(async(s,l,g,u)=>{var c,d,h;if((h=(d=(c=s?._instance)==null?void 0:c.type)==null?void 0:d.devtools)!=null&&h.hide||!s||typeof l!="number"&&!l||!u)return;const A=await av({app:s,uid:l,instance:u}),f=await ac(s);u&&(u.__VUE_DEVTOOLS_UID__==null&&(u.__VUE_DEVTOOLS_UID__=A),f?.instanceMap.has(A)||f?.instanceMap.set(A,u)),f&&(e(),n())}),a=tg.on.componentRemoved(async(s,l,g,u)=>{var c,d,h;if((h=(d=(c=s?._instance)==null?void 0:c.type)==null?void 0:d.devtools)!=null&&h.hide||!s||typeof l!="number"&&!l||!u)return;const A=await ac(s);if(!A)return;const f=await av({app:s,uid:l,instance:u});A?.instanceMap.delete(f),e()});fr.componentPluginHookBuffer=[i,o,a]})}async function Uj(t){await Ere(t.app),jt.activeAppRecord=t,jt.activeAppRecordId=`${t.id}`,Are({app:t.app,api:t.api})}async function Sre(t){fr.componentPluginHookBuffer.forEach(e=>e()),fr.api.clear(),fr.clear();const r=jt.appRecords.find(e=>e.id===t);if(r){jt.pluginBuffer=jt.pluginBuffer.filter(([n])=>n.id!=="components");const e=new qj;r.api=e,Uj(r),window.postMessage({event:"toggle-app-record",target:"vue-devtools"})}}nt();function Tre(t){jt.tabs.some(r=>r.name===t.name)||jt.tabs.push(t)}nt();function Ore(t){jt.commands.some(r=>r.id===t.id)||jt.commands.push(t)}function kre(t){const r=jt.commands.findIndex(e=>e.id===t);r!==-1&&jt.commands.splice(r,1)}nt();function xre(t){let r=0;const e=setInterval(()=>{qe.__VUE_INSPECTOR__&&(clearInterval(e),r+=30,t()),r>=5e3&&clearInterval(e)},30)}function Pre(){const t=qe.__VUE_INSPECTOR__,r=t.openInEditor;t.openInEditor=async(...e)=>{t.disable(),r(...e)}}function Rre(){return new Promise(t=>{function r(){Pre(),t(qe.__VUE_INSPECTOR__)}qe.__VUE_INSPECTOR__?r():xre(()=>{r()})})}nt();var Zj="__vue-devtools-component-inspector__",Kj="__vue-devtools-component-inspector__card__",Yj="__vue-devtools-component-inspector__name__",Xj="__vue-devtools-component-inspector__indicator__",Qj={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Dre={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Nre={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Sc(){return document.getElementById(Zj)}function Mre(){return document.getElementById(Kj)}function Bre(){return document.getElementById(Xj)}function Fre(){return document.getElementById(Yj)}function g2(t){return{left:`${Math.round(t.left*100)/100}px`,top:`${Math.round(t.top*100)/100}px`,width:`${Math.round(t.width*100)/100}px`,height:`${Math.round(t.height*100)/100}px`}}function u2(t){var r;const e=document.createElement("div");e.id=(r=t.elementId)!=null?r:Zj,Object.assign(e.style,{...Qj,...g2(t.bounds),...t.style});const n=document.createElement("span");n.id=Kj,Object.assign(n.style,{...Dre,top:t.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=Yj,i.innerHTML=`&lt;${t.name}&gt;&nbsp;&nbsp;`;const o=document.createElement("i");return o.id=Xj,o.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(o.style,Nre),n.appendChild(i),n.appendChild(o),e.appendChild(n),document.body.appendChild(e),e}function c2(t){const r=Sc(),e=Mre(),n=Fre(),i=Bre();r&&(Object.assign(r.style,{...Qj,...g2(t.bounds)}),Object.assign(e.style,{top:t.bounds.top<35?0:"-35px"}),n.innerHTML=`&lt;${t.name}&gt;&nbsp;&nbsp;`,i.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`)}function Lre(t){if(t.visible){const r=_c(fr.appRecord,t.id);if(r&&(t.bounds.width||t.bounds.height)){const e=zg(r);Sc()?c2({...t,name:e}):u2({...t,name:e})}}else{const r=Sc();r&&(r.style.display="none")}}var qw=null;function Rx(t){const r=t.target;if(r){const e=r.__vueParentComponent;if(e&&(qw=e,e.vnode.el)){const i=Ec(e),o=zg(e);Sc()?c2({bounds:i,name:o}):u2({bounds:i,name:o})}}}function zre(t,r){var e;if(t.preventDefault(),t.stopPropagation(),qw){const n=(e=fr.appRecord)==null?void 0:e.app;av({app:n,uid:n.uid,instance:qw}).then(i=>{r(i)})}}function jre(){return window.addEventListener("mouseover",Rx),new Promise(t=>{function r(e){e.preventDefault(),e.stopPropagation(),zre(e,n=>{window.removeEventListener("click",r),window.removeEventListener("mouseover",Rx);const i=Sc();i&&(i.style.display="none"),t(JSON.stringify({id:n}))})}window.addEventListener("click",r)})}function Vre(t){const r=_c(fr.appRecord,t.id);if(r){const[e]=ep(r);if(typeof e.scrollIntoView=="function")e.scrollIntoView({behavior:"smooth"});else{const n=Ec(r),i=document.createElement("div"),o={...g2(n),position:"absolute"};Object.assign(i.style,o),document.body.appendChild(i),i.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(i)},2e3)}setTimeout(()=>{const n=Ec(r);if(n.width||n.height){const i=zg(r),o=Sc();o?c2({...t,name:i,bounds:n}):u2({...t,name:i,bounds:n}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}nt();function Gre(){zt.removeAllHooks()}var qj=class{constructor(){this.on=_re,this.clear=Gre}toggleApp(t){return Sre(t)}addTimelineEvent(t){zt.callHook("timeline:add-event",t)}toggleComponentInspector(t){return Lre(t)}inspectComponentInspector(){return jre()}scrollToComponent(t){return Vre(t)}getComponentBoundingRect(t){const{inspectorId:r,instanceId:e=""}=t,n={app:fr.appRecord.app,inspectorId:r,instanceId:e,rect:{top:0,left:0,width:0,height:0}};return zt.callHookWith(i=>{i.map(o=>o(n))},"component-bounding-rect:get"),Ru(n.rect)}async getInspectorTree(t={}){const{inspectorId:r,filter:e="",instanceId:n=""}=t,i={app:fr.appRecord.app,inspectorId:r,instanceId:n,filter:e,rootNodes:[]};return Ox(r,{filter:e}),await new Promise(o=>{zt.callHookWith(async a=>{await Promise.all(a.map(s=>s(i))),o()},"inspector-tree:get")}),Ru(i.rootNodes)}getInspectorState(t={}){const{inspectorId:r,nodeId:e}=t,n={app:fr.appRecord.app,inspectorId:r,nodeId:e};Ox(r,{nodeId:e}),zt.callHookWith(o=>{o.forEach(a=>a(n))},"inspector-state:get");const i=n.state;return delete i.instance,Ru(i)}async editInspectorState(t){const r=new Hj;zt.callHook("inspector-state:edit",{...t,app:fr.appRecord.app,set:(e,n=t.path,i=t.state.value,o)=>{r.set(e,n,i,o||r.createDefaultSetCallback(t.state))}})}async sendInspectorTree(t){if(Qw(t)){const e=await this.getInspectorTree({inspectorId:t});zt.callHook("inspector-tree:send",Ru({inspectorId:t,data:ko(e)}))}}async sendInspectorState(t){const r=Qw(t);if(r&&r.nodeId){const e=await this.getInspectorState({inspectorId:t,nodeId:r.nodeId});zt.callHook("inspector-state:send",Ru({...ko(e),inspectorId:t}))}}addCustomTab(t){Tre(t)}addCustomCommand(t){Ore(t)}removeCustomCommand(t){kre(t)}addInspector(t){var r;are({id:t.id,nodeId:"",filter:"",treeFilterPlaceholder:(r=t.treeFilterPlaceholder)!=null?r:""})}openInEditor(t){dre(t)}getVueInspector(){return Rre()}visitComponentTree(t){zt.callHook("component-tree:visit",t)}addTimelineLayer(t){sre(t)}notifyComponentUpdate(){}now(){return ore()}getSettings(){return{logStoreChanges:null}}};nt();var Wre=rte(ite(),1),Dx,Nx,Bu=(Nx=(Dx=qe).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null?Nx:Dx.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set};function Hre(t,r){var e;return((e=t?._component)==null?void 0:e.name)||`App ${r}`}function Ure(t){var r,e,n,i;if(t._instance)return t._instance;if((e=(r=t._container)==null?void 0:r._vnode)!=null&&e.component)return(i=(n=t._container)==null?void 0:n._vnode)==null?void 0:i.component}function Zre(t,r){if(t.__VUE_DEVTOOLS_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_APP_RECORD_ID__;let e=r??(Bu.id++).toString();if(r&&Bu.appIds.has(e)){let n=1;for(;Bu.appIds.has(`${r}_${n}`);)n++;e=`${r}_${n}`}return Bu.appIds.add(e),t.__VUE_DEVTOOLS_APP_RECORD_ID__=e,e}function Kre(t){const r=Ure(t);if(r){Bu.id++;const e=Hre(t,Bu.id.toString()),i={id:Zre(t,(0,Wre.default)(e)),name:e,instanceMap:new Map,rootInstance:r};t.__VUE_DEVTOOLS_APP_RECORD__=i;const o=`${i.id}:root`;return i.instanceMap.set(o,i.rootInstance),i.rootInstance.__VUE_DEVTOOLS_UID__=o,i}else return{}}function Yre(){var t,r,e;jt.vitePluginDetected=!!qe.__VUE_DEVTOOLS_VITE_PLUGIN_DETECTED__;const n=((t=qe.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:t.id)==="vue-devtools-next";qe.__VUE_DEVTOOLS_GLOBAL_HOOK__&&n||(qe.__VUE_DEVTOOLS_GLOBAL_HOOK__?Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,fx()):qe.__VUE_DEVTOOLS_GLOBAL_HOOK__=fx(),(e=(r=qe).__VUE_DEVTOOLS_APP_RECORDS__)!=null||(r.__VUE_DEVTOOLS_APP_RECORDS__=[]),tg.on.setupDevtoolsPlugin(hre),tg.on.vueAppInit(async(i,o)=>{var a;const s=Kre(i),l=new qj;jt.appRecords=[...(a=jt.appRecords)!=null?a:[],{...s,app:i,version:o,api:l}],jt.appRecords.length===1&&(await Uj(jt.appRecords[0]),jt.connected=!0,vi.callHook(jr.APP_CONNECTED))}),ate())}var It={state:jt,context:fr,init:Yre,hook:tg,get api(){return fr.api}};const Xre=6e4;function Jj(t){return t}const Qre=Jj,{clearTimeout:qre,setTimeout:Jre}=globalThis,ene=Math.random.bind(Math);function tne(t,r){const{post:e,on:n,eventNames:i=[],serialize:o=Jj,deserialize:a=Qre,resolver:s,timeout:l=Xre}=r,g=new Map;let u;const c=new Proxy({},{get(d,h){if(h==="$functions")return t;const A=(...C)=>{e(o({m:h,a:C,t:"q"}))};if(i.includes(h))return A.asEvent=A,A;const f=async(...C)=>(await u,new Promise((I,v)=>{const p=nne();let m;l>=0&&(m=Jre(()=>{v(new Error(`[birpc] timeout on calling "${h}"`)),g.delete(p)},l).unref?.()),g.set(p,{resolve:I,reject:v,timeoutId:m}),e(o({m:h,a:C,i:p,t:"q"}))}));return f.asEvent=A,f}});return u=n(async(d,...h)=>{const A=a(d);if(A.t==="q"){const{m:f,a:C}=A;let I,v;const p=s?s(f,t[f]):t[f];if(!p)v=new Error(`[birpc] function "${f}" not found`);else try{I=await p.apply(c,C)}catch(m){v=m}A.i&&(v&&r.onError&&r.onError(v,f,C),e(o({t:"s",i:A.i,r:I,e:v}),...h))}else{const{i:f,r:C,e:I}=A,v=g.get(f);v&&(qre(v.timeoutId),I?v.reject(I):v.resolve(C)),g.delete(f)}}),c}const rne="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function nne(t=21){let r="",e=t;for(;e--;)r+=rne[ene()*64|0];return r}function ine(t,r,e={},n={}){const i=`${t}:rpc`;return tne(e,{...n,on:async o=>{(await r).on(i,o)},post:async o=>{(await r).send(i,o)}})}var e8=class{constructor(t={tracker:mk,trigger:mk}){this.emitter=gq(),this.adapter=t,this.adapter.tracker(r=>{this._emit(r.event,r.data)})}_on(t,r){this.emitter.on(t,r)}off(t,r){this.emitter.off(t,r)}_emit(t,r){this.emitter.emit(t,r)}on(t,r){return this._on(t,r),()=>this.off(t,r)}once(t,r){const e=(...n)=>{r(...n),this.off(t,e)};this._on(t,e)}emit(t,r){this.adapter.trigger({event:t,data:r}),this._emit(t,r)}removeAllListeners(){this.emitter.all.clear()}},yt={toggleComponentInspector:"toggle-component-inspector",inspectComponentInspector:"inspect-component-inspector",scrollToComponent:"scroll-to-component",componentBoundingRect:"component-bounding-rect",inspectorTree:"inspector-tree",inspectorState:"inspector-state",updateInspectorTreeId:"inspector-tree:update-id",state:"state",timelineLayer:"timeline-layer",routerInfo:"router-info",router:"router",routeMatched:"route-matched",editState:"edit-inspector-state",openInEditor:"open-in-editor",toggleApp:"toggle-app",isVueInspectorDetected:"vue-inspector:detected",enableVueInspector:"vue-inspector:enable"},t8=class{constructor(t){this.bridge=t}on(t,r){this.bridge.on(`${t}:req`,async e=>{const n=await r(e);this.bridge.emit(`${t}:res`,n)})}emit(t,r){return new Promise(e=>{this.bridge.once(`${t}:res`,n=>{const i={data:ko(n)};e(i)}),this.bridge.emit(`${t}:req`,r)})}};function one(t){return t?ine("vite-plugin-vue-devtools",t,{}):null}var d2=(t=>(t.DEVTOOLS_STATE_UPDATED="devtools-state:updated",t.CUSTOM_TABS_UPDATED="custom-tabs:updated",t.CUSTOM_COMMANDS_UPDATED="custom-commands:updated",t.ROUTER_INFO_UPDATED="router-info:updated",t.ROUTER="router",t.APP_CONNECTED="user-app:connected",t.CLIENT_READY="devtools:client-ready",t.SEND_INSPECTOR_TREE="inspector-tree:send",t.SEND_INSPECTOR_STATE="inspector-state:send",t.EDIT_STATE="state:edit",t.ADD_TIMELINE_EVENT="timeline:add-event",t))(d2||{}),_t={value:null,viteRpc:{enabled:!1,api:null},rpc:null};function ane(t){const r=one(t.viteRPCContext);_t.value=t.bridge,_t.rpc=new t8(t.bridge),r&&(_t.viteRpc={enabled:!0,api:r})}var tp=class{static updateInspectorTreeId(t){_t.rpc.emit(yt.updateInspectorTreeId,t)}static toggleComponentInspector(t){_t.rpc.emit(yt.toggleComponentInspector,t)}static inspectComponentInspector(){return _t.rpc.emit(yt.inspectComponentInspector)}static scrollToComponent(t){return _t.rpc.emit(yt.scrollToComponent,t)}static async getComponentBoundingRect(t){return _t.rpc.emit(yt.componentBoundingRect,t)}static getInspectorTree(t){return _t.rpc.emit(yt.inspectorTree,t)}static async getInspectorState(t){return _t.rpc.emit(yt.inspectorState,t)}static async editInspectorState(t){return _t.rpc.emit(yt.editState,t)}static async getDevToolsState(){return _t.rpc.emit(yt.state)}static async getTimelineLayer(){return _t.rpc.emit(yt.timelineLayer)}static async getRouterInfo(){return _t.rpc.emit(yt.routerInfo)}static async navigate(t){return _t.rpc.emit(yt.router,JSON.stringify(t))}static async getMatchedRoutes(t){return _t.rpc.emit(yt.routeMatched,t)}static async openInEditor(t){return _t.rpc.emit(yt.openInEditor,JSON.stringify(t))}static async isVueInspectorDetected(){return _t.rpc.emit(yt.isVueInspectorDetected)}static async enableVueInspector(){return _t.rpc.emit(yt.enableVueInspector)}static async toggleApp(t){return _t.rpc.emit(yt.toggleApp,t)}static getStaticAssets(){return _t.viteRpc.api.getStaticAssets()}static getImageMeta(t){return _t.viteRpc.api.getImageMeta(t)}static getTextAssetContent(t,r=300){return _t.viteRpc.api.getTextAssetContent(t,r)}static root(){return _t.viteRpc.api.root()}static getGraph(){return _t.viteRpc.api.getGraph()}};tp.on={inspectorTreeUpdated(t,r){_t.value.on("inspector-tree:send",e=>{const n=ko(e);r.inspectorId===n.inspectorId&&t(n)})},inspectorStateUpdated(t,r){_t.value.on("inspector-state:send",e=>{const n=ko(e);r.inspectorId===n.inspectorId&&t({state:n.state,getters:n.getters})})},devtoolsStateUpdated(t){_t.value.on("devtools-state:updated",r=>{t(ko(r))})},customTabsUpdated(t){_t.value.on("custom-tabs:updated",r=>{t(ko(r))})},customCommandsUpdated(t){_t.value.on("custom-commands:updated",r=>{t(ko(r))})},routerInfoUpdated(t){_t.value.on("router-info:updated",r=>{t(ko(r))})},addTimelineEvent(t){_t.value.on("timeline:add-event",r=>{t(ko(r))})}};function sne(t){const r=new t8(t);r.on(yt.state,()=>{var n,i;return JSON.stringify({connected:It.state.connected,clientConnected:It.state.clientConnected,vueVersion:((i=(n=It.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",tabs:It.state.tabs,commands:It.state.commands,vitePluginDetected:It.state.vitePluginDetected,appRecords:It.state.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:It.state.activeAppRecordId})}),r.on(yt.timelineLayer,()=>JSON.stringify(It.context.timelineLayer)),r.on(yt.toggleComponentInspector,n=>(It.api.toggleComponentInspector(n),Promise.resolve(JSON.stringify({})))),r.on(yt.inspectComponentInspector,()=>It.api.inspectComponentInspector()),r.on(yt.scrollToComponent,n=>(It.api.scrollToComponent(n),Promise.resolve(JSON.stringify({})))),r.on(yt.componentBoundingRect,async n=>It.api.getComponentBoundingRect(n)),r.on(yt.inspectorTree,n=>It.api.getInspectorTree(n)),r.on(yt.updateInspectorTreeId,async n=>{It.context.activeInspectorTreeId=n}),r.on(yt.inspectorState,async n=>It.api.getInspectorState(n)),r.on(yt.editState,async n=>It.api.editInspectorState(n)),r.on(yt.routerInfo,()=>JSON.stringify(It.context.routerInfo)),r.on(yt.router,n=>{var i;return(i=It.context.router)==null||i.push(JSON.parse(n)).catch(o=>o),Promise.resolve(JSON.stringify({}))}),r.on(yt.openInEditor,async n=>It.api.openInEditor(JSON.parse(n))),r.on(yt.isVueInspectorDetected,async()=>!!await It.api.getVueInspector()),r.on(yt.enableVueInspector,async()=>{const n=await It.api.getVueInspector();n&&await n.enable()}),r.on(yt.routeMatched,n=>{var i,o;const a=console.warn;console.warn=()=>{};const s=(o=(i=It.context.router)==null?void 0:i.resolve({path:n||"/"}).matched)!=null?o:[];return console.warn=a,JSON.stringify(s)}),r.on(yt.toggleApp,async n=>(await It.api.toggleApp(n),JSON.stringify({})));function e(){var n,i,o;t.emit("devtools-state:updated",JSON.stringify({vueVersion:((i=(n=It.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",connected:!0,clientConnected:It.state.clientConnected,activeAppRecordId:(o=It.state)==null?void 0:o.activeAppRecordId,appRecords:It.state.appRecords.map(a=>({id:a.id,name:a.name,version:a.version,routerId:a.routerId,moduleDetectives:a.moduleDetectives}))})),It.api.on.devtoolsStateUpdated(a=>{var s;t.emit("devtools-state:updated",JSON.stringify({vueVersion:((s=a?.activeAppRecord)==null?void 0:s.version)||"",connected:a.connected,clientConnected:a.clientConnected,appRecords:a.appRecords.map(l=>({id:l.id,name:l.name,version:l.version,routerId:l.routerId,moduleDetectives:l.moduleDetectives})),activeAppRecordId:a.activeAppRecordId}))}),It.api.on.customTabsUpdated(a=>{t.emit("custom-tabs:updated",JSON.stringify(a))}),It.api.on.customCommandsUpdated(a=>{t.emit("custom-commands:updated",JSON.stringify(a))}),It.api.on.routerInfoUpdated(a=>{t.emit("router-info:updated",JSON.stringify(a))}),It.api.on.sendInspectorTree(a=>{t.emit("inspector-tree:send",a)}),It.api.on.sendInspectorState(a=>{t.emit("inspector-state:send",a)}),It.api.on.addTimelineEvent(a=>{t.emit("timeline:add-event",Ru(a))})}t.on("user-app:connected",()=>{e()}),y4&&window.addEventListener("message",n=>{const i=n.data;i.target==="vue-devtools"&&i.event==="toggle-app-record"&&e()})}function r8(t,r){t==="devtools"?ane(r):sne(r.bridge)}function lne(){const t=U(!1),r=U(!1),e=U(0),n=U(""),i=U([]),o=U([]),a=U(!1),s=U([]),l=U("");function g(){tp.getDevToolsState().then(({data:u})=>{t.value=u.connected,r.value=u.clientConnected,n.value=u.vueVersion||"",i.value=u.tabs,o.value=u.commands,a.value=u.vitePluginDetected,s.value=u.appRecords,l.value=u.activeAppRecordId}),tp.on.devtoolsStateUpdated(u=>{t.value=u.connected,r.value=u.clientConnected,n.value=u.vueVersion||"",s.value=u.appRecords,l.value=u.activeAppRecordId})}return{init:g,restore:g,vueVersion:n,connected:t,clientConnected:r,componentCount:e,tabs:i,commands:o,vitePluginDetected:a,appRecords:s,activeAppRecordId:l}}function gne(t){const r=U(t);function e(n){r.value=n}return{bridge:r,restore:e}}var n8=Symbol("VueDevToolsBridgeSymbol"),i8=Symbol("VueDevToolsStateSymbol");function une(t){return{install(r,e){const{bridge:n,viewMode:i}=t,o=U(i),a=lne(),s=gne(n);a.init(),r.provide(n8,s.bridge),r.provide(i8,a),r.provide("viewMode",o),s.bridge.value.on("toggle-view-mode",l=>{o.value=l}),r.config.globalProperties.__VUE_DEVTOOLS_UPDATE__=l=>{s.restore(l),a.restore()}}}}function h2(){return Er(n8)}function _n(){return tp}function Zi(){return Er(i8)}var cne=class{constructor(t){this.socket=t}},o8=class extends cne{constructor(t){super(t)}onnConnect(){return new Promise(t=>{this.socket.on("syn",()=>{this.socket.emit("syn-ack");const r=setInterval(()=>{this.socket.emit("syn-ack")},300);this.socket.on("ack",()=>{clearInterval(r),t()})})})}};/*!
1
+ (function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.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 a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function e(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=e(i);fetch(i.href,o)}})();var GQ=Object.create,m4=Object.defineProperty,WQ=Object.getOwnPropertyDescriptor,RS=Object.getOwnPropertyNames,HQ=Object.getPrototypeOf,UQ=Object.prototype.hasOwnProperty,ZQ=(t,r)=>function(){return t&&(r=(0,t[RS(t)[0]])(t=0)),r},KQ=(t,r)=>function(){return r||(0,t[RS(t)[0]])((r={exports:{}}).exports,r),r.exports},YQ=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of RS(r))!UQ.call(t,i)&&i!==e&&m4(t,i,{get:()=>r[i],enumerable:!(n=WQ(r,i))||n.enumerable});return t},XQ=(t,r,e)=>(e=t!=null?GQ(HQ(t)):{},YQ(r||!t||!t.__esModule?m4(e,"default",{value:t,enumerable:!0}):e,t)),LA=ZQ({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),QQ=KQ({"../../node_modules/.pnpm/rfdc@1.3.0/node_modules/rfdc/index.js"(t,r){LA(),r.exports=n;function e(o){return o instanceof Buffer?Buffer.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function n(o){if(o=o||{},o.circles)return i(o);return o.proto?l:s;function a(g,u){for(var c=Object.keys(g),d=new Array(c.length),h=0;h<c.length;h++){var A=c[h],f=g[A];typeof f!="object"||f===null?d[A]=f:f instanceof Date?d[A]=new Date(f):ArrayBuffer.isView(f)?d[A]=e(f):d[A]=u(f)}return d}function s(g){if(typeof g!="object"||g===null)return g;if(g instanceof Date)return new Date(g);if(Array.isArray(g))return a(g,s);if(g instanceof Map)return new Map(a(Array.from(g),s));if(g instanceof Set)return new Set(a(Array.from(g),s));var u={};for(var c in g)if(Object.hasOwnProperty.call(g,c)!==!1){var d=g[c];typeof d!="object"||d===null?u[c]=d:d instanceof Date?u[c]=new Date(d):d instanceof Map?u[c]=new Map(a(Array.from(d),s)):d instanceof Set?u[c]=new Set(a(Array.from(d),s)):ArrayBuffer.isView(d)?u[c]=e(d):u[c]=s(d)}return u}function l(g){if(typeof g!="object"||g===null)return g;if(g instanceof Date)return new Date(g);if(Array.isArray(g))return a(g,l);if(g instanceof Map)return new Map(a(Array.from(g),l));if(g instanceof Set)return new Set(a(Array.from(g),l));var u={};for(var c in g){var d=g[c];typeof d!="object"||d===null?u[c]=d:d instanceof Date?u[c]=new Date(d):d instanceof Map?u[c]=new Map(a(Array.from(d),l)):d instanceof Set?u[c]=new Set(a(Array.from(d),l)):ArrayBuffer.isView(d)?u[c]=e(d):u[c]=l(d)}return u}}function i(o){var a=[],s=[];return o.proto?u:g;function l(c,d){for(var h=Object.keys(c),A=new Array(h.length),f=0;f<h.length;f++){var C=h[f],I=c[C];if(typeof I!="object"||I===null)A[C]=I;else if(I instanceof Date)A[C]=new Date(I);else if(ArrayBuffer.isView(I))A[C]=e(I);else{var v=a.indexOf(I);v!==-1?A[C]=s[v]:A[C]=d(I)}}return A}function g(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return l(c,g);if(c instanceof Map)return new Map(l(Array.from(c),g));if(c instanceof Set)return new Set(l(Array.from(c),g));var d={};a.push(c),s.push(d);for(var h in c)if(Object.hasOwnProperty.call(c,h)!==!1){var A=c[h];if(typeof A!="object"||A===null)d[h]=A;else if(A instanceof Date)d[h]=new Date(A);else if(A instanceof Map)d[h]=new Map(l(Array.from(A),g));else if(A instanceof Set)d[h]=new Set(l(Array.from(A),g));else if(ArrayBuffer.isView(A))d[h]=e(A);else{var f=a.indexOf(A);f!==-1?d[h]=s[f]:d[h]=g(A)}}return a.pop(),s.pop(),d}function u(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return l(c,u);if(c instanceof Map)return new Map(l(Array.from(c),u));if(c instanceof Set)return new Set(l(Array.from(c),u));var d={};a.push(c),s.push(d);for(var h in c){var A=c[h];if(typeof A!="object"||A===null)d[h]=A;else if(A instanceof Date)d[h]=new Date(A);else if(A instanceof Map)d[h]=new Map(l(Array.from(A),u));else if(A instanceof Set)d[h]=new Set(l(Array.from(A),u));else if(ArrayBuffer.isView(A))d[h]=e(A);else{var f=a.indexOf(A);f!==-1?d[h]=s[f]:d[h]=u(A)}}return a.pop(),s.pop(),d}}}});LA();LA();var y4=typeof navigator<"u",qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},pc=typeof qe.chrome<"u"&&!!qe.chrome.devtools,qQ=y4&&qe.self!==qe.top,DS=typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");LA();var JQ=XQ(QQ(),1);function mk(){}var yk=()=>navigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),eq=/(?:^|[-_/])(\w)/g,tq=/-(\w)/g,rq=/([a-z0-9])([A-Z])/g;function b4(t,r){return r?r.toUpperCase():""}function $4(t){return t&&`${t}`.replace(eq,b4)}function nq(t){return t&&t.replace(tq,b4)}function iq(t){return t&&t.replace(rq,(r,e,n)=>`${e}-${n}`).toLowerCase()}function oq(t,r){const e=t.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),n=e.lastIndexOf("/"),i=e.substring(n+1);if(r){const o=i.lastIndexOf(r);return i.substring(0,o)}return""}function aq(t){return t&&t.slice().sort((r,e)=>r.key<e.key?-1:r.key>e.key?1:0)}var mc=(0,JQ.default)();function sq(){return Math.random().toString(36).slice(2)}LA();var yb="__vue-devtools-view-mode__",lq="__vue-devtools-broadcast-channel__";function gq(t){return{all:t=t||new Map,on:function(r,e){var n=t.get(r);n?n.push(e):t.set(r,[e])},off:function(r,e){var n=t.get(r);n&&(e?n.splice(n.indexOf(e)>>>0,1):t.set(r,[]))},emit:function(r,e){var n=t.get(r);n&&n.slice().map(function(i){i(e)}),(n=t.get("*"))&&n.slice().map(function(i){i(r,e)})}}}var jr=(t=>(t.APP_INIT="app:init",t.APP_UNMOUNT="app:unmount",t.COMPONENT_UPDATED="component:updated",t.COMPONENT_ADDED="component:added",t.COMPONENT_REMOVED="component:removed",t.COMPONENT_EMIT="component:emit",t.PERFORMANCE_START="perf:start",t.PERFORMANCE_END="perf:end",t.ADD_ROUTE="router:add-route",t.REMOVE_ROUTE="router:remove-route",t.RENDER_TRACKED="render:tracked",t.RENDER_TRIGGERED="render:triggered",t.APP_CONNECTED="app:connected",t.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",t))(jr||{});const uq={trailing:!0};function Qh(t,r=25,e={}){if(e={...uq,...e},!Number.isFinite(r))throw new TypeError("Expected `wait` to be a finite number");let n,i,o=[],a,s;const l=(g,u)=>(a=cq(t,g,u),a.finally(()=>{if(a=null,e.trailing&&s&&!i){const c=l(g,s);return s=null,c}}),a);return function(...g){return a?(e.trailing&&(s=g),a):new Promise(u=>{const c=!i&&e.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const d=e.leading?n:l(this,g);for(const h of o)h(d);o=[]},r),c?(n=l(this,g),u(n)):o.push(u)})}}async function cq(t,r,e){return await t.apply(r,e)}function Dw(t,r={},e){for(const n in t){const i=t[n],o=e?`${e}:${n}`:n;typeof i=="object"&&i!==null?Dw(i,r,o):typeof i=="function"&&(r[o]=i)}return r}const dq={run:t=>t()},hq=()=>dq,w4=typeof console.createTask<"u"?console.createTask:hq;function Aq(t,r){const e=r.shift(),n=w4(e);return t.reduce((i,o)=>i.then(()=>n.run(()=>o(...r))),Promise.resolve())}function fq(t,r){const e=r.shift(),n=w4(e);return Promise.all(t.map(i=>n.run(()=>i(...r))))}function bb(t,r){for(const e of[...t])e(r)}class Cq{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,e,n={}){if(!r||typeof e!="function")return()=>{};const i=r;let o;for(;this._deprecatedHooks[r];)o=this._deprecatedHooks[r],r=o.to;if(o&&!n.allowDeprecated){let a=o.message;a||(a=`${i} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(e),()=>{e&&(this.removeHook(r,e),e=void 0)}}hookOnce(r,e){let n,i=(...o)=>(typeof n=="function"&&n(),n=void 0,i=void 0,e(...o));return n=this.hook(r,i),n}removeHook(r,e){if(this._hooks[r]){const n=this._hooks[r].indexOf(e);n!==-1&&this._hooks[r].splice(n,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,e){this._deprecatedHooks[r]=typeof e=="string"?{to:e}:e;const n=this._hooks[r]||[];delete this._hooks[r];for(const i of n)this.hook(r,i)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const e in r)this.deprecateHook(e,r[e])}addHooks(r){const e=Dw(r),n=Object.keys(e).map(i=>this.hook(i,e[i]));return()=>{for(const i of n.splice(0,n.length))i()}}removeHooks(r){const e=Dw(r);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...e){return e.unshift(r),this.callHookWith(Aq,r,...e)}callHookParallel(r,...e){return e.unshift(r),this.callHookWith(fq,r,...e)}callHookWith(r,e,...n){const i=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&bb(this._before,i);const o=r(e in this._hooks?[...this._hooks[e]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&i&&bb(this._after,i)}):(this._after&&i&&bb(this._after,i),o)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const e=this._before.indexOf(r);e!==-1&&this._before.splice(e,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const e=this._after.indexOf(r);e!==-1&&this._after.splice(e,1)}}}}function _4(){return new Cq}function NS(t,r){const e=new Set(t.split(","));return r?n=>e.has(n.toLowerCase()):n=>e.has(n)}const er={},nc=[],Fi=()=>{},Iq=()=>!1,lm=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),MS=t=>t.startsWith("onUpdate:"),Gr=Object.assign,BS=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},vq=Object.prototype.hasOwnProperty,$t=(t,r)=>vq.call(t,r),Le=Array.isArray,ic=t=>zA(t)==="[object Map]",id=t=>zA(t)==="[object Set]",bk=t=>zA(t)==="[object Date]",et=t=>typeof t=="function",cr=t=>typeof t=="string",Zs=t=>typeof t=="symbol",Gt=t=>t!==null&&typeof t=="object",E4=t=>(Gt(t)||et(t))&&et(t.then)&&et(t.catch),S4=Object.prototype.toString,zA=t=>S4.call(t),pq=t=>zA(t).slice(8,-1),T4=t=>zA(t)==="[object Object]",FS=t=>cr(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,tv=NS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gm=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},mq=/-(\w)/g,qo=gm(t=>t.replace(mq,(r,e)=>e?e.toUpperCase():"")),yq=/\B([A-Z])/g,Bg=gm(t=>t.replace(yq,"-$1").toLowerCase()),um=gm(t=>t.charAt(0).toUpperCase()+t.slice(1)),rv=gm(t=>t?`on${um(t)}`:""),Ks=(t,r)=>!Object.is(t,r),nv=(t,r)=>{for(let e=0;e<t.length;e++)t[e](r)},Vv=(t,r,e)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},Gv=t=>{const r=parseFloat(t);return isNaN(r)?t:r},bq=t=>{const r=cr(t)?Number(t):NaN;return isNaN(r)?t:r};let $k;const O4=()=>$k||($k=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _r(t){if(Le(t)){const r={};for(let e=0;e<t.length;e++){const n=t[e],i=cr(n)?Eq(n):_r(n);if(i)for(const o in i)r[o]=i[o]}return r}else if(cr(t)||Gt(t))return t}const $q=/;(?![^(]*\))/g,wq=/:([^]+)/,_q=/\/\*[^]*?\*\//g;function Eq(t){const r={};return t.replace(_q,"").split($q).forEach(e=>{if(e){const n=e.split(wq);n.length>1&&(r[n[0].trim()]=n[1].trim())}}),r}function _e(t){let r="";if(cr(t))r=t;else if(Le(t))for(let e=0;e<t.length;e++){const n=_e(t[e]);n&&(r+=n+" ")}else if(Gt(t))for(const e in t)t[e]&&(r+=e+" ");return r.trim()}function jA(t){if(!t)return null;let{class:r,style:e}=t;return r&&!cr(r)&&(t.class=_e(r)),e&&(t.style=_r(e)),t}const Sq="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tq=NS(Sq);function k4(t){return!!t||t===""}function Oq(t,r){if(t.length!==r.length)return!1;let e=!0;for(let n=0;e&&n<t.length;n++)e=pg(t[n],r[n]);return e}function pg(t,r){if(t===r)return!0;let e=bk(t),n=bk(r);if(e||n)return e&&n?t.getTime()===r.getTime():!1;if(e=Zs(t),n=Zs(r),e||n)return t===r;if(e=Le(t),n=Le(r),e||n)return e&&n?Oq(t,r):!1;if(e=Gt(t),n=Gt(r),e||n){if(!e||!n)return!1;const i=Object.keys(t).length,o=Object.keys(r).length;if(i!==o)return!1;for(const a in t){const s=t.hasOwnProperty(a),l=r.hasOwnProperty(a);if(s&&!l||!s&&l||!pg(t[a],r[a]))return!1}}return String(t)===String(r)}function LS(t,r){return t.findIndex(e=>pg(e,r))}const we=t=>cr(t)?t:t==null?"":Le(t)||Gt(t)&&(t.toString===S4||!et(t.toString))?JSON.stringify(t,x4,2):String(t),x4=(t,r)=>r&&r.__v_isRef?x4(t,r.value):ic(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[n,i],o)=>(e[$b(n,o)+" =>"]=i,e),{})}:id(r)?{[`Set(${r.size})`]:[...r.values()].map(e=>$b(e))}:Zs(r)?$b(r):Gt(r)&&!Le(r)&&!T4(r)?String(r):r,$b=(t,r="")=>{var e;return Zs(t)?`Symbol(${(e=t.description)!=null?e:r})`:t};let Ai;class kq{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ai,!r&&Ai&&(this.index=(Ai.scopes||(Ai.scopes=[])).push(this)-1)}get active(){return this._active}run(r){if(this._active){const e=Ai;try{return Ai=this,r()}finally{Ai=e}}}on(){Ai=this}off(){Ai=this.parent}stop(r){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!r){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function xq(t,r=Ai){r&&r.active&&r.effects.push(t)}function P4(){return Ai}function R4(t){Ai&&Ai.cleanups.push(t)}let Ql;class zS{constructor(r,e,n,i){this.fn=r,this.trigger=e,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,xq(this,i)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,Fg();for(const r of this.deps)if(r.computed&&(Pq(r.computed),this._dirtyLevel>=2))break;Lg(),this._queryings--}return this._dirtyLevel>=2}set dirty(r){this._dirtyLevel=r?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let r=Os,e=Ql;try{return Os=!0,Ql=this,this._runnings++,wk(this),this.fn()}finally{_k(this),this._runnings--,Ql=e,Os=r}}stop(){var r;this.active&&(wk(this),_k(this),(r=this.onStop)==null||r.call(this),this.active=!1)}}function Pq(t){return t.value}function wk(t){t._trackId++,t._depsLength=0}function _k(t){if(t.deps&&t.deps.length>t._depsLength){for(let r=t._depsLength;r<t.deps.length;r++)D4(t.deps[r],t);t.deps.length=t._depsLength}}function D4(t,r){const e=t.get(r);e!==void 0&&r._trackId!==e&&(t.delete(r),t.size===0&&t.cleanup())}let Os=!0,Nw=0;const N4=[];function Fg(){N4.push(Os),Os=!1}function Lg(){const t=N4.pop();Os=t===void 0?!0:t}function jS(){Nw++}function VS(){for(Nw--;!Nw&&Mw.length;)Mw.shift()()}function M4(t,r,e){if(r.get(t)!==t._trackId){r.set(t,t._trackId);const n=t.deps[t._depsLength];n!==r?(n&&D4(n,t),t.deps[t._depsLength++]=r):t._depsLength++}}const Mw=[];function B4(t,r,e){jS();for(const n of t.keys())if(!(!n.allowRecurse&&n._runnings)&&n._dirtyLevel<r&&(!n._runnings||r!==2)){const i=n._dirtyLevel;n._dirtyLevel=r,i===0&&(!n._queryings||r!==2)&&(n.trigger(),n.scheduler&&Mw.push(n.scheduler))}VS()}const F4=(t,r)=>{const e=new Map;return e.cleanup=t,e.computed=r,e},Wv=new WeakMap,ql=Symbol(""),Bw=Symbol("");function ei(t,r,e){if(Os&&Ql){let n=Wv.get(t);n||Wv.set(t,n=new Map);let i=n.get(e);i||n.set(e,i=F4(()=>n.delete(e))),M4(Ql,i)}}function va(t,r,e,n,i,o){const a=Wv.get(t);if(!a)return;let s=[];if(r==="clear")s=[...a.values()];else if(e==="length"&&Le(t)){const l=Number(n);a.forEach((g,u)=>{(u==="length"||!Zs(u)&&u>=l)&&s.push(g)})}else switch(e!==void 0&&s.push(a.get(e)),r){case"add":Le(t)?FS(e)&&s.push(a.get("length")):(s.push(a.get(ql)),ic(t)&&s.push(a.get(Bw)));break;case"delete":Le(t)||(s.push(a.get(ql)),ic(t)&&s.push(a.get(Bw)));break;case"set":ic(t)&&s.push(a.get(ql));break}jS();for(const l of s)l&&B4(l,3);VS()}function Rq(t,r){var e;return(e=Wv.get(t))==null?void 0:e.get(r)}const Dq=NS("__proto__,__v_isRef,__isVue"),L4=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zs)),Ek=Nq();function Nq(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const n=Ct(this);for(let o=0,a=this.length;o<a;o++)ei(n,"get",o+"");const i=n[r](...e);return i===-1||i===!1?n[r](...e.map(Ct)):i}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...e){Fg(),jS();const n=Ct(this)[r].apply(this,e);return VS(),Lg(),n}}),t}function Mq(t){const r=Ct(this);return ei(r,"has",t),r.hasOwnProperty(t)}class z4{constructor(r=!1,e=!1){this._isReadonly=r,this._shallow=e}get(r,e,n){const i=this._isReadonly,o=this._shallow;if(e==="__v_isReactive")return!i;if(e==="__v_isReadonly")return i;if(e==="__v_isShallow")return o;if(e==="__v_raw")return n===(i?o?Yq:W4:o?G4:V4).get(r)||Object.getPrototypeOf(r)===Object.getPrototypeOf(n)?r:void 0;const a=Le(r);if(!i){if(a&&$t(Ek,e))return Reflect.get(Ek,e,n);if(e==="hasOwnProperty")return Mq}const s=Reflect.get(r,e,n);return(Zs(e)?L4.has(e):Dq(e))||(i||ei(r,"get",e),o)?s:ze(s)?a&&FS(e)?s:s.value:Gt(s)?i?Va(s):Ys(s):s}}class j4 extends z4{constructor(r=!1){super(!1,r)}set(r,e,n,i){let o=r[e];if(!this._shallow){const l=yc(o);if(!Hv(n)&&!yc(n)&&(o=Ct(o),n=Ct(n)),!Le(r)&&ze(o)&&!ze(n))return l?!1:(o.value=n,!0)}const a=Le(r)&&FS(e)?Number(e)<r.length:$t(r,e),s=Reflect.set(r,e,n,i);return r===Ct(i)&&(a?Ks(n,o)&&va(r,"set",e,n):va(r,"add",e,n)),s}deleteProperty(r,e){const n=$t(r,e);r[e];const i=Reflect.deleteProperty(r,e);return i&&n&&va(r,"delete",e,void 0),i}has(r,e){const n=Reflect.has(r,e);return(!Zs(e)||!L4.has(e))&&ei(r,"has",e),n}ownKeys(r){return ei(r,"iterate",Le(r)?"length":ql),Reflect.ownKeys(r)}}class Bq extends z4{constructor(r=!1){super(!0,r)}set(r,e){return!0}deleteProperty(r,e){return!0}}const Fq=new j4,Lq=new Bq,zq=new j4(!0),GS=t=>t,cm=t=>Reflect.getPrototypeOf(t);function yC(t,r,e=!1,n=!1){t=t.__v_raw;const i=Ct(t),o=Ct(r);e||(Ks(r,o)&&ei(i,"get",r),ei(i,"get",o));const{has:a}=cm(i),s=n?GS:e?KS:qh;if(a.call(i,r))return s(t.get(r));if(a.call(i,o))return s(t.get(o));t!==i&&t.get(r)}function bC(t,r=!1){const e=this.__v_raw,n=Ct(e),i=Ct(t);return r||(Ks(t,i)&&ei(n,"has",t),ei(n,"has",i)),t===i?e.has(t):e.has(t)||e.has(i)}function $C(t,r=!1){return t=t.__v_raw,!r&&ei(Ct(t),"iterate",ql),Reflect.get(t,"size",t)}function Sk(t){t=Ct(t);const r=Ct(this);return cm(r).has.call(r,t)||(r.add(t),va(r,"add",t,t)),this}function Tk(t,r){r=Ct(r);const e=Ct(this),{has:n,get:i}=cm(e);let o=n.call(e,t);o||(t=Ct(t),o=n.call(e,t));const a=i.call(e,t);return e.set(t,r),o?Ks(r,a)&&va(e,"set",t,r):va(e,"add",t,r),this}function Ok(t){const r=Ct(this),{has:e,get:n}=cm(r);let i=e.call(r,t);i||(t=Ct(t),i=e.call(r,t)),n&&n.call(r,t);const o=r.delete(t);return i&&va(r,"delete",t,void 0),o}function kk(){const t=Ct(this),r=t.size!==0,e=t.clear();return r&&va(t,"clear",void 0,void 0),e}function wC(t,r){return function(n,i){const o=this,a=o.__v_raw,s=Ct(a),l=r?GS:t?KS:qh;return!t&&ei(s,"iterate",ql),a.forEach((g,u)=>n.call(i,l(g),l(u),o))}}function _C(t,r,e){return function(...n){const i=this.__v_raw,o=Ct(i),a=ic(o),s=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,g=i[t](...n),u=e?GS:r?KS:qh;return!r&&ei(o,"iterate",l?Bw:ql),{next(){const{value:c,done:d}=g.next();return d?{value:c,done:d}:{value:s?[u(c[0]),u(c[1])]:u(c),done:d}},[Symbol.iterator](){return this}}}}function Qa(t){return function(...r){return t==="delete"?!1:t==="clear"?void 0:this}}function jq(){const t={get(o){return yC(this,o)},get size(){return $C(this)},has:bC,add:Sk,set:Tk,delete:Ok,clear:kk,forEach:wC(!1,!1)},r={get(o){return yC(this,o,!1,!0)},get size(){return $C(this)},has:bC,add:Sk,set:Tk,delete:Ok,clear:kk,forEach:wC(!1,!0)},e={get(o){return yC(this,o,!0)},get size(){return $C(this,!0)},has(o){return bC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:wC(!0,!1)},n={get(o){return yC(this,o,!0,!0)},get size(){return $C(this,!0)},has(o){return bC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:wC(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=_C(o,!1,!1),e[o]=_C(o,!0,!1),r[o]=_C(o,!1,!0),n[o]=_C(o,!0,!0)}),[t,e,r,n]}const[Vq,Gq,Wq,Hq]=jq();function WS(t,r){const e=r?t?Hq:Wq:t?Gq:Vq;return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get($t(e,i)&&i in n?e:n,i,o)}const Uq={get:WS(!1,!1)},Zq={get:WS(!1,!0)},Kq={get:WS(!0,!1)},V4=new WeakMap,G4=new WeakMap,W4=new WeakMap,Yq=new WeakMap;function Xq(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qq(t){return t.__v_skip||!Object.isExtensible(t)?0:Xq(pq(t))}function Ys(t){return yc(t)?t:US(t,!1,Fq,Uq,V4)}function HS(t){return US(t,!1,zq,Zq,G4)}function Va(t){return US(t,!0,Lq,Kq,W4)}function US(t,r,e,n,i){if(!Gt(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const a=Qq(t);if(a===0)return t;const s=new Proxy(t,a===2?n:e);return i.set(t,s),s}function Jl(t){return yc(t)?Jl(t.__v_raw):!!(t&&t.__v_isReactive)}function yc(t){return!!(t&&t.__v_isReadonly)}function Hv(t){return!!(t&&t.__v_isShallow)}function H4(t){return Jl(t)||yc(t)}function Ct(t){const r=t&&t.__v_raw;return r?Ct(r):t}function ZS(t){return Vv(t,"__v_skip",!0),t}const qh=t=>Gt(t)?Ys(t):t,KS=t=>Gt(t)?Va(t):t;class U4{constructor(r,e,n,i){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zS(()=>r(this._value),()=>Uv(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const r=Ct(this);return YS(r),(!r._cacheable||r.effect.dirty)&&Ks(r._value,r._value=r.effect.run())&&Uv(r,2),r._value}set value(r){this._setter(r)}get _dirty(){return this.effect.dirty}set _dirty(r){this.effect.dirty=r}}function qq(t,r,e=!1){let n,i;const o=et(t);return o?(n=t,i=Fi):(n=t.get,i=t.set),new U4(n,i,o||!i,e)}function YS(t){Os&&Ql&&(t=Ct(t),M4(Ql,t.dep||(t.dep=F4(()=>t.dep=void 0,t instanceof U4?t:void 0))))}function Uv(t,r=3,e){t=Ct(t);const n=t.dep;n&&B4(n,r)}function ze(t){return!!(t&&t.__v_isRef===!0)}function U(t){return Z4(t,!1)}function na(t){return Z4(t,!0)}function Z4(t,r){return ze(t)?t:new Jq(t,r)}class Jq{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:Ct(r),this._value=e?r:qh(r)}get value(){return YS(this),this._value}set value(r){const e=this.__v_isShallow||Hv(r)||yc(r);r=e?r:Ct(r),Ks(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:qh(r),Uv(this,3))}}function y(t){return ze(t)?t.value:t}function Fw(t){return et(t)?t():y(t)}const eJ={get:(t,r,e)=>y(Reflect.get(t,r,e)),set:(t,r,e,n)=>{const i=t[r];return ze(i)&&!ze(e)?(i.value=e,!0):Reflect.set(t,r,e,n)}};function K4(t){return Jl(t)?t:new Proxy(t,eJ)}class tJ{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:n}=r(()=>YS(this),()=>Uv(this));this._get=e,this._set=n}get value(){return this._get()}set value(r){this._set(r)}}function XS(t){return new tJ(t)}function xk(t){const r=Le(t)?new Array(t.length):{};for(const e in t)r[e]=X4(t,e);return r}class rJ{constructor(r,e,n){this._object=r,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const r=this._object[this._key];return r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}get dep(){return Rq(Ct(this._object),this._key)}}class nJ{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Y4(t,r,e){return ze(t)?t:et(t)?new nJ(t):Gt(t)&&arguments.length>1?X4(t,r,e):U(t)}function X4(t,r,e){const n=t[r];return ze(n)?n:new rJ(t,r,e)}function ks(t,r,e,n){let i;try{i=n?t(...n):t()}catch(o){VA(o,r,e)}return i}function zi(t,r,e,n){if(et(t)){const o=ks(t,r,e,n);return o&&E4(o)&&o.catch(a=>{VA(a,r,e)}),o}const i=[];for(let o=0;o<t.length;o++)i.push(zi(t[o],r,e,n));return i}function VA(t,r,e,n=!0){const i=r?r.vnode:null;if(r){let o=r.parent;const a=r.proxy,s=`https://vuejs.org/errors/#runtime-${e}`;for(;o;){const g=o.ec;if(g){for(let u=0;u<g.length;u++)if(g[u](t,a,s)===!1)return}o=o.parent}const l=r.appContext.config.errorHandler;if(l){ks(l,null,10,[t,a,s]);return}}iJ(t,e,i,n)}function iJ(t,r,e,n=!0){console.error(t)}let Jh=!1,Lw=!1;const bn=[];let Ro=0;const oc=[];let Aa=null,zl=0;const Q4=Promise.resolve();let QS=null;function wn(t){const r=QS||Q4;return t?r.then(this?t.bind(this):t):r}function oJ(t){let r=Ro+1,e=bn.length;for(;r<e;){const n=r+e>>>1,i=bn[n],o=eA(i);o<t||o===t&&i.pre?r=n+1:e=n}return r}function dm(t){(!bn.length||!bn.includes(t,Jh&&t.allowRecurse?Ro+1:Ro))&&(t.id==null?bn.push(t):bn.splice(oJ(t.id),0,t),q4())}function q4(){!Jh&&!Lw&&(Lw=!0,QS=Q4.then(ej))}function aJ(t){const r=bn.indexOf(t);r>Ro&&bn.splice(r,1)}function sJ(t){Le(t)?oc.push(...t):(!Aa||!Aa.includes(t,t.allowRecurse?zl+1:zl))&&oc.push(t),q4()}function Pk(t,r,e=Jh?Ro+1:0){for(;e<bn.length;e++){const n=bn[e];if(n&&n.pre){if(t&&n.id!==t.uid)continue;bn.splice(e,1),e--,n()}}}function J4(t){if(oc.length){const r=[...new Set(oc)];if(oc.length=0,Aa){Aa.push(...r);return}for(Aa=r,Aa.sort((e,n)=>eA(e)-eA(n)),zl=0;zl<Aa.length;zl++)Aa[zl]();Aa=null,zl=0}}const eA=t=>t.id==null?1/0:t.id,lJ=(t,r)=>{const e=eA(t)-eA(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function ej(t){Lw=!1,Jh=!0,bn.sort(lJ);try{for(Ro=0;Ro<bn.length;Ro++){const r=bn[Ro];r&&r.active!==!1&&ks(r,null,14)}}finally{Ro=0,bn.length=0,J4(),Jh=!1,QS=null,(bn.length||oc.length)&&ej()}}function gJ(t,r,...e){if(t.isUnmounted)return;const n=t.vnode.props||er;let i=e;const o=r.startsWith("update:"),a=o&&r.slice(7);if(a&&a in n){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:c,trim:d}=n[u]||er;d&&(i=e.map(h=>cr(h)?h.trim():h)),c&&(i=e.map(Gv))}let s,l=n[s=rv(r)]||n[s=rv(qo(r))];!l&&o&&(l=n[s=rv(Bg(r))]),l&&zi(l,t,6,i);const g=n[s+"Once"];if(g){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,zi(g,t,6,i)}}function tj(t,r,e=!1){const n=r.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let a={},s=!1;if(!et(t)){const l=g=>{const u=tj(g,r,!0);u&&(s=!0,Gr(a,u))};!e&&r.mixins.length&&r.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!s?(Gt(t)&&n.set(t,null),null):(Le(o)?o.forEach(l=>a[l]=null):Gr(a,o),Gt(t)&&n.set(t,a),a)}function hm(t,r){return!t||!lm(r)?!1:(r=r.slice(2).replace(/Once$/,""),$t(t,r[0].toLowerCase()+r.slice(1))||$t(t,Bg(r))||$t(t,r))}let vn=null,Am=null;function Zv(t){const r=vn;return vn=t,Am=t&&t.type.__scopeId||null,r}function fm(t){Am=t}function Cm(){Am=null}const rj=t=>G;function G(t,r=vn,e){if(!r||t._n)return t;const n=(...i)=>{n._d&&Uk(-1);const o=Zv(r);let a;try{a=t(...i)}finally{Zv(o),n._d&&Uk(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function wb(t){const{type:r,vnode:e,proxy:n,withProxy:i,props:o,propsOptions:[a],slots:s,attrs:l,emit:g,render:u,renderCache:c,data:d,setupState:h,ctx:A,inheritAttrs:f}=t;let C,I;const v=Zv(t);try{if(e.shapeFlag&4){const m=i||n,b=m;C=xo(u.call(b,m,c,o,h,d,A)),I=l}else{const m=r;C=xo(m.length>1?m(o,{attrs:l,slots:s,emit:g}):m(o,null)),I=r.props?l:uJ(l)}}catch(m){_h.length=0,VA(m,t,1),C=z(ji)}let p=C;if(I&&f!==!1){const m=Object.keys(I),{shapeFlag:b}=p;m.length&&b&7&&(a&&m.some(MS)&&(I=cJ(I,a)),p=Qs(p,I))}return e.dirs&&(p=Qs(p),p.dirs=p.dirs?p.dirs.concat(e.dirs):e.dirs),e.transition&&(p.transition=e.transition),C=p,Zv(v),C}const uJ=t=>{let r;for(const e in t)(e==="class"||e==="style"||lm(e))&&((r||(r={}))[e]=t[e]);return r},cJ=(t,r)=>{const e={};for(const n in t)(!MS(n)||!(n.slice(9)in r))&&(e[n]=t[n]);return e};function dJ(t,r,e){const{props:n,children:i,component:o}=t,{props:a,children:s,patchFlag:l}=r,g=o.emitsOptions;if(r.dirs||r.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?Rk(n,a,g):!!a;if(l&8){const u=r.dynamicProps;for(let c=0;c<u.length;c++){const d=u[c];if(a[d]!==n[d]&&!hm(g,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:n===a?!1:n?a?Rk(n,a,g):!0:!!a;return!1}function Rk(t,r,e){const n=Object.keys(r);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(r[o]!==t[o]&&!hm(e,o))return!0}return!1}function hJ({vnode:t,parent:r},e){if(e)for(;r;){const n=r.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=r.vnode).el=e,r=r.parent;else break}}const qS="components",AJ="directives";function bi(t,r){return JS(qS,t,!0,r)||t}const nj=Symbol.for("v-ndc");function Xs(t){return cr(t)?JS(qS,t,!1)||t:t||nj}function Im(t){return JS(AJ,t)}function JS(t,r,e=!0,n=!1){const i=vn||Qr;if(i){const o=i.type;if(t===qS){const s=cee(o,!1);if(s&&(s===r||s===qo(r)||s===um(qo(r))))return o}const a=Dk(i[t]||o[t],r)||Dk(i.appContext[t],r);return!a&&n?o:a}}function Dk(t,r){return t&&(t[r]||t[qo(r)]||t[um(qo(r))])}const fJ=t=>t.__isSuspense;function CJ(t,r){r&&r.pendingBranch?Le(t)?r.effects.push(...t):r.effects.push(t):sJ(t)}const IJ=Symbol.for("v-scx"),vJ=()=>Er(IJ);function Nn(t,r){return e2(t,null,r)}const EC={};function rt(t,r,e){return e2(t,r,e)}function e2(t,r,{immediate:e,deep:n,flush:i,once:o,onTrack:a,onTrigger:s}=er){if(r&&o){const b=r;r=(...S)=>{b(...S),m()}}const l=Qr,g=b=>n===!0?b:Wl(b,n===!1?1:void 0);let u,c=!1,d=!1;if(ze(t)?(u=()=>t.value,c=Hv(t)):Jl(t)?(u=()=>g(t),c=!0):Le(t)?(d=!0,c=t.some(b=>Jl(b)||Hv(b)),u=()=>t.map(b=>{if(ze(b))return b.value;if(Jl(b))return g(b);if(et(b))return ks(b,l,2)})):et(t)?r?u=()=>ks(t,l,2):u=()=>(h&&h(),zi(t,l,3,[A])):u=Fi,r&&n){const b=u;u=()=>Wl(b())}let h,A=b=>{h=p.onStop=()=>{ks(b,l,4),h=p.onStop=void 0}},f;if(HA)if(A=Fi,r?e&&zi(r,l,3,[u(),d?[]:void 0,A]):u(),i==="sync"){const b=vJ();f=b.__watcherHandles||(b.__watcherHandles=[])}else return Fi;let C=d?new Array(t.length).fill(EC):EC;const I=()=>{if(!(!p.active||!p.dirty))if(r){const b=p.run();(n||c||(d?b.some((S,N)=>Ks(S,C[N])):Ks(b,C)))&&(h&&h(),zi(r,l,3,[b,C===EC?void 0:d&&C[0]===EC?[]:C,A]),C=b)}else p.run()};I.allowRecurse=!!r;let v;i==="sync"?v=I:i==="post"?v=()=>Un(I,l&&l.suspense):(I.pre=!0,l&&(I.id=l.uid),v=()=>dm(I));const p=new zS(u,Fi,v),m=()=>{p.stop(),l&&l.scope&&BS(l.scope.effects,p)};return r?e?I():C=p.run():i==="post"?Un(p.run.bind(p),l&&l.suspense):p.run(),f&&f.push(m),m}function pJ(t,r,e){const n=this.proxy,i=cr(t)?t.includes(".")?ij(n,t):()=>n[t]:t.bind(n,n);let o;et(r)?o=r:(o=r.handler,e=r);const a=Qr;bc(this);const s=e2(i,o.bind(n),e);return a?bc(a):eg(),s}function ij(t,r){const e=r.split(".");return()=>{let n=t;for(let i=0;i<e.length&&n;i++)n=n[e[i]];return n}}function Wl(t,r,e=0,n){if(!Gt(t)||t.__v_skip)return t;if(r&&r>0){if(e>=r)return t;e++}if(n=n||new Set,n.has(t))return t;if(n.add(t),ze(t))Wl(t.value,r,e,n);else if(Le(t))for(let i=0;i<t.length;i++)Wl(t[i],r,e,n);else if(id(t)||ic(t))t.forEach(i=>{Wl(i,r,e,n)});else if(T4(t))for(const i in t)Wl(t[i],r,e,n);return t}function rn(t,r){const e=vn;if(e===null)return t;const n=ym(e)||e.proxy,i=t.dirs||(t.dirs=[]);for(let o=0;o<r.length;o++){let[a,s,l,g=er]=r[o];a&&(et(a)&&(a={mounted:a,updated:a}),a.deep&&Wl(s),i.push({dir:a,instance:n,value:s,oldValue:void 0,arg:l,modifiers:g}))}return t}function Tl(t,r,e,n){const i=t.dirs,o=r&&r.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let l=s.dir[n];l&&(Fg(),zi(l,e,8,[t.el,s,t,r]),Lg())}}const ds=Symbol("_leaveCb"),SC=Symbol("_enterCb");function mJ(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wi(()=>{t.isMounted=!0}),gj(()=>{t.isUnmounting=!0}),t}const ki=[Function,Array],oj={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ki,onEnter:ki,onAfterEnter:ki,onEnterCancelled:ki,onBeforeLeave:ki,onLeave:ki,onAfterLeave:ki,onLeaveCancelled:ki,onBeforeAppear:ki,onAppear:ki,onAfterAppear:ki,onAppearCancelled:ki},yJ={name:"BaseTransition",props:oj,setup(t,{slots:r}){const e=sl(),n=mJ();let i;return()=>{const o=r.default&&sj(r.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const f of o)if(f.type!==ji){a=f;break}}const s=Ct(t),{mode:l}=s;if(n.isLeaving)return _b(a);const g=Nk(a);if(!g)return _b(a);const u=zw(g,s,n,e);jw(g,u);const c=e.subTree,d=c&&Nk(c);let h=!1;const{getTransitionKey:A}=g.type;if(A){const f=A();i===void 0?i=f:f!==i&&(i=f,h=!0)}if(d&&d.type!==ji&&(!jl(g,d)||h)){const f=zw(d,s,n,e);if(jw(d,f),l==="out-in")return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.update.active!==!1&&(e.effect.dirty=!0,e.update())},_b(a);l==="in-out"&&g.type!==ji&&(f.delayLeave=(C,I,v)=>{const p=aj(n,d);p[String(d.key)]=d,C[ds]=()=>{I(),C[ds]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return a}}},bJ=yJ;function aj(t,r){const{leavingVNodes:e}=t;let n=e.get(r.type);return n||(n=Object.create(null),e.set(r.type,n)),n}function zw(t,r,e,n){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:g,onEnterCancelled:u,onBeforeLeave:c,onLeave:d,onAfterLeave:h,onLeaveCancelled:A,onBeforeAppear:f,onAppear:C,onAfterAppear:I,onAppearCancelled:v}=r,p=String(t.key),m=aj(e,t),b=(k,_)=>{k&&zi(k,n,9,_)},S=(k,_)=>{const T=_[1];b(k,_),Le(k)?k.every(P=>P.length<=1)&&T():k.length<=1&&T()},N={mode:o,persisted:a,beforeEnter(k){let _=s;if(!e.isMounted)if(i)_=f||s;else return;k[ds]&&k[ds](!0);const T=m[p];T&&jl(t,T)&&T.el[ds]&&T.el[ds](),b(_,[k])},enter(k){let _=l,T=g,P=u;if(!e.isMounted)if(i)_=C||l,T=I||g,P=v||u;else return;let R=!1;const L=k[SC]=te=>{R||(R=!0,te?b(P,[k]):b(T,[k]),N.delayedLeave&&N.delayedLeave(),k[SC]=void 0)};_?S(_,[k,L]):L()},leave(k,_){const T=String(t.key);if(k[SC]&&k[SC](!0),e.isUnmounting)return _();b(c,[k]);let P=!1;const R=k[ds]=L=>{P||(P=!0,_(),L?b(A,[k]):b(h,[k]),k[ds]=void 0,m[T]===t&&delete m[T])};m[T]=t,d?S(d,[k,R]):R()},clone(k){return zw(k,r,e,n)}};return N}function _b(t){if(GA(t))return t=Qs(t),t.children=null,t}function Nk(t){return GA(t)?t.children?t.children[0]:void 0:t}function jw(t,r){t.shapeFlag&6&&t.component?jw(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function sj(t,r=!1,e){let n=[],i=0;for(let o=0;o<t.length;o++){let a=t[o];const s=e==null?a.key:String(e)+String(a.key!=null?a.key:o);a.type===ye?(a.patchFlag&128&&i++,n=n.concat(sj(a.children,r,s))):(r||a.type!==ji)&&n.push(s!=null?Qs(a,{key:s}):a)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function $e(t,r){return et(t)?Gr({name:t.name},r,{setup:t}):t}const bh=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function $J(t){et(t)&&(t={loader:t});const{loader:r,loadingComponent:e,errorComponent:n,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=t;let l=null,g,u=0;const c=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=r().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),s)return new Promise((f,C)=>{s(A,()=>f(c()),()=>C(A),u+1)});throw A}).then(A=>h!==l&&l?l:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),g=A,A)))};return $e({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return g},setup(){const h=Qr;if(g)return()=>Eb(g,h);const A=v=>{l=null,VA(v,h,13,!n)};if(a&&h.suspense||HA)return d().then(v=>()=>Eb(v,h)).catch(v=>(A(v),()=>n?z(n,{error:v}):null));const f=U(!1),C=U(),I=U(!!i);return i&&setTimeout(()=>{I.value=!1},i),o!=null&&setTimeout(()=>{if(!f.value&&!C.value){const v=new Error(`Async component timed out after ${o}ms.`);A(v),C.value=v}},o),d().then(()=>{f.value=!0,h.parent&&GA(h.parent.vnode)&&(h.parent.effect.dirty=!0,dm(h.parent.update))}).catch(v=>{A(v),C.value=v}),()=>{if(f.value&&g)return Eb(g,h);if(C.value&&n)return z(n,{error:C.value});if(e&&!I.value)return z(e)}}})}function Eb(t,r){const{ref:e,props:n,children:i,ce:o}=r.vnode,a=z(t,n,i);return a.ref=e,a.ce=o,delete r.vnode.ce,a}const GA=t=>t.type.__isKeepAlive;function wJ(t,r){lj(t,"a",r)}function _J(t,r){lj(t,"da",r)}function lj(t,r,e=Qr){const n=t.__wdc||(t.__wdc=()=>{let i=e;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(vm(r,n,e),e){let i=e.parent;for(;i&&i.parent;)GA(i.parent.vnode)&&EJ(n,r,e,i),i=i.parent}}function EJ(t,r,e,n){const i=vm(r,t,n,!0);WA(()=>{BS(n[r],i)},e)}function vm(t,r,e=Qr,n=!1){if(e){const i=e[t]||(e[t]=[]),o=r.__weh||(r.__weh=(...a)=>{if(e.isUnmounted)return;Fg(),bc(e);const s=zi(r,e,t,a);return eg(),Lg(),s});return n?i.unshift(o):i.push(o),o}}const Ga=t=>(r,e=Qr)=>(!HA||t==="sp")&&vm(t,(...n)=>r(...n),e),SJ=Ga("bm"),wi=Ga("m"),TJ=Ga("bu"),OJ=Ga("u"),gj=Ga("bum"),WA=Ga("um"),kJ=Ga("sp"),xJ=Ga("rtg"),PJ=Ga("rtc");function RJ(t,r=Qr){vm("ec",t,r)}function vt(t,r,e,n){let i;const o=e&&e[n];if(Le(t)||cr(t)){i=new Array(t.length);for(let a=0,s=t.length;a<s;a++)i[a]=r(t[a],a,void 0,o&&o[a])}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=r(a+1,a,void 0,o&&o[a])}else if(Gt(t))if(t[Symbol.iterator])i=Array.from(t,(a,s)=>r(a,s,void 0,o&&o[s]));else{const a=Object.keys(t);i=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const g=a[s];i[s]=r(t[g],g,s,o&&o[s])}}else i=[];return e&&(e[n]=i),i}function uj(t,r){for(let e=0;e<r.length;e++){const n=r[e];if(Le(n))for(let i=0;i<n.length;i++)t[n[i].name]=n[i].fn;else n&&(t[n.name]=n.key?(...i)=>{const o=n.fn(...i);return o&&(o.key=n.key),o}:n.fn)}return t}function Xe(t,r,e={},n,i){if(vn.isCE||vn.parent&&bh(vn.parent)&&vn.parent.isCE)return r!=="default"&&(e.name=r),z("slot",e,n&&n());let o=t[r];o&&o._c&&(o._d=!1),O();const a=o&&cj(o(e)),s=ne(ye,{key:e.key||a&&a.key||`_${r}`},a||(n?n():[]),a&&t._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function cj(t){return t.some(r=>Xv(r)?!(r.type===ji||r.type===ye&&!cj(r.children)):!0)?t:null}function DJ(t,r){const e={};for(const n in t)e[r&&/[A-Z]/.test(n)?`on:${n}`:rv(n)]=t[n];return e}const Vw=t=>t?Ej(t)?ym(t)||t.proxy:Vw(t.parent):null,$h=Gr(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Vw(t.parent),$root:t=>Vw(t.root),$emit:t=>t.emit,$options:t=>t2(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,dm(t.update)}),$nextTick:t=>t.n||(t.n=wn.bind(t.proxy)),$watch:t=>pJ.bind(t)}),Sb=(t,r)=>t!==er&&!t.__isScriptSetup&&$t(t,r),NJ={get({_:t},r){const{ctx:e,setupState:n,data:i,props:o,accessCache:a,type:s,appContext:l}=t;let g;if(r[0]!=="$"){const h=a[r];if(h!==void 0)switch(h){case 1:return n[r];case 2:return i[r];case 4:return e[r];case 3:return o[r]}else{if(Sb(n,r))return a[r]=1,n[r];if(i!==er&&$t(i,r))return a[r]=2,i[r];if((g=t.propsOptions[0])&&$t(g,r))return a[r]=3,o[r];if(e!==er&&$t(e,r))return a[r]=4,e[r];Gw&&(a[r]=0)}}const u=$h[r];let c,d;if(u)return r==="$attrs"&&ei(t,"get",r),u(t);if((c=s.__cssModules)&&(c=c[r]))return c;if(e!==er&&$t(e,r))return a[r]=4,e[r];if(d=l.config.globalProperties,$t(d,r))return d[r]},set({_:t},r,e){const{data:n,setupState:i,ctx:o}=t;return Sb(i,r)?(i[r]=e,!0):n!==er&&$t(n,r)?(n[r]=e,!0):$t(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(o[r]=e,!0)},has({_:{data:t,setupState:r,accessCache:e,ctx:n,appContext:i,propsOptions:o}},a){let s;return!!e[a]||t!==er&&$t(t,a)||Sb(r,a)||(s=o[0])&&$t(s,a)||$t(n,a)||$t($h,a)||$t(i.config.globalProperties,a)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:$t(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};function dj(){return hj().slots}function MJ(){return hj().attrs}function hj(){const t=sl();return t.setupContext||(t.setupContext=Tj(t))}function Mk(t){return Le(t)?t.reduce((r,e)=>(r[e]=null,r),{}):t}let Gw=!0;function BJ(t){const r=t2(t),e=t.proxy,n=t.ctx;Gw=!1,r.beforeCreate&&Bk(r.beforeCreate,t,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:g,created:u,beforeMount:c,mounted:d,beforeUpdate:h,updated:A,activated:f,deactivated:C,beforeDestroy:I,beforeUnmount:v,destroyed:p,unmounted:m,render:b,renderTracked:S,renderTriggered:N,errorCaptured:k,serverPrefetch:_,expose:T,inheritAttrs:P,components:R,directives:L,filters:te}=r;if(g&&FJ(g,n,null),a)for(const Q in a){const Ie=a[Q];et(Ie)&&(n[Q]=Ie.bind(e))}if(i){const Q=i.call(e,e);Gt(Q)&&(t.data=Ys(Q))}if(Gw=!0,o)for(const Q in o){const Ie=o[Q],Re=et(Ie)?Ie.bind(e,e):et(Ie.get)?Ie.get.bind(e,e):Fi,We=!et(Ie)&&et(Ie.set)?Ie.set.bind(e):Fi,Fe=X({get:Re,set:We});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:me=>Fe.value=me})}if(s)for(const Q in s)Aj(s[Q],n,e,Q);if(l){const Q=et(l)?l.call(e):l;Reflect.ownKeys(Q).forEach(Ie=>{pa(Ie,Q[Ie])})}u&&Bk(u,t,"c");function V(Q,Ie){Le(Ie)?Ie.forEach(Re=>Q(Re.bind(e))):Ie&&Q(Ie.bind(e))}if(V(SJ,c),V(wi,d),V(TJ,h),V(OJ,A),V(wJ,f),V(_J,C),V(RJ,k),V(PJ,S),V(xJ,N),V(gj,v),V(WA,m),V(kJ,_),Le(T))if(T.length){const Q=t.exposed||(t.exposed={});T.forEach(Ie=>{Object.defineProperty(Q,Ie,{get:()=>e[Ie],set:Re=>e[Ie]=Re})})}else t.exposed||(t.exposed={});b&&t.render===Fi&&(t.render=b),P!=null&&(t.inheritAttrs=P),R&&(t.components=R),L&&(t.directives=L)}function FJ(t,r,e=Fi){Le(t)&&(t=Ww(t));for(const n in t){const i=t[n];let o;Gt(i)?"default"in i?o=Er(i.from||n,i.default,!0):o=Er(i.from||n):o=Er(i),ze(o)?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):r[n]=o}}function Bk(t,r,e){zi(Le(t)?t.map(n=>n.bind(r.proxy)):t.bind(r.proxy),r,e)}function Aj(t,r,e,n){const i=n.includes(".")?ij(e,n):()=>e[n];if(cr(t)){const o=r[t];et(o)&&rt(i,o)}else if(et(t))rt(i,t.bind(e));else if(Gt(t))if(Le(t))t.forEach(o=>Aj(o,r,e,n));else{const o=et(t.handler)?t.handler.bind(e):r[t.handler];et(o)&&rt(i,o,t)}}function t2(t){const r=t.type,{mixins:e,extends:n}=r,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(r);let l;return s?l=s:!i.length&&!e&&!n?l=r:(l={},i.length&&i.forEach(g=>Kv(l,g,a,!0)),Kv(l,r,a)),Gt(r)&&o.set(r,l),l}function Kv(t,r,e,n=!1){const{mixins:i,extends:o}=r;o&&Kv(t,o,e,!0),i&&i.forEach(a=>Kv(t,a,e,!0));for(const a in r)if(!(n&&a==="expose")){const s=LJ[a]||e&&e[a];t[a]=s?s(t[a],r[a]):r[a]}return t}const LJ={data:Fk,props:Lk,emits:Lk,methods:dh,computed:dh,beforeCreate:Sn,created:Sn,beforeMount:Sn,mounted:Sn,beforeUpdate:Sn,updated:Sn,beforeDestroy:Sn,beforeUnmount:Sn,destroyed:Sn,unmounted:Sn,activated:Sn,deactivated:Sn,errorCaptured:Sn,serverPrefetch:Sn,components:dh,directives:dh,watch:jJ,provide:Fk,inject:zJ};function Fk(t,r){return r?t?function(){return Gr(et(t)?t.call(this,this):t,et(r)?r.call(this,this):r)}:r:t}function zJ(t,r){return dh(Ww(t),Ww(r))}function Ww(t){if(Le(t)){const r={};for(let e=0;e<t.length;e++)r[t[e]]=t[e];return r}return t}function Sn(t,r){return t?[...new Set([].concat(t,r))]:r}function dh(t,r){return t?Gr(Object.create(null),t,r):r}function Lk(t,r){return t?Le(t)&&Le(r)?[...new Set([...t,...r])]:Gr(Object.create(null),Mk(t),Mk(r??{})):r}function jJ(t,r){if(!t)return r;if(!r)return t;const e=Gr(Object.create(null),t);for(const n in r)e[n]=Sn(t[n],r[n]);return e}function fj(){return{app:null,config:{isNativeTag:Iq,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 VJ=0;function GJ(t,r){return function(n,i=null){et(n)||(n=Gr({},n)),i!=null&&!Gt(i)&&(i=null);const o=fj(),a=new WeakSet;let s=!1;const l=o.app={_uid:VJ++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:hee,get config(){return o.config},set config(g){},use(g,...u){return a.has(g)||(g&&et(g.install)?(a.add(g),g.install(l,...u)):et(g)&&(a.add(g),g(l,...u))),l},mixin(g){return o.mixins.includes(g)||o.mixins.push(g),l},component(g,u){return u?(o.components[g]=u,l):o.components[g]},directive(g,u){return u?(o.directives[g]=u,l):o.directives[g]},mount(g,u,c){if(!s){const d=z(n,i);return d.appContext=o,c===!0?c="svg":c===!1&&(c=void 0),u&&r?r(d,g):t(d,g,c),s=!0,l._container=g,g.__vue_app__=l,ym(d.component)||d.component.proxy}},unmount(){s&&(t(null,l._container),delete l._container.__vue_app__)},provide(g,u){return o.provides[g]=u,l},runWithContext(g){Yv=l;try{return g()}finally{Yv=null}}};return l}}let Yv=null;function pa(t,r){if(Qr){let e=Qr.provides;const n=Qr.parent&&Qr.parent.provides;n===e&&(e=Qr.provides=Object.create(n)),e[t]=r}}function Er(t,r,e=!1){const n=Qr||vn;if(n||Yv){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Yv._context.provides;if(i&&t in i)return i[t];if(arguments.length>1)return e&&et(r)?r.call(n&&n.proxy):r}}function WJ(t,r,e,n=!1){const i={},o={};Vv(o,mm,1),t.propsDefaults=Object.create(null),Cj(t,r,i,o);for(const a in t.propsOptions[0])a in i||(i[a]=void 0);e?t.props=n?i:HS(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function HJ(t,r,e,n){const{props:i,attrs:o,vnode:{patchFlag:a}}=t,s=Ct(i),[l]=t.propsOptions;let g=!1;if((n||a>0)&&!(a&16)){if(a&8){const u=t.vnode.dynamicProps;for(let c=0;c<u.length;c++){let d=u[c];if(hm(t.emitsOptions,d))continue;const h=r[d];if(l)if($t(o,d))h!==o[d]&&(o[d]=h,g=!0);else{const A=qo(d);i[A]=Hw(l,s,A,h,t,!1)}else h!==o[d]&&(o[d]=h,g=!0)}}}else{Cj(t,r,i,o)&&(g=!0);let u;for(const c in s)(!r||!$t(r,c)&&((u=Bg(c))===c||!$t(r,u)))&&(l?e&&(e[c]!==void 0||e[u]!==void 0)&&(i[c]=Hw(l,s,c,void 0,t,!0)):delete i[c]);if(o!==s)for(const c in o)(!r||!$t(r,c))&&(delete o[c],g=!0)}g&&va(t,"set","$attrs")}function Cj(t,r,e,n){const[i,o]=t.propsOptions;let a=!1,s;if(r)for(let l in r){if(tv(l))continue;const g=r[l];let u;i&&$t(i,u=qo(l))?!o||!o.includes(u)?e[u]=g:(s||(s={}))[u]=g:hm(t.emitsOptions,l)||(!(l in n)||g!==n[l])&&(n[l]=g,a=!0)}if(o){const l=Ct(e),g=s||er;for(let u=0;u<o.length;u++){const c=o[u];e[c]=Hw(i,l,c,g[c],t,!$t(g,c))}}return a}function Hw(t,r,e,n,i,o){const a=t[e];if(a!=null){const s=$t(a,"default");if(s&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&et(l)){const{propsDefaults:g}=i;e in g?n=g[e]:(bc(i),n=g[e]=l.call(null,r),eg())}else n=l}a[0]&&(o&&!s?n=!1:a[1]&&(n===""||n===Bg(e))&&(n=!0))}return n}function Ij(t,r,e=!1){const n=r.propsCache,i=n.get(t);if(i)return i;const o=t.props,a={},s=[];let l=!1;if(!et(t)){const u=c=>{l=!0;const[d,h]=Ij(c,r,!0);Gr(a,d),h&&s.push(...h)};!e&&r.mixins.length&&r.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return Gt(t)&&n.set(t,nc),nc;if(Le(o))for(let u=0;u<o.length;u++){const c=qo(o[u]);zk(c)&&(a[c]=er)}else if(o)for(const u in o){const c=qo(u);if(zk(c)){const d=o[u],h=a[c]=Le(d)||et(d)?{type:d}:Gr({},d);if(h){const A=Gk(Boolean,h.type),f=Gk(String,h.type);h[0]=A>-1,h[1]=f<0||A<f,(A>-1||$t(h,"default"))&&s.push(c)}}}const g=[a,s];return Gt(t)&&n.set(t,g),g}function zk(t){return t[0]!=="$"}function jk(t){const r=t&&t.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:t===null?"null":""}function Vk(t,r){return jk(t)===jk(r)}function Gk(t,r){return Le(r)?r.findIndex(e=>Vk(e,t)):et(r)&&Vk(r,t)?0:-1}const vj=t=>t[0]==="_"||t==="$stable",r2=t=>Le(t)?t.map(xo):[xo(t)],UJ=(t,r,e)=>{if(r._n)return r;const n=G((...i)=>r2(r(...i)),e);return n._c=!1,n},pj=(t,r,e)=>{const n=t._ctx;for(const i in t){if(vj(i))continue;const o=t[i];if(et(o))r[i]=UJ(i,o,n);else if(o!=null){const a=r2(o);r[i]=()=>a}}},mj=(t,r)=>{const e=r2(r);t.slots.default=()=>e},ZJ=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=Ct(r),Vv(r,"_",e)):pj(r,t.slots={})}else t.slots={},r&&mj(t,r);Vv(t.slots,mm,1)},KJ=(t,r,e)=>{const{vnode:n,slots:i}=t;let o=!0,a=er;if(n.shapeFlag&32){const s=r._;s?e&&s===1?o=!1:(Gr(i,r),!e&&s===1&&delete i._):(o=!r.$stable,pj(r,i)),a=r}else r&&(mj(t,r),a={default:1});if(o)for(const s in i)!vj(s)&&a[s]==null&&delete i[s]};function Uw(t,r,e,n,i=!1){if(Le(t)){t.forEach((d,h)=>Uw(d,r&&(Le(r)?r[h]:r),e,n,i));return}if(bh(n)&&!i)return;const o=n.shapeFlag&4?ym(n.component)||n.component.proxy:n.el,a=i?null:o,{i:s,r:l}=t,g=r&&r.r,u=s.refs===er?s.refs={}:s.refs,c=s.setupState;if(g!=null&&g!==l&&(cr(g)?(u[g]=null,$t(c,g)&&(c[g]=null)):ze(g)&&(g.value=null)),et(l))ks(l,s,12,[a,u]);else{const d=cr(l),h=ze(l);if(d||h){const A=()=>{if(t.f){const f=d?$t(c,l)?c[l]:u[l]:l.value;i?Le(f)&&BS(f,o):Le(f)?f.includes(o)||f.push(o):d?(u[l]=[o],$t(c,l)&&(c[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else d?(u[l]=a,$t(c,l)&&(c[l]=a)):h&&(l.value=a,t.k&&(u[t.k]=a))};a?(A.id=-1,Un(A,e)):A()}}}const Un=CJ;function YJ(t){return XJ(t)}function XJ(t,r){const e=O4();e.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:g,setElementText:u,parentNode:c,nextSibling:d,setScopeId:h=Fi,insertStaticContent:A}=t,f=($,E,x,j=null,Z=null,q=null,de=void 0,re=null,oe=!!E.dynamicChildren)=>{if($===E)return;$&&!jl($,E)&&(j=H($),me($,Z,q,!0),$=null),E.patchFlag===-2&&(oe=!1,E.dynamicChildren=null);const{type:ae,ref:Ee,shapeFlag:Ue}=E;switch(ae){case pm:C($,E,x,j);break;case ji:I($,E,x,j);break;case iv:$==null&&v(E,x,j,de);break;case ye:R($,E,x,j,Z,q,de,re,oe);break;default:Ue&1?b($,E,x,j,Z,q,de,re,oe):Ue&6?L($,E,x,j,Z,q,de,re,oe):(Ue&64||Ue&128)&&ae.process($,E,x,j,Z,q,de,re,oe,M)}Ee!=null&&Z&&Uw(Ee,$&&$.ref,q,E||$,!E)},C=($,E,x,j)=>{if($==null)n(E.el=s(E.children),x,j);else{const Z=E.el=$.el;E.children!==$.children&&g(Z,E.children)}},I=($,E,x,j)=>{$==null?n(E.el=l(E.children||""),x,j):E.el=$.el},v=($,E,x,j)=>{[$.el,$.anchor]=A($.children,E,x,j,$.el,$.anchor)},p=({el:$,anchor:E},x,j)=>{let Z;for(;$&&$!==E;)Z=d($),n($,x,j),$=Z;n(E,x,j)},m=({el:$,anchor:E})=>{let x;for(;$&&$!==E;)x=d($),i($),$=x;i(E)},b=($,E,x,j,Z,q,de,re,oe)=>{E.type==="svg"?de="svg":E.type==="math"&&(de="mathml"),$==null?S(E,x,j,Z,q,de,re,oe):_($,E,Z,q,de,re,oe)},S=($,E,x,j,Z,q,de,re)=>{let oe,ae;const{props:Ee,shapeFlag:Ue,transition:Ve,dirs:tt}=$;if(oe=$.el=a($.type,q,Ee&&Ee.is,Ee),Ue&8?u(oe,$.children):Ue&16&&k($.children,oe,null,j,Z,Tb($,q),de,re),tt&&Tl($,null,j,"created"),N(oe,$,$.scopeId,de,j),Ee){for(const Lt in Ee)Lt!=="value"&&!tv(Lt)&&o(oe,Lt,null,Ee[Lt],q,$.children,j,Z,ht);"value"in Ee&&o(oe,"value",null,Ee.value,q),(ae=Ee.onVnodeBeforeMount)&&_o(ae,j,$)}tt&&Tl($,null,j,"beforeMount");const At=QJ(Z,Ve);At&&Ve.beforeEnter(oe),n(oe,E,x),((ae=Ee&&Ee.onVnodeMounted)||At||tt)&&Un(()=>{ae&&_o(ae,j,$),At&&Ve.enter(oe),tt&&Tl($,null,j,"mounted")},Z)},N=($,E,x,j,Z)=>{if(x&&h($,x),j)for(let q=0;q<j.length;q++)h($,j[q]);if(Z){let q=Z.subTree;if(E===q){const de=Z.vnode;N($,de,de.scopeId,de.slotScopeIds,Z.parent)}}},k=($,E,x,j,Z,q,de,re,oe=0)=>{for(let ae=oe;ae<$.length;ae++){const Ee=$[ae]=re?hs($[ae]):xo($[ae]);f(null,Ee,E,x,j,Z,q,de,re)}},_=($,E,x,j,Z,q,de)=>{const re=E.el=$.el;let{patchFlag:oe,dynamicChildren:ae,dirs:Ee}=E;oe|=$.patchFlag&16;const Ue=$.props||er,Ve=E.props||er;let tt;if(x&&Ol(x,!1),(tt=Ve.onVnodeBeforeUpdate)&&_o(tt,x,E,$),Ee&&Tl(E,$,x,"beforeUpdate"),x&&Ol(x,!0),ae?T($.dynamicChildren,ae,re,x,j,Tb(E,Z),q):de||Ie($,E,re,null,x,j,Tb(E,Z),q,!1),oe>0){if(oe&16)P(re,E,Ue,Ve,x,j,Z);else if(oe&2&&Ue.class!==Ve.class&&o(re,"class",null,Ve.class,Z),oe&4&&o(re,"style",Ue.style,Ve.style,Z),oe&8){const At=E.dynamicProps;for(let Lt=0;Lt<At.length;Lt++){const ir=At[Lt],Ur=Ue[ir],eo=Ve[ir];(eo!==Ur||ir==="value")&&o(re,ir,Ur,eo,Z,$.children,x,j,ht)}}oe&1&&$.children!==E.children&&u(re,E.children)}else!de&&ae==null&&P(re,E,Ue,Ve,x,j,Z);((tt=Ve.onVnodeUpdated)||Ee)&&Un(()=>{tt&&_o(tt,x,E,$),Ee&&Tl(E,$,x,"updated")},j)},T=($,E,x,j,Z,q,de)=>{for(let re=0;re<E.length;re++){const oe=$[re],ae=E[re],Ee=oe.el&&(oe.type===ye||!jl(oe,ae)||oe.shapeFlag&70)?c(oe.el):x;f(oe,ae,Ee,null,j,Z,q,de,!0)}},P=($,E,x,j,Z,q,de)=>{if(x!==j){if(x!==er)for(const re in x)!tv(re)&&!(re in j)&&o($,re,x[re],null,de,E.children,Z,q,ht);for(const re in j){if(tv(re))continue;const oe=j[re],ae=x[re];oe!==ae&&re!=="value"&&o($,re,ae,oe,de,E.children,Z,q,ht)}"value"in j&&o($,"value",x.value,j.value,de)}},R=($,E,x,j,Z,q,de,re,oe)=>{const ae=E.el=$?$.el:s(""),Ee=E.anchor=$?$.anchor:s("");let{patchFlag:Ue,dynamicChildren:Ve,slotScopeIds:tt}=E;tt&&(re=re?re.concat(tt):tt),$==null?(n(ae,x,j),n(Ee,x,j),k(E.children,x,Ee,Z,q,de,re,oe)):Ue>0&&Ue&64&&Ve&&$.dynamicChildren?(T($.dynamicChildren,Ve,x,Z,q,de,re),(E.key!=null||Z&&E===Z.subTree)&&n2($,E,!0)):Ie($,E,x,Ee,Z,q,de,re,oe)},L=($,E,x,j,Z,q,de,re,oe)=>{E.slotScopeIds=re,$==null?E.shapeFlag&512?Z.ctx.activate(E,x,j,de,oe):te(E,x,j,Z,q,de,oe):W($,E,oe)},te=($,E,x,j,Z,q,de)=>{const re=$.component=see($,j,Z);if(GA($)&&(re.ctx.renderer=M),lee(re),re.asyncDep){if(Z&&Z.registerDep(re,V),!$.el){const oe=re.subTree=z(ji);I(null,oe,E,x)}}else V(re,$,E,x,Z,q,de)},W=($,E,x)=>{const j=E.component=$.component;if(dJ($,E,x))if(j.asyncDep&&!j.asyncResolved){Q(j,E,x);return}else j.next=E,aJ(j.update),j.effect.dirty=!0,j.update();else E.el=$.el,j.vnode=E},V=($,E,x,j,Z,q,de)=>{const re=()=>{if($.isMounted){let{next:Ee,bu:Ue,u:Ve,parent:tt,vnode:At}=$;{const Au=yj($);if(Au){Ee&&(Ee.el=At.el,Q($,Ee,de)),Au.asyncDep.then(()=>{$.isUnmounted||re()});return}}let Lt=Ee,ir;Ol($,!1),Ee?(Ee.el=At.el,Q($,Ee,de)):Ee=At,Ue&&nv(Ue),(ir=Ee.props&&Ee.props.onVnodeBeforeUpdate)&&_o(ir,tt,Ee,At),Ol($,!0);const Ur=wb($),eo=$.subTree;$.subTree=Ur,f(eo,Ur,c(eo.el),H(eo),$,Z,q),Ee.el=Ur.el,Lt===null&&hJ($,Ur.el),Ve&&Un(Ve,Z),(ir=Ee.props&&Ee.props.onVnodeUpdated)&&Un(()=>_o(ir,tt,Ee,At),Z)}else{let Ee;const{el:Ue,props:Ve}=E,{bm:tt,m:At,parent:Lt}=$,ir=bh(E);if(Ol($,!1),tt&&nv(tt),!ir&&(Ee=Ve&&Ve.onVnodeBeforeMount)&&_o(Ee,Lt,E),Ol($,!0),Ue&&B){const Ur=()=>{$.subTree=wb($),B(Ue,$.subTree,$,Z,null)};ir?E.type.__asyncLoader().then(()=>!$.isUnmounted&&Ur()):Ur()}else{const Ur=$.subTree=wb($);f(null,Ur,x,j,$,Z,q),E.el=Ur.el}if(At&&Un(At,Z),!ir&&(Ee=Ve&&Ve.onVnodeMounted)){const Ur=E;Un(()=>_o(Ee,Lt,Ur),Z)}(E.shapeFlag&256||Lt&&bh(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&$.a&&Un($.a,Z),$.isMounted=!0,E=x=j=null}},oe=$.effect=new zS(re,Fi,()=>dm(ae),$.scope),ae=$.update=()=>{oe.dirty&&oe.run()};ae.id=$.uid,Ol($,!0),ae()},Q=($,E,x)=>{E.component=$;const j=$.vnode.props;$.vnode=E,$.next=null,HJ($,E.props,j,x),KJ($,E.children,x),Fg(),Pk($),Lg()},Ie=($,E,x,j,Z,q,de,re,oe=!1)=>{const ae=$&&$.children,Ee=$?$.shapeFlag:0,Ue=E.children,{patchFlag:Ve,shapeFlag:tt}=E;if(Ve>0){if(Ve&128){We(ae,Ue,x,j,Z,q,de,re,oe);return}else if(Ve&256){Re(ae,Ue,x,j,Z,q,de,re,oe);return}}tt&8?(Ee&16&&ht(ae,Z,q),Ue!==ae&&u(x,Ue)):Ee&16?tt&16?We(ae,Ue,x,j,Z,q,de,re,oe):ht(ae,Z,q,!0):(Ee&8&&u(x,""),tt&16&&k(Ue,x,j,Z,q,de,re,oe))},Re=($,E,x,j,Z,q,de,re,oe)=>{$=$||nc,E=E||nc;const ae=$.length,Ee=E.length,Ue=Math.min(ae,Ee);let Ve;for(Ve=0;Ve<Ue;Ve++){const tt=E[Ve]=oe?hs(E[Ve]):xo(E[Ve]);f($[Ve],tt,x,null,Z,q,de,re,oe)}ae>Ee?ht($,Z,q,!0,!1,Ue):k(E,x,j,Z,q,de,re,oe,Ue)},We=($,E,x,j,Z,q,de,re,oe)=>{let ae=0;const Ee=E.length;let Ue=$.length-1,Ve=Ee-1;for(;ae<=Ue&&ae<=Ve;){const tt=$[ae],At=E[ae]=oe?hs(E[ae]):xo(E[ae]);if(jl(tt,At))f(tt,At,x,null,Z,q,de,re,oe);else break;ae++}for(;ae<=Ue&&ae<=Ve;){const tt=$[Ue],At=E[Ve]=oe?hs(E[Ve]):xo(E[Ve]);if(jl(tt,At))f(tt,At,x,null,Z,q,de,re,oe);else break;Ue--,Ve--}if(ae>Ue){if(ae<=Ve){const tt=Ve+1,At=tt<Ee?E[tt].el:j;for(;ae<=Ve;)f(null,E[ae]=oe?hs(E[ae]):xo(E[ae]),x,At,Z,q,de,re,oe),ae++}}else if(ae>Ve)for(;ae<=Ue;)me($[ae],Z,q,!0),ae++;else{const tt=ae,At=ae,Lt=new Map;for(ae=At;ae<=Ve;ae++){const ci=E[ae]=oe?hs(E[ae]):xo(E[ae]);ci.key!=null&&Lt.set(ci.key,ae)}let ir,Ur=0;const eo=Ve-At+1;let Au=!1,Ik=0;const Qd=new Array(eo);for(ae=0;ae<eo;ae++)Qd[ae]=0;for(ae=tt;ae<=Ue;ae++){const ci=$[ae];if(Ur>=eo){me(ci,Z,q,!0);continue}let wo;if(ci.key!=null)wo=Lt.get(ci.key);else for(ir=At;ir<=Ve;ir++)if(Qd[ir-At]===0&&jl(ci,E[ir])){wo=ir;break}wo===void 0?me(ci,Z,q,!0):(Qd[wo-At]=ae+1,wo>=Ik?Ik=wo:Au=!0,f(ci,E[wo],x,null,Z,q,de,re,oe),Ur++)}const vk=Au?qJ(Qd):nc;for(ir=vk.length-1,ae=eo-1;ae>=0;ae--){const ci=At+ae,wo=E[ci],pk=ci+1<Ee?E[ci+1].el:j;Qd[ae]===0?f(null,wo,x,pk,Z,q,de,re,oe):Au&&(ir<0||ae!==vk[ir]?Fe(wo,x,pk,2):ir--)}}},Fe=($,E,x,j,Z=null)=>{const{el:q,type:de,transition:re,children:oe,shapeFlag:ae}=$;if(ae&6){Fe($.component.subTree,E,x,j);return}if(ae&128){$.suspense.move(E,x,j);return}if(ae&64){de.move($,E,x,M);return}if(de===ye){n(q,E,x);for(let Ue=0;Ue<oe.length;Ue++)Fe(oe[Ue],E,x,j);n($.anchor,E,x);return}if(de===iv){p($,E,x);return}if(j!==2&&ae&1&&re)if(j===0)re.beforeEnter(q),n(q,E,x),Un(()=>re.enter(q),Z);else{const{leave:Ue,delayLeave:Ve,afterLeave:tt}=re,At=()=>n(q,E,x),Lt=()=>{Ue(q,()=>{At(),tt&&tt()})};Ve?Ve(q,At,Lt):Lt()}else n(q,E,x)},me=($,E,x,j=!1,Z=!1)=>{const{type:q,props:de,ref:re,children:oe,dynamicChildren:ae,shapeFlag:Ee,patchFlag:Ue,dirs:Ve}=$;if(re!=null&&Uw(re,null,x,$,!0),Ee&256){E.ctx.deactivate($);return}const tt=Ee&1&&Ve,At=!bh($);let Lt;if(At&&(Lt=de&&de.onVnodeBeforeUnmount)&&_o(Lt,E,$),Ee&6)it($.component,x,j);else{if(Ee&128){$.suspense.unmount(x,j);return}tt&&Tl($,null,E,"beforeUnmount"),Ee&64?$.type.remove($,E,x,Z,M,j):ae&&(q!==ye||Ue>0&&Ue&64)?ht(ae,E,x,!1,!0):(q===ye&&Ue&384||!Z&&Ee&16)&&ht(oe,E,x),j&&je($)}(At&&(Lt=de&&de.onVnodeUnmounted)||tt)&&Un(()=>{Lt&&_o(Lt,E,$),tt&&Tl($,null,E,"unmounted")},x)},je=$=>{const{type:E,el:x,anchor:j,transition:Z}=$;if(E===ye){Ge(x,j);return}if(E===iv){m($);return}const q=()=>{i(x),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if($.shapeFlag&1&&Z&&!Z.persisted){const{leave:de,delayLeave:re}=Z,oe=()=>de(x,q);re?re($.el,q,oe):oe()}else q()},Ge=($,E)=>{let x;for(;$!==E;)x=d($),i($),$=x;i(E)},it=($,E,x)=>{const{bum:j,scope:Z,update:q,subTree:de,um:re}=$;j&&nv(j),Z.stop(),q&&(q.active=!1,me(de,$,E,x)),re&&Un(re,E),Un(()=>{$.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},ht=($,E,x,j=!1,Z=!1,q=0)=>{for(let de=q;de<$.length;de++)me($[de],E,x,j,Z)},H=$=>$.shapeFlag&6?H($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),ie=($,E,x)=>{$==null?E._vnode&&me(E._vnode,null,null,!0):f(E._vnode||null,$,E,null,null,null,x),Pk(),J4(),E._vnode=$},M={p:f,um:me,m:Fe,r:je,mt:te,mc:k,pc:Ie,pbc:T,n:H,o:t};let D,B;return r&&([D,B]=r(M)),{render:ie,hydrate:D,createApp:GJ(ie,D)}}function Tb({type:t,props:r},e){return e==="svg"&&t==="foreignObject"||e==="mathml"&&t==="annotation-xml"&&r&&r.encoding&&r.encoding.includes("html")?void 0:e}function Ol({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function QJ(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function n2(t,r,e=!1){const n=t.children,i=r.children;if(Le(n)&&Le(i))for(let o=0;o<n.length;o++){const a=n[o];let s=i[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[o]=hs(i[o]),s.el=a.el),e||n2(a,s)),s.type===pm&&(s.el=a.el)}}function qJ(t){const r=t.slice(),e=[0];let n,i,o,a,s;const l=t.length;for(n=0;n<l;n++){const g=t[n];if(g!==0){if(i=e[e.length-1],t[i]<g){r[n]=i,e.push(n);continue}for(o=0,a=e.length-1;o<a;)s=o+a>>1,t[e[s]]<g?o=s+1:a=s;g<t[e[o]]&&(o>0&&(r[n]=e[o-1]),e[o]=n)}}for(o=e.length,a=e[o-1];o-- >0;)e[o]=a,a=r[a];return e}function yj(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:yj(r)}const JJ=t=>t.__isTeleport,wh=t=>t&&(t.disabled||t.disabled===""),Wk=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Hk=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Zw=(t,r)=>{const e=t&&t.to;return cr(e)?r?r(e):null:e},eee={name:"Teleport",__isTeleport:!0,process(t,r,e,n,i,o,a,s,l,g){const{mc:u,pc:c,pbc:d,o:{insert:h,querySelector:A,createText:f,createComment:C}}=g,I=wh(r.props);let{shapeFlag:v,children:p,dynamicChildren:m}=r;if(t==null){const b=r.el=f(""),S=r.anchor=f("");h(b,e,n),h(S,e,n);const N=r.target=Zw(r.props,A),k=r.targetAnchor=f("");N&&(h(k,N),a==="svg"||Wk(N)?a="svg":(a==="mathml"||Hk(N))&&(a="mathml"));const _=(T,P)=>{v&16&&u(p,T,P,i,o,a,s,l)};I?_(e,S):N&&_(N,k)}else{r.el=t.el;const b=r.anchor=t.anchor,S=r.target=t.target,N=r.targetAnchor=t.targetAnchor,k=wh(t.props),_=k?e:S,T=k?b:N;if(a==="svg"||Wk(S)?a="svg":(a==="mathml"||Hk(S))&&(a="mathml"),m?(d(t.dynamicChildren,m,_,i,o,a,s),n2(t,r,!0)):l||c(t,r,_,T,i,o,a,s,!1),I)k?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):TC(r,e,b,g,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const P=r.target=Zw(r.props,A);P&&TC(r,P,null,g,0)}else k&&TC(r,S,N,g,1)}$j(r)},remove(t,r,e,n,{um:i,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:g,targetAnchor:u,target:c,props:d}=t;if(c&&o(u),a&&o(g),s&16){const h=a||!wh(d);for(let A=0;A<l.length;A++){const f=l[A];i(f,r,e,h,!!f.dynamicChildren)}}},move:TC,hydrate:tee};function TC(t,r,e,{o:{insert:n},m:i},o=2){o===0&&n(t.targetAnchor,r,e);const{el:a,anchor:s,shapeFlag:l,children:g,props:u}=t,c=o===2;if(c&&n(a,r,e),(!c||wh(u))&&l&16)for(let d=0;d<g.length;d++)i(g[d],r,e,2);c&&n(s,r,e)}function tee(t,r,e,n,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},g){const u=r.target=Zw(r.props,l);if(u){const c=u._lpa||u.firstChild;if(r.shapeFlag&16)if(wh(r.props))r.anchor=g(a(t),r,s(t),e,n,i,o),r.targetAnchor=c;else{r.anchor=a(t);let d=c;for(;d;)if(d=a(d),d&&d.nodeType===8&&d.data==="teleport anchor"){r.targetAnchor=d,u._lpa=r.targetAnchor&&a(r.targetAnchor);break}g(c,r,u,e,n,i,o)}$j(r)}return r.anchor&&a(r.anchor)}const bj=eee;function $j(t){const r=t.ctx;if(r&&r.ut){let e=t.children[0].el;for(;e&&e!==t.targetAnchor;)e.nodeType===1&&e.setAttribute("data-v-owner",r.uid),e=e.nextSibling;r.ut()}}const ye=Symbol.for("v-fgt"),pm=Symbol.for("v-txt"),ji=Symbol.for("v-cmt"),iv=Symbol.for("v-stc"),_h=[];let go=null;function O(t=!1){_h.push(go=t?null:[])}function ree(){_h.pop(),go=_h[_h.length-1]||null}let tA=1;function Uk(t){tA+=t}function wj(t){return t.dynamicChildren=tA>0?go||nc:null,ree(),tA>0&&go&&go.push(t),t}function F(t,r,e,n,i,o){return wj(w(t,r,e,n,i,o,!0))}function ne(t,r,e,n,i){return wj(z(t,r,e,n,i,!0))}function Xv(t){return t?t.__v_isVNode===!0:!1}function jl(t,r){return t.type===r.type&&t.key===r.key}const mm="__vInternal",_j=({key:t})=>t??null,ov=({ref:t,ref_key:r,ref_for:e})=>(typeof t=="number"&&(t=""+t),t!=null?cr(t)||ze(t)||et(t)?{i:vn,r:t,k:r,f:!!e}:t:null);function w(t,r=null,e=null,n=0,i=null,o=t===ye?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&_j(r),ref:r&&ov(r),scopeId:Am,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:vn};return s?(i2(l,e),o&128&&t.normalize(l)):e&&(l.shapeFlag|=cr(e)?8:16),tA>0&&!a&&go&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&go.push(l),l}const z=nee;function nee(t,r=null,e=null,n=0,i=null,o=!1){if((!t||t===nj)&&(t=ji),Xv(t)){const s=Qs(t,r,!0);return e&&i2(s,e),tA>0&&!o&&go&&(s.shapeFlag&6?go[go.indexOf(t)]=s:go.push(s)),s.patchFlag|=-2,s}if(dee(t)&&(t=t.__vccOpts),r){r=od(r);let{class:s,style:l}=r;s&&!cr(s)&&(r.class=_e(s)),Gt(l)&&(H4(l)&&!Le(l)&&(l=Gr({},l)),r.style=_r(l))}const a=cr(t)?1:fJ(t)?128:JJ(t)?64:Gt(t)?4:et(t)?2:0;return w(t,r,e,n,i,a,o,!0)}function od(t){return t?H4(t)||mm in t?Gr({},t):t:null}function Qs(t,r,e=!1){const{props:n,ref:i,patchFlag:o,children:a}=t,s=r?yn(n||{},r):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&_j(s),ref:r&&r.ref?e&&i?Le(i)?i.concat(ov(r)):[i,ov(r)]:ov(r):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==ye?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Qs(t.ssContent),ssFallback:t.ssFallback&&Qs(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ke(t=" ",r=0){return z(pm,null,t,r)}function iee(t,r){const e=z(iv,null,t);return e.staticCount=r,e}function be(t="",r=!1){return r?(O(),ne(ji,null,t)):z(ji,null,t)}function xo(t){return t==null||typeof t=="boolean"?z(ji):Le(t)?z(ye,null,t.slice()):typeof t=="object"?hs(t):z(pm,null,String(t))}function hs(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qs(t)}function i2(t,r){let e=0;const{shapeFlag:n}=t;if(r==null)r=null;else if(Le(r))e=16;else if(typeof r=="object")if(n&65){const i=r.default;i&&(i._c&&(i._d=!1),i2(t,i()),i._c&&(i._d=!0));return}else{e=32;const i=r._;!i&&!(mm in r)?r._ctx=vn:i===3&&vn&&(vn.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else et(r)?(r={default:r,_ctx:vn},e=32):(r=String(r),n&64?(e=16,r=[ke(r)]):e=8);t.children=r,t.shapeFlag|=e}function yn(...t){const r={};for(let e=0;e<t.length;e++){const n=t[e];for(const i in n)if(i==="class")r.class!==n.class&&(r.class=_e([r.class,n.class]));else if(i==="style")r.style=_r([r.style,n.style]);else if(lm(i)){const o=r[i],a=n[i];a&&o!==a&&!(Le(o)&&o.includes(a))&&(r[i]=o?[].concat(o,a):a)}else i!==""&&(r[i]=n[i])}return r}function _o(t,r,e,n=null){zi(t,r,7,[e,n])}const oee=fj();let aee=0;function see(t,r,e){const n=t.type,i=(r?r.appContext:t.appContext)||oee,o={uid:aee++,vnode:t,type:n,parent:r,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new kq(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:r?r.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ij(n,i),emitsOptions:tj(n,i),emit:null,emitted:null,propsDefaults:er,inheritAttrs:n.inheritAttrs,ctx:er,data:er,props:er,attrs:er,slots:er,refs:er,setupState:er,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:e,suspenseId:e?e.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=r?r.root:o,o.emit=gJ.bind(null,o),t.ce&&t.ce(o),o}let Qr=null;const sl=()=>Qr||vn;let o2,Kw;{const t=O4(),r=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};o2=r("__VUE_INSTANCE_SETTERS__",e=>Qr=e),Kw=r("__VUE_SSR_SETTERS__",e=>HA=e)}const bc=t=>{o2(t),t.scope.on()},eg=()=>{Qr&&Qr.scope.off(),o2(null)};function Ej(t){return t.vnode.shapeFlag&4}let HA=!1;function lee(t,r=!1){r&&Kw(r);const{props:e,children:n}=t.vnode,i=Ej(t);WJ(t,e,i,r),ZJ(t,n);const o=i?gee(t,r):void 0;return r&&Kw(!1),o}function gee(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=ZS(new Proxy(t.ctx,NJ));const{setup:n}=e;if(n){const i=t.setupContext=n.length>1?Tj(t):null;bc(t),Fg();const o=ks(n,t,0,[t.props,i]);if(Lg(),eg(),E4(o)){if(o.then(eg,eg),r)return o.then(a=>{Zk(t,a,r)}).catch(a=>{VA(a,t,0)});t.asyncDep=o}else Zk(t,o,r)}else Sj(t,r)}function Zk(t,r,e){et(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:Gt(r)&&(t.setupState=K4(r)),Sj(t,e)}let Kk;function Sj(t,r,e){const n=t.type;if(!t.render){if(!r&&Kk&&!n.render){const i=n.template||t2(t).template;if(i){const{isCustomElement:o,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:l}=n,g=Gr(Gr({isCustomElement:o,delimiters:s},a),l);n.render=Kk(i,g)}}t.render=n.render||Fi}{bc(t),Fg();try{BJ(t)}finally{Lg(),eg()}}}function uee(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,e){return ei(t,"get","$attrs"),r[e]}}))}function Tj(t){const r=e=>{t.exposed=e||{}};return{get attrs(){return uee(t)},slots:t.slots,emit:t.emit,expose:r}}function ym(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(K4(ZS(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in $h)return $h[e](t)},has(r,e){return e in r||e in $h}}))}function cee(t,r=!0){return et(t)?t.displayName||t.name:t.name||r&&t.__name}function dee(t){return et(t)&&"__vccOpts"in t}const X=(t,r)=>qq(t,r,HA);function ad(t,r,e){const n=arguments.length;return n===2?Gt(r)&&!Le(r)?Xv(r)?z(t,null,[r]):z(t,r):z(t,null,r):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&Xv(e)&&(e=[e]),z(t,r,e))}const hee="3.4.4",Aee="http://www.w3.org/2000/svg",fee="http://www.w3.org/1998/Math/MathML",As=typeof document<"u"?document:null,Yk=As&&As.createElement("template"),Cee={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,n)=>{const i=r==="svg"?As.createElementNS(Aee,t):r==="mathml"?As.createElementNS(fee,t):As.createElement(t,e?{is:e}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>As.createTextNode(t),createComment:t=>As.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>As.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,n,i,o){const a=e?e.previousSibling:r.lastChild;if(i&&(i===o||i.nextSibling))for(;r.insertBefore(i.cloneNode(!0),e),!(i===o||!(i=i.nextSibling)););else{Yk.innerHTML=n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t;const s=Yk.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}r.insertBefore(s,e)}return[a?a.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}},qa="transition",qd="animation",rA=Symbol("_vtc"),UA=(t,{slots:r})=>ad(bJ,Iee(t),r);UA.displayName="Transition";const Oj={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};UA.props=Gr({},oj,Oj);const kl=(t,r=[])=>{Le(t)?t.forEach(e=>e(...r)):t&&t(...r)},Xk=t=>t?Le(t)?t.some(r=>r.length>1):t.length>1:!1;function Iee(t){const r={};for(const R in t)R in Oj||(r[R]=t[R]);if(t.css===!1)return r;const{name:e="v",type:n,duration:i,enterFromClass:o=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:s=`${e}-enter-to`,appearFromClass:l=o,appearActiveClass:g=a,appearToClass:u=s,leaveFromClass:c=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:h=`${e}-leave-to`}=t,A=vee(i),f=A&&A[0],C=A&&A[1],{onBeforeEnter:I,onEnter:v,onEnterCancelled:p,onLeave:m,onLeaveCancelled:b,onBeforeAppear:S=I,onAppear:N=v,onAppearCancelled:k=p}=r,_=(R,L,te)=>{xl(R,L?u:s),xl(R,L?g:a),te&&te()},T=(R,L)=>{R._isLeaving=!1,xl(R,c),xl(R,h),xl(R,d),L&&L()},P=R=>(L,te)=>{const W=R?N:v,V=()=>_(L,R,te);kl(W,[L,V]),Qk(()=>{xl(L,R?l:o),Ja(L,R?u:s),Xk(W)||qk(L,n,f,V)})};return Gr(r,{onBeforeEnter(R){kl(I,[R]),Ja(R,o),Ja(R,a)},onBeforeAppear(R){kl(S,[R]),Ja(R,l),Ja(R,g)},onEnter:P(!1),onAppear:P(!0),onLeave(R,L){R._isLeaving=!0;const te=()=>T(R,L);Ja(R,c),yee(),Ja(R,d),Qk(()=>{R._isLeaving&&(xl(R,c),Ja(R,h),Xk(m)||qk(R,n,C,te))}),kl(m,[R,te])},onEnterCancelled(R){_(R,!1),kl(p,[R])},onAppearCancelled(R){_(R,!0),kl(k,[R])},onLeaveCancelled(R){T(R),kl(b,[R])}})}function vee(t){if(t==null)return null;if(Gt(t))return[Ob(t.enter),Ob(t.leave)];{const r=Ob(t);return[r,r]}}function Ob(t){return bq(t)}function Ja(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[rA]||(t[rA]=new Set)).add(r)}function xl(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const e=t[rA];e&&(e.delete(r),e.size||(t[rA]=void 0))}function Qk(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let pee=0;function qk(t,r,e,n){const i=t._endId=++pee,o=()=>{i===t._endId&&n()};if(e)return setTimeout(o,e);const{type:a,timeout:s,propCount:l}=mee(t,r);if(!a)return n();const g=a+"end";let u=0;const c=()=>{t.removeEventListener(g,d),o()},d=h=>{h.target===t&&++u>=l&&c()};setTimeout(()=>{u<l&&c()},s+1),t.addEventListener(g,d)}function mee(t,r){const e=window.getComputedStyle(t),n=A=>(e[A]||"").split(", "),i=n(`${qa}Delay`),o=n(`${qa}Duration`),a=Jk(i,o),s=n(`${qd}Delay`),l=n(`${qd}Duration`),g=Jk(s,l);let u=null,c=0,d=0;r===qa?a>0&&(u=qa,c=a,d=o.length):r===qd?g>0&&(u=qd,c=g,d=l.length):(c=Math.max(a,g),u=c>0?a>g?qa:qd:null,d=u?u===qa?o.length:l.length:0);const h=u===qa&&/\b(transform|all)(,|$)/.test(n(`${qa}Property`).toString());return{type:u,timeout:c,propCount:d,hasTransform:h}}function Jk(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((e,n)=>ex(e)+ex(t[n])))}function ex(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function yee(){return document.body.offsetHeight}function bee(t,r,e){const n=t[rA];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const $ee=Symbol("_vod"),wee=Symbol("");function _ee(t,r,e){const n=t.style,i=cr(e);if(e&&!i){if(r&&!cr(r))for(const o in r)e[o]==null&&Yw(n,o,"");for(const o in e)Yw(n,o,e[o])}else{const o=n.display;if(i){if(r!==e){const a=n[wee];a&&(e+=";"+a),n.cssText=e}}else r&&t.removeAttribute("style");$ee in t&&(n.display=o)}}const tx=/\s*!important$/;function Yw(t,r,e){if(Le(e))e.forEach(n=>Yw(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Eee(t,r);tx.test(e)?t.setProperty(Bg(n),e.replace(tx,""),"important"):t[n]=e}}const rx=["Webkit","Moz","ms"],kb={};function Eee(t,r){const e=kb[r];if(e)return e;let n=qo(r);if(n!=="filter"&&n in t)return kb[r]=n;n=um(n);for(let i=0;i<rx.length;i++){const o=rx[i]+n;if(o in t)return kb[r]=o}return r}const nx="http://www.w3.org/1999/xlink";function See(t,r,e,n,i){if(n&&r.startsWith("xlink:"))e==null?t.removeAttributeNS(nx,r.slice(6,r.length)):t.setAttributeNS(nx,r,e);else{const o=Tq(r);e==null||o&&!k4(e)?t.removeAttribute(r):t.setAttribute(r,o?"":e)}}function Tee(t,r,e,n,i,o,a){if(r==="innerHTML"||r==="textContent"){n&&a(n,i,o),t[r]=e??"";return}const s=t.tagName;if(r==="value"&&s!=="PROGRESS"&&!s.includes("-")){t._value=e;const g=s==="OPTION"?t.getAttribute("value"):t.value,u=e??"";g!==u&&(t.value=u),e==null&&t.removeAttribute(r);return}let l=!1;if(e===""||e==null){const g=typeof t[r];g==="boolean"?e=k4(e):e==null&&g==="string"?(e="",l=!0):g==="number"&&(e=0,l=!0)}try{t[r]=e}catch{}l&&t.removeAttribute(r)}function Ca(t,r,e,n){t.addEventListener(r,e,n)}function Oee(t,r,e,n){t.removeEventListener(r,e,n)}const ix=Symbol("_vei");function kee(t,r,e,n,i=null){const o=t[ix]||(t[ix]={}),a=o[r];if(n&&a)a.value=n;else{const[s,l]=xee(r);if(n){const g=o[r]=Dee(n,i);Ca(t,s,g,l)}else a&&(Oee(t,s,a,l),o[r]=void 0)}}const ox=/(?:Once|Passive|Capture)$/;function xee(t){let r;if(ox.test(t)){r={};let n;for(;n=t.match(ox);)t=t.slice(0,t.length-n[0].length),r[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Bg(t.slice(2)),r]}let xb=0;const Pee=Promise.resolve(),Ree=()=>xb||(Pee.then(()=>xb=0),xb=Date.now());function Dee(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;zi(Nee(n,e.value),r,5,[n])};return e.value=t,e.attached=Ree(),e}function Nee(t,r){if(Le(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(n=>i=>!i._stopped&&n&&n(i))}else return r}const ax=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Mee=(t,r,e,n,i,o,a,s,l)=>{const g=i==="svg";r==="class"?bee(t,n,g):r==="style"?_ee(t,e,n):lm(r)?MS(r)||kee(t,r,e,n,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Bee(t,r,n,g))?Tee(t,r,n,o,a,s,l):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),See(t,r,n,g))};function Bee(t,r,e,n){if(n)return!!(r==="innerHTML"||r==="textContent"||r in t&&ax(r)&&et(e));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ax(r)&&cr(e)?!1:r in t}const qs=t=>{const r=t.props["onUpdate:modelValue"]||!1;return Le(r)?e=>nv(r,e):r};function Fee(t){t.target.composing=!0}function sx(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const Vi=Symbol("_assign"),lx={created(t,{modifiers:{lazy:r,trim:e,number:n}},i){t[Vi]=qs(i);const o=n||i.props&&i.props.type==="number";Ca(t,r?"change":"input",a=>{if(a.target.composing)return;let s=t.value;e&&(s=s.trim()),o&&(s=Gv(s)),t[Vi](s)}),e&&Ca(t,"change",()=>{t.value=t.value.trim()}),r||(Ca(t,"compositionstart",Fee),Ca(t,"compositionend",sx),Ca(t,"change",sx))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,modifiers:{lazy:e,trim:n,number:i}},o){if(t[Vi]=qs(o),t.composing)return;const a=i||t.type==="number"?Gv(t.value):t.value,s=r??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(e||n&&t.value.trim()===s)||(t.value=s))}},Lee={deep:!0,created(t,r,e){t[Vi]=qs(e),Ca(t,"change",()=>{const n=t._modelValue,i=$c(t),o=t.checked,a=t[Vi];if(Le(n)){const s=LS(n,i),l=s!==-1;if(o&&!l)a(n.concat(i));else if(!o&&l){const g=[...n];g.splice(s,1),a(g)}}else if(id(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(kj(t,o))})},mounted:gx,beforeUpdate(t,r,e){t[Vi]=qs(e),gx(t,r,e)}};function gx(t,{value:r,oldValue:e},n){t._modelValue=r,Le(r)?t.checked=LS(r,n.props.value)>-1:id(r)?t.checked=r.has(n.props.value):r!==e&&(t.checked=pg(r,kj(t,!0)))}const zee={created(t,{value:r},e){t.checked=pg(r,e.props.value),t[Vi]=qs(e),Ca(t,"change",()=>{t[Vi]($c(t))})},beforeUpdate(t,{value:r,oldValue:e},n){t[Vi]=qs(n),r!==e&&(t.checked=pg(r,n.props.value))}},jee={deep:!0,created(t,{value:r,modifiers:{number:e}},n){const i=id(r);Ca(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?Gv($c(a)):$c(a));t[Vi](t.multiple?i?new Set(o):o:o[0])}),t[Vi]=qs(n)},mounted(t,{value:r}){ux(t,r)},beforeUpdate(t,r,e){t[Vi]=qs(e)},updated(t,{value:r}){ux(t,r)}};function ux(t,r){const e=t.multiple;if(!(e&&!Le(r)&&!id(r))){for(let n=0,i=t.options.length;n<i;n++){const o=t.options[n],a=$c(o);if(e)Le(r)?o.selected=LS(r,a)>-1:o.selected=r.has(a);else if(pg($c(o),r)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!e&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function $c(t){return"_value"in t?t._value:t.value}function kj(t,r){const e=r?"_trueValue":"_falseValue";return e in t?t[e]:r}const Vee={created(t,r,e){OC(t,r,e,null,"created")},mounted(t,r,e){OC(t,r,e,null,"mounted")},beforeUpdate(t,r,e,n){OC(t,r,e,n,"beforeUpdate")},updated(t,r,e,n){OC(t,r,e,n,"updated")}};function Gee(t,r){switch(t){case"SELECT":return jee;case"TEXTAREA":return lx;default:switch(r){case"checkbox":return Lee;case"radio":return zee;default:return lx}}}function OC(t,r,e,n,i){const a=Gee(t.tagName,e.props&&e.props.type)[i];a&&a(t,r,e,n)}const Wee=["ctrl","shift","alt","meta"],Hee={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>Wee.some(e=>t[`${e}Key`]&&!r.includes(e))},$n=(t,r)=>{const e=t._withMods||(t._withMods={}),n=r.join(".");return e[n]||(e[n]=(i,...o)=>{for(let a=0;a<r.length;a++){const s=Hee[r[a]];if(s&&s(i,r))return}return t(i,...o)})},Uee={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},xj=(t,r)=>{const e=t._withKeys||(t._withKeys={}),n=r.join(".");return e[n]||(e[n]=i=>{if(!("key"in i))return;const o=Bg(i.key);if(r.some(a=>a===o||Uee[a]===o))return t(i)})},Zee=Gr({patchProp:Mee},Cee);let cx;function Pj(){return cx||(cx=YJ(Zee))}const dx=(...t)=>{Pj().render(...t)},a2=(...t)=>{const r=Pj().createApp(...t),{mount:e}=r;return r.mount=n=>{const i=Yee(n);if(!i)return;const o=r._component;!et(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=e(i,!1,Kee(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},r};function Kee(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Yee(t){return cr(t)?document.querySelector(t):t}var Xee=Object.create,Rj=Object.defineProperty,Qee=Object.getOwnPropertyDescriptor,s2=Object.getOwnPropertyNames,qee=Object.getPrototypeOf,Jee=Object.prototype.hasOwnProperty,ete=(t,r)=>function(){return t&&(r=(0,t[s2(t)[0]])(t=0)),r},Dj=(t,r)=>function(){return r||(0,t[s2(t)[0]])((r={exports:{}}).exports,r),r.exports},tte=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of s2(r))!Jee.call(t,i)&&i!==e&&Rj(t,i,{get:()=>r[i],enumerable:!(n=Qee(r,i))||n.enumerable});return t},rte=(t,r,e)=>(e=t!=null?Xee(qee(t)):{},tte(r||!t||!t.__esModule?Rj(e,"default",{value:t,enumerable:!0}):e,t)),nt=ete({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),nte=Dj({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(t,r){nt(),function(e){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},i=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),g=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),c=function(C,I){var v="-",p="",m="",b=!0,S={},N,k,_,T,P,R,L,te,W,V,Q,Ie,Re,We,Fe="";if(typeof C!="string")return"";if(typeof I=="string"&&(v=I),L=s.en,te=a.en,typeof I=="object"){N=I.maintainCase||!1,S=I.custom&&typeof I.custom=="object"?I.custom:S,_=+I.truncate>1&&I.truncate||!1,T=I.uric||!1,P=I.uricNoSlash||!1,R=I.mark||!1,b=!(I.symbols===!1||I.lang===!1),v=I.separator||v,T&&(Fe+=l),P&&(Fe+=g),R&&(Fe+=u),L=I.lang&&s[I.lang]&&b?s[I.lang]:b?s.en:{},te=I.lang&&a[I.lang]?a[I.lang]:I.lang===!1||I.lang===!0?{}:a.en,I.titleCase&&typeof I.titleCase.length=="number"&&Array.prototype.toString.call(I.titleCase)?(I.titleCase.forEach(function(me){S[me+""]=me+""}),k=!0):k=!!I.titleCase,I.custom&&typeof I.custom.length=="number"&&Array.prototype.toString.call(I.custom)&&I.custom.forEach(function(me){S[me+""]=me+""}),Object.keys(S).forEach(function(me){var je;me.length>1?je=new RegExp("\\b"+h(me)+"\\b","gi"):je=new RegExp(h(me),"gi"),C=C.replace(je,S[me])});for(Q in S)Fe+=Q}for(Fe+=v,Fe=h(Fe),C=C.replace(/(^\s+|\s+$)/g,""),Re=!1,We=!1,V=0,Ie=C.length;V<Ie;V++)Q=C[V],A(Q,S)?Re=!1:te[Q]?(Q=Re&&te[Q].match(/[A-Za-z0-9]/)?" "+te[Q]:te[Q],Re=!1):Q in n?(V+1<Ie&&i.indexOf(C[V+1])>=0?(m+=Q,Q=""):We===!0?(Q=o[m]+n[Q],m=""):Q=Re&&n[Q].match(/[A-Za-z0-9]/)?" "+n[Q]:n[Q],Re=!1,We=!1):Q in o?(m+=Q,Q="",V===Ie-1&&(Q=o[m]),We=!0):L[Q]&&!(T&&l.indexOf(Q)!==-1)&&!(P&&g.indexOf(Q)!==-1)?(Q=Re||p.substr(-1).match(/[A-Za-z0-9]/)?v+L[Q]:L[Q],Q+=C[V+1]!==void 0&&C[V+1].match(/[A-Za-z0-9]/)?v:"",Re=!0):(We===!0?(Q=o[m]+Q,m="",We=!1):Re&&(/[A-Za-z0-9]/.test(Q)||p.substr(-1).match(/A-Za-z0-9]/))&&(Q=" "+Q),Re=!1),p+=Q.replace(new RegExp("[^\\w\\s"+Fe+"_-]","g"),v);return k&&(p=p.replace(/(\w)(\S*)/g,function(me,je,Ge){var it=je.toUpperCase()+(Ge!==null?Ge:"");return Object.keys(S).indexOf(it.toLowerCase())<0?it:it.toLowerCase()})),p=p.replace(/\s+/g,v).replace(new RegExp("\\"+v+"+","g"),v).replace(new RegExp("(^\\"+v+"+|\\"+v+"+$)","g"),""),_&&p.length>_&&(W=p.charAt(_)===v,p=p.slice(0,_),W||(p=p.slice(0,p.lastIndexOf(v)))),!N&&!k&&(p=p.toLowerCase()),p},d=function(C){return function(v){return c(v,C)}},h=function(C){return C.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},A=function(f,C){for(var I in C)if(C[I]===f)return!0};if(typeof r<"u"&&r.exports)r.exports=c,r.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=c,e.createSlug=d}catch{}}(t)}}),ite=Dj({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,r){nt(),r.exports=nte()}});nt();nt();nt();nt();nt();nt();var hx,Ax,vi=(Ax=(hx=qe).__VUE_DEVTOOLS_HOOK)!=null?Ax:hx.__VUE_DEVTOOLS_HOOK=_4(),ote={vueAppInit(t){vi.hook(jr.APP_INIT,t)},vueAppConnected(t){vi.hook(jr.APP_CONNECTED,t)},componentAdded(t){return vi.hook(jr.COMPONENT_ADDED,t)},componentUpdated(t){return vi.hook(jr.COMPONENT_UPDATED,t)},componentRemoved(t){return vi.hook(jr.COMPONENT_REMOVED,t)},setupDevtoolsPlugin(t){vi.hook(jr.SETUP_DEVTOOLS_PLUGIN,t)}};function fx(){return{id:"vue-devtools-next",enabled:!1,appRecords:[],apps:{},events:new Map,on(t,r){var e;return this.events.has(t)||this.events.set(t,[]),(e=this.events.get(t))==null||e.push(r),()=>this.off(t,r)},once(t,r){const e=(...n)=>{this.off(t,e),r(...n)};return this.on(t,e),[t,e]},off(t,r){if(this.events.has(t)){const e=this.events.get(t),n=e.indexOf(r);n!==-1&&e.splice(n,1)}},emit(t,...r){this.events.has(t)&&this.events.get(t).forEach(e=>e(...r))}}}function ate(){const t=qe.__VUE_DEVTOOLS_GLOBAL_HOOK__;t.on(jr.APP_INIT,(r,e)=>{var n,i,o;(o=(i=(n=r?._instance)==null?void 0:n.type)==null?void 0:i.devtools)!=null&&o.hide||vi.callHook(jr.APP_INIT,r,e)}),t.on(jr.COMPONENT_ADDED,async(r,e,n,i)=>{var o,a,s;(s=(a=(o=r?._instance)==null?void 0:o.type)==null?void 0:a.devtools)!=null&&s.hide||!r||typeof e!="number"&&!e||!i||vi.callHook(jr.COMPONENT_ADDED,r,e,n,i)}),t.on(jr.COMPONENT_UPDATED,(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||vi.callHook(jr.COMPONENT_UPDATED,r,e,n,i)}),t.on(jr.COMPONENT_REMOVED,async(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||vi.callHook(jr.COMPONENT_REMOVED,r,e,n,i)}),t.on(jr.SETUP_DEVTOOLS_PLUGIN,(r,e)=>{vi.callHook(jr.SETUP_DEVTOOLS_PLUGIN,r,e)})}var tg={on:ote},wc="__VUE_DEVTOOLS_ROUTER_INFO__",Qv="__VUE_DEVTOOLS_ROUTER__",Cx,Ix;(Ix=(Cx=qe)[wc])!=null||(Cx[wc]={currentRoute:null,routes:[],router:null});var vx,px;(px=(vx=qe)[Qv])!=null||(vx[Qv]=null);var ste=new Proxy(qe[wc],{get(t,r){return qe[wc][r]}});function lte(t){const r=n=>{const i=new Map;return(n?.getRoutes()||[]).filter(o=>!i.has(o.path)&&i.set(o.path,1))};function e(){var n;const i=(n=t.app)==null?void 0:n.config.globalProperties.$router,o=i?.currentRoute.value,a=r(i).map(l=>{const{path:g,name:u,children:c}=l;return{path:g,name:u,children:c}}),s=console.warn;console.warn=()=>{},qe[wc]={currentRoute:o?mc(o):{},routes:mc(a)},qe[Qv]=i,console.warn=s}e(),tg.on.componentUpdated(Qh(()=>{e(),zt.callHook("router-info:updated",qe[wc])},200))}function gte(t){return t.replace(/\D/g,"")||"0"}var fs="__VUE_DEVTOOLS_GLOBAL_STATE__",Mo="__VUE_DEVTOOLS_CONTEXT__",Nj={appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]},mx,yx;(yx=(mx=qe)[fs])!=null||(mx[fs]={connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null});var bx,$x;($x=(bx=qe)[Mo])!=null||(bx[Mo]=mc(Nj));var ute=Qh((t,r)=>{zt.callHook("devtools:state-updated",t,r)},80),cte=Qh((t,r)=>{zt.callHook("devtools:connected-updated",t,r)},80),jt=new Proxy(qe[fs],{get(t,r){return qe[fs][r]},set(t,r,e){var n;const i={...qe[fs]};return t[r]=e,qe[fs][r]=e,r==="activeAppRecord"&&(qe[Mo].appRecord=e,qe[Mo].api=e.api,qe[Mo].inspector=(n=e.inspector)!=null?n:[],lte(e),qe[Mo].routerInfo=ste),ute(qe[fs],i),["connected","clientConnected"].includes(r.toString())&&i[r]!==e&&cte(qe[fs],i),!0},deleteProperty(t,r){return delete t[r],!0}});Object.defineProperty(jt.tabs,"push",{configurable:!0,value(...t){const r=Array.prototype.push.apply(this,t);return jt.tabs=this,zt.callHook("custom-tabs:updated",this),r}});["push","splice"].forEach(t=>{Object.defineProperty(jt.commands,t,{configurable:!0,value(...r){const e=Array.prototype[t].apply(this,r);return jt.commands=this,zt.callHook("custom-commands:updated",this),e}})});var fr=new Proxy(qe[Mo],{get(t,r){return r==="router"?qe[Qv]:r==="clear"?dte:qe[Mo][r]},set(t,r,e){return r==="componentPluginHookBuffer"&&(qe[Mo][r]=e),!0}});function dte(){qe[Mo]=mc(Nj)}nt();nt();nt();nt();var hte=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),wx=/^\[native Symbol Symbol\((.*)\)\]$/,Ate=/^\[object (\w+)]$/,qv=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,fte=/^(?:function|class) (\w+)/,_x=1e4,Ex=5e3,ZA="__vue_devtool_undefined__",bm="__vue_devtool_infinity__",$m="__vue_devtool_negative_infinity__",wm="__vue_devtool_nan__",Cte={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};nt();function Ite(t){return t._&&Object.keys(t._).includes("vnode")}function Mj(t){return Object.prototype.toString.call(t)==="[object Object]"}function vte(t){if(t==null)return!0;const r=typeof t;return r==="string"||r==="number"||r==="boolean"}function Bj(t){return!!t.__v_isRef}function pte(t){return Bj(t)&&!!t.effect}function mte(t){return!!t.__v_isReactive}function yte(t){return!!t.__v_isReadonly}nt();function bte(t){return t===null?"null":t===ZA?"undefined":t===wm?"NaN":t===bm?"Infinity":t===$m?"-Infinity":!1}function Fj(t){if(Array.isArray(t))return t.map(e=>Fj(e)).join(" or ");if(t==null)return"null";const r=t.toString().match(fte);return typeof t=="function"&&r&&r[1]||"any"}function $te(t){return!vte(t)&&!Array.isArray(t)&&!Mj(t)?Object.prototype.toString.call(t):t}function Lj(t){return{ref:Bj(t),computed:pte(t),reactive:mte(t),readonly:yte(t)}}function zj(t){return t?.__v_raw?t.__v_raw:t}function hh(t){return t.replace(/[<>"&]/g,r=>Cte[r]||r)}function _m(t,r=!0){const e=typeof t;if(t==null||t===ZA)return"null";if(e==="boolean"||e==="number"||t===bm||t===$m||t===wm)return"literal";if(t?._custom)return r||t._custom.display!=null||t._custom.displayText!=null?"custom":_m(t._custom.value);if(typeof t=="string"){const n=qv.exec(t);if(n){const[,i]=n;return`native ${i}`}else return"string"}else return Array.isArray(t)||t?._isArray?"array":Mj(t)?"plain-object":"unknown"}function wte(t,r=!1){var e,n;let i;const o=_m(t,!1);if(o!=="custom"&&t?._custom&&(t=t._custom.value),i=bte(t))return i;if(o==="custom")return(e=t._custom.displayText)!=null?e:t._custom.display;if(o==="array")return`Array[${t.length}]`;if(o==="plain-object")return`Object${Object.keys(t).length?"":" (empty)"}`;if(o?.includes("native"))return hh((n=qv.exec(t))==null?void 0:n[2]);if(typeof t=="string"){const a=t.match(Ate);a?t=hh(a[1]):r?t=`<span>"</span>${hh(t)}<span>"</span>`:t=hh(t),t=t.replace(/ /g,"&nbsp;").replace(/\n/g,"<span>\\n</span>")}return t}function jj(t){var r,e;const n=_m(t)==="custom";let i={};if(n){const o=t;i=((r=o._custom)==null?void 0:r.fields)||{},t=(e=o._custom)==null?void 0:e.value}return t&&t._isArray&&(t=t.items),{value:t,inherit:i}}nt();nt();nt();function _te(t){return t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name}function Vj(t){const r=t.__file;if(r)return $4(oq(r,".vue"))}function Ete(t){const r=t.displayName||t.name||t._componentTag;return r||Vj(t)}function Sx(t,r){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=r,r}function ac(t){if(t.__VUE_DEVTOOLS_APP_RECORD__)return t.__VUE_DEVTOOLS_APP_RECORD__;if(t.root)return t.appContext.app.__VUE_DEVTOOLS_APP_RECORD__}async function av(t){const{app:r,uid:e,instance:n}=t;try{if(n.__VUE_DEVTOOLS_UID__)return n.__VUE_DEVTOOLS_UID__;const i=await ac(r);if(!i)return null;const o=i.rootInstance===n;return`${i.id}:${o?"root":e}`}catch{}}function l2(t){var r;return((r=t.subTree)==null?void 0:r.type)===ye}function Pb(t){return t._isBeingDestroyed||t.isUnmounted}function zg(t){var r,e,n;const i=_te(t.type||{});if(i)return i;if(t.root===t)return"Root";for(const a in(e=(r=t.parent)==null?void 0:r.type)==null?void 0:e.components)if(t.parent.type.components[a]===t.type)return Sx(t,a);for(const a in(n=t.appContext)==null?void 0:n.components)if(t.appContext.components[a]===t.type)return Sx(t,a);const o=Vj(t.type||{});return o||"Anonymous Component"}function Gj(t){var r,e,n;const i=(n=(e=(r=t?.appContext)==null?void 0:r.app)==null?void 0:e.__VUE_DEVTOOLS_APP_RECORD_ID__)!=null?n:0,o=t===t.root?"root":t.uid;return`${i}:${o}`}function Ste(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function ll(t){try{return t()}catch(r){return r}}function _c(t,r){return r=r||`${t.id}:root`,t.instanceMap.get(r)||t.instanceMap.get(":root")}nt();function Jv(t,r,e){if(typeof r=="function"&&(r=r.options),!r)return t;const{mixins:n,extends:i}=r;i&&Jv(t,i),n&&n.forEach(o=>Jv(t,o));for(const o of["computed","inject"])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]?Object.assign(t[o],r[o]):t[o]=r[o]);return t}function Tte(t){const r=t.type,{mixins:e,extends:n}=r,i=t.appContext.mixins;if(!i.length&&!e&&!n)return r;const o={};return i.forEach(a=>Jv(o,a)),Jv(o,r),o}function Ote(t){const r=[],e=t.type.props;for(const n in t.props){const i=e?e[n]:null,o=nq(n);r.push({type:"props",key:o,value:ll(()=>t.props[n]),meta:i?{type:i.type?Fj(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return r}function kte(t){const r=t.type,e=r.props,n=r.vuex&&r.vuex.getters,i=r.computed,o={...t.data,...t.renderContext};return Object.keys(o).filter(a=>!(e&&a in e)&&!(n&&a in n)&&!(i&&a in i)).map(a=>({key:a,type:"data",value:ll(()=>o[a]),editable:!0}))}function xte(t){const r=t.computed?"computed":t.ref?"ref":t.reactive?"reactive":null,e=r?`${r.charAt(0).toUpperCase()}${r.slice(1)}`:null;return{stateType:r,stateTypeName:e}}function Pte(t){const r=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(e=>!hte.has(e)&&e.split(/(?=[A-Z])/)[0]!=="use").map(e=>{var n,i,o,a;const s=ll(()=>zj(t.setupState[e])),l=r[e];let g,u=typeof s=="function"||typeof s?.render=="function"||typeof s?.__asyncLoader=="function";if(l){const d=Lj(l),{stateType:h,stateTypeName:A}=xte(d),f=d.ref||d.computed||d.reactive,C=((i=(n=l.effect)==null?void 0:n.raw)==null?void 0:i.toString())||((a=(o=l.effect)==null?void 0:o.fn)==null?void 0:a.toString());h&&(u=!1),g={...h?{stateType:h,stateTypeName:A}:{},...C?{raw:C}:{},editable:f&&!d.readonly}}return{key:e,value:s,type:u?"setup (other)":"setup",...g}})}function Rte(t,r){const e=r,n=[],i=e.computed||{};for(const o in i){const a=i[o],s=typeof a=="function"&&a.vuex?"vuex bindings":"computed";n.push({type:s,key:o,value:ll(()=>{var l;return(l=t?.proxy)==null?void 0:l[o]}),editable:typeof a.set=="function"})}return n}function Dte(t){return Object.keys(t.attrs).map(r=>({type:"attrs",key:r,value:ll(()=>t.attrs[r])}))}function Nte(t){return Reflect.ownKeys(t.provides).map(r=>({type:"provided",key:r.toString(),value:ll(()=>t.provides[r])}))}function Mte(t,r){if(!r?.inject)return[];let e=[],n;return Array.isArray(r.inject)?e=r.inject.map(i=>({key:i,originalKey:i})):e=Reflect.ownKeys(r.inject).map(i=>{const o=r.inject[i];let a;return typeof o=="string"||typeof o=="symbol"?a=o:(a=o.from,n=o.default),{key:i,originalKey:a}}),e.map(({key:i,originalKey:o})=>({type:"injected",key:o&&i!==o?`${o.toString()} ➞ ${i.toString()}`:i.toString(),value:ll(()=>t.ctx.hasOwnProperty(i)?t.ctx[i]:t.provides.hasOwnProperty(o)?t.provides[o]:n)}))}function Bte(t){return Object.keys(t.refs).map(r=>({type:"refs",key:r,value:ll(()=>t.refs[r])}))}function Fte(t){var r;const e=t.type.emits,n=Array.isArray(e)?e:Object.keys(e??{}),i=Object.keys((r=t.vnode.props)!=null?r:{}),o=[];for(const a of i){const[s,...l]=a.split(/(?=[A-Z])/);if(s==="on"){const g=l.join("-").toLowerCase(),u=n.includes(g);o.push({type:"event listeners",key:g,value:{_custom:{displayText:u?"✅ Declared":"⚠️ Not declared",key:u?"✅ Declared":"⚠️ Not declared",value:u?"✅ Declared":"⚠️ Not declared",tooltipText:u?null:`The event <code>${g}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return o}function Wj(t){const r=Tte(t);return Ote(t).concat(kte(t),Pte(t),Rte(t,r),Dte(t),Nte(t),Mte(t,r),Bte(t),Fte(t))}function Lte(t){let r="",e=null;try{r=Function.prototype.toString.call(t),e=String.prototype.match.call(r,/\([\s\S]*?\)/)}catch{}const n=e&&e[0],i=typeof n=="string"?n:"(?)",o=typeof t.name=="string"?t.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${hh(o)}${i}`,tooltipText:r.trim()?`<pre>${r}</pre>`:null}}}function zte(t){const r=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${r})`,value:r}}}function jte(t){const r=[];return t.forEach((e,n)=>r.push({key:n,value:e})),{_custom:{type:"map",displayText:"Map",value:r,readOnly:!0,fields:{abstract:!0}}}}function Vte(t){const r=Array.from(t);return{_custom:{type:"set",displayText:`Set[${r.length}]`,value:r,readOnly:!0}}}function Gte(t){const r={},e=t.getters||{},n=Object.keys(e);for(let i=0;i<n.length;i++){const o=n[i];Object.defineProperty(r,o,{enumerable:!0,get:()=>{try{return e[o]}catch(a){return a}}})}return r}function Wte(t){if(t.length)return t.reduce((r,e)=>{const n=e.type||"data",i=r[n]=r[n]||{};return i[e.key]=e.value,r},{})}function Hte(t){const r={},e=t.length;for(let n=0;n<e;n++){const i=t.item(n);r[i.name]=i.value}return r}function Ute(t){return{_custom:{type:"store",displayText:"Store",value:{state:t.state,getters:Gte(t)},fields:{abstract:!0}}}}function Zte(t){return{_custom:{type:"router",displayText:"VueRouter",value:{options:t.options,currentRoute:t.currentRoute},fields:{abstract:!0}}}}function Kte(t){t._&&(t=t._);const r=Wj(t);return{_custom:{type:"component",id:t.__VUE_DEVTOOLS_UID__,displayText:zg(t),tooltipText:"Component instance",value:Wte(r),fields:{abstract:!0}}}}function Yte(t){let r=Ete(t);return r?t.name&&t.__file&&(r+=` <span>(${t.__file})</span>`):r="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:r,tooltipText:"Component definition",...t.__file?{file:t.__file}:{}}}}function Xte(t){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30">&lt;</span><span class="text-blue-500">${t.tagName.toLowerCase()}</span><span class="opacity-30">&gt;</span>`,value:Hte(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(t)}</span>`}}}}function Qte(t){var r,e,n,i;const o=Lj(t);if(o.ref||o.computed||o.reactive){const s=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=zj(o.reactive?t:t._value),g=((e=(r=t.effect)==null?void 0:r.raw)==null?void 0:e.toString())||((i=(n=t.effect)==null?void 0:n.fn)==null?void 0:i.toString());return{_custom:{type:s?.toLowerCase(),stateTypeName:s,value:l,...g?{tooltipText:`<span class="font-mono">${g}</span>`}:{}}}}if(typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function qte(t){var r;if(t==="compilerOptions")return;const e=this[t],n=typeof e;if(Array.isArray(e)){const i=e.length;return i>Ex?{_isArray:!0,length:i,items:e.slice(0,Ex)}:e}else{if(typeof e=="string")return e.length>_x?`${e.substring(0,_x)}... (${e.length} total length)`:e;if(n==="undefined")return ZA;if(e===Number.POSITIVE_INFINITY)return bm;if(e===Number.NEGATIVE_INFINITY)return $m;if(typeof e=="function")return Lte(e);if(n==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(e)}]`;if(typeof e=="bigint")return zte(e);if(e!==null&&typeof e=="object"){const i=Object.prototype.toString.call(e);if(i==="[object Map]")return jte(e);if(i==="[object Set]")return Vte(e);if(i==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(e)}]`;if(i==="[object Date]")return`[native Date ${Date.prototype.toString.call(e)}]`;if(i==="[object Error]")return`[native Error ${e.message}<>${e.stack}]`;if(e.state&&e._vm)return Ute(e);if(e.constructor&&e.constructor.name==="VueRouter")return Zte(e);if(Ite(e))return Kte(e);if(typeof e.render=="function")return Yte(e);if(e.constructor&&e.constructor.name==="VNode")return`[native VNode <${e.tag}>]`;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return Xte(e);if(((r=e.constructor)==null?void 0:r.name)==="Store"&&e._wrappedGetters)return"[object Store]";if(e.currentRoute)return"[object Router]";const o=Qte(e);if(o!=null)return o}else if(Number.isNaN(e))return wm}return $te(e)}nt();function Jte(t){const r=new Set,e=t._custom.value;for(let n=0;n<e.length;n++){const i=e[n];r.add(Em(i))}return r}function ere(t){const r=new Map,e=t._custom.value;for(let n=0;n<e.length;n++){const{key:i,value:o}=e[n];r.set(i,Em(o))}return r}function Em(t){var r;if(t!==ZA){if(t===bm)return Number.POSITIVE_INFINITY;if(t===$m)return Number.NEGATIVE_INFINITY;if(t===wm)return Number.NaN;if(t&&t._custom){const{_custom:e}=t;return e.type==="component"?(r=fr.appRecord)==null?void 0:r.instanceMap.get(e.id):e.type==="map"?ere(t):e.type==="set"?Jte(t):e.type==="bigint"?BigInt(e.value):Em(e.value)}else if(wx.test(t)){const[,e]=wx.exec(t);return Symbol.for(e)}else if(qv.test(t)){const[,e,n,,i]=qv.exec(t),o=new qe[e](n);return e==="Error"&&i&&(o.stack=i),o}else return t}}function tre(t,r){return Em(r)}nt();var kC=512*1024;function Xw(t,r,e,n){let i,o,a,s,l;const g=n.get(t);if(g!=null)return g;const u=e.length,c=Object.prototype.toString.call(t);if(c==="[object Object]"){i={},n.set(t,u),e.push(i);const d=Object.keys(t);for(s=0,l=d.length;s<l;s++){o=d[s];try{if(o==="compilerOptions")return;a=t[o],r&&(a=r.call(t,o,a))}catch(h){a=h}i[o]=Xw(a,r,e,n)}}else if(c==="[object Array]")for(i=[],n.set(t,u),e.push(i),s=0,l=t.length;s<l;s++){try{a=t[s],r&&(a=r.call(t,s,a))}catch(d){a=d}i[s]=Xw(a,r,e,n)}else e.push(t);return u}function rre(t,r=null){let e=t.length,n,i,o,a,s,l;for(;e--;)if(o=t[e],l=Object.prototype.toString.call(o),l==="[object Object]"){const g=Object.keys(o);for(n=0,i=g.length;n<i;n++)a=g[n],s=t[o[a]],r&&(s=r.call(o,a,s)),o[a]=s}else if(l==="[object Array]")for(n=0,i=o.length;n<i;n++)s=t[o[n]],r&&(s=r.call(o,n,s)),o[n]=s}function nre(t,r=null,e=null){let n;try{n=arguments.length===1?JSON.stringify(t):JSON.stringify(t,r,e)}catch{n=ire(t,r,e)}if(n.length>kC){const i=Math.ceil(n.length/kC),o=[];for(let a=0;a<i;a++)o.push(n.slice(a*kC,(a+1)*kC));return o}return n}function ire(t,r=null,e=null){const n=[];return Xw(t,r,n,new Map),e?` ${JSON.stringify(n,null,e)}`:` ${JSON.stringify(n)}`}function Tx(t,r=null){if(Array.isArray(t)&&(t=t.join("")),/^\s/.test(t)){const n=JSON.parse(t);return rre(n,r),n[0]}else return arguments.length===1?JSON.parse(t):JSON.parse(t,r)}function Ru(t){return nre(t,qte)}function ko(t,r=!1){return t?r?Tx(t,tre):Tx(t):{}}nt();function ore(){return Date.now()}nt();nt();function are(t){fr.inspector.push(t)}function Qw(t){return fr.inspector.find(r=>r.id===t)}function Ox(t,r){const e=Qw(t);e&&Object.assign(e,r)}nt();function sre(t){fr.timelineLayer.push(t)}nt();nt();var Hj=class{constructor(){this.refEditor=new lre}set(t,r,e,n){const i=Array.isArray(r)?r:r.split(".");for(;i.length>1;){const s=i.shift();t=t[s],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const o=i[0],a=this.refEditor.get(t)[o];n?n(t,o,e):this.refEditor.isRef(a)?this.refEditor.set(a,e):t[o]=e}get(t,r){const e=Array.isArray(r)?r:r.split(".");for(let n=0;n<e.length;n++)if(t=t[e[n]],this.refEditor.isRef(t)&&(t=this.refEditor.get(t)),!t)return;return t}has(t,r,e=!1){if(typeof t>"u")return!1;const n=Array.isArray(r)?r.slice():r.split("."),i=e?2:1;for(;t&&n.length>i;){const o=n.shift();t=t[o],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}return t!=null&&Object.prototype.hasOwnProperty.call(t,n[0])}createDefaultSetCallback(t){return(r,e,n)=>{if((t.remove||t.newKey)&&(Array.isArray(r)?r.splice(e,1):Ct(r)instanceof Map&&typeof n=="object"&&n&&"key"in n?r.delete(n.key):Ct(r)instanceof Set?r.delete(n):Reflect.deleteProperty(r,e)),!t.remove){const i=r[t.newKey||e];this.refEditor.isRef(i)?this.refEditor.set(i,n):r[t.newKey||e]=n}}}},lre=class{set(t,r){if(ze(t))t.value=r;else{const e=JSON.parse(r),n=Object.keys(t),i=Object.keys(e);n.length>i.length&&n.filter(a=>!i.includes(a)).forEach(a=>Reflect.deleteProperty(t,a)),i.forEach(o=>{Reflect.set(t,o,Reflect.get(e,o))})}}get(t){return ze(t)?t.value:t}isRef(t){return ze(t)||Jl(t)}};async function gre(t,r){const{path:e,nodeId:n,state:i,type:o}=t,a=_c(fr.appRecord,n);if(!a)return;const s=e.slice();let l;a.devtoolsRawSetupState&&Object.keys(a.devtoolsRawSetupState).includes(e[0])&&(l=a.devtoolsRawSetupState),l&&s&&(i.type,r.set(l,s,i.value,r.createDefaultSetCallback(i)))}var ure=new Hj;async function cre(t){gre(t,ure)}nt();function dre(t={}){const{file:r,line:e=0,column:n=0}=t;if(r){const i=window.location.origin;qe.__VUE_DEVTOOLS_VITE_PLUGIN_DETECTED__&&qe.__VUE_INSPECTOR__.openInEditor(i,r,e,n)}}nt();nt();nt();nt();function hre(t,r){jt.pluginBuffer.push([t,r])}async function Are(t){const{app:r,api:e}=t;jt.pluginBuffer.filter(([i])=>i.app===r).forEach(async([i,o])=>{if(i.packageName!=="vue-query"){if(await ac(i.app),i.packageName==="vue-router"){const a=gte(`${i.id}`);i.app===r&&(jt.appRecords=jt.appRecords.map(s=>({...s,routerId:a})))}o(e)}}),jt.appRecords=jt.appRecords.map(i=>{var o,a;const s=(a=(o=i.app)==null?void 0:o.config)==null?void 0:a.globalProperties;return s?{...i,moduleDetectives:{vueRouter:!!s.$router,pinia:!!s.$pinia}}:i})}function fre(t,r){return vi.callHook(jr.SETUP_DEVTOOLS_PLUGIN,t,r)}nt();nt();function ep(t){return l2(t)?Cre(t.subTree):t.subTree?[t.subTree.el]:[]}function Cre(t){if(!t.children)return[];const r=[];return t.children.forEach(e=>{e.component?r.push(...ep(e.component)):e?.el&&r.push(e.el)}),r}nt();var Ire=class{constructor(t){this.filter=t||""}isQualified(t){const r=zg(t);return $4(r).toLowerCase().includes(this.filter)||iq(r).toLowerCase().includes(this.filter)}};function vre(t){return new Ire(t)}var pre=class{constructor(t){this.captureIds=new Map;const{filterText:r="",maxDepth:e,recursively:n}=t;this.componentFilter=vre(r),this.maxDepth=e,this.recursively=n}getComponentTree(t){return this.captureIds=new Map,this.findQualifiedChildren(t,0)}getComponentParents(t){this.captureIds=new Map;const r=[];this.captureId(t);let e=t;for(;e=e.parent;)this.captureId(e),r.push(e);return r}captureId(t){if(!t)return null;const r=t.__VUE_DEVTOOLS_UID__!=null?t.__VUE_DEVTOOLS_UID__:Gj(t);return t.__VUE_DEVTOOLS_UID__=r,this.captureIds.has(r)?null:(this.captureIds.set(r,void 0),this.mark(t),r)}async capture(t,r){var e;if(!t)return null;const n=this.captureId(t),i=zg(t),o=this.getInternalInstanceChildren(t.subTree).filter(c=>!Pb(c)),a=this.getComponentParents(t)||[],s=!!t.isDeactivated||a.some(c=>c.isDeactivated),l={uid:t.uid,id:n,name:i,renderKey:Ste(t.vnode?t.vnode.key:null),inactive:s,children:[],isFragment:l2(t),tags:typeof t.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:t.type.__file||""};if((r<this.maxDepth||t.type.__isKeepAlive||a.some(c=>c.type.__isKeepAlive))&&(l.children=await Promise.all(o.map(c=>this.capture(c,r+1)).filter(Boolean))),this.isKeepAlive(t)){const c=this.getKeepAliveCachedInstances(t),d=o.map(h=>h.__VUE_DEVTOOLS_UID__);for(const h of c)if(!d.includes(h.__VUE_DEVTOOLS_UID__)){const A=await this.capture({...h,isDeactivated:!0},r+1);A&&l.children.push(A)}}const u=ep(t)[0];if(u?.parentElement){const c=t.parent,d=c?ep(c):[];let h=u;const A=[];do A.push(Array.from(h.parentElement.childNodes).indexOf(h)),h=h.parentElement;while(h.parentElement&&d.length&&!d.includes(h));l.domOrder=A.reverse()}else l.domOrder=[-1];return(e=t.suspense)!=null&&e.suspenseKey&&(l.tags.push({label:t.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(t,!0)),fr.api.visitComponentTree({treeNode:l,componentInstance:t,app:t.appContext.app,filter:this.componentFilter.filter}),l}async findQualifiedChildren(t,r){var e;if(this.componentFilter.isQualified(t)&&!((e=t.type.devtools)!=null&&e.hide))return[await this.capture(t,r)];if(t.subTree){const n=this.isKeepAlive(t)?this.getKeepAliveCachedInstances(t):this.getInternalInstanceChildren(t.subTree);return this.findQualifiedChildrenFromList(n,r)}else return[]}async findQualifiedChildrenFromList(t,r){return t=t.filter(e=>{var n;return!Pb(e)&&!((n=e.type.devtools)!=null&&n.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(t.map(e=>this.findQualifiedChildren(e,r)))):Promise.all(t.map(e=>this.capture(e,r)))}getInternalInstanceChildren(t,r=null){const e=[];if(t)if(t.component)r?e.push({...t.component,suspense:r}):e.push(t.component);else if(t.suspense){const n=t.suspense.isInFallback?"suspense fallback":"suspense default";e.push(...this.getInternalInstanceChildren(t.suspense.activeBranch,{...t.suspense,suspenseKey:n}))}else Array.isArray(t.children)&&t.children.forEach(n=>{n.component?r?e.push({...n.component,suspense:r}):e.push(n.component):e.push(...this.getInternalInstanceChildren(n,r))});return e.filter(n=>{var i;return!Pb(n)&&!((i=n.type.devtools)!=null&&i.hide)})}mark(t,r=!1){const e=ac(t).instanceMap;(r||!e.has(t.__VUE_DEVTOOLS_UID__))&&e.set(t.__VUE_DEVTOOLS_UID__,t)}isKeepAlive(t){return t.type.__isKeepAlive&&t.__v_cache}getKeepAliveCachedInstances(t){return Array.from(t.__v_cache.values()).map(r=>r.component).filter(Boolean)}};nt();function mre(t){var r;const e=_c(fr.appRecord,t.instanceId),n=Gj(e),i=zg(e),o=(r=e?.type)==null?void 0:r.__file,a=Wj(e);return{id:n,name:i,file:o,state:a,instance:e}}nt();function yre(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}var xC;function bre(t){return xC||(xC=document.createRange()),xC.selectNode(t),xC.getBoundingClientRect()}function $re(t){const r=yre();if(!t.children)return r;for(let e=0,n=t.children.length;e<n;e++){const i=t.children[e];let o;if(i.component)o=Ec(i.component);else if(i.el){const a=i.el;a.nodeType===1||a.getBoundingClientRect?o=a.getBoundingClientRect():a.nodeType===3&&a.data.trim()&&(o=bre(a))}o&&wre(r,o)}return r}function wre(t,r){return(!t.top||r.top<t.top)&&(t.top=r.top),(!t.bottom||r.bottom>t.bottom)&&(t.bottom=r.bottom),(!t.left||r.left<t.left)&&(t.left=r.left),(!t.right||r.right>t.right)&&(t.right=r.right),t}var kx={top:0,left:0,right:0,bottom:0,width:0,height:0};function Ec(t){const r=t.subTree.el;return typeof window>"u"?kx:l2(t)?$re(t.subTree):r?.nodeType===1?r?.getBoundingClientRect():t.subTree.component?Ec(t.subTree.component):kx}nt();var xx,Px,zt=(Px=(xx=qe).__VUE_DEVTOOLS_API_HOOK)!=null?Px:xx.__VUE_DEVTOOLS_API_HOOK=_4(),_re={devtoolsStateUpdated(t){zt.hook("devtools:state-updated",t)},routerInfoUpdated(t){zt.hook("router-info:updated",t)},getComponentBoundingRect(t){zt.hook("component-bounding-rect:get",t)},inspectComponent(t){zt.hook("component-state:inspect",t)},visitComponentTree(t){zt.hook("component-tree:visit",t)},getInspectorTree(t){zt.hook("inspector-tree:get",t)},getInspectorState(t){zt.hook("inspector-state:get",t)},sendInspectorTree(t){zt.hook("inspector-tree:send",t)},sendInspectorState(t){zt.hook("inspector-state:send",t)},addTimelineEvent(t){zt.hook("timeline:add-event",t)},editInspectorState(t){zt.hook("inspector-state:edit",t)},editComponentState(){},customTabsUpdated(t){zt.hook("custom-tabs:updated",t)},customCommandsUpdated(t){zt.hook("custom-commands:updated",t)}},es="components";function Ere(t){fre({id:es,label:"Components",app:t},r=>{r.addInspector({id:es,label:"Components",treeFilterPlaceholder:"Search components"}),r.on.getComponentBoundingRect(s=>{if(s.app===t&&s.inspectorId===es){const l=_c(fr.appRecord,s.instanceId);if(l){if(typeof DOMRect>"u")return;s.rect=Ec(l),s.rect instanceof DOMRect&&(s.rect={top:s.rect.top,left:s.rect.left,right:s.rect.right,bottom:s.rect.bottom,width:s.rect.width,height:s.rect.height})}}}),r.on.getInspectorTree(async s=>{if(s.app===t&&s.inspectorId===es){const l=_c(fr.appRecord,s.instanceId);if(l){const g=new pre({filterText:s.filter,maxDepth:100,recursively:!1});s.rootNodes=await g.getComponentTree(l)}}}),r.on.getInspectorState(async s=>{var l;if(s.app===t&&s.inspectorId===es){const g=mre({instanceId:s.nodeId}),u=g.instance,c=(l=g.instance)==null?void 0:l.appContext.app,d={componentInstance:u,app:c,instanceData:g};zt.callHookWith(h=>{h.forEach(A=>A(d))},"component-state:inspect"),s.state=g}}),r.on.editInspectorState(async s=>{s.app===t&&s.inspectorId===es&&(cre(s),await r.sendInspectorState("components"))});const e=Qh(()=>{r.sendInspectorTree(es)},120),n=Qh(()=>{r.sendInspectorState(es)},120),i=tg.on.componentAdded(async(s,l,g,u)=>{var c,d,h;if((h=(d=(c=s?._instance)==null?void 0:c.type)==null?void 0:d.devtools)!=null&&h.hide||!s||typeof l!="number"&&!l||!u)return;const A=await av({app:s,uid:l,instance:u}),f=await ac(s);u&&(u.__VUE_DEVTOOLS_UID__==null&&(u.__VUE_DEVTOOLS_UID__=A),f?.instanceMap.has(A)||f?.instanceMap.set(A,u)),f&&e()}),o=tg.on.componentUpdated(async(s,l,g,u)=>{var c,d,h;if((h=(d=(c=s?._instance)==null?void 0:c.type)==null?void 0:d.devtools)!=null&&h.hide||!s||typeof l!="number"&&!l||!u)return;const A=await av({app:s,uid:l,instance:u}),f=await ac(s);u&&(u.__VUE_DEVTOOLS_UID__==null&&(u.__VUE_DEVTOOLS_UID__=A),f?.instanceMap.has(A)||f?.instanceMap.set(A,u)),f&&(e(),n())}),a=tg.on.componentRemoved(async(s,l,g,u)=>{var c,d,h;if((h=(d=(c=s?._instance)==null?void 0:c.type)==null?void 0:d.devtools)!=null&&h.hide||!s||typeof l!="number"&&!l||!u)return;const A=await ac(s);if(!A)return;const f=await av({app:s,uid:l,instance:u});A?.instanceMap.delete(f),e()});fr.componentPluginHookBuffer=[i,o,a]})}async function Uj(t){await Ere(t.app),jt.activeAppRecord=t,jt.activeAppRecordId=`${t.id}`,Are({app:t.app,api:t.api})}async function Sre(t){fr.componentPluginHookBuffer.forEach(e=>e()),fr.api.clear(),fr.clear();const r=jt.appRecords.find(e=>e.id===t);if(r){jt.pluginBuffer=jt.pluginBuffer.filter(([n])=>n.id!=="components");const e=new qj;r.api=e,Uj(r),window.postMessage({event:"toggle-app-record",target:"vue-devtools"})}}nt();function Tre(t){jt.tabs.some(r=>r.name===t.name)||jt.tabs.push(t)}nt();function Ore(t){jt.commands.some(r=>r.id===t.id)||jt.commands.push(t)}function kre(t){const r=jt.commands.findIndex(e=>e.id===t);r!==-1&&jt.commands.splice(r,1)}nt();function xre(t){let r=0;const e=setInterval(()=>{qe.__VUE_INSPECTOR__&&(clearInterval(e),r+=30,t()),r>=5e3&&clearInterval(e)},30)}function Pre(){const t=qe.__VUE_INSPECTOR__,r=t.openInEditor;t.openInEditor=async(...e)=>{t.disable(),r(...e)}}function Rre(){return new Promise(t=>{function r(){Pre(),t(qe.__VUE_INSPECTOR__)}qe.__VUE_INSPECTOR__?r():xre(()=>{r()})})}nt();var Zj="__vue-devtools-component-inspector__",Kj="__vue-devtools-component-inspector__card__",Yj="__vue-devtools-component-inspector__name__",Xj="__vue-devtools-component-inspector__indicator__",Qj={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Dre={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Nre={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Sc(){return document.getElementById(Zj)}function Mre(){return document.getElementById(Kj)}function Bre(){return document.getElementById(Xj)}function Fre(){return document.getElementById(Yj)}function g2(t){return{left:`${Math.round(t.left*100)/100}px`,top:`${Math.round(t.top*100)/100}px`,width:`${Math.round(t.width*100)/100}px`,height:`${Math.round(t.height*100)/100}px`}}function u2(t){var r;const e=document.createElement("div");e.id=(r=t.elementId)!=null?r:Zj,Object.assign(e.style,{...Qj,...g2(t.bounds),...t.style});const n=document.createElement("span");n.id=Kj,Object.assign(n.style,{...Dre,top:t.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=Yj,i.innerHTML=`&lt;${t.name}&gt;&nbsp;&nbsp;`;const o=document.createElement("i");return o.id=Xj,o.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(o.style,Nre),n.appendChild(i),n.appendChild(o),e.appendChild(n),document.body.appendChild(e),e}function c2(t){const r=Sc(),e=Mre(),n=Fre(),i=Bre();r&&(Object.assign(r.style,{...Qj,...g2(t.bounds)}),Object.assign(e.style,{top:t.bounds.top<35?0:"-35px"}),n.innerHTML=`&lt;${t.name}&gt;&nbsp;&nbsp;`,i.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`)}function Lre(t){if(t.visible){const r=_c(fr.appRecord,t.id);if(r&&(t.bounds.width||t.bounds.height)){const e=zg(r);Sc()?c2({...t,name:e}):u2({...t,name:e})}}else{const r=Sc();r&&(r.style.display="none")}}var qw=null;function Rx(t){const r=t.target;if(r){const e=r.__vueParentComponent;if(e&&(qw=e,e.vnode.el)){const i=Ec(e),o=zg(e);Sc()?c2({bounds:i,name:o}):u2({bounds:i,name:o})}}}function zre(t,r){var e;if(t.preventDefault(),t.stopPropagation(),qw){const n=(e=fr.appRecord)==null?void 0:e.app;av({app:n,uid:n.uid,instance:qw}).then(i=>{r(i)})}}function jre(){return window.addEventListener("mouseover",Rx),new Promise(t=>{function r(e){e.preventDefault(),e.stopPropagation(),zre(e,n=>{window.removeEventListener("click",r),window.removeEventListener("mouseover",Rx);const i=Sc();i&&(i.style.display="none"),t(JSON.stringify({id:n}))})}window.addEventListener("click",r)})}function Vre(t){const r=_c(fr.appRecord,t.id);if(r){const[e]=ep(r);if(typeof e.scrollIntoView=="function")e.scrollIntoView({behavior:"smooth"});else{const n=Ec(r),i=document.createElement("div"),o={...g2(n),position:"absolute"};Object.assign(i.style,o),document.body.appendChild(i),i.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(i)},2e3)}setTimeout(()=>{const n=Ec(r);if(n.width||n.height){const i=zg(r),o=Sc();o?c2({...t,name:i,bounds:n}):u2({...t,name:i,bounds:n}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}nt();function Gre(){zt.removeAllHooks()}var qj=class{constructor(){this.on=_re,this.clear=Gre}toggleApp(t){return Sre(t)}addTimelineEvent(t){zt.callHook("timeline:add-event",t)}toggleComponentInspector(t){return Lre(t)}inspectComponentInspector(){return jre()}scrollToComponent(t){return Vre(t)}getComponentBoundingRect(t){const{inspectorId:r,instanceId:e=""}=t,n={app:fr.appRecord.app,inspectorId:r,instanceId:e,rect:{top:0,left:0,width:0,height:0}};return zt.callHookWith(i=>{i.map(o=>o(n))},"component-bounding-rect:get"),Ru(n.rect)}async getInspectorTree(t={}){const{inspectorId:r,filter:e="",instanceId:n=""}=t,i={app:fr.appRecord.app,inspectorId:r,instanceId:n,filter:e,rootNodes:[]};return Ox(r,{filter:e}),await new Promise(o=>{zt.callHookWith(async a=>{await Promise.all(a.map(s=>s(i))),o()},"inspector-tree:get")}),Ru(i.rootNodes)}getInspectorState(t={}){const{inspectorId:r,nodeId:e}=t,n={app:fr.appRecord.app,inspectorId:r,nodeId:e};Ox(r,{nodeId:e}),zt.callHookWith(o=>{o.forEach(a=>a(n))},"inspector-state:get");const i=n.state;return delete i.instance,Ru(i)}async editInspectorState(t){const r=new Hj;zt.callHook("inspector-state:edit",{...t,app:fr.appRecord.app,set:(e,n=t.path,i=t.state.value,o)=>{r.set(e,n,i,o||r.createDefaultSetCallback(t.state))}})}async sendInspectorTree(t){if(Qw(t)){const e=await this.getInspectorTree({inspectorId:t});zt.callHook("inspector-tree:send",Ru({inspectorId:t,data:ko(e)}))}}async sendInspectorState(t){const r=Qw(t);if(r&&r.nodeId){const e=await this.getInspectorState({inspectorId:t,nodeId:r.nodeId});zt.callHook("inspector-state:send",Ru({...ko(e),inspectorId:t}))}}addCustomTab(t){Tre(t)}addCustomCommand(t){Ore(t)}removeCustomCommand(t){kre(t)}addInspector(t){var r;are({id:t.id,nodeId:"",filter:"",treeFilterPlaceholder:(r=t.treeFilterPlaceholder)!=null?r:""})}openInEditor(t){dre(t)}getVueInspector(){return Rre()}visitComponentTree(t){zt.callHook("component-tree:visit",t)}addTimelineLayer(t){sre(t)}notifyComponentUpdate(){}now(){return ore()}getSettings(){return{logStoreChanges:null}}};nt();var Wre=rte(ite(),1),Dx,Nx,Bu=(Nx=(Dx=qe).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null?Nx:Dx.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set};function Hre(t,r){var e;return((e=t?._component)==null?void 0:e.name)||`App ${r}`}function Ure(t){var r,e,n,i;if(t._instance)return t._instance;if((e=(r=t._container)==null?void 0:r._vnode)!=null&&e.component)return(i=(n=t._container)==null?void 0:n._vnode)==null?void 0:i.component}function Zre(t,r){if(t.__VUE_DEVTOOLS_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_APP_RECORD_ID__;let e=r??(Bu.id++).toString();if(r&&Bu.appIds.has(e)){let n=1;for(;Bu.appIds.has(`${r}_${n}`);)n++;e=`${r}_${n}`}return Bu.appIds.add(e),t.__VUE_DEVTOOLS_APP_RECORD_ID__=e,e}function Kre(t){const r=Ure(t);if(r){Bu.id++;const e=Hre(t,Bu.id.toString()),i={id:Zre(t,(0,Wre.default)(e)),name:e,instanceMap:new Map,rootInstance:r};t.__VUE_DEVTOOLS_APP_RECORD__=i;const o=`${i.id}:root`;return i.instanceMap.set(o,i.rootInstance),i.rootInstance.__VUE_DEVTOOLS_UID__=o,i}else return{}}function Yre(){var t,r,e;jt.vitePluginDetected=!!qe.__VUE_DEVTOOLS_VITE_PLUGIN_DETECTED__;const n=((t=qe.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:t.id)==="vue-devtools-next";qe.__VUE_DEVTOOLS_GLOBAL_HOOK__&&n||(qe.__VUE_DEVTOOLS_GLOBAL_HOOK__?Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,fx()):qe.__VUE_DEVTOOLS_GLOBAL_HOOK__=fx(),(e=(r=qe).__VUE_DEVTOOLS_APP_RECORDS__)!=null||(r.__VUE_DEVTOOLS_APP_RECORDS__=[]),tg.on.setupDevtoolsPlugin(hre),tg.on.vueAppInit(async(i,o)=>{var a;const s=Kre(i),l=new qj;jt.appRecords=[...(a=jt.appRecords)!=null?a:[],{...s,app:i,version:o,api:l}],jt.appRecords.length===1&&(await Uj(jt.appRecords[0]),jt.connected=!0,vi.callHook(jr.APP_CONNECTED))}),ate())}var It={state:jt,context:fr,init:Yre,hook:tg,get api(){return fr.api}};const Xre=6e4;function Jj(t){return t}const Qre=Jj,{clearTimeout:qre,setTimeout:Jre}=globalThis,ene=Math.random.bind(Math);function tne(t,r){const{post:e,on:n,eventNames:i=[],serialize:o=Jj,deserialize:a=Qre,resolver:s,timeout:l=Xre}=r,g=new Map;let u;const c=new Proxy({},{get(d,h){if(h==="$functions")return t;const A=(...C)=>{e(o({m:h,a:C,t:"q"}))};if(i.includes(h))return A.asEvent=A,A;const f=async(...C)=>(await u,new Promise((I,v)=>{const p=nne();let m;l>=0&&(m=Jre(()=>{v(new Error(`[birpc] timeout on calling "${h}"`)),g.delete(p)},l).unref?.()),g.set(p,{resolve:I,reject:v,timeoutId:m}),e(o({m:h,a:C,i:p,t:"q"}))}));return f.asEvent=A,f}});return u=n(async(d,...h)=>{const A=a(d);if(A.t==="q"){const{m:f,a:C}=A;let I,v;const p=s?s(f,t[f]):t[f];if(!p)v=new Error(`[birpc] function "${f}" not found`);else try{I=await p.apply(c,C)}catch(m){v=m}A.i&&(v&&r.onError&&r.onError(v,f,C),e(o({t:"s",i:A.i,r:I,e:v}),...h))}else{const{i:f,r:C,e:I}=A,v=g.get(f);v&&(qre(v.timeoutId),I?v.reject(I):v.resolve(C)),g.delete(f)}}),c}const rne="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function nne(t=21){let r="",e=t;for(;e--;)r+=rne[ene()*64|0];return r}function ine(t,r,e={},n={}){const i=`${t}:rpc`;return tne(e,{...n,on:async o=>{(await r).on(i,o)},post:async o=>{(await r).send(i,o)}})}var e8=class{constructor(t={tracker:mk,trigger:mk}){this.emitter=gq(),this.adapter=t,this.adapter.tracker(r=>{this._emit(r.event,r.data)})}_on(t,r){this.emitter.on(t,r)}off(t,r){this.emitter.off(t,r)}_emit(t,r){this.emitter.emit(t,r)}on(t,r){return this._on(t,r),()=>this.off(t,r)}once(t,r){const e=(...n)=>{r(...n),this.off(t,e)};this._on(t,e)}emit(t,r){this.adapter.trigger({event:t,data:r}),this._emit(t,r)}removeAllListeners(){this.emitter.all.clear()}},yt={toggleComponentInspector:"toggle-component-inspector",inspectComponentInspector:"inspect-component-inspector",scrollToComponent:"scroll-to-component",componentBoundingRect:"component-bounding-rect",inspectorTree:"inspector-tree",inspectorState:"inspector-state",updateInspectorTreeId:"inspector-tree:update-id",state:"state",timelineLayer:"timeline-layer",routerInfo:"router-info",router:"router",routeMatched:"route-matched",editState:"edit-inspector-state",openInEditor:"open-in-editor",toggleApp:"toggle-app",isVueInspectorDetected:"vue-inspector:detected",enableVueInspector:"vue-inspector:enable"},t8=class{constructor(t){this.bridge=t}on(t,r){this.bridge.on(`${t}:req`,async e=>{const n=await r(e);this.bridge.emit(`${t}:res`,n)})}emit(t,r){return new Promise(e=>{this.bridge.once(`${t}:res`,n=>{const i={data:ko(n)};e(i)}),this.bridge.emit(`${t}:req`,r)})}};function one(t){return t?ine("vite-plugin-vue-devtools",t,{}):null}var d2=(t=>(t.DEVTOOLS_STATE_UPDATED="devtools-state:updated",t.CUSTOM_TABS_UPDATED="custom-tabs:updated",t.CUSTOM_COMMANDS_UPDATED="custom-commands:updated",t.ROUTER_INFO_UPDATED="router-info:updated",t.ROUTER="router",t.APP_CONNECTED="user-app:connected",t.CLIENT_READY="devtools:client-ready",t.SEND_INSPECTOR_TREE="inspector-tree:send",t.SEND_INSPECTOR_STATE="inspector-state:send",t.EDIT_STATE="state:edit",t.ADD_TIMELINE_EVENT="timeline:add-event",t))(d2||{}),_t={value:null,viteRpc:{enabled:!1,api:null},rpc:null};function ane(t){const r=one(t.viteRPCContext);_t.value=t.bridge,_t.rpc=new t8(t.bridge),r&&(_t.viteRpc={enabled:!0,api:r})}var tp=class{static updateInspectorTreeId(t){_t.rpc.emit(yt.updateInspectorTreeId,t)}static toggleComponentInspector(t){_t.rpc.emit(yt.toggleComponentInspector,t)}static inspectComponentInspector(){return _t.rpc.emit(yt.inspectComponentInspector)}static scrollToComponent(t){return _t.rpc.emit(yt.scrollToComponent,t)}static async getComponentBoundingRect(t){return _t.rpc.emit(yt.componentBoundingRect,t)}static getInspectorTree(t){return _t.rpc.emit(yt.inspectorTree,t)}static async getInspectorState(t){return _t.rpc.emit(yt.inspectorState,t)}static async editInspectorState(t){return _t.rpc.emit(yt.editState,t)}static async getDevToolsState(){return _t.rpc.emit(yt.state)}static async getTimelineLayer(){return _t.rpc.emit(yt.timelineLayer)}static async getRouterInfo(){return _t.rpc.emit(yt.routerInfo)}static async navigate(t){return _t.rpc.emit(yt.router,JSON.stringify(t))}static async getMatchedRoutes(t){return _t.rpc.emit(yt.routeMatched,t)}static async openInEditor(t){return _t.rpc.emit(yt.openInEditor,JSON.stringify(t))}static async isVueInspectorDetected(){return _t.rpc.emit(yt.isVueInspectorDetected)}static async enableVueInspector(){return _t.rpc.emit(yt.enableVueInspector)}static async toggleApp(t){return _t.rpc.emit(yt.toggleApp,t)}static getStaticAssets(){return _t.viteRpc.api.getStaticAssets()}static getImageMeta(t){return _t.viteRpc.api.getImageMeta(t)}static getTextAssetContent(t,r=300){return _t.viteRpc.api.getTextAssetContent(t,r)}static root(){return _t.viteRpc.api.root()}static getGraph(){return _t.viteRpc.api.getGraph()}};tp.on={inspectorTreeUpdated(t,r){_t.value.on("inspector-tree:send",e=>{const n=ko(e);r.inspectorId===n.inspectorId&&t(n)})},inspectorStateUpdated(t,r){_t.value.on("inspector-state:send",e=>{const n=ko(e);r.inspectorId===n.inspectorId&&t({state:n.state,getters:n.getters})})},devtoolsStateUpdated(t){_t.value.on("devtools-state:updated",r=>{t(ko(r))})},customTabsUpdated(t){_t.value.on("custom-tabs:updated",r=>{t(ko(r))})},customCommandsUpdated(t){_t.value.on("custom-commands:updated",r=>{t(ko(r))})},routerInfoUpdated(t){_t.value.on("router-info:updated",r=>{t(ko(r))})},addTimelineEvent(t){_t.value.on("timeline:add-event",r=>{t(ko(r))})}};function sne(t){const r=new t8(t);r.on(yt.state,()=>{var n,i;return JSON.stringify({connected:It.state.connected,clientConnected:It.state.clientConnected,vueVersion:((i=(n=It.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",tabs:It.state.tabs,commands:It.state.commands,vitePluginDetected:It.state.vitePluginDetected,appRecords:It.state.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:It.state.activeAppRecordId})}),r.on(yt.timelineLayer,()=>JSON.stringify(It.context.timelineLayer)),r.on(yt.toggleComponentInspector,n=>(It.api.toggleComponentInspector(n),Promise.resolve(JSON.stringify({})))),r.on(yt.inspectComponentInspector,()=>It.api.inspectComponentInspector()),r.on(yt.scrollToComponent,n=>(It.api.scrollToComponent(n),Promise.resolve(JSON.stringify({})))),r.on(yt.componentBoundingRect,async n=>It.api.getComponentBoundingRect(n)),r.on(yt.inspectorTree,n=>It.api.getInspectorTree(n)),r.on(yt.updateInspectorTreeId,async n=>{It.context.activeInspectorTreeId=n}),r.on(yt.inspectorState,async n=>It.api.getInspectorState(n)),r.on(yt.editState,async n=>It.api.editInspectorState(n)),r.on(yt.routerInfo,()=>JSON.stringify(It.context.routerInfo)),r.on(yt.router,n=>{var i;return(i=It.context.router)==null||i.push(JSON.parse(n)).catch(o=>o),Promise.resolve(JSON.stringify({}))}),r.on(yt.openInEditor,async n=>It.api.openInEditor(JSON.parse(n))),r.on(yt.isVueInspectorDetected,async()=>{var n,i,o;return!!await((o=(i=(n=It)==null?void 0:n.api)==null?void 0:i.getVueInspector)==null?void 0:o.call(i))}),r.on(yt.enableVueInspector,async()=>{var n,i,o;const a=await((o=(i=(n=It)==null?void 0:n.api)==null?void 0:i.getVueInspector)==null?void 0:o.call(i));a&&await a.enable()}),r.on(yt.routeMatched,n=>{var i,o;const a=console.warn;console.warn=()=>{};const s=(o=(i=It.context.router)==null?void 0:i.resolve({path:n||"/"}).matched)!=null?o:[];return console.warn=a,JSON.stringify(s)}),r.on(yt.toggleApp,async n=>(await It.api.toggleApp(n),JSON.stringify({})));function e(){var n,i,o;t.emit("devtools-state:updated",JSON.stringify({vueVersion:((i=(n=It.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",connected:!0,clientConnected:It.state.clientConnected,activeAppRecordId:(o=It.state)==null?void 0:o.activeAppRecordId,appRecords:It.state.appRecords.map(a=>({id:a.id,name:a.name,version:a.version,routerId:a.routerId,moduleDetectives:a.moduleDetectives}))})),It.api.on.devtoolsStateUpdated(a=>{var s;t.emit("devtools-state:updated",JSON.stringify({vueVersion:((s=a?.activeAppRecord)==null?void 0:s.version)||"",connected:a.connected,clientConnected:a.clientConnected,appRecords:a.appRecords.map(l=>({id:l.id,name:l.name,version:l.version,routerId:l.routerId,moduleDetectives:l.moduleDetectives})),activeAppRecordId:a.activeAppRecordId}))}),It.api.on.customTabsUpdated(a=>{t.emit("custom-tabs:updated",JSON.stringify(a))}),It.api.on.customCommandsUpdated(a=>{t.emit("custom-commands:updated",JSON.stringify(a))}),It.api.on.routerInfoUpdated(a=>{t.emit("router-info:updated",JSON.stringify(a))}),It.api.on.sendInspectorTree(a=>{t.emit("inspector-tree:send",a)}),It.api.on.sendInspectorState(a=>{t.emit("inspector-state:send",a)}),It.api.on.addTimelineEvent(a=>{t.emit("timeline:add-event",Ru(a))})}t.on("user-app:connected",()=>{e()}),y4&&window.addEventListener("message",n=>{const i=n.data;i.target==="vue-devtools"&&i.event==="toggle-app-record"&&e()})}function r8(t,r){t==="devtools"?ane(r):sne(r.bridge)}function lne(){const t=U(!1),r=U(!1),e=U(0),n=U(""),i=U([]),o=U([]),a=U(!1),s=U([]),l=U("");function g(){tp.getDevToolsState().then(({data:u})=>{t.value=u.connected,r.value=u.clientConnected,n.value=u.vueVersion||"",i.value=u.tabs,o.value=u.commands,a.value=u.vitePluginDetected,s.value=u.appRecords,l.value=u.activeAppRecordId}),tp.on.devtoolsStateUpdated(u=>{t.value=u.connected,r.value=u.clientConnected,n.value=u.vueVersion||"",s.value=u.appRecords,l.value=u.activeAppRecordId})}return{init:g,restore:g,vueVersion:n,connected:t,clientConnected:r,componentCount:e,tabs:i,commands:o,vitePluginDetected:a,appRecords:s,activeAppRecordId:l}}function gne(t){const r=U(t);function e(n){r.value=n}return{bridge:r,restore:e}}var n8=Symbol("VueDevToolsBridgeSymbol"),i8=Symbol("VueDevToolsStateSymbol");function une(t){return{install(r,e){const{bridge:n,viewMode:i}=t,o=U(i),a=lne(),s=gne(n);a.init(),r.provide(n8,s.bridge),r.provide(i8,a),r.provide("viewMode",o),s.bridge.value.on("toggle-view-mode",l=>{o.value=l}),r.config.globalProperties.__VUE_DEVTOOLS_UPDATE__=l=>{s.restore(l),a.restore()}}}}function h2(){return Er(n8)}function _n(){return tp}function Zi(){return Er(i8)}var cne=class{constructor(t){this.socket=t}},o8=class extends cne{constructor(t){super(t)}onnConnect(){return new Promise(t=>{this.socket.on("syn",()=>{this.socket.emit("syn-ack");const r=setInterval(()=>{this.socket.emit("syn-ack")},300);this.socket.on("ack",()=>{clearInterval(r),t()})})})}};/*!
2
2
  * vue-router v4.2.5
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const Du=typeof window<"u";function dne(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const or=Object.assign;function Rb(t,r){const e={};for(const n in r){const i=r[n];e[n]=po(i)?i.map(t):t(i)}return e}const Eh=()=>{},po=Array.isArray,hne=/\/$/,Ane=t=>t.replace(hne,"");function Db(t,r,e="/"){let n,i={},o="",a="";const s=r.indexOf("#");let l=r.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=r.slice(0,l),o=r.slice(l+1,s>-1?s:r.length),i=t(o)),s>-1&&(n=n||r.slice(0,s),a=r.slice(s,r.length)),n=vne(n??r,e),{fullPath:n+(o&&"?")+o+a,path:n,query:i,hash:a}}function fne(t,r){const e=r.query?t(r.query):"";return r.path+(e&&"?")+e+(r.hash||"")}function Cne(t,r,e){const n=r.matched.length-1,i=e.matched.length-1;return n>-1&&n===i&&Tc(r.matched[n],e.matched[i])&&a8(r.params,e.params)&&t(r.query)===t(e.query)&&r.hash===e.hash}function Tc(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function a8(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const e in t)if(!Ine(t[e],r[e]))return!1;return!0}function Ine(t,r){return po(t)?Mx(t,r):po(r)?Mx(r,t):t===r}function Mx(t,r){return po(r)?t.length===r.length&&t.every((e,n)=>e===r[n]):t.length===1&&t[0]===r}function vne(t,r){if(t.startsWith("/"))return t;if(!t)return r;const e=r.split("/"),n=t.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let o=e.length-1,a,s;for(a=0;a<n.length;a++)if(s=n[a],s!==".")if(s==="..")o>1&&o--;else break;return e.slice(0,o).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var nA;(function(t){t.pop="pop",t.push="push"})(nA||(nA={}));var rp;(function(t){t.back="back",t.forward="forward",t.unknown=""})(rp||(rp={}));const Nb="";function pne(t){if(!t)if(Du){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Ane(t)}const mne=/^[^#]+#/;function yne(t,r){return t.replace(mne,"#")+r}function bne(t,r){const e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:r.behavior,left:n.left-e.left-(r.left||0),top:n.top-e.top-(r.top||0)}}const $ne=()=>({left:window.pageXOffset,top:window.pageYOffset});function wne(t){let r;if("el"in t){const e=t.el,n=typeof e=="string"&&e.startsWith("#"),i=typeof e=="string"?n?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!i)return;r=bne(i,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function Bx(t,r){return(history.state?history.state.position-r:-1)+t}const Jw=new Map;function _ne(t,r){Jw.set(t,r)}function Ene(t){const r=Jw.get(t);return Jw.delete(t),r}function Sne(t=""){let r=[],e=[Nb],n=0;t=pne(t);function i(s){n++,n!==e.length&&e.splice(n),e.push(s)}function o(s,l,{direction:g,delta:u}){const c={direction:g,delta:u,type:nA.pop};for(const d of r)d(s,l,c)}const a={location:Nb,state:{},base:t,createHref:yne.bind(null,t),replace(s){e.splice(n--,1),i(s)},push(s,l){i(s)},listen(s){return r.push(s),()=>{const l=r.indexOf(s);l>-1&&r.splice(l,1)}},destroy(){r=[],e=[Nb],n=0},go(s,l=!0){const g=this.location,u=s<0?rp.back:rp.forward;n=Math.max(0,Math.min(n+s,e.length-1)),l&&o(this.location,g,{direction:u,delta:s})}};return Object.defineProperty(a,"location",{enumerable:!0,get:()=>e[n]}),a}function Tne(t){return typeof t=="string"||t&&typeof t=="object"}function s8(t){return typeof t=="string"||typeof t=="symbol"}const ts={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},l8=Symbol("");var Fx;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Fx||(Fx={}));function Oc(t,r){return or(new Error,{type:t,[l8]:!0},r)}function ha(t,r){return t instanceof Error&&l8 in t&&(r==null||!!(t.type&r))}const Lx="[^/]+?",One={sensitive:!1,strict:!1,start:!0,end:!0},kne=/[.+*?^${}()[\]/\\]/g;function xne(t,r){const e=or({},One,r),n=[];let i=e.start?"^":"";const o=[];for(const g of t){const u=g.length?[]:[90];e.strict&&!g.length&&(i+="/");for(let c=0;c<g.length;c++){const d=g[c];let h=40+(e.sensitive?.25:0);if(d.type===0)c||(i+="/"),i+=d.value.replace(kne,"\\$&"),h+=40;else if(d.type===1){const{value:A,repeatable:f,optional:C,regexp:I}=d;o.push({name:A,repeatable:f,optional:C});const v=I||Lx;if(v!==Lx){h+=10;try{new RegExp(`(${v})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${A}" (${v}): `+m.message)}}let p=f?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;c||(p=C&&g.length<2?`(?:/${p})`:"/"+p),C&&(p+="?"),i+=p,h+=20,C&&(h+=-8),f&&(h+=-20),v===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(e.strict&&e.end){const g=n.length-1;n[g][n[g].length-1]+=.7000000000000001}e.strict||(i+="/?"),e.end?i+="$":e.strict&&(i+="(?:/|$)");const a=new RegExp(i,e.sensitive?"":"i");function s(g){const u=g.match(a),c={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",A=o[d-1];c[A.name]=h&&A.repeatable?h.split("/"):h}return c}function l(g){let u="",c=!1;for(const d of t){(!c||!u.endsWith("/"))&&(u+="/"),c=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:A,repeatable:f,optional:C}=h,I=A in g?g[A]:"";if(po(I)&&!f)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const v=po(I)?I.join("/"):I;if(!v)if(C)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):c=!0);else throw new Error(`Missing required param "${A}"`);u+=v}}return u||"/"}return{re:a,score:n,keys:o,parse:s,stringify:l}}function Pne(t,r){let e=0;for(;e<t.length&&e<r.length;){const n=r[e]-t[e];if(n)return n;e++}return t.length<r.length?t.length===1&&t[0]===80?-1:1:t.length>r.length?r.length===1&&r[0]===80?1:-1:0}function Rne(t,r){let e=0;const n=t.score,i=r.score;for(;e<n.length&&e<i.length;){const o=Pne(n[e],i[e]);if(o)return o;e++}if(Math.abs(i.length-n.length)===1){if(zx(n))return 1;if(zx(i))return-1}return i.length-n.length}function zx(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const Dne={type:0,value:""},Nne=/[a-zA-Z0-9_]/;function Mne(t){if(!t)return[[]];if(t==="/")return[[Dne]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(h){throw new Error(`ERR (${e})/"${g}": ${h}`)}let e=0,n=e;const i=[];let o;function a(){o&&i.push(o),o=[]}let s=0,l,g="",u="";function c(){g&&(e===0?o.push({type:0,value:g}):e===1||e===2||e===3?(o.length>1&&(l==="*"||l==="+")&&r(`A repeatable param (${g}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:g,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):r("Invalid state to consume buffer"),g="")}function d(){g+=l}for(;s<t.length;){if(l=t[s++],l==="\\"&&e!==2){n=e,e=4;continue}switch(e){case 0:l==="/"?(g&&c(),a()):l===":"?(c(),e=1):d();break;case 4:d(),e=n;break;case 1:l==="("?e=2:Nne.test(l)?d():(c(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:e=3:u+=l;break;case 3:c(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:r("Unknown state");break}}return e===2&&r(`Unfinished custom RegExp for param "${g}"`),c(),a(),i}function Bne(t,r,e){const n=xne(Mne(t.path),e),i=or(n,{record:t,parent:r,children:[],alias:[]});return r&&!i.record.aliasOf==!r.record.aliasOf&&r.children.push(i),i}function Fne(t,r){const e=[],n=new Map;r=Gx({strict:!1,end:!0,sensitive:!1},r);function i(u){return n.get(u)}function o(u,c,d){const h=!d,A=Lne(u);A.aliasOf=d&&d.record;const f=Gx(r,u),C=[A];if("alias"in u){const p=typeof u.alias=="string"?[u.alias]:u.alias;for(const m of p)C.push(or({},A,{components:d?d.record.components:A.components,path:m,aliasOf:d?d.record:A}))}let I,v;for(const p of C){const{path:m}=p;if(c&&m[0]!=="/"){const b=c.record.path,S=b[b.length-1]==="/"?"":"/";p.path=c.record.path+(m&&S+m)}if(I=Bne(p,c,f),d?d.alias.push(I):(v=v||I,v!==I&&v.alias.push(I),h&&u.name&&!Vx(I)&&a(u.name)),A.children){const b=A.children;for(let S=0;S<b.length;S++)o(b[S],I,d&&d.children[S])}d=d||I,(I.record.components&&Object.keys(I.record.components).length||I.record.name||I.record.redirect)&&l(I)}return v?()=>{a(v)}:Eh}function a(u){if(s8(u)){const c=n.get(u);c&&(n.delete(u),e.splice(e.indexOf(c),1),c.children.forEach(a),c.alias.forEach(a))}else{const c=e.indexOf(u);c>-1&&(e.splice(c,1),u.record.name&&n.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return e}function l(u){let c=0;for(;c<e.length&&Rne(u,e[c])>=0&&(u.record.path!==e[c].record.path||!g8(u,e[c]));)c++;e.splice(c,0,u),u.record.name&&!Vx(u)&&n.set(u.record.name,u)}function g(u,c){let d,h={},A,f;if("name"in u&&u.name){if(d=n.get(u.name),!d)throw Oc(1,{location:u});f=d.record.name,h=or(jx(c.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&jx(u.params,d.keys.map(v=>v.name))),A=d.stringify(h)}else if("path"in u)A=u.path,d=e.find(v=>v.re.test(A)),d&&(h=d.parse(A),f=d.record.name);else{if(d=c.name?n.get(c.name):e.find(v=>v.re.test(c.path)),!d)throw Oc(1,{location:u,currentLocation:c});f=d.record.name,h=or({},c.params,u.params),A=d.stringify(h)}const C=[];let I=d;for(;I;)C.unshift(I.record),I=I.parent;return{name:f,path:A,params:h,matched:C,meta:jne(C)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:g,removeRoute:a,getRoutes:s,getRecordMatcher:i}}function jx(t,r){const e={};for(const n of r)n in t&&(e[n]=t[n]);return e}function Lne(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:zne(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function zne(t){const r={},e=t.props||!1;if("component"in t)r.default=e;else for(const n in t.components)r[n]=typeof e=="object"?e[n]:e;return r}function Vx(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function jne(t){return t.reduce((r,e)=>or(r,e.meta),{})}function Gx(t,r){const e={};for(const n in t)e[n]=n in r?r[n]:t[n];return e}function g8(t,r){return r.children.some(e=>e===t||g8(t,e))}const u8=/#/g,Vne=/&/g,Gne=/\//g,Wne=/=/g,Hne=/\?/g,c8=/\+/g,Une=/%5B/g,Zne=/%5D/g,d8=/%5E/g,Kne=/%60/g,h8=/%7B/g,Yne=/%7C/g,A8=/%7D/g,Xne=/%20/g;function A2(t){return encodeURI(""+t).replace(Yne,"|").replace(Une,"[").replace(Zne,"]")}function Qne(t){return A2(t).replace(h8,"{").replace(A8,"}").replace(d8,"^")}function e_(t){return A2(t).replace(c8,"%2B").replace(Xne,"+").replace(u8,"%23").replace(Vne,"%26").replace(Kne,"`").replace(h8,"{").replace(A8,"}").replace(d8,"^")}function qne(t){return e_(t).replace(Wne,"%3D")}function Jne(t){return A2(t).replace(u8,"%23").replace(Hne,"%3F")}function eie(t){return t==null?"":Jne(t).replace(Gne,"%2F")}function np(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function tie(t){const r={};if(t===""||t==="?")return r;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const o=n[i].replace(c8," "),a=o.indexOf("="),s=np(a<0?o:o.slice(0,a)),l=a<0?null:np(o.slice(a+1));if(s in r){let g=r[s];po(g)||(g=r[s]=[g]),g.push(l)}else r[s]=l}return r}function Wx(t){let r="";for(let e in t){const n=t[e];if(e=qne(e),n==null){n!==void 0&&(r+=(r.length?"&":"")+e);continue}(po(n)?n.map(o=>o&&e_(o)):[n&&e_(n)]).forEach(o=>{o!==void 0&&(r+=(r.length?"&":"")+e,o!=null&&(r+="="+o))})}return r}function rie(t){const r={};for(const e in t){const n=t[e];n!==void 0&&(r[e]=po(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return r}const nie=Symbol(""),Hx=Symbol(""),Sm=Symbol(""),f2=Symbol(""),t_=Symbol("");function Jd(){let t=[];function r(n){return t.push(n),()=>{const i=t.indexOf(n);i>-1&&t.splice(i,1)}}function e(){t=[]}return{add:r,list:()=>t.slice(),reset:e}}function Cs(t,r,e,n,i){const o=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((a,s)=>{const l=c=>{c===!1?s(Oc(4,{from:e,to:r})):c instanceof Error?s(c):Tne(c)?s(Oc(2,{from:r,to:c})):(o&&n.enterCallbacks[i]===o&&typeof c=="function"&&o.push(c),a())},g=t.call(n&&n.instances[i],r,e,l);let u=Promise.resolve(g);t.length<3&&(u=u.then(l)),u.catch(c=>s(c))})}function Mb(t,r,e,n){const i=[];for(const o of t)for(const a in o.components){let s=o.components[a];if(!(r!=="beforeRouteEnter"&&!o.instances[a]))if(iie(s)){const g=(s.__vccOpts||s)[r];g&&i.push(Cs(g,e,n,o,a))}else{let l=s();i.push(()=>l.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const u=dne(g)?g.default:g;o.components[a]=u;const d=(u.__vccOpts||u)[r];return d&&Cs(d,e,n,o,a)()}))}}return i}function iie(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ux(t){const r=Er(Sm),e=Er(f2),n=X(()=>r.resolve(y(t.to))),i=X(()=>{const{matched:l}=n.value,{length:g}=l,u=l[g-1],c=e.matched;if(!u||!c.length)return-1;const d=c.findIndex(Tc.bind(null,u));if(d>-1)return d;const h=Zx(l[g-2]);return g>1&&Zx(u)===h&&c[c.length-1].path!==h?c.findIndex(Tc.bind(null,l[g-2])):d}),o=X(()=>i.value>-1&&sie(e.params,n.value.params)),a=X(()=>i.value>-1&&i.value===e.matched.length-1&&a8(e.params,n.value.params));function s(l={}){return aie(l)?r[y(t.replace)?"replace":"push"](y(t.to)).catch(Eh):Promise.resolve()}return{route:n,href:X(()=>n.value.href),isActive:o,isExactActive:a,navigate:s}}const oie=$e({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ux,setup(t,{slots:r}){const e=Ys(Ux(t)),{options:n}=Er(Sm),i=X(()=>({[Kx(t.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[Kx(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const o=r.default&&r.default(e);return t.custom?o:ad("a",{"aria-current":e.isExactActive?t.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:i.value},o)}}}),f8=oie;function aie(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function sie(t,r){for(const e in r){const n=r[e],i=t[e];if(typeof n=="string"){if(n!==i)return!1}else if(!po(i)||i.length!==n.length||n.some((o,a)=>o!==i[a]))return!1}return!0}function Zx(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Kx=(t,r,e)=>t??r??e,lie=$e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:e}){const n=Er(t_),i=X(()=>t.route||n.value),o=Er(Hx,0),a=X(()=>{let g=y(o);const{matched:u}=i.value;let c;for(;(c=u[g])&&!c.components;)g++;return g}),s=X(()=>i.value.matched[a.value]);pa(Hx,X(()=>a.value+1)),pa(nie,s),pa(t_,i);const l=U();return rt(()=>[l.value,s.value,t.name],([g,u,c],[d,h,A])=>{u&&(u.instances[c]=g,h&&h!==u&&g&&g===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),g&&u&&(!h||!Tc(u,h)||!d)&&(u.enterCallbacks[c]||[]).forEach(f=>f(g))},{flush:"post"}),()=>{const g=i.value,u=t.name,c=s.value,d=c&&c.components[u];if(!d)return Yx(e.default,{Component:d,route:g});const h=c.props[u],A=h?h===!0?g.params:typeof h=="function"?h(g):h:null,C=ad(d,or({},A,r,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(c.instances[u]=null)},ref:l}));return Yx(e.default,{Component:C,route:g})||C}}});function Yx(t,r){if(!t)return null;const e=t(r);return e.length===1?e[0]:e}const gie=lie;function uie(t){const r=Fne(t.routes,t),e=t.parseQuery||tie,n=t.stringifyQuery||Wx,i=t.history,o=Jd(),a=Jd(),s=Jd(),l=na(ts);let g=ts;Du&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Rb.bind(null,H=>""+H),c=Rb.bind(null,eie),d=Rb.bind(null,np);function h(H,ie){let M,D;return s8(H)?(M=r.getRecordMatcher(H),D=ie):D=H,r.addRoute(D,M)}function A(H){const ie=r.getRecordMatcher(H);ie&&r.removeRoute(ie)}function f(){return r.getRoutes().map(H=>H.record)}function C(H){return!!r.getRecordMatcher(H)}function I(H,ie){if(ie=or({},ie||l.value),typeof H=="string"){const x=Db(e,H,ie.path),j=r.resolve({path:x.path},ie),Z=i.createHref(x.fullPath);return or(x,j,{params:d(j.params),hash:np(x.hash),redirectedFrom:void 0,href:Z})}let M;if("path"in H)M=or({},H,{path:Db(e,H.path,ie.path).path});else{const x=or({},H.params);for(const j in x)x[j]==null&&delete x[j];M=or({},H,{params:c(x)}),ie.params=c(ie.params)}const D=r.resolve(M,ie),B=H.hash||"";D.params=u(d(D.params));const $=fne(n,or({},H,{hash:Qne(B),path:D.path})),E=i.createHref($);return or({fullPath:$,hash:B,query:n===Wx?rie(H.query):H.query||{}},D,{redirectedFrom:void 0,href:E})}function v(H){return typeof H=="string"?Db(e,H,l.value.path):or({},H)}function p(H,ie){if(g!==H)return Oc(8,{from:ie,to:H})}function m(H){return N(H)}function b(H){return m(or(v(H),{replace:!0}))}function S(H){const ie=H.matched[H.matched.length-1];if(ie&&ie.redirect){const{redirect:M}=ie;let D=typeof M=="function"?M(H):M;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=v(D):{path:D},D.params={}),or({query:H.query,hash:H.hash,params:"path"in D?{}:H.params},D)}}function N(H,ie){const M=g=I(H),D=l.value,B=H.state,$=H.force,E=H.replace===!0,x=S(M);if(x)return N(or(v(x),{state:typeof x=="object"?or({},B,x.state):B,force:$,replace:E}),ie||M);const j=M;j.redirectedFrom=ie;let Z;return!$&&Cne(n,D,M)&&(Z=Oc(16,{to:j,from:D}),Fe(D,D,!0,!1)),(Z?Promise.resolve(Z):T(j,D)).catch(q=>ha(q)?ha(q,2)?q:We(q):Ie(q,j,D)).then(q=>{if(q){if(ha(q,2))return N(or({replace:E},v(q.to),{state:typeof q.to=="object"?or({},B,q.to.state):B,force:$}),ie||j)}else q=R(j,D,!0,E,B);return P(j,D,q),q})}function k(H,ie){const M=p(H,ie);return M?Promise.reject(M):Promise.resolve()}function _(H){const ie=Ge.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(H):H()}function T(H,ie){let M;const[D,B,$]=cie(H,ie);M=Mb(D.reverse(),"beforeRouteLeave",H,ie);for(const x of D)x.leaveGuards.forEach(j=>{M.push(Cs(j,H,ie))});const E=k.bind(null,H,ie);return M.push(E),ht(M).then(()=>{M=[];for(const x of o.list())M.push(Cs(x,H,ie));return M.push(E),ht(M)}).then(()=>{M=Mb(B,"beforeRouteUpdate",H,ie);for(const x of B)x.updateGuards.forEach(j=>{M.push(Cs(j,H,ie))});return M.push(E),ht(M)}).then(()=>{M=[];for(const x of $)if(x.beforeEnter)if(po(x.beforeEnter))for(const j of x.beforeEnter)M.push(Cs(j,H,ie));else M.push(Cs(x.beforeEnter,H,ie));return M.push(E),ht(M)}).then(()=>(H.matched.forEach(x=>x.enterCallbacks={}),M=Mb($,"beforeRouteEnter",H,ie),M.push(E),ht(M))).then(()=>{M=[];for(const x of a.list())M.push(Cs(x,H,ie));return M.push(E),ht(M)}).catch(x=>ha(x,8)?x:Promise.reject(x))}function P(H,ie,M){s.list().forEach(D=>_(()=>D(H,ie,M)))}function R(H,ie,M,D,B){const $=p(H,ie);if($)return $;const E=ie===ts,x=Du?history.state:{};M&&(D||E?i.replace(H.fullPath,or({scroll:E&&x&&x.scroll},B)):i.push(H.fullPath,B)),l.value=H,Fe(H,ie,M,E),We()}let L;function te(){L||(L=i.listen((H,ie,M)=>{if(!it.listening)return;const D=I(H),B=S(D);if(B){N(or(B,{replace:!0}),D).catch(Eh);return}g=D;const $=l.value;Du&&_ne(Bx($.fullPath,M.delta),$ne()),T(D,$).catch(E=>ha(E,12)?E:ha(E,2)?(N(E.to,D).then(x=>{ha(x,20)&&!M.delta&&M.type===nA.pop&&i.go(-1,!1)}).catch(Eh),Promise.reject()):(M.delta&&i.go(-M.delta,!1),Ie(E,D,$))).then(E=>{E=E||R(D,$,!1),E&&(M.delta&&!ha(E,8)?i.go(-M.delta,!1):M.type===nA.pop&&ha(E,20)&&i.go(-1,!1)),P(D,$,E)}).catch(Eh)}))}let W=Jd(),V=Jd(),Q;function Ie(H,ie,M){We(H);const D=V.list();return D.length?D.forEach(B=>B(H,ie,M)):console.error(H),Promise.reject(H)}function Re(){return Q&&l.value!==ts?Promise.resolve():new Promise((H,ie)=>{W.add([H,ie])})}function We(H){return Q||(Q=!H,te(),W.list().forEach(([ie,M])=>H?M(H):ie()),W.reset()),H}function Fe(H,ie,M,D){const{scrollBehavior:B}=t;if(!Du||!B)return Promise.resolve();const $=!M&&Ene(Bx(H.fullPath,0))||(D||!M)&&history.state&&history.state.scroll||null;return wn().then(()=>B(H,ie,$)).then(E=>E&&wne(E)).catch(E=>Ie(E,H,ie))}const me=H=>i.go(H);let je;const Ge=new Set,it={currentRoute:l,listening:!0,addRoute:h,removeRoute:A,hasRoute:C,getRoutes:f,resolve:I,options:t,push:m,replace:b,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:V.add,isReady:Re,install(H){const ie=this;H.component("RouterLink",f8),H.component("RouterView",gie),H.config.globalProperties.$router=ie,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>y(l)}),Du&&!je&&l.value===ts&&(je=!0,m(i.location).catch(B=>{}));const M={};for(const B in ts)Object.defineProperty(M,B,{get:()=>l.value[B],enumerable:!0});H.provide(Sm,ie),H.provide(f2,HS(M)),H.provide(t_,l);const D=H.unmount;Ge.add(H),H.unmount=function(){Ge.delete(H),Ge.size<1&&(g=ts,L&&L(),L=null,l.value=ts,je=!1,Q=!1),D()}}};function ht(H){return H.reduce((ie,M)=>ie.then(()=>_(M)),Promise.resolve())}return it}function cie(t,r){const e=[],n=[],i=[],o=Math.max(r.matched.length,t.matched.length);for(let a=0;a<o;a++){const s=r.matched[a];s&&(t.matched.find(g=>Tc(g,s))?n.push(s):e.push(s));const l=t.matched[a];l&&(r.matched.find(g=>Tc(g,l))||i.push(l))}return[e,n,i]}function sd(){return Er(Sm)}function Tm(){return Er(f2)}const die="modulepreload",hie=function(t,r){return new URL(t,r).href},Xx={},mn=function(r,e,n){let i=Promise.resolve();if(e&&e.length>0){const o=document.getElementsByTagName("link");i=Promise.all(e.map(a=>{if(a=hie(a,n),a in Xx)return;Xx[a]=!0;const s=a.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":die,s||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),s)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>r()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};async function Aie(t="/",r=!0){try{const e=`${t}@vite/client`,n=await fetch(e);if((await n.text()).startsWith("<")||!n.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await mn(()=>import(e),__vite__mapDeps([]),import.meta.url)}catch{r&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}const fie=["src","alt"],Cie=["title"],KA=$e({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(t){return(r,e)=>r.icon&&(r.icon.startsWith("/")||r.icon.match(/^https?:/))?(O(),F("img",yn({key:0,style:{width:"1em",height:"1em"}},r.$attrs,{src:r.icon,alt:r.title}),null,16,fie)):(O(),F("div",yn({key:1,style:{width:"1em",height:"1em"}},r.$attrs,{class:r.icon||"i-carbon-bring-forward",title:r.showTitle?r.title:void 0}),null,16,Cie))}}),Iie=["top","right","bottom","left"],Qx=["start","end"],qx=Iie.reduce((t,r)=>t.concat(r,r+"-"+Qx[0],r+"-"+Qx[1]),[]),iA=Math.min,Ml=Math.max,vie={left:"right",right:"left",bottom:"top",top:"bottom"},pie={start:"end",end:"start"};function r_(t,r,e){return Ml(t,iA(r,e))}function jg(t,r){return typeof t=="function"?t(r):t}function Jo(t){return t.split("-")[0]}function Co(t){return t.split("-")[1]}function C8(t){return t==="x"?"y":"x"}function C2(t){return t==="y"?"height":"width"}function YA(t){return["top","bottom"].includes(Jo(t))?"y":"x"}function I2(t){return C8(YA(t))}function I8(t,r,e){e===void 0&&(e=!1);const n=Co(t),i=I2(t),o=C2(i);let a=i==="x"?n===(e?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[o]>r.floating[o]&&(a=op(a)),[a,op(a)]}function mie(t){const r=op(t);return[ip(t),r,ip(r)]}function ip(t){return t.replace(/start|end/g,r=>pie[r])}function yie(t,r,e){const n=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?r?i:n:r?n:i;case"left":case"right":return r?o:a;default:return[]}}function bie(t,r,e,n){const i=Co(t);let o=yie(Jo(t),e==="start",n);return i&&(o=o.map(a=>a+"-"+i),r&&(o=o.concat(o.map(ip)))),o}function op(t){return t.replace(/left|right|bottom|top/g,r=>vie[r])}function $ie(t){return{top:0,right:0,bottom:0,left:0,...t}}function v8(t){return typeof t!="number"?$ie(t):{top:t,right:t,bottom:t,left:t}}function Sh(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jx(t,r,e){let{reference:n,floating:i}=t;const o=YA(r),a=I2(r),s=C2(a),l=Jo(r),g=o==="y",u=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2,d=n[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:n.y-i.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:c};break;case"left":h={x:n.x-i.width,y:c};break;default:h={x:n.x,y:n.y}}switch(Co(r)){case"start":h[a]-=d*(e&&g?-1:1);break;case"end":h[a]+=d*(e&&g?-1:1);break}return h}const wie=async(t,r,e)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=e,s=o.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(r));let g=await a.getElementRects({reference:t,floating:r,strategy:i}),{x:u,y:c}=Jx(g,n,l),d=n,h={},A=0;for(let f=0;f<s.length;f++){const{name:C,fn:I}=s[f],{x:v,y:p,data:m,reset:b}=await I({x:u,y:c,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:g,platform:a,elements:{reference:t,floating:r}});if(u=v??u,c=p??c,h={...h,[C]:{...h[C],...m}},b&&A<=50){A++,typeof b=="object"&&(b.placement&&(d=b.placement),b.rects&&(g=b.rects===!0?await a.getElementRects({reference:t,floating:r,strategy:i}):b.rects),{x:u,y:c}=Jx(g,d,l)),f=-1;continue}}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};async function Om(t,r){var e;r===void 0&&(r={});const{x:n,y:i,platform:o,rects:a,elements:s,strategy:l}=t,{boundary:g="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:d=!1,padding:h=0}=jg(r,t),A=v8(h),C=s[d?c==="floating"?"reference":"floating":c],I=Sh(await o.getClippingRect({element:(e=await(o.isElement==null?void 0:o.isElement(C)))==null||e?C:C.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:g,rootBoundary:u,strategy:l})),v=c==="floating"?{...a.floating,x:n,y:i}:a.reference,p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),m=await(o.isElement==null?void 0:o.isElement(p))?await(o.getScale==null?void 0:o.getScale(p))||{x:1,y:1}:{x:1,y:1},b=Sh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:p,strategy:l}):v);return{top:(I.top-b.top+A.top)/m.y,bottom:(b.bottom-I.bottom+A.bottom)/m.y,left:(I.left-b.left+A.left)/m.x,right:(b.right-I.right+A.right)/m.x}}const _ie=t=>({name:"arrow",options:t,async fn(r){const{x:e,y:n,placement:i,rects:o,platform:a,elements:s}=r,{element:l,padding:g=0}=jg(t,r)||{};if(l==null)return{};const u=v8(g),c={x:e,y:n},d=I2(i),h=C2(d),A=await a.getDimensions(l),f=d==="y",C=f?"top":"left",I=f?"bottom":"right",v=f?"clientHeight":"clientWidth",p=o.reference[h]+o.reference[d]-c[d]-o.floating[h],m=c[d]-o.reference[d],b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let S=b?b[v]:0;(!S||!await(a.isElement==null?void 0:a.isElement(b)))&&(S=s.floating[v]||o.floating[h]);const N=p/2-m/2,k=S/2-A[h]/2-1,_=iA(u[C],k),T=iA(u[I],k),P=_,R=S-A[h]-T,L=S/2-A[h]/2+N,te=r_(P,L,R),V=Co(i)!=null&&L!=te&&o.reference[h]/2-(L<P?_:T)-A[h]/2<0?L<P?P-L:R-L:0;return{[d]:c[d]-V,data:{[d]:te,centerOffset:L-te+V}}}});function Eie(t,r,e){return(t?[...e.filter(i=>Co(i)===t),...e.filter(i=>Co(i)!==t)]:e.filter(i=>Jo(i)===i)).filter(i=>t?Co(i)===t||(r?ip(i)!==i:!1):!0)}const Sie=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var e,n,i;const{rects:o,middlewareData:a,placement:s,platform:l,elements:g}=r,{crossAxis:u=!1,alignment:c,allowedPlacements:d=qx,autoAlignment:h=!0,...A}=jg(t,r),f=c!==void 0||d===qx?Eie(c||null,h,d):d,C=await Om(r,A),I=((e=a.autoPlacement)==null?void 0:e.index)||0,v=f[I];if(v==null)return{};const p=I8(v,o,await(l.isRTL==null?void 0:l.isRTL(g.floating)));if(s!==v)return{reset:{placement:f[0]}};const m=[C[Jo(v)],C[p[0]],C[p[1]]],b=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:v,overflows:m}],S=f[I+1];if(S)return{data:{index:I+1,overflows:b},reset:{placement:S}};const N=b.map(T=>{const P=Co(T.placement);return[T.placement,P&&u?T.overflows.slice(0,2).reduce((R,L)=>R+L,0):T.overflows[0],T.overflows]}).sort((T,P)=>T[1]-P[1]),_=((i=N.filter(T=>T[2].slice(0,Co(T[0])?2:3).every(P=>P<=0))[0])==null?void 0:i[0])||N[0][0];return _!==s?{data:{index:I+1,overflows:b},reset:{placement:_}}:{}}}},Tie=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var e;const{placement:n,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=r,{mainAxis:g=!0,crossAxis:u=!0,fallbackPlacements:c,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:A=!0,...f}=jg(t,r),C=Jo(n),I=Jo(a)===a,v=await(s.isRTL==null?void 0:s.isRTL(l.floating)),p=c||(I||!A?[op(a)]:mie(a));!c&&h!=="none"&&p.push(...bie(a,A,h,v));const m=[a,...p],b=await Om(r,f),S=[];let N=((e=i.flip)==null?void 0:e.overflows)||[];if(g&&S.push(b[C]),u){const P=I8(n,o,v);S.push(b[P[0]],b[P[1]])}if(N=[...N,{placement:n,overflows:S}],!S.every(P=>P<=0)){var k,_;const P=(((k=i.flip)==null?void 0:k.index)||0)+1,R=m[P];if(R)return{data:{index:P,overflows:N},reset:{placement:R}};let L=(_=N.filter(te=>te.overflows[0]<=0).sort((te,W)=>te.overflows[1]-W.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(d){case"bestFit":{var T;const te=(T=N.map(W=>[W.placement,W.overflows.filter(V=>V>0).reduce((V,Q)=>V+Q,0)]).sort((W,V)=>W[1]-V[1])[0])==null?void 0:T[0];te&&(L=te);break}case"initialPlacement":L=a;break}if(n!==L)return{reset:{placement:L}}}return{}}}};async function Oie(t,r){const{placement:e,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Jo(e),s=Co(e),l=YA(e)==="y",g=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,c=jg(r,t);let{mainAxis:d,crossAxis:h,alignmentAxis:A}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof A=="number"&&(h=s==="end"?A*-1:A),l?{x:h*u,y:d*g}:{x:d*g,y:h*u}}const kie=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:e,y:n}=r,i=await Oie(r,t);return{x:e+i.x,y:n+i.y,data:i}}}},xie=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:e,y:n,placement:i}=r,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:C=>{let{x:I,y:v}=C;return{x:I,y:v}}},...l}=jg(t,r),g={x:e,y:n},u=await Om(r,l),c=YA(Jo(i)),d=C8(c);let h=g[d],A=g[c];if(o){const C=d==="y"?"top":"left",I=d==="y"?"bottom":"right",v=h+u[C],p=h-u[I];h=r_(v,h,p)}if(a){const C=c==="y"?"top":"left",I=c==="y"?"bottom":"right",v=A+u[C],p=A-u[I];A=r_(v,A,p)}const f=s.fn({...r,[d]:h,[c]:A});return{...f,data:{x:f.x-e,y:f.y-n}}}}},Pie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){const{placement:e,rects:n,platform:i,elements:o}=r,{apply:a=()=>{},...s}=jg(t,r),l=await Om(r,s),g=Jo(e),u=Co(e),c=YA(e)==="y",{width:d,height:h}=n.floating;let A,f;g==="top"||g==="bottom"?(A=g,f=u===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(f=g,A=u==="end"?"top":"bottom");const C=h-l[A],I=d-l[f],v=!r.middlewareData.shift;let p=C,m=I;if(c){const S=d-l.left-l.right;m=u||v?iA(I,S):S}else{const S=h-l.top-l.bottom;p=u||v?iA(C,S):S}if(v&&!u){const S=Ml(l.left,0),N=Ml(l.right,0),k=Ml(l.top,0),_=Ml(l.bottom,0);c?m=d-2*(S!==0||N!==0?S+N:Ml(l.left,l.right)):p=h-2*(k!==0||_!==0?k+_:Ml(l.top,l.bottom))}await a({...r,availableWidth:m,availableHeight:p});const b=await i.getDimensions(o.floating);return d!==b.width||h!==b.height?{reset:{rects:!0}}:{}}}};function Li(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Go(t){return Li(t).getComputedStyle(t)}const eP=Math.min,Th=Math.max,ap=Math.round;function p8(t){const r=Go(t);let e=parseFloat(r.width),n=parseFloat(r.height);const i=t.offsetWidth,o=t.offsetHeight,a=ap(e)!==i||ap(n)!==o;return a&&(e=i,n=o),{width:e,height:n,fallback:a}}function Js(t){return y8(t)?(t.nodeName||"").toLowerCase():""}let PC;function m8(){if(PC)return PC;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(PC=t.brands.map(r=>r.brand+"/"+r.version).join(" "),PC):navigator.userAgent}function Wo(t){return t instanceof Li(t).HTMLElement}function xs(t){return t instanceof Li(t).Element}function y8(t){return t instanceof Li(t).Node}function tP(t){return typeof ShadowRoot>"u"?!1:t instanceof Li(t).ShadowRoot||t instanceof ShadowRoot}function km(t){const{overflow:r,overflowX:e,overflowY:n,display:i}=Go(t);return/auto|scroll|overlay|hidden|clip/.test(r+n+e)&&!["inline","contents"].includes(i)}function Rie(t){return["table","td","th"].includes(Js(t))}function n_(t){const r=/firefox/i.test(m8()),e=Go(t),n=e.backdropFilter||e.WebkitBackdropFilter;return e.transform!=="none"||e.perspective!=="none"||!!n&&n!=="none"||r&&e.willChange==="filter"||r&&!!e.filter&&e.filter!=="none"||["transform","perspective"].some(i=>e.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=e.contain;return o!=null&&o.includes(i)})}function b8(){return!/^((?!chrome|android).)*safari/i.test(m8())}function v2(t){return["html","body","#document"].includes(Js(t))}function $8(t){return xs(t)?t:t.contextElement}const w8={x:1,y:1};function sc(t){const r=$8(t);if(!Wo(r))return w8;const e=r.getBoundingClientRect(),{width:n,height:i,fallback:o}=p8(r);let a=(o?ap(e.width):e.width)/n,s=(o?ap(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function oA(t,r,e,n){var i,o;r===void 0&&(r=!1),e===void 0&&(e=!1);const a=t.getBoundingClientRect(),s=$8(t);let l=w8;r&&(n?xs(n)&&(l=sc(n)):l=sc(t));const g=s?Li(s):window,u=!b8()&&e;let c=(a.left+(u&&((i=g.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,d=(a.top+(u&&((o=g.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=a.width/l.x,A=a.height/l.y;if(s){const f=Li(s),C=n&&xs(n)?Li(n):n;let I=f.frameElement;for(;I&&n&&C!==f;){const v=sc(I),p=I.getBoundingClientRect(),m=getComputedStyle(I);p.x+=(I.clientLeft+parseFloat(m.paddingLeft))*v.x,p.y+=(I.clientTop+parseFloat(m.paddingTop))*v.y,c*=v.x,d*=v.y,h*=v.x,A*=v.y,c+=p.x,d+=p.y,I=Li(I).frameElement}}return{width:h,height:A,top:d,right:c+h,bottom:d+A,left:c,x:c,y:d}}function Ps(t){return((y8(t)?t.ownerDocument:t.document)||window.document).documentElement}function xm(t){return xs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _8(t){return oA(Ps(t)).left+xm(t).scrollLeft}function aA(t){if(Js(t)==="html")return t;const r=t.assignedSlot||t.parentNode||tP(t)&&t.host||Ps(t);return tP(r)?r.host:r}function E8(t){const r=aA(t);return v2(r)?r.ownerDocument.body:Wo(r)&&km(r)?r:E8(r)}function sp(t,r){var e;r===void 0&&(r=[]);const n=E8(t),i=n===((e=t.ownerDocument)==null?void 0:e.body),o=Li(n);return i?r.concat(o,o.visualViewport||[],km(n)?n:[]):r.concat(n,sp(n))}function rP(t,r,e){return r==="viewport"?Sh(function(n,i){const o=Li(n),a=Ps(n),s=o.visualViewport;let l=a.clientWidth,g=a.clientHeight,u=0,c=0;if(s){l=s.width,g=s.height;const d=b8();(d||!d&&i==="fixed")&&(u=s.offsetLeft,c=s.offsetTop)}return{width:l,height:g,x:u,y:c}}(t,e)):xs(r)?Sh(function(n,i){const o=oA(n,!0,i==="fixed"),a=o.top+n.clientTop,s=o.left+n.clientLeft,l=Wo(n)?sc(n):{x:1,y:1};return{width:n.clientWidth*l.x,height:n.clientHeight*l.y,x:s*l.x,y:a*l.y}}(r,e)):Sh(function(n){const i=Ps(n),o=xm(n),a=n.ownerDocument.body,s=Th(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),l=Th(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let g=-o.scrollLeft+_8(n);const u=-o.scrollTop;return Go(a).direction==="rtl"&&(g+=Th(i.clientWidth,a.clientWidth)-s),{width:s,height:l,x:g,y:u}}(Ps(t)))}function nP(t){return Wo(t)&&Go(t).position!=="fixed"?t.offsetParent:null}function iP(t){const r=Li(t);let e=nP(t);for(;e&&Rie(e)&&Go(e).position==="static";)e=nP(e);return e&&(Js(e)==="html"||Js(e)==="body"&&Go(e).position==="static"&&!n_(e))?r:e||function(n){let i=aA(n);for(;Wo(i)&&!v2(i);){if(n_(i))return i;i=aA(i)}return null}(t)||r}function Die(t,r,e){const n=Wo(r),i=Ps(r),o=oA(t,!0,e==="fixed",r);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&e!=="fixed")if((Js(r)!=="body"||km(i))&&(a=xm(r)),Wo(r)){const l=oA(r,!0);s.x=l.x+r.clientLeft,s.y=l.y+r.clientTop}else i&&(s.x=_8(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}const Nie={getClippingRect:function(t){let{element:r,boundary:e,rootBoundary:n,strategy:i}=t;const o=e==="clippingAncestors"?function(g,u){const c=u.get(g);if(c)return c;let d=sp(g).filter(C=>xs(C)&&Js(C)!=="body"),h=null;const A=Go(g).position==="fixed";let f=A?aA(g):g;for(;xs(f)&&!v2(f);){const C=Go(f),I=n_(f);(A?I||h:I||C.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=C:d=d.filter(v=>v!==f),f=aA(f)}return u.set(g,d),d}(r,this._c):[].concat(e),a=[...o,n],s=a[0],l=a.reduce((g,u)=>{const c=rP(r,u,i);return g.top=Th(c.top,g.top),g.right=eP(c.right,g.right),g.bottom=eP(c.bottom,g.bottom),g.left=Th(c.left,g.left),g},rP(r,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:e,strategy:n}=t;const i=Wo(e),o=Ps(e);if(e===o)return r;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&n!=="fixed")&&((Js(e)!=="body"||km(o))&&(a=xm(e)),Wo(e))){const g=oA(e);s=sc(e),l.x=g.x+e.clientLeft,l.y=g.y+e.clientTop}return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-a.scrollLeft*s.x+l.x,y:r.y*s.y-a.scrollTop*s.y+l.y}},isElement:xs,getDimensions:function(t){return Wo(t)?p8(t):t.getBoundingClientRect()},getOffsetParent:iP,getDocumentElement:Ps,getScale:sc,async getElementRects(t){let{reference:r,floating:e,strategy:n}=t;const i=this.getOffsetParent||iP,o=this.getDimensions;return{reference:Die(r,await i(e),n),floating:{x:0,y:0,...await o(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Go(t).direction==="rtl"},Mie=(t,r,e)=>{const n=new Map,i={platform:Nie,...e},o={...i.platform,_c:n};return wie(t,r,{...i,platform:o})},rg={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function sA(t,r){let e=rg.themes[t]||{},n;do n=e[r],typeof n>"u"?e.$extend?e=rg.themes[e.$extend]||{}:(e=null,n=rg[r]):e=null;while(e);return n}function Bie(t){const r=[t];let e=rg.themes[t]||{};do e.$extend&&!e.$resetCss?(r.push(e.$extend),e=rg.themes[e.$extend]||{}):e=null;while(e);return r.map(n=>`v-popper--theme-${n}`)}function oP(t){const r=[t];let e=rg.themes[t]||{};do e.$extend?(r.push(e.$extend),e=rg.themes[e.$extend]||{}):e=null;while(e);return r}let mg=!1;if(typeof window<"u"){mg=!1;try{const t=Object.defineProperty({},"passive",{get(){mg=!0}});window.addEventListener("test",null,t)}catch{}}let S8=!1;typeof window<"u"&&typeof navigator<"u"&&(S8=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const T8=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),aP={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},sP={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function lP(t,r){const e=t.indexOf(r);e!==-1&&t.splice(e,1)}function Bb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const lo=[];let Pl=null;const gP={};function uP(t){let r=gP[t];return r||(r=gP[t]=[]),r}let i_=function(){};typeof window<"u"&&(i_=window.Element);function mt(t){return function(r){return sA(r.theme,t)}}const Fb="__floating-vue__popper",O8=()=>$e({name:"VPopper",provide(){return{[Fb]:{parentPopper:this}}},inject:{[Fb]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:mt("disabled")},positioningDisabled:{type:Boolean,default:mt("positioningDisabled")},placement:{type:String,default:mt("placement"),validator:t=>T8.includes(t)},delay:{type:[String,Number,Object],default:mt("delay")},distance:{type:[Number,String],default:mt("distance")},skidding:{type:[Number,String],default:mt("skidding")},triggers:{type:Array,default:mt("triggers")},showTriggers:{type:[Array,Function],default:mt("showTriggers")},hideTriggers:{type:[Array,Function],default:mt("hideTriggers")},popperTriggers:{type:Array,default:mt("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:mt("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:mt("popperHideTriggers")},container:{type:[String,Object,i_,Boolean],default:mt("container")},boundary:{type:[String,i_],default:mt("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:mt("strategy")},autoHide:{type:[Boolean,Function],default:mt("autoHide")},handleResize:{type:Boolean,default:mt("handleResize")},instantMove:{type:Boolean,default:mt("instantMove")},eagerMount:{type:Boolean,default:mt("eagerMount")},popperClass:{type:[String,Array,Object],default:mt("popperClass")},computeTransformOrigin:{type:Boolean,default:mt("computeTransformOrigin")},autoMinSize:{type:Boolean,default:mt("autoMinSize")},autoSize:{type:[Boolean,String],default:mt("autoSize")},autoMaxSize:{type:Boolean,default:mt("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:mt("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:mt("preventOverflow")},overflowPadding:{type:[Number,String],default:mt("overflowPadding")},arrowPadding:{type:[Number,String],default:mt("arrowPadding")},arrowOverflow:{type:Boolean,default:mt("arrowOverflow")},flip:{type:Boolean,default:mt("flip")},shift:{type:Boolean,default:mt("shift")},shiftCrossAxis:{type:Boolean,default:mt("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:mt("noAutoFocus")},disposeTimeout:{type:Number,default:mt("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[Fb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,r;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((r=this.popperShowTriggers)==null?void 0:r.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,r)=>(t[r]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,r)=>(t[r]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:r=!1,force:e=!1}={}){var n,i;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(e||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,r),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:r=!1}={}){var e;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:r}),this.parentPopper.lockedChild=null)},1e3));return}((e=this.parentPopper)==null?void 0:e.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,r),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(kie({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(Sie({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(xie({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(Tie({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(_ie({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:i,middlewareData:o})=>{let a;const{centerOffset:s}=o.arrow;return n.startsWith("top")||n.startsWith("bottom")?a=Math.abs(s)>i.reference.width/2:a=Math.abs(s)>i.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:o,middlewareData:a})=>{var s;if((s=a.autoSize)!=null&&s.skip)return{};let l,g;return o.startsWith("top")||o.startsWith("bottom")?l=i.reference.width:g=i.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=g!=null?`${g}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(Pie({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:i})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const e=await Mie(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:e.x,y:e.y,placement:e.placement,strategy:e.strategy,arrow:{...e.middlewareData.arrow,...e.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,r=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Pl&&this.instantMove&&Pl.instantMove&&Pl!==this.parentPopper){Pl.$_applyHide(!0),this.$_applyShow(!0);return}r?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Pl=this),r?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const r=this.delay;return parseInt(r&&r[t]||r||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Bb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...sp(this.$_referenceNode),...sp(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const r=this.$_referenceNode.getBoundingClientRect(),e=this.$_popperNode.querySelector(".v-popper__wrapper"),n=e.parentNode.getBoundingClientRect(),i=r.x+r.width/2-(n.left+e.offsetLeft),o=r.y+r.height/2-(n.top+e.offsetTop);this.result.transformOrigin=`${i}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let r;for(let e=0;e<lo.length;e++)r=lo[e],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}lo.push(this),document.body.classList.add("v-popper--some-open");for(const r of oP(this.theme))uP(r).push(this),document.body.classList.add(`v-popper--some-open--${r}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Bb(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,lP(lo,this),lo.length===0&&document.body.classList.remove("v-popper--some-open");for(const e of oP(this.theme)){const n=uP(e);lP(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}Pl===this&&(Pl=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const r=this.disposeTimeout;r!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},r)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Bb(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,aP,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],aP,this.popperTriggers,this.popperShowTriggers,t);const r=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,sP,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],sP,this.popperTriggers,this.popperHideTriggers,r)},$_registerEventListeners(t,r,e){this.$_events.push({targetNodes:t,eventType:r,handler:e}),t.forEach(n=>n.addEventListener(r,e,mg?{passive:!0}:void 0))},$_registerTriggerListeners(t,r,e,n,i){let o=e;n!=null&&(o=typeof n=="function"?n(o):n),o.forEach(a=>{const s=r[a];s&&this.$_registerEventListeners(t,s,i)})},$_removeEventListeners(t){const r=[];this.$_events.forEach(e=>{const{targetNodes:n,eventType:i,handler:o}=e;!t||t===i?n.forEach(a=>a.removeEventListener(i,o)):r.push(e)}),this.$_events=r},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,r=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,r){for(const e of this.$_targetNodes){const n=e.getAttribute(t);n&&(e.removeAttribute(t),e.setAttribute(r,n))}},$_applyAttrsToTarget(t){for(const r of this.$_targetNodes)for(const e in t){const n=t[e];n==null?r.removeAttribute(e):r.setAttribute(e,n)}},$_updateParentShownChildren(t){let r=this.parentPopper;for(;r;)t?r.shownChildren.add(this.randomId):(r.shownChildren.delete(this.randomId),r.$_pendingHide&&r.hide()),r=r.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Oh>=t.left&&Oh<=t.right&&kh>=t.top&&kh<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),e=Oh-os,n=kh-as,i=r.left+r.width/2-os+(r.top+r.height/2)-as+r.width+r.height,o=os+e*i,a=as+n*i;return RC(os,as,o,a,r.left,r.top,r.left,r.bottom)||RC(os,as,o,a,r.left,r.top,r.right,r.top)||RC(os,as,o,a,r.right,r.top,r.right,r.bottom)||RC(os,as,o,a,r.left,r.bottom,r.right,r.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(S8?(document.addEventListener("touchstart",cP,mg?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Lie,mg?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",cP,!0),window.addEventListener("click",Fie,!0)),window.addEventListener("resize",Vie));function cP(t){for(let r=0;r<lo.length;r++){const e=lo[r];try{const n=e.popperNode();e.$_mouseDownContains=n.contains(t.target)}catch{}}}function Fie(t){k8(t)}function Lie(t){k8(t,!0)}function k8(t,r=!1){const e={};for(let n=lo.length-1;n>=0;n--){const i=lo[n];try{const o=i.$_containsGlobalTarget=zie(i,t);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!e[i.randomId]&&dP(i,o,t)){if(i.$_handleGlobalClose(t,r),!t.closeAllPopover&&t.closePopover&&o){let s=i.parentPopper;for(;s;)e[s.randomId]=!0,s=s.parentPopper;return}let a=i.parentPopper;for(;a&&dP(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,r),a=a.parentPopper}})}catch{}}}function zie(t,r){const e=t.popperNode();return t.$_mouseDownContains||e.contains(r.target)}function dP(t,r,e){return e.closeAllPopover||e.closePopover&&r||jie(t,e)&&!r}function jie(t,r){if(typeof t.autoHide=="function"){const e=t.autoHide(r);return t.lastAutoHide=e,e}return t.autoHide}function Vie(t){for(let r=0;r<lo.length;r++)lo[r].$_computePosition(t)}let os=0,as=0,Oh=0,kh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{os=Oh,as=kh,Oh=t.clientX,kh=t.clientY},mg?{passive:!0}:void 0);function RC(t,r,e,n,i,o,a,s){const l=((a-i)*(r-o)-(s-o)*(t-i))/((s-o)*(e-t)-(a-i)*(n-r)),g=((e-t)*(r-o)-(n-r)*(t-i))/((s-o)*(e-t)-(a-i)*(n-r));return l>=0&&l<=1&&g>=0&&g<=1}const Gie={extends:O8()},Pm=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e};function Wie(t,r,e,n,i,o){return O(),F("div",{ref:"reference",class:_e(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Xe(t.$slots,"default",jA(od(t.slotData)))],2)}const Hie=Pm(Gie,[["render",Wie]]);function Uie(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var e=t.indexOf("Trident/");if(e>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let sv;function o_(){o_.init||(o_.init=!0,sv=Uie()!==-1)}var Rm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){o_(),wn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",sv&&this.$el.appendChild(t),t.data="about:blank",sv||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!sv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Zie=rj();fm("data-v-b329ee4c");const Kie={class:"resize-observer",tabindex:"-1"};Cm();const Yie=Zie((t,r,e,n,i,o)=>(O(),ne("div",Kie)));Rm.render=Yie;Rm.__scopeId="data-v-b329ee4c";Rm.__file="src/components/ResizeObserver.vue";const x8=(t="theme")=>({computed:{themeClass(){return Bie(this[t])}}}),Xie=$e({name:"VPopperContent",components:{ResizeObserver:Rm},mixins:[x8()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),Qie=["id","aria-hidden","tabindex","data-popper-placement"],qie={ref:"inner",class:"v-popper__inner"},Jie=w("div",{class:"v-popper__arrow-outer"},null,-1),eoe=w("div",{class:"v-popper__arrow-inner"},null,-1),toe=[Jie,eoe];function roe(t,r,e,n,i,o){const a=bi("ResizeObserver");return O(),F("div",{id:t.popperId,ref:"popover",class:_e(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:_r(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:r[2]||(r[2]=xj(s=>t.autoHide&&t.$emit("hide"),["esc"]))},[w("div",{class:"v-popper__backdrop",onClick:r[0]||(r[0]=s=>t.autoHide&&t.$emit("hide"))}),w("div",{class:"v-popper__wrapper",style:_r(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[w("div",qie,[t.mounted?(O(),F(ye,{key:0},[w("div",null,[Xe(t.$slots,"default")]),t.handleResize?(O(),ne(a,{key:0,onNotify:r[1]||(r[1]=s=>t.$emit("resize",s))})):be("",!0)],64)):be("",!0)],512),w("div",{ref:"arrow",class:"v-popper__arrow-container",style:_r(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},toe,4)],4)],46,Qie)}const P8=Pm(Xie,[["render",roe]]),R8={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},noe=$e({name:"VPopperWrapper",components:{Popper:Hie,PopperContent:P8},mixins:[R8,x8("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function ioe(t,r,e,n,i,o){const a=bi("PopperContent"),s=bi("Popper");return O(),ne(s,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:_e([t.themeClass])},{default:G(({popperId:l,isShown:g,shouldMountContent:u,skipTransition:c,autoHide:d,show:h,hide:A,handleResize:f,onResize:C,classes:I,result:v})=>[Xe(t.$slots,"default",{shown:g,show:h,hide:A}),z(a,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:g,mounted:u,"skip-transition":c,"auto-hide":d,"handle-resize":f,classes:I,result:v,onHide:A,onResize:C},{default:G(()=>[Xe(t.$slots,"popper",{shown:g,hide:A})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const p2=Pm(noe,[["render",ioe]]),ooe={...p2,name:"VDropdown",vPopperTheme:"dropdown"};({...p2});const aoe={...p2,name:"VTooltip",vPopperTheme:"tooltip"},soe=$e({name:"VTooltipDirective",components:{Popper:O8(),PopperContent:P8},mixins:[R8],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>sA(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>sA(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const r=++this.$_fetchId,e=this.content(this);e.then?e.then(n=>this.onResult(r,n)):this.onResult(r,e)}},onResult(t,r){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=r)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),loe=["innerHTML"],goe=["textContent"];function uoe(t,r,e,n,i,o){const a=bi("PopperContent"),s=bi("Popper");return O(),ne(s,yn({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:G(({popperId:l,isShown:g,shouldMountContent:u,skipTransition:c,autoHide:d,hide:h,handleResize:A,onResize:f,classes:C,result:I})=>[z(a,{ref:"popperContent",class:_e({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:g,mounted:u,"skip-transition":c,"auto-hide":d,"handle-resize":A,classes:C,result:I,onHide:h,onResize:f},{default:G(()=>[t.html?(O(),F("div",{key:0,innerHTML:t.finalContent},null,8,loe)):(O(),F("div",{key:1,textContent:we(t.finalContent)},null,8,goe))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const coe=Pm(soe,[["render",uoe]]),D8="v-popper--has-tooltip";function doe(t,r){let e=t.placement;if(!e&&r)for(const n of T8)r[n]&&(e=n);return e||(e=sA(t.theme||"tooltip","placement")),e}function N8(t,r,e){let n;const i=typeof r;return i==="string"?n={content:r}:r&&i==="object"?n=r:n={content:!1},n.placement=doe(n,e),n.targetNodes=()=>[t],n.referenceNode=()=>t,n}let Lb,lA,hoe=0;function Aoe(){if(Lb)return;lA=U([]),Lb=a2({name:"VTooltipDirectiveApp",setup(){return{directives:lA}},render(){return this.directives.map(r=>ad(coe,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Lb.mount(t)}function foe(t,r,e){Aoe();const n=U(N8(t,r,e)),i=U(!1),o={id:hoe++,options:n,shown:i};return lA.value.push(o),t.classList&&t.classList.add(D8),t.$_popper={options:n,item:o,show(){i.value=!0},hide(){i.value=!1}}}function M8(t){if(t.$_popper){const r=lA.value.indexOf(t.$_popper.item);r!==-1&&lA.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(D8)}function hP(t,{value:r,modifiers:e}){const n=N8(t,r,e);if(!n.content||sA(n.theme||"tooltip","disabled"))M8(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=n):i=foe(t,r,e),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?i.show():i.hide())}}const Coe={beforeMount:hP,updated:hP,beforeUnmount(t){M8(t)}};function AP(t){t.addEventListener("click",B8),t.addEventListener("touchstart",F8,mg?{passive:!0}:!1)}function fP(t){t.removeEventListener("click",B8),t.removeEventListener("touchstart",F8),t.removeEventListener("touchend",L8),t.removeEventListener("touchcancel",z8)}function B8(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function F8(t){if(t.changedTouches.length===1){const r=t.currentTarget;r.$_vclosepopover_touch=!0;const e=t.changedTouches[0];r.$_vclosepopover_touchPoint=e,r.addEventListener("touchend",L8),r.addEventListener("touchcancel",z8)}}function L8(t){const r=t.currentTarget;if(r.$_vclosepopover_touch=!1,t.changedTouches.length===1){const e=t.changedTouches[0],n=r.$_vclosepopover_touchPoint;t.closePopover=Math.abs(e.screenY-n.screenY)<20&&Math.abs(e.screenX-n.screenX)<20,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}}function z8(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const Ioe={beforeMount(t,{value:r,modifiers:e}){t.$_closePopoverModifiers=e,(typeof r>"u"||r)&&AP(t)},updated(t,{value:r,oldValue:e,modifiers:n}){t.$_closePopoverModifiers=n,r!==e&&(typeof r>"u"||r?AP(t):fP(t))},beforeUnmount(t){fP(t)}},Ho=Coe,j8=Ioe,voe=ooe,poe=aoe,m2=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},moe={},yoe={class:"h-3 w-3 $ui-inline-fcc"},boe=w("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[w("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),w("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),$oe=[boe];function woe(t,r){return O(),F("div",yoe,$oe)}const V8=m2(moe,[["render",woe]]),_oe={key:2},ot=$e({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:r}){const e=t,n=r,i=MJ(),o=X(()=>i.to?"router-link":i.href?"a":"button"),a=X(()=>e.loading||e.disabled);function s(c){if(a.value){c.preventDefault(),c.stopPropagation(),c.stopImmediatePropagation();return}n("click",c)}const l={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},g=dj(),u=X(()=>e.flat?l.flat[e.type]:e.outlined?l.outlined[e.type]:l.normal[e.type]);return(c,d)=>(O(),ne(Xs(o.value),yn(c.$attrs,{role:"button","aria-disabled":a.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[l.common[e.type]],{"rounded-full":e.round==="full","$ui-base-br":e.round==="normal","opacity-50 cursor-not-allowed":a.value,"bg-transparent":e.flat||e.outlined},[c.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",c.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",u.value]]],onClickCapture:s}),{default:G(()=>[c.loading?(O(),ne(V8,{key:0,class:"mt0.5 h-full w3"})):Xe(c.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),y(g).default?(O(),F("div",_oe,[Xe(c.$slots,"default")])):be("",!0),Xe(c.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),Eoe={},Soe={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function Toe(t,r){return O(),F("span",Soe,[Xe(t.$slots,"default")])}const CP=m2(Eoe,[["render",Toe]]),Pt=$e({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(r,e)=>(O(),ne(Xs(r.inline?"span":"div"),{class:_e(["$ui-base",[r.icon,r.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function Dm(t){return P4()?(R4(t),!0):!1}function Ooe(t,r,{enumerable:e=!1,unwrap:n=!0}={}){for(const[i,o]of Object.entries(r))i!=="value"&&(ze(o)&&n?Object.defineProperty(t,i,{get(){return o.value},set(a){o.value=a},enumerable:e}):Object.defineProperty(t,i,{value:o,enumerable:e}));return t}function Gi(t){return typeof t=="function"?t():y(t)}const G8=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const koe=t=>typeof t<"u",xoe=Object.prototype.toString,Poe=t=>xoe.call(t)==="[object Object]",lp=()=>{},IP=Roe();function Roe(){var t,r;return G8&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((r=window?.navigator)==null?void 0:r.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function W8(t,r){function e(...n){return new Promise((i,o)=>{Promise.resolve(t(()=>r.apply(this,n),{fn:r,thisArg:this,args:n})).then(i).catch(o)})}return e}const H8=t=>t();function Doe(t,r={}){let e,n,i=lp;const o=a=>{clearTimeout(a),i(),i=lp};return a=>{const s=Gi(t),l=Gi(r.maxWait);return e&&o(e),s<=0||l!==void 0&&l<=0?(n&&(o(n),n=null),Promise.resolve(a())):new Promise((g,u)=>{i=r.rejectOnCancel?u:g,l&&!n&&(n=setTimeout(()=>{e&&o(e),n=null,g(a())},l)),e=setTimeout(()=>{n&&o(n),n=null,g(a())},s)})}}function Noe(t=H8){const r=U(!0);function e(){r.value=!1}function n(){r.value=!0}const i=(...o)=>{r.value&&t(...o)};return{isActive:Va(r),pause:e,resume:n,eventFilter:i}}function Moe(t){return t||sl()}function U8(...t){if(t.length!==1)return Y4(...t);const r=t[0];return typeof r=="function"?Va(XS(()=>({get:r,set:lp}))):U(r)}function Boe(t,r=200,e={}){return W8(Doe(r,e),t)}function Foe(t,r=200,e={}){const n=U(t.value),i=Boe(()=>{n.value=t.value},r,e);return rt(t,()=>i()),n}function Loe(t,r={}){let e=t,n,i;const o=XS((l,g)=>(n=l,i=g,{get(){return a()},set(u){s(u)}}));function a(l=!0){return l&&n(),e}function s(l,g=!0){var u,c;if(l===e)return;const d=e;((u=r.onBeforeChange)==null?void 0:u.call(r,l,d))!==!1&&(e=l,(c=r.onChanged)==null||c.call(r,l,d),g&&i())}return Ooe(o,{get:a,set:s,untrackedGet:()=>a(!1),silentSet:l=>s(l,!1),peek:()=>a(!1),lay:l=>s(l,!1)},{enumerable:!0})}function zoe(t,r,e={}){const{eventFilter:n=H8,...i}=e;return rt(t,W8(n,r),i)}function joe(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=Noe(n);return{stop:zoe(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function y2(t,r=!0,e){Moe()?wi(t,e):r?t():wn(t)}function Voe(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=ze(t),o=U(t);function a(s){if(arguments.length)return o.value=s,o.value;{const l=Gi(e);return o.value=o.value===l?Gi(n):l,o.value}}return i?a:[o,a]}function $s(t){var r;const e=Gi(t);return(r=e?.$el)!=null?r:e}const el=G8?window:void 0;function gp(...t){let r,e,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,n,i]=t,r=el):[r,e,n,i]=t,!r)return lp;Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]);const o=[],a=()=>{o.forEach(u=>u()),o.length=0},s=(u,c,d,h)=>(u.addEventListener(c,d,h),()=>u.removeEventListener(c,d,h)),l=rt(()=>[$s(r),Gi(i)],([u,c])=>{if(a(),!u)return;const d=Poe(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return Dm(g),g}function Goe(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function Z8(...t){let r,e,n={};t.length===3?(r=t[0],e=t[1],n=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,e=t[0],n=t[1]):(r=t[0],e=t[1]):(r=!0,e=t[0]);const{target:i=el,eventName:o="keydown",passive:a=!1,dedupe:s=!1}=n,l=Goe(r);return gp(i,o,g=>{g.repeat&&Gi(s)||l(g)&&e(g)},a)}function Woe(){const t=U(!1);return sl()&&wi(()=>{t.value=!0}),t}function K8(t){const r=Woe();return X(()=>(r.value,!!t()))}function Hoe(t,r={}){const{window:e=el}=r,n=K8(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=U(!1),a=g=>{o.value=g.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},l=Nn(()=>{n.value&&(s(),i=e.matchMedia(Gi(t)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return Dm(()=>{l(),s(),i=void 0}),o}function Uoe(t){return JSON.parse(JSON.stringify(t))}const DC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},NC="__vueuse_ssr_handlers__",Zoe=Koe();function Koe(){return NC in DC||(DC[NC]=DC[NC]||{}),DC[NC]}function Y8(t,r){return Zoe[t]||r}function Yoe(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Xoe={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},vP="vueuse-storage";function Qoe(t,r,e,n={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:g=!1,shallow:u,window:c=el,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?na:U)(typeof r=="function"?r():r);if(!e)try{e=Y8("getDefaultStorage",()=>{var _;return(_=el)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=Gi(r),I=Yoe(C),v=(i=n.serializer)!=null?i:Xoe[I],{pause:p,resume:m}=joe(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&y2(()=>{gp(c,"storage",k),gp(c,vP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const T=v.write(_),P=e.getItem(t);P!==T&&(e.setItem(t,T),c&&c.dispatchEvent(new CustomEvent(vP,{detail:{key:t,oldValue:P,newValue:T,storageArea:e}})))}}catch(T){h(T)}}function S(_){const T=_?_.newValue:e.getItem(t);if(T==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(T);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof T!="string"?T:v.read(T)}function N(_){k(_.detail)}function k(_){if(!(_&&_.storageArea!==e)){if(_&&_.key==null){f.value=C;return}if(!(_&&_.key!==t)){p();try{_?.newValue!==v.write(f.value)&&(f.value=S(_))}catch(T){h(T)}finally{_?wn(m):m()}}}}}function qoe(t){return Hoe("(prefers-color-scheme: dark)",t)}function Joe(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=el,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:g,disableTransition:u=!0}=t,c={auto:"",light:"light",dark:"dark",...t.modes||{}},d=qoe({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?U8(n):Qoe(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=Y8("updateHTMLAttrs",(m,b,S)=>{const N=typeof m=="string"?i?.document.querySelector(m):$s(m);if(!N)return;let k;if(u){k=i.document.createElement("style");const _="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(_)),i.document.head.appendChild(k)}if(b==="class"){const _=S.split(/\s/g);Object.values(c).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{_.includes(T)?N.classList.add(T):N.classList.remove(T)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(m){var b;C(r,e,(b=c[m])!=null?b:m)}function v(m){t.onChanged?t.onChanged(m,I):I(m)}rt(f,v,{flush:"post",immediate:!0}),y2(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(m){A.value=m}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function eae(t,r,e={}){const{window:n=el,...i}=e;let o;const a=K8(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>$s(c)):[$s(t)]),g=rt(l,c=>{if(s(),a.value&&n){o=new ResizeObserver(r);for(const d of c)d&&o.observe(d,i)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{s(),g()};return Dm(u),{isSupported:a,stop:u}}function tae(t,r={width:0,height:0},e={}){const{window:n=el,box:i="content-box"}=e,o=X(()=>{var c,d;return(d=(c=$s(t))==null?void 0:c.namespaceURI)==null?void 0:d.includes("svg")}),a=U(r.width),s=U(r.height),{stop:l}=eae(t,([c])=>{const d=i==="border-box"?c.borderBoxSize:i==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(n&&o.value){const h=$s(t);if(h){const A=n.getComputedStyle(h);a.value=Number.parseFloat(A.width),s.value=Number.parseFloat(A.height)}}else if(d){const h=Array.isArray(d)?d:[d];a.value=h.reduce((A,{inlineSize:f})=>A+f,0),s.value=h.reduce((A,{blockSize:f})=>A+f,0)}else a.value=c.contentRect.width,s.value=c.contentRect.height},e);y2(()=>{const c=$s(t);c&&(a.value="offsetWidth"in c?c.offsetWidth:r.width,s.value="offsetHeight"in c?c.offsetHeight:r.height)});const g=rt(()=>$s(t),c=>{a.value=c?r.width:0,s.value=c?r.height:0});function u(){l(),g()}return{width:a,height:s,stop:u}}function zb(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function X8(t){const r=window.getComputedStyle(t);if(r.overflowX==="scroll"||r.overflowY==="scroll"||r.overflowX==="auto"&&t.clientWidth<t.scrollWidth||r.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const e=t.parentNode;return!e||e.tagName==="BODY"?!1:X8(e)}}function rae(t){const r=t||window.event,e=r.target;return X8(e)?!1:r.touches.length>1?!0:(r.preventDefault&&r.preventDefault(),!1)}const MC=new WeakMap;function nae(t,r=!1){const e=U(r);let n=null,i;rt(U8(t),s=>{const l=zb(Gi(s));if(l){const g=l;MC.get(g)||MC.set(g,i),e.value&&(g.style.overflow="hidden")}},{immediate:!0});const o=()=>{const s=zb(Gi(t));!s||e.value||(IP&&(n=gp(s,"touchmove",l=>{rae(l)},{passive:!1})),s.style.overflow="hidden",e.value=!0)},a=()=>{var s;const l=zb(Gi(t));!l||!e.value||(IP&&n?.(),l.style.overflow=(s=MC.get(l))!=null?s:"",MC.delete(l),e.value=!1)};return Dm(a),X({get(){return e.value},set(s){s?o():a()}})}function Vg(t,r,e,n={}){var i,o,a;const{clone:s=!1,passive:l=!1,eventName:g,deep:u=!1,defaultValue:c,shouldEmit:d}=n,h=sl(),A=e||h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((a=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(h?.proxy));let f=g;r||(r="modelValue"),f=f||`update:${r.toString()}`;const C=p=>s?typeof s=="function"?s(p):Uoe(p):p,I=()=>koe(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),m=U(p);let b=!1;return rt(()=>t[r],S=>{b||(b=!0,m.value=C(S),wn(()=>b=!1))}),rt(m,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),m}else return X({get(){return I()},set(p){v(p)}})}const iae={class:"$ui-dark-toggle-vtr"},Q8=$e({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const r=t,e=Vg(r,"isDark"),n=Joe({initialValue:e.value?"dark":"light",onChanged:s=>{e.value=s==="dark"}}),i=X({get:()=>n.value==="dark",set:s=>n.value=s?"dark":"light"}),o=document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function a(s){if(!o||!s||!r.animation){i.value=!i.value;return}const l=s.clientX,g=s.clientY,u=Math.hypot(Math.max(l,innerWidth-l),Math.max(g,innerHeight-g));document.startViewTransition(async()=>{i.value=!i.value,await wn()}).ready.then(()=>{const c=[`circle(0px at ${l}px ${g}px)`,`circle(${u}px at ${l}px ${g}px)`];document.documentElement.animate({clipPath:i.value?[...c].reverse():c},{duration:r.animationDuration,easing:"ease-in",pseudoElement:i.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(s,l)=>(O(),F("span",iae,[Xe(s.$slots,"default",jA(od({mode:y(n),isDark:i.value,toggle:a})))]))}}),oae={},aae={class:"$ui-base border $ui-border-base rounded shadow-sm"};function sae(t,r){return O(),F("div",aae,[Xe(t.$slots,"default")])}const lv=m2(oae,[["render",sae]]),b2=$e({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean}},setup(t){return(r,e)=>(O(),F("div",{class:_e(["fixed left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[r.dim?"bg-opacity-50!":"bg-opacity-0!",r.blur?"backdrop-blur-sm":""]])},[Xe(r.$slots,"default")],2))}}),lae={class:"h7.5 w-full $ui-fbc"},gae={class:"text-4.5"},uae=w("div",{class:"i-carbon-close"},null,-1),cae=[uae],dae={class:"content transition-all transition-duration-300"},hae={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},Aae={class:"$ui-fcc"},fae=$e({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean}},emits:["close","update:modelValue"],setup(t,{emit:r}){const e=t,n=Vg(e,"modelValue",r,{passive:!0}),i=nae(()=>window.document.documentElement);Nn(()=>{n.value?i.value=!0:i.value=!1});function o(){n.value&&e.autoClose&&(n.value=!1)}Z8("Escape",()=>{o()});const a=U(!1);return wi(()=>a.value=!0),(s,l)=>a.value||s.mountTo==="body"?(O(),ne(bj,{key:0,to:s.mountTo},[z(UA,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:G(()=>[y(n)?(O(),ne(b2,{key:0,dim:s.dim,blur:s.blur},{default:G(()=>[w("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:_r({width:e.width,height:e.height})},[w("div",lae,[w("div",gae,[Xe(s.$slots,"title",{},()=>[ke(we(e.title),1)])]),s.closable?(O(),F("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:o},cae)):be("",!0)]),w("div",dae,[Xe(s.$slots,"default")]),w("div",hae,[Xe(s.$slots,"footer",{},()=>[Xe(s.$slots,"footer",{},()=>[w("div",Aae,[z(ot,{type:"primary",onClick:o},{default:G(()=>[ke(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur"])):be("",!0)]),_:3})],8,["to"])):be("",!0)}}),Cae=["type","placeholder","disabled"],Iae={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},jb="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Da=$e({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},password:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1}},emits:["update:modelValue","updateFocused","keyTab"],setup(t,{emit:r}){const e=t,n=r,i=Vg(e,"modelValue",n),o=Foe(X(()=>e.loading),e.loadingDebounceTime),a=Loe(!1,{onChanged(c){n("updateFocused",c)}}),s=X(()=>e.variant==="flat"||e.variant==="warning"||e.disabled||e.readonly),l=X(()=>e.disabled||o.value),g=U();let u=!1;return Nn(()=>{o.value&&a.value?u=!0:!o.value&&u&&(u=!1,wn(()=>{a.value=!0}))}),wi(()=>{e.autoFocus&&(a.value=!0)}),Nn(()=>{var c;a.value&&((c=g.value)==null||c.focus())}),(c,d)=>(O(),F("div",{class:_e(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":c.variant==="flat","cursor-not-allowed opacity-50":l.value,accent:c.variant==="accent",focused:y(a)},[c.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:d[2]||(d[2]=()=>{a.value=!0})},[c.leftIcon?(O(),F("div",{key:0,class:_e(jb)},[z(Pt,{icon:c.leftIcon},null,8,["icon"])])):be("",!0),rn(w("input",{ref_key:"inputRef",ref:g,"onUpdate:modelValue":d[0]||(d[0]=h=>ze(i)?i.value=h:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:e.password?"password":"text",placeholder:c.placeholder,disabled:l.value||c.readonly,onBlur:d[1]||(d[1]=h=>a.value=!1)},null,40,Cae),[[Vee,y(i)]]),y(o)?(O(),F("div",{key:1,class:_e(jb)},[z(V8)])):c.rightIcon?(O(),F("div",{key:2,class:_e(jb)},[z(Pt,{icon:c.rightIcon},null,8,["icon"])])):be("",!0),s.value?be("",!0):(O(),F("div",Iae))],2))}}),vae={class:"overflow-hidden rounded-lg shadow-lg"},pae=w("div",{class:"p2 opacity-40"}," Empty... ",-1),kc=$e({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(t){const r=t;return pa("$ui-dropdown-disabled",X(()=>r.disabled)),(e,n)=>(O(),ne(y(voe),{disabled:e.disabled,class:"inline-block w-auto",shown:e.shown,triggers:[e.trigger],distance:e.distance+6,placement:e.placement,skidding:e.skidding,"onUpdate:shown":n[0]||(n[0]=i=>e.$emit("update:visible",i)),onClick:n[1]||(n[1]=i=>{i.stopPropagation()})},{popper:G(({hide:i})=>[w("div",vae,[Xe(e.$slots,"popper",jA(od({hide:i})),()=>[pae])])]),default:G(()=>[Xe(e.$slots,"default",{},()=>[z(ot,yn({...e.buttonProps,disabled:e.disabled},{class:e.buttonClass}),uj({icon:G(()=>[Xe(e.$slots,"button-icon")]),"icon-right":G(()=>[Xe(e.$slots,"button-icon-right")]),_:2},[e.label?{name:"default",fn:G(()=>[ke(we(e.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),pP=$e({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(t){const r=t,e=Er("$ui-dropdown-disabled",void 0);return(n,i)=>rn((O(),ne(ot,yn({...r,round:!1},{disabled:y(e),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:G(()=>[Xe(n.$slots,"icon")]),default:G(()=>[Xe(n.$slots,"default")]),_:3},16,["disabled"])),[[y(j8)]])}}),mae={class:"$ui-fec gap2.5"},yae=$e({__name:"Confirm",props:{modelValue:{type:Boolean},content:{},cancelText:{default:"Cancel"},confirmText:{default:"Confirm"},width:{default:"20%"},height:{default:"9rem"},title:{default:"Warning"},loading:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0}},emits:["update:modelValue","confirm","cancel","close"],setup(t,{emit:r}){const e=t,n=r,i=Vg(e,"modelValue",n);Nn(()=>{i.value||n("close")});function o(a=!1){(e.autoClose||a)&&(i.value=!1)}return(a,s)=>(O(),ne(fae,{modelValue:y(i),"onUpdate:modelValue":s[2]||(s[2]=l=>ze(i)?i.value=l:null),width:a.width,height:a.height,title:a.title,closable:!1},{footer:G(()=>[w("div",mae,[z(ot,{onClick:s[0]||(s[0]=()=>{n("cancel"),o(!0)})},{default:G(()=>[ke(we(a.cancelText),1)]),_:1}),z(ot,{loading:a.loading,type:"primary",onClick:s[1]||(s[1]=()=>{n("confirm"),o()})},{default:G(()=>[ke(we(a.confirmText),1)]),_:1},8,["loading"])])]),default:G(()=>[Xe(a.$slots,"default",{class:"h-auto w-auto"},()=>[ke(we(a.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),bae={class:"m1 min-w-35 w-auto flex flex-col"},$ae=["onClick"],wae=w("div",{class:"i-mdi-chevron-down"},null,-1),up=$e({__name:"Select",props:{modelValue:{},multiple:{default:!1},options:{},placeholder:{default:"Select..."},autoClose:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},labelRenderer:{type:Function,default:t=>String(t)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:r}){const e=t,n=r,i=dj(),o=X({get:()=>e.modelValue,set:l=>n("update:modelValue",l)}),a=X(()=>{const l=e.options.find(g=>g.value===o.value);return l!=null&&l.label?e.labelRenderer(l.label):e.placeholder});function s(l){e.multiple?o.value=o.value.includes(l.value)?o.value.filter(g=>g!==l.value):[...o.value,l.value]:o.value=l.value}return(l,g)=>(O(),ne(kc,yn({label:a.value},{buttonProps:l.buttonProps,disabled:l.disabled}),uj({popper:G(()=>[w("div",bae,[y(i).item?(O(!0),F(ye,{key:0},vt(l.options,u=>(O(),F("div",{key:u.value,class:"cursor-pointer",onClick:c=>s(u)},[Xe(l.$slots,"item",jA(od({item:u,active:l.multiple?o.value.includes(u.value):u.value===o.value,disabled:l.disabled})))],8,$ae))),128)):(O(!0),F(ye,{key:1},vt(l.options,u=>rn((O(),ne(ot,{key:u.value,disabled:l.disabled,round:"normal",class:_e(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:l.multiple?o.value.includes(u.value):u.value===o.value}]),onClick:c=>s(u)},{default:G(()=>[ke(we(u.label),1)]),_:2},1032,["disabled","class","onClick"])),[[y(j8),l.autoClose]])),128))])]),"button-icon-right":G(()=>[wae]),_:2},[y(i).button?{name:"default",fn:G(()=>[Xe(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),mP=$e({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Vg(t,"modelValue",r),n=Voe(e);return(i,o)=>(O(),F("div",{class:_e([[i.disabled?"cursor-not-allowed":"cursor-pointer"],"$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),role:"checkbox",onClick:o[0]||(o[0]=a=>!i.disabled&&y(n)())},[Xe(i.$slots,"default"),w("div",{class:_e([{selected:y(e)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[w("div",{class:_e(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white",[{"group-hover:opacity-75 group-active:scale-85":!i.disabled},{"opacity-65":i.disabled}]])},null,2)],2)],2))}}),Fu=$e({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Vg(t,"modelValue",r);return(n,i)=>(O(),F("div",{class:_e(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[y(e)?n.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:i[0]||(i[0]=o=>e.value=!y(e))},[w("div",{class:_e([[y(e)?"opacity-100":"opacity-0"],"h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])},null,2)],2))}}),q8=$e({__name:"Drawer",props:{modelValue:{type:Boolean},mountTo:{default:"body"},placement:{default:"right"},closeOutside:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},contentClass:{},permanent:{type:Boolean,default:!1},contentBlur:{type:Boolean,default:!1},top:{},dim:{type:Boolean},blur:{type:Boolean}},emits:["update:modelValue","close"],setup(t,{emit:r}){const e=t,n=r,{height:i}=tae(()=>typeof e.top=="string"?document.querySelector(e.top):e.top,void 0,{box:"border-box"}),o=Vg(e,"modelValue",n),a={left:{class:"left-0 h-full b-r",transition:"[&_.drawer]:translate-x--100%"},right:{class:"right-0 h-full b-l",transition:"[&_.drawer]:translate-x-full"},top:{class:"w-full b-b",transition:"[&_.drawer]:translate-y--100%"},bottom:{class:"bottom-0 w-full b-t",transition:"[&_.drawer]:translate-y-100%"}};Z8("Escape",()=>{e.closable&&(o.value=!1)});const s=X(()=>a[e.placement]),l=U(!1);return wi(()=>l.value=!0),(g,u)=>l.value||g.mountTo==="body"?(O(),ne(bj,{key:0,to:g.mountTo},[z(UA,{"enter-from-class":`${s.value.transition}`,"leave-to-class":`${s.value.transition}`},{default:G(()=>[y(o)?(O(),ne(b2,{key:0,class:_e({"pointer-events-none":g.permanent}),dim:g.dim,blur:g.blur,onClick:u[2]||(u[2]=c=>g.closeOutside&&g.closable&&(o.value=!1))},{default:G(()=>[w("div",{class:_e([[s.value.class,g.contentClass??"",g.contentBlur?"$ui-glass-effect":"$ui-bg-base"],"drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),style:_r({top:g.placement==="bottom"?"auto":`${y(i)}px`,height:["top","bottom"].includes(g.placement)?"auto":`calc(100% - ${y(i)}px)`}),onClick:u[1]||(u[1]=$n(()=>{},["stop"]))},[g.closable?(O(),F("div",{key:0,class:"i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",onClick:u[0]||(u[0]=c=>o.value=!1)})):be("",!0),Xe(g.$slots,"default")],6)]),_:3},8,["class","dim","blur"])):be("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):be("",!0)}}),_ae=$e({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(t){const r=t,e={success:"i-carbon-checkmark",info:"i-material-symbols-light-info",warning:"i-carbon-warning",error:"i-carbon-close"},n={success:"text-primary-500 border-primary-200 dark:text-primary-200 dark:border-primary-500",info:"text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",warning:"text-amber-4 border-amber-2 dark:border-amber-4",error:"text-red-4 border-red-2 dark:border-red-4"},i=U(!1);wi(()=>{i.value=!0,setTimeout(()=>{i.value=!1},r.duration)});const o=X(()=>r.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(a,s)=>(O(),F("div",{class:_e(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":a.placement.startsWith("top")},{"bottom-0":a.placement.startsWith("bottom")}]])},[z(UA,{"enter-from-class":o.value,"leave-to-class":o.value,onAfterLeave:s[0]||(s[0]=()=>{var l;i.value||(l=a.onClose)==null||l.call(a)})},{default:G(()=>[i.value?(O(),F("div",{key:0,class:"flex transition-all duration-300",style:_r({justifyContent:a.placement.includes("right")?"right":a.placement.includes("left")?"left":"center"})},[w("div",{class:_e(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base",[a.classes,n[a.type]]])},[w("div",{class:_e(e[a.type])},null,2),w("div",null,we(a.message),1)],2)],4)):be("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}}),Eae=$e({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(r,e)=>(O(),ne(y(poe),yn({disabled:r.disabled,placement:r.placement},r.$attrs),{popper:G(()=>[Xe(r.$slots,"popper")]),default:G(()=>[Xe(r.$slots,"default")]),_:3},16,["disabled","placement"]))}});function a_(t){const r=document.createElement("div");r.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(r);const e=t.onClose;function n(){dx(null,r)}t.onClose=()=>{n(),e?.(),document.body.removeChild(r)};const i=ad(_ae,t);dx(i,r)}function Na(t){return Array.isArray?Array.isArray(t):t6(t)==="[object Array]"}const Sae=1/0;function Tae(t){if(typeof t=="string")return t;let r=t+"";return r=="0"&&1/t==-Sae?"-0":r}function Oae(t){return t==null?"":Tae(t)}function Bo(t){return typeof t=="string"}function J8(t){return typeof t=="number"}function kae(t){return t===!0||t===!1||xae(t)&&t6(t)=="[object Boolean]"}function e6(t){return typeof t=="object"}function xae(t){return e6(t)&&t!==null}function pi(t){return t!=null}function Vb(t){return!t.trim().length}function t6(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Pae="Incorrect 'index' type",Rae=t=>`Invalid value for key ${t}`,Dae=t=>`Pattern length exceeds max of ${t}.`,Nae=t=>`Missing ${t} property in key`,Mae=t=>`Property 'weight' in key '${t}' must be a positive integer`,yP=Object.prototype.hasOwnProperty;class Bae{constructor(r){this._keys=[],this._keyMap={};let e=0;r.forEach(n=>{let i=r6(n);this._keys.push(i),this._keyMap[i.id]=i,e+=i.weight}),this._keys.forEach(n=>{n.weight/=e})}get(r){return this._keyMap[r]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function r6(t){let r=null,e=null,n=null,i=1,o=null;if(Bo(t)||Na(t))n=t,r=bP(t),e=s_(t);else{if(!yP.call(t,"name"))throw new Error(Nae("name"));const a=t.name;if(n=a,yP.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Mae(a));r=bP(a),e=s_(a),o=t.getFn}return{path:r,id:e,weight:i,src:n,getFn:o}}function bP(t){return Na(t)?t:t.split(".")}function s_(t){return Na(t)?t.join("."):t}function Fae(t,r){let e=[],n=!1;const i=(o,a,s)=>{if(pi(o))if(!a[s])e.push(o);else{let l=a[s];const g=o[l];if(!pi(g))return;if(s===a.length-1&&(Bo(g)||J8(g)||kae(g)))e.push(Oae(g));else if(Na(g)){n=!0;for(let u=0,c=g.length;u<c;u+=1)i(g[u],a,s+1)}else a.length&&i(g,a,s+1)}};return i(t,Bo(r)?r.split("."):r,0),n?e:e[0]}const Lae={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},zae={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,r)=>t.score===r.score?t.idx<r.idx?-1:1:t.score<r.score?-1:1},jae={location:0,threshold:.6,distance:100},Vae={useExtendedSearch:!1,getFn:Fae,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Je={...zae,...Lae,...jae,...Vae};const Gae=/[^ ]+/g;function Wae(t=1,r=3){const e=new Map,n=Math.pow(10,r);return{get(i){const o=i.match(Gae).length;if(e.has(o))return e.get(o);const a=1/Math.pow(o,.5*t),s=parseFloat(Math.round(a*n)/n);return e.set(o,s),s},clear(){e.clear()}}}class $2{constructor({getFn:r=Je.getFn,fieldNormWeight:e=Je.fieldNormWeight}={}){this.norm=Wae(e,3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}setSources(r=[]){this.docs=r}setIndexRecords(r=[]){this.records=r}setKeys(r=[]){this.keys=r,this._keysMap={},r.forEach((e,n)=>{this._keysMap[e.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Bo(this.docs[0])?this.docs.forEach((r,e)=>{this._addString(r,e)}):this.docs.forEach((r,e)=>{this._addObject(r,e)}),this.norm.clear())}add(r){const e=this.size();Bo(r)?this._addString(r,e):this._addObject(r,e)}removeAt(r){this.records.splice(r,1);for(let e=r,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(r,e){return r[this._keysMap[e]]}size(){return this.records.length}_addString(r,e){if(!pi(r)||Vb(r))return;let n={v:r,i:e,n:this.norm.get(r)};this.records.push(n)}_addObject(r,e){let n={i:e,$:{}};this.keys.forEach((i,o)=>{let a=i.getFn?i.getFn(r):this.getFn(r,i.path);if(pi(a)){if(Na(a)){let s=[];const l=[{nestedArrIndex:-1,value:a}];for(;l.length;){const{nestedArrIndex:g,value:u}=l.pop();if(pi(u))if(Bo(u)&&!Vb(u)){let c={v:u,i:g,n:this.norm.get(u)};s.push(c)}else Na(u)&&u.forEach((c,d)=>{l.push({nestedArrIndex:d,value:c})})}n.$[o]=s}else if(Bo(a)&&!Vb(a)){let s={v:a,n:this.norm.get(a)};n.$[o]=s}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function n6(t,r,{getFn:e=Je.getFn,fieldNormWeight:n=Je.fieldNormWeight}={}){const i=new $2({getFn:e,fieldNormWeight:n});return i.setKeys(t.map(r6)),i.setSources(r),i.create(),i}function Hae(t,{getFn:r=Je.getFn,fieldNormWeight:e=Je.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new $2({getFn:r,fieldNormWeight:e});return o.setKeys(n),o.setIndexRecords(i),o}function BC(t,{errors:r=0,currentLocation:e=0,expectedLocation:n=0,distance:i=Je.distance,ignoreLocation:o=Je.ignoreLocation}={}){const a=r/t.length;if(o)return a;const s=Math.abs(n-e);return i?a+s/i:s?1:a}function Uae(t=[],r=Je.minMatchCharLength){let e=[],n=-1,i=-1,o=0;for(let a=t.length;o<a;o+=1){let s=t[o];s&&n===-1?n=o:!s&&n!==-1&&(i=o-1,i-n+1>=r&&e.push([n,i]),n=-1)}return t[o-1]&&o-n>=r&&e.push([n,o-1]),e}const Vl=32;function Zae(t,r,e,{location:n=Je.location,distance:i=Je.distance,threshold:o=Je.threshold,findAllMatches:a=Je.findAllMatches,minMatchCharLength:s=Je.minMatchCharLength,includeMatches:l=Je.includeMatches,ignoreLocation:g=Je.ignoreLocation}={}){if(r.length>Vl)throw new Error(Dae(Vl));const u=r.length,c=t.length,d=Math.max(0,Math.min(n,c));let h=o,A=d;const f=s>1||l,C=f?Array(c):[];let I;for(;(I=t.indexOf(r,A))>-1;){let N=BC(r,{currentLocation:I,expectedLocation:d,distance:i,ignoreLocation:g});if(h=Math.min(N,h),A=I+u,f){let k=0;for(;k<u;)C[I+k]=1,k+=1}}A=-1;let v=[],p=1,m=u+c;const b=1<<u-1;for(let N=0;N<u;N+=1){let k=0,_=m;for(;k<_;)BC(r,{errors:N,currentLocation:d+_,expectedLocation:d,distance:i,ignoreLocation:g})<=h?k=_:m=_,_=Math.floor((m-k)/2+k);m=_;let T=Math.max(1,d-_+1),P=a?c:Math.min(d+_,c)+u,R=Array(P+2);R[P+1]=(1<<N)-1;for(let te=P;te>=T;te-=1){let W=te-1,V=e[t.charAt(W)];if(f&&(C[W]=+!!V),R[te]=(R[te+1]<<1|1)&V,N&&(R[te]|=(v[te+1]|v[te])<<1|1|v[te+1]),R[te]&b&&(p=BC(r,{errors:N,currentLocation:W,expectedLocation:d,distance:i,ignoreLocation:g}),p<=h)){if(h=p,A=W,A<=d)break;T=Math.max(1,2*d-A)}}if(BC(r,{errors:N+1,currentLocation:d,expectedLocation:d,distance:i,ignoreLocation:g})>h)break;v=R}const S={isMatch:A>=0,score:Math.max(.001,p)};if(f){const N=Uae(C,s);N.length?l&&(S.indices=N):S.isMatch=!1}return S}function Kae(t){let r={};for(let e=0,n=t.length;e<n;e+=1){const i=t.charAt(e);r[i]=(r[i]||0)|1<<n-e-1}return r}class i6{constructor(r,{location:e=Je.location,threshold:n=Je.threshold,distance:i=Je.distance,includeMatches:o=Je.includeMatches,findAllMatches:a=Je.findAllMatches,minMatchCharLength:s=Je.minMatchCharLength,isCaseSensitive:l=Je.isCaseSensitive,ignoreLocation:g=Je.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreLocation:g},this.pattern=l?r:r.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,h)=>{this.chunks.push({pattern:d,alphabet:Kae(d),startIndex:h})},c=this.pattern.length;if(c>Vl){let d=0;const h=c%Vl,A=c-h;for(;d<A;)u(this.pattern.substr(d,Vl),d),d+=Vl;if(h){const f=c-Vl;u(this.pattern.substr(f),f)}}else u(this.pattern,0)}searchIn(r){const{isCaseSensitive:e,includeMatches:n}=this.options;if(e||(r=r.toLowerCase()),this.pattern===r){let A={isMatch:!0,score:0};return n&&(A.indices=[[0,r.length-1]]),A}const{location:i,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,ignoreLocation:g}=this.options;let u=[],c=0,d=!1;this.chunks.forEach(({pattern:A,alphabet:f,startIndex:C})=>{const{isMatch:I,score:v,indices:p}=Zae(r,A,f,{location:i+C,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,includeMatches:n,ignoreLocation:g});I&&(d=!0),c+=v,I&&p&&(u=[...u,...p])});let h={isMatch:d,score:d?c/this.chunks.length:1};return d&&n&&(h.indices=u),h}}class gl{constructor(r){this.pattern=r}static isMultiMatch(r){return $P(r,this.multiRegex)}static isSingleMatch(r){return $P(r,this.singleRegex)}search(){}}function $P(t,r){const e=t.match(r);return e?e[1]:null}class Yae extends gl{constructor(r){super(r)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(r){const e=r===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class Xae extends gl{constructor(r){super(r)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(r){const n=r.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,r.length-1]}}}class Qae extends gl{constructor(r){super(r)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(r){const e=r.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class qae extends gl{constructor(r){super(r)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(r){const e=!r.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,r.length-1]}}}class Jae extends gl{constructor(r){super(r)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(r){const e=r.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[r.length-this.pattern.length,r.length-1]}}}class ese extends gl{constructor(r){super(r)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(r){const e=!r.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,r.length-1]}}}class o6 extends gl{constructor(r,{location:e=Je.location,threshold:n=Je.threshold,distance:i=Je.distance,includeMatches:o=Je.includeMatches,findAllMatches:a=Je.findAllMatches,minMatchCharLength:s=Je.minMatchCharLength,isCaseSensitive:l=Je.isCaseSensitive,ignoreLocation:g=Je.ignoreLocation}={}){super(r),this._bitapSearch=new i6(r,{location:e,threshold:n,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreLocation:g})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(r){return this._bitapSearch.searchIn(r)}}class a6 extends gl{constructor(r){super(r)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(r){let e=0,n;const i=[],o=this.pattern.length;for(;(n=r.indexOf(this.pattern,e))>-1;)e=n+o,i.push([n,e-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const l_=[Yae,a6,Qae,qae,ese,Jae,Xae,o6],wP=l_.length,tse=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,rse="|";function nse(t,r={}){return t.split(rse).map(e=>{let n=e.trim().split(tse).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=n.length;o<a;o+=1){const s=n[o];let l=!1,g=-1;for(;!l&&++g<wP;){const u=l_[g];let c=u.isMultiMatch(s);c&&(i.push(new u(c,r)),l=!0)}if(!l)for(g=-1;++g<wP;){const u=l_[g];let c=u.isSingleMatch(s);if(c){i.push(new u(c,r));break}}}return i})}const ise=new Set([o6.type,a6.type]);class ose{constructor(r,{isCaseSensitive:e=Je.isCaseSensitive,includeMatches:n=Je.includeMatches,minMatchCharLength:i=Je.minMatchCharLength,ignoreLocation:o=Je.ignoreLocation,findAllMatches:a=Je.findAllMatches,location:s=Je.location,threshold:l=Je.threshold,distance:g=Je.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:n,minMatchCharLength:i,findAllMatches:a,ignoreLocation:o,location:s,threshold:l,distance:g},this.pattern=e?r:r.toLowerCase(),this.query=nse(this.pattern,this.options)}static condition(r,e){return e.useExtendedSearch}searchIn(r){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;r=i?r:r.toLowerCase();let o=0,a=[],s=0;for(let l=0,g=e.length;l<g;l+=1){const u=e[l];a.length=0,o=0;for(let c=0,d=u.length;c<d;c+=1){const h=u[c],{isMatch:A,indices:f,score:C}=h.search(r);if(A){if(o+=1,s+=C,n){const I=h.constructor.type;ise.has(I)?a=[...a,...f]:a.push(f)}}else{s=0,o=0,a.length=0;break}}if(o){let c={isMatch:!0,score:s/o};return n&&(c.indices=a),c}}return{isMatch:!1,score:1}}}const g_=[];function ase(...t){g_.push(...t)}function u_(t,r){for(let e=0,n=g_.length;e<n;e+=1){let i=g_[e];if(i.condition(t,r))return new i(t,r)}return new i6(t,r)}const cp={AND:"$and",OR:"$or"},c_={PATH:"$path",PATTERN:"$val"},d_=t=>!!(t[cp.AND]||t[cp.OR]),sse=t=>!!t[c_.PATH],lse=t=>!Na(t)&&e6(t)&&!d_(t),_P=t=>({[cp.AND]:Object.keys(t).map(r=>({[r]:t[r]}))});function s6(t,r,{auto:e=!0}={}){const n=i=>{let o=Object.keys(i);const a=sse(i);if(!a&&o.length>1&&!d_(i))return n(_P(i));if(lse(i)){const l=a?i[c_.PATH]:o[0],g=a?i[c_.PATTERN]:i[l];if(!Bo(g))throw new Error(Rae(l));const u={keyId:s_(l),pattern:g};return e&&(u.searcher=u_(g,r)),u}let s={children:[],operator:o[0]};return o.forEach(l=>{const g=i[l];Na(g)&&g.forEach(u=>{s.children.push(n(u))})}),s};return d_(t)||(t=_P(t)),n(t)}function gse(t,{ignoreFieldNorm:r=Je.ignoreFieldNorm}){t.forEach(e=>{let n=1;e.matches.forEach(({key:i,norm:o,score:a})=>{const s=i?i.weight:null;n*=Math.pow(a===0&&s?Number.EPSILON:a,(s||1)*(r?1:o))}),e.score=n})}function use(t,r){const e=t.matches;r.matches=[],pi(e)&&e.forEach(n=>{if(!pi(n.indices)||!n.indices.length)return;const{indices:i,value:o}=n;let a={indices:i,value:o};n.key&&(a.key=n.key.src),n.idx>-1&&(a.refIndex=n.idx),r.matches.push(a)})}function cse(t,r){r.score=t.score}function dse(t,r,{includeMatches:e=Je.includeMatches,includeScore:n=Je.includeScore}={}){const i=[];return e&&i.push(use),n&&i.push(cse),t.map(o=>{const{idx:a}=o,s={item:r[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,s)}),s})}class Gg{constructor(r,e={},n){this.options={...Je,...e},this.options.useExtendedSearch,this._keyStore=new Bae(this.options.keys),this.setCollection(r,n)}setCollection(r,e){if(this._docs=r,e&&!(e instanceof $2))throw new Error(Pae);this._myIndex=e||n6(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(r){pi(r)&&(this._docs.push(r),this._myIndex.add(r))}remove(r=()=>!1){const e=[];for(let n=0,i=this._docs.length;n<i;n+=1){const o=this._docs[n];r(o,n)&&(this.removeAt(n),n-=1,i-=1,e.push(o))}return e}removeAt(r){this._docs.splice(r,1),this._myIndex.removeAt(r)}getIndex(){return this._myIndex}search(r,{limit:e=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:s}=this.options;let l=Bo(r)?Bo(this._docs[0])?this._searchStringList(r):this._searchObjectList(r):this._searchLogical(r);return gse(l,{ignoreFieldNorm:s}),o&&l.sort(a),J8(e)&&e>-1&&(l=l.slice(0,e)),dse(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(r){const e=u_(r,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:a,n:s})=>{if(!pi(o))return;const{isMatch:l,score:g,indices:u}=e.searchIn(o);l&&i.push({item:o,idx:a,matches:[{score:g,value:o,norm:s,indices:u}]})}),i}_searchLogical(r){const e=s6(r,this.options),n=(s,l,g)=>{if(!s.children){const{keyId:c,searcher:d}=s,h=this._findMatches({key:this._keyStore.get(c),value:this._myIndex.getValueForItemAtKeyId(l,c),searcher:d});return h&&h.length?[{idx:g,item:l,matches:h}]:[]}const u=[];for(let c=0,d=s.children.length;c<d;c+=1){const h=s.children[c],A=n(h,l,g);if(A.length)u.push(...A);else if(s.operator===cp.AND)return[]}return u},i=this._myIndex.records,o={},a=[];return i.forEach(({$:s,i:l})=>{if(pi(s)){let g=n(e,s,l);g.length&&(o[l]||(o[l]={idx:l,item:s,matches:[]},a.push(o[l])),g.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),a}_searchObjectList(r){const e=u_(r,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:s})=>{if(!pi(a))return;let l=[];n.forEach((g,u)=>{l.push(...this._findMatches({key:g,value:a[u],searcher:e}))}),l.length&&o.push({idx:s,item:a,matches:l})}),o}_findMatches({key:r,value:e,searcher:n}){if(!pi(e))return[];let i=[];if(Na(e))e.forEach(({v:o,i:a,n:s})=>{if(!pi(o))return;const{isMatch:l,score:g,indices:u}=n.searchIn(o);l&&i.push({score:g,key:r,value:o,idx:a,norm:s,indices:u})});else{const{v:o,n:a}=e,{isMatch:s,score:l,indices:g}=n.searchIn(o);s&&i.push({score:l,key:r,value:o,norm:a,indices:g})}return i}}Gg.version="7.0.0";Gg.createIndex=n6;Gg.parseIndex=Hae;Gg.config=Je;Gg.parseQuery=s6;ase(ose);const hse=[["app",[{icon:"i-carbon-information",name:"overview",order:-100,path:"overview",title:"Overview"},{icon:"i-carbon-assembly-cluster",name:"components",order:-100,path:"components",title:"Components"},{icon:"i-carbon-tree-view-alt",name:"pages",order:-100,path:"pages",title:"Pages"},{icon:"i-carbon-image-copy",name:"assets",order:-100,path:"assets",title:"Assets"},{icon:"i-icon-park-outline:vertical-timeline",name:"timeline",order:-100,path:"timeline",title:"Timeline"}]],["modules",[{icon:"i-ri-route-line",name:"router",order:-100,path:"router",title:"Router"},{icon:"i-icon-park-outline:pineapple",name:"pinia",order:-100,path:"pinia",title:"Pinia"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],l6=["assets","graph","vite-inspect"],EP={pinia:"pinia",router:"vueRouter"};function Ase(t,r){const e=r.name;return e in EP&&t[EP[e]]}function fse(t,r){const e=mc(hse);return e.forEach(n=>{n[0]==="modules"&&(n[1]=n[1].filter(i=>r?Ase(r,i):!0))}),t&&!DS?e:e.map(([n,i])=>[n,i.filter(o=>!l6.includes(o.name))])}const g6=na([]),u6=U(null),Cse=X(()=>g6.value.find(t=>t.id===u6.value));function ea(t){return P4()?(R4(t),!0):!1}function wr(t){return typeof t=="function"?t():y(t)}const yg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ise=t=>typeof t<"u",vse=Object.prototype.toString,pse=t=>vse.call(t)==="[object Object]",ma=()=>{},mse=yse();function yse(){var t,r;return yg&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((r=window?.navigator)==null?void 0:r.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function bse(t,r){function e(...n){return new Promise((i,o)=>{Promise.resolve(t(()=>r.apply(this,n),{fn:r,thisArg:this,args:n})).then(i).catch(o)})}return e}const c6=t=>t();function $se(t,r={}){let e,n,i=ma;const o=s=>{clearTimeout(s),i(),i=ma};return s=>{const l=wr(t),g=wr(r.maxWait);return e&&o(e),l<=0||g!==void 0&&g<=0?(n&&(o(n),n=null),Promise.resolve(s())):new Promise((u,c)=>{i=r.rejectOnCancel?c:u,g&&!n&&(n=setTimeout(()=>{e&&o(e),n=null,u(s())},g)),e=setTimeout(()=>{n&&o(n),n=null,u(s())},l)})}}function wse(t=c6){const r=U(!0);function e(){r.value=!1}function n(){r.value=!0}const i=(...o)=>{r.value&&t(...o)};return{isActive:Va(r),pause:e,resume:n,eventFilter:i}}function SP(t,r=!1,e="Timeout"){return new Promise((n,i)=>{setTimeout(r?()=>i(e):n,t)})}function _se(t){let r;function e(){return r||(r=t()),r}return e.reset=async()=>{const n=r;r=void 0,n&&await n},e}function Ese(t){return t||sl()}function Sse(...t){if(t.length!==1)return Y4(...t);const r=t[0];return typeof r=="function"?Va(XS(()=>({get:r,set:ma}))):U(r)}function d6(t,r,e={}){const{eventFilter:n=c6,...i}=e;return rt(t,bse(n,r),i)}function Tse(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=wse(n);return{stop:d6(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function XA(t,r=!0,e){Ese()?wi(t,e):r?t():wn(t)}function h_(t,r=!1){function e(c,{flush:d="sync",deep:h=!1,timeout:A,throwOnTimeout:f}={}){let C=null;const v=[new Promise(p=>{C=rt(t,m=>{c(m)!==r&&(C?.(),p(m))},{flush:d,deep:h,immediate:!0})})];return A!=null&&v.push(SP(A,f).then(()=>wr(t)).finally(()=>C?.())),Promise.race(v)}function n(c,d){if(!ze(c))return e(m=>m===c,d);const{flush:h="sync",deep:A=!1,timeout:f,throwOnTimeout:C}=d??{};let I=null;const p=[new Promise(m=>{I=rt([t,c],([b,S])=>{r!==(b===S)&&(I?.(),m(b))},{flush:h,deep:A,immediate:!0})})];return f!=null&&p.push(SP(f,C).then(()=>wr(t)).finally(()=>(I?.(),wr(t)))),Promise.race(p)}function i(c){return e(d=>!!d,c)}function o(c){return n(null,c)}function a(c){return n(void 0,c)}function s(c){return e(Number.isNaN,c)}function l(c,d){return e(h=>{const A=Array.from(h);return A.includes(c)||A.includes(wr(c))},d)}function g(c){return u(1,c)}function u(c=1,d){let h=-1;return e(()=>(h+=1,h>=c),d)}return Array.isArray(wr(t))?{toMatch:e,toContains:l,changed:g,changedTimes:u,get not(){return h_(t,!r)}}:{toMatch:e,toBe:n,toBeTruthy:i,toBeNull:o,toBeNaN:s,toBeUndefined:a,changed:g,changedTimes:u,get not(){return h_(t,!r)}}}function Ose(t){return h_(t)}function kse(t,r=1e3,e={}){const{immediate:n=!0,immediateCallback:i=!1}=e;let o=null;const a=U(!1);function s(){o&&(clearInterval(o),o=null)}function l(){a.value=!1,s()}function g(){const u=wr(r);u<=0||(a.value=!0,i&&t(),s(),o=setInterval(t,u))}if(n&&yg&&g(),ze(r)||typeof r=="function"){const u=rt(r,()=>{a.value&&yg&&g()});ea(u)}return ea(l),{isActive:a,pause:l,resume:g}}function xse(t,r,e={}){const{immediate:n=!0}=e,i=U(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function s(){i.value=!1,a()}function l(...g){a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,t(...g)},wr(r))}return n&&(i.value=!0,yg&&l()),ea(s),{isPending:Va(i),start:l,stop:s}}function w2(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=ze(t),o=U(t);function a(s){if(arguments.length)return o.value=s,o.value;{const l=wr(e);return o.value=o.value===l?wr(n):l,o.value}}return i?a:[o,a]}function _2(t,r,e={}){const{debounce:n=0,maxWait:i=void 0,...o}=e;return d6(t,r,{...o,eventFilter:$se(n,{maxWait:i})})}function h6(t,r,e){const n=rt(t,(...i)=>(wn(()=>n()),r(...i)),e);return n}function TP(t,r,e){let n;ze(e)?n={evaluating:e}:n=e||{};const{lazy:i=!1,evaluating:o=void 0,shallow:a=!0,onError:s=ma}=n,l=U(!i),g=a?na(r):U(r);let u=0;return Nn(async c=>{if(!l.value)return;u++;const d=u;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const A=await t(f=>{c(()=>{o&&(o.value=!1),h||f()})});d===u&&(g.value=A)}catch(A){s(A)}finally{o&&d===u&&(o.value=!1),h=!0}}),i?X(()=>(l.value=!0,g.value)):g}function uo(t){var r;const e=wr(t);return(r=e?.$el)!=null?r:e}const $i=yg?window:void 0,Pse=yg?window.document:void 0,A6=yg?window.navigator:void 0;function tn(...t){let r,e,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,n,i]=t,r=$i):[r,e,n,i]=t,!r)return ma;Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]);const o=[],a=()=>{o.forEach(u=>u()),o.length=0},s=(u,c,d,h)=>(u.addEventListener(c,d,h),()=>u.removeEventListener(c,d,h)),l=rt(()=>[uo(r),wr(i)],([u,c])=>{if(a(),!u)return;const d=pse(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return ea(g),g}let OP=!1;function Rse(t,r,e={}){const{window:n=$i,ignore:i=[],capture:o=!0,detectIframe:a=!1}=e;if(!n)return ma;mse&&!OP&&(OP=!0,Array.from(n.document.body.children).forEach(d=>d.addEventListener("click",ma)),n.document.documentElement.addEventListener("click",ma));let s=!0;const l=d=>i.some(h=>{if(typeof h=="string")return Array.from(n.document.querySelectorAll(h)).some(A=>A===d.target||d.composedPath().includes(A));{const A=uo(h);return A&&(d.target===A||d.composedPath().includes(A))}}),u=[tn(n,"click",d=>{const h=uo(t);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(s=!l(d)),!s){s=!0;return}r(d)}},{passive:!0,capture:o}),tn(n,"pointerdown",d=>{const h=uo(t);s=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),a&&tn(n,"blur",d=>{setTimeout(()=>{var h;const A=uo(t);((h=n.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!A?.contains(n.document.activeElement)&&r(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function Dse(){const t=U(!1);return sl()&&wi(()=>{t.value=!0}),t}function ld(t){const r=Dse();return X(()=>(r.value,!!t()))}function Nse(t,r={}){const{immediate:e=!0,fpsLimit:n=void 0,window:i=$i}=r,o=U(!1),a=n?1e3/n:null;let s=0,l=null;function g(d){if(!o.value||!i)return;const h=d-(s||d);if(a&&h<a){l=i.requestAnimationFrame(g);return}t({delta:h,timestamp:d}),s=d,l=i.requestAnimationFrame(g)}function u(){!o.value&&i&&(o.value=!0,l=i.requestAnimationFrame(g))}function c(){o.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return e&&u(),ea(c),{isActive:Va(o),pause:c,resume:u}}function f6(t,r={}){const{window:e=$i}=r,n=ld(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=U(!1),a=g=>{o.value=g.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},l=Nn(()=>{n.value&&(s(),i=e.matchMedia(wr(t)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return ea(()=>{l(),s(),i=void 0}),o}function kP(t,r={}){const{controls:e=!1,navigator:n=A6}=r,i=ld(()=>n&&"permissions"in n);let o;const a=typeof t=="string"?{name:t}:t,s=U(),l=()=>{o&&(s.value=o.state)},g=_se(async()=>{if(i.value){if(!o)try{o=await n.permissions.query(a),tn(o,"change",l),l()}catch{s.value="prompt"}return o}});return g(),e?{state:s,isSupported:i,query:g}:s}function E2(t={}){const{navigator:r=A6,read:e=!1,source:n,copiedDuring:i=1500,legacy:o=!1}=t,a=ld(()=>r&&"clipboard"in r),s=kP("clipboard-read"),l=kP("clipboard-write"),g=X(()=>a.value||o),u=U(""),c=U(!1),d=xse(()=>c.value=!1,i);function h(){a.value&&s.value!=="denied"?r.clipboard.readText().then(I=>{u.value=I}):u.value=C()}g.value&&e&&tn(["copy","cut"],h);async function A(I=wr(n)){g.value&&I!=null&&(a.value&&l.value!=="denied"?await r.clipboard.writeText(I):f(I),u.value=I,c.value=!0,d.start())}function f(I){const v=document.createElement("textarea");v.value=I??"",v.style.position="absolute",v.style.opacity="0",document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function C(){var I,v,p;return(p=(v=(I=document?.getSelection)==null?void 0:I.call(document))==null?void 0:v.toString())!=null?p:""}return{isSupported:g,text:u,copied:c,copy:A}}function Mse(t){return JSON.parse(JSON.stringify(t))}const FC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},LC="__vueuse_ssr_handlers__",Bse=Fse();function Fse(){return LC in FC||(FC[LC]=FC[LC]||{}),FC[LC]}function C6(t,r){return Bse[t]||r}function Lse(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const zse={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},xP="vueuse-storage";function I6(t,r,e,n={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:g=!1,shallow:u,window:c=$i,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?na:U)(typeof r=="function"?r():r);if(!e)try{e=C6("getDefaultStorage",()=>{var _;return(_=$i)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=wr(r),I=Lse(C),v=(i=n.serializer)!=null?i:zse[I],{pause:p,resume:m}=Tse(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&XA(()=>{tn(c,"storage",k),tn(c,xP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const T=v.write(_),P=e.getItem(t);P!==T&&(e.setItem(t,T),c&&c.dispatchEvent(new CustomEvent(xP,{detail:{key:t,oldValue:P,newValue:T,storageArea:e}})))}}catch(T){h(T)}}function S(_){const T=_?_.newValue:e.getItem(t);if(T==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(T);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof T!="string"?T:v.read(T)}function N(_){k(_.detail)}function k(_){if(!(_&&_.storageArea!==e)){if(_&&_.key==null){f.value=C;return}if(!(_&&_.key!==t)){p();try{_?.newValue!==v.write(f.value)&&(f.value=S(_))}catch(T){h(T)}finally{_?wn(m):m()}}}}}function v6(t){return f6("(prefers-color-scheme: dark)",t)}function Nm(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=$i,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:g,disableTransition:u=!0}=t,c={auto:"",light:"light",dark:"dark",...t.modes||{}},d=v6({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?Sse(n):I6(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=C6("updateHTMLAttrs",(m,b,S)=>{const N=typeof m=="string"?i?.document.querySelector(m):uo(m);if(!N)return;let k;if(u){k=i.document.createElement("style");const _="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(_)),i.document.head.appendChild(k)}if(b==="class"){const _=S.split(/\s/g);Object.values(c).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{_.includes(T)?N.classList.add(T):N.classList.remove(T)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(m){var b;C(r,e,(b=c[m])!=null?b:m)}function v(m){t.onChanged?t.onChanged(m,I):I(m)}rt(f,v,{flush:"post",immediate:!0}),XA(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(m){A.value=m}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function jse(t,r,e={}){const{window:n=$i,...i}=e;let o;const a=ld(()=>n&&"MutationObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=rt(()=>uo(t),c=>{s(),a.value&&n&&c&&(o=new MutationObserver(r),o.observe(c,i))},{immediate:!0}),g=()=>o?.takeRecords(),u=()=>{s(),l()};return ea(u),{isSupported:a,stop:u,takeRecords:g}}function Vse(t={}){const{valueDark:r="dark",valueLight:e="",window:n=$i}=t,i=Nm({...t,onChanged:(s,l)=>{var g;t.onChanged?(g=t.onChanged)==null||g.call(t,s==="dark",l,s):l(s)},modes:{dark:r,light:e}}),o=X(()=>i.system?i.system.value:v6({window:n}).value?"dark":"light");return X({get(){return i.value==="dark"},set(s){const l=s?"dark":"light";o.value===l?i.value="auto":i.value=l}})}function Gse(t,r,e={}){const{window:n=$i,...i}=e;let o;const a=ld(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>uo(c)):[uo(t)]),g=rt(l,c=>{if(s(),a.value&&n){o=new ResizeObserver(r);for(const d of c)d&&o.observe(d,i)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{s(),g()};return ea(u),{isSupported:a,stop:u}}function Wse(t,r={}){const{reset:e=!0,windowResize:n=!0,windowScroll:i=!0,immediate:o=!0}=r,a=U(0),s=U(0),l=U(0),g=U(0),u=U(0),c=U(0),d=U(0),h=U(0);function A(){const f=uo(t);if(!f){e&&(a.value=0,s.value=0,l.value=0,g.value=0,u.value=0,c.value=0,d.value=0,h.value=0);return}const C=f.getBoundingClientRect();a.value=C.height,s.value=C.bottom,l.value=C.left,g.value=C.right,u.value=C.top,c.value=C.width,d.value=C.x,h.value=C.y}return Gse(t,A),rt(()=>uo(t),f=>!f&&A()),jse(t,A,{attributeFilter:["style","class"]}),i&&tn("scroll",A,{capture:!0,passive:!0}),n&&tn("resize",A,{passive:!0}),XA(()=>{o&&A()}),{height:a,bottom:s,left:l,right:g,top:u,width:c,x:d,y:h,update:A}}function Hse(t={}){const{initialValue:r=""}=t,e=ld(()=>typeof window<"u"&&"EyeDropper"in window),n=U(r);async function i(o){if(!e.value)return;const s=await new window.EyeDropper().open(o);return n.value=s.sRGBHex,s}return{isSupported:e,sRGBHex:n,open:i}}function Use(t,r,e={}){const{window:n=$i}=e;return I6(t,r,n?.localStorage,e)}const Zse={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Kse(t={}){const{reactive:r=!1,target:e=$i,aliasMap:n=Zse,passive:i=!0,onEventFired:o=ma}=t,a=Ys(new Set),s={toJSON(){return{}},current:a},l=r?Ys(s):s,g=new Set,u=new Set;function c(f,C){f in l&&(r?l[f]=C:l[f].value=C)}function d(){a.clear();for(const f of u)c(f,!1)}function h(f,C){var I,v;const p=(I=f.key)==null?void 0:I.toLowerCase(),b=[(v=f.code)==null?void 0:v.toLowerCase(),p].filter(Boolean);p&&(C?a.add(p):a.delete(p));for(const S of b)u.add(S),c(S,C);p==="meta"&&!C?(g.forEach(S=>{a.delete(S),c(S,!1)}),g.clear()):typeof f.getModifierState=="function"&&f.getModifierState("Meta")&&C&&[...a,...b].forEach(S=>g.add(S))}tn(e,"keydown",f=>(h(f,!0),o(f)),{passive:i}),tn(e,"keyup",f=>(h(f,!1),o(f)),{passive:i}),tn("blur",d,{passive:!0}),tn("focus",d,{passive:!0});const A=new Proxy(l,{get(f,C,I){if(typeof C!="string")return Reflect.get(f,C,I);if(C=C.toLowerCase(),C in n&&(C=n[C]),!(C in l))if(/[+_-]/.test(C)){const p=C.split(/[+_-]/g).map(m=>m.trim());l[C]=X(()=>p.every(m=>wr(A[m])))}else l[C]=U(!1);const v=Reflect.get(f,C,I);return r?wr(v):v}});return A}function Yse(t={}){const{controls:r=!1,interval:e="requestAnimationFrame"}=t,n=U(new Date),i=()=>n.value=new Date,o=e==="requestAnimationFrame"?Nse(i,{immediate:!0}):kse(i,e,{immediate:!0});return r?{now:n,...o}:n}let Xse=0;function Qse(t,r={}){const e=U(!1),{document:n=Pse,immediate:i=!0,manual:o=!1,id:a=`vueuse_styletag_${++Xse}`}=r,s=U(t);let l=()=>{};const g=()=>{if(!n)return;const c=n.getElementById(a)||n.createElement("style");c.isConnected||(c.id=a,r.media&&(c.media=r.media),n.head.appendChild(c)),!e.value&&(l=rt(s,d=>{c.textContent=d},{immediate:!0}),e.value=!0)},u=()=>{!n||!e.value||(l(),n.head.removeChild(n.getElementById(a)),e.value=!1)};return i&&!o&&XA(g),o||ea(u),{id:a,css:s,unload:u,load:g,isLoaded:Va(e)}}const qse=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],Jse={justNow:"just now",past:t=>t.match(/\d/)?`${t} ago`:t,future:t=>t.match(/\d/)?`in ${t}`:t,month:(t,r)=>t===1?r?"last month":"next month":`${t} month${t>1?"s":""}`,year:(t,r)=>t===1?r?"last year":"next year":`${t} year${t>1?"s":""}`,day:(t,r)=>t===1?r?"yesterday":"tomorrow":`${t} day${t>1?"s":""}`,week:(t,r)=>t===1?r?"last week":"next week":`${t} week${t>1?"s":""}`,hour:t=>`${t} hour${t>1?"s":""}`,minute:t=>`${t} minute${t>1?"s":""}`,second:t=>`${t} second${t>1?"s":""}`,invalid:""};function ele(t){return t.toISOString().slice(0,10)}function tle(t,r={}){const{controls:e=!1,updateInterval:n=3e4}=r,{now:i,...o}=Yse({interval:n,controls:!0}),a=X(()=>rle(new Date(wr(t)),r,wr(i)));return e?{timeAgo:a,...o}:a}function rle(t,r={},e=Date.now()){var n;const{max:i,messages:o=Jse,fullDateFormatter:a=ele,units:s=qse,showSecond:l=!1,rounding:g="round"}=r,u=typeof g=="number"?C=>+C.toFixed(g):Math[g],c=+e-+t,d=Math.abs(c);function h(C,I){return u(Math.abs(C)/I.value)}function A(C,I){const v=h(C,I),p=C>0,m=f(I.name,v,p);return f(p?"past":"future",m,p)}function f(C,I,v){const p=o[C];return typeof p=="function"?p(I,v):p.replace("{0}",I.toString())}if(d<6e4&&!l)return o.justNow;if(typeof i=="number"&&d>i)return a(new Date(t));if(typeof i=="string"){const C=(n=s.find(I=>I.name===i))==null?void 0:n.max;if(C&&d>C)return a(new Date(t))}for(const[C,I]of s.entries()){if(h(c,I)<=0&&s[C-1])return A(c,s[C-1]);if(d<I.max)return A(c,I)}return o.invalid}function Mm(t,r,e,n={}){var i,o,a;const{clone:s=!1,passive:l=!1,eventName:g,deep:u=!1,defaultValue:c,shouldEmit:d}=n,h=sl(),A=e||h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((a=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(h?.proxy));let f=g;r||(r="modelValue"),f=f||`update:${r.toString()}`;const C=p=>s?typeof s=="function"?s(p):Mse(p):p,I=()=>Ise(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),m=U(p);let b=!1;return rt(()=>t[r],S=>{b||(b=!0,m.value=C(S),wn(()=>b=!1))}),rt(m,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),m}else return X({get(){return I()},set(p){v(p)}})}function nle(t={}){const{window:r=$i,initialWidth:e=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0}=t,a=U(e),s=U(n),l=()=>{r&&(o?(a.value=r.innerWidth,s.value=r.innerHeight):(a.value=r.document.documentElement.clientWidth,s.value=r.document.documentElement.clientHeight))};if(l(),XA(l),tn("resize",l,{passive:!0}),i){const g=f6("(orientation: portrait)");rt(g,()=>l())}return{width:a,height:s}}function p6(){return{isFirstVisit:!0,route:"/",graphSettings:{node_modules:!1,virtual:!1,lib:!1},tabSettings:{hiddenTabCategories:[],hiddenTabs:[],pinnedTabs:[]},expandSidebar:!1,scrollableSidebar:!0,splitScreen:{enabled:!1,view:"overview",size:[50,50]},scale:1,interactionCloseOnOutsideClick:!1,showPanel:!0,minimizePanelInteractive:5e3}}const sr=Use("__VUE_DEVTOOLS_CLIENT_STATE__",p6(),{mergeDefaults:!0});function ile(){sr.value=p6()}rt(()=>sr.value.splitScreen.enabled,(t,r)=>{r&&!t&&(sr.value.splitScreen.size=[50,50])});const ss=[];function ia(t){ss.push(t),ea(()=>{ss.splice(ss.indexOf(t),1)});const{connected:r,clientConnected:e}=Zi(),n=X(()=>e.value&&r.value);if(n.value){ss.forEach(i=>i());return}return h6(n,i=>{i&&ss.forEach(o=>o())}),()=>{ss.splice(ss.indexOf(t),1)}}function ole(){ss.forEach(t=>t())}function QA(){const t=Zi(),r=U(t.tabs.value||[]),e=X(()=>{const l=t.vitePluginDetected.value,g=[...fse(l,Cse.value?.moduleDetectives)];return r.value.forEach(u=>{const c=g.find(d=>d[0]===u.category);if(c){if(c[1].some(d=>d.name===u.name)||(!l||DS)&&l6.includes(u.name))return;c[1].push({...u})}}),g}),n=X(()=>e.value.reduce((l,[g,u])=>(u.forEach(c=>{l.push(c)}),l),[])),i=X(()=>{const{hiddenTabCategories:l,hiddenTabs:g,pinnedTabs:u}=sr.value.tabSettings,c=l.includes("pinned"),d=e.value.reduce((h,[A,f])=>{const C=[{hidden:!1,name:A},[]],I=l.includes(A);return f.forEach(v=>{const p=g.includes(v.name);if(u.includes(v.name))h[0][1].push({...v,hidden:p||c});else{const m=p||I;C[1].push({...v,hidden:m})}}),C[0].hidden=C[1].every(v=>v.hidden),h.push(C),h},[[{name:"pinned",hidden:!1},[]]]);return d[0][0].hidden=d[0][1].every(h=>h.hidden),d[0][1].sort((h,A)=>u.indexOf(h.name)-u.indexOf(A.name)),d}),o=X(()=>i.value.reduce((l,[g,u])=>{if(g.hidden)return l;const c=u.filter(d=>!d.hidden);return c.length&&l.push([g,c]),l},[])),a=X(()=>o.value.reduce((l,[g,u])=>(u.forEach(c=>{l.push(c)}),l),[])),s=_n();return ia(()=>{s.on.customTabsUpdated(l=>{r.value=l})}),{categorizedTabs:i,flattenedTabs:n,enabledTabs:o,enabledFlattenTabs:a}}function PP(t,r){return X(()=>{const e=[],n=sr.value.tabSettings.pinnedTabs;Fw(r).reduce((a,[{name:s,hidden:l},g])=>(g.forEach(u=>{if(Fw(t).some(c=>c.name===u.name)){const c=n.includes(u.name)?"pinned":s||"app";a.push({tab:u,category:{name:c,hidden:l}})}}),a),[]).forEach(({tab:a,category:s})=>{const l=e.find(([{name:g}])=>g===s.name);l?l[1].push(a):e.push([s,[a]])});const o=e.find(([{name:a}])=>a==="pinned");return o&&o[1].sort((a,s)=>n.indexOf(a.name)-n.indexOf(s.name)),e})}function ale(t){const r=new Map;return t.forEach(e=>r.set(e.id,e)),Array.from(r.values())}const A_=Ys(new Map);function sle(){const{enabledFlattenTabs:t}=QA(),r=sd(),e=Zi(),n=U(e.commands.value||[]);Nn(()=>{n.value=e.commands.value||[]});const i=_n();ia(()=>{i.on.customCommandsUpdated(s=>{n.value=s})});const o=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{r.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>gle()}],a=X(()=>t.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():r.push("path"in s&&s.path?s.path:`/custom-tab-view/${s.name}`)}})));return X(()=>ale([...o,...a.value,...lle(n.value),...Array.from(A_.values()).flatMap(s=>Fw(s))]))}function RP(t){t?.type==="url"&&window.open(t.src,"_blank")}function lle(t){return t.map(r=>({id:`${r.id}`,title:r.title,icon:r.icon,description:r.description,order:r.order,action:()=>{if(r.children)return r.children.map(e=>({id:e.id,title:e.title,icon:e.icon,description:e.description,order:e.order,action:()=>{RP(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0));RP(r.action)}})).sort((r,e)=>(e.order??0)-(r.order??0))}function DP(t){const r=sq();A_.set(r,t),WA(()=>{A_.delete(r)})}let Gb;async function gle(){return Gb||(Gb=(await mn(()=>import("./vue-apis-Nh9IahXf.js"),__vite__mapDeps([]),import.meta.url).then(r=>r.default)).map(r=>({...r,icon:"carbon-api-1",action:()=>{window.open(r.url,"_blank")}}))),Gb}const ule={flex:"~ col","max-h-120":"","min-h-60":"",h:"60%","w-xl":"","of-hidden":"",border:"1 base","rounded-md":"","text-3.75":""},cle={border:"b base","flex-none":""},dle={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},hle=["id","onClick","onMouseover"],Ale={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},fle={"ws-nowrap":""},Cle={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},Ile={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},vle=w("span",{op50:""},"No results for",-1),ple={"text-primary":""},mle={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},yle={"text-xs":"",flex:"~ items-center gap2"},ble={px1:""},$le={px1:""},wle=w("span",{op75:""},"to navigate",-1),_le={"text-xs":"",flex:"~ items-center gap2"},Ele=w("button",{px1:""}," Esc ",-1),Sle={op75:""},Tle={"text-xs":"",flex:"~ items-center gap2"},Ole={px1:""},kle=w("span",{op75:""},"to select",-1),xle=$e({__name:"CommandPalette",setup(t){const r=U(!1),e=U(""),n=sle(),i=U(),o=X(()=>i.value||n.value),a=X(()=>new Gg(o.value,{keys:["id","title"],distance:50})),s=X(()=>e.value?a.value.search(e.value).map(d=>d.item):o.value||[]),l=U(0);rt(e,()=>{l.value=0,u()});function g(d){l.value=(l.value+d+s.value.length)%s.value.length,u()}function u(){document.getElementById(s.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function c(d){const h=await d.action();h?(i.value=h,e.value=""):(i.value=void 0,e.value="",r.value=!1)}return tn("keydown",d=>{if((d.altKey||d.metaKey)&&d.key==="k"){d.preventDefault(),i.value=void 0,e.value="",r.value=!r.value;return}if(r.value)switch(d.key){case"ArrowDown":case"ArrowUp":d.preventDefault(),g(d.key==="ArrowDown"?1:-1);break;case"Enter":{const h=s.value[l.value];h&&(d.preventDefault(),c(h));break}case"Escape":{d.preventDefault(),i.value?(i.value=void 0,e.value=""):r.value=!1;break}}}),(d,h)=>{const A=KA;return y(r)?(O(),ne(y(b2),{key:0,dim:"",class:"backdrop-blur-2xl!"},{default:G(()=>[w("div",ule,[w("header",cle,[z(y(Da),{modelValue:y(e),"onUpdate:modelValue":h[0]||(h[0]=f=>ze(e)?e.value=f:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),w("div",dle,[(O(!0),F(ye,null,vt(y(s),(f,C)=>(O(),F("button",{id:f.id,key:f.id,onClick:I=>c(f),onMouseover:I=>l.value=C},[w("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:_e(y(l)===C?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[z(A,{icon:f.icon,title:f.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),w("span",Ale,[w("span",fle,we(f.title),1),w("span",Cle,we(f.description),1)]),y(l)===C?(O(),ne(y(Pt),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):be("",!0)],2)],40,hle))),128)),y(s).length?be("",!0):(O(),F("div",Ile,[z(y(Pt),{icon:"carbon-search",op50:""}),w("div",null,[vle,w("strong",ple,' "'+we(y(e))+'" ',1)])]))]),w("footer",mle,[w("div",yle,[w("button",ble,[z(y(Pt),{icon:"carbon-arrow-down"})]),w("button",$le,[z(y(Pt),{icon:"carbon-arrow-up"})]),wle]),w("div",_le,[Ele,w("span",Sle,"to "+we(y(i)?"go back":"close"),1)]),w("div",Tle,[w("button",Ole,[z(y(Pt),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),kle])])])]),_:1})):be("",!0)}}}),qA=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Ple={},Rle={class:"panel-grids-center"};function Dle(t,r){return O(),F("div",Rle,[Xe(t.$slots,"default")])}const oa=qA(Ple,[["render",Dle]]),Nle={flex:"~ items-center gap-3"},Mle={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},Ble={"translate-y-0.5px":""},Fle={key:0,hidden:"","lg:block":""},m6=$e({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(t){const r=t,e=Tm(),n=X(()=>"path"in r.tab?`${r.tab.path.startsWith("/")?"":"/"}${r.tab.path}`:`/custom-tab-view/${r.tab.name}`),i=X(()=>"badge"in r.tab&&r.tab.badge?.()),o=X(()=>e.path.startsWith(n.value));function a(){"onClick"in r.tab&&r.tab.onClick?r.tab.onClick():r.target==="side"&&(sr.value.splitScreen.view=r.tab.name)}return(s,l)=>{const g=KA;return O(),ne(y(Eae),{disabled:!s.minimized,placement:"right",class:_e({"w-full":!s.minimized})},{popper:G(()=>[w("div",null,we(s.tab.title),1),"extraTabVNode"in s.tab&&s.tab.extraTabVNode?(O(),F("div",Fle,[(O(),ne(Xs(s.tab.extraTabVNode)))])):be("",!0)]),default:G(()=>[(O(),ne(Xs(s.target==="main"?y(f8):"button"),{to:y(n),flex:`~ items-center ${s.minimized?"justify-center":"justify-between"}`,hover:"bg-active op-100",w:s.minimized?"10":"full",rounded:s.minimized?"xl":"",p:s.minimized?"1":"x3","text-secondary":"",relative:"",block:"","h-10":"","select-none":"",op65:"","exact-active-class":"!text-primary-600 bg-active op-100!",onClick:a},{default:G(()=>[w("div",Nle,[z(g,{"text-xl":"",icon:s.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),s.minimized?be("",!0):(O(),F("span",Mle,we(s.tab.title),1))]),y(i)?(O(),F("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:_e([y(o)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":s.minimized}])},[w("span",Ble,we(y(wr)(y(i))),1)],2)):be("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),Lle={flex:"~ col gap-1","max-w-80":"",py1:""},zle={key:0,"h-1px":"",border:"b base"},jle={flex:"~ wrap",px1:""},y6=$e({__name:"TabsGrid",props:{categories:{},target:{}},setup(t){return(r,e)=>{const n=m6;return O(),F("div",Lle,[(O(!0),F(ye,null,vt(r.categories,([i,o],a)=>(O(),F(ye,{key:i},[o.length?(O(),F(ye,{key:0},[a?(O(),F("div",zle)):be("",!0),w("div",jle,[(O(!0),F(ye,null,vt(o,s=>(O(),ne(n,{key:s.name,target:r.target,tab:s},null,8,["target","tab"]))),128))])],64)):be("",!0)],64))),128))])}}}),Vle={"h-full":"","h-screen":"","of-hidden":""},Gle={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},Wle={flex:"","cursor-pointer":"","items-center":"",gap2:""},Hle=w("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),Ule={capitalize:""},Zle=w("div",{"flex-auto":""},null,-1),Kle=w("div",{"i-carbon:side-panel-open":""},null,-1),Yle=[Kle],Xle={key:1,"of-auto":"",style:{height:"calc(100% - 50px)"}},Qle=w("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),qle=$e({__name:"SplitScreen",setup(t){function r(){sr.value.splitScreen.enabled=!1}const e=X(()=>sr.value.splitScreen),{enabledTabs:n,flattenedTabs:i}=QA(),o=sd(),a=Tm(),s=na();function l(c){const d=a.path.startsWith("/")?a.path.slice(1):a.path;return c&&"path"in c&&d===c.path}const g=X(()=>{const c=i.value.find(d=>d.name===e.value.view);return l(c)?void 0:c});rt(()=>g.value,c=>{if(!c)return;const d=o.getRoutes(),h=c&&"path"in c?d.find(C=>C.path===(c.path.startsWith("/")?c.path:`/${c.path}`)):d.find(C=>C.name==="custom-tab"),A=a.path.startsWith("/")?a.path.slice(1):a.path;if(h?.path===A||a.params?.name===c.name){s.value=void 0;return}const f=h?.components?.default;typeof f=="function"?s.value=$J(f):s.value=f},{immediate:!0});const u=U(!1);return(c,d)=>{const h=KA,A=y6,f=oa;return O(),F("div",Vle,[y(s)&&y(g)?(O(),F("div",Gle,[z(y(kc),{placement:"bottom-start",distance:12,skidding:5,shown:y(u),trigger:"click"},{popper:G(()=>[z(A,{categories:y(n),target:"side"},null,8,["categories"])]),default:G(()=>[w("div",Wle,[Hle,z(h,{"text-xl":"",icon:y(g)?.icon,title:"Settings","show-title":!1},null,8,["icon"]),w("span",Ule,we(y(g)?.name),1)])]),_:1},8,["shown"]),Zle,rn((O(),F("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:r},Yle)),[[y(Ho),"Close split screen"]])])):be("",!0),y(s)&&y(g)?(O(),F("div",Xle,[(O(),ne(Xs(y(s)),{key:`tab-${y(g).name}`}))])):(O(),ne(f,{key:2},{default:G(()=>[Qle,z(y(lv),{px4:"",py2:"","bg-base":""},{default:G(()=>[z(A,{categories:y(n),target:"side"},null,8,["categories"])]),_:1}),z(y(ot),{type:"warning",outlined:"",mt2:"",onClick:r},{default:G(()=>[ke(" Close Split Screen ")]),_:1})]),_:1}))])}}});function Bm(){const t=h2(),r=U("");return pc&&qe.chrome.storage.local.get(yb).then(e=>{r.value=e[yb]??"overlay"}),{viewMode:r,toggle(e){r.value=e,qe.chrome.storage.local.set({[yb]:e}),pc&&t.value.emit("toggle-view-mode",e)}}}const Jle={px3:"",py2:"",border:"b base",flex:"~ gap-2"},ege=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),tge=w("div",{"i-carbon-settings-adjust":""},null,-1),rge={px3:"",py2:"",border:"b base",flex:"~ gap-2"},nge=w("div",{"i-carbon-split-screen":""},null,-1),ige={px3:"",py2:"",flex:"~ gap2"},oge=$e({__name:"DockingPanel",setup(t){const r=Er("viewMode",U("overlay")),e=X(()=>r.value==="panel"&&pc),{toggle:n}=Bm(),i=_n(),o=sd(),a=X({get:()=>sr.value.expandSidebar,set:h=>sr.value.expandSidebar=h}),s=X({get:()=>sr.value.splitScreen.enabled,set:h=>sr.value.splitScreen.enabled=h});function l(){location.reload()}const g=Zi(),u=X(()=>g.appRecords.value.map(h=>({label:h.name+(h.version?` (${h.version})`:""),value:h.id}))),c=U(g.activeAppRecordId.value),d=X(()=>u.value.find(h=>h.value===c.value)?.label??"");return rt(c,h=>{i.toggleApp(`${h}`).then(()=>{o.push("/overview").then(()=>{ole()})})}),(h,A)=>(O(),F("div",null,[w("div",Jle,[z(y(Q8),null,{default:G(({isDark:f,toggle:C})=>[z(y(ot),{outlined:"",type:"primary",onClick:C},{default:G(()=>[ege,ke(" "+we(f?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),z(y(ot),{outlined:"",type:"primary",onClick:A[0]||(A[0]=f=>a.value=!y(a))},{default:G(()=>[z(y(Pt),{icon:y(a)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),ke(" "+we(y(a)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),z(y(ot),{to:"/settings",outlined:"",type:"primary"},{default:G(()=>[tge,ke(" Settings ")]),_:1})]),w("div",rge,[z(y(ot),{outlined:"",type:"primary",onClick:A[1]||(A[1]=f=>s.value=!y(s))},{default:G(()=>[nge,ke(" "+we(y(s)?"Close Split Screen":"Split Screen"),1)]),_:1})]),w("div",ige,[y(u).length>1?(O(),ne(y(up),{key:0,modelValue:y(c),"onUpdate:modelValue":A[2]||(A[2]=f=>ze(c)?c.value=f:null),options:y(u),placeholder:y(d)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):be("",!0),z(y(ot),{outlined:"",type:"primary",onClick:l},{default:G(()=>[ke(" Refresh Page ")]),_:1}),y(e)?(O(),ne(y(ot),{key:1,outlined:"",type:"primary",onClick:A[3]||(A[3]=f=>y(n)("overlay"))},{default:G(()=>[ke(" Switch to Overlay Mode ")]),_:1})):be("",!0)])]))}}),age={border:"r base",flex:"~ col items-start","z-100":"","h-full":"","of-hidden":"","bg-base":""},sge={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},lge=w("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1),gge=w("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1),uge=w("div",{"flex-auto":""},null,-1),cge=w("div",{"i-carbon-overflow-menu-vertical":""},null,-1),dge={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},hge=w("div",{"flex-auto":""},null,-1),Age=["flex"],fge={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},Cge={"translate-y-0.5px":""},Ige=45,vge=$e({__name:"SideNav",setup(t){const r=U(!1),e=U(!1),n=U(),i=U(),o=U(),a=X(()=>sr.value.expandSidebar),s=X(()=>sr.value.scrollableSidebar),{enabledTabs:l,flattenedTabs:g}=QA(),{height:u}=nle(),c=X(()=>{const I=u.value-130;return Math.max(0,Math.floor(I/Ige))}),d=X(()=>g.value.slice(0,c.value)),h=X(()=>g.value.slice(c.value)),A=PP(d,l),f=PP(h,l),C=X(()=>s.value||a.value?l.value:A.value);return Rse(n,I=>{i.value&&I.composedPath().includes(i.value)||o.value&&I.composedPath().includes(o.value)||(r.value=!1,e.value=!1)},{detectIframe:!0}),(I,v)=>{const p=oge,m=m6,b=KA,S=y6;return O(),F("div",age,[w("div",sge,[z(y(kc),{placement:"left-start",distance:6,skidding:5,trigger:"click",shown:y(r),class:"w-full"},{popper:G(()=>[z(p)]),default:G(()=>[w("button",{ref_key:"buttonDocking",ref:i,flex:"~ items-center justify-center gap-2",hover:"bg-active","text-secondary":"",relative:"","h-10":"","select-none":"",p2:"","exact-active-class":"!text-primary bg-active",class:_e([y(a)?"w-full rounded pl2.5":"w-10 rounded-xl"])},[lge,y(a)?(O(),F(ye,{key:0},[gge,uge,cge],64)):be("",!0)],2)]),_:1},8,["shown"])]),w("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:_e(["no-scrollbar",y(a)?"":"of-x-hidden of-y-auto"])},[(O(!0),F(ye,null,vt(y(C),([N,k],_)=>(O(),F(ye,{key:N},[_?(O(),F("div",dge)):be("",!0),(O(!0),F(ye,null,vt(k.filter(T=>!T.hidden),T=>(O(),ne(m,{key:T.name,tab:T,minimized:!y(a)},null,8,["tab","minimized"]))),128))],64))),128)),hge],2),w("div",{flex:`~ items-center gap-1 ${y(a)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[y(h).length&&!y(s)&&!y(a)?(O(),ne(y(kc),{key:0,placement:"left-end",distance:6},{popper:G(()=>[z(S,{categories:y(f),"max-w-80":"",target:"main"},null,8,["categories"])]),default:G(()=>[w("button",{ref_key:"buttonMoreTabs",ref:o,flex:"~",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","exact-active-class":"!text-primary bg-active"},[z(b,{"text-xl":"",icon:"i-carbon-overflow-menu-vertical",title:"More tabs","show-title":!1}),w("div",fge,[w("span",Cge,we(y(h).length),1)])],512)]),_:1})):be("",!0),z(m,{minimized:!y(a),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,Age)])}}}),pge={},mge={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yge=iee('<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 198" width="128" height="128"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2),bge=[yge];function $ge(t,r){return O(),F("svg",mge,bge)}const S2=qA(pge,[["render",$ge]]),wge={class:"fixed inset-0 h-screen w-screen flex flex-col items-center justify-center $ui-bg-base"},_ge=w("p",{class:"p3 text-sm font-bold"},[ke(" DevTools is currently injected into user application in "),w("em",{class:"text-primary-600"},"Overlay"),ke(" view mode. ")],-1),Ege=$e({__name:"ViewModeSwitch",setup(t){Nm();const{toggle:r}=Bm();return(e,n)=>{const i=S2;return O(),F("div",wge,[z(i,{"h-18":""}),_ge,w("p",null,[z(y(ot),{onClick:n[0]||(n[0]=$n(o=>y(r)("panel"),["stop"]))},{default:G(()=>[ke(" Switch to Panel Mode ")]),_:1})])])}}}),Sge="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20id='svg2'%20version='1.1'%20inkscape:version='0.91%20r13725'%20xml:space='preserve'%20width='375'%20height='375'%20viewBox='0%200%20375%20375'%20sodipodi:docname='vue-logo.svg'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata8'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs6'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1017'%20id='namedview4'%20showgrid='false'%20inkscape:zoom='0.62933333'%20inkscape:cx='187.5'%20inkscape:cy='187.5'%20inkscape:window-x='0'%20inkscape:window-y='30'%20inkscape:window-maximized='1'%20inkscape:current-layer='g10'%20/%3e%3cg%20id='g10'%20inkscape:groupmode='layer'%20inkscape:label='logo'%20transform='matrix(1.25,0,0,-1.25,0,375)'%3e%3cg%20id='g12'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-120.829,0%20-22.669,-170.017%2075.491,0%200,0%20Z'%20style='fill:%2341b883;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path14'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3cg%20id='g16'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-81.565,0%20-22.669,-102.01%2036.227,0%200,0%20Z'%20style='fill:%2334495e;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path18'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Tge={class:"h-screen w-screen $ui-fcc flex-col"},Oge={class:"outer"},kge={class:"inner"},xge=["src"],Pge=$e({__name:"AppConnecting",setup(t){return(r,e)=>(O(),F("div",Tge,[w("div",Oge,[w("div",kge,[w("img",{src:y(Sge),class:"max-w-18",alt:"Vue logo"},null,8,xge)])]),Xe(r.$slots,"default",{},void 0,!0)]))}}),b6=qA(Pge,[["__scopeId","data-v-204233a8"]]),JA={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,r)=>(t[r.id]=r)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[t.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,r){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=r},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,r){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===r?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,r),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=r,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[r])},onSplitterDblClick(t,r){let e=0;this.panes=this.panes.map((n,i)=>(n.size=i===r?n.max:n.min,i!==r&&(e+=n.min),n)),this.panes[r].size-=e,this.$emit("pane-maximize",this.panes[r]),this.$emit("resized",this.panes.map(n=>({min:n.min,max:n.max,size:n.size})))},onPaneClick(t,r){this.$emit("pane-click",this.indexedPanes[r])},getCurrentMouseDrag(t){const r=this.container.getBoundingClientRect(),{clientX:e,clientY:n}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:e-r.left,y:n-r.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const r=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=r-t),t*100/r},calculatePanesSize(t){const r=this.touch.activeSplitter;let e={prevPanesSize:this.sumPrevPanesSize(r),nextPanesSize:this.sumNextPanesSize(r),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:e.prevPanesSize),i=100-(this.pushOtherPanes?0:e.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(t),i),n);let a=[r,r+1],s=this.panes[a[0]]||null,l=this.panes[a[1]]||null;const g=s.max<100&&o>=s.max+e.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(r+1));if(g||u){g?(s.size=s.max,l.size=Math.max(100-s.max-e.prevPanesSize-e.nextPanesSize,0)):(s.size=Math.max(100-l.max-e.prevPanesSize-this.sumNextPanesSize(r+1),0),l.size=l.max);return}if(this.pushOtherPanes){const c=this.doPushOtherPanes(e,o);if(!c)return;({sums:e,panesToResize:a}=c),s=this.panes[a[0]]||null,l=this.panes[a[1]]||null}s!==null&&(s.size=Math.min(Math.max(o-e.prevPanesSize-e.prevReachedMinPanes,s.min),s.max)),l!==null&&(l.size=Math.min(Math.max(100-o-e.nextPanesSize-e.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(t,r){const e=this.touch.activeSplitter,n=[e,e+1];return r<t.prevPanesSize+this.panes[n[0]].min&&(n[0]=this.findPrevExpandedPane(e).index,t.prevReachedMinPanes=0,n[0]<e&&this.panes.forEach((i,o)=>{o>n[0]&&o<=e&&(i.size=i.min,t.prevReachedMinPanes+=i.min)}),t.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,o)=>{o>0&&o<=e&&(i.size=i.min,t.prevReachedMinPanes+=i.min)}),this.panes[n[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):r>100-t.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(e).index,t.nextReachedMinPanes=0,n[1]>e+1&&this.panes.forEach((i,o)=>{o>e&&o<n[1]&&(i.size=i.min,t.nextReachedMinPanes+=i.min)}),t.nextPanesSize=this.sumNextPanesSize(n[1]-1),n[1]===void 0)?(t.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,o)=>{o<this.panesCount-1&&o>=e+1&&(i.size=i.min,t.nextReachedMinPanes+=i.min)}),this.panes[n[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:n}},sumPrevPanesSize(t){return this.panes.reduce((r,e,n)=>r+(n<t?e.size:0),0)},sumNextPanesSize(t){return this.panes.reduce((r,e,n)=>r+(n>t+1?e.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(r=>r.index<t&&r.size>r.min)||{}},findNextExpandedPane(t){return this.panes.find(r=>r.index>t+1&&r.size>r.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const r=t.classList.contains("splitpanes__pane"),e=t.classList.contains("splitpanes__splitter");!r&&!e&&(t.parentNode.removeChild(t),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(t,r,e=!1){const n=t-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),e||(i.onmousedown=o=>this.onMouseDown(o,n),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=o=>this.onMouseDown(o,n)),i.onclick=o=>this.onSplitterClick(o,n+1)),this.dblClickSplitter&&(i.ondblclick=o=>this.onSplitterDblClick(o,n+1)),r.parentNode.insertBefore(i,r)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(e=>{e.className.includes("splitpanes__splitter")&&this.removeSplitter(e)});let r=0;t.forEach(e=>{e.className.includes("splitpanes__pane")&&(!r&&this.firstSplitter?this.addSplitter(r,e,!0):r&&this.addSplitter(r,e),r++)})},requestUpdate({target:t,...r}){const e=this.indexedPanes[t._.uid];Object.entries(r).forEach(([n,i])=>e[n]=i)},onPaneAdd(t){let r=-1;Array.from(t.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&r++,i===t.$el));const e=parseFloat(t.minSize),n=parseFloat(t.maxSize);this.panes.splice(r,0,{id:t._.uid,index:r,min:isNaN(e)?0:e,max:isNaN(n)?100:n,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((i,o)=>i.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[r]}),this.$emit("pane-add",{index:r,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(t){const r=this.panes.findIndex(n=>n.id===t._.uid),e=this.panes.splice(r,1)[0];this.panes.forEach((n,i)=>n.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...e,index:r}}),this.$emit("pane-remove",{removed:e,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(r=>r.givenSize!==null||r.min||r.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},equalize(){const t=100/this.panesCount;let r=0;const e=[],n=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(t,i.max),i.min),r-=i.size,i.size>=i.max&&e.push(i.id),i.size<=i.min&&n.push(i.id)}),r>.1&&this.readjustSizes(r,e,n)},initialPanesSizing(){let t=100;const r=[],e=[];let n=0;this.panes.forEach(o=>{t-=o.size,o.size!==null&&n++,o.size>=o.max&&r.push(o.id),o.size<=o.min&&e.push(o.id)});let i=100;t>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(t/(this.panesCount-n),o.max),o.min)),i-=o.size}),i>.1&&this.readjustSizes(t,r,e))},equalizeAfterAddOrRemove({addedPane:t,removedPane:r}={}){let e=100/this.panesCount,n=0;const i=[],o=[];t&&t.givenSize!==null&&(e=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&o.push(a.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(a=>{t&&t.givenSize!==null&&t.id===a.id||(a.size=Math.max(Math.min(e,a.max),a.min)),n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&o.push(a.id)}),n>.1&&this.readjustSizes(n,i,o))},readjustSizes(t,r,e){let n;t>0?n=t/(this.panesCount-r.length):n=t/(this.panesCount-e.length),this.panes.forEach((i,o)=>{if(t>0&&!r.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),s=a-i.size;t-=s,i.size=a}else if(!e.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),s=a-i.size;t-=s,i.size=a}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((r,e)=>{r.ondblclick=t?n=>this.onSplitterDblClick(n,e):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return ad("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Rge=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Dge={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}};function Nge(t,r,e,n,i,o){return O(),F("div",{class:"splitpanes__pane",onClick:r[0]||(r[0]=a=>o.onPaneClick(a,t._.uid)),style:_r(t.style)},[Xe(t.$slots,"default")],4)}const Io=Rge(Dge,[["render",Nge]]);function Fm(){const{copy:t,copied:r}=E2();return{copy:(n,i={})=>{const{silent:o=!1,type:a=""}=i;t(n).then(()=>{o||a_({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{o||a_({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:r}}const Mge={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},Bge=$e({__name:"App",setup(t){mn(()=>import("./unocss-runtime-402WFgCt.js"),__vite__mapDeps([]),import.meta.url),Nm();const r=sd(),e=Tm(),{connected:n,clientConnected:i}=Zi(),o=_n(),a=sr,s=Er("viewMode",U("overlay")),l=X(()=>s.value==="overlay"&&pc);Bm();const g=h2(),u=X(()=>e.path.startsWith("/__")||e.path==="/"),c=X(()=>a.value.expandSidebar),d=X(()=>i.value&&n.value);Nn(()=>{const v=sr.value.scale;document.documentElement.style.fontSize=`${v*15}px`}),rt(d,v=>{v&&(r.replace(a.value.isFirstVisit?"/":a.value.route),r.afterEach(()=>{const p=e.path;p.includes("__")||(a.value.route=p)}))},{immediate:!0}),tn("keydown",v=>{v.code==="KeyD"&&v.altKey&&v.shiftKey&&g.value.emit("toggle-panel")}),Nn(()=>{g.value.emit("update-client-state",{minimizePanelInteractive:sr.value.minimizePanelInteractive,closeOnOutsideClick:sr.value.interactionCloseOnOutsideClick,showFloatingPanel:sr.value.showPanel})});const h=X(()=>a.value.splitScreen.enabled),A=X({get:()=>a.value.splitScreen.size,set:v=>a.value.splitScreen.size=v}),f=Zi();Nn(()=>{g6.value=f.appRecords.value,u6.value=f.activeAppRecordId.value});const{copy:C}=Fm(),I=Hse({});return o?.isVueInspectorDetected?.()?.then(({data:v})=>{v&&DP(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{g.value.emit("toggle-panel",!1),await o.enableVueInspector()}}])}),DP(()=>[...I.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:v}=await I.open()||{};v&&C(v)}}]:[]]),(v,p)=>{const m=b6,b=Ege,S=vge,N=bi("RouterView"),k=qle,_=xle;return O(),F("main",Mge,[y(d)?y(l)?(O(),ne(b,{key:1})):(O(),F("div",{key:2,class:_e(["h-full of-auto",y(u)?"flex":y(c)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[y(u)?be("",!0):(O(),ne(S,{key:0,"of-x-hidden":"","of-y-auto":""})),z(y(JA),{"h-full":"","of-hidden":"",onResize:p[0]||(p[0]=T=>A.value=T.map(P=>P.size))},{default:G(()=>[z(y(Io),{"h-full":"",class:"of-auto!","min-size":"10",size:y(A)[0]},{default:G(()=>[z(N)]),_:1},8,["size"]),!y(u)&&y(h)?(O(),ne(y(Io),{key:0,relative:"","h-full":"",class:"of-auto!",size:y(A)[1]},{default:G(()=>[z(k)]),_:1},8,["size"])):be("",!0)]),_:1})],2)):(O(),ne(m,{key:0})),z(_)])}}}),T2=$e({__name:"ExpandIcon",props:{value:{type:Boolean}},setup(t){return(r,e)=>(O(),F("i",{class:_e(["i-radix-icons:triangle-right flex-none text-5 op-50 transition-base",{"transform rotate-90":r.value}])},null,2))}}),Fge={class:"flex-inline items-center gap4px"},Lge=$e({__name:"EditInput",props:{modelValue:{},type:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(t,{emit:r}){const e=t,n=r,{escape:i,enter:o}=Kse();Nn(()=>{i.value?n("cancel"):o.value&&n("submit",e.type)});const a=Mm(e,"modelValue",n);function s(g){try{return JSON.parse(g),!0}catch{return!1}}const l=X(()=>a.value.trim().length===0||(e.type==="number"?Number.isNaN(Number(a.value)):!1)||(e.type==="object"?!s(a.value):!1));return(g,u)=>(O(),F("span",Fge,[z(y(Da),{modelValue:y(a),"onUpdate:modelValue":u[0]||(u[0]=c=>ze(a)?a.value=c:null),variant:y(l)?"warning":"normal",class:"h25px w120px px4px","auto-focus":g.autoFocus,onClick:u[1]||(u[1]=$n(()=>{},["stop"]))},null,8,["modelValue","variant","auto-focus"]),g.showActions?(O(),F(ye,{key:0},[y(l)?(O(),ne(y(Pt),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"})):(O(),F(ye,{key:0},[rn((O(),ne(y(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[2]||(u[2]=$n(c=>g.$emit("cancel"),["stop"]))},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-cancel"})]),_:1})),[[y(Ho),{content:"Esc to cancel"}]]),rn((O(),ne(y(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[3]||(u[3]=$n(c=>g.$emit("submit",g.type),["stop"]))},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-save"})]),_:1})),[[y(Ho),{content:"Enter to submit change"}]])],64))],64)):be("",!0)]))}}),$6=Symbol("StateEditorSymbol");function zge(t){const r=U(t);return pa($6,r),{context:r}}function O2(){return Er($6)}function jge(){const t=U(""),r=U("string"),e=U(!1),n=O2();return{editingText:t,editing:e,toggleEditing(i){i&&(r.value=i),e.value=!e.value},editingType:r,nodeId:n.value.nodeId}}function Vge(t,r){if(t==="array")return r.length;const e="newProp";let n=1;for(;;){const i=`${e}${n}`;if(!r[i])return i;n++}}function Gge(){const t=U({enable:!1,key:"",value:"undefined"});function r(n,i){const o=Vge(n,i);t.value={enable:!0,key:o.toString(),value:"undefined"}}function e(){t.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:r,resetDrafting:e,draftingNewProp:t}}const Wge={class:"inline pl5px"},Hge={class:"w160px py5px"},NP=$e({__name:"Actions",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(t){const r=t,e=_n(),n=O2(),{copy:i,isSupported:o}=E2(),a=U(!1),s=X(()=>jj(r.data.value).value),l=X(()=>typeof s.value),g={flat:!0,size:"mini"},u=X(()=>({"opacity-0":!r.hovering}));function c(d,h=!1){e.editInspectorState({path:r.data.key.split("."),inspectorId:n.value.inspectorId,type:r.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:Ct(d),type:l.value,remove:h}})}return(d,h)=>(O(),F("div",Wge,[!r.disableEdit&&d.data.editable?(O(),F(ye,{key:0},[y(l)==="string"||y(l)==="number"||y(l)==="object"?(O(),F(ye,{key:0},[rn((O(),ne(y(ot),yn(g,{class:y(u),onClick:h[0]||(h[0]=$n(A=>d.$emit("enableEditInput",y(l)),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[y(Ho),{content:"Edit value"}]]),y(l)==="object"&&d.showAddIfNeeded?rn((O(),ne(y(ot),yn({key:0},g,{class:y(u),onClick:h[1]||(h[1]=$n(A=>d.$emit("addNewProp",Array.isArray(y(s))?"array":"object"),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[y(Ho),{content:"Add new value"}]]):be("",!0)],64)):be("",!0),y(l)==="boolean"?(O(),ne(y(ot),yn({key:1},g,{class:y(u),onClick:h[2]||(h[2]=A=>c(!y(s)))}),{icon:G(()=>[z(y(Pt),{icon:y(s)?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):y(l)==="number"?(O(),F(ye,{key:2},[z(y(ot),yn(g,{class:y(u),onClick:h[3]||(h[3]=$n(A=>c(y(s)+1),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-carbon-add"})]),_:1},16,["class"]),z(y(ot),yn(g,{class:y(u),onClick:h[4]||(h[4]=$n(A=>c(y(s)-1),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):be("",!0)],64)):be("",!0),!r.disableEdit&&d.depth>0?(O(),ne(y(ot),yn({key:1},g,{class:y(u),onClick:h[5]||(h[5]=$n(A=>c(y(s),!0),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):be("",!0),z(y(kc),{class:_e({"opacity-0":!d.hovering&&!y(a)}),"button-props":{flat:!0,size:"mini"},disabled:!y(o),"onUpdate:visible":h[8]||(h[8]=A=>a.value=A)},{popper:G(()=>[w("div",Hge,[z(y(pP),{onClick:h[6]||(h[6]=A=>y(i)(y(l)==="object"?JSON.stringify(y(s)):y(s).toString()))},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Value ")]),_:1}),z(y(pP),{onClick:h[7]||(h[7]=()=>{y(i)(d.data.key)})},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Path ")]),_:1})])]),"button-icon":G(()=>[z(y(Pt),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}});function gA(t){const r=U({}),e=U({});return pa(`CollapseMapSymbol${t}`,r),pa(`CollapseMapSymbol${t}LinkedList`,e),{collapseMap:r,id:t,linkedList:e}}function Uge(t){const r=Er(`CollapseMapSymbol${t}`),e=Er(`CollapseMapSymbol${t}LinkedList`);return{collapseMap:r,linkedList:e,id:t}}function k2(t,r,e){const{collapseMap:n,linkedList:i}=Uge(t),o=X(()=>n.value[r]??!1),a=()=>{n.value[r]=!n.value[r]};return e?.length&&(i.value[r]=e??[]),{isExpanded:o,toggleCollapse:a}}function Zge(t,r={}){const{enter:e=()=>{},leave:n=()=>{},initital:i=!1}=r,o=U(i);return tn(t,"mouseenter",()=>{o.value=!0,e()}),tn(t,"mouseleave",()=>{o.value=!1,n()}),{isHovering:o}}const x2=t=>(fm("data-v-e979d6e2"),t=t(),Cm(),t),Kge={key:0},Yge={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},Xge=x2(()=>w("span",{"mx-1":""},":",-1)),Qge=["innerHTML"],qge={key:1,"cursor-pointer":""},Jge={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},eue=x2(()=>w("span",{"mx-1":""},":",-1)),tue=["innerHTML"],rue={key:0},nue={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},iue=x2(()=>w("span",{"mx-1":""},":",-1)),oue=$e({__name:"InspectorStateField",props:{data:{},depth:{default:0},no:{},rootId:{}},setup(t){const r=t,e=O2(),n=_n(),i=X(()=>wte(r.data.value)),o=X(()=>_m(r.data.value)),a=X(()=>o.value==="custom"?`state-format-${r.data.value._custom?.type}`:""),{isExpanded:s,toggleCollapse:l}=k2("inspector-state",`${r.rootId}-${r.no}-${r.depth}-${r.data.key}`),g=X(()=>{const P=r.data._custom?.stateTypeName||r.data?.stateTypeName;if(P==="Reactive")return P;if(r.data.value?.fields?.abstract)return"";{const R=`<span class="state-value-${o.value}">${i.value}</span>`;return P?`${R} <span class="text-gray-500">(${P})</span>`:R}}),u=X(()=>jj(r.data.value)),c=X(()=>{let{value:P,inherit:R}=u.value;return Array.isArray(P)?P.slice(0,20).map((te,W)=>({key:`${r.data.key}.${W}`,value:te,...R,editable:r.data.editable,creating:!1})):(P!==null&&typeof P=="object"?(P=Object.keys(P).map(L=>({key:`${r.data.key}.${L}`,value:P[L],...R,editable:r.data.editable,creating:!1})),o.value!=="custom"&&(P=aq(P))):P=[],P===r.data.value?{}:P)}),d=X(()=>{const P=r.data.key,R=P.lastIndexOf(".");return R===-1?P:P.slice(R+1)}),h=X(()=>Object.keys(c.value).length>0),{editingType:A,editing:f,editingText:C,toggleEditing:I,nodeId:v}=jge();rt(()=>f.value,P=>{if(P){const{value:R}=u.value;C.value=typeof R=="object"?JSON.stringify(R):R.toString()}else C.value=""});function p(P){const R=r.data;n.editInspectorState({path:R.key.split("."),inspectorId:e.value.inspectorId,type:R.stateType,nodeId:v,state:{newKey:null,type:P,value:C.value}}),I()}const{addNewProp:m,draftingNewProp:b,resetDrafting:S}=Gge();function N(P){s.value||l(),m(P,u.value.value)}function k(){const P=r.data,R=P.key.split(".");R.push(b.value.key),n.editInspectorState({path:R,inspectorId:e.value.inspectorId,type:P.stateType,nodeId:v,state:{newKey:b.value.key,type:typeof b.value.value,value:b.value.value}}),S()}const _=U(),{isHovering:T}=Zge(_);return(P,R)=>{const L=Lge,te=T2,W=bi("InspectorStateField",!0);return O(),F("div",{ref_key:"containerRef",ref:_,class:"pl-6",style:_r({paddingLeft:`${P.depth*15+4}px`})},[y(h)?(O(),F("div",qge,[w("div",{relative:"",flex:"","items-center":"",onClick:R[2]||(R[2]=(...V)=>y(l)&&y(l)(...V))},[z(te,{value:y(s),absolute:"","left--6":"","group-hover:text-white":""},null,8,["value"]),w("span",Jge,we(y(d)),1),eue,y(f)?(O(),ne(L,{key:0,modelValue:y(C),"onUpdate:modelValue":R[1]||(R[1]=V=>ze(C)?C.value=V:null),type:y(A),onCancel:y(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(O(),F(ye,{key:1},[w("span",{class:_e(y(a))},[w("span",{innerHTML:y(g)},null,8,tue)],2),z(NP,{"show-add-if-needed":!y(b).enable,hovering:y(T),data:P.data,"disable-edit":y(e).disableEdit,depth:P.depth,onEnableEditInput:y(I),onAddNewProp:N},null,8,["show-add-if-needed","hovering","data","disable-edit","depth","onEnableEditInput"])],64))]),y(s)?(O(),F("div",rue,[(O(!0),F(ye,null,vt(y(c),(V,Q)=>(O(),ne(W,{key:Q,data:V,depth:P.depth+1,no:P.no,"root-id":P.rootId},null,8,["data","depth","no","root-id"]))),128)),y(b).enable?(O(),F("div",{key:0,style:_r({paddingLeft:`${(P.depth+1)*15+4}px`})},[w("span",nue,[z(L,{modelValue:y(b).key,"onUpdate:modelValue":R[3]||(R[3]=V=>y(b).key=V),type:"string","show-actions":!1},null,8,["modelValue"])]),iue,z(L,{modelValue:y(b).value,"onUpdate:modelValue":R[4]||(R[4]=V=>y(b).value=V),type:"string","auto-focus":!1,onCancel:y(S),onSubmit:k},null,8,["modelValue","onCancel"])],4)):be("",!0)])):be("",!0)])):(O(),F("div",Kge,[w("span",Yge,we(y(d)),1),Xge,y(f)?(O(),ne(L,{key:0,modelValue:y(C),"onUpdate:modelValue":R[0]||(R[0]=V=>ze(C)?C.value=V:null),type:y(A),onCancel:y(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(O(),F(ye,{key:1},[w("span",{class:_e(y(a))},[w("span",{innerHTML:y(g)},null,8,Qge)],2),z(NP,{hovering:y(T),"disable-edit":y(e).disableEdit,data:P.data,depth:P.depth,onEnableEditInput:y(I)},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],64))]))],4)}}}),aue=qA(oue,[["__scopeId","data-v-e979d6e2"]]),sue=$e({__name:"InspectorStateType",props:{data:{},depth:{default:0},rootId:{}},setup(t){return(r,e)=>{const n=aue;return O(!0),F(ye,null,vt(r.data,(i,o)=>(O(),F("div",{key:o,class:"flex items-center pl-8 font-data-field"},[z(n,{data:i,no:o,"root-id":r.rootId},null,8,["data","no","root-id"])]))),128)}}}),lue={"text-primary-400":"","group-hover:text-white":"",class:"text-[#486887] dark:text-[#7595b5]"},Lm=$e({__name:"InspectorState",props:{data:{},name:{},id:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(t){const r=t,{isExpanded:e,toggleCollapse:n}=k2("inspector-state",r.id);return!e.value&&n(),zge({nodeId:r.nodeId,inspectorId:r.inspectorId,disableEdit:r.disableEdit}),(i,o)=>{const a=T2,s=sue;return O(),F(ye,null,[w("div",{class:"group w-full px-0 selectable-item",onClick:o[0]||(o[0]=(...l)=>y(n)&&y(n)(...l))},[z(a,{value:y(e),"group-hover:text-white":""},null,8,["value"]),w("span",lue,we(i.name),1)]),y(e)?(O(),ne(s,{key:0,data:i.data,"root-id":i.id},null,8,["data","root-id"])):be("",!0)],64)}}});function f_(t){return t.toString(16).padStart(6,"0")}function gue(t,r){const e=new Date(t);return`${e.toString().match(/\d\d:\d\d:\d\d/)[0]}${r==="ms"?`.${String(e.getMilliseconds()).padStart(3,"0")}`:""}`}const w6=$e({__name:"InspectorNodeTag",props:{tag:{}},setup(t){return(r,e)=>{const n=Im("tooltip");return rn((O(),F("span",{style:_r({color:`#${y(f_)(r.tag.textColor)}`,backgroundColor:`#${y(f_)(r.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[ke(we(r.tag.label),1)],4)),[[n,{content:r.tag.tooltip,html:!0}]])}}});function uue(t){const r=U("");return pa(`SelectedSymbol${t}`,r),{selected:r,id:t}}function cue(t){return{selected:Er(`SelectedSymbol${t}`),id:t}}function due(t,r,e){const{selected:n}=cue(t);return{isSelected:X(()=>n.value===r),toggleSelected:a=>{n.value=a,e?.(a)}}}const hue={key:1,"inline-block":"","h-6":"","w-6":""},Aue={"text-primary-400":"","group-hover:text-white":"",class:"[.active_&]:text-white"},fue=$e({__name:"ComponentTreeNode",props:{data:{},depth:{default:0},linkedList:{default:()=>[]}},emits:["select","mouseenter","mouseleave"],setup(t,{emit:r}){const e=t,n=r,{isExpanded:i,toggleCollapse:o}=k2("component-tree",e.data.id,[...e.linkedList,e.data.id]),{isSelected:a,toggleSelected:s}=due("component-tree",e.data.id,l=>{n("select",l)});return(l,g)=>{const u=T2,c=w6,d=bi("ComponentTreeNode",!0);return O(),F(ye,null,[w("div",{class:_e(["group selectable-item",{active:y(a)}]),style:_r({paddingLeft:`${l.depth*15+4}px`}),onClick:g[0]||(g[0]=$n(h=>y(s)(l.data.id),["stop"])),onMouseenter:g[1]||(g[1]=h=>n("mouseenter",l.data.id,!0)),onMouseleave:g[2]||(g[2]=h=>n("mouseleave",l.data.id,!1))},[l.data.children?.length?(O(),ne(u,{key:0,value:y(i),"group-hover:text-white":"",class:"[.active_&]:text-white",onClick:$n(y(o),["prevent","stop"])},null,8,["value","onClick"])):(O(),F("i",hue)),w("span",Aue,we(l.data.name),1),(O(!0),F(ye,null,vt(l.data.tags,(h,A)=>(O(),ne(c,{key:A,tag:h},null,8,["tag"]))),128))],38),l.data.children?.length&&y(i)?(O(!0),F(ye,{key:0},vt(l.data.children,h=>(O(),ne(d,{key:h.id,data:h,depth:l.depth+1,"linked-list":[...l.linkedList,l.data.id],onSelect:g[3]||(g[3]=A=>n("select",A)),onMouseenter:g[4]||(g[4]=A=>n("mouseenter",A,!0)),onMouseleave:g[5]||(g[5]=A=>n("mouseleave",A,!1))},null,8,["data","depth","linked-list"]))),128)):be("",!0)],64)}}}),Cue=_n();function zm(t){return Cue.openInEditor({file:t})}const Iue={"w-full":"",flex:"",gap2:"",px2:"",py2:""},vue=w("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[w("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),w("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1),pue=[vue],mue={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},yue={flex:"","justify-between":"","overflow-auto":"",px2:"",py3:"",class:"no-scrollbar"},bue={key:0},$ue={flex:"~ gap2"},wue=w("p",{class:"x-divider"},null,-1),_ue=$e({__name:"components",setup(t){const r=_n(),e=h2(),n=U([]),i=U(""),o=zm,a=U(!1),[s,l]=w2(!0),{selected:g}=uue("component-tree"),{collapseMap:u,linkedList:c}=gA("component-tree");gA("inspector-state");const d=X(()=>{const W=[],V=Q=>{Q.forEach(Ie=>{Ie.id===g.value&&W.push(Ie),Ie.children?.length&&V(Ie.children)})};return V(n.value),W[0]}),h=X(()=>{const W=[],V=(Q,Ie=[])=>{Q.forEach(Re=>{W.push([...Ie,Re.id]),Re.children?.length&&V(Re.children,[...Ie,Re.id])})};return V(n.value),W}),A=X(()=>d.value?.file??"");function f(W,V){return W.length?W.find(Q=>Q.id===V)?!0:W.some(Q=>f(Q.children||[],V)):!1}function C(W){W.length&&(g.value&&f(W,g.value)||(g.value=W?.[0].id,P(W?.[0].id)))}function I(W){return new Promise(V=>{r.getComponentBoundingRect({inspectorId:"components",instanceId:W}).then(({data:Q})=>{V(Q)})})}function v(W){return{[W[0].id]:!0,...W?.[0].children?.reduce((V,Q)=>(V[Q.id]=!0,V),{})}}function p(W){return new Promise(V=>{r.getInspectorTree({inspectorId:"components",filter:W}).then(({data:Q})=>{const Ie=!Object.keys(u.value).length;n.value=Q,Ie&&(u.value=v(Q)),C(Q),V()})})}const m=U(!1);async function b(W,V){m.value&&await Ose(m).toBe(!1),m.value=!0,I(W).then(Q=>{r.toggleComponentInspector({id:W,visible:V,bounds:Q}),m.value=!1})}function S(W){r.scrollToComponent({id:W})}function N(){e.value.emit("toggle-panel",!1),r.inspectComponentInspector().then(({data:W})=>{g.value=W.id,k(W.id);const V=c.value[W.id];V?V.forEach(Q=>{u.value[Q]=!0}):h.value.forEach(Q=>{let Ie=Q.indexOf(W.id);if(Ie>-1)for(;Ie>=0;)u.value[Q[Ie]]=!0,Ie--})}).finally(()=>{e.value.emit("toggle-panel",!0)})}function k(W){R(),P(W),i.value=W}rt(g,W=>{r.updateInspectorTreeId(W)});const _=U({});function T(W){if(!W||!W?.state)return{};const V={};return W.state.forEach(Q=>{V[Q.type]||(V[Q.type]=[]),V[Q.type].push(Q)}),V}function P(W){r.getInspectorState({inspectorId:"components",nodeId:W}).then(({data:V})=>{_.value=T(V)})}function R(){_.value={}}ia(()=>{p().then(()=>{a.value=!0}),r.on.inspectorTreeUpdated(W=>{W?.data?.length&&(n.value=W.data,u.value={...v(W.data),...u.value},C(W.data))},{inspectorId:"components"}),r.on.inspectorStateUpdated(W=>{_.value=T(W)},{inspectorId:"components"})});const L=U("");_2(L,W=>{const V=W.trim().toLowerCase();l(),p(V).then(()=>{l()})},{debounce:300});const te=Zi();return(W,V)=>{const Q=fue,Ie=Lm,Re=oa;return O(),ne(Re,{"h-screen":""},{default:G(()=>[z(y(JA),null,{default:G(()=>[z(y(Io),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",Iue,[y(a)?(O(),ne(y(Da),{key:0,modelValue:y(L),"onUpdate:modelValue":V[0]||(V[0]=We=>ze(L)?L.value=We:null),"loading-debounce-time":250,loading:!y(s),placeholder:"Find components...","flex-1":""},null,8,["modelValue","loading"])):be("",!0),y(te).vitePluginDetected.value?(O(),F("button",{key:1,"px-1":"",onClick:N},[(O(),F("svg",{xmlns:"http://www.w3.org/2000/svg",style:_r([{height:"1.1em",width:"1.1em",opacity:"0.5"},"opacity:1;color:#00dc82"]),viewBox:"0 0 24 24"},pue))])):be("",!0)]),w("div",mue,[(O(!0),F(ye,null,vt(y(n),We=>(O(),ne(Q,{key:We.id,data:We,onSelect:k,onMouseenter:b,onMouseleave:b},null,8,["data"]))),128))])]),_:1}),z(y(Io),{flex:"","flex-col":""},{default:G(()=>[w("div",yue,[y(d)?.name?(O(),F("span",bue,we(y(d).name),1)):be("",!0),w("div",$ue,[rn(z(y(Pt),{title:"Scroll to Component",icon:"i-iconoir:mouse-scroll-wheel",action:"","flex-none":"",border:!1,onClick:V[1]||(V[1]=We=>S(y(g)))},null,512),[[y(Ho),"Scroll to Component"]]),y(A)&&y(te).vitePluginDetected.value?rn((O(),ne(y(Pt),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:V[2]||(V[2]=We=>y(o)(y(A)))},null,512)),[[y(Ho),"Open in Editor"]]):be("",!0)])]),wue,(O(),F("div",{key:y(g),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(O(!0),F(ye,null,vt(y(_),(We,Fe)=>(O(),ne(Ie,{id:Fe,key:Fe,"node-id":y(i),data:We,name:`${Fe}`,"inspector-id":"components"},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Eue="7.0.7",Sue={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},Tue=w("div",{"flex-auto":""},null,-1),Oue={flex:"~ col","mt-20":"","items-center":""},kue={flex:"~","mt--10":"","items-center":"","justify-center":""},xue={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},Pue=w("span",{op40:""}," Vue DevTools ",-1),Rue={op40:""},Due={flex:"~ gap2 wrap"},Nue={p4:"","theme-card-green":"",flex:"~ col auto"},Mue=w("div",{"i-logos-vue":"","text-3xl":""},null,-1),Bue=w("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Fue=w("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),Lue={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},zue=w("a",{href:"https://github.com/vuejs/devtools-next",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[w("div",{"i-carbon-star":""}),ke(" Star on GitHub ")],-1),jue=w("a",{href:"https://github.com/vuejs/devtools-next/discussions/111",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[w("div",{"i-carbon-data-enrichment":""}),ke(" Ideas & Suggestions ")],-1),Vue=w("a",{href:"https://github.com/vuejs/devtools-next/discussions/112",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[w("div",{"i-carbon-plan":""}),ke(" Project Roadmap ")],-1),Gue=w("a",{href:"https://github.com/vuejs/devtools-next/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[w("div",{"i-carbon-debug":""}),ke(" Bug Reports ")],-1),Wue=w("div",{"i-carbon-settings":""},null,-1),Hue=w("div",{"flex-auto":""},null,-1),Uue={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},Zue=w("span",null,"+",-1),Kue=w("span",null,"+",-1),Yue={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},Xue=w("span",null,"+",-1),Que=w("span",null,"+",-1),que=w("span",null,"+",-1),Jue=w("span",null,"+",-1),ece=$e({__name:"overview",setup(t){const r=_n(),{vueVersion:e}=Zi(),n=U(1),i=U(0);function o(a){let s=0;for(const l of a)s++,l.children?.length&&(s+=o(l.children));return s}return ia(()=>{r.getRouterInfo().then(({data:a})=>{n.value=a?.routes?.length||1}),r.on.routerInfoUpdated(a=>{n.value=a?.routes?.length||1}),r.getInspectorTree({inspectorId:"components",filter:""}).then(({data:a})=>{i.value=o(a)}),r.on.inspectorTreeUpdated(a=>{a?.data?.length&&(i.value=o(a.data))},{inspectorId:"components"})}),(a,s)=>{const l=S2,g=bi("RouterLink"),u=oa;return O(),ne(u,{"h-screen":"","w-full":"",flex:"","of-auto":""},{default:G(()=>[w("div",Sue,[Tue,w("div",Oue,[w("div",kue,[z(l,{"h-18":""})]),w("div",xue,[Pue,w("code",Rue,"v"+we(y(Eue)),1)])]),w("div",Due,[w("div",Nue,[Mue,w("code",null,"v"+we(y(e)),1)]),z(g,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[Bue,w("div",null,we(y(n))+" pages",1)]),_:1}),y(i)?(O(),ne(g,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[Fue,w("div",null,we(y(i))+" components",1)]),_:1})):be("",!0)]),w("div",Lue,[zue,jue,Vue,Gue,z(g,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:G(()=>[Wue,ke(" Settings ")]),_:1})]),Hue,w("div",Uue,[ke(" Press "),y(yk)()?(O(),F(ye,{key:0},[z(y(ot),null,{default:G(()=>[ke(" ⌘ Command ")]),_:1}),Zue,z(y(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)):(O(),F(ye,{key:1},[z(y(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),Kue,z(y(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)),ke(" to toggle Command Palette ")]),w("div",Yue,[ke(" Press "),y(yk)()?(O(),F(ye,{key:0},[z(y(ot),null,{default:G(()=>[ke(" ⇧ Shift ")]),_:1}),Xue,z(y(ot),null,{default:G(()=>[ke(" ⌥ Option ")]),_:1}),Que,z(y(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)):(O(),F(ye,{key:1},[z(y(ot),null,{default:G(()=>[ke(" Shift ")]),_:1}),que,z(y(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),Jue,z(y(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)),ke(" to toggle DevTools ")])])]),_:1})}}});function tce(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var e=t.indexOf("Trident/");if(e>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let gv;function C_(){C_.init||(C_.init=!0,gv=tce()!==-1)}var jm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){C_(),wn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",gv&&this.$el.appendChild(t),t.data="about:blank",gv||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!gv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const rce=rj();fm("data-v-b329ee4c");const nce={class:"resize-observer",tabindex:"-1"};Cm();const ice=rce((t,r,e,n,i,o)=>(O(),ne("div",nce)));jm.render=ice;jm.__scopeId="data-v-b329ee4c";jm.__file="src/components/ResizeObserver.vue";function uv(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?uv=function(r){return typeof r}:uv=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},uv(t)}function oce(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function MP(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ace(t,r,e){return r&&MP(t.prototype,r),e&&MP(t,e),t}function BP(t){return sce(t)||lce(t)||gce(t)||uce()}function sce(t){if(Array.isArray(t))return I_(t)}function lce(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function gce(t,r){if(t){if(typeof t=="string")return I_(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return I_(t,r)}}function I_(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function uce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
+ */const Du=typeof window<"u";function dne(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const or=Object.assign;function Rb(t,r){const e={};for(const n in r){const i=r[n];e[n]=po(i)?i.map(t):t(i)}return e}const Eh=()=>{},po=Array.isArray,hne=/\/$/,Ane=t=>t.replace(hne,"");function Db(t,r,e="/"){let n,i={},o="",a="";const s=r.indexOf("#");let l=r.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=r.slice(0,l),o=r.slice(l+1,s>-1?s:r.length),i=t(o)),s>-1&&(n=n||r.slice(0,s),a=r.slice(s,r.length)),n=vne(n??r,e),{fullPath:n+(o&&"?")+o+a,path:n,query:i,hash:a}}function fne(t,r){const e=r.query?t(r.query):"";return r.path+(e&&"?")+e+(r.hash||"")}function Cne(t,r,e){const n=r.matched.length-1,i=e.matched.length-1;return n>-1&&n===i&&Tc(r.matched[n],e.matched[i])&&a8(r.params,e.params)&&t(r.query)===t(e.query)&&r.hash===e.hash}function Tc(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function a8(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const e in t)if(!Ine(t[e],r[e]))return!1;return!0}function Ine(t,r){return po(t)?Mx(t,r):po(r)?Mx(r,t):t===r}function Mx(t,r){return po(r)?t.length===r.length&&t.every((e,n)=>e===r[n]):t.length===1&&t[0]===r}function vne(t,r){if(t.startsWith("/"))return t;if(!t)return r;const e=r.split("/"),n=t.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let o=e.length-1,a,s;for(a=0;a<n.length;a++)if(s=n[a],s!==".")if(s==="..")o>1&&o--;else break;return e.slice(0,o).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var nA;(function(t){t.pop="pop",t.push="push"})(nA||(nA={}));var rp;(function(t){t.back="back",t.forward="forward",t.unknown=""})(rp||(rp={}));const Nb="";function pne(t){if(!t)if(Du){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Ane(t)}const mne=/^[^#]+#/;function yne(t,r){return t.replace(mne,"#")+r}function bne(t,r){const e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:r.behavior,left:n.left-e.left-(r.left||0),top:n.top-e.top-(r.top||0)}}const $ne=()=>({left:window.pageXOffset,top:window.pageYOffset});function wne(t){let r;if("el"in t){const e=t.el,n=typeof e=="string"&&e.startsWith("#"),i=typeof e=="string"?n?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!i)return;r=bne(i,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function Bx(t,r){return(history.state?history.state.position-r:-1)+t}const Jw=new Map;function _ne(t,r){Jw.set(t,r)}function Ene(t){const r=Jw.get(t);return Jw.delete(t),r}function Sne(t=""){let r=[],e=[Nb],n=0;t=pne(t);function i(s){n++,n!==e.length&&e.splice(n),e.push(s)}function o(s,l,{direction:g,delta:u}){const c={direction:g,delta:u,type:nA.pop};for(const d of r)d(s,l,c)}const a={location:Nb,state:{},base:t,createHref:yne.bind(null,t),replace(s){e.splice(n--,1),i(s)},push(s,l){i(s)},listen(s){return r.push(s),()=>{const l=r.indexOf(s);l>-1&&r.splice(l,1)}},destroy(){r=[],e=[Nb],n=0},go(s,l=!0){const g=this.location,u=s<0?rp.back:rp.forward;n=Math.max(0,Math.min(n+s,e.length-1)),l&&o(this.location,g,{direction:u,delta:s})}};return Object.defineProperty(a,"location",{enumerable:!0,get:()=>e[n]}),a}function Tne(t){return typeof t=="string"||t&&typeof t=="object"}function s8(t){return typeof t=="string"||typeof t=="symbol"}const ts={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},l8=Symbol("");var Fx;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Fx||(Fx={}));function Oc(t,r){return or(new Error,{type:t,[l8]:!0},r)}function ha(t,r){return t instanceof Error&&l8 in t&&(r==null||!!(t.type&r))}const Lx="[^/]+?",One={sensitive:!1,strict:!1,start:!0,end:!0},kne=/[.+*?^${}()[\]/\\]/g;function xne(t,r){const e=or({},One,r),n=[];let i=e.start?"^":"";const o=[];for(const g of t){const u=g.length?[]:[90];e.strict&&!g.length&&(i+="/");for(let c=0;c<g.length;c++){const d=g[c];let h=40+(e.sensitive?.25:0);if(d.type===0)c||(i+="/"),i+=d.value.replace(kne,"\\$&"),h+=40;else if(d.type===1){const{value:A,repeatable:f,optional:C,regexp:I}=d;o.push({name:A,repeatable:f,optional:C});const v=I||Lx;if(v!==Lx){h+=10;try{new RegExp(`(${v})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${A}" (${v}): `+m.message)}}let p=f?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;c||(p=C&&g.length<2?`(?:/${p})`:"/"+p),C&&(p+="?"),i+=p,h+=20,C&&(h+=-8),f&&(h+=-20),v===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(e.strict&&e.end){const g=n.length-1;n[g][n[g].length-1]+=.7000000000000001}e.strict||(i+="/?"),e.end?i+="$":e.strict&&(i+="(?:/|$)");const a=new RegExp(i,e.sensitive?"":"i");function s(g){const u=g.match(a),c={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",A=o[d-1];c[A.name]=h&&A.repeatable?h.split("/"):h}return c}function l(g){let u="",c=!1;for(const d of t){(!c||!u.endsWith("/"))&&(u+="/"),c=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:A,repeatable:f,optional:C}=h,I=A in g?g[A]:"";if(po(I)&&!f)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const v=po(I)?I.join("/"):I;if(!v)if(C)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):c=!0);else throw new Error(`Missing required param "${A}"`);u+=v}}return u||"/"}return{re:a,score:n,keys:o,parse:s,stringify:l}}function Pne(t,r){let e=0;for(;e<t.length&&e<r.length;){const n=r[e]-t[e];if(n)return n;e++}return t.length<r.length?t.length===1&&t[0]===80?-1:1:t.length>r.length?r.length===1&&r[0]===80?1:-1:0}function Rne(t,r){let e=0;const n=t.score,i=r.score;for(;e<n.length&&e<i.length;){const o=Pne(n[e],i[e]);if(o)return o;e++}if(Math.abs(i.length-n.length)===1){if(zx(n))return 1;if(zx(i))return-1}return i.length-n.length}function zx(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const Dne={type:0,value:""},Nne=/[a-zA-Z0-9_]/;function Mne(t){if(!t)return[[]];if(t==="/")return[[Dne]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(h){throw new Error(`ERR (${e})/"${g}": ${h}`)}let e=0,n=e;const i=[];let o;function a(){o&&i.push(o),o=[]}let s=0,l,g="",u="";function c(){g&&(e===0?o.push({type:0,value:g}):e===1||e===2||e===3?(o.length>1&&(l==="*"||l==="+")&&r(`A repeatable param (${g}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:g,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):r("Invalid state to consume buffer"),g="")}function d(){g+=l}for(;s<t.length;){if(l=t[s++],l==="\\"&&e!==2){n=e,e=4;continue}switch(e){case 0:l==="/"?(g&&c(),a()):l===":"?(c(),e=1):d();break;case 4:d(),e=n;break;case 1:l==="("?e=2:Nne.test(l)?d():(c(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:e=3:u+=l;break;case 3:c(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:r("Unknown state");break}}return e===2&&r(`Unfinished custom RegExp for param "${g}"`),c(),a(),i}function Bne(t,r,e){const n=xne(Mne(t.path),e),i=or(n,{record:t,parent:r,children:[],alias:[]});return r&&!i.record.aliasOf==!r.record.aliasOf&&r.children.push(i),i}function Fne(t,r){const e=[],n=new Map;r=Gx({strict:!1,end:!0,sensitive:!1},r);function i(u){return n.get(u)}function o(u,c,d){const h=!d,A=Lne(u);A.aliasOf=d&&d.record;const f=Gx(r,u),C=[A];if("alias"in u){const p=typeof u.alias=="string"?[u.alias]:u.alias;for(const m of p)C.push(or({},A,{components:d?d.record.components:A.components,path:m,aliasOf:d?d.record:A}))}let I,v;for(const p of C){const{path:m}=p;if(c&&m[0]!=="/"){const b=c.record.path,S=b[b.length-1]==="/"?"":"/";p.path=c.record.path+(m&&S+m)}if(I=Bne(p,c,f),d?d.alias.push(I):(v=v||I,v!==I&&v.alias.push(I),h&&u.name&&!Vx(I)&&a(u.name)),A.children){const b=A.children;for(let S=0;S<b.length;S++)o(b[S],I,d&&d.children[S])}d=d||I,(I.record.components&&Object.keys(I.record.components).length||I.record.name||I.record.redirect)&&l(I)}return v?()=>{a(v)}:Eh}function a(u){if(s8(u)){const c=n.get(u);c&&(n.delete(u),e.splice(e.indexOf(c),1),c.children.forEach(a),c.alias.forEach(a))}else{const c=e.indexOf(u);c>-1&&(e.splice(c,1),u.record.name&&n.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return e}function l(u){let c=0;for(;c<e.length&&Rne(u,e[c])>=0&&(u.record.path!==e[c].record.path||!g8(u,e[c]));)c++;e.splice(c,0,u),u.record.name&&!Vx(u)&&n.set(u.record.name,u)}function g(u,c){let d,h={},A,f;if("name"in u&&u.name){if(d=n.get(u.name),!d)throw Oc(1,{location:u});f=d.record.name,h=or(jx(c.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&jx(u.params,d.keys.map(v=>v.name))),A=d.stringify(h)}else if("path"in u)A=u.path,d=e.find(v=>v.re.test(A)),d&&(h=d.parse(A),f=d.record.name);else{if(d=c.name?n.get(c.name):e.find(v=>v.re.test(c.path)),!d)throw Oc(1,{location:u,currentLocation:c});f=d.record.name,h=or({},c.params,u.params),A=d.stringify(h)}const C=[];let I=d;for(;I;)C.unshift(I.record),I=I.parent;return{name:f,path:A,params:h,matched:C,meta:jne(C)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:g,removeRoute:a,getRoutes:s,getRecordMatcher:i}}function jx(t,r){const e={};for(const n of r)n in t&&(e[n]=t[n]);return e}function Lne(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:zne(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function zne(t){const r={},e=t.props||!1;if("component"in t)r.default=e;else for(const n in t.components)r[n]=typeof e=="object"?e[n]:e;return r}function Vx(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function jne(t){return t.reduce((r,e)=>or(r,e.meta),{})}function Gx(t,r){const e={};for(const n in t)e[n]=n in r?r[n]:t[n];return e}function g8(t,r){return r.children.some(e=>e===t||g8(t,e))}const u8=/#/g,Vne=/&/g,Gne=/\//g,Wne=/=/g,Hne=/\?/g,c8=/\+/g,Une=/%5B/g,Zne=/%5D/g,d8=/%5E/g,Kne=/%60/g,h8=/%7B/g,Yne=/%7C/g,A8=/%7D/g,Xne=/%20/g;function A2(t){return encodeURI(""+t).replace(Yne,"|").replace(Une,"[").replace(Zne,"]")}function Qne(t){return A2(t).replace(h8,"{").replace(A8,"}").replace(d8,"^")}function e_(t){return A2(t).replace(c8,"%2B").replace(Xne,"+").replace(u8,"%23").replace(Vne,"%26").replace(Kne,"`").replace(h8,"{").replace(A8,"}").replace(d8,"^")}function qne(t){return e_(t).replace(Wne,"%3D")}function Jne(t){return A2(t).replace(u8,"%23").replace(Hne,"%3F")}function eie(t){return t==null?"":Jne(t).replace(Gne,"%2F")}function np(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function tie(t){const r={};if(t===""||t==="?")return r;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const o=n[i].replace(c8," "),a=o.indexOf("="),s=np(a<0?o:o.slice(0,a)),l=a<0?null:np(o.slice(a+1));if(s in r){let g=r[s];po(g)||(g=r[s]=[g]),g.push(l)}else r[s]=l}return r}function Wx(t){let r="";for(let e in t){const n=t[e];if(e=qne(e),n==null){n!==void 0&&(r+=(r.length?"&":"")+e);continue}(po(n)?n.map(o=>o&&e_(o)):[n&&e_(n)]).forEach(o=>{o!==void 0&&(r+=(r.length?"&":"")+e,o!=null&&(r+="="+o))})}return r}function rie(t){const r={};for(const e in t){const n=t[e];n!==void 0&&(r[e]=po(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return r}const nie=Symbol(""),Hx=Symbol(""),Sm=Symbol(""),f2=Symbol(""),t_=Symbol("");function Jd(){let t=[];function r(n){return t.push(n),()=>{const i=t.indexOf(n);i>-1&&t.splice(i,1)}}function e(){t=[]}return{add:r,list:()=>t.slice(),reset:e}}function Cs(t,r,e,n,i){const o=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((a,s)=>{const l=c=>{c===!1?s(Oc(4,{from:e,to:r})):c instanceof Error?s(c):Tne(c)?s(Oc(2,{from:r,to:c})):(o&&n.enterCallbacks[i]===o&&typeof c=="function"&&o.push(c),a())},g=t.call(n&&n.instances[i],r,e,l);let u=Promise.resolve(g);t.length<3&&(u=u.then(l)),u.catch(c=>s(c))})}function Mb(t,r,e,n){const i=[];for(const o of t)for(const a in o.components){let s=o.components[a];if(!(r!=="beforeRouteEnter"&&!o.instances[a]))if(iie(s)){const g=(s.__vccOpts||s)[r];g&&i.push(Cs(g,e,n,o,a))}else{let l=s();i.push(()=>l.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const u=dne(g)?g.default:g;o.components[a]=u;const d=(u.__vccOpts||u)[r];return d&&Cs(d,e,n,o,a)()}))}}return i}function iie(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ux(t){const r=Er(Sm),e=Er(f2),n=X(()=>r.resolve(y(t.to))),i=X(()=>{const{matched:l}=n.value,{length:g}=l,u=l[g-1],c=e.matched;if(!u||!c.length)return-1;const d=c.findIndex(Tc.bind(null,u));if(d>-1)return d;const h=Zx(l[g-2]);return g>1&&Zx(u)===h&&c[c.length-1].path!==h?c.findIndex(Tc.bind(null,l[g-2])):d}),o=X(()=>i.value>-1&&sie(e.params,n.value.params)),a=X(()=>i.value>-1&&i.value===e.matched.length-1&&a8(e.params,n.value.params));function s(l={}){return aie(l)?r[y(t.replace)?"replace":"push"](y(t.to)).catch(Eh):Promise.resolve()}return{route:n,href:X(()=>n.value.href),isActive:o,isExactActive:a,navigate:s}}const oie=$e({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ux,setup(t,{slots:r}){const e=Ys(Ux(t)),{options:n}=Er(Sm),i=X(()=>({[Kx(t.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[Kx(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const o=r.default&&r.default(e);return t.custom?o:ad("a",{"aria-current":e.isExactActive?t.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:i.value},o)}}}),f8=oie;function aie(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function sie(t,r){for(const e in r){const n=r[e],i=t[e];if(typeof n=="string"){if(n!==i)return!1}else if(!po(i)||i.length!==n.length||n.some((o,a)=>o!==i[a]))return!1}return!0}function Zx(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Kx=(t,r,e)=>t??r??e,lie=$e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:e}){const n=Er(t_),i=X(()=>t.route||n.value),o=Er(Hx,0),a=X(()=>{let g=y(o);const{matched:u}=i.value;let c;for(;(c=u[g])&&!c.components;)g++;return g}),s=X(()=>i.value.matched[a.value]);pa(Hx,X(()=>a.value+1)),pa(nie,s),pa(t_,i);const l=U();return rt(()=>[l.value,s.value,t.name],([g,u,c],[d,h,A])=>{u&&(u.instances[c]=g,h&&h!==u&&g&&g===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),g&&u&&(!h||!Tc(u,h)||!d)&&(u.enterCallbacks[c]||[]).forEach(f=>f(g))},{flush:"post"}),()=>{const g=i.value,u=t.name,c=s.value,d=c&&c.components[u];if(!d)return Yx(e.default,{Component:d,route:g});const h=c.props[u],A=h?h===!0?g.params:typeof h=="function"?h(g):h:null,C=ad(d,or({},A,r,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(c.instances[u]=null)},ref:l}));return Yx(e.default,{Component:C,route:g})||C}}});function Yx(t,r){if(!t)return null;const e=t(r);return e.length===1?e[0]:e}const gie=lie;function uie(t){const r=Fne(t.routes,t),e=t.parseQuery||tie,n=t.stringifyQuery||Wx,i=t.history,o=Jd(),a=Jd(),s=Jd(),l=na(ts);let g=ts;Du&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Rb.bind(null,H=>""+H),c=Rb.bind(null,eie),d=Rb.bind(null,np);function h(H,ie){let M,D;return s8(H)?(M=r.getRecordMatcher(H),D=ie):D=H,r.addRoute(D,M)}function A(H){const ie=r.getRecordMatcher(H);ie&&r.removeRoute(ie)}function f(){return r.getRoutes().map(H=>H.record)}function C(H){return!!r.getRecordMatcher(H)}function I(H,ie){if(ie=or({},ie||l.value),typeof H=="string"){const x=Db(e,H,ie.path),j=r.resolve({path:x.path},ie),Z=i.createHref(x.fullPath);return or(x,j,{params:d(j.params),hash:np(x.hash),redirectedFrom:void 0,href:Z})}let M;if("path"in H)M=or({},H,{path:Db(e,H.path,ie.path).path});else{const x=or({},H.params);for(const j in x)x[j]==null&&delete x[j];M=or({},H,{params:c(x)}),ie.params=c(ie.params)}const D=r.resolve(M,ie),B=H.hash||"";D.params=u(d(D.params));const $=fne(n,or({},H,{hash:Qne(B),path:D.path})),E=i.createHref($);return or({fullPath:$,hash:B,query:n===Wx?rie(H.query):H.query||{}},D,{redirectedFrom:void 0,href:E})}function v(H){return typeof H=="string"?Db(e,H,l.value.path):or({},H)}function p(H,ie){if(g!==H)return Oc(8,{from:ie,to:H})}function m(H){return N(H)}function b(H){return m(or(v(H),{replace:!0}))}function S(H){const ie=H.matched[H.matched.length-1];if(ie&&ie.redirect){const{redirect:M}=ie;let D=typeof M=="function"?M(H):M;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=v(D):{path:D},D.params={}),or({query:H.query,hash:H.hash,params:"path"in D?{}:H.params},D)}}function N(H,ie){const M=g=I(H),D=l.value,B=H.state,$=H.force,E=H.replace===!0,x=S(M);if(x)return N(or(v(x),{state:typeof x=="object"?or({},B,x.state):B,force:$,replace:E}),ie||M);const j=M;j.redirectedFrom=ie;let Z;return!$&&Cne(n,D,M)&&(Z=Oc(16,{to:j,from:D}),Fe(D,D,!0,!1)),(Z?Promise.resolve(Z):T(j,D)).catch(q=>ha(q)?ha(q,2)?q:We(q):Ie(q,j,D)).then(q=>{if(q){if(ha(q,2))return N(or({replace:E},v(q.to),{state:typeof q.to=="object"?or({},B,q.to.state):B,force:$}),ie||j)}else q=R(j,D,!0,E,B);return P(j,D,q),q})}function k(H,ie){const M=p(H,ie);return M?Promise.reject(M):Promise.resolve()}function _(H){const ie=Ge.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(H):H()}function T(H,ie){let M;const[D,B,$]=cie(H,ie);M=Mb(D.reverse(),"beforeRouteLeave",H,ie);for(const x of D)x.leaveGuards.forEach(j=>{M.push(Cs(j,H,ie))});const E=k.bind(null,H,ie);return M.push(E),ht(M).then(()=>{M=[];for(const x of o.list())M.push(Cs(x,H,ie));return M.push(E),ht(M)}).then(()=>{M=Mb(B,"beforeRouteUpdate",H,ie);for(const x of B)x.updateGuards.forEach(j=>{M.push(Cs(j,H,ie))});return M.push(E),ht(M)}).then(()=>{M=[];for(const x of $)if(x.beforeEnter)if(po(x.beforeEnter))for(const j of x.beforeEnter)M.push(Cs(j,H,ie));else M.push(Cs(x.beforeEnter,H,ie));return M.push(E),ht(M)}).then(()=>(H.matched.forEach(x=>x.enterCallbacks={}),M=Mb($,"beforeRouteEnter",H,ie),M.push(E),ht(M))).then(()=>{M=[];for(const x of a.list())M.push(Cs(x,H,ie));return M.push(E),ht(M)}).catch(x=>ha(x,8)?x:Promise.reject(x))}function P(H,ie,M){s.list().forEach(D=>_(()=>D(H,ie,M)))}function R(H,ie,M,D,B){const $=p(H,ie);if($)return $;const E=ie===ts,x=Du?history.state:{};M&&(D||E?i.replace(H.fullPath,or({scroll:E&&x&&x.scroll},B)):i.push(H.fullPath,B)),l.value=H,Fe(H,ie,M,E),We()}let L;function te(){L||(L=i.listen((H,ie,M)=>{if(!it.listening)return;const D=I(H),B=S(D);if(B){N(or(B,{replace:!0}),D).catch(Eh);return}g=D;const $=l.value;Du&&_ne(Bx($.fullPath,M.delta),$ne()),T(D,$).catch(E=>ha(E,12)?E:ha(E,2)?(N(E.to,D).then(x=>{ha(x,20)&&!M.delta&&M.type===nA.pop&&i.go(-1,!1)}).catch(Eh),Promise.reject()):(M.delta&&i.go(-M.delta,!1),Ie(E,D,$))).then(E=>{E=E||R(D,$,!1),E&&(M.delta&&!ha(E,8)?i.go(-M.delta,!1):M.type===nA.pop&&ha(E,20)&&i.go(-1,!1)),P(D,$,E)}).catch(Eh)}))}let W=Jd(),V=Jd(),Q;function Ie(H,ie,M){We(H);const D=V.list();return D.length?D.forEach(B=>B(H,ie,M)):console.error(H),Promise.reject(H)}function Re(){return Q&&l.value!==ts?Promise.resolve():new Promise((H,ie)=>{W.add([H,ie])})}function We(H){return Q||(Q=!H,te(),W.list().forEach(([ie,M])=>H?M(H):ie()),W.reset()),H}function Fe(H,ie,M,D){const{scrollBehavior:B}=t;if(!Du||!B)return Promise.resolve();const $=!M&&Ene(Bx(H.fullPath,0))||(D||!M)&&history.state&&history.state.scroll||null;return wn().then(()=>B(H,ie,$)).then(E=>E&&wne(E)).catch(E=>Ie(E,H,ie))}const me=H=>i.go(H);let je;const Ge=new Set,it={currentRoute:l,listening:!0,addRoute:h,removeRoute:A,hasRoute:C,getRoutes:f,resolve:I,options:t,push:m,replace:b,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:V.add,isReady:Re,install(H){const ie=this;H.component("RouterLink",f8),H.component("RouterView",gie),H.config.globalProperties.$router=ie,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>y(l)}),Du&&!je&&l.value===ts&&(je=!0,m(i.location).catch(B=>{}));const M={};for(const B in ts)Object.defineProperty(M,B,{get:()=>l.value[B],enumerable:!0});H.provide(Sm,ie),H.provide(f2,HS(M)),H.provide(t_,l);const D=H.unmount;Ge.add(H),H.unmount=function(){Ge.delete(H),Ge.size<1&&(g=ts,L&&L(),L=null,l.value=ts,je=!1,Q=!1),D()}}};function ht(H){return H.reduce((ie,M)=>ie.then(()=>_(M)),Promise.resolve())}return it}function cie(t,r){const e=[],n=[],i=[],o=Math.max(r.matched.length,t.matched.length);for(let a=0;a<o;a++){const s=r.matched[a];s&&(t.matched.find(g=>Tc(g,s))?n.push(s):e.push(s));const l=t.matched[a];l&&(r.matched.find(g=>Tc(g,l))||i.push(l))}return[e,n,i]}function sd(){return Er(Sm)}function Tm(){return Er(f2)}const die="modulepreload",hie=function(t,r){return new URL(t,r).href},Xx={},mn=function(r,e,n){let i=Promise.resolve();if(e&&e.length>0){const o=document.getElementsByTagName("link");i=Promise.all(e.map(a=>{if(a=hie(a,n),a in Xx)return;Xx[a]=!0;const s=a.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":die,s||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),s)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>r()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};async function Aie(t="/",r=!0){try{const e=`${t}@vite/client`,n=await fetch(e);if((await n.text()).startsWith("<")||!n.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await mn(()=>import(e),__vite__mapDeps([]),import.meta.url)}catch{r&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}const fie=["src","alt"],Cie=["title"],KA=$e({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(t){return(r,e)=>r.icon&&(r.icon.startsWith("/")||r.icon.match(/^https?:/))?(O(),F("img",yn({key:0,style:{width:"1em",height:"1em"}},r.$attrs,{src:r.icon,alt:r.title}),null,16,fie)):(O(),F("div",yn({key:1,style:{width:"1em",height:"1em"}},r.$attrs,{class:r.icon||"i-carbon-bring-forward",title:r.showTitle?r.title:void 0}),null,16,Cie))}}),Iie=["top","right","bottom","left"],Qx=["start","end"],qx=Iie.reduce((t,r)=>t.concat(r,r+"-"+Qx[0],r+"-"+Qx[1]),[]),iA=Math.min,Ml=Math.max,vie={left:"right",right:"left",bottom:"top",top:"bottom"},pie={start:"end",end:"start"};function r_(t,r,e){return Ml(t,iA(r,e))}function jg(t,r){return typeof t=="function"?t(r):t}function Jo(t){return t.split("-")[0]}function Co(t){return t.split("-")[1]}function C8(t){return t==="x"?"y":"x"}function C2(t){return t==="y"?"height":"width"}function YA(t){return["top","bottom"].includes(Jo(t))?"y":"x"}function I2(t){return C8(YA(t))}function I8(t,r,e){e===void 0&&(e=!1);const n=Co(t),i=I2(t),o=C2(i);let a=i==="x"?n===(e?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[o]>r.floating[o]&&(a=op(a)),[a,op(a)]}function mie(t){const r=op(t);return[ip(t),r,ip(r)]}function ip(t){return t.replace(/start|end/g,r=>pie[r])}function yie(t,r,e){const n=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?r?i:n:r?n:i;case"left":case"right":return r?o:a;default:return[]}}function bie(t,r,e,n){const i=Co(t);let o=yie(Jo(t),e==="start",n);return i&&(o=o.map(a=>a+"-"+i),r&&(o=o.concat(o.map(ip)))),o}function op(t){return t.replace(/left|right|bottom|top/g,r=>vie[r])}function $ie(t){return{top:0,right:0,bottom:0,left:0,...t}}function v8(t){return typeof t!="number"?$ie(t):{top:t,right:t,bottom:t,left:t}}function Sh(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jx(t,r,e){let{reference:n,floating:i}=t;const o=YA(r),a=I2(r),s=C2(a),l=Jo(r),g=o==="y",u=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2,d=n[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:n.y-i.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:c};break;case"left":h={x:n.x-i.width,y:c};break;default:h={x:n.x,y:n.y}}switch(Co(r)){case"start":h[a]-=d*(e&&g?-1:1);break;case"end":h[a]+=d*(e&&g?-1:1);break}return h}const wie=async(t,r,e)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=e,s=o.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(r));let g=await a.getElementRects({reference:t,floating:r,strategy:i}),{x:u,y:c}=Jx(g,n,l),d=n,h={},A=0;for(let f=0;f<s.length;f++){const{name:C,fn:I}=s[f],{x:v,y:p,data:m,reset:b}=await I({x:u,y:c,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:g,platform:a,elements:{reference:t,floating:r}});if(u=v??u,c=p??c,h={...h,[C]:{...h[C],...m}},b&&A<=50){A++,typeof b=="object"&&(b.placement&&(d=b.placement),b.rects&&(g=b.rects===!0?await a.getElementRects({reference:t,floating:r,strategy:i}):b.rects),{x:u,y:c}=Jx(g,d,l)),f=-1;continue}}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};async function Om(t,r){var e;r===void 0&&(r={});const{x:n,y:i,platform:o,rects:a,elements:s,strategy:l}=t,{boundary:g="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:d=!1,padding:h=0}=jg(r,t),A=v8(h),C=s[d?c==="floating"?"reference":"floating":c],I=Sh(await o.getClippingRect({element:(e=await(o.isElement==null?void 0:o.isElement(C)))==null||e?C:C.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:g,rootBoundary:u,strategy:l})),v=c==="floating"?{...a.floating,x:n,y:i}:a.reference,p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),m=await(o.isElement==null?void 0:o.isElement(p))?await(o.getScale==null?void 0:o.getScale(p))||{x:1,y:1}:{x:1,y:1},b=Sh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:p,strategy:l}):v);return{top:(I.top-b.top+A.top)/m.y,bottom:(b.bottom-I.bottom+A.bottom)/m.y,left:(I.left-b.left+A.left)/m.x,right:(b.right-I.right+A.right)/m.x}}const _ie=t=>({name:"arrow",options:t,async fn(r){const{x:e,y:n,placement:i,rects:o,platform:a,elements:s}=r,{element:l,padding:g=0}=jg(t,r)||{};if(l==null)return{};const u=v8(g),c={x:e,y:n},d=I2(i),h=C2(d),A=await a.getDimensions(l),f=d==="y",C=f?"top":"left",I=f?"bottom":"right",v=f?"clientHeight":"clientWidth",p=o.reference[h]+o.reference[d]-c[d]-o.floating[h],m=c[d]-o.reference[d],b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let S=b?b[v]:0;(!S||!await(a.isElement==null?void 0:a.isElement(b)))&&(S=s.floating[v]||o.floating[h]);const N=p/2-m/2,k=S/2-A[h]/2-1,_=iA(u[C],k),T=iA(u[I],k),P=_,R=S-A[h]-T,L=S/2-A[h]/2+N,te=r_(P,L,R),V=Co(i)!=null&&L!=te&&o.reference[h]/2-(L<P?_:T)-A[h]/2<0?L<P?P-L:R-L:0;return{[d]:c[d]-V,data:{[d]:te,centerOffset:L-te+V}}}});function Eie(t,r,e){return(t?[...e.filter(i=>Co(i)===t),...e.filter(i=>Co(i)!==t)]:e.filter(i=>Jo(i)===i)).filter(i=>t?Co(i)===t||(r?ip(i)!==i:!1):!0)}const Sie=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var e,n,i;const{rects:o,middlewareData:a,placement:s,platform:l,elements:g}=r,{crossAxis:u=!1,alignment:c,allowedPlacements:d=qx,autoAlignment:h=!0,...A}=jg(t,r),f=c!==void 0||d===qx?Eie(c||null,h,d):d,C=await Om(r,A),I=((e=a.autoPlacement)==null?void 0:e.index)||0,v=f[I];if(v==null)return{};const p=I8(v,o,await(l.isRTL==null?void 0:l.isRTL(g.floating)));if(s!==v)return{reset:{placement:f[0]}};const m=[C[Jo(v)],C[p[0]],C[p[1]]],b=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:v,overflows:m}],S=f[I+1];if(S)return{data:{index:I+1,overflows:b},reset:{placement:S}};const N=b.map(T=>{const P=Co(T.placement);return[T.placement,P&&u?T.overflows.slice(0,2).reduce((R,L)=>R+L,0):T.overflows[0],T.overflows]}).sort((T,P)=>T[1]-P[1]),_=((i=N.filter(T=>T[2].slice(0,Co(T[0])?2:3).every(P=>P<=0))[0])==null?void 0:i[0])||N[0][0];return _!==s?{data:{index:I+1,overflows:b},reset:{placement:_}}:{}}}},Tie=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var e;const{placement:n,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=r,{mainAxis:g=!0,crossAxis:u=!0,fallbackPlacements:c,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:A=!0,...f}=jg(t,r),C=Jo(n),I=Jo(a)===a,v=await(s.isRTL==null?void 0:s.isRTL(l.floating)),p=c||(I||!A?[op(a)]:mie(a));!c&&h!=="none"&&p.push(...bie(a,A,h,v));const m=[a,...p],b=await Om(r,f),S=[];let N=((e=i.flip)==null?void 0:e.overflows)||[];if(g&&S.push(b[C]),u){const P=I8(n,o,v);S.push(b[P[0]],b[P[1]])}if(N=[...N,{placement:n,overflows:S}],!S.every(P=>P<=0)){var k,_;const P=(((k=i.flip)==null?void 0:k.index)||0)+1,R=m[P];if(R)return{data:{index:P,overflows:N},reset:{placement:R}};let L=(_=N.filter(te=>te.overflows[0]<=0).sort((te,W)=>te.overflows[1]-W.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(d){case"bestFit":{var T;const te=(T=N.map(W=>[W.placement,W.overflows.filter(V=>V>0).reduce((V,Q)=>V+Q,0)]).sort((W,V)=>W[1]-V[1])[0])==null?void 0:T[0];te&&(L=te);break}case"initialPlacement":L=a;break}if(n!==L)return{reset:{placement:L}}}return{}}}};async function Oie(t,r){const{placement:e,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Jo(e),s=Co(e),l=YA(e)==="y",g=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,c=jg(r,t);let{mainAxis:d,crossAxis:h,alignmentAxis:A}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof A=="number"&&(h=s==="end"?A*-1:A),l?{x:h*u,y:d*g}:{x:d*g,y:h*u}}const kie=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:e,y:n}=r,i=await Oie(r,t);return{x:e+i.x,y:n+i.y,data:i}}}},xie=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:e,y:n,placement:i}=r,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:C=>{let{x:I,y:v}=C;return{x:I,y:v}}},...l}=jg(t,r),g={x:e,y:n},u=await Om(r,l),c=YA(Jo(i)),d=C8(c);let h=g[d],A=g[c];if(o){const C=d==="y"?"top":"left",I=d==="y"?"bottom":"right",v=h+u[C],p=h-u[I];h=r_(v,h,p)}if(a){const C=c==="y"?"top":"left",I=c==="y"?"bottom":"right",v=A+u[C],p=A-u[I];A=r_(v,A,p)}const f=s.fn({...r,[d]:h,[c]:A});return{...f,data:{x:f.x-e,y:f.y-n}}}}},Pie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){const{placement:e,rects:n,platform:i,elements:o}=r,{apply:a=()=>{},...s}=jg(t,r),l=await Om(r,s),g=Jo(e),u=Co(e),c=YA(e)==="y",{width:d,height:h}=n.floating;let A,f;g==="top"||g==="bottom"?(A=g,f=u===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(f=g,A=u==="end"?"top":"bottom");const C=h-l[A],I=d-l[f],v=!r.middlewareData.shift;let p=C,m=I;if(c){const S=d-l.left-l.right;m=u||v?iA(I,S):S}else{const S=h-l.top-l.bottom;p=u||v?iA(C,S):S}if(v&&!u){const S=Ml(l.left,0),N=Ml(l.right,0),k=Ml(l.top,0),_=Ml(l.bottom,0);c?m=d-2*(S!==0||N!==0?S+N:Ml(l.left,l.right)):p=h-2*(k!==0||_!==0?k+_:Ml(l.top,l.bottom))}await a({...r,availableWidth:m,availableHeight:p});const b=await i.getDimensions(o.floating);return d!==b.width||h!==b.height?{reset:{rects:!0}}:{}}}};function Li(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Go(t){return Li(t).getComputedStyle(t)}const eP=Math.min,Th=Math.max,ap=Math.round;function p8(t){const r=Go(t);let e=parseFloat(r.width),n=parseFloat(r.height);const i=t.offsetWidth,o=t.offsetHeight,a=ap(e)!==i||ap(n)!==o;return a&&(e=i,n=o),{width:e,height:n,fallback:a}}function Js(t){return y8(t)?(t.nodeName||"").toLowerCase():""}let PC;function m8(){if(PC)return PC;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(PC=t.brands.map(r=>r.brand+"/"+r.version).join(" "),PC):navigator.userAgent}function Wo(t){return t instanceof Li(t).HTMLElement}function xs(t){return t instanceof Li(t).Element}function y8(t){return t instanceof Li(t).Node}function tP(t){return typeof ShadowRoot>"u"?!1:t instanceof Li(t).ShadowRoot||t instanceof ShadowRoot}function km(t){const{overflow:r,overflowX:e,overflowY:n,display:i}=Go(t);return/auto|scroll|overlay|hidden|clip/.test(r+n+e)&&!["inline","contents"].includes(i)}function Rie(t){return["table","td","th"].includes(Js(t))}function n_(t){const r=/firefox/i.test(m8()),e=Go(t),n=e.backdropFilter||e.WebkitBackdropFilter;return e.transform!=="none"||e.perspective!=="none"||!!n&&n!=="none"||r&&e.willChange==="filter"||r&&!!e.filter&&e.filter!=="none"||["transform","perspective"].some(i=>e.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=e.contain;return o!=null&&o.includes(i)})}function b8(){return!/^((?!chrome|android).)*safari/i.test(m8())}function v2(t){return["html","body","#document"].includes(Js(t))}function $8(t){return xs(t)?t:t.contextElement}const w8={x:1,y:1};function sc(t){const r=$8(t);if(!Wo(r))return w8;const e=r.getBoundingClientRect(),{width:n,height:i,fallback:o}=p8(r);let a=(o?ap(e.width):e.width)/n,s=(o?ap(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function oA(t,r,e,n){var i,o;r===void 0&&(r=!1),e===void 0&&(e=!1);const a=t.getBoundingClientRect(),s=$8(t);let l=w8;r&&(n?xs(n)&&(l=sc(n)):l=sc(t));const g=s?Li(s):window,u=!b8()&&e;let c=(a.left+(u&&((i=g.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,d=(a.top+(u&&((o=g.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=a.width/l.x,A=a.height/l.y;if(s){const f=Li(s),C=n&&xs(n)?Li(n):n;let I=f.frameElement;for(;I&&n&&C!==f;){const v=sc(I),p=I.getBoundingClientRect(),m=getComputedStyle(I);p.x+=(I.clientLeft+parseFloat(m.paddingLeft))*v.x,p.y+=(I.clientTop+parseFloat(m.paddingTop))*v.y,c*=v.x,d*=v.y,h*=v.x,A*=v.y,c+=p.x,d+=p.y,I=Li(I).frameElement}}return{width:h,height:A,top:d,right:c+h,bottom:d+A,left:c,x:c,y:d}}function Ps(t){return((y8(t)?t.ownerDocument:t.document)||window.document).documentElement}function xm(t){return xs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _8(t){return oA(Ps(t)).left+xm(t).scrollLeft}function aA(t){if(Js(t)==="html")return t;const r=t.assignedSlot||t.parentNode||tP(t)&&t.host||Ps(t);return tP(r)?r.host:r}function E8(t){const r=aA(t);return v2(r)?r.ownerDocument.body:Wo(r)&&km(r)?r:E8(r)}function sp(t,r){var e;r===void 0&&(r=[]);const n=E8(t),i=n===((e=t.ownerDocument)==null?void 0:e.body),o=Li(n);return i?r.concat(o,o.visualViewport||[],km(n)?n:[]):r.concat(n,sp(n))}function rP(t,r,e){return r==="viewport"?Sh(function(n,i){const o=Li(n),a=Ps(n),s=o.visualViewport;let l=a.clientWidth,g=a.clientHeight,u=0,c=0;if(s){l=s.width,g=s.height;const d=b8();(d||!d&&i==="fixed")&&(u=s.offsetLeft,c=s.offsetTop)}return{width:l,height:g,x:u,y:c}}(t,e)):xs(r)?Sh(function(n,i){const o=oA(n,!0,i==="fixed"),a=o.top+n.clientTop,s=o.left+n.clientLeft,l=Wo(n)?sc(n):{x:1,y:1};return{width:n.clientWidth*l.x,height:n.clientHeight*l.y,x:s*l.x,y:a*l.y}}(r,e)):Sh(function(n){const i=Ps(n),o=xm(n),a=n.ownerDocument.body,s=Th(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),l=Th(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let g=-o.scrollLeft+_8(n);const u=-o.scrollTop;return Go(a).direction==="rtl"&&(g+=Th(i.clientWidth,a.clientWidth)-s),{width:s,height:l,x:g,y:u}}(Ps(t)))}function nP(t){return Wo(t)&&Go(t).position!=="fixed"?t.offsetParent:null}function iP(t){const r=Li(t);let e=nP(t);for(;e&&Rie(e)&&Go(e).position==="static";)e=nP(e);return e&&(Js(e)==="html"||Js(e)==="body"&&Go(e).position==="static"&&!n_(e))?r:e||function(n){let i=aA(n);for(;Wo(i)&&!v2(i);){if(n_(i))return i;i=aA(i)}return null}(t)||r}function Die(t,r,e){const n=Wo(r),i=Ps(r),o=oA(t,!0,e==="fixed",r);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&e!=="fixed")if((Js(r)!=="body"||km(i))&&(a=xm(r)),Wo(r)){const l=oA(r,!0);s.x=l.x+r.clientLeft,s.y=l.y+r.clientTop}else i&&(s.x=_8(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}const Nie={getClippingRect:function(t){let{element:r,boundary:e,rootBoundary:n,strategy:i}=t;const o=e==="clippingAncestors"?function(g,u){const c=u.get(g);if(c)return c;let d=sp(g).filter(C=>xs(C)&&Js(C)!=="body"),h=null;const A=Go(g).position==="fixed";let f=A?aA(g):g;for(;xs(f)&&!v2(f);){const C=Go(f),I=n_(f);(A?I||h:I||C.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=C:d=d.filter(v=>v!==f),f=aA(f)}return u.set(g,d),d}(r,this._c):[].concat(e),a=[...o,n],s=a[0],l=a.reduce((g,u)=>{const c=rP(r,u,i);return g.top=Th(c.top,g.top),g.right=eP(c.right,g.right),g.bottom=eP(c.bottom,g.bottom),g.left=Th(c.left,g.left),g},rP(r,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:e,strategy:n}=t;const i=Wo(e),o=Ps(e);if(e===o)return r;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&n!=="fixed")&&((Js(e)!=="body"||km(o))&&(a=xm(e)),Wo(e))){const g=oA(e);s=sc(e),l.x=g.x+e.clientLeft,l.y=g.y+e.clientTop}return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-a.scrollLeft*s.x+l.x,y:r.y*s.y-a.scrollTop*s.y+l.y}},isElement:xs,getDimensions:function(t){return Wo(t)?p8(t):t.getBoundingClientRect()},getOffsetParent:iP,getDocumentElement:Ps,getScale:sc,async getElementRects(t){let{reference:r,floating:e,strategy:n}=t;const i=this.getOffsetParent||iP,o=this.getDimensions;return{reference:Die(r,await i(e),n),floating:{x:0,y:0,...await o(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Go(t).direction==="rtl"},Mie=(t,r,e)=>{const n=new Map,i={platform:Nie,...e},o={...i.platform,_c:n};return wie(t,r,{...i,platform:o})},rg={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function sA(t,r){let e=rg.themes[t]||{},n;do n=e[r],typeof n>"u"?e.$extend?e=rg.themes[e.$extend]||{}:(e=null,n=rg[r]):e=null;while(e);return n}function Bie(t){const r=[t];let e=rg.themes[t]||{};do e.$extend&&!e.$resetCss?(r.push(e.$extend),e=rg.themes[e.$extend]||{}):e=null;while(e);return r.map(n=>`v-popper--theme-${n}`)}function oP(t){const r=[t];let e=rg.themes[t]||{};do e.$extend?(r.push(e.$extend),e=rg.themes[e.$extend]||{}):e=null;while(e);return r}let mg=!1;if(typeof window<"u"){mg=!1;try{const t=Object.defineProperty({},"passive",{get(){mg=!0}});window.addEventListener("test",null,t)}catch{}}let S8=!1;typeof window<"u"&&typeof navigator<"u"&&(S8=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const T8=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),aP={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},sP={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function lP(t,r){const e=t.indexOf(r);e!==-1&&t.splice(e,1)}function Bb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const lo=[];let Pl=null;const gP={};function uP(t){let r=gP[t];return r||(r=gP[t]=[]),r}let i_=function(){};typeof window<"u"&&(i_=window.Element);function mt(t){return function(r){return sA(r.theme,t)}}const Fb="__floating-vue__popper",O8=()=>$e({name:"VPopper",provide(){return{[Fb]:{parentPopper:this}}},inject:{[Fb]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:mt("disabled")},positioningDisabled:{type:Boolean,default:mt("positioningDisabled")},placement:{type:String,default:mt("placement"),validator:t=>T8.includes(t)},delay:{type:[String,Number,Object],default:mt("delay")},distance:{type:[Number,String],default:mt("distance")},skidding:{type:[Number,String],default:mt("skidding")},triggers:{type:Array,default:mt("triggers")},showTriggers:{type:[Array,Function],default:mt("showTriggers")},hideTriggers:{type:[Array,Function],default:mt("hideTriggers")},popperTriggers:{type:Array,default:mt("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:mt("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:mt("popperHideTriggers")},container:{type:[String,Object,i_,Boolean],default:mt("container")},boundary:{type:[String,i_],default:mt("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:mt("strategy")},autoHide:{type:[Boolean,Function],default:mt("autoHide")},handleResize:{type:Boolean,default:mt("handleResize")},instantMove:{type:Boolean,default:mt("instantMove")},eagerMount:{type:Boolean,default:mt("eagerMount")},popperClass:{type:[String,Array,Object],default:mt("popperClass")},computeTransformOrigin:{type:Boolean,default:mt("computeTransformOrigin")},autoMinSize:{type:Boolean,default:mt("autoMinSize")},autoSize:{type:[Boolean,String],default:mt("autoSize")},autoMaxSize:{type:Boolean,default:mt("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:mt("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:mt("preventOverflow")},overflowPadding:{type:[Number,String],default:mt("overflowPadding")},arrowPadding:{type:[Number,String],default:mt("arrowPadding")},arrowOverflow:{type:Boolean,default:mt("arrowOverflow")},flip:{type:Boolean,default:mt("flip")},shift:{type:Boolean,default:mt("shift")},shiftCrossAxis:{type:Boolean,default:mt("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:mt("noAutoFocus")},disposeTimeout:{type:Number,default:mt("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[Fb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,r;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((r=this.popperShowTriggers)==null?void 0:r.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,r)=>(t[r]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,r)=>(t[r]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:r=!1,force:e=!1}={}){var n,i;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(e||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,r),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:r=!1}={}){var e;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:r}),this.parentPopper.lockedChild=null)},1e3));return}((e=this.parentPopper)==null?void 0:e.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,r),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(kie({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(Sie({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(xie({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(Tie({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(_ie({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:i,middlewareData:o})=>{let a;const{centerOffset:s}=o.arrow;return n.startsWith("top")||n.startsWith("bottom")?a=Math.abs(s)>i.reference.width/2:a=Math.abs(s)>i.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:o,middlewareData:a})=>{var s;if((s=a.autoSize)!=null&&s.skip)return{};let l,g;return o.startsWith("top")||o.startsWith("bottom")?l=i.reference.width:g=i.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=g!=null?`${g}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(Pie({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:i})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const e=await Mie(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:e.x,y:e.y,placement:e.placement,strategy:e.strategy,arrow:{...e.middlewareData.arrow,...e.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,r=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Pl&&this.instantMove&&Pl.instantMove&&Pl!==this.parentPopper){Pl.$_applyHide(!0),this.$_applyShow(!0);return}r?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Pl=this),r?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const r=this.delay;return parseInt(r&&r[t]||r||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Bb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...sp(this.$_referenceNode),...sp(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const r=this.$_referenceNode.getBoundingClientRect(),e=this.$_popperNode.querySelector(".v-popper__wrapper"),n=e.parentNode.getBoundingClientRect(),i=r.x+r.width/2-(n.left+e.offsetLeft),o=r.y+r.height/2-(n.top+e.offsetTop);this.result.transformOrigin=`${i}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let r;for(let e=0;e<lo.length;e++)r=lo[e],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}lo.push(this),document.body.classList.add("v-popper--some-open");for(const r of oP(this.theme))uP(r).push(this),document.body.classList.add(`v-popper--some-open--${r}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Bb(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,lP(lo,this),lo.length===0&&document.body.classList.remove("v-popper--some-open");for(const e of oP(this.theme)){const n=uP(e);lP(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}Pl===this&&(Pl=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const r=this.disposeTimeout;r!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},r)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Bb(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,aP,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],aP,this.popperTriggers,this.popperShowTriggers,t);const r=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,sP,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],sP,this.popperTriggers,this.popperHideTriggers,r)},$_registerEventListeners(t,r,e){this.$_events.push({targetNodes:t,eventType:r,handler:e}),t.forEach(n=>n.addEventListener(r,e,mg?{passive:!0}:void 0))},$_registerTriggerListeners(t,r,e,n,i){let o=e;n!=null&&(o=typeof n=="function"?n(o):n),o.forEach(a=>{const s=r[a];s&&this.$_registerEventListeners(t,s,i)})},$_removeEventListeners(t){const r=[];this.$_events.forEach(e=>{const{targetNodes:n,eventType:i,handler:o}=e;!t||t===i?n.forEach(a=>a.removeEventListener(i,o)):r.push(e)}),this.$_events=r},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,r=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,r){for(const e of this.$_targetNodes){const n=e.getAttribute(t);n&&(e.removeAttribute(t),e.setAttribute(r,n))}},$_applyAttrsToTarget(t){for(const r of this.$_targetNodes)for(const e in t){const n=t[e];n==null?r.removeAttribute(e):r.setAttribute(e,n)}},$_updateParentShownChildren(t){let r=this.parentPopper;for(;r;)t?r.shownChildren.add(this.randomId):(r.shownChildren.delete(this.randomId),r.$_pendingHide&&r.hide()),r=r.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Oh>=t.left&&Oh<=t.right&&kh>=t.top&&kh<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),e=Oh-os,n=kh-as,i=r.left+r.width/2-os+(r.top+r.height/2)-as+r.width+r.height,o=os+e*i,a=as+n*i;return RC(os,as,o,a,r.left,r.top,r.left,r.bottom)||RC(os,as,o,a,r.left,r.top,r.right,r.top)||RC(os,as,o,a,r.right,r.top,r.right,r.bottom)||RC(os,as,o,a,r.left,r.bottom,r.right,r.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(S8?(document.addEventListener("touchstart",cP,mg?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Lie,mg?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",cP,!0),window.addEventListener("click",Fie,!0)),window.addEventListener("resize",Vie));function cP(t){for(let r=0;r<lo.length;r++){const e=lo[r];try{const n=e.popperNode();e.$_mouseDownContains=n.contains(t.target)}catch{}}}function Fie(t){k8(t)}function Lie(t){k8(t,!0)}function k8(t,r=!1){const e={};for(let n=lo.length-1;n>=0;n--){const i=lo[n];try{const o=i.$_containsGlobalTarget=zie(i,t);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!e[i.randomId]&&dP(i,o,t)){if(i.$_handleGlobalClose(t,r),!t.closeAllPopover&&t.closePopover&&o){let s=i.parentPopper;for(;s;)e[s.randomId]=!0,s=s.parentPopper;return}let a=i.parentPopper;for(;a&&dP(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,r),a=a.parentPopper}})}catch{}}}function zie(t,r){const e=t.popperNode();return t.$_mouseDownContains||e.contains(r.target)}function dP(t,r,e){return e.closeAllPopover||e.closePopover&&r||jie(t,e)&&!r}function jie(t,r){if(typeof t.autoHide=="function"){const e=t.autoHide(r);return t.lastAutoHide=e,e}return t.autoHide}function Vie(t){for(let r=0;r<lo.length;r++)lo[r].$_computePosition(t)}let os=0,as=0,Oh=0,kh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{os=Oh,as=kh,Oh=t.clientX,kh=t.clientY},mg?{passive:!0}:void 0);function RC(t,r,e,n,i,o,a,s){const l=((a-i)*(r-o)-(s-o)*(t-i))/((s-o)*(e-t)-(a-i)*(n-r)),g=((e-t)*(r-o)-(n-r)*(t-i))/((s-o)*(e-t)-(a-i)*(n-r));return l>=0&&l<=1&&g>=0&&g<=1}const Gie={extends:O8()},Pm=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e};function Wie(t,r,e,n,i,o){return O(),F("div",{ref:"reference",class:_e(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Xe(t.$slots,"default",jA(od(t.slotData)))],2)}const Hie=Pm(Gie,[["render",Wie]]);function Uie(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var e=t.indexOf("Trident/");if(e>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let sv;function o_(){o_.init||(o_.init=!0,sv=Uie()!==-1)}var Rm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){o_(),wn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",sv&&this.$el.appendChild(t),t.data="about:blank",sv||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!sv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Zie=rj();fm("data-v-b329ee4c");const Kie={class:"resize-observer",tabindex:"-1"};Cm();const Yie=Zie((t,r,e,n,i,o)=>(O(),ne("div",Kie)));Rm.render=Yie;Rm.__scopeId="data-v-b329ee4c";Rm.__file="src/components/ResizeObserver.vue";const x8=(t="theme")=>({computed:{themeClass(){return Bie(this[t])}}}),Xie=$e({name:"VPopperContent",components:{ResizeObserver:Rm},mixins:[x8()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),Qie=["id","aria-hidden","tabindex","data-popper-placement"],qie={ref:"inner",class:"v-popper__inner"},Jie=w("div",{class:"v-popper__arrow-outer"},null,-1),eoe=w("div",{class:"v-popper__arrow-inner"},null,-1),toe=[Jie,eoe];function roe(t,r,e,n,i,o){const a=bi("ResizeObserver");return O(),F("div",{id:t.popperId,ref:"popover",class:_e(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:_r(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:r[2]||(r[2]=xj(s=>t.autoHide&&t.$emit("hide"),["esc"]))},[w("div",{class:"v-popper__backdrop",onClick:r[0]||(r[0]=s=>t.autoHide&&t.$emit("hide"))}),w("div",{class:"v-popper__wrapper",style:_r(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[w("div",qie,[t.mounted?(O(),F(ye,{key:0},[w("div",null,[Xe(t.$slots,"default")]),t.handleResize?(O(),ne(a,{key:0,onNotify:r[1]||(r[1]=s=>t.$emit("resize",s))})):be("",!0)],64)):be("",!0)],512),w("div",{ref:"arrow",class:"v-popper__arrow-container",style:_r(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},toe,4)],4)],46,Qie)}const P8=Pm(Xie,[["render",roe]]),R8={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},noe=$e({name:"VPopperWrapper",components:{Popper:Hie,PopperContent:P8},mixins:[R8,x8("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function ioe(t,r,e,n,i,o){const a=bi("PopperContent"),s=bi("Popper");return O(),ne(s,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:_e([t.themeClass])},{default:G(({popperId:l,isShown:g,shouldMountContent:u,skipTransition:c,autoHide:d,show:h,hide:A,handleResize:f,onResize:C,classes:I,result:v})=>[Xe(t.$slots,"default",{shown:g,show:h,hide:A}),z(a,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:g,mounted:u,"skip-transition":c,"auto-hide":d,"handle-resize":f,classes:I,result:v,onHide:A,onResize:C},{default:G(()=>[Xe(t.$slots,"popper",{shown:g,hide:A})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const p2=Pm(noe,[["render",ioe]]),ooe={...p2,name:"VDropdown",vPopperTheme:"dropdown"};({...p2});const aoe={...p2,name:"VTooltip",vPopperTheme:"tooltip"},soe=$e({name:"VTooltipDirective",components:{Popper:O8(),PopperContent:P8},mixins:[R8],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>sA(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>sA(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const r=++this.$_fetchId,e=this.content(this);e.then?e.then(n=>this.onResult(r,n)):this.onResult(r,e)}},onResult(t,r){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=r)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),loe=["innerHTML"],goe=["textContent"];function uoe(t,r,e,n,i,o){const a=bi("PopperContent"),s=bi("Popper");return O(),ne(s,yn({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:G(({popperId:l,isShown:g,shouldMountContent:u,skipTransition:c,autoHide:d,hide:h,handleResize:A,onResize:f,classes:C,result:I})=>[z(a,{ref:"popperContent",class:_e({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:g,mounted:u,"skip-transition":c,"auto-hide":d,"handle-resize":A,classes:C,result:I,onHide:h,onResize:f},{default:G(()=>[t.html?(O(),F("div",{key:0,innerHTML:t.finalContent},null,8,loe)):(O(),F("div",{key:1,textContent:we(t.finalContent)},null,8,goe))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const coe=Pm(soe,[["render",uoe]]),D8="v-popper--has-tooltip";function doe(t,r){let e=t.placement;if(!e&&r)for(const n of T8)r[n]&&(e=n);return e||(e=sA(t.theme||"tooltip","placement")),e}function N8(t,r,e){let n;const i=typeof r;return i==="string"?n={content:r}:r&&i==="object"?n=r:n={content:!1},n.placement=doe(n,e),n.targetNodes=()=>[t],n.referenceNode=()=>t,n}let Lb,lA,hoe=0;function Aoe(){if(Lb)return;lA=U([]),Lb=a2({name:"VTooltipDirectiveApp",setup(){return{directives:lA}},render(){return this.directives.map(r=>ad(coe,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Lb.mount(t)}function foe(t,r,e){Aoe();const n=U(N8(t,r,e)),i=U(!1),o={id:hoe++,options:n,shown:i};return lA.value.push(o),t.classList&&t.classList.add(D8),t.$_popper={options:n,item:o,show(){i.value=!0},hide(){i.value=!1}}}function M8(t){if(t.$_popper){const r=lA.value.indexOf(t.$_popper.item);r!==-1&&lA.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(D8)}function hP(t,{value:r,modifiers:e}){const n=N8(t,r,e);if(!n.content||sA(n.theme||"tooltip","disabled"))M8(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=n):i=foe(t,r,e),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?i.show():i.hide())}}const Coe={beforeMount:hP,updated:hP,beforeUnmount(t){M8(t)}};function AP(t){t.addEventListener("click",B8),t.addEventListener("touchstart",F8,mg?{passive:!0}:!1)}function fP(t){t.removeEventListener("click",B8),t.removeEventListener("touchstart",F8),t.removeEventListener("touchend",L8),t.removeEventListener("touchcancel",z8)}function B8(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function F8(t){if(t.changedTouches.length===1){const r=t.currentTarget;r.$_vclosepopover_touch=!0;const e=t.changedTouches[0];r.$_vclosepopover_touchPoint=e,r.addEventListener("touchend",L8),r.addEventListener("touchcancel",z8)}}function L8(t){const r=t.currentTarget;if(r.$_vclosepopover_touch=!1,t.changedTouches.length===1){const e=t.changedTouches[0],n=r.$_vclosepopover_touchPoint;t.closePopover=Math.abs(e.screenY-n.screenY)<20&&Math.abs(e.screenX-n.screenX)<20,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}}function z8(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const Ioe={beforeMount(t,{value:r,modifiers:e}){t.$_closePopoverModifiers=e,(typeof r>"u"||r)&&AP(t)},updated(t,{value:r,oldValue:e,modifiers:n}){t.$_closePopoverModifiers=n,r!==e&&(typeof r>"u"||r?AP(t):fP(t))},beforeUnmount(t){fP(t)}},Ho=Coe,j8=Ioe,voe=ooe,poe=aoe,m2=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},moe={},yoe={class:"h-3 w-3 $ui-inline-fcc"},boe=w("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[w("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),w("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),$oe=[boe];function woe(t,r){return O(),F("div",yoe,$oe)}const V8=m2(moe,[["render",woe]]),_oe={key:2},ot=$e({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:r}){const e=t,n=r,i=MJ(),o=X(()=>i.to?"router-link":i.href?"a":"button"),a=X(()=>e.loading||e.disabled);function s(c){if(a.value){c.preventDefault(),c.stopPropagation(),c.stopImmediatePropagation();return}n("click",c)}const l={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},g=dj(),u=X(()=>e.flat?l.flat[e.type]:e.outlined?l.outlined[e.type]:l.normal[e.type]);return(c,d)=>(O(),ne(Xs(o.value),yn(c.$attrs,{role:"button","aria-disabled":a.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[l.common[e.type]],{"rounded-full":e.round==="full","$ui-base-br":e.round==="normal","opacity-50 cursor-not-allowed":a.value,"bg-transparent":e.flat||e.outlined},[c.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",c.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",u.value]]],onClickCapture:s}),{default:G(()=>[c.loading?(O(),ne(V8,{key:0,class:"mt0.5 h-full w3"})):Xe(c.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),y(g).default?(O(),F("div",_oe,[Xe(c.$slots,"default")])):be("",!0),Xe(c.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),Eoe={},Soe={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function Toe(t,r){return O(),F("span",Soe,[Xe(t.$slots,"default")])}const CP=m2(Eoe,[["render",Toe]]),Pt=$e({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(r,e)=>(O(),ne(Xs(r.inline?"span":"div"),{class:_e(["$ui-base",[r.icon,r.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function Dm(t){return P4()?(R4(t),!0):!1}function Ooe(t,r,{enumerable:e=!1,unwrap:n=!0}={}){for(const[i,o]of Object.entries(r))i!=="value"&&(ze(o)&&n?Object.defineProperty(t,i,{get(){return o.value},set(a){o.value=a},enumerable:e}):Object.defineProperty(t,i,{value:o,enumerable:e}));return t}function Gi(t){return typeof t=="function"?t():y(t)}const G8=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const koe=t=>typeof t<"u",xoe=Object.prototype.toString,Poe=t=>xoe.call(t)==="[object Object]",lp=()=>{},IP=Roe();function Roe(){var t,r;return G8&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((r=window?.navigator)==null?void 0:r.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function W8(t,r){function e(...n){return new Promise((i,o)=>{Promise.resolve(t(()=>r.apply(this,n),{fn:r,thisArg:this,args:n})).then(i).catch(o)})}return e}const H8=t=>t();function Doe(t,r={}){let e,n,i=lp;const o=a=>{clearTimeout(a),i(),i=lp};return a=>{const s=Gi(t),l=Gi(r.maxWait);return e&&o(e),s<=0||l!==void 0&&l<=0?(n&&(o(n),n=null),Promise.resolve(a())):new Promise((g,u)=>{i=r.rejectOnCancel?u:g,l&&!n&&(n=setTimeout(()=>{e&&o(e),n=null,g(a())},l)),e=setTimeout(()=>{n&&o(n),n=null,g(a())},s)})}}function Noe(t=H8){const r=U(!0);function e(){r.value=!1}function n(){r.value=!0}const i=(...o)=>{r.value&&t(...o)};return{isActive:Va(r),pause:e,resume:n,eventFilter:i}}function Moe(t){return t||sl()}function U8(...t){if(t.length!==1)return Y4(...t);const r=t[0];return typeof r=="function"?Va(XS(()=>({get:r,set:lp}))):U(r)}function Boe(t,r=200,e={}){return W8(Doe(r,e),t)}function Foe(t,r=200,e={}){const n=U(t.value),i=Boe(()=>{n.value=t.value},r,e);return rt(t,()=>i()),n}function Loe(t,r={}){let e=t,n,i;const o=XS((l,g)=>(n=l,i=g,{get(){return a()},set(u){s(u)}}));function a(l=!0){return l&&n(),e}function s(l,g=!0){var u,c;if(l===e)return;const d=e;((u=r.onBeforeChange)==null?void 0:u.call(r,l,d))!==!1&&(e=l,(c=r.onChanged)==null||c.call(r,l,d),g&&i())}return Ooe(o,{get:a,set:s,untrackedGet:()=>a(!1),silentSet:l=>s(l,!1),peek:()=>a(!1),lay:l=>s(l,!1)},{enumerable:!0})}function zoe(t,r,e={}){const{eventFilter:n=H8,...i}=e;return rt(t,W8(n,r),i)}function joe(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=Noe(n);return{stop:zoe(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function y2(t,r=!0,e){Moe()?wi(t,e):r?t():wn(t)}function Voe(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=ze(t),o=U(t);function a(s){if(arguments.length)return o.value=s,o.value;{const l=Gi(e);return o.value=o.value===l?Gi(n):l,o.value}}return i?a:[o,a]}function $s(t){var r;const e=Gi(t);return(r=e?.$el)!=null?r:e}const el=G8?window:void 0;function gp(...t){let r,e,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,n,i]=t,r=el):[r,e,n,i]=t,!r)return lp;Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]);const o=[],a=()=>{o.forEach(u=>u()),o.length=0},s=(u,c,d,h)=>(u.addEventListener(c,d,h),()=>u.removeEventListener(c,d,h)),l=rt(()=>[$s(r),Gi(i)],([u,c])=>{if(a(),!u)return;const d=Poe(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return Dm(g),g}function Goe(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function Z8(...t){let r,e,n={};t.length===3?(r=t[0],e=t[1],n=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,e=t[0],n=t[1]):(r=t[0],e=t[1]):(r=!0,e=t[0]);const{target:i=el,eventName:o="keydown",passive:a=!1,dedupe:s=!1}=n,l=Goe(r);return gp(i,o,g=>{g.repeat&&Gi(s)||l(g)&&e(g)},a)}function Woe(){const t=U(!1);return sl()&&wi(()=>{t.value=!0}),t}function K8(t){const r=Woe();return X(()=>(r.value,!!t()))}function Hoe(t,r={}){const{window:e=el}=r,n=K8(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=U(!1),a=g=>{o.value=g.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},l=Nn(()=>{n.value&&(s(),i=e.matchMedia(Gi(t)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return Dm(()=>{l(),s(),i=void 0}),o}function Uoe(t){return JSON.parse(JSON.stringify(t))}const DC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},NC="__vueuse_ssr_handlers__",Zoe=Koe();function Koe(){return NC in DC||(DC[NC]=DC[NC]||{}),DC[NC]}function Y8(t,r){return Zoe[t]||r}function Yoe(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Xoe={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},vP="vueuse-storage";function Qoe(t,r,e,n={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:g=!1,shallow:u,window:c=el,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?na:U)(typeof r=="function"?r():r);if(!e)try{e=Y8("getDefaultStorage",()=>{var _;return(_=el)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=Gi(r),I=Yoe(C),v=(i=n.serializer)!=null?i:Xoe[I],{pause:p,resume:m}=joe(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&y2(()=>{gp(c,"storage",k),gp(c,vP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const T=v.write(_),P=e.getItem(t);P!==T&&(e.setItem(t,T),c&&c.dispatchEvent(new CustomEvent(vP,{detail:{key:t,oldValue:P,newValue:T,storageArea:e}})))}}catch(T){h(T)}}function S(_){const T=_?_.newValue:e.getItem(t);if(T==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(T);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof T!="string"?T:v.read(T)}function N(_){k(_.detail)}function k(_){if(!(_&&_.storageArea!==e)){if(_&&_.key==null){f.value=C;return}if(!(_&&_.key!==t)){p();try{_?.newValue!==v.write(f.value)&&(f.value=S(_))}catch(T){h(T)}finally{_?wn(m):m()}}}}}function qoe(t){return Hoe("(prefers-color-scheme: dark)",t)}function Joe(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=el,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:g,disableTransition:u=!0}=t,c={auto:"",light:"light",dark:"dark",...t.modes||{}},d=qoe({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?U8(n):Qoe(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=Y8("updateHTMLAttrs",(m,b,S)=>{const N=typeof m=="string"?i?.document.querySelector(m):$s(m);if(!N)return;let k;if(u){k=i.document.createElement("style");const _="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(_)),i.document.head.appendChild(k)}if(b==="class"){const _=S.split(/\s/g);Object.values(c).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{_.includes(T)?N.classList.add(T):N.classList.remove(T)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(m){var b;C(r,e,(b=c[m])!=null?b:m)}function v(m){t.onChanged?t.onChanged(m,I):I(m)}rt(f,v,{flush:"post",immediate:!0}),y2(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(m){A.value=m}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function eae(t,r,e={}){const{window:n=el,...i}=e;let o;const a=K8(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>$s(c)):[$s(t)]),g=rt(l,c=>{if(s(),a.value&&n){o=new ResizeObserver(r);for(const d of c)d&&o.observe(d,i)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{s(),g()};return Dm(u),{isSupported:a,stop:u}}function tae(t,r={width:0,height:0},e={}){const{window:n=el,box:i="content-box"}=e,o=X(()=>{var c,d;return(d=(c=$s(t))==null?void 0:c.namespaceURI)==null?void 0:d.includes("svg")}),a=U(r.width),s=U(r.height),{stop:l}=eae(t,([c])=>{const d=i==="border-box"?c.borderBoxSize:i==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(n&&o.value){const h=$s(t);if(h){const A=n.getComputedStyle(h);a.value=Number.parseFloat(A.width),s.value=Number.parseFloat(A.height)}}else if(d){const h=Array.isArray(d)?d:[d];a.value=h.reduce((A,{inlineSize:f})=>A+f,0),s.value=h.reduce((A,{blockSize:f})=>A+f,0)}else a.value=c.contentRect.width,s.value=c.contentRect.height},e);y2(()=>{const c=$s(t);c&&(a.value="offsetWidth"in c?c.offsetWidth:r.width,s.value="offsetHeight"in c?c.offsetHeight:r.height)});const g=rt(()=>$s(t),c=>{a.value=c?r.width:0,s.value=c?r.height:0});function u(){l(),g()}return{width:a,height:s,stop:u}}function zb(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function X8(t){const r=window.getComputedStyle(t);if(r.overflowX==="scroll"||r.overflowY==="scroll"||r.overflowX==="auto"&&t.clientWidth<t.scrollWidth||r.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const e=t.parentNode;return!e||e.tagName==="BODY"?!1:X8(e)}}function rae(t){const r=t||window.event,e=r.target;return X8(e)?!1:r.touches.length>1?!0:(r.preventDefault&&r.preventDefault(),!1)}const MC=new WeakMap;function nae(t,r=!1){const e=U(r);let n=null,i;rt(U8(t),s=>{const l=zb(Gi(s));if(l){const g=l;MC.get(g)||MC.set(g,i),e.value&&(g.style.overflow="hidden")}},{immediate:!0});const o=()=>{const s=zb(Gi(t));!s||e.value||(IP&&(n=gp(s,"touchmove",l=>{rae(l)},{passive:!1})),s.style.overflow="hidden",e.value=!0)},a=()=>{var s;const l=zb(Gi(t));!l||!e.value||(IP&&n?.(),l.style.overflow=(s=MC.get(l))!=null?s:"",MC.delete(l),e.value=!1)};return Dm(a),X({get(){return e.value},set(s){s?o():a()}})}function Vg(t,r,e,n={}){var i,o,a;const{clone:s=!1,passive:l=!1,eventName:g,deep:u=!1,defaultValue:c,shouldEmit:d}=n,h=sl(),A=e||h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((a=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(h?.proxy));let f=g;r||(r="modelValue"),f=f||`update:${r.toString()}`;const C=p=>s?typeof s=="function"?s(p):Uoe(p):p,I=()=>koe(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),m=U(p);let b=!1;return rt(()=>t[r],S=>{b||(b=!0,m.value=C(S),wn(()=>b=!1))}),rt(m,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),m}else return X({get(){return I()},set(p){v(p)}})}const iae={class:"$ui-dark-toggle-vtr"},Q8=$e({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const r=t,e=Vg(r,"isDark"),n=Joe({initialValue:e.value?"dark":"light",onChanged:s=>{e.value=s==="dark"}}),i=X({get:()=>n.value==="dark",set:s=>n.value=s?"dark":"light"}),o=document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function a(s){if(!o||!s||!r.animation){i.value=!i.value;return}const l=s.clientX,g=s.clientY,u=Math.hypot(Math.max(l,innerWidth-l),Math.max(g,innerHeight-g));document.startViewTransition(async()=>{i.value=!i.value,await wn()}).ready.then(()=>{const c=[`circle(0px at ${l}px ${g}px)`,`circle(${u}px at ${l}px ${g}px)`];document.documentElement.animate({clipPath:i.value?[...c].reverse():c},{duration:r.animationDuration,easing:"ease-in",pseudoElement:i.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(s,l)=>(O(),F("span",iae,[Xe(s.$slots,"default",jA(od({mode:y(n),isDark:i.value,toggle:a})))]))}}),oae={},aae={class:"$ui-base border $ui-border-base rounded shadow-sm"};function sae(t,r){return O(),F("div",aae,[Xe(t.$slots,"default")])}const lv=m2(oae,[["render",sae]]),b2=$e({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean}},setup(t){return(r,e)=>(O(),F("div",{class:_e(["fixed left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[r.dim?"bg-opacity-50!":"bg-opacity-0!",r.blur?"backdrop-blur-sm":""]])},[Xe(r.$slots,"default")],2))}}),lae={class:"h7.5 w-full $ui-fbc"},gae={class:"text-4.5"},uae=w("div",{class:"i-carbon-close"},null,-1),cae=[uae],dae={class:"content transition-all transition-duration-300"},hae={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},Aae={class:"$ui-fcc"},fae=$e({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean}},emits:["close","update:modelValue"],setup(t,{emit:r}){const e=t,n=Vg(e,"modelValue",r,{passive:!0}),i=nae(()=>window.document.documentElement);Nn(()=>{n.value?i.value=!0:i.value=!1});function o(){n.value&&e.autoClose&&(n.value=!1)}Z8("Escape",()=>{o()});const a=U(!1);return wi(()=>a.value=!0),(s,l)=>a.value||s.mountTo==="body"?(O(),ne(bj,{key:0,to:s.mountTo},[z(UA,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:G(()=>[y(n)?(O(),ne(b2,{key:0,dim:s.dim,blur:s.blur},{default:G(()=>[w("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:_r({width:e.width,height:e.height})},[w("div",lae,[w("div",gae,[Xe(s.$slots,"title",{},()=>[ke(we(e.title),1)])]),s.closable?(O(),F("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:o},cae)):be("",!0)]),w("div",dae,[Xe(s.$slots,"default")]),w("div",hae,[Xe(s.$slots,"footer",{},()=>[Xe(s.$slots,"footer",{},()=>[w("div",Aae,[z(ot,{type:"primary",onClick:o},{default:G(()=>[ke(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur"])):be("",!0)]),_:3})],8,["to"])):be("",!0)}}),Cae=["type","placeholder","disabled"],Iae={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},jb="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Da=$e({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},password:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1}},emits:["update:modelValue","updateFocused","keyTab"],setup(t,{emit:r}){const e=t,n=r,i=Vg(e,"modelValue",n),o=Foe(X(()=>e.loading),e.loadingDebounceTime),a=Loe(!1,{onChanged(c){n("updateFocused",c)}}),s=X(()=>e.variant==="flat"||e.variant==="warning"||e.disabled||e.readonly),l=X(()=>e.disabled||o.value),g=U();let u=!1;return Nn(()=>{o.value&&a.value?u=!0:!o.value&&u&&(u=!1,wn(()=>{a.value=!0}))}),wi(()=>{e.autoFocus&&(a.value=!0)}),Nn(()=>{var c;a.value&&((c=g.value)==null||c.focus())}),(c,d)=>(O(),F("div",{class:_e(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":c.variant==="flat","cursor-not-allowed opacity-50":l.value,accent:c.variant==="accent",focused:y(a)},[c.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:d[2]||(d[2]=()=>{a.value=!0})},[c.leftIcon?(O(),F("div",{key:0,class:_e(jb)},[z(Pt,{icon:c.leftIcon},null,8,["icon"])])):be("",!0),rn(w("input",{ref_key:"inputRef",ref:g,"onUpdate:modelValue":d[0]||(d[0]=h=>ze(i)?i.value=h:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:e.password?"password":"text",placeholder:c.placeholder,disabled:l.value||c.readonly,onBlur:d[1]||(d[1]=h=>a.value=!1)},null,40,Cae),[[Vee,y(i)]]),y(o)?(O(),F("div",{key:1,class:_e(jb)},[z(V8)])):c.rightIcon?(O(),F("div",{key:2,class:_e(jb)},[z(Pt,{icon:c.rightIcon},null,8,["icon"])])):be("",!0),s.value?be("",!0):(O(),F("div",Iae))],2))}}),vae={class:"overflow-hidden rounded-lg shadow-lg"},pae=w("div",{class:"p2 opacity-40"}," Empty... ",-1),kc=$e({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(t){const r=t;return pa("$ui-dropdown-disabled",X(()=>r.disabled)),(e,n)=>(O(),ne(y(voe),{disabled:e.disabled,class:"inline-block w-auto",shown:e.shown,triggers:[e.trigger],distance:e.distance+6,placement:e.placement,skidding:e.skidding,"onUpdate:shown":n[0]||(n[0]=i=>e.$emit("update:visible",i)),onClick:n[1]||(n[1]=i=>{i.stopPropagation()})},{popper:G(({hide:i})=>[w("div",vae,[Xe(e.$slots,"popper",jA(od({hide:i})),()=>[pae])])]),default:G(()=>[Xe(e.$slots,"default",{},()=>[z(ot,yn({...e.buttonProps,disabled:e.disabled},{class:e.buttonClass}),uj({icon:G(()=>[Xe(e.$slots,"button-icon")]),"icon-right":G(()=>[Xe(e.$slots,"button-icon-right")]),_:2},[e.label?{name:"default",fn:G(()=>[ke(we(e.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),pP=$e({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(t){const r=t,e=Er("$ui-dropdown-disabled",void 0);return(n,i)=>rn((O(),ne(ot,yn({...r,round:!1},{disabled:y(e),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:G(()=>[Xe(n.$slots,"icon")]),default:G(()=>[Xe(n.$slots,"default")]),_:3},16,["disabled"])),[[y(j8)]])}}),mae={class:"$ui-fec gap2.5"},yae=$e({__name:"Confirm",props:{modelValue:{type:Boolean},content:{},cancelText:{default:"Cancel"},confirmText:{default:"Confirm"},width:{default:"20%"},height:{default:"9rem"},title:{default:"Warning"},loading:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0}},emits:["update:modelValue","confirm","cancel","close"],setup(t,{emit:r}){const e=t,n=r,i=Vg(e,"modelValue",n);Nn(()=>{i.value||n("close")});function o(a=!1){(e.autoClose||a)&&(i.value=!1)}return(a,s)=>(O(),ne(fae,{modelValue:y(i),"onUpdate:modelValue":s[2]||(s[2]=l=>ze(i)?i.value=l:null),width:a.width,height:a.height,title:a.title,closable:!1},{footer:G(()=>[w("div",mae,[z(ot,{onClick:s[0]||(s[0]=()=>{n("cancel"),o(!0)})},{default:G(()=>[ke(we(a.cancelText),1)]),_:1}),z(ot,{loading:a.loading,type:"primary",onClick:s[1]||(s[1]=()=>{n("confirm"),o()})},{default:G(()=>[ke(we(a.confirmText),1)]),_:1},8,["loading"])])]),default:G(()=>[Xe(a.$slots,"default",{class:"h-auto w-auto"},()=>[ke(we(a.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),bae={class:"m1 min-w-35 w-auto flex flex-col"},$ae=["onClick"],wae=w("div",{class:"i-mdi-chevron-down"},null,-1),up=$e({__name:"Select",props:{modelValue:{},multiple:{default:!1},options:{},placeholder:{default:"Select..."},autoClose:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},labelRenderer:{type:Function,default:t=>String(t)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:r}){const e=t,n=r,i=dj(),o=X({get:()=>e.modelValue,set:l=>n("update:modelValue",l)}),a=X(()=>{const l=e.options.find(g=>g.value===o.value);return l!=null&&l.label?e.labelRenderer(l.label):e.placeholder});function s(l){e.multiple?o.value=o.value.includes(l.value)?o.value.filter(g=>g!==l.value):[...o.value,l.value]:o.value=l.value}return(l,g)=>(O(),ne(kc,yn({label:a.value},{buttonProps:l.buttonProps,disabled:l.disabled}),uj({popper:G(()=>[w("div",bae,[y(i).item?(O(!0),F(ye,{key:0},vt(l.options,u=>(O(),F("div",{key:u.value,class:"cursor-pointer",onClick:c=>s(u)},[Xe(l.$slots,"item",jA(od({item:u,active:l.multiple?o.value.includes(u.value):u.value===o.value,disabled:l.disabled})))],8,$ae))),128)):(O(!0),F(ye,{key:1},vt(l.options,u=>rn((O(),ne(ot,{key:u.value,disabled:l.disabled,round:"normal",class:_e(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:l.multiple?o.value.includes(u.value):u.value===o.value}]),onClick:c=>s(u)},{default:G(()=>[ke(we(u.label),1)]),_:2},1032,["disabled","class","onClick"])),[[y(j8),l.autoClose]])),128))])]),"button-icon-right":G(()=>[wae]),_:2},[y(i).button?{name:"default",fn:G(()=>[Xe(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),mP=$e({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Vg(t,"modelValue",r),n=Voe(e);return(i,o)=>(O(),F("div",{class:_e([[i.disabled?"cursor-not-allowed":"cursor-pointer"],"$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),role:"checkbox",onClick:o[0]||(o[0]=a=>!i.disabled&&y(n)())},[Xe(i.$slots,"default"),w("div",{class:_e([{selected:y(e)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[w("div",{class:_e(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white",[{"group-hover:opacity-75 group-active:scale-85":!i.disabled},{"opacity-65":i.disabled}]])},null,2)],2)],2))}}),Fu=$e({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Vg(t,"modelValue",r);return(n,i)=>(O(),F("div",{class:_e(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[y(e)?n.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:i[0]||(i[0]=o=>e.value=!y(e))},[w("div",{class:_e([[y(e)?"opacity-100":"opacity-0"],"h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])},null,2)],2))}}),q8=$e({__name:"Drawer",props:{modelValue:{type:Boolean},mountTo:{default:"body"},placement:{default:"right"},closeOutside:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},contentClass:{},permanent:{type:Boolean,default:!1},contentBlur:{type:Boolean,default:!1},top:{},dim:{type:Boolean},blur:{type:Boolean}},emits:["update:modelValue","close"],setup(t,{emit:r}){const e=t,n=r,{height:i}=tae(()=>typeof e.top=="string"?document.querySelector(e.top):e.top,void 0,{box:"border-box"}),o=Vg(e,"modelValue",n),a={left:{class:"left-0 h-full b-r",transition:"[&_.drawer]:translate-x--100%"},right:{class:"right-0 h-full b-l",transition:"[&_.drawer]:translate-x-full"},top:{class:"w-full b-b",transition:"[&_.drawer]:translate-y--100%"},bottom:{class:"bottom-0 w-full b-t",transition:"[&_.drawer]:translate-y-100%"}};Z8("Escape",()=>{e.closable&&(o.value=!1)});const s=X(()=>a[e.placement]),l=U(!1);return wi(()=>l.value=!0),(g,u)=>l.value||g.mountTo==="body"?(O(),ne(bj,{key:0,to:g.mountTo},[z(UA,{"enter-from-class":`${s.value.transition}`,"leave-to-class":`${s.value.transition}`},{default:G(()=>[y(o)?(O(),ne(b2,{key:0,class:_e({"pointer-events-none":g.permanent}),dim:g.dim,blur:g.blur,onClick:u[2]||(u[2]=c=>g.closeOutside&&g.closable&&(o.value=!1))},{default:G(()=>[w("div",{class:_e([[s.value.class,g.contentClass??"",g.contentBlur?"$ui-glass-effect":"$ui-bg-base"],"drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),style:_r({top:g.placement==="bottom"?"auto":`${y(i)}px`,height:["top","bottom"].includes(g.placement)?"auto":`calc(100% - ${y(i)}px)`}),onClick:u[1]||(u[1]=$n(()=>{},["stop"]))},[g.closable?(O(),F("div",{key:0,class:"i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",onClick:u[0]||(u[0]=c=>o.value=!1)})):be("",!0),Xe(g.$slots,"default")],6)]),_:3},8,["class","dim","blur"])):be("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):be("",!0)}}),_ae=$e({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(t){const r=t,e={success:"i-carbon-checkmark",info:"i-material-symbols-light-info",warning:"i-carbon-warning",error:"i-carbon-close"},n={success:"text-primary-500 border-primary-200 dark:text-primary-200 dark:border-primary-500",info:"text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",warning:"text-amber-4 border-amber-2 dark:border-amber-4",error:"text-red-4 border-red-2 dark:border-red-4"},i=U(!1);wi(()=>{i.value=!0,setTimeout(()=>{i.value=!1},r.duration)});const o=X(()=>r.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(a,s)=>(O(),F("div",{class:_e(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":a.placement.startsWith("top")},{"bottom-0":a.placement.startsWith("bottom")}]])},[z(UA,{"enter-from-class":o.value,"leave-to-class":o.value,onAfterLeave:s[0]||(s[0]=()=>{var l;i.value||(l=a.onClose)==null||l.call(a)})},{default:G(()=>[i.value?(O(),F("div",{key:0,class:"flex transition-all duration-300",style:_r({justifyContent:a.placement.includes("right")?"right":a.placement.includes("left")?"left":"center"})},[w("div",{class:_e(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base",[a.classes,n[a.type]]])},[w("div",{class:_e(e[a.type])},null,2),w("div",null,we(a.message),1)],2)],4)):be("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}}),Eae=$e({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(r,e)=>(O(),ne(y(poe),yn({disabled:r.disabled,placement:r.placement},r.$attrs),{popper:G(()=>[Xe(r.$slots,"popper")]),default:G(()=>[Xe(r.$slots,"default")]),_:3},16,["disabled","placement"]))}});function a_(t){const r=document.createElement("div");r.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(r);const e=t.onClose;function n(){dx(null,r)}t.onClose=()=>{n(),e?.(),document.body.removeChild(r)};const i=ad(_ae,t);dx(i,r)}function Na(t){return Array.isArray?Array.isArray(t):t6(t)==="[object Array]"}const Sae=1/0;function Tae(t){if(typeof t=="string")return t;let r=t+"";return r=="0"&&1/t==-Sae?"-0":r}function Oae(t){return t==null?"":Tae(t)}function Bo(t){return typeof t=="string"}function J8(t){return typeof t=="number"}function kae(t){return t===!0||t===!1||xae(t)&&t6(t)=="[object Boolean]"}function e6(t){return typeof t=="object"}function xae(t){return e6(t)&&t!==null}function pi(t){return t!=null}function Vb(t){return!t.trim().length}function t6(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Pae="Incorrect 'index' type",Rae=t=>`Invalid value for key ${t}`,Dae=t=>`Pattern length exceeds max of ${t}.`,Nae=t=>`Missing ${t} property in key`,Mae=t=>`Property 'weight' in key '${t}' must be a positive integer`,yP=Object.prototype.hasOwnProperty;class Bae{constructor(r){this._keys=[],this._keyMap={};let e=0;r.forEach(n=>{let i=r6(n);this._keys.push(i),this._keyMap[i.id]=i,e+=i.weight}),this._keys.forEach(n=>{n.weight/=e})}get(r){return this._keyMap[r]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function r6(t){let r=null,e=null,n=null,i=1,o=null;if(Bo(t)||Na(t))n=t,r=bP(t),e=s_(t);else{if(!yP.call(t,"name"))throw new Error(Nae("name"));const a=t.name;if(n=a,yP.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Mae(a));r=bP(a),e=s_(a),o=t.getFn}return{path:r,id:e,weight:i,src:n,getFn:o}}function bP(t){return Na(t)?t:t.split(".")}function s_(t){return Na(t)?t.join("."):t}function Fae(t,r){let e=[],n=!1;const i=(o,a,s)=>{if(pi(o))if(!a[s])e.push(o);else{let l=a[s];const g=o[l];if(!pi(g))return;if(s===a.length-1&&(Bo(g)||J8(g)||kae(g)))e.push(Oae(g));else if(Na(g)){n=!0;for(let u=0,c=g.length;u<c;u+=1)i(g[u],a,s+1)}else a.length&&i(g,a,s+1)}};return i(t,Bo(r)?r.split("."):r,0),n?e:e[0]}const Lae={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},zae={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,r)=>t.score===r.score?t.idx<r.idx?-1:1:t.score<r.score?-1:1},jae={location:0,threshold:.6,distance:100},Vae={useExtendedSearch:!1,getFn:Fae,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Je={...zae,...Lae,...jae,...Vae};const Gae=/[^ ]+/g;function Wae(t=1,r=3){const e=new Map,n=Math.pow(10,r);return{get(i){const o=i.match(Gae).length;if(e.has(o))return e.get(o);const a=1/Math.pow(o,.5*t),s=parseFloat(Math.round(a*n)/n);return e.set(o,s),s},clear(){e.clear()}}}class $2{constructor({getFn:r=Je.getFn,fieldNormWeight:e=Je.fieldNormWeight}={}){this.norm=Wae(e,3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}setSources(r=[]){this.docs=r}setIndexRecords(r=[]){this.records=r}setKeys(r=[]){this.keys=r,this._keysMap={},r.forEach((e,n)=>{this._keysMap[e.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Bo(this.docs[0])?this.docs.forEach((r,e)=>{this._addString(r,e)}):this.docs.forEach((r,e)=>{this._addObject(r,e)}),this.norm.clear())}add(r){const e=this.size();Bo(r)?this._addString(r,e):this._addObject(r,e)}removeAt(r){this.records.splice(r,1);for(let e=r,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(r,e){return r[this._keysMap[e]]}size(){return this.records.length}_addString(r,e){if(!pi(r)||Vb(r))return;let n={v:r,i:e,n:this.norm.get(r)};this.records.push(n)}_addObject(r,e){let n={i:e,$:{}};this.keys.forEach((i,o)=>{let a=i.getFn?i.getFn(r):this.getFn(r,i.path);if(pi(a)){if(Na(a)){let s=[];const l=[{nestedArrIndex:-1,value:a}];for(;l.length;){const{nestedArrIndex:g,value:u}=l.pop();if(pi(u))if(Bo(u)&&!Vb(u)){let c={v:u,i:g,n:this.norm.get(u)};s.push(c)}else Na(u)&&u.forEach((c,d)=>{l.push({nestedArrIndex:d,value:c})})}n.$[o]=s}else if(Bo(a)&&!Vb(a)){let s={v:a,n:this.norm.get(a)};n.$[o]=s}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function n6(t,r,{getFn:e=Je.getFn,fieldNormWeight:n=Je.fieldNormWeight}={}){const i=new $2({getFn:e,fieldNormWeight:n});return i.setKeys(t.map(r6)),i.setSources(r),i.create(),i}function Hae(t,{getFn:r=Je.getFn,fieldNormWeight:e=Je.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new $2({getFn:r,fieldNormWeight:e});return o.setKeys(n),o.setIndexRecords(i),o}function BC(t,{errors:r=0,currentLocation:e=0,expectedLocation:n=0,distance:i=Je.distance,ignoreLocation:o=Je.ignoreLocation}={}){const a=r/t.length;if(o)return a;const s=Math.abs(n-e);return i?a+s/i:s?1:a}function Uae(t=[],r=Je.minMatchCharLength){let e=[],n=-1,i=-1,o=0;for(let a=t.length;o<a;o+=1){let s=t[o];s&&n===-1?n=o:!s&&n!==-1&&(i=o-1,i-n+1>=r&&e.push([n,i]),n=-1)}return t[o-1]&&o-n>=r&&e.push([n,o-1]),e}const Vl=32;function Zae(t,r,e,{location:n=Je.location,distance:i=Je.distance,threshold:o=Je.threshold,findAllMatches:a=Je.findAllMatches,minMatchCharLength:s=Je.minMatchCharLength,includeMatches:l=Je.includeMatches,ignoreLocation:g=Je.ignoreLocation}={}){if(r.length>Vl)throw new Error(Dae(Vl));const u=r.length,c=t.length,d=Math.max(0,Math.min(n,c));let h=o,A=d;const f=s>1||l,C=f?Array(c):[];let I;for(;(I=t.indexOf(r,A))>-1;){let N=BC(r,{currentLocation:I,expectedLocation:d,distance:i,ignoreLocation:g});if(h=Math.min(N,h),A=I+u,f){let k=0;for(;k<u;)C[I+k]=1,k+=1}}A=-1;let v=[],p=1,m=u+c;const b=1<<u-1;for(let N=0;N<u;N+=1){let k=0,_=m;for(;k<_;)BC(r,{errors:N,currentLocation:d+_,expectedLocation:d,distance:i,ignoreLocation:g})<=h?k=_:m=_,_=Math.floor((m-k)/2+k);m=_;let T=Math.max(1,d-_+1),P=a?c:Math.min(d+_,c)+u,R=Array(P+2);R[P+1]=(1<<N)-1;for(let te=P;te>=T;te-=1){let W=te-1,V=e[t.charAt(W)];if(f&&(C[W]=+!!V),R[te]=(R[te+1]<<1|1)&V,N&&(R[te]|=(v[te+1]|v[te])<<1|1|v[te+1]),R[te]&b&&(p=BC(r,{errors:N,currentLocation:W,expectedLocation:d,distance:i,ignoreLocation:g}),p<=h)){if(h=p,A=W,A<=d)break;T=Math.max(1,2*d-A)}}if(BC(r,{errors:N+1,currentLocation:d,expectedLocation:d,distance:i,ignoreLocation:g})>h)break;v=R}const S={isMatch:A>=0,score:Math.max(.001,p)};if(f){const N=Uae(C,s);N.length?l&&(S.indices=N):S.isMatch=!1}return S}function Kae(t){let r={};for(let e=0,n=t.length;e<n;e+=1){const i=t.charAt(e);r[i]=(r[i]||0)|1<<n-e-1}return r}class i6{constructor(r,{location:e=Je.location,threshold:n=Je.threshold,distance:i=Je.distance,includeMatches:o=Je.includeMatches,findAllMatches:a=Je.findAllMatches,minMatchCharLength:s=Je.minMatchCharLength,isCaseSensitive:l=Je.isCaseSensitive,ignoreLocation:g=Je.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreLocation:g},this.pattern=l?r:r.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,h)=>{this.chunks.push({pattern:d,alphabet:Kae(d),startIndex:h})},c=this.pattern.length;if(c>Vl){let d=0;const h=c%Vl,A=c-h;for(;d<A;)u(this.pattern.substr(d,Vl),d),d+=Vl;if(h){const f=c-Vl;u(this.pattern.substr(f),f)}}else u(this.pattern,0)}searchIn(r){const{isCaseSensitive:e,includeMatches:n}=this.options;if(e||(r=r.toLowerCase()),this.pattern===r){let A={isMatch:!0,score:0};return n&&(A.indices=[[0,r.length-1]]),A}const{location:i,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,ignoreLocation:g}=this.options;let u=[],c=0,d=!1;this.chunks.forEach(({pattern:A,alphabet:f,startIndex:C})=>{const{isMatch:I,score:v,indices:p}=Zae(r,A,f,{location:i+C,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,includeMatches:n,ignoreLocation:g});I&&(d=!0),c+=v,I&&p&&(u=[...u,...p])});let h={isMatch:d,score:d?c/this.chunks.length:1};return d&&n&&(h.indices=u),h}}class gl{constructor(r){this.pattern=r}static isMultiMatch(r){return $P(r,this.multiRegex)}static isSingleMatch(r){return $P(r,this.singleRegex)}search(){}}function $P(t,r){const e=t.match(r);return e?e[1]:null}class Yae extends gl{constructor(r){super(r)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(r){const e=r===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class Xae extends gl{constructor(r){super(r)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(r){const n=r.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,r.length-1]}}}class Qae extends gl{constructor(r){super(r)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(r){const e=r.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class qae extends gl{constructor(r){super(r)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(r){const e=!r.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,r.length-1]}}}class Jae extends gl{constructor(r){super(r)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(r){const e=r.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[r.length-this.pattern.length,r.length-1]}}}class ese extends gl{constructor(r){super(r)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(r){const e=!r.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,r.length-1]}}}class o6 extends gl{constructor(r,{location:e=Je.location,threshold:n=Je.threshold,distance:i=Je.distance,includeMatches:o=Je.includeMatches,findAllMatches:a=Je.findAllMatches,minMatchCharLength:s=Je.minMatchCharLength,isCaseSensitive:l=Je.isCaseSensitive,ignoreLocation:g=Je.ignoreLocation}={}){super(r),this._bitapSearch=new i6(r,{location:e,threshold:n,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreLocation:g})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(r){return this._bitapSearch.searchIn(r)}}class a6 extends gl{constructor(r){super(r)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(r){let e=0,n;const i=[],o=this.pattern.length;for(;(n=r.indexOf(this.pattern,e))>-1;)e=n+o,i.push([n,e-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const l_=[Yae,a6,Qae,qae,ese,Jae,Xae,o6],wP=l_.length,tse=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,rse="|";function nse(t,r={}){return t.split(rse).map(e=>{let n=e.trim().split(tse).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=n.length;o<a;o+=1){const s=n[o];let l=!1,g=-1;for(;!l&&++g<wP;){const u=l_[g];let c=u.isMultiMatch(s);c&&(i.push(new u(c,r)),l=!0)}if(!l)for(g=-1;++g<wP;){const u=l_[g];let c=u.isSingleMatch(s);if(c){i.push(new u(c,r));break}}}return i})}const ise=new Set([o6.type,a6.type]);class ose{constructor(r,{isCaseSensitive:e=Je.isCaseSensitive,includeMatches:n=Je.includeMatches,minMatchCharLength:i=Je.minMatchCharLength,ignoreLocation:o=Je.ignoreLocation,findAllMatches:a=Je.findAllMatches,location:s=Je.location,threshold:l=Je.threshold,distance:g=Je.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:n,minMatchCharLength:i,findAllMatches:a,ignoreLocation:o,location:s,threshold:l,distance:g},this.pattern=e?r:r.toLowerCase(),this.query=nse(this.pattern,this.options)}static condition(r,e){return e.useExtendedSearch}searchIn(r){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;r=i?r:r.toLowerCase();let o=0,a=[],s=0;for(let l=0,g=e.length;l<g;l+=1){const u=e[l];a.length=0,o=0;for(let c=0,d=u.length;c<d;c+=1){const h=u[c],{isMatch:A,indices:f,score:C}=h.search(r);if(A){if(o+=1,s+=C,n){const I=h.constructor.type;ise.has(I)?a=[...a,...f]:a.push(f)}}else{s=0,o=0,a.length=0;break}}if(o){let c={isMatch:!0,score:s/o};return n&&(c.indices=a),c}}return{isMatch:!1,score:1}}}const g_=[];function ase(...t){g_.push(...t)}function u_(t,r){for(let e=0,n=g_.length;e<n;e+=1){let i=g_[e];if(i.condition(t,r))return new i(t,r)}return new i6(t,r)}const cp={AND:"$and",OR:"$or"},c_={PATH:"$path",PATTERN:"$val"},d_=t=>!!(t[cp.AND]||t[cp.OR]),sse=t=>!!t[c_.PATH],lse=t=>!Na(t)&&e6(t)&&!d_(t),_P=t=>({[cp.AND]:Object.keys(t).map(r=>({[r]:t[r]}))});function s6(t,r,{auto:e=!0}={}){const n=i=>{let o=Object.keys(i);const a=sse(i);if(!a&&o.length>1&&!d_(i))return n(_P(i));if(lse(i)){const l=a?i[c_.PATH]:o[0],g=a?i[c_.PATTERN]:i[l];if(!Bo(g))throw new Error(Rae(l));const u={keyId:s_(l),pattern:g};return e&&(u.searcher=u_(g,r)),u}let s={children:[],operator:o[0]};return o.forEach(l=>{const g=i[l];Na(g)&&g.forEach(u=>{s.children.push(n(u))})}),s};return d_(t)||(t=_P(t)),n(t)}function gse(t,{ignoreFieldNorm:r=Je.ignoreFieldNorm}){t.forEach(e=>{let n=1;e.matches.forEach(({key:i,norm:o,score:a})=>{const s=i?i.weight:null;n*=Math.pow(a===0&&s?Number.EPSILON:a,(s||1)*(r?1:o))}),e.score=n})}function use(t,r){const e=t.matches;r.matches=[],pi(e)&&e.forEach(n=>{if(!pi(n.indices)||!n.indices.length)return;const{indices:i,value:o}=n;let a={indices:i,value:o};n.key&&(a.key=n.key.src),n.idx>-1&&(a.refIndex=n.idx),r.matches.push(a)})}function cse(t,r){r.score=t.score}function dse(t,r,{includeMatches:e=Je.includeMatches,includeScore:n=Je.includeScore}={}){const i=[];return e&&i.push(use),n&&i.push(cse),t.map(o=>{const{idx:a}=o,s={item:r[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,s)}),s})}class Gg{constructor(r,e={},n){this.options={...Je,...e},this.options.useExtendedSearch,this._keyStore=new Bae(this.options.keys),this.setCollection(r,n)}setCollection(r,e){if(this._docs=r,e&&!(e instanceof $2))throw new Error(Pae);this._myIndex=e||n6(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(r){pi(r)&&(this._docs.push(r),this._myIndex.add(r))}remove(r=()=>!1){const e=[];for(let n=0,i=this._docs.length;n<i;n+=1){const o=this._docs[n];r(o,n)&&(this.removeAt(n),n-=1,i-=1,e.push(o))}return e}removeAt(r){this._docs.splice(r,1),this._myIndex.removeAt(r)}getIndex(){return this._myIndex}search(r,{limit:e=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:s}=this.options;let l=Bo(r)?Bo(this._docs[0])?this._searchStringList(r):this._searchObjectList(r):this._searchLogical(r);return gse(l,{ignoreFieldNorm:s}),o&&l.sort(a),J8(e)&&e>-1&&(l=l.slice(0,e)),dse(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(r){const e=u_(r,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:a,n:s})=>{if(!pi(o))return;const{isMatch:l,score:g,indices:u}=e.searchIn(o);l&&i.push({item:o,idx:a,matches:[{score:g,value:o,norm:s,indices:u}]})}),i}_searchLogical(r){const e=s6(r,this.options),n=(s,l,g)=>{if(!s.children){const{keyId:c,searcher:d}=s,h=this._findMatches({key:this._keyStore.get(c),value:this._myIndex.getValueForItemAtKeyId(l,c),searcher:d});return h&&h.length?[{idx:g,item:l,matches:h}]:[]}const u=[];for(let c=0,d=s.children.length;c<d;c+=1){const h=s.children[c],A=n(h,l,g);if(A.length)u.push(...A);else if(s.operator===cp.AND)return[]}return u},i=this._myIndex.records,o={},a=[];return i.forEach(({$:s,i:l})=>{if(pi(s)){let g=n(e,s,l);g.length&&(o[l]||(o[l]={idx:l,item:s,matches:[]},a.push(o[l])),g.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),a}_searchObjectList(r){const e=u_(r,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:s})=>{if(!pi(a))return;let l=[];n.forEach((g,u)=>{l.push(...this._findMatches({key:g,value:a[u],searcher:e}))}),l.length&&o.push({idx:s,item:a,matches:l})}),o}_findMatches({key:r,value:e,searcher:n}){if(!pi(e))return[];let i=[];if(Na(e))e.forEach(({v:o,i:a,n:s})=>{if(!pi(o))return;const{isMatch:l,score:g,indices:u}=n.searchIn(o);l&&i.push({score:g,key:r,value:o,idx:a,norm:s,indices:u})});else{const{v:o,n:a}=e,{isMatch:s,score:l,indices:g}=n.searchIn(o);s&&i.push({score:l,key:r,value:o,norm:a,indices:g})}return i}}Gg.version="7.0.0";Gg.createIndex=n6;Gg.parseIndex=Hae;Gg.config=Je;Gg.parseQuery=s6;ase(ose);const hse=[["app",[{icon:"i-carbon-information",name:"overview",order:-100,path:"overview",title:"Overview"},{icon:"i-carbon-assembly-cluster",name:"components",order:-100,path:"components",title:"Components"},{icon:"i-carbon-tree-view-alt",name:"pages",order:-100,path:"pages",title:"Pages"},{icon:"i-carbon-image-copy",name:"assets",order:-100,path:"assets",title:"Assets"},{icon:"i-icon-park-outline:vertical-timeline",name:"timeline",order:-100,path:"timeline",title:"Timeline"}]],["modules",[{icon:"i-ri-route-line",name:"router",order:-100,path:"router",title:"Router"},{icon:"i-icon-park-outline:pineapple",name:"pinia",order:-100,path:"pinia",title:"Pinia"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],l6=["assets","graph","vite-inspect"],EP={pinia:"pinia",router:"vueRouter"};function Ase(t,r){const e=r.name;return e in EP&&t[EP[e]]}function fse(t,r){const e=mc(hse);return e.forEach(n=>{n[0]==="modules"&&(n[1]=n[1].filter(i=>r?Ase(r,i):!0))}),t&&!DS?e:e.map(([n,i])=>[n,i.filter(o=>!l6.includes(o.name))])}const g6=na([]),u6=U(null),Cse=X(()=>g6.value.find(t=>t.id===u6.value));function ea(t){return P4()?(R4(t),!0):!1}function wr(t){return typeof t=="function"?t():y(t)}const yg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ise=t=>typeof t<"u",vse=Object.prototype.toString,pse=t=>vse.call(t)==="[object Object]",ma=()=>{},mse=yse();function yse(){var t,r;return yg&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((r=window?.navigator)==null?void 0:r.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function bse(t,r){function e(...n){return new Promise((i,o)=>{Promise.resolve(t(()=>r.apply(this,n),{fn:r,thisArg:this,args:n})).then(i).catch(o)})}return e}const c6=t=>t();function $se(t,r={}){let e,n,i=ma;const o=s=>{clearTimeout(s),i(),i=ma};return s=>{const l=wr(t),g=wr(r.maxWait);return e&&o(e),l<=0||g!==void 0&&g<=0?(n&&(o(n),n=null),Promise.resolve(s())):new Promise((u,c)=>{i=r.rejectOnCancel?c:u,g&&!n&&(n=setTimeout(()=>{e&&o(e),n=null,u(s())},g)),e=setTimeout(()=>{n&&o(n),n=null,u(s())},l)})}}function wse(t=c6){const r=U(!0);function e(){r.value=!1}function n(){r.value=!0}const i=(...o)=>{r.value&&t(...o)};return{isActive:Va(r),pause:e,resume:n,eventFilter:i}}function SP(t,r=!1,e="Timeout"){return new Promise((n,i)=>{setTimeout(r?()=>i(e):n,t)})}function _se(t){let r;function e(){return r||(r=t()),r}return e.reset=async()=>{const n=r;r=void 0,n&&await n},e}function Ese(t){return t||sl()}function Sse(...t){if(t.length!==1)return Y4(...t);const r=t[0];return typeof r=="function"?Va(XS(()=>({get:r,set:ma}))):U(r)}function d6(t,r,e={}){const{eventFilter:n=c6,...i}=e;return rt(t,bse(n,r),i)}function Tse(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=wse(n);return{stop:d6(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function XA(t,r=!0,e){Ese()?wi(t,e):r?t():wn(t)}function h_(t,r=!1){function e(c,{flush:d="sync",deep:h=!1,timeout:A,throwOnTimeout:f}={}){let C=null;const v=[new Promise(p=>{C=rt(t,m=>{c(m)!==r&&(C?.(),p(m))},{flush:d,deep:h,immediate:!0})})];return A!=null&&v.push(SP(A,f).then(()=>wr(t)).finally(()=>C?.())),Promise.race(v)}function n(c,d){if(!ze(c))return e(m=>m===c,d);const{flush:h="sync",deep:A=!1,timeout:f,throwOnTimeout:C}=d??{};let I=null;const p=[new Promise(m=>{I=rt([t,c],([b,S])=>{r!==(b===S)&&(I?.(),m(b))},{flush:h,deep:A,immediate:!0})})];return f!=null&&p.push(SP(f,C).then(()=>wr(t)).finally(()=>(I?.(),wr(t)))),Promise.race(p)}function i(c){return e(d=>!!d,c)}function o(c){return n(null,c)}function a(c){return n(void 0,c)}function s(c){return e(Number.isNaN,c)}function l(c,d){return e(h=>{const A=Array.from(h);return A.includes(c)||A.includes(wr(c))},d)}function g(c){return u(1,c)}function u(c=1,d){let h=-1;return e(()=>(h+=1,h>=c),d)}return Array.isArray(wr(t))?{toMatch:e,toContains:l,changed:g,changedTimes:u,get not(){return h_(t,!r)}}:{toMatch:e,toBe:n,toBeTruthy:i,toBeNull:o,toBeNaN:s,toBeUndefined:a,changed:g,changedTimes:u,get not(){return h_(t,!r)}}}function Ose(t){return h_(t)}function kse(t,r=1e3,e={}){const{immediate:n=!0,immediateCallback:i=!1}=e;let o=null;const a=U(!1);function s(){o&&(clearInterval(o),o=null)}function l(){a.value=!1,s()}function g(){const u=wr(r);u<=0||(a.value=!0,i&&t(),s(),o=setInterval(t,u))}if(n&&yg&&g(),ze(r)||typeof r=="function"){const u=rt(r,()=>{a.value&&yg&&g()});ea(u)}return ea(l),{isActive:a,pause:l,resume:g}}function xse(t,r,e={}){const{immediate:n=!0}=e,i=U(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function s(){i.value=!1,a()}function l(...g){a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,t(...g)},wr(r))}return n&&(i.value=!0,yg&&l()),ea(s),{isPending:Va(i),start:l,stop:s}}function w2(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=ze(t),o=U(t);function a(s){if(arguments.length)return o.value=s,o.value;{const l=wr(e);return o.value=o.value===l?wr(n):l,o.value}}return i?a:[o,a]}function _2(t,r,e={}){const{debounce:n=0,maxWait:i=void 0,...o}=e;return d6(t,r,{...o,eventFilter:$se(n,{maxWait:i})})}function h6(t,r,e){const n=rt(t,(...i)=>(wn(()=>n()),r(...i)),e);return n}function TP(t,r,e){let n;ze(e)?n={evaluating:e}:n=e||{};const{lazy:i=!1,evaluating:o=void 0,shallow:a=!0,onError:s=ma}=n,l=U(!i),g=a?na(r):U(r);let u=0;return Nn(async c=>{if(!l.value)return;u++;const d=u;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const A=await t(f=>{c(()=>{o&&(o.value=!1),h||f()})});d===u&&(g.value=A)}catch(A){s(A)}finally{o&&d===u&&(o.value=!1),h=!0}}),i?X(()=>(l.value=!0,g.value)):g}function uo(t){var r;const e=wr(t);return(r=e?.$el)!=null?r:e}const $i=yg?window:void 0,Pse=yg?window.document:void 0,A6=yg?window.navigator:void 0;function tn(...t){let r,e,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,n,i]=t,r=$i):[r,e,n,i]=t,!r)return ma;Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]);const o=[],a=()=>{o.forEach(u=>u()),o.length=0},s=(u,c,d,h)=>(u.addEventListener(c,d,h),()=>u.removeEventListener(c,d,h)),l=rt(()=>[uo(r),wr(i)],([u,c])=>{if(a(),!u)return;const d=pse(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return ea(g),g}let OP=!1;function Rse(t,r,e={}){const{window:n=$i,ignore:i=[],capture:o=!0,detectIframe:a=!1}=e;if(!n)return ma;mse&&!OP&&(OP=!0,Array.from(n.document.body.children).forEach(d=>d.addEventListener("click",ma)),n.document.documentElement.addEventListener("click",ma));let s=!0;const l=d=>i.some(h=>{if(typeof h=="string")return Array.from(n.document.querySelectorAll(h)).some(A=>A===d.target||d.composedPath().includes(A));{const A=uo(h);return A&&(d.target===A||d.composedPath().includes(A))}}),u=[tn(n,"click",d=>{const h=uo(t);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(s=!l(d)),!s){s=!0;return}r(d)}},{passive:!0,capture:o}),tn(n,"pointerdown",d=>{const h=uo(t);s=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),a&&tn(n,"blur",d=>{setTimeout(()=>{var h;const A=uo(t);((h=n.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!A?.contains(n.document.activeElement)&&r(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function Dse(){const t=U(!1);return sl()&&wi(()=>{t.value=!0}),t}function ld(t){const r=Dse();return X(()=>(r.value,!!t()))}function Nse(t,r={}){const{immediate:e=!0,fpsLimit:n=void 0,window:i=$i}=r,o=U(!1),a=n?1e3/n:null;let s=0,l=null;function g(d){if(!o.value||!i)return;const h=d-(s||d);if(a&&h<a){l=i.requestAnimationFrame(g);return}t({delta:h,timestamp:d}),s=d,l=i.requestAnimationFrame(g)}function u(){!o.value&&i&&(o.value=!0,l=i.requestAnimationFrame(g))}function c(){o.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return e&&u(),ea(c),{isActive:Va(o),pause:c,resume:u}}function f6(t,r={}){const{window:e=$i}=r,n=ld(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=U(!1),a=g=>{o.value=g.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},l=Nn(()=>{n.value&&(s(),i=e.matchMedia(wr(t)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return ea(()=>{l(),s(),i=void 0}),o}function kP(t,r={}){const{controls:e=!1,navigator:n=A6}=r,i=ld(()=>n&&"permissions"in n);let o;const a=typeof t=="string"?{name:t}:t,s=U(),l=()=>{o&&(s.value=o.state)},g=_se(async()=>{if(i.value){if(!o)try{o=await n.permissions.query(a),tn(o,"change",l),l()}catch{s.value="prompt"}return o}});return g(),e?{state:s,isSupported:i,query:g}:s}function E2(t={}){const{navigator:r=A6,read:e=!1,source:n,copiedDuring:i=1500,legacy:o=!1}=t,a=ld(()=>r&&"clipboard"in r),s=kP("clipboard-read"),l=kP("clipboard-write"),g=X(()=>a.value||o),u=U(""),c=U(!1),d=xse(()=>c.value=!1,i);function h(){a.value&&s.value!=="denied"?r.clipboard.readText().then(I=>{u.value=I}):u.value=C()}g.value&&e&&tn(["copy","cut"],h);async function A(I=wr(n)){g.value&&I!=null&&(a.value&&l.value!=="denied"?await r.clipboard.writeText(I):f(I),u.value=I,c.value=!0,d.start())}function f(I){const v=document.createElement("textarea");v.value=I??"",v.style.position="absolute",v.style.opacity="0",document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function C(){var I,v,p;return(p=(v=(I=document?.getSelection)==null?void 0:I.call(document))==null?void 0:v.toString())!=null?p:""}return{isSupported:g,text:u,copied:c,copy:A}}function Mse(t){return JSON.parse(JSON.stringify(t))}const FC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},LC="__vueuse_ssr_handlers__",Bse=Fse();function Fse(){return LC in FC||(FC[LC]=FC[LC]||{}),FC[LC]}function C6(t,r){return Bse[t]||r}function Lse(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const zse={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},xP="vueuse-storage";function I6(t,r,e,n={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:g=!1,shallow:u,window:c=$i,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?na:U)(typeof r=="function"?r():r);if(!e)try{e=C6("getDefaultStorage",()=>{var _;return(_=$i)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=wr(r),I=Lse(C),v=(i=n.serializer)!=null?i:zse[I],{pause:p,resume:m}=Tse(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&XA(()=>{tn(c,"storage",k),tn(c,xP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const T=v.write(_),P=e.getItem(t);P!==T&&(e.setItem(t,T),c&&c.dispatchEvent(new CustomEvent(xP,{detail:{key:t,oldValue:P,newValue:T,storageArea:e}})))}}catch(T){h(T)}}function S(_){const T=_?_.newValue:e.getItem(t);if(T==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(T);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof T!="string"?T:v.read(T)}function N(_){k(_.detail)}function k(_){if(!(_&&_.storageArea!==e)){if(_&&_.key==null){f.value=C;return}if(!(_&&_.key!==t)){p();try{_?.newValue!==v.write(f.value)&&(f.value=S(_))}catch(T){h(T)}finally{_?wn(m):m()}}}}}function v6(t){return f6("(prefers-color-scheme: dark)",t)}function Nm(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=$i,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:g,disableTransition:u=!0}=t,c={auto:"",light:"light",dark:"dark",...t.modes||{}},d=v6({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?Sse(n):I6(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=C6("updateHTMLAttrs",(m,b,S)=>{const N=typeof m=="string"?i?.document.querySelector(m):uo(m);if(!N)return;let k;if(u){k=i.document.createElement("style");const _="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(_)),i.document.head.appendChild(k)}if(b==="class"){const _=S.split(/\s/g);Object.values(c).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{_.includes(T)?N.classList.add(T):N.classList.remove(T)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(m){var b;C(r,e,(b=c[m])!=null?b:m)}function v(m){t.onChanged?t.onChanged(m,I):I(m)}rt(f,v,{flush:"post",immediate:!0}),XA(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(m){A.value=m}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function jse(t,r,e={}){const{window:n=$i,...i}=e;let o;const a=ld(()=>n&&"MutationObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=rt(()=>uo(t),c=>{s(),a.value&&n&&c&&(o=new MutationObserver(r),o.observe(c,i))},{immediate:!0}),g=()=>o?.takeRecords(),u=()=>{s(),l()};return ea(u),{isSupported:a,stop:u,takeRecords:g}}function Vse(t={}){const{valueDark:r="dark",valueLight:e="",window:n=$i}=t,i=Nm({...t,onChanged:(s,l)=>{var g;t.onChanged?(g=t.onChanged)==null||g.call(t,s==="dark",l,s):l(s)},modes:{dark:r,light:e}}),o=X(()=>i.system?i.system.value:v6({window:n}).value?"dark":"light");return X({get(){return i.value==="dark"},set(s){const l=s?"dark":"light";o.value===l?i.value="auto":i.value=l}})}function Gse(t,r,e={}){const{window:n=$i,...i}=e;let o;const a=ld(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>uo(c)):[uo(t)]),g=rt(l,c=>{if(s(),a.value&&n){o=new ResizeObserver(r);for(const d of c)d&&o.observe(d,i)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{s(),g()};return ea(u),{isSupported:a,stop:u}}function Wse(t,r={}){const{reset:e=!0,windowResize:n=!0,windowScroll:i=!0,immediate:o=!0}=r,a=U(0),s=U(0),l=U(0),g=U(0),u=U(0),c=U(0),d=U(0),h=U(0);function A(){const f=uo(t);if(!f){e&&(a.value=0,s.value=0,l.value=0,g.value=0,u.value=0,c.value=0,d.value=0,h.value=0);return}const C=f.getBoundingClientRect();a.value=C.height,s.value=C.bottom,l.value=C.left,g.value=C.right,u.value=C.top,c.value=C.width,d.value=C.x,h.value=C.y}return Gse(t,A),rt(()=>uo(t),f=>!f&&A()),jse(t,A,{attributeFilter:["style","class"]}),i&&tn("scroll",A,{capture:!0,passive:!0}),n&&tn("resize",A,{passive:!0}),XA(()=>{o&&A()}),{height:a,bottom:s,left:l,right:g,top:u,width:c,x:d,y:h,update:A}}function Hse(t={}){const{initialValue:r=""}=t,e=ld(()=>typeof window<"u"&&"EyeDropper"in window),n=U(r);async function i(o){if(!e.value)return;const s=await new window.EyeDropper().open(o);return n.value=s.sRGBHex,s}return{isSupported:e,sRGBHex:n,open:i}}function Use(t,r,e={}){const{window:n=$i}=e;return I6(t,r,n?.localStorage,e)}const Zse={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Kse(t={}){const{reactive:r=!1,target:e=$i,aliasMap:n=Zse,passive:i=!0,onEventFired:o=ma}=t,a=Ys(new Set),s={toJSON(){return{}},current:a},l=r?Ys(s):s,g=new Set,u=new Set;function c(f,C){f in l&&(r?l[f]=C:l[f].value=C)}function d(){a.clear();for(const f of u)c(f,!1)}function h(f,C){var I,v;const p=(I=f.key)==null?void 0:I.toLowerCase(),b=[(v=f.code)==null?void 0:v.toLowerCase(),p].filter(Boolean);p&&(C?a.add(p):a.delete(p));for(const S of b)u.add(S),c(S,C);p==="meta"&&!C?(g.forEach(S=>{a.delete(S),c(S,!1)}),g.clear()):typeof f.getModifierState=="function"&&f.getModifierState("Meta")&&C&&[...a,...b].forEach(S=>g.add(S))}tn(e,"keydown",f=>(h(f,!0),o(f)),{passive:i}),tn(e,"keyup",f=>(h(f,!1),o(f)),{passive:i}),tn("blur",d,{passive:!0}),tn("focus",d,{passive:!0});const A=new Proxy(l,{get(f,C,I){if(typeof C!="string")return Reflect.get(f,C,I);if(C=C.toLowerCase(),C in n&&(C=n[C]),!(C in l))if(/[+_-]/.test(C)){const p=C.split(/[+_-]/g).map(m=>m.trim());l[C]=X(()=>p.every(m=>wr(A[m])))}else l[C]=U(!1);const v=Reflect.get(f,C,I);return r?wr(v):v}});return A}function Yse(t={}){const{controls:r=!1,interval:e="requestAnimationFrame"}=t,n=U(new Date),i=()=>n.value=new Date,o=e==="requestAnimationFrame"?Nse(i,{immediate:!0}):kse(i,e,{immediate:!0});return r?{now:n,...o}:n}let Xse=0;function Qse(t,r={}){const e=U(!1),{document:n=Pse,immediate:i=!0,manual:o=!1,id:a=`vueuse_styletag_${++Xse}`}=r,s=U(t);let l=()=>{};const g=()=>{if(!n)return;const c=n.getElementById(a)||n.createElement("style");c.isConnected||(c.id=a,r.media&&(c.media=r.media),n.head.appendChild(c)),!e.value&&(l=rt(s,d=>{c.textContent=d},{immediate:!0}),e.value=!0)},u=()=>{!n||!e.value||(l(),n.head.removeChild(n.getElementById(a)),e.value=!1)};return i&&!o&&XA(g),o||ea(u),{id:a,css:s,unload:u,load:g,isLoaded:Va(e)}}const qse=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],Jse={justNow:"just now",past:t=>t.match(/\d/)?`${t} ago`:t,future:t=>t.match(/\d/)?`in ${t}`:t,month:(t,r)=>t===1?r?"last month":"next month":`${t} month${t>1?"s":""}`,year:(t,r)=>t===1?r?"last year":"next year":`${t} year${t>1?"s":""}`,day:(t,r)=>t===1?r?"yesterday":"tomorrow":`${t} day${t>1?"s":""}`,week:(t,r)=>t===1?r?"last week":"next week":`${t} week${t>1?"s":""}`,hour:t=>`${t} hour${t>1?"s":""}`,minute:t=>`${t} minute${t>1?"s":""}`,second:t=>`${t} second${t>1?"s":""}`,invalid:""};function ele(t){return t.toISOString().slice(0,10)}function tle(t,r={}){const{controls:e=!1,updateInterval:n=3e4}=r,{now:i,...o}=Yse({interval:n,controls:!0}),a=X(()=>rle(new Date(wr(t)),r,wr(i)));return e?{timeAgo:a,...o}:a}function rle(t,r={},e=Date.now()){var n;const{max:i,messages:o=Jse,fullDateFormatter:a=ele,units:s=qse,showSecond:l=!1,rounding:g="round"}=r,u=typeof g=="number"?C=>+C.toFixed(g):Math[g],c=+e-+t,d=Math.abs(c);function h(C,I){return u(Math.abs(C)/I.value)}function A(C,I){const v=h(C,I),p=C>0,m=f(I.name,v,p);return f(p?"past":"future",m,p)}function f(C,I,v){const p=o[C];return typeof p=="function"?p(I,v):p.replace("{0}",I.toString())}if(d<6e4&&!l)return o.justNow;if(typeof i=="number"&&d>i)return a(new Date(t));if(typeof i=="string"){const C=(n=s.find(I=>I.name===i))==null?void 0:n.max;if(C&&d>C)return a(new Date(t))}for(const[C,I]of s.entries()){if(h(c,I)<=0&&s[C-1])return A(c,s[C-1]);if(d<I.max)return A(c,I)}return o.invalid}function Mm(t,r,e,n={}){var i,o,a;const{clone:s=!1,passive:l=!1,eventName:g,deep:u=!1,defaultValue:c,shouldEmit:d}=n,h=sl(),A=e||h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((a=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(h?.proxy));let f=g;r||(r="modelValue"),f=f||`update:${r.toString()}`;const C=p=>s?typeof s=="function"?s(p):Mse(p):p,I=()=>Ise(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),m=U(p);let b=!1;return rt(()=>t[r],S=>{b||(b=!0,m.value=C(S),wn(()=>b=!1))}),rt(m,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),m}else return X({get(){return I()},set(p){v(p)}})}function nle(t={}){const{window:r=$i,initialWidth:e=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0}=t,a=U(e),s=U(n),l=()=>{r&&(o?(a.value=r.innerWidth,s.value=r.innerHeight):(a.value=r.document.documentElement.clientWidth,s.value=r.document.documentElement.clientHeight))};if(l(),XA(l),tn("resize",l,{passive:!0}),i){const g=f6("(orientation: portrait)");rt(g,()=>l())}return{width:a,height:s}}function p6(){return{isFirstVisit:!0,route:"/",graphSettings:{node_modules:!1,virtual:!1,lib:!1},tabSettings:{hiddenTabCategories:[],hiddenTabs:[],pinnedTabs:[]},expandSidebar:!1,scrollableSidebar:!0,splitScreen:{enabled:!1,view:"overview",size:[50,50]},scale:1,interactionCloseOnOutsideClick:!1,showPanel:!0,minimizePanelInteractive:5e3}}const sr=Use("__VUE_DEVTOOLS_CLIENT_STATE__",p6(),{mergeDefaults:!0});function ile(){sr.value=p6()}rt(()=>sr.value.splitScreen.enabled,(t,r)=>{r&&!t&&(sr.value.splitScreen.size=[50,50])});const ss=[];function ia(t){ss.push(t),ea(()=>{ss.splice(ss.indexOf(t),1)});const{connected:r,clientConnected:e}=Zi(),n=X(()=>e.value&&r.value);if(n.value){ss.forEach(i=>i());return}return h6(n,i=>{i&&ss.forEach(o=>o())}),()=>{ss.splice(ss.indexOf(t),1)}}function ole(){ss.forEach(t=>t())}function QA(){const t=Zi(),r=U(t.tabs.value||[]),e=X(()=>{const l=t.vitePluginDetected.value,g=[...fse(l,Cse.value?.moduleDetectives)];return r.value.forEach(u=>{const c=g.find(d=>d[0]===u.category);if(c){if(c[1].some(d=>d.name===u.name)||(!l||DS)&&l6.includes(u.name))return;c[1].push({...u})}}),g}),n=X(()=>e.value.reduce((l,[g,u])=>(u.forEach(c=>{l.push(c)}),l),[])),i=X(()=>{const{hiddenTabCategories:l,hiddenTabs:g,pinnedTabs:u}=sr.value.tabSettings,c=l.includes("pinned"),d=e.value.reduce((h,[A,f])=>{const C=[{hidden:!1,name:A},[]],I=l.includes(A);return f.forEach(v=>{const p=g.includes(v.name);if(u.includes(v.name))h[0][1].push({...v,hidden:p||c});else{const m=p||I;C[1].push({...v,hidden:m})}}),C[0].hidden=C[1].every(v=>v.hidden),h.push(C),h},[[{name:"pinned",hidden:!1},[]]]);return d[0][0].hidden=d[0][1].every(h=>h.hidden),d[0][1].sort((h,A)=>u.indexOf(h.name)-u.indexOf(A.name)),d}),o=X(()=>i.value.reduce((l,[g,u])=>{if(g.hidden)return l;const c=u.filter(d=>!d.hidden);return c.length&&l.push([g,c]),l},[])),a=X(()=>o.value.reduce((l,[g,u])=>(u.forEach(c=>{l.push(c)}),l),[])),s=_n();return ia(()=>{s.on.customTabsUpdated(l=>{r.value=l})}),{categorizedTabs:i,flattenedTabs:n,enabledTabs:o,enabledFlattenTabs:a}}function PP(t,r){return X(()=>{const e=[],n=sr.value.tabSettings.pinnedTabs;Fw(r).reduce((a,[{name:s,hidden:l},g])=>(g.forEach(u=>{if(Fw(t).some(c=>c.name===u.name)){const c=n.includes(u.name)?"pinned":s||"app";a.push({tab:u,category:{name:c,hidden:l}})}}),a),[]).forEach(({tab:a,category:s})=>{const l=e.find(([{name:g}])=>g===s.name);l?l[1].push(a):e.push([s,[a]])});const o=e.find(([{name:a}])=>a==="pinned");return o&&o[1].sort((a,s)=>n.indexOf(a.name)-n.indexOf(s.name)),e})}function ale(t){const r=new Map;return t.forEach(e=>r.set(e.id,e)),Array.from(r.values())}const A_=Ys(new Map);function sle(){const{enabledFlattenTabs:t}=QA(),r=sd(),e=Zi(),n=U(e.commands.value||[]);Nn(()=>{n.value=e.commands.value||[]});const i=_n();ia(()=>{i.on.customCommandsUpdated(s=>{n.value=s})});const o=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{r.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>gle()}],a=X(()=>t.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():r.push("path"in s&&s.path?s.path:`/custom-tab-view/${s.name}`)}})));return X(()=>ale([...o,...a.value,...lle(n.value),...Array.from(A_.values()).flatMap(s=>Fw(s))]))}function RP(t){t?.type==="url"&&window.open(t.src,"_blank")}function lle(t){return t.map(r=>({id:`${r.id}`,title:r.title,icon:r.icon,description:r.description,order:r.order,action:()=>{if(r.children)return r.children.map(e=>({id:e.id,title:e.title,icon:e.icon,description:e.description,order:e.order,action:()=>{RP(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0));RP(r.action)}})).sort((r,e)=>(e.order??0)-(r.order??0))}function DP(t){const r=sq();A_.set(r,t),WA(()=>{A_.delete(r)})}let Gb;async function gle(){return Gb||(Gb=(await mn(()=>import("./vue-apis-Nh9IahXf.js"),__vite__mapDeps([]),import.meta.url).then(r=>r.default)).map(r=>({...r,icon:"carbon-api-1",action:()=>{window.open(r.url,"_blank")}}))),Gb}const ule={flex:"~ col","max-h-120":"","min-h-60":"",h:"60%","w-xl":"","of-hidden":"",border:"1 base","rounded-md":"","text-3.75":""},cle={border:"b base","flex-none":""},dle={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},hle=["id","onClick","onMouseover"],Ale={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},fle={"ws-nowrap":""},Cle={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},Ile={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},vle=w("span",{op50:""},"No results for",-1),ple={"text-primary":""},mle={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},yle={"text-xs":"",flex:"~ items-center gap2"},ble={px1:""},$le={px1:""},wle=w("span",{op75:""},"to navigate",-1),_le={"text-xs":"",flex:"~ items-center gap2"},Ele=w("button",{px1:""}," Esc ",-1),Sle={op75:""},Tle={"text-xs":"",flex:"~ items-center gap2"},Ole={px1:""},kle=w("span",{op75:""},"to select",-1),xle=$e({__name:"CommandPalette",setup(t){const r=U(!1),e=U(""),n=sle(),i=U(),o=X(()=>i.value||n.value),a=X(()=>new Gg(o.value,{keys:["id","title"],distance:50})),s=X(()=>e.value?a.value.search(e.value).map(d=>d.item):o.value||[]),l=U(0);rt(e,()=>{l.value=0,u()});function g(d){l.value=(l.value+d+s.value.length)%s.value.length,u()}function u(){document.getElementById(s.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function c(d){const h=await d.action();h?(i.value=h,e.value=""):(i.value=void 0,e.value="",r.value=!1)}return tn("keydown",d=>{if((d.altKey||d.metaKey)&&d.key==="k"){d.preventDefault(),i.value=void 0,e.value="",r.value=!r.value;return}if(r.value)switch(d.key){case"ArrowDown":case"ArrowUp":d.preventDefault(),g(d.key==="ArrowDown"?1:-1);break;case"Enter":{const h=s.value[l.value];h&&(d.preventDefault(),c(h));break}case"Escape":{d.preventDefault(),i.value?(i.value=void 0,e.value=""):r.value=!1;break}}}),(d,h)=>{const A=KA;return y(r)?(O(),ne(y(b2),{key:0,dim:"",class:"backdrop-blur-2xl!"},{default:G(()=>[w("div",ule,[w("header",cle,[z(y(Da),{modelValue:y(e),"onUpdate:modelValue":h[0]||(h[0]=f=>ze(e)?e.value=f:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),w("div",dle,[(O(!0),F(ye,null,vt(y(s),(f,C)=>(O(),F("button",{id:f.id,key:f.id,onClick:I=>c(f),onMouseover:I=>l.value=C},[w("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:_e(y(l)===C?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[z(A,{icon:f.icon,title:f.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),w("span",Ale,[w("span",fle,we(f.title),1),w("span",Cle,we(f.description),1)]),y(l)===C?(O(),ne(y(Pt),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):be("",!0)],2)],40,hle))),128)),y(s).length?be("",!0):(O(),F("div",Ile,[z(y(Pt),{icon:"carbon-search",op50:""}),w("div",null,[vle,w("strong",ple,' "'+we(y(e))+'" ',1)])]))]),w("footer",mle,[w("div",yle,[w("button",ble,[z(y(Pt),{icon:"carbon-arrow-down"})]),w("button",$le,[z(y(Pt),{icon:"carbon-arrow-up"})]),wle]),w("div",_le,[Ele,w("span",Sle,"to "+we(y(i)?"go back":"close"),1)]),w("div",Tle,[w("button",Ole,[z(y(Pt),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),kle])])])]),_:1})):be("",!0)}}}),qA=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Ple={},Rle={class:"panel-grids-center"};function Dle(t,r){return O(),F("div",Rle,[Xe(t.$slots,"default")])}const oa=qA(Ple,[["render",Dle]]),Nle={flex:"~ items-center gap-3"},Mle={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},Ble={"translate-y-0.5px":""},Fle={key:0,hidden:"","lg:block":""},m6=$e({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(t){const r=t,e=Tm(),n=X(()=>"path"in r.tab?`${r.tab.path.startsWith("/")?"":"/"}${r.tab.path}`:`/custom-tab-view/${r.tab.name}`),i=X(()=>"badge"in r.tab&&r.tab.badge?.()),o=X(()=>e.path.startsWith(n.value));function a(){"onClick"in r.tab&&r.tab.onClick?r.tab.onClick():r.target==="side"&&(sr.value.splitScreen.view=r.tab.name)}return(s,l)=>{const g=KA;return O(),ne(y(Eae),{disabled:!s.minimized,placement:"right",class:_e({"w-full":!s.minimized})},{popper:G(()=>[w("div",null,we(s.tab.title),1),"extraTabVNode"in s.tab&&s.tab.extraTabVNode?(O(),F("div",Fle,[(O(),ne(Xs(s.tab.extraTabVNode)))])):be("",!0)]),default:G(()=>[(O(),ne(Xs(s.target==="main"?y(f8):"button"),{to:y(n),flex:`~ items-center ${s.minimized?"justify-center":"justify-between"}`,hover:"bg-active op-100",w:s.minimized?"10":"full",rounded:s.minimized?"xl":"",p:s.minimized?"1":"x3","text-secondary":"",relative:"",block:"","h-10":"","select-none":"",op65:"","exact-active-class":"!text-primary-600 bg-active op-100!",onClick:a},{default:G(()=>[w("div",Nle,[z(g,{"text-xl":"",icon:s.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),s.minimized?be("",!0):(O(),F("span",Mle,we(s.tab.title),1))]),y(i)?(O(),F("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:_e([y(o)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":s.minimized}])},[w("span",Ble,we(y(wr)(y(i))),1)],2)):be("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),Lle={flex:"~ col gap-1","max-w-80":"",py1:""},zle={key:0,"h-1px":"",border:"b base"},jle={flex:"~ wrap",px1:""},y6=$e({__name:"TabsGrid",props:{categories:{},target:{}},setup(t){return(r,e)=>{const n=m6;return O(),F("div",Lle,[(O(!0),F(ye,null,vt(r.categories,([i,o],a)=>(O(),F(ye,{key:i},[o.length?(O(),F(ye,{key:0},[a?(O(),F("div",zle)):be("",!0),w("div",jle,[(O(!0),F(ye,null,vt(o,s=>(O(),ne(n,{key:s.name,target:r.target,tab:s},null,8,["target","tab"]))),128))])],64)):be("",!0)],64))),128))])}}}),Vle={"h-full":"","h-screen":"","of-hidden":""},Gle={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},Wle={flex:"","cursor-pointer":"","items-center":"",gap2:""},Hle=w("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),Ule={capitalize:""},Zle=w("div",{"flex-auto":""},null,-1),Kle=w("div",{"i-carbon:side-panel-open":""},null,-1),Yle=[Kle],Xle={key:1,"of-auto":"",style:{height:"calc(100% - 50px)"}},Qle=w("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),qle=$e({__name:"SplitScreen",setup(t){function r(){sr.value.splitScreen.enabled=!1}const e=X(()=>sr.value.splitScreen),{enabledTabs:n,flattenedTabs:i}=QA(),o=sd(),a=Tm(),s=na();function l(c){const d=a.path.startsWith("/")?a.path.slice(1):a.path;return c&&"path"in c&&d===c.path}const g=X(()=>{const c=i.value.find(d=>d.name===e.value.view);return l(c)?void 0:c});rt(()=>g.value,c=>{if(!c)return;const d=o.getRoutes(),h=c&&"path"in c?d.find(C=>C.path===(c.path.startsWith("/")?c.path:`/${c.path}`)):d.find(C=>C.name==="custom-tab"),A=a.path.startsWith("/")?a.path.slice(1):a.path;if(h?.path===A||a.params?.name===c.name){s.value=void 0;return}const f=h?.components?.default;typeof f=="function"?s.value=$J(f):s.value=f},{immediate:!0});const u=U(!1);return(c,d)=>{const h=KA,A=y6,f=oa;return O(),F("div",Vle,[y(s)&&y(g)?(O(),F("div",Gle,[z(y(kc),{placement:"bottom-start",distance:12,skidding:5,shown:y(u),trigger:"click"},{popper:G(()=>[z(A,{categories:y(n),target:"side"},null,8,["categories"])]),default:G(()=>[w("div",Wle,[Hle,z(h,{"text-xl":"",icon:y(g)?.icon,title:"Settings","show-title":!1},null,8,["icon"]),w("span",Ule,we(y(g)?.name),1)])]),_:1},8,["shown"]),Zle,rn((O(),F("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:r},Yle)),[[y(Ho),"Close split screen"]])])):be("",!0),y(s)&&y(g)?(O(),F("div",Xle,[(O(),ne(Xs(y(s)),{key:`tab-${y(g).name}`}))])):(O(),ne(f,{key:2},{default:G(()=>[Qle,z(y(lv),{px4:"",py2:"","bg-base":""},{default:G(()=>[z(A,{categories:y(n),target:"side"},null,8,["categories"])]),_:1}),z(y(ot),{type:"warning",outlined:"",mt2:"",onClick:r},{default:G(()=>[ke(" Close Split Screen ")]),_:1})]),_:1}))])}}});function Bm(){const t=h2(),r=U("");return pc&&qe.chrome.storage.local.get(yb).then(e=>{r.value=e[yb]??"overlay"}),{viewMode:r,toggle(e){r.value=e,qe.chrome.storage.local.set({[yb]:e}),pc&&t.value.emit("toggle-view-mode",e)}}}const Jle={px3:"",py2:"",border:"b base",flex:"~ gap-2"},ege=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),tge=w("div",{"i-carbon-settings-adjust":""},null,-1),rge={px3:"",py2:"",border:"b base",flex:"~ gap-2"},nge=w("div",{"i-carbon-split-screen":""},null,-1),ige={px3:"",py2:"",flex:"~ gap2"},oge=$e({__name:"DockingPanel",setup(t){const r=Er("viewMode",U("overlay")),e=X(()=>r.value==="panel"&&pc),{toggle:n}=Bm(),i=_n(),o=sd(),a=X({get:()=>sr.value.expandSidebar,set:h=>sr.value.expandSidebar=h}),s=X({get:()=>sr.value.splitScreen.enabled,set:h=>sr.value.splitScreen.enabled=h});function l(){location.reload()}const g=Zi(),u=X(()=>g.appRecords.value.map(h=>({label:h.name+(h.version?` (${h.version})`:""),value:h.id}))),c=U(g.activeAppRecordId.value),d=X(()=>u.value.find(h=>h.value===c.value)?.label??"");return rt(c,h=>{i.toggleApp(`${h}`).then(()=>{o.push("/overview").then(()=>{ole()})})}),(h,A)=>(O(),F("div",null,[w("div",Jle,[z(y(Q8),null,{default:G(({isDark:f,toggle:C})=>[z(y(ot),{outlined:"",type:"primary",onClick:C},{default:G(()=>[ege,ke(" "+we(f?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),z(y(ot),{outlined:"",type:"primary",onClick:A[0]||(A[0]=f=>a.value=!y(a))},{default:G(()=>[z(y(Pt),{icon:y(a)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),ke(" "+we(y(a)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),z(y(ot),{to:"/settings",outlined:"",type:"primary"},{default:G(()=>[tge,ke(" Settings ")]),_:1})]),w("div",rge,[z(y(ot),{outlined:"",type:"primary",onClick:A[1]||(A[1]=f=>s.value=!y(s))},{default:G(()=>[nge,ke(" "+we(y(s)?"Close Split Screen":"Split Screen"),1)]),_:1})]),w("div",ige,[y(u).length>1?(O(),ne(y(up),{key:0,modelValue:y(c),"onUpdate:modelValue":A[2]||(A[2]=f=>ze(c)?c.value=f:null),options:y(u),placeholder:y(d)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):be("",!0),z(y(ot),{outlined:"",type:"primary",onClick:l},{default:G(()=>[ke(" Refresh Page ")]),_:1}),y(e)?(O(),ne(y(ot),{key:1,outlined:"",type:"primary",onClick:A[3]||(A[3]=f=>y(n)("overlay"))},{default:G(()=>[ke(" Switch to Overlay Mode ")]),_:1})):be("",!0)])]))}}),age={border:"r base",flex:"~ col items-start","z-100":"","h-full":"","of-hidden":"","bg-base":""},sge={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},lge=w("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1),gge=w("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1),uge=w("div",{"flex-auto":""},null,-1),cge=w("div",{"i-carbon-overflow-menu-vertical":""},null,-1),dge={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},hge=w("div",{"flex-auto":""},null,-1),Age=["flex"],fge={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},Cge={"translate-y-0.5px":""},Ige=45,vge=$e({__name:"SideNav",setup(t){const r=U(!1),e=U(!1),n=U(),i=U(),o=U(),a=X(()=>sr.value.expandSidebar),s=X(()=>sr.value.scrollableSidebar),{enabledTabs:l,flattenedTabs:g}=QA(),{height:u}=nle(),c=X(()=>{const I=u.value-130;return Math.max(0,Math.floor(I/Ige))}),d=X(()=>g.value.slice(0,c.value)),h=X(()=>g.value.slice(c.value)),A=PP(d,l),f=PP(h,l),C=X(()=>s.value||a.value?l.value:A.value);return Rse(n,I=>{i.value&&I.composedPath().includes(i.value)||o.value&&I.composedPath().includes(o.value)||(r.value=!1,e.value=!1)},{detectIframe:!0}),(I,v)=>{const p=oge,m=m6,b=KA,S=y6;return O(),F("div",age,[w("div",sge,[z(y(kc),{placement:"left-start",distance:6,skidding:5,trigger:"click",shown:y(r),class:"w-full"},{popper:G(()=>[z(p)]),default:G(()=>[w("button",{ref_key:"buttonDocking",ref:i,flex:"~ items-center justify-center gap-2",hover:"bg-active","text-secondary":"",relative:"","h-10":"","select-none":"",p2:"","exact-active-class":"!text-primary bg-active",class:_e([y(a)?"w-full rounded pl2.5":"w-10 rounded-xl"])},[lge,y(a)?(O(),F(ye,{key:0},[gge,uge,cge],64)):be("",!0)],2)]),_:1},8,["shown"])]),w("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:_e(["no-scrollbar",y(a)?"":"of-x-hidden of-y-auto"])},[(O(!0),F(ye,null,vt(y(C),([N,k],_)=>(O(),F(ye,{key:N},[_?(O(),F("div",dge)):be("",!0),(O(!0),F(ye,null,vt(k.filter(T=>!T.hidden),T=>(O(),ne(m,{key:T.name,tab:T,minimized:!y(a)},null,8,["tab","minimized"]))),128))],64))),128)),hge],2),w("div",{flex:`~ items-center gap-1 ${y(a)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[y(h).length&&!y(s)&&!y(a)?(O(),ne(y(kc),{key:0,placement:"left-end",distance:6},{popper:G(()=>[z(S,{categories:y(f),"max-w-80":"",target:"main"},null,8,["categories"])]),default:G(()=>[w("button",{ref_key:"buttonMoreTabs",ref:o,flex:"~",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","exact-active-class":"!text-primary bg-active"},[z(b,{"text-xl":"",icon:"i-carbon-overflow-menu-vertical",title:"More tabs","show-title":!1}),w("div",fge,[w("span",Cge,we(y(h).length),1)])],512)]),_:1})):be("",!0),z(m,{minimized:!y(a),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,Age)])}}}),pge={},mge={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yge=iee('<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 198" width="128" height="128"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2),bge=[yge];function $ge(t,r){return O(),F("svg",mge,bge)}const S2=qA(pge,[["render",$ge]]),wge={class:"fixed inset-0 h-screen w-screen flex flex-col items-center justify-center $ui-bg-base"},_ge=w("p",{class:"p3 text-sm font-bold"},[ke(" DevTools is currently injected into user application in "),w("em",{class:"text-primary-600"},"Overlay"),ke(" view mode. ")],-1),Ege=$e({__name:"ViewModeSwitch",setup(t){Nm();const{toggle:r}=Bm();return(e,n)=>{const i=S2;return O(),F("div",wge,[z(i,{"h-18":""}),_ge,w("p",null,[z(y(ot),{onClick:n[0]||(n[0]=$n(o=>y(r)("panel"),["stop"]))},{default:G(()=>[ke(" Switch to Panel Mode ")]),_:1})])])}}}),Sge="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20id='svg2'%20version='1.1'%20inkscape:version='0.91%20r13725'%20xml:space='preserve'%20width='375'%20height='375'%20viewBox='0%200%20375%20375'%20sodipodi:docname='vue-logo.svg'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata8'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs6'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1017'%20id='namedview4'%20showgrid='false'%20inkscape:zoom='0.62933333'%20inkscape:cx='187.5'%20inkscape:cy='187.5'%20inkscape:window-x='0'%20inkscape:window-y='30'%20inkscape:window-maximized='1'%20inkscape:current-layer='g10'%20/%3e%3cg%20id='g10'%20inkscape:groupmode='layer'%20inkscape:label='logo'%20transform='matrix(1.25,0,0,-1.25,0,375)'%3e%3cg%20id='g12'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-120.829,0%20-22.669,-170.017%2075.491,0%200,0%20Z'%20style='fill:%2341b883;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path14'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3cg%20id='g16'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-81.565,0%20-22.669,-102.01%2036.227,0%200,0%20Z'%20style='fill:%2334495e;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path18'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Tge={class:"h-screen w-screen $ui-fcc flex-col"},Oge={class:"outer"},kge={class:"inner"},xge=["src"],Pge=$e({__name:"AppConnecting",setup(t){return(r,e)=>(O(),F("div",Tge,[w("div",Oge,[w("div",kge,[w("img",{src:y(Sge),class:"max-w-18",alt:"Vue logo"},null,8,xge)])]),Xe(r.$slots,"default",{},void 0,!0)]))}}),b6=qA(Pge,[["__scopeId","data-v-204233a8"]]),JA={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,r)=>(t[r.id]=r)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[t.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,r){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=r},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,r){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===r?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,r),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=r,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[r])},onSplitterDblClick(t,r){let e=0;this.panes=this.panes.map((n,i)=>(n.size=i===r?n.max:n.min,i!==r&&(e+=n.min),n)),this.panes[r].size-=e,this.$emit("pane-maximize",this.panes[r]),this.$emit("resized",this.panes.map(n=>({min:n.min,max:n.max,size:n.size})))},onPaneClick(t,r){this.$emit("pane-click",this.indexedPanes[r])},getCurrentMouseDrag(t){const r=this.container.getBoundingClientRect(),{clientX:e,clientY:n}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:e-r.left,y:n-r.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const r=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=r-t),t*100/r},calculatePanesSize(t){const r=this.touch.activeSplitter;let e={prevPanesSize:this.sumPrevPanesSize(r),nextPanesSize:this.sumNextPanesSize(r),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:e.prevPanesSize),i=100-(this.pushOtherPanes?0:e.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(t),i),n);let a=[r,r+1],s=this.panes[a[0]]||null,l=this.panes[a[1]]||null;const g=s.max<100&&o>=s.max+e.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(r+1));if(g||u){g?(s.size=s.max,l.size=Math.max(100-s.max-e.prevPanesSize-e.nextPanesSize,0)):(s.size=Math.max(100-l.max-e.prevPanesSize-this.sumNextPanesSize(r+1),0),l.size=l.max);return}if(this.pushOtherPanes){const c=this.doPushOtherPanes(e,o);if(!c)return;({sums:e,panesToResize:a}=c),s=this.panes[a[0]]||null,l=this.panes[a[1]]||null}s!==null&&(s.size=Math.min(Math.max(o-e.prevPanesSize-e.prevReachedMinPanes,s.min),s.max)),l!==null&&(l.size=Math.min(Math.max(100-o-e.nextPanesSize-e.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(t,r){const e=this.touch.activeSplitter,n=[e,e+1];return r<t.prevPanesSize+this.panes[n[0]].min&&(n[0]=this.findPrevExpandedPane(e).index,t.prevReachedMinPanes=0,n[0]<e&&this.panes.forEach((i,o)=>{o>n[0]&&o<=e&&(i.size=i.min,t.prevReachedMinPanes+=i.min)}),t.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,o)=>{o>0&&o<=e&&(i.size=i.min,t.prevReachedMinPanes+=i.min)}),this.panes[n[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):r>100-t.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(e).index,t.nextReachedMinPanes=0,n[1]>e+1&&this.panes.forEach((i,o)=>{o>e&&o<n[1]&&(i.size=i.min,t.nextReachedMinPanes+=i.min)}),t.nextPanesSize=this.sumNextPanesSize(n[1]-1),n[1]===void 0)?(t.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,o)=>{o<this.panesCount-1&&o>=e+1&&(i.size=i.min,t.nextReachedMinPanes+=i.min)}),this.panes[n[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:n}},sumPrevPanesSize(t){return this.panes.reduce((r,e,n)=>r+(n<t?e.size:0),0)},sumNextPanesSize(t){return this.panes.reduce((r,e,n)=>r+(n>t+1?e.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(r=>r.index<t&&r.size>r.min)||{}},findNextExpandedPane(t){return this.panes.find(r=>r.index>t+1&&r.size>r.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const r=t.classList.contains("splitpanes__pane"),e=t.classList.contains("splitpanes__splitter");!r&&!e&&(t.parentNode.removeChild(t),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(t,r,e=!1){const n=t-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),e||(i.onmousedown=o=>this.onMouseDown(o,n),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=o=>this.onMouseDown(o,n)),i.onclick=o=>this.onSplitterClick(o,n+1)),this.dblClickSplitter&&(i.ondblclick=o=>this.onSplitterDblClick(o,n+1)),r.parentNode.insertBefore(i,r)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(e=>{e.className.includes("splitpanes__splitter")&&this.removeSplitter(e)});let r=0;t.forEach(e=>{e.className.includes("splitpanes__pane")&&(!r&&this.firstSplitter?this.addSplitter(r,e,!0):r&&this.addSplitter(r,e),r++)})},requestUpdate({target:t,...r}){const e=this.indexedPanes[t._.uid];Object.entries(r).forEach(([n,i])=>e[n]=i)},onPaneAdd(t){let r=-1;Array.from(t.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&r++,i===t.$el));const e=parseFloat(t.minSize),n=parseFloat(t.maxSize);this.panes.splice(r,0,{id:t._.uid,index:r,min:isNaN(e)?0:e,max:isNaN(n)?100:n,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((i,o)=>i.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[r]}),this.$emit("pane-add",{index:r,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(t){const r=this.panes.findIndex(n=>n.id===t._.uid),e=this.panes.splice(r,1)[0];this.panes.forEach((n,i)=>n.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...e,index:r}}),this.$emit("pane-remove",{removed:e,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(r=>r.givenSize!==null||r.min||r.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},equalize(){const t=100/this.panesCount;let r=0;const e=[],n=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(t,i.max),i.min),r-=i.size,i.size>=i.max&&e.push(i.id),i.size<=i.min&&n.push(i.id)}),r>.1&&this.readjustSizes(r,e,n)},initialPanesSizing(){let t=100;const r=[],e=[];let n=0;this.panes.forEach(o=>{t-=o.size,o.size!==null&&n++,o.size>=o.max&&r.push(o.id),o.size<=o.min&&e.push(o.id)});let i=100;t>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(t/(this.panesCount-n),o.max),o.min)),i-=o.size}),i>.1&&this.readjustSizes(t,r,e))},equalizeAfterAddOrRemove({addedPane:t,removedPane:r}={}){let e=100/this.panesCount,n=0;const i=[],o=[];t&&t.givenSize!==null&&(e=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&o.push(a.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(a=>{t&&t.givenSize!==null&&t.id===a.id||(a.size=Math.max(Math.min(e,a.max),a.min)),n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&o.push(a.id)}),n>.1&&this.readjustSizes(n,i,o))},readjustSizes(t,r,e){let n;t>0?n=t/(this.panesCount-r.length):n=t/(this.panesCount-e.length),this.panes.forEach((i,o)=>{if(t>0&&!r.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),s=a-i.size;t-=s,i.size=a}else if(!e.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),s=a-i.size;t-=s,i.size=a}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((r,e)=>{r.ondblclick=t?n=>this.onSplitterDblClick(n,e):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return ad("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Rge=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Dge={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}};function Nge(t,r,e,n,i,o){return O(),F("div",{class:"splitpanes__pane",onClick:r[0]||(r[0]=a=>o.onPaneClick(a,t._.uid)),style:_r(t.style)},[Xe(t.$slots,"default")],4)}const Io=Rge(Dge,[["render",Nge]]);function Fm(){const{copy:t,copied:r}=E2();return{copy:(n,i={})=>{const{silent:o=!1,type:a=""}=i;t(n).then(()=>{o||a_({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{o||a_({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:r}}const Mge={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},Bge=$e({__name:"App",setup(t){mn(()=>import("./unocss-runtime-402WFgCt.js"),__vite__mapDeps([]),import.meta.url),Nm();const r=sd(),e=Tm(),{connected:n,clientConnected:i}=Zi(),o=_n(),a=sr,s=Er("viewMode",U("overlay")),l=X(()=>s.value==="overlay"&&pc);Bm();const g=h2(),u=X(()=>e.path.startsWith("/__")||e.path==="/"),c=X(()=>a.value.expandSidebar),d=X(()=>i.value&&n.value);Nn(()=>{const v=sr.value.scale;document.documentElement.style.fontSize=`${v*15}px`}),rt(d,v=>{v&&(r.replace(a.value.isFirstVisit?"/":a.value.route),r.afterEach(()=>{const p=e.path;p.includes("__")||(a.value.route=p)}))},{immediate:!0}),tn("keydown",v=>{v.code==="KeyD"&&v.altKey&&v.shiftKey&&g.value.emit("toggle-panel")}),Nn(()=>{g.value.emit("update-client-state",{minimizePanelInteractive:sr.value.minimizePanelInteractive,closeOnOutsideClick:sr.value.interactionCloseOnOutsideClick,showFloatingPanel:sr.value.showPanel})});const h=X(()=>a.value.splitScreen.enabled),A=X({get:()=>a.value.splitScreen.size,set:v=>a.value.splitScreen.size=v}),f=Zi();Nn(()=>{g6.value=f.appRecords.value,u6.value=f.activeAppRecordId.value});const{copy:C}=Fm(),I=Hse({});return o?.isVueInspectorDetected?.()?.then(({data:v})=>{v&&DP(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{g.value.emit("toggle-panel",!1),await o.enableVueInspector()}}])}),DP(()=>[...I.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:v}=await I.open()||{};v&&C(v)}}]:[]]),(v,p)=>{const m=b6,b=Ege,S=vge,N=bi("RouterView"),k=qle,_=xle;return O(),F("main",Mge,[y(d)?y(l)?(O(),ne(b,{key:1})):(O(),F("div",{key:2,class:_e(["h-full of-auto",y(u)?"flex":y(c)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[y(u)?be("",!0):(O(),ne(S,{key:0,"of-x-hidden":"","of-y-auto":""})),z(y(JA),{"h-full":"","of-hidden":"",onResize:p[0]||(p[0]=T=>A.value=T.map(P=>P.size))},{default:G(()=>[z(y(Io),{"h-full":"",class:"of-auto!","min-size":"10",size:y(A)[0]},{default:G(()=>[z(N)]),_:1},8,["size"]),!y(u)&&y(h)?(O(),ne(y(Io),{key:0,relative:"","h-full":"",class:"of-auto!",size:y(A)[1]},{default:G(()=>[z(k)]),_:1},8,["size"])):be("",!0)]),_:1})],2)):(O(),ne(m,{key:0})),z(_)])}}}),T2=$e({__name:"ExpandIcon",props:{value:{type:Boolean}},setup(t){return(r,e)=>(O(),F("i",{class:_e(["i-radix-icons:triangle-right flex-none text-5 op-50 transition-base",{"transform rotate-90":r.value}])},null,2))}}),Fge={class:"flex-inline items-center gap4px"},Lge=$e({__name:"EditInput",props:{modelValue:{},type:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(t,{emit:r}){const e=t,n=r,{escape:i,enter:o}=Kse();Nn(()=>{i.value?n("cancel"):o.value&&n("submit",e.type)});const a=Mm(e,"modelValue",n);function s(g){try{return JSON.parse(g),!0}catch{return!1}}const l=X(()=>a.value.trim().length===0||(e.type==="number"?Number.isNaN(Number(a.value)):!1)||(e.type==="object"?!s(a.value):!1));return(g,u)=>(O(),F("span",Fge,[z(y(Da),{modelValue:y(a),"onUpdate:modelValue":u[0]||(u[0]=c=>ze(a)?a.value=c:null),variant:y(l)?"warning":"normal",class:"h25px w120px px4px","auto-focus":g.autoFocus,onClick:u[1]||(u[1]=$n(()=>{},["stop"]))},null,8,["modelValue","variant","auto-focus"]),g.showActions?(O(),F(ye,{key:0},[y(l)?(O(),ne(y(Pt),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"})):(O(),F(ye,{key:0},[rn((O(),ne(y(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[2]||(u[2]=$n(c=>g.$emit("cancel"),["stop"]))},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-cancel"})]),_:1})),[[y(Ho),{content:"Esc to cancel"}]]),rn((O(),ne(y(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[3]||(u[3]=$n(c=>g.$emit("submit",g.type),["stop"]))},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-save"})]),_:1})),[[y(Ho),{content:"Enter to submit change"}]])],64))],64)):be("",!0)]))}}),$6=Symbol("StateEditorSymbol");function zge(t){const r=U(t);return pa($6,r),{context:r}}function O2(){return Er($6)}function jge(){const t=U(""),r=U("string"),e=U(!1),n=O2();return{editingText:t,editing:e,toggleEditing(i){i&&(r.value=i),e.value=!e.value},editingType:r,nodeId:n.value.nodeId}}function Vge(t,r){if(t==="array")return r.length;const e="newProp";let n=1;for(;;){const i=`${e}${n}`;if(!r[i])return i;n++}}function Gge(){const t=U({enable:!1,key:"",value:"undefined"});function r(n,i){const o=Vge(n,i);t.value={enable:!0,key:o.toString(),value:"undefined"}}function e(){t.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:r,resetDrafting:e,draftingNewProp:t}}const Wge={class:"inline pl5px"},Hge={class:"w160px py5px"},NP=$e({__name:"Actions",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(t){const r=t,e=_n(),n=O2(),{copy:i,isSupported:o}=E2(),a=U(!1),s=X(()=>jj(r.data.value).value),l=X(()=>typeof s.value),g={flat:!0,size:"mini"},u=X(()=>({"opacity-0":!r.hovering}));function c(d,h=!1){e.editInspectorState({path:r.data.key.split("."),inspectorId:n.value.inspectorId,type:r.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:Ct(d),type:l.value,remove:h}})}return(d,h)=>(O(),F("div",Wge,[!r.disableEdit&&d.data.editable?(O(),F(ye,{key:0},[y(l)==="string"||y(l)==="number"||y(l)==="object"?(O(),F(ye,{key:0},[rn((O(),ne(y(ot),yn(g,{class:y(u),onClick:h[0]||(h[0]=$n(A=>d.$emit("enableEditInput",y(l)),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[y(Ho),{content:"Edit value"}]]),y(l)==="object"&&d.showAddIfNeeded?rn((O(),ne(y(ot),yn({key:0},g,{class:y(u),onClick:h[1]||(h[1]=$n(A=>d.$emit("addNewProp",Array.isArray(y(s))?"array":"object"),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[y(Ho),{content:"Add new value"}]]):be("",!0)],64)):be("",!0),y(l)==="boolean"?(O(),ne(y(ot),yn({key:1},g,{class:y(u),onClick:h[2]||(h[2]=A=>c(!y(s)))}),{icon:G(()=>[z(y(Pt),{icon:y(s)?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):y(l)==="number"?(O(),F(ye,{key:2},[z(y(ot),yn(g,{class:y(u),onClick:h[3]||(h[3]=$n(A=>c(y(s)+1),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-carbon-add"})]),_:1},16,["class"]),z(y(ot),yn(g,{class:y(u),onClick:h[4]||(h[4]=$n(A=>c(y(s)-1),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):be("",!0)],64)):be("",!0),!r.disableEdit&&d.depth>0?(O(),ne(y(ot),yn({key:1},g,{class:y(u),onClick:h[5]||(h[5]=$n(A=>c(y(s),!0),["stop"]))}),{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):be("",!0),z(y(kc),{class:_e({"opacity-0":!d.hovering&&!y(a)}),"button-props":{flat:!0,size:"mini"},disabled:!y(o),"onUpdate:visible":h[8]||(h[8]=A=>a.value=A)},{popper:G(()=>[w("div",Hge,[z(y(pP),{onClick:h[6]||(h[6]=A=>y(i)(y(l)==="object"?JSON.stringify(y(s)):y(s).toString()))},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Value ")]),_:1}),z(y(pP),{onClick:h[7]||(h[7]=()=>{y(i)(d.data.key)})},{icon:G(()=>[z(y(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Path ")]),_:1})])]),"button-icon":G(()=>[z(y(Pt),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}});function gA(t){const r=U({}),e=U({});return pa(`CollapseMapSymbol${t}`,r),pa(`CollapseMapSymbol${t}LinkedList`,e),{collapseMap:r,id:t,linkedList:e}}function Uge(t){const r=Er(`CollapseMapSymbol${t}`),e=Er(`CollapseMapSymbol${t}LinkedList`);return{collapseMap:r,linkedList:e,id:t}}function k2(t,r,e){const{collapseMap:n,linkedList:i}=Uge(t),o=X(()=>n.value[r]??!1),a=()=>{n.value[r]=!n.value[r]};return e?.length&&(i.value[r]=e??[]),{isExpanded:o,toggleCollapse:a}}function Zge(t,r={}){const{enter:e=()=>{},leave:n=()=>{},initital:i=!1}=r,o=U(i);return tn(t,"mouseenter",()=>{o.value=!0,e()}),tn(t,"mouseleave",()=>{o.value=!1,n()}),{isHovering:o}}const x2=t=>(fm("data-v-e979d6e2"),t=t(),Cm(),t),Kge={key:0},Yge={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},Xge=x2(()=>w("span",{"mx-1":""},":",-1)),Qge=["innerHTML"],qge={key:1,"cursor-pointer":""},Jge={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},eue=x2(()=>w("span",{"mx-1":""},":",-1)),tue=["innerHTML"],rue={key:0},nue={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},iue=x2(()=>w("span",{"mx-1":""},":",-1)),oue=$e({__name:"InspectorStateField",props:{data:{},depth:{default:0},no:{},rootId:{}},setup(t){const r=t,e=O2(),n=_n(),i=X(()=>wte(r.data.value)),o=X(()=>_m(r.data.value)),a=X(()=>o.value==="custom"?`state-format-${r.data.value._custom?.type}`:""),{isExpanded:s,toggleCollapse:l}=k2("inspector-state",`${r.rootId}-${r.no}-${r.depth}-${r.data.key}`),g=X(()=>{const P=r.data._custom?.stateTypeName||r.data?.stateTypeName;if(P==="Reactive")return P;if(r.data.value?.fields?.abstract)return"";{const R=`<span class="state-value-${o.value}">${i.value}</span>`;return P?`${R} <span class="text-gray-500">(${P})</span>`:R}}),u=X(()=>jj(r.data.value)),c=X(()=>{let{value:P,inherit:R}=u.value;return Array.isArray(P)?P.slice(0,20).map((te,W)=>({key:`${r.data.key}.${W}`,value:te,...R,editable:r.data.editable,creating:!1})):(P!==null&&typeof P=="object"?(P=Object.keys(P).map(L=>({key:`${r.data.key}.${L}`,value:P[L],...R,editable:r.data.editable,creating:!1})),o.value!=="custom"&&(P=aq(P))):P=[],P===r.data.value?{}:P)}),d=X(()=>{const P=r.data.key,R=P.lastIndexOf(".");return R===-1?P:P.slice(R+1)}),h=X(()=>Object.keys(c.value).length>0),{editingType:A,editing:f,editingText:C,toggleEditing:I,nodeId:v}=jge();rt(()=>f.value,P=>{if(P){const{value:R}=u.value;C.value=typeof R=="object"?JSON.stringify(R):R.toString()}else C.value=""});function p(P){const R=r.data;n.editInspectorState({path:R.key.split("."),inspectorId:e.value.inspectorId,type:R.stateType,nodeId:v,state:{newKey:null,type:P,value:C.value}}),I()}const{addNewProp:m,draftingNewProp:b,resetDrafting:S}=Gge();function N(P){s.value||l(),m(P,u.value.value)}function k(){const P=r.data,R=P.key.split(".");R.push(b.value.key),n.editInspectorState({path:R,inspectorId:e.value.inspectorId,type:P.stateType,nodeId:v,state:{newKey:b.value.key,type:typeof b.value.value,value:b.value.value}}),S()}const _=U(),{isHovering:T}=Zge(_);return(P,R)=>{const L=Lge,te=T2,W=bi("InspectorStateField",!0);return O(),F("div",{ref_key:"containerRef",ref:_,class:"pl-6",style:_r({paddingLeft:`${P.depth*15+4}px`})},[y(h)?(O(),F("div",qge,[w("div",{relative:"",flex:"","items-center":"",onClick:R[2]||(R[2]=(...V)=>y(l)&&y(l)(...V))},[z(te,{value:y(s),absolute:"","left--6":"","group-hover:text-white":""},null,8,["value"]),w("span",Jge,we(y(d)),1),eue,y(f)?(O(),ne(L,{key:0,modelValue:y(C),"onUpdate:modelValue":R[1]||(R[1]=V=>ze(C)?C.value=V:null),type:y(A),onCancel:y(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(O(),F(ye,{key:1},[w("span",{class:_e(y(a))},[w("span",{innerHTML:y(g)},null,8,tue)],2),z(NP,{"show-add-if-needed":!y(b).enable,hovering:y(T),data:P.data,"disable-edit":y(e).disableEdit,depth:P.depth,onEnableEditInput:y(I),onAddNewProp:N},null,8,["show-add-if-needed","hovering","data","disable-edit","depth","onEnableEditInput"])],64))]),y(s)?(O(),F("div",rue,[(O(!0),F(ye,null,vt(y(c),(V,Q)=>(O(),ne(W,{key:Q,data:V,depth:P.depth+1,no:P.no,"root-id":P.rootId},null,8,["data","depth","no","root-id"]))),128)),y(b).enable?(O(),F("div",{key:0,style:_r({paddingLeft:`${(P.depth+1)*15+4}px`})},[w("span",nue,[z(L,{modelValue:y(b).key,"onUpdate:modelValue":R[3]||(R[3]=V=>y(b).key=V),type:"string","show-actions":!1},null,8,["modelValue"])]),iue,z(L,{modelValue:y(b).value,"onUpdate:modelValue":R[4]||(R[4]=V=>y(b).value=V),type:"string","auto-focus":!1,onCancel:y(S),onSubmit:k},null,8,["modelValue","onCancel"])],4)):be("",!0)])):be("",!0)])):(O(),F("div",Kge,[w("span",Yge,we(y(d)),1),Xge,y(f)?(O(),ne(L,{key:0,modelValue:y(C),"onUpdate:modelValue":R[0]||(R[0]=V=>ze(C)?C.value=V:null),type:y(A),onCancel:y(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(O(),F(ye,{key:1},[w("span",{class:_e(y(a))},[w("span",{innerHTML:y(g)},null,8,Qge)],2),z(NP,{hovering:y(T),"disable-edit":y(e).disableEdit,data:P.data,depth:P.depth,onEnableEditInput:y(I)},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],64))]))],4)}}}),aue=qA(oue,[["__scopeId","data-v-e979d6e2"]]),sue=$e({__name:"InspectorStateType",props:{data:{},depth:{default:0},rootId:{}},setup(t){return(r,e)=>{const n=aue;return O(!0),F(ye,null,vt(r.data,(i,o)=>(O(),F("div",{key:o,class:"flex items-center pl-8 font-data-field"},[z(n,{data:i,no:o,"root-id":r.rootId},null,8,["data","no","root-id"])]))),128)}}}),lue={"text-primary-400":"","group-hover:text-white":"",class:"text-[#486887] dark:text-[#7595b5]"},Lm=$e({__name:"InspectorState",props:{data:{},name:{},id:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(t){const r=t,{isExpanded:e,toggleCollapse:n}=k2("inspector-state",r.id);return!e.value&&n(),zge({nodeId:r.nodeId,inspectorId:r.inspectorId,disableEdit:r.disableEdit}),(i,o)=>{const a=T2,s=sue;return O(),F(ye,null,[w("div",{class:"group w-full px-0 selectable-item",onClick:o[0]||(o[0]=(...l)=>y(n)&&y(n)(...l))},[z(a,{value:y(e),"group-hover:text-white":""},null,8,["value"]),w("span",lue,we(i.name),1)]),y(e)?(O(),ne(s,{key:0,data:i.data,"root-id":i.id},null,8,["data","root-id"])):be("",!0)],64)}}});function f_(t){return t.toString(16).padStart(6,"0")}function gue(t,r){const e=new Date(t);return`${e.toString().match(/\d\d:\d\d:\d\d/)[0]}${r==="ms"?`.${String(e.getMilliseconds()).padStart(3,"0")}`:""}`}const w6=$e({__name:"InspectorNodeTag",props:{tag:{}},setup(t){return(r,e)=>{const n=Im("tooltip");return rn((O(),F("span",{style:_r({color:`#${y(f_)(r.tag.textColor)}`,backgroundColor:`#${y(f_)(r.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[ke(we(r.tag.label),1)],4)),[[n,{content:r.tag.tooltip,html:!0}]])}}});function uue(t){const r=U("");return pa(`SelectedSymbol${t}`,r),{selected:r,id:t}}function cue(t){return{selected:Er(`SelectedSymbol${t}`),id:t}}function due(t,r,e){const{selected:n}=cue(t);return{isSelected:X(()=>n.value===r),toggleSelected:a=>{n.value=a,e?.(a)}}}const hue={key:1,"inline-block":"","h-6":"","w-6":""},Aue={"text-primary-400":"","group-hover:text-white":"",class:"[.active_&]:text-white"},fue=$e({__name:"ComponentTreeNode",props:{data:{},depth:{default:0},linkedList:{default:()=>[]}},emits:["select","mouseenter","mouseleave"],setup(t,{emit:r}){const e=t,n=r,{isExpanded:i,toggleCollapse:o}=k2("component-tree",e.data.id,[...e.linkedList,e.data.id]),{isSelected:a,toggleSelected:s}=due("component-tree",e.data.id,l=>{n("select",l)});return(l,g)=>{const u=T2,c=w6,d=bi("ComponentTreeNode",!0);return O(),F(ye,null,[w("div",{class:_e(["group selectable-item",{active:y(a)}]),style:_r({paddingLeft:`${l.depth*15+4}px`}),onClick:g[0]||(g[0]=$n(h=>y(s)(l.data.id),["stop"])),onMouseenter:g[1]||(g[1]=h=>n("mouseenter",l.data.id,!0)),onMouseleave:g[2]||(g[2]=h=>n("mouseleave",l.data.id,!1))},[l.data.children?.length?(O(),ne(u,{key:0,value:y(i),"group-hover:text-white":"",class:"[.active_&]:text-white",onClick:$n(y(o),["prevent","stop"])},null,8,["value","onClick"])):(O(),F("i",hue)),w("span",Aue,we(l.data.name),1),(O(!0),F(ye,null,vt(l.data.tags,(h,A)=>(O(),ne(c,{key:A,tag:h},null,8,["tag"]))),128))],38),l.data.children?.length&&y(i)?(O(!0),F(ye,{key:0},vt(l.data.children,h=>(O(),ne(d,{key:h.id,data:h,depth:l.depth+1,"linked-list":[...l.linkedList,l.data.id],onSelect:g[3]||(g[3]=A=>n("select",A)),onMouseenter:g[4]||(g[4]=A=>n("mouseenter",A,!0)),onMouseleave:g[5]||(g[5]=A=>n("mouseleave",A,!1))},null,8,["data","depth","linked-list"]))),128)):be("",!0)],64)}}}),Cue=_n();function zm(t){return Cue.openInEditor({file:t})}const Iue={"w-full":"",flex:"",gap2:"",px2:"",py2:""},vue=w("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[w("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),w("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1),pue=[vue],mue={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},yue={flex:"","justify-between":"","overflow-auto":"",px2:"",py3:"",class:"no-scrollbar"},bue={key:0},$ue={flex:"~ gap2"},wue=w("p",{class:"x-divider"},null,-1),_ue=$e({__name:"components",setup(t){const r=_n(),e=h2(),n=U([]),i=U(""),o=zm,a=U(!1),[s,l]=w2(!0),{selected:g}=uue("component-tree"),{collapseMap:u,linkedList:c}=gA("component-tree");gA("inspector-state");const d=X(()=>{const W=[],V=Q=>{Q.forEach(Ie=>{Ie.id===g.value&&W.push(Ie),Ie.children?.length&&V(Ie.children)})};return V(n.value),W[0]}),h=X(()=>{const W=[],V=(Q,Ie=[])=>{Q.forEach(Re=>{W.push([...Ie,Re.id]),Re.children?.length&&V(Re.children,[...Ie,Re.id])})};return V(n.value),W}),A=X(()=>d.value?.file??"");function f(W,V){return W.length?W.find(Q=>Q.id===V)?!0:W.some(Q=>f(Q.children||[],V)):!1}function C(W){W.length&&(g.value&&f(W,g.value)||(g.value=W?.[0].id,P(W?.[0].id)))}function I(W){return new Promise(V=>{r.getComponentBoundingRect({inspectorId:"components",instanceId:W}).then(({data:Q})=>{V(Q)})})}function v(W){return{[W[0].id]:!0,...W?.[0].children?.reduce((V,Q)=>(V[Q.id]=!0,V),{})}}function p(W){return new Promise(V=>{r.getInspectorTree({inspectorId:"components",filter:W}).then(({data:Q})=>{const Ie=!Object.keys(u.value).length;n.value=Q,Ie&&(u.value=v(Q)),C(Q),V()})})}const m=U(!1);async function b(W,V){m.value&&await Ose(m).toBe(!1),m.value=!0,I(W).then(Q=>{r.toggleComponentInspector({id:W,visible:V,bounds:Q}),m.value=!1})}function S(W){r.scrollToComponent({id:W})}function N(){e.value.emit("toggle-panel",!1),r.inspectComponentInspector().then(({data:W})=>{g.value=W.id,k(W.id);const V=c.value[W.id];V?V.forEach(Q=>{u.value[Q]=!0}):h.value.forEach(Q=>{let Ie=Q.indexOf(W.id);if(Ie>-1)for(;Ie>=0;)u.value[Q[Ie]]=!0,Ie--})}).finally(()=>{e.value.emit("toggle-panel",!0)})}function k(W){R(),P(W),i.value=W}rt(g,W=>{r.updateInspectorTreeId(W)});const _=U({});function T(W){if(!W||!W?.state)return{};const V={};return W.state.forEach(Q=>{V[Q.type]||(V[Q.type]=[]),V[Q.type].push(Q)}),V}function P(W){r.getInspectorState({inspectorId:"components",nodeId:W}).then(({data:V})=>{_.value=T(V)})}function R(){_.value={}}ia(()=>{p().then(()=>{a.value=!0}),r.on.inspectorTreeUpdated(W=>{W?.data?.length&&(n.value=W.data,u.value={...v(W.data),...u.value},C(W.data))},{inspectorId:"components"}),r.on.inspectorStateUpdated(W=>{_.value=T(W)},{inspectorId:"components"})});const L=U("");_2(L,W=>{const V=W.trim().toLowerCase();l(),p(V).then(()=>{l()})},{debounce:300});const te=Zi();return(W,V)=>{const Q=fue,Ie=Lm,Re=oa;return O(),ne(Re,{"h-screen":""},{default:G(()=>[z(y(JA),null,{default:G(()=>[z(y(Io),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",Iue,[y(a)?(O(),ne(y(Da),{key:0,modelValue:y(L),"onUpdate:modelValue":V[0]||(V[0]=We=>ze(L)?L.value=We:null),"loading-debounce-time":250,loading:!y(s),placeholder:"Find components...","flex-1":""},null,8,["modelValue","loading"])):be("",!0),y(te).vitePluginDetected.value?(O(),F("button",{key:1,"px-1":"",onClick:N},[(O(),F("svg",{xmlns:"http://www.w3.org/2000/svg",style:_r([{height:"1.1em",width:"1.1em",opacity:"0.5"},"opacity:1;color:#00dc82"]),viewBox:"0 0 24 24"},pue))])):be("",!0)]),w("div",mue,[(O(!0),F(ye,null,vt(y(n),We=>(O(),ne(Q,{key:We.id,data:We,onSelect:k,onMouseenter:b,onMouseleave:b},null,8,["data"]))),128))])]),_:1}),z(y(Io),{flex:"","flex-col":""},{default:G(()=>[w("div",yue,[y(d)?.name?(O(),F("span",bue,we(y(d).name),1)):be("",!0),w("div",$ue,[rn(z(y(Pt),{title:"Scroll to Component",icon:"i-iconoir:mouse-scroll-wheel",action:"","flex-none":"",border:!1,onClick:V[1]||(V[1]=We=>S(y(g)))},null,512),[[y(Ho),"Scroll to Component"]]),y(A)&&y(te).vitePluginDetected.value?rn((O(),ne(y(Pt),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:V[2]||(V[2]=We=>y(o)(y(A)))},null,512)),[[y(Ho),"Open in Editor"]]):be("",!0)])]),wue,(O(),F("div",{key:y(g),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(O(!0),F(ye,null,vt(y(_),(We,Fe)=>(O(),ne(Ie,{id:Fe,key:Fe,"node-id":y(i),data:We,name:`${Fe}`,"inspector-id":"components"},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Eue="7.0.8",Sue={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},Tue=w("div",{"flex-auto":""},null,-1),Oue={flex:"~ col","mt-20":"","items-center":""},kue={flex:"~","mt--10":"","items-center":"","justify-center":""},xue={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},Pue=w("span",{op40:""}," Vue DevTools ",-1),Rue={op40:""},Due={flex:"~ gap2 wrap"},Nue={p4:"","theme-card-green":"",flex:"~ col auto"},Mue=w("div",{"i-logos-vue":"","text-3xl":""},null,-1),Bue=w("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Fue=w("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),Lue={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},zue=w("a",{href:"https://github.com/vuejs/devtools-next",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[w("div",{"i-carbon-star":""}),ke(" Star on GitHub ")],-1),jue=w("a",{href:"https://github.com/vuejs/devtools-next/discussions/111",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[w("div",{"i-carbon-data-enrichment":""}),ke(" Ideas & Suggestions ")],-1),Vue=w("a",{href:"https://github.com/vuejs/devtools-next/discussions/112",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[w("div",{"i-carbon-plan":""}),ke(" Project Roadmap ")],-1),Gue=w("a",{href:"https://github.com/vuejs/devtools-next/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[w("div",{"i-carbon-debug":""}),ke(" Bug Reports ")],-1),Wue=w("div",{"i-carbon-settings":""},null,-1),Hue=w("div",{"flex-auto":""},null,-1),Uue={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},Zue=w("span",null,"+",-1),Kue=w("span",null,"+",-1),Yue={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},Xue=w("span",null,"+",-1),Que=w("span",null,"+",-1),que=w("span",null,"+",-1),Jue=w("span",null,"+",-1),ece=$e({__name:"overview",setup(t){const r=_n(),{vueVersion:e}=Zi(),n=U(1),i=U(0);function o(a){let s=0;for(const l of a)s++,l.children?.length&&(s+=o(l.children));return s}return ia(()=>{r.getRouterInfo().then(({data:a})=>{n.value=a?.routes?.length||1}),r.on.routerInfoUpdated(a=>{n.value=a?.routes?.length||1}),r.getInspectorTree({inspectorId:"components",filter:""}).then(({data:a})=>{i.value=o(a)}),r.on.inspectorTreeUpdated(a=>{a?.data?.length&&(i.value=o(a.data))},{inspectorId:"components"})}),(a,s)=>{const l=S2,g=bi("RouterLink"),u=oa;return O(),ne(u,{"h-screen":"","w-full":"",flex:"","of-auto":""},{default:G(()=>[w("div",Sue,[Tue,w("div",Oue,[w("div",kue,[z(l,{"h-18":""})]),w("div",xue,[Pue,w("code",Rue,"v"+we(y(Eue)),1)])]),w("div",Due,[w("div",Nue,[Mue,w("code",null,"v"+we(y(e)),1)]),z(g,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[Bue,w("div",null,we(y(n))+" pages",1)]),_:1}),y(i)?(O(),ne(g,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[Fue,w("div",null,we(y(i))+" components",1)]),_:1})):be("",!0)]),w("div",Lue,[zue,jue,Vue,Gue,z(g,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:G(()=>[Wue,ke(" Settings ")]),_:1})]),Hue,w("div",Uue,[ke(" Press "),y(yk)()?(O(),F(ye,{key:0},[z(y(ot),null,{default:G(()=>[ke(" ⌘ Command ")]),_:1}),Zue,z(y(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)):(O(),F(ye,{key:1},[z(y(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),Kue,z(y(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)),ke(" to toggle Command Palette ")]),w("div",Yue,[ke(" Press "),y(yk)()?(O(),F(ye,{key:0},[z(y(ot),null,{default:G(()=>[ke(" ⇧ Shift ")]),_:1}),Xue,z(y(ot),null,{default:G(()=>[ke(" ⌥ Option ")]),_:1}),Que,z(y(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)):(O(),F(ye,{key:1},[z(y(ot),null,{default:G(()=>[ke(" Shift ")]),_:1}),que,z(y(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),Jue,z(y(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)),ke(" to toggle DevTools ")])])]),_:1})}}});function tce(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var e=t.indexOf("Trident/");if(e>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let gv;function C_(){C_.init||(C_.init=!0,gv=tce()!==-1)}var jm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){C_(),wn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",gv&&this.$el.appendChild(t),t.data="about:blank",gv||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!gv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const rce=rj();fm("data-v-b329ee4c");const nce={class:"resize-observer",tabindex:"-1"};Cm();const ice=rce((t,r,e,n,i,o)=>(O(),ne("div",nce)));jm.render=ice;jm.__scopeId="data-v-b329ee4c";jm.__file="src/components/ResizeObserver.vue";function uv(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?uv=function(r){return typeof r}:uv=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},uv(t)}function oce(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function MP(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ace(t,r,e){return r&&MP(t.prototype,r),e&&MP(t,e),t}function BP(t){return sce(t)||lce(t)||gce(t)||uce()}function sce(t){if(Array.isArray(t))return I_(t)}function lce(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function gce(t,r){if(t){if(typeof t=="string")return I_(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return I_(t,r)}}function I_(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function uce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cce(t){var r;return typeof t=="function"?r={callback:t}:r=t,r}function dce(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,i,o,a=function(l){for(var g=arguments.length,u=new Array(g>1?g-1:0),c=1;c<g;c++)u[c-1]=arguments[c];if(o=u,!(n&&l===i)){var d=e.leading;typeof d=="function"&&(d=d(l,i)),(!n||l!==i)&&d&&t.apply(void 0,[l].concat(BP(o))),i=l,clearTimeout(n),n=setTimeout(function(){t.apply(void 0,[l].concat(BP(o))),n=0},r)}};return a._clear=function(){clearTimeout(n),n=null},a}function _6(t,r){if(t===r)return!0;if(uv(t)==="object"){for(var e in t)if(!_6(t[e],r[e]))return!1;return!0}return!1}var hce=function(){function t(r,e,n){oce(this,t),this.el=r,this.observer=null,this.frozen=!1,this.createObserver(e,n)}return ace(t,[{key:"createObserver",value:function(e,n){var i=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=cce(e),this.callback=function(s,l){i.options.callback(s,l),s&&i.options.once&&(i.frozen=!0,i.destroyObserver())},this.callback&&this.options.throttle){var o=this.options.throttleOptions||{},a=o.leading;this.callback=dce(this.callback,this.options.throttle,{leading:function(l){return a==="both"||a==="visible"&&l||a==="hidden"&&!l}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var l=s[0];if(s.length>1){var g=s.find(function(c){return c.isIntersecting});g&&(l=g)}if(i.callback){var u=l.isIntersecting&&l.intersectionRatio>=i.threshold;if(u===i.oldResult)return;i.oldResult=u,i.callback(u,l)}},this.options.intersection),wn(function(){i.observer&&i.observer.observe(i.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),t}();function E6(t,r,e){var n=r.value;if(n)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var i=new hce(t,n,e);t._vue_visibilityState=i}}function Ace(t,r,e){var n=r.value,i=r.oldValue;if(!_6(n,i)){var o=t._vue_visibilityState;if(!n){S6(t);return}o?o.createObserver(n,e):E6(t,{value:n},e)}}function S6(t){var r=t._vue_visibilityState;r&&(r.destroyObserver(),delete t._vue_visibilityState)}var fce={beforeMount:E6,updated:Ace,unmounted:S6},Cce={itemsLimit:1e3},Ice=/(auto|scroll)/;function T6(t,r){return t.parentNode===null?r:T6(t.parentNode,r.concat([t]))}var Wb=function(r,e){return getComputedStyle(r,null).getPropertyValue(e)},vce=function(r){return Wb(r,"overflow")+Wb(r,"overflow-y")+Wb(r,"overflow-x")},pce=function(r){return Ice.test(vce(r))};function FP(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var r=T6(t.parentNode,[]),e=0;e<r.length;e+=1)if(pce(r[e]))return r[e];return document.scrollingElement||document.documentElement}}function v_(t){"@babel/helpers - typeof";return v_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v_(t)}var mce={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(r){return["vertical","horizontal"].includes(r)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function yce(){return this.items.length&&v_(this.items[0])!=="object"}var p_=!1;if(typeof window<"u"){p_=!1;try{var bce=Object.defineProperty({},"passive",{get:function(){p_=!0}});window.addEventListener("test",null,bce)}catch{}}let $ce=0;var Vm={name:"RecycleScroller",components:{ResizeObserver:jm},directives:{ObserveVisibility:fce},props:{...mce,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const t={"-1":{accumulator:0}},r=this.items,e=this.sizeField,n=this.minItemSize;let i=1e4,o=0,a;for(let s=0,l=r.length;s<l;s++)a=r[s][e]||n,a<i&&(i=a),o+=a,t[s]={accumulator:o,size:a};return this.$_computedMinItemSize=i,t}return[]},simpleArray:yce,itemIndexByKey(){const{keyField:t,items:r}=this,e={};for(let n=0,i=r.length;n<i;n++)e[r[n][t]]=n;return e}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const t=this.$_lastUpdateScrollPosition;typeof t=="number"&&this.$nextTick(()=>{this.scrollToPosition(t)})},beforeUnmount(){this.removeListeners()},methods:{addView(t,r,e,n,i){const o=ZS({id:$ce++,index:r,used:!0,key:n,type:i}),a=HS({item:e,position:0,nr:o});return t.push(a),a},unuseView(t,r=!1){const e=this.$_unusedViews,n=t.nr.type;let i=e.get(n);i||(i=[],e.set(n,i)),i.push(t),r||(t.nr.used=!1,t.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(t){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const r=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:e}=this.updateVisibleItems(!1,!0);e||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});r(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&r()},this.updateInterval))}},handleVisibilityChange(t,r){this.ready&&(t||r.boundingClientRect.width!==0||r.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(t,r=!1){const e=this.itemSize,n=this.gridItems||1,i=this.itemSecondarySize||e,o=this.$_computedMinItemSize,a=this.typeField,s=this.simpleArray?null:this.keyField,l=this.items,g=l.length,u=this.sizes,c=this.$_views,d=this.$_unusedViews,h=this.pool,A=this.itemIndexByKey;let f,C,I,v,p;if(!g)f=C=v=p=I=0;else if(this.$_prerender)f=v=0,C=p=Math.min(this.prerender,l.length),I=null;else{const T=this.getScroll();if(r){let L=T.start-this.$_lastUpdateScrollPosition;if(L<0&&(L=-L),e===null&&L<o||L<e)return{continuous:!0}}this.$_lastUpdateScrollPosition=T.start;const P=this.buffer;T.start-=P,T.end+=P;let R=0;if(this.$refs.before&&(R=this.$refs.before.scrollHeight,T.start-=R),this.$refs.after){const L=this.$refs.after.scrollHeight;T.end+=L}if(e===null){let L,te=0,W=g-1,V=~~(g/2),Q;do Q=V,L=u[V].accumulator,L<T.start?te=V:V<g-1&&u[V+1].accumulator>T.start&&(W=V),V=~~((te+W)/2);while(V!==Q);for(V<0&&(V=0),f=V,I=u[g-1].accumulator,C=V;C<g&&u[C].accumulator<T.end;C++);for(C===-1?C=l.length-1:(C++,C>g&&(C=g)),v=f;v<g&&R+u[v].accumulator<T.start;v++);for(p=v;p<g&&R+u[p].accumulator<T.end;p++);}else{f=~~(T.start/e*n);const L=f%n;f-=L,C=Math.ceil(T.end/e*n),v=Math.max(0,Math.floor((T.start-R)/e*n)),p=Math.floor((T.end-R)/e*n),f<0&&(f=0),C>g&&(C=g),v<0&&(v=0),p>g&&(p=g),I=Math.ceil(g/n)*e}}C-f>Cce.itemsLimit&&this.itemsLimitError(),this.totalSize=I;let m;const b=f<=this.$_endIndex&&C>=this.$_startIndex;if(b)for(let T=0,P=h.length;T<P;T++)m=h[T],m.nr.used&&(t&&(m.nr.index=A[m.item[s]]),(m.nr.index==null||m.nr.index<f||m.nr.index>=C)&&this.unuseView(m));const S=b?null:new Map;let N,k,_;for(let T=f;T<C;T++){N=l[T];const P=s?N[s]:N;if(P==null)throw new Error(`Key is ${P} on item (keyField is '${s}')`);if(m=c.get(P),!e&&!u[T].size){m&&this.unuseView(m);continue}k=N[a];let R=d.get(k),L=!1;if(!m)b?R&&R.length?m=R.pop():m=this.addView(h,T,N,P,k):(_=S.get(k)||0,(!R||_>=R.length)&&(m=this.addView(h,T,N,P,k),this.unuseView(m,!0),R=d.get(k)),m=R[_],S.set(k,_+1)),c.delete(m.nr.key),m.nr.used=!0,m.nr.index=T,m.nr.key=P,m.nr.type=k,c.set(P,m),L=!0;else if(!m.nr.used&&(m.nr.used=!0,L=!0,R)){const te=R.indexOf(m);te!==-1&&R.splice(te,1)}m.item=N,L&&(T===l.length-1&&this.$emit("scroll-end"),T===0&&this.$emit("scroll-start")),e===null?(m.position=u[T-1].accumulator,m.offset=0):(m.position=Math.floor(T/n)*e,m.offset=T%n*i)}return this.$_startIndex=f,this.$_endIndex=C,this.emitUpdate&&this.$emit("update",f,C,v,p),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:b}},getListenerTarget(){let t=FP(this.$el);return window.document&&(t===window.document.documentElement||t===window.document.body)&&(t=window),t},getScroll(){const{$el:t,direction:r}=this,e=r==="vertical";let n;if(this.pageMode){const i=t.getBoundingClientRect(),o=e?i.height:i.width;let a=-(e?i.top:i.left),s=e?window.innerHeight:window.innerWidth;a<0&&(s+=a,a=0),a+s>o&&(s=o-a),n={start:a,end:a+s}}else e?n={start:t.scrollTop,end:t.scrollTop+t.clientHeight}:n={start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return n},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,p_?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(t){let r;const e=this.gridItems||1;this.itemSize===null?r=t>0?this.sizes[t-1].accumulator:0:r=Math.floor(t/e)*this.itemSize,this.scrollToPosition(r)},scrollToPosition(t){const r=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let e,n,i;if(this.pageMode){const o=FP(this.$el),a=o.tagName==="HTML"?0:o[r.scroll],s=o.getBoundingClientRect(),g=this.$el.getBoundingClientRect()[r.start]-s[r.start];e=o,n=r.scroll,i=t+a+g}else e=this.$el,n=r.scroll,i=t;e[n]=i},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((t,r)=>t.nr.index-r.nr.index)}}};const wce={key:0,ref:"before",class:"vue-recycle-scroller__slot"},_ce={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ece(t,r,e,n,i,o){const a=bi("ResizeObserver"),s=Im("observe-visibility");return rn((O(),F("div",{class:_e(["vue-recycle-scroller",{ready:i.ready,"page-mode":e.pageMode,[`direction-${t.direction}`]:!0}]),onScrollPassive:r[0]||(r[0]=(...l)=>o.handleScroll&&o.handleScroll(...l))},[t.$slots.before?(O(),F("div",wce,[Xe(t.$slots,"before")],512)):be("v-if",!0),(O(),ne(Xs(e.listTag),{ref:"wrapper",style:_r({[t.direction==="vertical"?"minHeight":"minWidth"]:i.totalSize+"px"}),class:_e(["vue-recycle-scroller__item-wrapper",e.listClass])},{default:G(()=>[(O(!0),F(ye,null,vt(i.pool,l=>(O(),ne(Xs(e.itemTag),yn({key:l.nr.id,style:i.ready?{transform:`translate${t.direction==="vertical"?"Y":"X"}(${l.position}px) translate${t.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:e.gridItems?`${t.direction==="vertical"&&e.itemSecondarySize||e.itemSize}px`:void 0,height:e.gridItems?`${t.direction==="horizontal"&&e.itemSecondarySize||e.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[e.itemClass,{hover:!e.skipHover&&i.hoverKey===l.nr.key}]]},DJ(e.skipHover?{}:{mouseenter:()=>{i.hoverKey=l.nr.key},mouseleave:()=>{i.hoverKey=null}})),{default:G(()=>[Xe(t.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),Xe(t.$slots,"empty")]),_:3},8,["style","class"])),t.$slots.after?(O(),F("div",_ce,[Xe(t.$slots,"after")],512)):be("v-if",!0),z(a,{onNotify:o.handleResize},null,8,["onNotify"])],34)),[[s,o.handleVisibilityChange]])}Vm.render=Ece;Vm.__file="src/components/RecycleScroller.vue";const Sce=["onClick"],O6=$e({__name:"InspectorTree",props:{modelValue:{},data:{}},emits:["update:modelValue"],setup(t,{emit:r}){const e=r;function n(i){e("update:modelValue",i)}return(i,o)=>{const a=w6;return O(),ne(y(Vm),{items:i.data,"min-item-size":32,"key-field":"id","page-mode":""},{default:G(({item:s})=>[w("div",{class:_e(["selectable-item",{active:i.modelValue===s.id}]),onClick:l=>n(s.id)},[w("span",null,we(s.label),1),(O(!0),F(ye,null,vt(s.tags,(l,g)=>(O(),ne(a,{key:g,tag:l},null,8,["tag"]))),128))],10,Sce)]),_:1},8,["items"])}}}),Tce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Oce=$e({__name:"pinia",setup(t){const r=_n(),e=U(""),n=U([]),i=U({});function o(s){r.getInspectorState({inspectorId:"pinia",nodeId:s}).then(({data:l})=>{i.value=l})}function a(){i.value={}}return rt(e,()=>{a(),o(e.value)}),gA("inspector-state"),ia(()=>{r.getInspectorTree({inspectorId:"pinia",filter:""}).then(({data:s})=>{n.value=s,!e.value&&s.length&&(e.value=s[0].id,o(s[0].id))}),r.on.inspectorTreeUpdated(s=>{s?.data.length&&(n.value=s.data,!e.value&&s.data.length&&(e.value=s.data[0].id,o(s.data[0].id)))},{inspectorId:"pinia"}),r.on.inspectorStateUpdated(s=>{!s||!s.state.length||(i.value=s)},{inspectorId:"pinia"})}),(s,l)=>{const g=O6,u=Lm,c=oa;return O(),ne(c,{"h-screen":""},{default:G(()=>[z(y(JA),null,{default:G(()=>[z(y(Io),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",Tce,[z(g,{modelValue:y(e),"onUpdate:modelValue":l[0]||(l[0]=d=>ze(e)?e.value=d:null),data:y(n)},null,8,["modelValue","data"])])]),_:1}),z(y(Io),{flex:"","flex-col":""},{default:G(()=>[(O(),F("div",{key:y(e),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(O(!0),F(ye,null,vt(y(i),(d,h)=>(O(),ne(u,{id:h,key:h,"inspector-id":"pinia","node-id":y(e),data:d,name:`${h}`},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),kce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},xce=$e({__name:"router",setup(t){const r=_n(),e=U(""),n=U([]),i=U({}),o=Zi(),a=X(()=>`router-inspector:${o.appRecords.value.find(u=>u.id===o.activeAppRecordId.value)?.routerId??0}`);gA("inspector-state");function s(g){r.getInspectorState({inspectorId:a.value,nodeId:g}).then(({data:u})=>{i.value=u})}function l(){i.value={}}return rt(e,()=>{l(),s(e.value)}),ia(()=>{r.getInspectorTree({inspectorId:a.value,filter:""}).then(({data:g})=>{n.value=g,!e.value&&g.length&&(e.value=g[0].id,s(g[0].id))}),r.on.inspectorTreeUpdated(g=>{g?.data?.length&&(n.value=g.data,!e.value&&g.data.length&&(e.value=g.data[0].id,s(g.data[0].id)))},{inspectorId:a.value}),r.on.inspectorStateUpdated(g=>{!g||!g.state||g.inspectorId!==a.value||(i.value=g)},{inspectorId:a.value})}),(g,u)=>{const c=O6,d=Lm,h=oa;return O(),ne(h,{"h-screen":""},{default:G(()=>[z(y(JA),null,{default:G(()=>[z(y(Io),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",kce,[z(c,{modelValue:y(e),"onUpdate:modelValue":u[0]||(u[0]=A=>ze(e)?e.value=A:null),data:y(n)},null,8,["modelValue","data"])])]),_:1}),z(y(Io),{flex:"","flex-col":""},{default:G(()=>[(O(),F("div",{key:y(e),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(O(!0),F(ye,null,vt(y(i),(A,f)=>(O(),ne(d,{id:f,key:f,data:A,name:`${f}`,"inspector-id":"router"},null,8,["id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Pce={class:"h-full flex flex-col items-center justify-center p-12 text-center text-gray-400 space-y-6 dark:text-gray-600"},Rce=$e({__name:"EmptyPane",props:{icon:{},inline:{type:Boolean}},setup(t){const r=t;return(e,n)=>(O(),F("div",Pce,[z(y(Pt),jA(od(r)),null,16),w("div",null,[Xe(e.$slots,"default")])]))}}),Dce=["onClick"],Nce={class:"flex-1 truncate font-mono space-x-1"},Mce=["innerHTML"],Bce={key:0,class:"flex-none text-xs font-mono op-50"},Fce=$e({__name:"TimelineEvent",props:{modelValue:{},data:{}},emits:["update:modelValue"],setup(t,{emit:r}){const e=r;function n(i){e("update:modelValue",i)}return(i,o)=>(O(),ne(y(Vm),{items:i.data,"min-item-size":42,"key-field":"id","page-mode":""},{default:G(({item:a})=>[w("li",{class:_e(["flex cursor-pointer items-center border-b px-2 py-2 text-gray-200 dark:border-bluegray-800",{"hover:bg-blue-100 dark:hover:bg-blue-900 text-bluegray-800 dark:text-bluegray-200":i.modelValue!==a.id,"bg-primary-500 text-white":i.modelValue===a.id}]),onClick:s=>n(a.id)},[w("span",Nce,[w("span",{class:_e(["font-medium",{"text-purple-600 dark:text-purple-400":i.modelValue!==a.id}])},[w("span",null,we(a.title||"Event"),1)],2),a.subtitle?(O(),F("span",{key:0,class:"op-75",innerHTML:a.subtitle},null,8,Mce)):be("",!0)]),a.time?(O(),F("span",Bce,we(y(gue)(a.time)),1)):be("",!0)],10,Dce)]),_:1},8,["items"]))}}),Lce={"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},zce=$e({__name:"TimelineLayer",props:{modelValue:{},data:{}},emits:["update:modelValue"],setup(t,{emit:r}){const e=t,n=r;function i(){n("update:modelValue",e.data.id)}const o=X(()=>`#${f_(e.data.color)}`);return(a,s)=>(O(),F("div",{class:"selectable-item",style:_r(a.modelValue===a.data.id?{color:o.value}:{}),onClick:i},[w("span",Lce,we(a.data.label),1)],4))}}),jce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Vce={"h-screen":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Gce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Wce=$e({__name:"timeline",setup(t){const r=_n(),e=U([]),n=U({}),i=U(""),o=U("");gA("inspector-state");const a=X(()=>n.value[i.value]?.map((d,h)=>({...d,id:`${h}`}))??[]),s=X(()=>a.value?.[+(o.value??0)]?.data??{}),l=X(()=>{const d=[];for(const h in s.value)d.push({key:h,type:h,editable:!1,value:s.value[h]});return d}),g=X(()=>{const d=e.value.find(f=>f.id===i.value)?.groups,h=a.value?.[+(o.value??0)]?.groupId,A=d?.[h];if(A)return[{key:"events",type:"events",editable:!1,value:A.events.length},A.duration&&{key:"duration",type:"duration",editable:!1,value:`${A.duration}ms`}].filter(Boolean)}),u=X(()=>({"event info":l.value,...g.value&&{"group info":g.value}}));function c(d,h){const A=e.value.find(f=>f.id===d);A&&(`${h.groupId}`!==ZA||h.groupId!=null)&&(A.groups[h.groupId]??={events:[],duration:0},A.groups[h.groupId].events.push(h),A.groups[h.groupId].duration=h.time-A.groups[h.groupId].events?.[0]?.time)}return ia(()=>{r.getTimelineLayer().then(({data:d})=>{e.value=d,e.value.forEach(h=>{n.value[h.id]=[],h.groups={}}),i.value||(i.value=d.length?d[0].id:"")}),r.on.addTimelineEvent(d=>{if(!d)return;const{layerId:h,event:A}=d;n.value[h].push(A),c(h,A)})}),rt(()=>a.value.length,d=>{d&&(o.value="0")}),(d,h)=>{const A=zce,f=Fce,C=Rce,I=Lm,v=oa;return y(e).length?(O(),ne(v,{key:0},{default:G(()=>[z(y(JA),null,{default:G(()=>[z(y(Io),{border:"r base",size:"20"},{default:G(()=>[w("div",jce,[(O(!0),F(ye,null,vt(y(e),p=>(O(),ne(A,{key:p.id,modelValue:y(i),"onUpdate:modelValue":h[0]||(h[0]=m=>ze(i)?i.value=m:null),data:p},null,8,["modelValue","data"]))),128))])]),_:1}),z(y(Io),{border:"r base",size:"45"},{default:G(()=>[w("div",Vce,[y(a).length?(O(),ne(f,{key:0,modelValue:y(o),"onUpdate:modelValue":h[1]||(h[1]=p=>ze(o)?o.value=p:null),data:y(a)},null,8,["modelValue","data"])):(O(),ne(C,{key:1,icon:"i-ic-baseline-inbox"},{default:G(()=>[ke(" No events ")]),_:1}))])]),_:1}),z(y(Io),{size:"35"},{default:G(()=>[w("div",Gce,[y(o)?(O(!0),F(ye,{key:0},vt(y(u),(p,m)=>(O(),ne(I,{id:`${m}`,key:m+Date.now(),data:p,name:`${m}`,"disable-edit":!0,"node-id":"","inspector-id":""},null,8,["id","data","name"]))),128)):(O(),ne(C,{key:1,icon:"i-carbon:menu"},{default:G(()=>[ke(" Select an event to display details ")]),_:1}))])]),_:1})]),_:1})]),_:1})):(O(),ne(C,{key:1,icon:"i-ic-baseline-inbox"},{default:G(()=>[ke(" No layers ")]),_:1}))}}}),Hce={flex:"~ gap-3","items-center":""},P2=$e({__name:"IconTitle",props:{icon:{},text:{}},setup(t){return(r,e)=>(O(),F("div",Hce,[r.icon?(O(),F("div",{key:0,class:_e(r.icon)},null,2)):be("",!0),Xe(r.$slots,"default",{},()=>[w("div",null,we(r.text),1)])]))}}),k6=t=>(fm("data-v-d09fbc98"),t=t(),Cm(),t),Uce=["open"],Zce={"text-base":""},Kce={key:0,"text-sm":"",op50:""},Yce=k6(()=>w("div",{class:"flex-auto"},null,-1)),Xce=k6(()=>w("div",{class:"x-divider"},null,-1)),Qce=$e({__name:"SectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(t){const e=Mm(t,"open",void 0,{passive:!0});function n(i){e.value=i.target.open}return(i,o)=>{const a=P2,s=Im("lazy-show");return O(),F(ye,null,[w("details",{open:y(e),onToggle:n},[w("summary",{class:_e(["cursor-pointer select-none hover:bg-active p4",i.collapse?"":"pointer-events-none"])},[z(a,{icon:i.icon,text:i.text,"text-xl":"",transition:"",class:_e(y(e)?"op100":"op60")},{default:G(()=>[w("div",null,[w("div",Zce,[Xe(i.$slots,"text",{},()=>[ke(we(i.text),1)],!0)]),i.description||i.$slots.description?(O(),F("div",Kce,[Xe(i.$slots,"description",{},()=>[ke(we(i.description),1)],!0)])):be("",!0)]),Yce,Xe(i.$slots,"actions",{},void 0,!0),i.collapse?(O(),ne(y(Pt),{key:0,icon:"i-carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"",op75:"",transition:"","duration-500":"","text-base":""})):be("",!0)]),_:3},8,["icon","text","class"])],2),rn((O(),F("div",{class:_e(["flex flex-col flex-gap2 pb6 pt2",typeof i.padding=="string"?i.padding:i.padding?"px4":""])},[Xe(i.$slots,"details",{},void 0,!0),w("div",{class:_e([i.containerClass,"mt1"])},[Xe(i.$slots,"default",{},void 0,!0)],2),Xe(i.$slots,"footer",{},void 0,!0)],2)),[[s,y(e)]])],40,Uce),Xce],64)}}}),x6=qA(Qce,[["__scopeId","data-v-d09fbc98"]]),qce={block:"","cursor-pointer":""},Jce={p2:""},ede=["onSubmit"],tde=w("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1),rde={flex:"~","items-center":"",p2:"","text-sm":"","font-mono":""},nde={key:1},ide=$e({__name:"RoutePathItem",props:{route:{}},emits:["navigate"],setup(t,{emit:r}){const e=t,n=r;function i(u){return u.split(/(:\w+[\?\*]?)/).filter(Boolean)}const o=U([]),a=X(()=>{const u=i(e.route.path);return o.value=Array.from({length:u.length},()=>""),u}),s=X(()=>a.value.map((u,c)=>u[0]===":"?o.value[c]:u).join("").replace(/\/+/g,"/")),l=X(()=>e.route.path.includes(":"));function g(){n("navigate",s.value)}return(u,c)=>y(l)?(O(),ne(y(kc),{key:1},{popper:G(({hide:d})=>[w("div",Jce,[w("form",{flex:"~ col",onSubmit:$n(()=>{g(),d()},["prevent"])},[y(l)?(O(),F(ye,{key:0},[tde,w("div",rde,[(O(!0),F(ye,null,vt(y(a),(h,A)=>(O(),F(ye,{key:A},[h[0]===":"?(O(),ne(y(Da),{key:0,modelValue:y(o)[A],"onUpdate:modelValue":f=>y(o)[A]=f,"n-sm":"","w-20":"",placeholder:h.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(O(),F("span",nde,we(h),1))],64))),128))])],64)):be("",!0),z(y(ot),{block:"",type:"primary"},{default:G(()=>[ke(" Navigate ")]),_:1})],40,ede)])]),default:G(()=>[w("code",qce,[(O(!0),F(ye,null,vt(y(a),(d,h)=>(O(),F("span",{key:h,class:_e(d[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},we(d[0]===":"?d.slice(1):d),3))),128))])]),_:1})):(O(),F("button",{key:0,onClick:g},[w("code",null,we(u.route.path),1)]))}}),ode={"w-full":""},ade=w("thead",{border:"b base","px-3":""},[w("tr",null,[w("th",{"text-left":""}),w("th",{"text-left":""}," Route Path "),w("th",{"text-left":""}," Name "),w("th",{"text-left":""})])],-1),sde={"w-20":"","pr-1":""},lde={flex:"","items-center":"","justify-end":""},gde={"text-sm":""},ude={flex:"inline gap3","items-center":""},cde={op0:"","group-hover:op100":"",flex:"~ gap1"},dde=["onClick"],hde=w("div",{"i-carbon-script-reference":""},null,-1),Ade=[hde],fde={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:""},Cde=$e({__name:"RoutesTable",props:{pages:{},matched:{},matchedPending:{}},emits:["navigate"],setup(t){const r=t,e=X(()=>[...r.pages].sort((o,a)=>o.path.localeCompare(a.path))),n=zm,i=Zi();return(o,a)=>{const s=ide;return O(),F("div",null,[w("table",ode,[ade,w("tbody",null,[(O(!0),F(ye,null,vt(y(e),l=>(O(),F("tr",{key:l.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[w("td",sde,[w("div",lde,[o.matched.find(g=>g.name===l.name)?(O(),ne(y(CP),{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):o.matchedPending.find(g=>g.name===l.name)?(O(),ne(y(CP),{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):be("",!0)])]),w("td",gde,[w("div",ude,[z(s,{route:l,class:_e(o.matched.find(g=>g.name===l.name)?"text-primary-400":o.matchedPending.find(g=>g.name===l.name)?"text-teal":""),onNavigate:a[0]||(a[0]=g=>o.$emit("navigate",g))},null,8,["route","class"]),w("div",cde,[(l.file||l.meta?.file)&&y(i).vitePluginDetected.value?(O(),F("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary-400",title:"Open in editor",onClick:g=>y(n)(l.file||l.meta?.file)},Ade,8,dde)):be("",!0)])])]),w("td",fde,we(l.name),1)]))),128))])])])}}}),Ide={"h-full":"","of-auto":""},vde={border:"b base",flex:"~ col gap1",px4:"",py3:""};const pde={key:1,op50:""},mde=w("span",null,[ke("Press "),w("b",{"font-bold":""},"Enter"),ke(" to navigate")],-1),yde={key:0,"text-orange":"",op75:""},bde={key:1,op50:""},$de=$e({__name:"pages",setup(t){const r=_n(),e=U(""),n=U(null),i=U([]),o=X(()=>e.value===n.value?.path?[]:i.value),a=U([]);function s(u){a.value=u.routes,n.value=u.currentRoute,e.value=n.value?.path??"/"}function l(){o.value.length&&g(e.value)}function g(u){r.navigate({path:u})}return ia(()=>{r.getRouterInfo().then(({data:u})=>{s(u)}),r.on.routerInfoUpdated(u=>{s(u)})}),_2(e,()=>{e.value!==n.value?.path&&r.getMatchedRoutes(e.value).then(u=>{i.value=u.data})}),(u,c)=>{const d=Cde,h=x6,A=oa;return O(),ne(A,{block:"","h-screen":"","of-auto":""},{default:G(()=>[w("div",Ide,[w("div",vde,[w("div",null,[(O(),F("span",pde,"Current route"))]),z(y(Da),{modelValue:y(e),"onUpdate:modelValue":c[0]||(c[0]=f=>ze(e)?e.value=f:null),"left-icon":"i-carbon-direction-right-01 scale-y--100",class:_e(y(n)?.path===y(e)?"":y(o).length?"text-green!":"text-orange!"),onKeydown:xj(l,["enter"])},null,8,["modelValue","class"]),w("div",null,[y(n)?.path!==y(e)?(O(),F(ye,{key:0},[mde,y(o).length?be("",!0):(O(),F("span",yde," (no match)"))],64)):(O(),F("span",bde,"Edit path above to navigate"))])]),z(h,{icon:"i-carbon-tree-view-alt",text:"All Routes",description:`${y(a).length} routes registered in your application`,padding:!1},{default:G(()=>[y(a).length?(O(),ne(d,{key:0,pages:y(a),matched:y(n)?.matched??[],"matched-pending":y(o),onNavigate:g},null,8,["pages","matched","matched-pending"])):be("",!0)]),_:1},8,["description"])])]),_:1})}}});var co;(function(t){t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline"})(co||(co={}));var xc;(function(t){function r(u){return u.toString(2).padStart(32,"0")}t.toBinaryStr=r;function e(u){const c=t.getLanguageId(u),d=t.getTokenType(u),h=t.getFontStyle(u),A=t.getForeground(u),f=t.getBackground(u);console.log({languageId:c,tokenType:d,fontStyle:h,foreground:A,background:f})}t.print=e;function n(u){return(u&255)>>>0}t.getLanguageId=n;function i(u){return(u&768)>>>8}t.getTokenType=i;function o(u){return(u&1024)!==0}t.containsBalancedBrackets=o;function a(u){return(u&30720)>>>11}t.getFontStyle=a;function s(u){return(u&16744448)>>>15}t.getForeground=s;function l(u){return(u&4278190080)>>>24}t.getBackground=l;function g(u,c,d,h,A,f,C){let I=t.getLanguageId(u),v=t.getTokenType(u),p=t.containsBalancedBrackets(u)?1:0,m=t.getFontStyle(u),b=t.getForeground(u),S=t.getBackground(u);return c!==0&&(I=c),d!==8&&(v=d),h!==null&&(p=h?1:0),A!==-1&&(m=A),f!==0&&(b=f),C!==0&&(S=C),(I<<0|v<<8|p<<10|m<<11|b<<15|S<<24)>>>0}t.set=g})(xc||(xc={}));function dp(t,r){const e=[],n=wde(t);let i=n.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let g=a();if(e.push({matcher:g,priority:l}),i!==",")break;i=n.next()}return e;function o(){if(i==="-"){i=n.next();const l=o();return g=>!!l&&!l(g)}if(i==="("){i=n.next();const l=s();return i===")"&&(i=n.next()),l}if(LP(i)){const l=[];do l.push(i),i=n.next();while(LP(i));return g=>r(l,g)}return null}function a(){const l=[];let g=o();for(;g;)l.push(g),g=o();return u=>l.every(c=>c(u))}function s(){const l=[];let g=a();for(;g&&(l.push(g),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");g=a()}return u=>l.some(c=>c(u))}}function LP(t){return!!t&&!!t.match(/[\w\.:]+/)}function wde(t){let r=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,e=r.exec(t);return{next:()=>{if(!e)return null;const n=e[0];return e=r.exec(t),n}}}function P6(t){typeof t.dispose=="function"&&t.dispose()}function _de(t){return R2(t)}function R2(t){return Array.isArray(t)?Ede(t):typeof t=="object"?Sde(t):t}function Ede(t){let r=[];for(let e=0,n=t.length;e<n;e++)r[e]=R2(t[e]);return r}function Sde(t){let r={};for(let e in t)r[e]=R2(t[e]);return r}function R6(t,...r){return r.forEach(e=>{for(let n in e)t[n]=e[n]}),t}function D6(t){const r=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return r===0?t:~r===t.length-1?D6(t.substring(0,t.length-1)):t.substr(~r+1)}let Hb=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class zC{static hasCaptures(r){return r===null?!1:(Hb.lastIndex=0,Hb.test(r))}static replaceCaptures(r,e,n){return r.replace(Hb,(i,o,a,s)=>{let l=n[parseInt(o||a,10)];if(l){let g=e.substring(l.start,l.end);for(;g[0]===".";)g=g.substring(1);switch(s){case"downcase":return g.toLowerCase();case"upcase":return g.toUpperCase();default:return g}}else return i})}}function N6(t,r){return t<r?-1:t>r?1:0}function M6(t,r){if(t===null&&r===null)return 0;if(!t)return-1;if(!r)return 1;let e=t.length,n=r.length;if(e===n){for(let i=0;i<e;i++){let o=N6(t[i],r[i]);if(o!==0)return o}return 0}return e-n}function zP(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function B6(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class F6{fn;cache=new Map;constructor(r){this.fn=r}get(r){if(this.cache.has(r))return this.cache.get(r);const e=this.fn(r);return this.cache.set(r,e),e}}class uA{scopeName;constructor(r){this.scopeName=r}toKey(){return this.scopeName}}class Tde{scopeName;ruleName;constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}}class Ode{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(r){const e=r.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(r))}}class kde{repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(r,e){this.repo=r,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new uA(this.initialScopeName)]}processQueue(){const r=this.Q;this.Q=[];const e=new Ode;for(const n of r)xde(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof uA){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}}function xde(t,r,e,n){const i=e.lookup(t.scopeName);if(!i){if(t.scopeName===r)throw new Error(`No grammar provided for <${r}>`);return}const o=e.lookup(r);t instanceof uA?cv({baseGrammar:o,selfGrammar:i},n):m_(t.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},n);const a=e.injections(t.scopeName);if(a)for(const s of a)n.add(new uA(s))}function m_(t,r,e){if(r.repository&&r.repository[t]){const n=r.repository[t];hp([n],r,e)}}function cv(t,r){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&hp(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},r),t.selfGrammar.injections&&hp(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},r)}function hp(t,r,e){for(const n of t){if(e.visitedRule.has(n))continue;e.visitedRule.add(n);const i=n.repository?R6({},r.repository,n.repository):r.repository;Array.isArray(n.patterns)&&hp(n.patterns,{...r,repository:i},e);const o=n.include;if(!o)continue;const a=L6(o);switch(a.kind){case 0:cv({...r,selfGrammar:r.baseGrammar},e);break;case 1:cv(r,e);break;case 2:m_(a.ruleName,{...r,repository:i},e);break;case 3:case 4:const s=a.scopeName===r.selfGrammar.scopeName?r.selfGrammar:a.scopeName===r.baseGrammar.scopeName?r.baseGrammar:void 0;if(s){const l={baseGrammar:r.baseGrammar,selfGrammar:s,repository:i};a.kind===4?m_(a.ruleName,l,e):cv(l,e)}else a.kind===4?e.add(new Tde(a.scopeName,a.ruleName)):e.add(new uA(a.scopeName));break}}}class Pde{kind=0}class Rde{kind=1}class Dde{ruleName;kind=2;constructor(r){this.ruleName=r}}class Nde{scopeName;kind=3;constructor(r){this.scopeName=r}}class Mde{scopeName;ruleName;kind=4;constructor(r,e){this.scopeName=r,this.ruleName=e}}function L6(t){if(t==="$base")return new Pde;if(t==="$self")return new Rde;const r=t.indexOf("#");if(r===-1)return new Nde(t);if(r===0)return new Dde(t.substring(1));{const e=t.substring(0,r),n=t.substring(r+1);return new Mde(e,n)}}const Bde=/\\(\d+)/,jP=/\\(\d+)/g,Fde=-1,z6=-2;class ef{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(r,e,n,i){this.$location=r,this.id=e,this._name=n||null,this._nameIsCapturing=zC.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=zC.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${D6(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${r}`}getName(r,e){return!this._nameIsCapturing||this._name===null||r===null||e===null?this._name:zC.replaceCaptures(this._name,r,e)}getContentName(r,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:zC.replaceCaptures(this._contentName,r,e)}}class Lde extends ef{retokenizeCapturedWithRuleId;constructor(r,e,n,i,o){super(r,e,n,i),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(r,e){throw new Error("Not supported!")}compile(r,e){throw new Error("Not supported!")}compileAG(r,e,n,i){throw new Error("Not supported!")}}class zde extends ef{_match;captures;_cachedCompiledPatterns;constructor(r,e,n,i,o){super(r,e,n,null),this._match=new bg(i,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(r,e){e.push(this._match)}compile(r,e){return this._getCachedCompiledPatterns(r).compile(r)}compileAG(r,e,n,i){return this._getCachedCompiledPatterns(r).compileAG(r,n,i)}_getCachedCompiledPatterns(r){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new cA,this.collectPatterns(r,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class VP extends ef{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(r,e,n,i,o){super(r,e,n,i),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(r,e){for(const n of this.patterns)r.getRule(n).collectPatterns(r,e)}compile(r,e){return this._getCachedCompiledPatterns(r).compile(r)}compileAG(r,e,n,i){return this._getCachedCompiledPatterns(r).compileAG(r,n,i)}_getCachedCompiledPatterns(r){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new cA,this.collectPatterns(r,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class y_ extends ef{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(r,e,n,i,o,a,s,l,g,u){super(r,e,n,i),this._begin=new bg(o,this.id),this.beginCaptures=a,this._end=new bg(s||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=g||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(r,e){return this._end.resolveBackReferences(r,e)}collectPatterns(r,e){e.push(this._begin)}compile(r,e){return this._getCachedCompiledPatterns(r,e).compile(r)}compileAG(r,e,n,i){return this._getCachedCompiledPatterns(r,e).compileAG(r,n,i)}_getCachedCompiledPatterns(r,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new cA;for(const n of this.patterns)r.getRule(n).collectPatterns(r,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}}class Ap extends ef{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(r,e,n,i,o,a,s,l,g){super(r,e,n,i),this._begin=new bg(o,this.id),this.beginCaptures=a,this.whileCaptures=l,this._while=new bg(s,z6),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=g.patterns,this.hasMissingPatterns=g.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(r,e){return this._while.resolveBackReferences(r,e)}collectPatterns(r,e){e.push(this._begin)}compile(r,e){return this._getCachedCompiledPatterns(r).compile(r)}compileAG(r,e,n,i){return this._getCachedCompiledPatterns(r).compileAG(r,n,i)}_getCachedCompiledPatterns(r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new cA;for(const e of this.patterns)r.getRule(e).collectPatterns(r,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(r,e){return this._getCachedCompiledWhilePatterns(r,e).compile(r)}compileWhileAG(r,e,n,i){return this._getCachedCompiledWhilePatterns(r,e).compileAG(r,n,i)}_getCachedCompiledWhilePatterns(r,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new cA,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}}class Yr{static createCaptureRule(r,e,n,i,o){return r.registerRule(a=>new Lde(e,a,n,i,o))}static getCompiledRuleId(r,e,n){return r.id||e.registerRule(i=>{if(r.id=i,r.match)return new zde(r.$vscodeTextmateLocation,r.id,r.name,r.match,Yr._compileCaptures(r.captures,e,n));if(typeof r.begin>"u"){r.repository&&(n=R6({},n,r.repository));let o=r.patterns;return typeof o>"u"&&r.include&&(o=[{include:r.include}]),new VP(r.$vscodeTextmateLocation,r.id,r.name,r.contentName,Yr._compilePatterns(o,e,n))}return r.while?new Ap(r.$vscodeTextmateLocation,r.id,r.name,r.contentName,r.begin,Yr._compileCaptures(r.beginCaptures||r.captures,e,n),r.while,Yr._compileCaptures(r.whileCaptures||r.captures,e,n),Yr._compilePatterns(r.patterns,e,n)):new y_(r.$vscodeTextmateLocation,r.id,r.name,r.contentName,r.begin,Yr._compileCaptures(r.beginCaptures||r.captures,e,n),r.end,Yr._compileCaptures(r.endCaptures||r.captures,e,n),r.applyEndPatternLast,Yr._compilePatterns(r.patterns,e,n))}),r.id}static _compileCaptures(r,e,n){let i=[];if(r){let o=0;for(const a in r){if(a==="$vscodeTextmateLocation")continue;const s=parseInt(a,10);s>o&&(o=s)}for(let a=0;a<=o;a++)i[a]=null;for(const a in r){if(a==="$vscodeTextmateLocation")continue;const s=parseInt(a,10);let l=0;r[a].patterns&&(l=Yr.getCompiledRuleId(r[a],e,n)),i[s]=Yr.createCaptureRule(e,r[a].$vscodeTextmateLocation,r[a].name,r[a].contentName,l)}}return i}static _compilePatterns(r,e,n){let i=[];if(r)for(let o=0,a=r.length;o<a;o++){const s=r[o];let l=-1;if(s.include){const g=L6(s.include);switch(g.kind){case 0:case 1:l=Yr.getCompiledRuleId(n[s.include],e,n);break;case 2:let u=n[g.ruleName];u&&(l=Yr.getCompiledRuleId(u,e,n));break;case 3:case 4:const c=g.scopeName,d=g.kind===4?g.ruleName:null,h=e.getExternalGrammar(c,n);if(h)if(d){let A=h.repository[d];A&&(l=Yr.getCompiledRuleId(A,e,h.repository))}else l=Yr.getCompiledRuleId(h.repository.$self,e,h.repository);break}}else l=Yr.getCompiledRuleId(s,e,n);if(l!==-1){const g=e.getRule(l);let u=!1;if((g instanceof VP||g instanceof y_||g instanceof Ap)&&g.hasMissingPatterns&&g.patterns.length===0&&(u=!0),u)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(r?r.length:0)!==i.length}}}class bg{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(r,e){if(r){const n=r.length;let i=0,o=[],a=!1;for(let s=0;s<n;s++)if(r.charAt(s)==="\\"&&s+1<n){const g=r.charAt(s+1);g==="z"?(o.push(r.substring(i,s)),o.push("$(?!\\n)(?<!\\n)"),i=s+2):(g==="A"||g==="G")&&(a=!0),s++}this.hasAnchor=a,i===0?this.source=r:(o.push(r.substring(i,n)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=r;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=e,this.hasBackReferences=Bde.test(this.source)}clone(){return new bg(this.source,this.ruleId)}setSource(r){this.source!==r&&(this.source=r,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(r,e){let n=e.map(i=>r.substring(i.start,i.end));return jP.lastIndex=0,this.source.replace(jP,(i,o)=>B6(n[parseInt(o,10)]||""))}_buildAnchorCache(){let r=[],e=[],n=[],i=[],o,a,s,l;for(o=0,a=this.source.length;o<a;o++)s=this.source.charAt(o),r[o]=s,e[o]=s,n[o]=s,i[o]=s,s==="\\"&&o+1<a&&(l=this.source.charAt(o+1),l==="A"?(r[o+1]="￿",e[o+1]="￿",n[o+1]="A",i[o+1]="A"):l==="G"?(r[o+1]="￿",e[o+1]="G",n[o+1]="￿",i[o+1]="G"):(r[o+1]=l,e[o+1]=l,n[o+1]=l,i[o+1]=l),o++);return{A0_G0:r.join(""),A0_G1:e.join(""),A1_G0:n.join(""),A1_G1:i.join("")}}resolveAnchors(r,e){return!this.hasAnchor||!this._anchorCache?this.source:r?e?this._anchorCache.A1_G1:this._anchorCache.A1_G0:e?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class cA{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(r){this._items.push(r),this._hasAnchors=this._hasAnchors||r.hasAnchor}unshift(r){this._items.unshift(r),this._hasAnchors=this._hasAnchors||r.hasAnchor}length(){return this._items.length}setSource(r,e){this._items[r].source!==e&&(this._disposeCaches(),this._items[r].setSource(e))}compile(r){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new GP(r,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(r,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(r,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(r,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(r,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(r,e,n)),this._anchorCache.A0_G0):this.compile(r)}_resolveAnchors(r,e,n){let i=this._items.map(o=>o.resolveAnchors(e,n));return new GP(r,i,this._items.map(o=>o.ruleId))}}class GP{regExps;rules;scanner;constructor(r,e,n){this.regExps=e,this.rules=n,this.scanner=r.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const r=[];for(let e=0,n=this.rules.length;e<n;e++)r.push(" - "+this.rules[e]+": "+this.regExps[e]);return r.join(`
7
7
  `)}findNextMatchSync(r,e,n){const i=this.scanner.findNextMatchSync(r,e,n);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}}class b_{_colorMap;_defaults;_root;static createFromRawTheme(r,e){return this.createFromParsedTheme(Gde(r),e)}static createFromParsedTheme(r,e){return Hde(r,e)}_cachedMatchRoot=new F6(r=>this._root.match(r));constructor(r,e,n){this._colorMap=r,this._defaults=e,this._root=n}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(r){if(r===null)return this._defaults;const e=r.scopeName,i=this._cachedMatchRoot.get(e).find(o=>jde(r.parent,o.parentScopes));return i?new j6(i.fontStyle,i.foreground,i.background):null}}class ng{parent;scopeName;static push(r,e){for(const n of e)r=new ng(r,n);return r}static from(...r){let e=null;for(let n=0;n<r.length;n++)e=new ng(e,r[n]);return e}constructor(r,e){this.parent=r,this.scopeName=e}push(r){return new ng(this,r)}getSegments(){let r=this;const e=[];for(;r;)e.push(r.scopeName),r=r.parent;return e.reverse(),e}toString(){return this.getSegments().join(" ")}extends(r){return this===r?!0:this.parent===null?!1:this.parent.extends(r)}getExtensionIfDefined(r){const e=[];let n=this;for(;n&&n!==r;)e.push(n.scopeName),n=n.parent;return n===r?e.reverse():void 0}}function jde(t,r){if(r===null)return!0;let e=0,n=r[e];for(;t;){if(Vde(t.scopeName,n)){if(e++,e===r.length)return!0;n=r[e]}t=t.parent}return!1}function Vde(t,r){return r===t||t.startsWith(r)&&t[r.length]==="."}class j6{fontStyle;foregroundId;backgroundId;constructor(r,e,n){this.fontStyle=r,this.foregroundId=e,this.backgroundId=n}}function Gde(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let r=t.settings,e=[],n=0;for(let i=0,o=r.length;i<o;i++){let a=r[i];if(!a.settings)continue;let s;if(typeof a.scope=="string"){let c=a.scope;c=c.replace(/^[,]+/,""),c=c.replace(/[,]+$/,""),s=c.split(",")}else Array.isArray(a.scope)?s=a.scope:s=[""];let l=-1;if(typeof a.settings.fontStyle=="string"){l=0;let c=a.settings.fontStyle.split(" ");for(let d=0,h=c.length;d<h;d++)switch(c[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let g=null;typeof a.settings.foreground=="string"&&zP(a.settings.foreground)&&(g=a.settings.foreground);let u=null;typeof a.settings.background=="string"&&zP(a.settings.background)&&(u=a.settings.background);for(let c=0,d=s.length;c<d;c++){let A=s[c].trim().split(" "),f=A[A.length-1],C=null;A.length>1&&(C=A.slice(0,A.length-1),C.reverse()),e[n++]=new Wde(f,C,i,l,g,u)}}return e}class Wde{scope;parentScopes;index;fontStyle;foreground;background;constructor(r,e,n,i,o,a){this.scope=r,this.parentScopes=e,this.index=n,this.fontStyle=i,this.foreground=o,this.background=a}}function Hde(t,r){t.sort((l,g)=>{let u=N6(l.scope,g.scope);return u!==0||(u=M6(l.parentScopes,g.parentScopes),u!==0)?u:l.index-g.index});let e=0,n="#000000",i="#ffffff";for(;t.length>=1&&t[0].scope==="";){let l=t.shift();l.fontStyle!==-1&&(e=l.fontStyle),l.foreground!==null&&(n=l.foreground),l.background!==null&&(i=l.background)}let o=new Ude(r),a=new j6(e,o.getId(n),o.getId(i)),s=new xh(new dA(0,null,-1,0,0),[]);for(let l=0,g=t.length;l<g;l++){let u=t[l];s.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new b_(o,a,s)}class Ude{_isFrozen;_lastColorId;_id2color;_color2id;constructor(r){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(r)){this._isFrozen=!0;for(let e=0,n=r.length;e<n;e++)this._color2id[r[e]]=e,this._id2color[e]=r[e]}else this._isFrozen=!1}getId(r){if(r===null)return 0;r=r.toUpperCase();let e=this._color2id[r];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${r}`);return e=++this._lastColorId,this._color2id[r]=e,this._id2color[e]=r,e}getColorMap(){return this._id2color.slice(0)}}class dA{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(r,e,n,i,o){this.scopeDepth=r,this.parentScopes=e,this.fontStyle=n,this.foreground=i,this.background=o}clone(){return new dA(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(r){let e=[];for(let n=0,i=r.length;n<i;n++)e[n]=r[n].clone();return e}acceptOverwrite(r,e,n,i){this.scopeDepth>r?console.log("how did this happen?"):this.scopeDepth=r,e!==-1&&(this.fontStyle=e),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}}class xh{_mainRule;_children;_rulesWithParentScopes;constructor(r,e=[],n={}){this._mainRule=r,this._children=n,this._rulesWithParentScopes=e}static _sortBySpecificity(r){return r.length===1||r.sort(this._cmpBySpecificity),r}static _cmpBySpecificity(r,e){if(r.scopeDepth===e.scopeDepth){const n=r.parentScopes,i=e.parentScopes;let o=n===null?0:n.length,a=i===null?0:i.length;if(o===a)for(let s=0;s<o;s++){const l=n[s].length,g=i[s].length;if(l!==g)return g-l}return a-o}return e.scopeDepth-r.scopeDepth}match(r){if(r==="")return xh._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let e=r.indexOf("."),n,i;return e===-1?(n=r,i=""):(n=r.substring(0,e),i=r.substring(e+1)),this._children.hasOwnProperty(n)?this._children[n].match(i):xh._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(r,e,n,i,o,a){if(e===""){this._doInsertHere(r,n,i,o,a);return}let s=e.indexOf("."),l,g;s===-1?(l=e,g=""):(l=e.substring(0,s),g=e.substring(s+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new xh(this._mainRule.clone(),dA.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(r+1,g,n,i,o,a)}_doInsertHere(r,e,n,i,o){if(e===null){this._mainRule.acceptOverwrite(r,n,i,o);return}for(let a=0,s=this._rulesWithParentScopes.length;a<s;a++){let l=this._rulesWithParentScopes[a];if(M6(l.parentScopes,e)===0){l.acceptOverwrite(r,n,i,o);return}}n===-1&&(n=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new dA(r,e,n,i,o))}}class Ub{languageId;tokenType;constructor(r,e){this.languageId=r,this.tokenType=e}}class fp{_defaultAttributes;_embeddedLanguagesMatcher;constructor(r,e){this._defaultAttributes=new Ub(r,8),this._embeddedLanguagesMatcher=new Zde(Object.entries(e||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(r){return r===null?fp._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(r)}static _NULL_SCOPE_METADATA=new Ub(0,0);_getBasicScopeAttributes=new F6(r=>{const e=this._scopeToLanguage(r),n=this._toStandardTokenType(r);return new Ub(e,n)});_scopeToLanguage(r){return this._embeddedLanguagesMatcher.match(r)||0}_toStandardTokenType(r){const e=r.match(fp.STANDARD_TOKEN_TYPE_REGEXP);if(!e)return 8;switch(e[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class Zde{values;scopesRegExp;constructor(r){if(r.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(r);const e=r.map(([n,i])=>B6(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(r){if(!this.scopesRegExp)return;const e=r.match(this.scopesRegExp);if(e)return this.values.get(e[1])}}class WP{stack;stoppedEarly;constructor(r,e){this.stack=r,this.stoppedEarly=e}}function V6(t,r,e,n,i,o,a,s){const l=r.content.length;let g=!1,u=-1;if(a){const h=Kde(t,r,e,n,i,o);i=h.stack,n=h.linePos,e=h.isFirstLine,u=h.anchorPosition}const c=Date.now();for(;!g;){if(s!==0&&Date.now()-c>s)return new WP(i,!0);d()}return new WP(i,!1);function d(){const h=Yde(t,r,e,n,i,u);if(!h){o.produce(i,l),g=!0;return}const A=h.captureIndices,f=h.matchedRuleId,C=A&&A.length>0?A[0].end>n:!1;if(f===Fde){const I=i.getRule(t);o.produce(i,A[0].start),i=i.withContentNameScopesList(i.nameScopesList),Ah(t,r,e,i,o,I.endCaptures,A),o.produce(i,A[0].end);const v=i;if(i=i.parent,u=v.getAnchorPos(),!C&&v.getEnterPos()===n){i=v,o.produce(i,l),g=!0;return}}else{const I=t.getRule(f);o.produce(i,A[0].start);const v=i,p=I.getName(r.content,A),m=i.contentNameScopesList.pushAttributed(p,t);if(i=i.push(f,n,u,A[0].end===l,null,m,m),I instanceof y_){const b=I;Ah(t,r,e,i,o,b.beginCaptures,A),o.produce(i,A[0].end),u=A[0].end;const S=b.getContentName(r.content,A),N=m.pushAttributed(S,t);if(i=i.withContentNameScopesList(N),b.endHasBackReferences&&(i=i.withEndRule(b.getEndWithResolvedBackReferences(r.content,A))),!C&&v.hasSameRuleAs(i)){i=i.pop(),o.produce(i,l),g=!0;return}}else if(I instanceof Ap){const b=I;Ah(t,r,e,i,o,b.beginCaptures,A),o.produce(i,A[0].end),u=A[0].end;const S=b.getContentName(r.content,A),N=m.pushAttributed(S,t);if(i=i.withContentNameScopesList(N),b.whileHasBackReferences&&(i=i.withEndRule(b.getWhileWithResolvedBackReferences(r.content,A))),!C&&v.hasSameRuleAs(i)){i=i.pop(),o.produce(i,l),g=!0;return}}else if(Ah(t,r,e,i,o,I.captures,A),o.produce(i,A[0].end),i=i.pop(),!C){i=i.safePop(),o.produce(i,l),g=!0;return}}A[0].end>n&&(n=A[0].end,e=!1)}}function Kde(t,r,e,n,i,o){let a=i.beginRuleCapturedEOL?0:-1;const s=[];for(let l=i;l;l=l.pop()){const g=l.getRule(t);g instanceof Ap&&s.push({rule:g,stack:l})}for(let l=s.pop();l;l=s.pop()){const{ruleScanner:g,findOptions:u}=qde(l.rule,t,l.stack.endRule,e,n===a),c=g.findNextMatchSync(r,n,u);if(c){if(c.ruleId!==z6){i=l.stack.pop();break}c.captureIndices&&c.captureIndices.length&&(o.produce(l.stack,c.captureIndices[0].start),Ah(t,r,e,l.stack,o,l.rule.whileCaptures,c.captureIndices),o.produce(l.stack,c.captureIndices[0].end),a=c.captureIndices[0].end,c.captureIndices[0].end>n&&(n=c.captureIndices[0].end,e=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:a,isFirstLine:e}}function Yde(t,r,e,n,i,o){const a=Xde(t,r,e,n,i,o),s=t.getInjections();if(s.length===0)return a;const l=Qde(s,t,r,e,n,i,o);if(!l)return a;if(!a)return l;const g=a.captureIndices[0].start,u=l.captureIndices[0].start;return u<g||l.priorityMatch&&u===g?l:a}function Xde(t,r,e,n,i,o){const a=i.getRule(t),{ruleScanner:s,findOptions:l}=G6(a,t,i.endRule,e,n===o),g=s.findNextMatchSync(r,n,l);return g?{captureIndices:g.captureIndices,matchedRuleId:g.ruleId}:null}function Qde(t,r,e,n,i,o,a){let s=Number.MAX_VALUE,l=null,g,u=0;const c=o.contentNameScopesList.getScopeNames();for(let d=0,h=t.length;d<h;d++){const A=t[d];if(!A.matcher(c))continue;const f=r.getRule(A.ruleId),{ruleScanner:C,findOptions:I}=G6(f,r,null,n,i===a),v=C.findNextMatchSync(e,i,I);if(!v)continue;const p=v.captureIndices[0].start;if(!(p>=s)&&(s=p,l=v.captureIndices,g=v.ruleId,u=A.priority,s===i))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:g}:null}function G6(t,r,e,n,i){return{ruleScanner:t.compileAG(r,e,n,i),findOptions:0}}function qde(t,r,e,n,i){return{ruleScanner:t.compileWhileAG(r,e,n,i),findOptions:0}}function Ah(t,r,e,n,i,o,a){if(o.length===0)return;const s=r.content,l=Math.min(o.length,a.length),g=[],u=a[0].end;for(let c=0;c<l;c++){const d=o[c];if(d===null)continue;const h=a[c];if(h.length===0)continue;if(h.start>u)break;for(;g.length>0&&g[g.length-1].endPos<=h.start;)i.produceFromScopes(g[g.length-1].scopes,g[g.length-1].endPos),g.pop();if(g.length>0?i.produceFromScopes(g[g.length-1].scopes,h.start):i.produce(n,h.start),d.retokenizeCapturedWithRuleId){const f=d.getName(s,a),C=n.contentNameScopesList.pushAttributed(f,t),I=d.getContentName(s,a),v=C.pushAttributed(I,t),p=n.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,C,v),m=t.createOnigString(s.substring(0,h.end));V6(t,m,e&&h.start===0,h.start,p,i,!1,0),P6(m);continue}const A=d.getName(s,a);if(A!==null){const C=(g.length>0?g[g.length-1].scopes:n.contentNameScopesList).pushAttributed(A,t);g.push(new Jde(C,h.end))}}for(;g.length>0;)i.produceFromScopes(g[g.length-1].scopes,g[g.length-1].endPos),g.pop()}class Jde{scopes;endPos;constructor(r,e){this.scopes=r,this.endPos=e}}function ehe(t,r,e,n,i,o,a,s){return new rhe(t,r,e,n,i,o,a,s)}function HP(t,r,e,n,i){const o=dp(r,Cp),a=Yr.getCompiledRuleId(e,n,i.repository);for(const s of o)t.push({debugSelector:r,matcher:s.matcher,ruleId:a,grammar:i,priority:s.priority})}function Cp(t,r){if(r.length<t.length)return!1;let e=0;return t.every(n=>{for(let i=e;i<r.length;i++)if(the(r[i],n))return e=i+1,!0;return!1})}function the(t,r){if(!t)return!1;if(t===r)return!0;const e=r.length;return t.length>e&&t.substr(0,e)===r&&t[e]==="."}class rhe{_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(r,e,n,i,o,a,s,l){if(this._rootScopeName=r,this.balancedBracketSelectors=a,this._onigLib=l,this._basicScopeAttributesProvider=new fp(n,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=UP(e,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const g of Object.keys(o)){const u=dp(g,Cp);for(const c of u)this._tokenTypeMatchers.push({matcher:c.matcher,type:o[g]})}}dispose(){for(const r of this._ruleId2desc)r&&r.dispose()}createOnigScanner(r){return this._onigLib.createOnigScanner(r)}createOnigString(r){return this._onigLib.createOnigString(r)}getMetadataForScope(r){return this._basicScopeAttributesProvider.getBasicScopeAttributes(r)}_collectInjections(){const r={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},e=[],n=this._rootScopeName,i=r.lookup(n);if(i){const o=i.injections;if(o)for(let s in o)HP(e,s,o[s],this,i);const a=this._grammarRepository.injections(n);a&&a.forEach(s=>{const l=this.getExternalGrammar(s);if(l){const g=l.injectionSelector;g&&HP(e,g,l,this,l)}})}return e.sort((o,a)=>o.priority-a.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(r){const e=++this._lastRuleId,n=r(e);return this._ruleId2desc[e]=n,n}getRule(r){return this._ruleId2desc[r]}getExternalGrammar(r,e){if(this._includedGrammars[r])return this._includedGrammars[r];if(this._grammarRepository){const n=this._grammarRepository.lookup(r);if(n)return this._includedGrammars[r]=UP(n,e&&e.$base),this._includedGrammars[r]}}tokenizeLine(r,e,n=0){const i=this._tokenize(r,e,!1,n);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(r,e,n=0){const i=this._tokenize(r,e,!0,n);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(r,e,n,i){this._rootId===-1&&(this._rootId=Yr.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!e||e===Po.NULL){o=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),d=xc.set(0,u.languageId,u.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),h=this.getRule(this._rootId).getName(null,null);let A;h?A=Tn.createRootAndLookUpScopeName(h,d,this):A=Tn.createRoot("unknown",d),e=new Po(null,this._rootId,-1,-1,!1,null,A,A)}else o=!1,e.reset();r=r+`
8
8
  `;const a=this.createOnigString(r),s=a.content.length,l=new ihe(n,r,this._tokenTypeMatchers,this.balancedBracketSelectors),g=V6(this,a,o,0,e,l,!0,i);return P6(a),{lineLength:s,lineTokens:l,ruleStack:g.stack,stoppedEarly:g.stoppedEarly}}}function UP(t,r){return t=_de(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=r||t.repository.$self,t}class Tn{parent;scopePath;tokenAttributes;static fromExtension(r,e){let n=r,i=r?.scopePath??null;for(const o of e)i=ng.push(i,o.scopeNames),n=new Tn(n,i,o.encodedTokenAttributes);return n}static createRoot(r,e){return new Tn(null,new ng(null,r),e)}static createRootAndLookUpScopeName(r,e,n){const i=n.getMetadataForScope(r),o=new ng(null,r),a=n.themeProvider.themeMatch(o),s=Tn.mergeAttributes(e,i,a);return new Tn(null,o,s)}get scopeName(){return this.scopePath.scopeName}constructor(r,e,n){this.parent=r,this.scopePath=e,this.tokenAttributes=n}toString(){return this.getScopeNames().join(" ")}equals(r){return Tn.equals(this,r)}static equals(r,e){do{if(r===e||!r&&!e)return!0;if(!r||!e||r.scopeName!==e.scopeName||r.tokenAttributes!==e.tokenAttributes)return!1;r=r.parent,e=e.parent}while(!0)}static mergeAttributes(r,e,n){let i=-1,o=0,a=0;return n!==null&&(i=n.fontStyle,o=n.foregroundId,a=n.backgroundId),xc.set(r,e.languageId,e.tokenType,null,i,o,a)}pushAttributed(r,e){if(r===null)return this;if(r.indexOf(" ")===-1)return Tn._pushAttributed(this,r,e);const n=r.split(/ /g);let i=this;for(const o of n)i=Tn._pushAttributed(i,o,e);return i}static _pushAttributed(r,e,n){const i=n.getMetadataForScope(e),o=r.scopePath.push(e),a=n.themeProvider.themeMatch(o),s=Tn.mergeAttributes(r.tokenAttributes,i,a);return new Tn(r,o,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(r){const e=[];let n=this;for(;n&&n!==r;)e.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===r?e.reverse():void 0}}class Po{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new Po(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(r,e,n,i,o,a,s,l){this.parent=r,this.ruleId=e,this.beginRuleCapturedEOL=o,this.endRule=a,this.nameScopesList=s,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}equals(r){return r===null?!1:Po._equals(this,r)}static _equals(r,e){return r===e?!0:this._structuralEquals(r,e)?Tn.equals(r.contentNameScopesList,e.contentNameScopesList):!1}static _structuralEquals(r,e){do{if(r===e||!r&&!e)return!0;if(!r||!e||r.depth!==e.depth||r.ruleId!==e.ruleId||r.endRule!==e.endRule)return!1;r=r.parent,e=e.parent}while(!0)}clone(){return this}static _reset(r){for(;r;)r._enterPos=-1,r._anchorPos=-1,r=r.parent}reset(){Po._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(r,e,n,i,o,a,s){return new Po(this,r,e,n,i,o,a,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(r){return r.getRule(this.ruleId)}toString(){const r=[];return this._writeString(r,0),"["+r.join(",")+"]"}_writeString(r,e){return this.parent&&(e=this.parent._writeString(r,e)),r[e++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,e}withContentNameScopesList(r){return this.contentNameScopesList===r?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,r)}withEndRule(r){return this.endRule===r?this:new Po(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,r,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(r){let e=this;for(;e&&e._enterPos===r._enterPos;){if(e.ruleId===r.ruleId)return!0;e=e.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(r,e){const n=Tn.fromExtension(r?.nameScopesList??null,e.nameScopesList);return new Po(r,e.ruleId,e.enterPos??-1,e.anchorPos??-1,e.beginRuleCapturedEOL,e.endRule,n,Tn.fromExtension(n,e.contentNameScopesList))}}class nhe{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(r,e){this.balancedBracketScopes=r.flatMap(n=>n==="*"?(this.allowAny=!0,[]):dp(n,Cp).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>dp(n,Cp).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(r){for(const e of this.unbalancedBracketScopes)if(e(r))return!1;for(const e of this.balancedBracketScopes)if(e(r))return!0;return this.allowAny}}class ihe{balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(r,e,n,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=r,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(r,e){this.produceFromScopes(r.contentNameScopesList,e)}produceFromScopes(r,e){if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let i=r?.tokenAttributes??0,o=!1;if(this.balancedBracketSelectors?.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=r?.getScopeNames()??[];for(const s of this._tokenTypeOverrides)s.matcher(a)&&(i=xc.set(i,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(a))}if(o&&(i=xc.set(i,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=e;return}const n=r?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(r,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(r,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(r,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(r,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let i=0,o=this._binaryTokens.length;i<o;i++)n[i]=this._binaryTokens[i];return n}}class ohe{_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(r,e){this._onigLibPromise=e,this._theme=r}dispose(){for(const r of this._grammars.values())r.dispose()}setTheme(r){this._theme=r}getColorMap(){return this._theme.getColorMap()}addGrammar(r,e){this._rawGrammars.set(r.scopeName,r),e&&this._injectionGrammars.set(r.scopeName,e)}lookup(r){return this._rawGrammars.get(r)}injections(r){return this._injectionGrammars.get(r)}getDefaults(){return this._theme.getDefaults()}themeMatch(r){return this._theme.match(r)}async grammarForScopeName(r,e,n,i,o){if(!this._grammars.has(r)){let a=this._rawGrammars.get(r);if(!a)return null;this._grammars.set(r,ehe(r,a,e,n,i,o,this,await this._onigLibPromise))}return this._grammars.get(r)}}let ahe=class{_options;_syncRegistry;_ensureGrammarCache;constructor(r){this._options=r,this._syncRegistry=new ohe(b_.createFromRawTheme(r.theme,r.colorMap),r.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(r,e){this._syncRegistry.setTheme(b_.createFromRawTheme(r,e))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(r,e,n){return this.loadGrammarWithConfiguration(r,e,{embeddedLanguages:n})}loadGrammarWithConfiguration(r,e,n){return this._loadGrammar(r,e,n.embeddedLanguages,n.tokenTypes,new nhe(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(r){return this._loadGrammar(r,0,null,null,null)}async _loadGrammar(r,e,n,i,o){const a=new kde(this._syncRegistry,r);for(;a.Q.length>0;)await Promise.all(a.Q.map(s=>this._loadSingleGrammar(s.scopeName))),a.processQueue();return this._grammarForScopeName(r,e,n,i,o)}async _loadSingleGrammar(r){return this._ensureGrammarCache.has(r)||this._ensureGrammarCache.set(r,this._doLoadSingleGrammar(r)),this._ensureGrammarCache.get(r)}async _doLoadSingleGrammar(r){const e=await this._options.loadGrammar(r);if(e){const n=typeof this._options.getInjections=="function"?this._options.getInjections(r):void 0;this._syncRegistry.addGrammar(e,n)}}async addGrammar(r,e=[],n=0,i=null){return this._syncRegistry.addGrammar(r,e),await this._grammarForScopeName(r.scopeName,n,i)}_grammarForScopeName(r,e=0,n=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(r,e,n,i,o)}};const she=Po.NULL,dn={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class fa{static toBinaryStr(r){let e=r.toString(2);for(;e.length<32;)e=`0${e}`;return e}static getLanguageId(r){return(r&dn.LANGUAGEID_MASK)>>>dn.LANGUAGEID_OFFSET}static getTokenType(r){return(r&dn.TOKEN_TYPE_MASK)>>>dn.TOKEN_TYPE_OFFSET}static getFontStyle(r){return(r&dn.FONT_STYLE_MASK)>>>dn.FONT_STYLE_OFFSET}static getForeground(r){return(r&dn.FOREGROUND_MASK)>>>dn.FOREGROUND_OFFSET}static getBackground(r){return(r&dn.BACKGROUND_MASK)>>>dn.BACKGROUND_OFFSET}static containsBalancedBrackets(r){return(r&dn.BALANCED_BRACKETS_MASK)!==0}static set(r,e,n,i,o,a){let s=fa.getLanguageId(r),l=fa.getTokenType(r),g=fa.getFontStyle(r),u=fa.getForeground(r),c=fa.getBackground(r);const d=fa.containsBalancedBrackets(r)?1:0;return e!==0&&(s=e),n!==0&&(l=n===8?0:n),i!==co.NotSet&&(g=i),o!==0&&(u=o),a!==0&&(c=a),(s<<dn.LANGUAGEID_OFFSET|l<<dn.TOKEN_TYPE_OFFSET|g<<dn.FONT_STYLE_OFFSET|d<<dn.BALANCED_BRACKETS_OFFSET|u<<dn.FOREGROUND_OFFSET|c<<dn.BACKGROUND_OFFSET)>>>0}}const lhe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class tf{constructor(r,e,n){this.property=r,this.normal=e,n&&(this.space=n)}}tf.prototype.property={};tf.prototype.normal={};tf.prototype.space=null;function W6(t,r){const e={},n={};let i=-1;for(;++i<t.length;)Object.assign(e,t[i].property),Object.assign(n,t[i].normal);return new tf(e,n,r)}function $_(t){return t.toLowerCase()}class Ki{constructor(r,e){this.property=r,this.attribute=e}}Ki.prototype.space=null;Ki.prototype.boolean=!1;Ki.prototype.booleanish=!1;Ki.prototype.overloadedBoolean=!1;Ki.prototype.number=!1;Ki.prototype.commaSeparated=!1;Ki.prototype.spaceSeparated=!1;Ki.prototype.commaOrSpaceSeparated=!1;Ki.prototype.mustUseProperty=!1;Ki.prototype.defined=!1;let ghe=0;const at=Wg(),Rr=Wg(),H6=Wg(),ue=Wg(),qt=Wg(),lc=Wg(),di=Wg();function Wg(){return 2**++ghe}var w_=Object.freeze({__proto__:null,boolean:at,booleanish:Rr,commaOrSpaceSeparated:di,commaSeparated:lc,number:ue,overloadedBoolean:H6,spaceSeparated:qt});const Zb=Object.keys(w_);class D2 extends Ki{constructor(r,e,n,i){let o=-1;if(super(r,e),ZP(this,"space",i),typeof n=="number")for(;++o<Zb.length;){const a=Zb[o];ZP(this,Zb[o],(n&w_[a])===w_[a])}}}D2.prototype.defined=!0;function ZP(t,r,e){e&&(t[r]=e)}const uhe={}.hasOwnProperty;function gd(t){const r={},e={};let n;for(n in t.properties)if(uhe.call(t.properties,n)){const i=t.properties[n],o=new D2(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),r[n]=o,e[$_(n)]=n,e[$_(o.attribute)]=n}return new tf(r,e,t.space)}const U6=gd({space:"xlink",transform(t,r){return"xlink:"+r.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Z6=gd({space:"xml",transform(t,r){return"xml:"+r.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function K6(t,r){return r in t?t[r]:r}function Y6(t,r){return K6(t,r.toLowerCase())}const X6=gd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Y6,properties:{xmlns:null,xmlnsXLink:null}}),Q6=gd({transform(t,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Rr,ariaAutoComplete:null,ariaBusy:Rr,ariaChecked:Rr,ariaColCount:ue,ariaColIndex:ue,ariaColSpan:ue,ariaControls:qt,ariaCurrent:null,ariaDescribedBy:qt,ariaDetails:null,ariaDisabled:Rr,ariaDropEffect:qt,ariaErrorMessage:null,ariaExpanded:Rr,ariaFlowTo:qt,ariaGrabbed:Rr,ariaHasPopup:null,ariaHidden:Rr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qt,ariaLevel:ue,ariaLive:null,ariaModal:Rr,ariaMultiLine:Rr,ariaMultiSelectable:Rr,ariaOrientation:null,ariaOwns:qt,ariaPlaceholder:null,ariaPosInSet:ue,ariaPressed:Rr,ariaReadOnly:Rr,ariaRelevant:null,ariaRequired:Rr,ariaRoleDescription:qt,ariaRowCount:ue,ariaRowIndex:ue,ariaRowSpan:ue,ariaSelected:Rr,ariaSetSize:ue,ariaSort:null,ariaValueMax:ue,ariaValueMin:ue,ariaValueNow:ue,ariaValueText:null,role:null}}),che=gd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Y6,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lc,acceptCharset:qt,accessKey:qt,action:null,allow:null,allowFullScreen:at,allowPaymentRequest:at,allowUserMedia:at,alt:null,as:null,async:at,autoCapitalize:null,autoComplete:qt,autoFocus:at,autoPlay:at,capture:at,charSet:null,checked:at,cite:null,className:qt,cols:ue,colSpan:null,content:null,contentEditable:Rr,controls:at,controlsList:qt,coords:ue|lc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:at,defer:at,dir:null,dirName:null,disabled:at,download:H6,draggable:Rr,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:at,formTarget:null,headers:qt,height:ue,hidden:at,high:ue,href:null,hrefLang:null,htmlFor:qt,httpEquiv:qt,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:at,itemId:null,itemProp:qt,itemRef:qt,itemScope:at,itemType:qt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:at,low:ue,manifest:null,max:null,maxLength:ue,media:null,method:null,min:null,minLength:ue,multiple:at,muted:at,name:null,nonce:null,noModule:at,noValidate:at,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:at,optimum:ue,pattern:null,ping:qt,placeholder:null,playsInline:at,poster:null,preload:null,readOnly:at,referrerPolicy:null,rel:qt,required:at,reversed:at,rows:ue,rowSpan:ue,sandbox:qt,scope:null,scoped:at,seamless:at,selected:at,shape:null,size:ue,sizes:null,slot:null,span:ue,spellCheck:Rr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ue,step:null,style:null,tabIndex:ue,target:null,title:null,translate:null,type:null,typeMustMatch:at,useMap:null,value:Rr,width:ue,wrap:null,align:null,aLink:null,archive:qt,axis:null,background:null,bgColor:null,border:ue,borderColor:null,bottomMargin:ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:at,declare:at,event:null,face:null,frame:null,frameBorder:null,hSpace:ue,leftMargin:ue,link:null,longDesc:null,lowSrc:null,marginHeight:ue,marginWidth:ue,noResize:at,noHref:at,noShade:at,noWrap:at,object:null,profile:null,prompt:null,rev:null,rightMargin:ue,rules:null,scheme:null,scrolling:Rr,standby:null,summary:null,text:null,topMargin:ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:at,disableRemotePlayback:at,prefix:null,property:null,results:ue,security:null,unselectable:null}}),dhe=gd({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:K6,properties:{about:di,accentHeight:ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ue,amplitude:ue,arabicForm:null,ascent:ue,attributeName:null,attributeType:null,azimuth:ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ue,by:null,calcMode:null,capHeight:ue,className:qt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ue,diffuseConstant:ue,direction:null,display:null,dur:null,divisor:ue,dominantBaseline:null,download:at,dx:null,dy:null,edgeMode:null,editable:null,elevation:ue,enableBackground:null,end:null,event:null,exponent:ue,externalResourcesRequired:null,fill:null,fillOpacity:ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:lc,g2:lc,glyphName:lc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ue,horizOriginX:ue,horizOriginY:ue,id:null,ideographic:ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ue,k:ue,k1:ue,k2:ue,k3:ue,k4:ue,kernelMatrix:di,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ue,overlineThickness:ue,paintOrder:null,panose1:null,path:null,pathLength:ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ue,pointsAtY:ue,pointsAtZ:ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:di,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:di,rev:di,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:di,requiredFeatures:di,requiredFonts:di,requiredFormats:di,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ue,specularExponent:ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ue,strikethroughThickness:ue,string:null,stroke:null,strokeDashArray:di,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ue,strokeOpacity:ue,strokeWidth:null,style:null,surfaceScale:ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:di,tabIndex:ue,tableValues:null,target:null,targetX:ue,targetY:ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:di,to:null,transform:null,u1:null,u2:null,underlinePosition:ue,underlineThickness:ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ue,values:null,vAlphabetic:ue,vMathematical:ue,vectorEffect:null,vHanging:ue,vIdeographic:ue,version:null,vertAdvY:ue,vertOriginX:ue,vertOriginY:ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),hhe=/^data[-\w.:]+$/i,KP=/-[a-z]/g,Ahe=/[A-Z]/g;function fhe(t,r){const e=$_(r);let n=r,i=Ki;if(e in t.normal)return t.property[t.normal[e]];if(e.length>4&&e.slice(0,4)==="data"&&hhe.test(r)){if(r.charAt(4)==="-"){const o=r.slice(5).replace(KP,Ihe);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=r.slice(4);if(!KP.test(o)){let a=o.replace(Ahe,Che);a.charAt(0)!=="-"&&(a="-"+a),r="data"+a}}i=D2}return new i(n,r)}function Che(t){return"-"+t.toLowerCase()}function Ihe(t){return t.charAt(1).toUpperCase()}const vhe=W6([Z6,U6,X6,Q6,che],"html"),q6=W6([Z6,U6,X6,Q6,dhe],"svg"),YP={}.hasOwnProperty;function phe(t,r){const e=r||{};function n(i,...o){let a=n.invalid;const s=n.handlers;if(i&&YP.call(i,t)){const l=String(i[t]);a=YP.call(s,l)?s[l]:n.unknown}if(a)return a.call(this,i,...o)}return n.handlers=e.handlers||{},n.invalid=e.invalid,n.unknown=e.unknown,n}function mhe(t,r){if(t=t.replace(r.subset?yhe(r.subset):/["&'<>`]/g,n),r.subset||r.escapeOnly)return t;return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,e).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function e(i,o,a){return r.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(o+2),r)}function n(i,o,a){return r.format(i.charCodeAt(0),a.charCodeAt(o+1),r)}}function yhe(t){const r=[];let e=-1;for(;++e<t.length;)r.push(t[e].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+r.join("|")+")","g")}function bhe(t,r,e){const n="&#x"+t.toString(16).toUpperCase();return e&&r&&!/[\dA-Fa-f]/.test(String.fromCharCode(r))?n:n+";"}function $he(t,r,e){const n="&#"+String(t);return e&&r&&!/\d/.test(String.fromCharCode(r))?n:n+";"}const whe=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Kb={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},_he=["cent","copy","divide","gt","lt","not","para","times"],J6={}.hasOwnProperty,__={};let jC;for(jC in Kb)J6.call(Kb,jC)&&(__[Kb[jC]]=jC);function Ehe(t,r,e,n){const i=String.fromCharCode(t);if(J6.call(__,i)){const o=__[i],a="&"+o;return e&&whe.includes(o)&&!_he.includes(o)&&(!n||r&&r!==61&&/[^\da-z]/i.test(String.fromCharCode(r)))?a:a+";"}return""}function She(t,r,e){let n=bhe(t,r,e.omitOptionalSemicolons),i;if((e.useNamedReferences||e.useShortestReferences)&&(i=Ehe(t,r,e.omitOptionalSemicolons,e.attribute)),(e.useShortestReferences||!i)&&e.useShortestReferences){const o=$he(t,r,e.omitOptionalSemicolons);o.length<n.length&&(n=o)}return i&&(!e.useShortestReferences||i.length<n.length)?i:n}function gc(t,r){return mhe(t,Object.assign({format:She},r))}function The(t,r,e,n){return n.settings.bogusComments?"<?"+gc(t.value,Object.assign({},n.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,i)+"-->";function i(o){return gc(o,Object.assign({},n.settings.characterReferences,{subset:["<",">"]}))}}function Ohe(t,r,e,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}function XP(t,r){const e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,i=e.indexOf(r);for(;i!==-1;)n++,i=e.indexOf(r,i+r.length);return n}function khe(t,r){const e=r||{};return(t[t.length-1]===""?[...t,""]:t).join((e.padRight?" ":"")+","+(e.padLeft===!1?"":" ")).trim()}function xhe(t){return t.join(" ").trim()}const Phe=/[ \t\n\f\r]/g;function N2(t){return typeof t=="object"?t.type==="text"?QP(t.value):!1:QP(t)}function QP(t){return t.replace(Phe,"")===""}const Wr=tV(1),eV=tV(-1),Rhe=[];function tV(t){return r;function r(e,n,i){const o=e?e.children:Rhe;let a=(n||0)+t,s=o[a];if(!i)for(;s&&N2(s);)a+=t,s=o[a];return s}}const Dhe={}.hasOwnProperty;function rV(t){return r;function r(e,n,i){return Dhe.call(t,e.tagName)&&t[e.tagName](e,n,i)}}const M2=rV({body:Mhe,caption:Yb,colgroup:Yb,dd:zhe,dt:Lhe,head:Yb,html:Nhe,li:Fhe,optgroup:jhe,option:Vhe,p:Bhe,rp:qP,rt:qP,tbody:Whe,td:JP,tfoot:Hhe,th:JP,thead:Ghe,tr:Uhe});function Yb(t,r,e){const n=Wr(e,r,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&N2(n.value.charAt(0)))}function Nhe(t,r,e){const n=Wr(e,r);return!n||n.type!=="comment"}function Mhe(t,r,e){const n=Wr(e,r);return!n||n.type!=="comment"}function Bhe(t,r,e){const n=Wr(e,r);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!e||!(e.type==="element"&&(e.tagName==="a"||e.tagName==="audio"||e.tagName==="del"||e.tagName==="ins"||e.tagName==="map"||e.tagName==="noscript"||e.tagName==="video"))}function Fhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&n.tagName==="li"}function Lhe(t,r,e){const n=Wr(e,r);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function zhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function qP(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function jhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&n.tagName==="optgroup"}function Vhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Ghe(t,r,e){const n=Wr(e,r);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function Whe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function Hhe(t,r,e){return!Wr(e,r)}function Uhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&n.tagName==="tr"}function JP(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const Zhe=rV({body:Xhe,colgroup:Qhe,head:Yhe,html:Khe,tbody:qhe});function Khe(t){const r=Wr(t,-1);return!r||r.type!=="comment"}function Yhe(t){const r=t.children,e=[];let n=-1;for(;++n<r.length;){const i=r[n];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(e.includes(i.tagName))return!1;e.push(i.tagName)}}return r.length>0}function Xhe(t){const r=Wr(t,-1,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&N2(r.value.charAt(0)))&&!(r.type==="element"&&(r.tagName==="meta"||r.tagName==="link"||r.tagName==="script"||r.tagName==="style"||r.tagName==="template"))}function Qhe(t,r,e){const n=eV(e,r),i=Wr(t,-1,!0);return e&&n&&n.type==="element"&&n.tagName==="colgroup"&&M2(n,e.children.indexOf(n),e)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function qhe(t,r,e){const n=eV(e,r),i=Wr(t,-1);return e&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&M2(n,e.children.indexOf(n),e)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const VC={name:[[`