vite-plugin-vue-devtools 7.0.9 → 7.0.10

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 HQ=Object.create,$4=Object.defineProperty,UQ=Object.getOwnPropertyDescriptor,MS=Object.getOwnPropertyNames,ZQ=Object.getPrototypeOf,KQ=Object.prototype.hasOwnProperty,YQ=(t,r)=>function(){return t&&(r=(0,t[MS(t)[0]])(t=0)),r},XQ=(t,r)=>function(){return r||(0,t[MS(t)[0]])((r={exports:{}}).exports,r),r.exports},QQ=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of MS(r))!KQ.call(t,i)&&i!==e&&$4(t,i,{get:()=>r[i],enumerable:!(n=UQ(r,i))||n.enumerable});return t},qQ=(t,r,e)=>(e=t!=null?HQ(ZQ(t)):{},QQ(r||!t||!t.__esModule?$4(e,"default",{value:t,enumerable:!0}):e,t)),VA=YQ({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),JQ=XQ({"../../node_modules/.pnpm/rfdc@1.3.0/node_modules/rfdc/index.js"(t,r){VA(),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}}}});VA();VA();var w4=typeof navigator<"u",qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},yc=typeof qe.chrome<"u"&&!!qe.chrome.devtools,eq=w4&&qe.self!==qe.top,BS=typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");VA();var tq=qQ(JQ(),1);function $k(){}var wk=()=>navigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),rq=/(?:^|[-_/])(\w)/g,nq=/-(\w)/g,iq=/([a-z0-9])([A-Z])/g;function _4(t,r){return r?r.toUpperCase():""}function E4(t){return t&&`${t}`.replace(rq,_4)}function oq(t){return t&&t.replace(nq,_4)}function aq(t){return t&&t.replace(iq,(r,e,n)=>`${e}-${n}`).toLowerCase()}function sq(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 lq(t){return t&&t.slice().sort((r,e)=>r.key<e.key?-1:r.key>e.key?1:0)}var bc=(0,tq.default)({circles:!0});function gq(){return Math.random().toString(36).slice(2)}VA();var wb="__vue-devtools-view-mode__",uq="__vue-devtools-broadcast-channel__";function cq(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 dq={trailing:!0};function tA(t,r=25,e={}){if(e={...dq,...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=hq(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 hq(t,r,e){return await t.apply(r,e)}function Bw(t,r={},e){for(const n in t){const i=t[n],o=e?`${e}:${n}`:n;typeof i=="object"&&i!==null?Bw(i,r,o):typeof i=="function"&&(r[o]=i)}return r}const Aq={run:t=>t()},fq=()=>Aq,S4=typeof console.createTask<"u"?console.createTask:fq;function Cq(t,r){const e=r.shift(),n=S4(e);return t.reduce((i,o)=>i.then(()=>n.run(()=>o(...r))),Promise.resolve())}function Iq(t,r){const e=r.shift(),n=S4(e);return Promise.all(t.map(i=>n.run(()=>i(...r))))}function _b(t,r){for(const e of[...t])e(r)}class vq{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=Bw(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=Bw(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(Cq,r,...e)}callHookParallel(r,...e){return e.unshift(r),this.callHookWith(Iq,r,...e)}callHookWith(r,e,...n){const i=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&_b(this._before,i);const o=r(e in this._hooks?[...this._hooks[e]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&i&&_b(this._after,i)}):(this._after&&i&&_b(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 T4(){return new vq}function FS(t,r){const e=new Set(t.split(","));return r?n=>e.has(n.toLowerCase()):n=>e.has(n)}const er={},oc=[],Li=()=>{},pq=()=>!1,um=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),LS=t=>t.startsWith("onUpdate:"),Gr=Object.assign,zS=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},mq=Object.prototype.hasOwnProperty,wt=(t,r)=>mq.call(t,r),ze=Array.isArray,ac=t=>GA(t)==="[object Map]",od=t=>GA(t)==="[object Set]",_k=t=>GA(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",O4=t=>(Gt(t)||et(t))&&et(t.then)&&et(t.catch),k4=Object.prototype.toString,GA=t=>k4.call(t),yq=t=>GA(t).slice(8,-1),x4=t=>GA(t)==="[object Object]",jS=t=>cr(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,nv=FS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cm=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},bq=/-(\w)/g,ea=cm(t=>t.replace(bq,(r,e)=>e?e.toUpperCase():"")),$q=/\B([A-Z])/g,zg=cm(t=>t.replace($q,"-$1").toLowerCase()),dm=cm(t=>t.charAt(0).toUpperCase()+t.slice(1)),iv=cm(t=>t?`on${dm(t)}`:""),Ks=(t,r)=>!Object.is(t,r),ov=(t,r)=>{for(let e=0;e<t.length;e++)t[e](r)},Wv=(t,r,e)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},Hv=t=>{const r=parseFloat(t);return isNaN(r)?t:r},wq=t=>{const r=cr(t)?Number(t):NaN;return isNaN(r)?t:r};let Ek;const P4=()=>Ek||(Ek=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _r(t){if(ze(t)){const r={};for(let e=0;e<t.length;e++){const n=t[e],i=cr(n)?Tq(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,Eq=/:([^]+)/,Sq=/\/\*[^]*?\*\//g;function Tq(t){const r={};return t.replace(Sq,"").split(_q).forEach(e=>{if(e){const n=e.split(Eq);n.length>1&&(r[n[0].trim()]=n[1].trim())}}),r}function _e(t){let r="";if(cr(t))r=t;else if(ze(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 WA(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 Oq="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kq=FS(Oq);function R4(t){return!!t||t===""}function xq(t,r){if(t.length!==r.length)return!1;let e=!0;for(let n=0;e&&n<t.length;n++)e=yg(t[n],r[n]);return e}function yg(t,r){if(t===r)return!0;let e=_k(t),n=_k(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=ze(t),n=ze(r),e||n)return e&&n?xq(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||!yg(t[a],r[a]))return!1}}return String(t)===String(r)}function VS(t,r){return t.findIndex(e=>yg(e,r))}const we=t=>cr(t)?t:t==null?"":ze(t)||Gt(t)&&(t.toString===k4||!et(t.toString))?JSON.stringify(t,D4,2):String(t),D4=(t,r)=>r&&r.__v_isRef?D4(t,r.value):ac(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[n,i],o)=>(e[Eb(n,o)+" =>"]=i,e),{})}:od(r)?{[`Set(${r.size})`]:[...r.values()].map(e=>Eb(e))}:Zs(r)?Eb(r):Gt(r)&&!ze(r)&&!x4(r)?String(r):r,Eb=(t,r="")=>{var e;return Zs(t)?`Symbol(${(e=t.description)!=null?e:r})`:t};let Ai;class Pq{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 Rq(t,r=Ai){r&&r.active&&r.effects.push(t)}function N4(){return Ai}function M4(t){Ai&&Ai.cleanups.push(t)}let Jl;class GS{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,Rq(this,i)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,jg();for(const r of this.deps)if(r.computed&&(Dq(r.computed),this._dirtyLevel>=2))break;Vg(),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=Jl;try{return Os=!0,Jl=this,this._runnings++,Sk(this),this.fn()}finally{Tk(this),this._runnings--,Jl=e,Os=r}}stop(){var r;this.active&&(Sk(this),Tk(this),(r=this.onStop)==null||r.call(this),this.active=!1)}}function Dq(t){return t.value}function Sk(t){t._trackId++,t._depsLength=0}function Tk(t){if(t.deps&&t.deps.length>t._depsLength){for(let r=t._depsLength;r<t.deps.length;r++)B4(t.deps[r],t);t.deps.length=t._depsLength}}function B4(t,r){const e=t.get(r);e!==void 0&&r._trackId!==e&&(t.delete(r),t.size===0&&t.cleanup())}let Os=!0,Fw=0;const F4=[];function jg(){F4.push(Os),Os=!1}function Vg(){const t=F4.pop();Os=t===void 0?!0:t}function WS(){Fw++}function HS(){for(Fw--;!Fw&&Lw.length;)Lw.shift()()}function L4(t,r,e){if(r.get(t)!==t._trackId){r.set(t,t._trackId);const n=t.deps[t._depsLength];n!==r?(n&&B4(n,t),t.deps[t._depsLength++]=r):t._depsLength++}}const Lw=[];function z4(t,r,e){WS();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&&Lw.push(n.scheduler))}HS()}const j4=(t,r)=>{const e=new Map;return e.cleanup=t,e.computed=r,e},Uv=new WeakMap,eg=Symbol(""),zw=Symbol("");function ei(t,r,e){if(Os&&Jl){let n=Uv.get(t);n||Uv.set(t,n=new Map);let i=n.get(e);i||n.set(e,i=j4(()=>n.delete(e))),L4(Jl,i)}}function va(t,r,e,n,i,o){const a=Uv.get(t);if(!a)return;let s=[];if(r==="clear")s=[...a.values()];else if(e==="length"&&ze(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":ze(t)?jS(e)&&s.push(a.get("length")):(s.push(a.get(eg)),ac(t)&&s.push(a.get(zw)));break;case"delete":ze(t)||(s.push(a.get(eg)),ac(t)&&s.push(a.get(zw)));break;case"set":ac(t)&&s.push(a.get(eg));break}WS();for(const l of s)l&&z4(l,3);HS()}function Nq(t,r){var e;return(e=Uv.get(t))==null?void 0:e.get(r)}const Mq=FS("__proto__,__v_isRef,__isVue"),V4=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zs)),Ok=Bq();function Bq(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const n=pt(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(pt)):i}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...e){jg(),WS();const n=pt(this)[r].apply(this,e);return HS(),Vg(),n}}),t}function Fq(t){const r=pt(this);return ei(r,"has",t),r.hasOwnProperty(t)}class G4{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?Qq:Z4:o?U4:H4).get(r)||Object.getPrototypeOf(r)===Object.getPrototypeOf(n)?r:void 0;const a=ze(r);if(!i){if(a&&wt(Ok,e))return Reflect.get(Ok,e,n);if(e==="hasOwnProperty")return Fq}const s=Reflect.get(r,e,n);return(Zs(e)?V4.has(e):Mq(e))||(i||ei(r,"get",e),o)?s:Le(s)?a&&jS(e)?s:s.value:Gt(s)?i?Va(s):Ys(s):s}}class W4 extends G4{constructor(r=!1){super(!1,r)}set(r,e,n,i){let o=r[e];if(!this._shallow){const l=$c(o);if(!Zv(n)&&!$c(n)&&(o=pt(o),n=pt(n)),!ze(r)&&Le(o)&&!Le(n))return l?!1:(o.value=n,!0)}const a=ze(r)&&jS(e)?Number(e)<r.length:wt(r,e),s=Reflect.set(r,e,n,i);return r===pt(i)&&(a?Ks(n,o)&&va(r,"set",e,n):va(r,"add",e,n)),s}deleteProperty(r,e){const n=wt(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)||!V4.has(e))&&ei(r,"has",e),n}ownKeys(r){return ei(r,"iterate",ze(r)?"length":eg),Reflect.ownKeys(r)}}class Lq extends G4{constructor(r=!1){super(!0,r)}set(r,e){return!0}deleteProperty(r,e){return!0}}const zq=new W4,jq=new Lq,Vq=new W4(!0),US=t=>t,hm=t=>Reflect.getPrototypeOf(t);function $C(t,r,e=!1,n=!1){t=t.__v_raw;const i=pt(t),o=pt(r);e||(Ks(r,o)&&ei(i,"get",r),ei(i,"get",o));const{has:a}=hm(i),s=n?US:e?QS:rA;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 wC(t,r=!1){const e=this.__v_raw,n=pt(e),i=pt(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(pt(t),"iterate",eg),Reflect.get(t,"size",t)}function kk(t){t=pt(t);const r=pt(this);return hm(r).has.call(r,t)||(r.add(t),va(r,"add",t,t)),this}function xk(t,r){r=pt(r);const e=pt(this),{has:n,get:i}=hm(e);let o=n.call(e,t);o||(t=pt(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 Pk(t){const r=pt(this),{has:e,get:n}=hm(r);let i=e.call(r,t);i||(t=pt(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 Rk(){const t=pt(this),r=t.size!==0,e=t.clear();return r&&va(t,"clear",void 0,void 0),e}function EC(t,r){return function(n,i){const o=this,a=o.__v_raw,s=pt(a),l=r?US:t?QS:rA;return!t&&ei(s,"iterate",eg),a.forEach((g,u)=>n.call(i,l(g),l(u),o))}}function SC(t,r,e){return function(...n){const i=this.__v_raw,o=pt(i),a=ac(o),s=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,g=i[t](...n),u=e?US:r?QS:rA;return!r&&ei(o,"iterate",l?zw:eg),{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 Gq(){const t={get(o){return $C(this,o)},get size(){return _C(this)},has:wC,add:kk,set:xk,delete:Pk,clear:Rk,forEach:EC(!1,!1)},r={get(o){return $C(this,o,!1,!0)},get size(){return _C(this)},has:wC,add:kk,set:xk,delete:Pk,clear:Rk,forEach:EC(!1,!0)},e={get(o){return $C(this,o,!0)},get size(){return _C(this,!0)},has(o){return wC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:EC(!0,!1)},n={get(o){return $C(this,o,!0,!0)},get size(){return _C(this,!0)},has(o){return wC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:EC(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=SC(o,!1,!1),e[o]=SC(o,!0,!1),r[o]=SC(o,!1,!0),n[o]=SC(o,!0,!0)}),[t,e,r,n]}const[Wq,Hq,Uq,Zq]=Gq();function ZS(t,r){const e=r?t?Zq:Uq:t?Hq:Wq;return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(wt(e,i)&&i in n?e:n,i,o)}const Kq={get:ZS(!1,!1)},Yq={get:ZS(!1,!0)},Xq={get:ZS(!0,!1)},H4=new WeakMap,U4=new WeakMap,Z4=new WeakMap,Qq=new WeakMap;function qq(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jq(t){return t.__v_skip||!Object.isExtensible(t)?0:qq(yq(t))}function Ys(t){return $c(t)?t:YS(t,!1,zq,Kq,H4)}function KS(t){return YS(t,!1,Vq,Yq,U4)}function Va(t){return YS(t,!0,jq,Xq,Z4)}function YS(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=Jq(t);if(a===0)return t;const s=new Proxy(t,a===2?n:e);return i.set(t,s),s}function tg(t){return $c(t)?tg(t.__v_raw):!!(t&&t.__v_isReactive)}function $c(t){return!!(t&&t.__v_isReadonly)}function Zv(t){return!!(t&&t.__v_isShallow)}function K4(t){return tg(t)||$c(t)}function pt(t){const r=t&&t.__v_raw;return r?pt(r):t}function XS(t){return Wv(t,"__v_skip",!0),t}const rA=t=>Gt(t)?Ys(t):t,QS=t=>Gt(t)?Va(t):t;class Y4{constructor(r,e,n,i){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new GS(()=>r(this._value),()=>Kv(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const r=pt(this);return qS(r),(!r._cacheable||r.effect.dirty)&&Ks(r._value,r._value=r.effect.run())&&Kv(r,2),r._value}set value(r){this._setter(r)}get _dirty(){return this.effect.dirty}set _dirty(r){this.effect.dirty=r}}function eJ(t,r,e=!1){let n,i;const o=et(t);return o?(n=t,i=Li):(n=t.get,i=t.set),new Y4(n,i,o||!i,e)}function qS(t){Os&&Jl&&(t=pt(t),L4(Jl,t.dep||(t.dep=j4(()=>t.dep=void 0,t instanceof Y4?t:void 0))))}function Kv(t,r=3,e){t=pt(t);const n=t.dep;n&&z4(n,r)}function Le(t){return!!(t&&t.__v_isRef===!0)}function W(t){return X4(t,!1)}function oa(t){return X4(t,!0)}function X4(t,r){return Le(t)?t:new tJ(t,r)}class tJ{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:pt(r),this._value=e?r:rA(r)}get value(){return qS(this),this._value}set value(r){const e=this.__v_isShallow||Zv(r)||$c(r);r=e?r:pt(r),Ks(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:rA(r),Kv(this,3))}}function m(t){return Le(t)?t.value:t}function jw(t){return et(t)?t():m(t)}const rJ={get:(t,r,e)=>m(Reflect.get(t,r,e)),set:(t,r,e,n)=>{const i=t[r];return Le(i)&&!Le(e)?(i.value=e,!0):Reflect.set(t,r,e,n)}};function Q4(t){return tg(t)?t:new Proxy(t,rJ)}class nJ{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:n}=r(()=>qS(this),()=>Kv(this));this._get=e,this._set=n}get value(){return this._get()}set value(r){this._set(r)}}function JS(t){return new nJ(t)}function Dk(t){const r=ze(t)?new Array(t.length):{};for(const e in t)r[e]=J4(t,e);return r}class iJ{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 Nq(pt(this._object),this._key)}}class oJ{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function q4(t,r,e){return Le(t)?t:et(t)?new oJ(t):Gt(t)&&arguments.length>1?J4(t,r,e):W(t)}function J4(t,r,e){const n=t[r];return Le(n)?n:new iJ(t,r,e)}function ks(t,r,e,n){let i;try{i=n?t(...n):t()}catch(o){HA(o,r,e)}return i}function ji(t,r,e,n){if(et(t)){const o=ks(t,r,e,n);return o&&O4(o)&&o.catch(a=>{HA(a,r,e)}),o}const i=[];for(let o=0;o<t.length;o++)i.push(ji(t[o],r,e,n));return i}function HA(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}}aJ(t,e,i,n)}function aJ(t,r,e,n=!0){console.error(t)}let nA=!1,Vw=!1;const $n=[];let No=0;const sc=[];let Aa=null,Vl=0;const ej=Promise.resolve();let e2=null;function _n(t){const r=e2||ej;return t?r.then(this?t.bind(this):t):r}function sJ(t){let r=No+1,e=$n.length;for(;r<e;){const n=r+e>>>1,i=$n[n],o=iA(i);o<t||o===t&&i.pre?r=n+1:e=n}return r}function Am(t){(!$n.length||!$n.includes(t,nA&&t.allowRecurse?No+1:No))&&(t.id==null?$n.push(t):$n.splice(sJ(t.id),0,t),tj())}function tj(){!nA&&!Vw&&(Vw=!0,e2=ej.then(nj))}function lJ(t){const r=$n.indexOf(t);r>No&&$n.splice(r,1)}function gJ(t){ze(t)?sc.push(...t):(!Aa||!Aa.includes(t,t.allowRecurse?Vl+1:Vl))&&sc.push(t),tj()}function Nk(t,r,e=nA?No+1:0){for(;e<$n.length;e++){const n=$n[e];if(n&&n.pre){if(t&&n.id!==t.uid)continue;$n.splice(e,1),e--,n()}}}function rj(t){if(sc.length){const r=[...new Set(sc)];if(sc.length=0,Aa){Aa.push(...r);return}for(Aa=r,Aa.sort((e,n)=>iA(e)-iA(n)),Vl=0;Vl<Aa.length;Vl++)Aa[Vl]();Aa=null,Vl=0}}const iA=t=>t.id==null?1/0:t.id,uJ=(t,r)=>{const e=iA(t)-iA(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function nj(t){Vw=!1,nA=!0,$n.sort(uJ);try{for(No=0;No<$n.length;No++){const r=$n[No];r&&r.active!==!1&&ks(r,null,14)}}finally{No=0,$n.length=0,rj(),nA=!1,e2=null,($n.length||sc.length)&&nj()}}function cJ(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(Hv))}let s,l=n[s=iv(r)]||n[s=iv(ea(r))];!l&&o&&(l=n[s=iv(zg(r))]),l&&ji(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,ji(g,t,6,i)}}function ij(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=ij(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):(ze(o)?o.forEach(l=>a[l]=null):Gr(a,o),Gt(t)&&n.set(t,a),a)}function fm(t,r){return!t||!um(r)?!1:(r=r.slice(2).replace(/Once$/,""),wt(t,r[0].toLowerCase()+r.slice(1))||wt(t,zg(r))||wt(t,r))}let vn=null,Cm=null;function Yv(t){const r=vn;return vn=t,Cm=t&&t.type.__scopeId||null,r}function Im(t){Cm=t}function vm(){Cm=null}const oj=t=>G;function G(t,r=vn,e){if(!r||t._n)return t;const n=(...i)=>{n._d&&Yk(-1);const o=Yv(r);let a;try{a=t(...i)}finally{Yv(o),n._d&&Yk(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Sb(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=Yv(t);try{if(e.shapeFlag&4){const y=i||n,b=y;C=Ro(u.call(b,y,c,o,h,d,A)),I=l}else{const y=r;C=Ro(y.length>1?y(o,{attrs:l,slots:s,emit:g}):y(o,null)),I=r.props?l:dJ(l)}}catch(y){Oh.length=0,HA(y,t,1),C=z(Vi)}let p=C;if(I&&f!==!1){const y=Object.keys(I),{shapeFlag:b}=p;y.length&&b&7&&(a&&y.some(LS)&&(I=hJ(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,Yv(v),C}const dJ=t=>{let r;for(const e in t)(e==="class"||e==="style"||um(e))&&((r||(r={}))[e]=t[e]);return r},hJ=(t,r)=>{const e={};for(const n in t)(!LS(n)||!(n.slice(9)in r))&&(e[n]=t[n]);return e};function AJ(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?Mk(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]&&!fm(g,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:n===a?!1:n?a?Mk(n,a,g):!0:!!a;return!1}function Mk(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]&&!fm(e,o))return!0}return!1}function fJ({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 t2="components",CJ="directives";function $i(t,r){return r2(t2,t,!0,r)||t}const aj=Symbol.for("v-ndc");function Xs(t){return cr(t)?r2(t2,t,!1)||t:t||aj}function pm(t){return r2(CJ,t)}function r2(t,r,e=!0,n=!1){const i=vn||Qr;if(i){const o=i.type;if(t===t2){const s=hee(o,!1);if(s&&(s===r||s===ea(r)||s===dm(ea(r))))return o}const a=Bk(i[t]||o[t],r)||Bk(i.appContext[t],r);return!a&&n?o:a}}function Bk(t,r){return t&&(t[r]||t[ea(r)]||t[dm(ea(r))])}const IJ=t=>t.__isSuspense;function vJ(t,r){r&&r.pendingBranch?ze(t)?r.effects.push(...t):r.effects.push(t):gJ(t)}const pJ=Symbol.for("v-scx"),mJ=()=>Er(pJ);function Nn(t,r){return n2(t,null,r)}const TC={};function tt(t,r,e){return n2(t,r,e)}function n2(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),y()}}const l=Qr,g=b=>n===!0?b:Ul(b,n===!1?1:void 0);let u,c=!1,d=!1;if(Le(t)?(u=()=>t.value,c=Zv(t)):tg(t)?(u=()=>g(t),c=!0):ze(t)?(d=!0,c=t.some(b=>tg(b)||Zv(b)),u=()=>t.map(b=>{if(Le(b))return b.value;if(tg(b))return g(b);if(et(b))return ks(b,l,2)})):et(t)?r?u=()=>ks(t,l,2):u=()=>(h&&h(),ji(t,l,3,[A])):u=Li,r&&n){const b=u;u=()=>Ul(b())}let h,A=b=>{h=p.onStop=()=>{ks(b,l,4),h=p.onStop=void 0}},f;if(ZA)if(A=Li,r?e&&ji(r,l,3,[u(),d?[]:void 0,A]):u(),i==="sync"){const b=mJ();f=b.__watcherHandles||(b.__watcherHandles=[])}else return Li;let C=d?new Array(t.length).fill(TC):TC;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(),ji(r,l,3,[b,C===TC?void 0:d&&C[0]===TC?[]: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=()=>Am(I));const p=new GS(u,Li,v),y=()=>{p.stop(),l&&l.scope&&zS(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(y),y}function yJ(t,r,e){const n=this.proxy,i=cr(t)?t.includes(".")?sj(n,t):()=>n[t]:t.bind(n,n);let o;et(r)?o=r:(o=r.handler,e=r);const a=Qr;wc(this);const s=n2(i,o.bind(n),e);return a?wc(a):rg(),s}function sj(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 Ul(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),Le(t))Ul(t.value,r,e,n);else if(ze(t))for(let i=0;i<t.length;i++)Ul(t[i],r,e,n);else if(od(t)||ac(t))t.forEach(i=>{Ul(i,r,e,n)});else if(x4(t))for(const i in t)Ul(t[i],r,e,n);return t}function rn(t,r){const e=vn;if(e===null)return t;const n=$m(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&&Ul(s),i.push({dir:a,instance:n,value:s,oldValue:void 0,arg:l,modifiers:g}))}return t}function kl(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&&(jg(),ji(l,e,8,[t.el,s,t,r]),Vg())}}const ds=Symbol("_leaveCb"),OC=Symbol("_enterCb");function bJ(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _i(()=>{t.isMounted=!0}),dj(()=>{t.isUnmounting=!0}),t}const xi=[Function,Array],lj={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xi,onEnter:xi,onAfterEnter:xi,onEnterCancelled:xi,onBeforeLeave:xi,onLeave:xi,onAfterLeave:xi,onLeaveCancelled:xi,onBeforeAppear:xi,onAppear:xi,onAfterAppear:xi,onAppearCancelled:xi},$J={name:"BaseTransition",props:lj,setup(t,{slots:r}){const e=ll(),n=bJ();let i;return()=>{const o=r.default&&uj(r.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const f of o)if(f.type!==Vi){a=f;break}}const s=pt(t),{mode:l}=s;if(n.isLeaving)return Tb(a);const g=Fk(a);if(!g)return Tb(a);const u=Gw(g,s,n,e);Ww(g,u);const c=e.subTree,d=c&&Fk(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!==Vi&&(!Gl(g,d)||h)){const f=Gw(d,s,n,e);if(Ww(d,f),l==="out-in")return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.update.active!==!1&&(e.effect.dirty=!0,e.update())},Tb(a);l==="in-out"&&g.type!==Vi&&(f.delayLeave=(C,I,v)=>{const p=gj(n,d);p[String(d.key)]=d,C[ds]=()=>{I(),C[ds]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return a}}},wJ=$J;function gj(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 Gw(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),y=gj(e,t),b=(k,_)=>{k&&ji(k,n,9,_)},S=(k,_)=>{const O=_[1];b(k,_),ze(k)?k.every(P=>P.length<=1)&&O():k.length<=1&&O()},N={mode:o,persisted:a,beforeEnter(k){let _=s;if(!e.isMounted)if(i)_=f||s;else return;k[ds]&&k[ds](!0);const O=y[p];O&&Gl(t,O)&&O.el[ds]&&O.el[ds](),b(_,[k])},enter(k){let _=l,O=g,P=u;if(!e.isMounted)if(i)_=C||l,O=I||g,P=v||u;else return;let R=!1;const L=k[OC]=te=>{R||(R=!0,te?b(P,[k]):b(O,[k]),N.delayedLeave&&N.delayedLeave(),k[OC]=void 0)};_?S(_,[k,L]):L()},leave(k,_){const O=String(t.key);if(k[OC]&&k[OC](!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,y[O]===t&&delete y[O])};y[O]=t,d?S(d,[k,R]):R()},clone(k){return Gw(k,r,e,n)}};return N}function Tb(t){if(UA(t))return t=Qs(t),t.children=null,t}function Fk(t){return UA(t)?t.children?t.children[0]:void 0:t}function Ww(t,r){t.shapeFlag&6&&t.component?Ww(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 uj(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===me?(a.patchFlag&128&&i++,n=n.concat(uj(a.children,r,s))):(r||a.type!==Vi)&&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 Eh=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()=>Ob(g,h);const A=v=>{l=null,HA(v,h,13,!n)};if(a&&h.suspense||ZA)return d().then(v=>()=>Ob(v,h)).catch(v=>(A(v),()=>n?z(n,{error:v}):null));const f=W(!1),C=W(),I=W(!!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&&UA(h.parent.vnode)&&(h.parent.effect.dirty=!0,Am(h.parent.update))}).catch(v=>{A(v),C.value=v}),()=>{if(f.value&&g)return Ob(g,h);if(C.value&&n)return z(n,{error:C.value});if(e&&!I.value)return z(e)}}})}function Ob(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 UA=t=>t.type.__isKeepAlive;function EJ(t,r){cj(t,"a",r)}function SJ(t,r){cj(t,"da",r)}function cj(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(mm(r,n,e),e){let i=e.parent;for(;i&&i.parent;)UA(i.parent.vnode)&&TJ(n,r,e,i),i=i.parent}}function TJ(t,r,e,n){const i=mm(r,t,n,!0);ad(()=>{zS(n[r],i)},e)}function mm(t,r,e=Qr,n=!1){if(e){const i=e[t]||(e[t]=[]),o=r.__weh||(r.__weh=(...a)=>{if(e.isUnmounted)return;jg(),wc(e);const s=ji(r,e,t,a);return rg(),Vg(),s});return n?i.unshift(o):i.push(o),o}}const Ga=t=>(r,e=Qr)=>(!ZA||t==="sp")&&mm(t,(...n)=>r(...n),e),OJ=Ga("bm"),_i=Ga("m"),kJ=Ga("bu"),xJ=Ga("u"),dj=Ga("bum"),ad=Ga("um"),PJ=Ga("sp"),RJ=Ga("rtg"),DJ=Ga("rtc");function NJ(t,r=Qr){mm("ec",t,r)}function vt(t,r,e,n){let i;const o=e&&e[n];if(ze(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 hj(t,r){for(let e=0;e<r.length;e++){const n=r[e];if(ze(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&&Eh(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),T();const a=o&&Aj(o(e)),s=re(me,{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 Aj(t){return t.some(r=>qv(r)?!(r.type===Vi||r.type===me&&!Aj(r.children)):!0)?t:null}function MJ(t,r){const e={};for(const n in t)e[r&&/[A-Z]/.test(n)?`on:${n}`:iv(n)]=t[n];return e}const Hw=t=>t?Oj(t)?$m(t)||t.proxy:Hw(t.parent):null,Sh=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=>Hw(t.parent),$root:t=>Hw(t.root),$emit:t=>t.emit,$options:t=>i2(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Am(t.update)}),$nextTick:t=>t.n||(t.n=_n.bind(t.proxy)),$watch:t=>yJ.bind(t)}),kb=(t,r)=>t!==er&&!t.__isScriptSetup&&wt(t,r),BJ={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(kb(n,r))return a[r]=1,n[r];if(i!==er&&wt(i,r))return a[r]=2,i[r];if((g=t.propsOptions[0])&&wt(g,r))return a[r]=3,o[r];if(e!==er&&wt(e,r))return a[r]=4,e[r];Uw&&(a[r]=0)}}const u=Sh[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&&wt(e,r))return a[r]=4,e[r];if(d=l.config.globalProperties,wt(d,r))return d[r]},set({_:t},r,e){const{data:n,setupState:i,ctx:o}=t;return kb(i,r)?(i[r]=e,!0):n!==er&&wt(n,r)?(n[r]=e,!0):wt(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&&wt(t,a)||kb(r,a)||(s=o[0])&&wt(s,a)||wt(n,a)||wt(Sh,a)||wt(i.config.globalProperties,a)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:wt(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};function fj(){return Cj().slots}function FJ(){return Cj().attrs}function Cj(){const t=ll();return t.setupContext||(t.setupContext=xj(t))}function Lk(t){return ze(t)?t.reduce((r,e)=>(r[e]=null,r),{}):t}let Uw=!0;function LJ(t){const r=i2(t),e=t.proxy,n=t.ctx;Uw=!1,r.beforeCreate&&zk(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:y,render:b,renderTracked:S,renderTriggered:N,errorCaptured:k,serverPrefetch:_,expose:O,inheritAttrs:P,components:R,directives:L,filters:te}=r;if(g&&zJ(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(Uw=!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):Li,We=!et(Ie)&&et(Ie.set)?Ie.set.bind(e):Li,Fe=X({get:Re,set:We});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ye=>Fe.value=ye})}if(s)for(const Q in s)Ij(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&&zk(u,t,"c");function V(Q,Ie){ze(Ie)?Ie.forEach(Re=>Q(Re.bind(e))):Ie&&Q(Ie.bind(e))}if(V(OJ,c),V(_i,d),V(kJ,h),V(xJ,A),V(EJ,f),V(SJ,C),V(NJ,k),V(DJ,S),V(RJ,N),V(dj,v),V(ad,y),V(PJ,_),ze(O))if(O.length){const Q=t.exposed||(t.exposed={});O.forEach(Ie=>{Object.defineProperty(Q,Ie,{get:()=>e[Ie],set:Re=>e[Ie]=Re})})}else t.exposed||(t.exposed={});b&&t.render===Li&&(t.render=b),P!=null&&(t.inheritAttrs=P),R&&(t.components=R),L&&(t.directives=L)}function zJ(t,r,e=Li){ze(t)&&(t=Zw(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),Le(o)?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):r[n]=o}}function zk(t,r,e){ji(ze(t)?t.map(n=>n.bind(r.proxy)):t.bind(r.proxy),r,e)}function Ij(t,r,e,n){const i=n.includes(".")?sj(e,n):()=>e[n];if(cr(t)){const o=r[t];et(o)&&tt(i,o)}else if(et(t))tt(i,t.bind(e));else if(Gt(t))if(ze(t))t.forEach(o=>Ij(o,r,e,n));else{const o=et(t.handler)?t.handler.bind(e):r[t.handler];et(o)&&tt(i,o,t)}}function i2(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=>Xv(l,g,a,!0)),Xv(l,r,a)),Gt(r)&&o.set(r,l),l}function Xv(t,r,e,n=!1){const{mixins:i,extends:o}=r;o&&Xv(t,o,e,!0),i&&i.forEach(a=>Xv(t,a,e,!0));for(const a in r)if(!(n&&a==="expose")){const s=jJ[a]||e&&e[a];t[a]=s?s(t[a],r[a]):r[a]}return t}const jJ={data:jk,props:Vk,emits:Vk,methods:Ch,computed:Ch,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:Ch,directives:Ch,watch:GJ,provide:jk,inject:VJ};function jk(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 VJ(t,r){return Ch(Zw(t),Zw(r))}function Zw(t){if(ze(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 Ch(t,r){return t?Gr(Object.create(null),t,r):r}function Vk(t,r){return t?ze(t)&&ze(r)?[...new Set([...t,...r])]:Gr(Object.create(null),Lk(t),Lk(r??{})):r}function GJ(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 vj(){return{app:null,config:{isNativeTag:pq,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 WJ=0;function HJ(t,r){return function(n,i=null){et(n)||(n=Gr({},n)),i!=null&&!Gt(i)&&(i=null);const o=vj(),a=new WeakSet;let s=!1;const l=o.app={_uid:WJ++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:fee,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,$m(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){Qv=l;try{return g()}finally{Qv=null}}};return l}}let Qv=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||Qv){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Qv._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 UJ(t,r,e,n=!1){const i={},o={};Wv(o,bm,1),t.propsDefaults=Object.create(null),pj(t,r,i,o);for(const a in t.propsOptions[0])a in i||(i[a]=void 0);e?t.props=n?i:KS(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function ZJ(t,r,e,n){const{props:i,attrs:o,vnode:{patchFlag:a}}=t,s=pt(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(fm(t.emitsOptions,d))continue;const h=r[d];if(l)if(wt(o,d))h!==o[d]&&(o[d]=h,g=!0);else{const A=ea(d);i[A]=Kw(l,s,A,h,t,!1)}else h!==o[d]&&(o[d]=h,g=!0)}}}else{pj(t,r,i,o)&&(g=!0);let u;for(const c in s)(!r||!wt(r,c)&&((u=zg(c))===c||!wt(r,u)))&&(l?e&&(e[c]!==void 0||e[u]!==void 0)&&(i[c]=Kw(l,s,c,void 0,t,!0)):delete i[c]);if(o!==s)for(const c in o)(!r||!wt(r,c))&&(delete o[c],g=!0)}g&&va(t,"set","$attrs")}function pj(t,r,e,n){const[i,o]=t.propsOptions;let a=!1,s;if(r)for(let l in r){if(nv(l))continue;const g=r[l];let u;i&&wt(i,u=ea(l))?!o||!o.includes(u)?e[u]=g:(s||(s={}))[u]=g:fm(t.emitsOptions,l)||(!(l in n)||g!==n[l])&&(n[l]=g,a=!0)}if(o){const l=pt(e),g=s||er;for(let u=0;u<o.length;u++){const c=o[u];e[c]=Kw(i,l,c,g[c],t,!wt(g,c))}}return a}function Kw(t,r,e,n,i,o){const a=t[e];if(a!=null){const s=wt(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]:(wc(i),n=g[e]=l.call(null,r),rg())}else n=l}a[0]&&(o&&!s?n=!1:a[1]&&(n===""||n===zg(e))&&(n=!0))}return n}function mj(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]=mj(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,oc),oc;if(ze(o))for(let u=0;u<o.length;u++){const c=ea(o[u]);Gk(c)&&(a[c]=er)}else if(o)for(const u in o){const c=ea(u);if(Gk(c)){const d=o[u],h=a[c]=ze(d)||et(d)?{type:d}:Gr({},d);if(h){const A=Uk(Boolean,h.type),f=Uk(String,h.type);h[0]=A>-1,h[1]=f<0||A<f,(A>-1||wt(h,"default"))&&s.push(c)}}}const g=[a,s];return Gt(t)&&n.set(t,g),g}function Gk(t){return t[0]!=="$"}function Wk(t){const r=t&&t.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:t===null?"null":""}function Hk(t,r){return Wk(t)===Wk(r)}function Uk(t,r){return ze(r)?r.findIndex(e=>Hk(e,t)):et(r)&&Hk(r,t)?0:-1}const yj=t=>t[0]==="_"||t==="$stable",o2=t=>ze(t)?t.map(Ro):[Ro(t)],KJ=(t,r,e)=>{if(r._n)return r;const n=G((...i)=>o2(r(...i)),e);return n._c=!1,n},bj=(t,r,e)=>{const n=t._ctx;for(const i in t){if(yj(i))continue;const o=t[i];if(et(o))r[i]=KJ(i,o,n);else if(o!=null){const a=o2(o);r[i]=()=>a}}},$j=(t,r)=>{const e=o2(r);t.slots.default=()=>e},YJ=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=pt(r),Wv(r,"_",e)):bj(r,t.slots={})}else t.slots={},r&&$j(t,r);Wv(t.slots,bm,1)},XJ=(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,bj(r,i)),a=r}else r&&($j(t,r),a={default:1});if(o)for(const s in i)!yj(s)&&a[s]==null&&delete i[s]};function Yw(t,r,e,n,i=!1){if(ze(t)){t.forEach((d,h)=>Yw(d,r&&(ze(r)?r[h]:r),e,n,i));return}if(Eh(n)&&!i)return;const o=n.shapeFlag&4?$m(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,wt(c,g)&&(c[g]=null)):Le(g)&&(g.value=null)),et(l))ks(l,s,12,[a,u]);else{const d=cr(l),h=Le(l);if(d||h){const A=()=>{if(t.f){const f=d?wt(c,l)?c[l]:u[l]:l.value;i?ze(f)&&zS(f,o):ze(f)?f.includes(o)||f.push(o):d?(u[l]=[o],wt(c,l)&&(c[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else d?(u[l]=a,wt(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=vJ;function QJ(t){return qJ(t)}function qJ(t,r){const e=P4();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=Li,insertStaticContent:A}=t,f=($,E,x,j=null,Z=null,q=null,de=void 0,ne=null,oe=!!E.dynamicChildren)=>{if($===E)return;$&&!Gl($,E)&&(j=U($),ye($,Z,q,!0),$=null),E.patchFlag===-2&&(oe=!1,E.dynamicChildren=null);const{type:ae,ref:Ee,shapeFlag:Ue}=E;switch(ae){case ym:C($,E,x,j);break;case Vi:I($,E,x,j);break;case av:$==null&&v(E,x,j,de);break;case me:R($,E,x,j,Z,q,de,ne,oe);break;default:Ue&1?b($,E,x,j,Z,q,de,ne,oe):Ue&6?L($,E,x,j,Z,q,de,ne,oe):(Ue&64||Ue&128)&&ae.process($,E,x,j,Z,q,de,ne,oe,M)}Ee!=null&&Z&&Yw(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)},y=({el:$,anchor:E})=>{let x;for(;$&&$!==E;)x=d($),i($),$=x;i(E)},b=($,E,x,j,Z,q,de,ne,oe)=>{E.type==="svg"?de="svg":E.type==="math"&&(de="mathml"),$==null?S(E,x,j,Z,q,de,ne,oe):_($,E,Z,q,de,ne,oe)},S=($,E,x,j,Z,q,de,ne)=>{let oe,ae;const{props:Ee,shapeFlag:Ue,transition:Ve,dirs:rt}=$;if(oe=$.el=a($.type,q,Ee&&Ee.is,Ee),Ue&8?u(oe,$.children):Ue&16&&k($.children,oe,null,j,Z,xb($,q),de,ne),rt&&kl($,null,j,"created"),N(oe,$,$.scopeId,de,j),Ee){for(const Lt in Ee)Lt!=="value"&&!nv(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)&&So(ae,j,$)}rt&&kl($,null,j,"beforeMount");const At=JJ(Z,Ve);At&&Ve.beforeEnter(oe),n(oe,E,x),((ae=Ee&&Ee.onVnodeMounted)||At||rt)&&Un(()=>{ae&&So(ae,j,$),At&&Ve.enter(oe),rt&&kl($,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,ne,oe=0)=>{for(let ae=oe;ae<$.length;ae++){const Ee=$[ae]=ne?hs($[ae]):Ro($[ae]);f(null,Ee,E,x,j,Z,q,de,ne)}},_=($,E,x,j,Z,q,de)=>{const ne=E.el=$.el;let{patchFlag:oe,dynamicChildren:ae,dirs:Ee}=E;oe|=$.patchFlag&16;const Ue=$.props||er,Ve=E.props||er;let rt;if(x&&xl(x,!1),(rt=Ve.onVnodeBeforeUpdate)&&So(rt,x,E,$),Ee&&kl(E,$,x,"beforeUpdate"),x&&xl(x,!0),ae?O($.dynamicChildren,ae,ne,x,j,xb(E,Z),q):de||Ie($,E,ne,null,x,j,xb(E,Z),q,!1),oe>0){if(oe&16)P(ne,E,Ue,Ve,x,j,Z);else if(oe&2&&Ue.class!==Ve.class&&o(ne,"class",null,Ve.class,Z),oe&4&&o(ne,"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],to=Ve[ir];(to!==Ur||ir==="value")&&o(ne,ir,Ur,to,Z,$.children,x,j,ht)}}oe&1&&$.children!==E.children&&u(ne,E.children)}else!de&&ae==null&&P(ne,E,Ue,Ve,x,j,Z);((rt=Ve.onVnodeUpdated)||Ee)&&Un(()=>{rt&&So(rt,x,E,$),Ee&&kl(E,$,x,"updated")},j)},O=($,E,x,j,Z,q,de)=>{for(let ne=0;ne<E.length;ne++){const oe=$[ne],ae=E[ne],Ee=oe.el&&(oe.type===me||!Gl(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 ne in x)!nv(ne)&&!(ne in j)&&o($,ne,x[ne],null,de,E.children,Z,q,ht);for(const ne in j){if(nv(ne))continue;const oe=j[ne],ae=x[ne];oe!==ae&&ne!=="value"&&o($,ne,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,ne,oe)=>{const ae=E.el=$?$.el:s(""),Ee=E.anchor=$?$.anchor:s("");let{patchFlag:Ue,dynamicChildren:Ve,slotScopeIds:rt}=E;rt&&(ne=ne?ne.concat(rt):rt),$==null?(n(ae,x,j),n(Ee,x,j),k(E.children,x,Ee,Z,q,de,ne,oe)):Ue>0&&Ue&64&&Ve&&$.dynamicChildren?(O($.dynamicChildren,Ve,x,Z,q,de,ne),(E.key!=null||Z&&E===Z.subTree)&&a2($,E,!0)):Ie($,E,x,Ee,Z,q,de,ne,oe)},L=($,E,x,j,Z,q,de,ne,oe)=>{E.slotScopeIds=ne,$==null?E.shapeFlag&512?Z.ctx.activate(E,x,j,de,oe):te(E,x,j,Z,q,de,oe):H($,E,oe)},te=($,E,x,j,Z,q,de)=>{const ne=$.component=gee($,j,Z);if(UA($)&&(ne.ctx.renderer=M),uee(ne),ne.asyncDep){if(Z&&Z.registerDep(ne,V),!$.el){const oe=ne.subTree=z(Vi);I(null,oe,E,x)}}else V(ne,$,E,x,Z,q,de)},H=($,E,x)=>{const j=E.component=$.component;if(AJ($,E,x))if(j.asyncDep&&!j.asyncResolved){Q(j,E,x);return}else j.next=E,lJ(j.update),j.effect.dirty=!0,j.update();else E.el=$.el,j.vnode=E},V=($,E,x,j,Z,q,de)=>{const ne=()=>{if($.isMounted){let{next:Ee,bu:Ue,u:Ve,parent:rt,vnode:At}=$;{const Cu=wj($);if(Cu){Ee&&(Ee.el=At.el,Q($,Ee,de)),Cu.asyncDep.then(()=>{$.isUnmounted||ne()});return}}let Lt=Ee,ir;xl($,!1),Ee?(Ee.el=At.el,Q($,Ee,de)):Ee=At,Ue&&ov(Ue),(ir=Ee.props&&Ee.props.onVnodeBeforeUpdate)&&So(ir,rt,Ee,At),xl($,!0);const Ur=Sb($),to=$.subTree;$.subTree=Ur,f(to,Ur,c(to.el),U(to),$,Z,q),Ee.el=Ur.el,Lt===null&&fJ($,Ur.el),Ve&&Un(Ve,Z),(ir=Ee.props&&Ee.props.onVnodeUpdated)&&Un(()=>So(ir,rt,Ee,At),Z)}else{let Ee;const{el:Ue,props:Ve}=E,{bm:rt,m:At,parent:Lt}=$,ir=Eh(E);if(xl($,!1),rt&&ov(rt),!ir&&(Ee=Ve&&Ve.onVnodeBeforeMount)&&So(Ee,Lt,E),xl($,!0),Ue&&B){const Ur=()=>{$.subTree=Sb($),B(Ue,$.subTree,$,Z,null)};ir?E.type.__asyncLoader().then(()=>!$.isUnmounted&&Ur()):Ur()}else{const Ur=$.subTree=Sb($);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(()=>So(Ee,Lt,Ur),Z)}(E.shapeFlag&256||Lt&&Eh(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&$.a&&Un($.a,Z),$.isMounted=!0,E=x=j=null}},oe=$.effect=new GS(ne,Li,()=>Am(ae),$.scope),ae=$.update=()=>{oe.dirty&&oe.run()};ae.id=$.uid,xl($,!0),ae()},Q=($,E,x)=>{E.component=$;const j=$.vnode.props;$.vnode=E,$.next=null,ZJ($,E.props,j,x),XJ($,E.children,x),jg(),Nk($),Vg()},Ie=($,E,x,j,Z,q,de,ne,oe=!1)=>{const ae=$&&$.children,Ee=$?$.shapeFlag:0,Ue=E.children,{patchFlag:Ve,shapeFlag:rt}=E;if(Ve>0){if(Ve&128){We(ae,Ue,x,j,Z,q,de,ne,oe);return}else if(Ve&256){Re(ae,Ue,x,j,Z,q,de,ne,oe);return}}rt&8?(Ee&16&&ht(ae,Z,q),Ue!==ae&&u(x,Ue)):Ee&16?rt&16?We(ae,Ue,x,j,Z,q,de,ne,oe):ht(ae,Z,q,!0):(Ee&8&&u(x,""),rt&16&&k(Ue,x,j,Z,q,de,ne,oe))},Re=($,E,x,j,Z,q,de,ne,oe)=>{$=$||oc,E=E||oc;const ae=$.length,Ee=E.length,Ue=Math.min(ae,Ee);let Ve;for(Ve=0;Ve<Ue;Ve++){const rt=E[Ve]=oe?hs(E[Ve]):Ro(E[Ve]);f($[Ve],rt,x,null,Z,q,de,ne,oe)}ae>Ee?ht($,Z,q,!0,!1,Ue):k(E,x,j,Z,q,de,ne,oe,Ue)},We=($,E,x,j,Z,q,de,ne,oe)=>{let ae=0;const Ee=E.length;let Ue=$.length-1,Ve=Ee-1;for(;ae<=Ue&&ae<=Ve;){const rt=$[ae],At=E[ae]=oe?hs(E[ae]):Ro(E[ae]);if(Gl(rt,At))f(rt,At,x,null,Z,q,de,ne,oe);else break;ae++}for(;ae<=Ue&&ae<=Ve;){const rt=$[Ue],At=E[Ve]=oe?hs(E[Ve]):Ro(E[Ve]);if(Gl(rt,At))f(rt,At,x,null,Z,q,de,ne,oe);else break;Ue--,Ve--}if(ae>Ue){if(ae<=Ve){const rt=Ve+1,At=rt<Ee?E[rt].el:j;for(;ae<=Ve;)f(null,E[ae]=oe?hs(E[ae]):Ro(E[ae]),x,At,Z,q,de,ne,oe),ae++}}else if(ae>Ve)for(;ae<=Ue;)ye($[ae],Z,q,!0),ae++;else{const rt=ae,At=ae,Lt=new Map;for(ae=At;ae<=Ve;ae++){const ci=E[ae]=oe?hs(E[ae]):Ro(E[ae]);ci.key!=null&&Lt.set(ci.key,ae)}let ir,Ur=0;const to=Ve-At+1;let Cu=!1,mk=0;const eh=new Array(to);for(ae=0;ae<to;ae++)eh[ae]=0;for(ae=rt;ae<=Ue;ae++){const ci=$[ae];if(Ur>=to){ye(ci,Z,q,!0);continue}let Eo;if(ci.key!=null)Eo=Lt.get(ci.key);else for(ir=At;ir<=Ve;ir++)if(eh[ir-At]===0&&Gl(ci,E[ir])){Eo=ir;break}Eo===void 0?ye(ci,Z,q,!0):(eh[Eo-At]=ae+1,Eo>=mk?mk=Eo:Cu=!0,f(ci,E[Eo],x,null,Z,q,de,ne,oe),Ur++)}const yk=Cu?eee(eh):oc;for(ir=yk.length-1,ae=to-1;ae>=0;ae--){const ci=At+ae,Eo=E[ci],bk=ci+1<Ee?E[ci+1].el:j;eh[ae]===0?f(null,Eo,x,bk,Z,q,de,ne,oe):Cu&&(ir<0||ae!==yk[ir]?Fe(Eo,x,bk,2):ir--)}}},Fe=($,E,x,j,Z=null)=>{const{el:q,type:de,transition:ne,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===me){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===av){p($,E,x);return}if(j!==2&&ae&1&&ne)if(j===0)ne.beforeEnter(q),n(q,E,x),Un(()=>ne.enter(q),Z);else{const{leave:Ue,delayLeave:Ve,afterLeave:rt}=ne,At=()=>n(q,E,x),Lt=()=>{Ue(q,()=>{At(),rt&&rt()})};Ve?Ve(q,At,Lt):Lt()}else n(q,E,x)},ye=($,E,x,j=!1,Z=!1)=>{const{type:q,props:de,ref:ne,children:oe,dynamicChildren:ae,shapeFlag:Ee,patchFlag:Ue,dirs:Ve}=$;if(ne!=null&&Yw(ne,null,x,$,!0),Ee&256){E.ctx.deactivate($);return}const rt=Ee&1&&Ve,At=!Eh($);let Lt;if(At&&(Lt=de&&de.onVnodeBeforeUnmount)&&So(Lt,E,$),Ee&6)it($.component,x,j);else{if(Ee&128){$.suspense.unmount(x,j);return}rt&&kl($,null,E,"beforeUnmount"),Ee&64?$.type.remove($,E,x,Z,M,j):ae&&(q!==me||Ue>0&&Ue&64)?ht(ae,E,x,!1,!0):(q===me&&Ue&384||!Z&&Ee&16)&&ht(oe,E,x),j&&je($)}(At&&(Lt=de&&de.onVnodeUnmounted)||rt)&&Un(()=>{Lt&&So(Lt,E,$),rt&&kl($,null,E,"unmounted")},x)},je=$=>{const{type:E,el:x,anchor:j,transition:Z}=$;if(E===me){Ge(x,j);return}if(E===av){y($);return}const q=()=>{i(x),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if($.shapeFlag&1&&Z&&!Z.persisted){const{leave:de,delayLeave:ne}=Z,oe=()=>de(x,q);ne?ne($.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:ne}=$;j&&ov(j),Z.stop(),q&&(q.active=!1,ye(de,$,E,x)),ne&&Un(ne,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++)ye($[de],E,x,j,Z)},U=$=>$.shapeFlag&6?U($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),ie=($,E,x)=>{$==null?E._vnode&&ye(E._vnode,null,null,!0):f(E._vnode||null,$,E,null,null,null,x),Nk(),rj(),E._vnode=$},M={p:f,um:ye,m:Fe,r:je,mt:te,mc:k,pc:Ie,pbc:O,n:U,o:t};let D,B;return r&&([D,B]=r(M)),{render:ie,hydrate:D,createApp:HJ(ie,D)}}function xb({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 xl({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function JJ(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function a2(t,r,e=!1){const n=t.children,i=r.children;if(ze(n)&&ze(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||a2(a,s)),s.type===ym&&(s.el=a.el)}}function eee(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 wj(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:wj(r)}const tee=t=>t.__isTeleport,Th=t=>t&&(t.disabled||t.disabled===""),Zk=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Kk=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Xw=(t,r)=>{const e=t&&t.to;return cr(e)?r?r(e):null:e},ree={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=Th(r.props);let{shapeFlag:v,children:p,dynamicChildren:y}=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=Xw(r.props,A),k=r.targetAnchor=f("");N&&(h(k,N),a==="svg"||Zk(N)?a="svg":(a==="mathml"||Kk(N))&&(a="mathml"));const _=(O,P)=>{v&16&&u(p,O,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=Th(t.props),_=k?e:S,O=k?b:N;if(a==="svg"||Zk(S)?a="svg":(a==="mathml"||Kk(S))&&(a="mathml"),y?(d(t.dynamicChildren,y,_,i,o,a,s),a2(t,r,!0)):l||c(t,r,_,O,i,o,a,s,!1),I)k?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):kC(r,e,b,g,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const P=r.target=Xw(r.props,A);P&&kC(r,P,null,g,0)}else k&&kC(r,S,N,g,1)}Ej(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||!Th(d);for(let A=0;A<l.length;A++){const f=l[A];i(f,r,e,h,!!f.dynamicChildren)}}},move:kC,hydrate:nee};function kC(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||Th(u))&&l&16)for(let d=0;d<g.length;d++)i(g[d],r,e,2);c&&n(s,r,e)}function nee(t,r,e,n,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},g){const u=r.target=Xw(r.props,l);if(u){const c=u._lpa||u.firstChild;if(r.shapeFlag&16)if(Th(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)}Ej(r)}return r.anchor&&a(r.anchor)}const _j=ree;function Ej(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 me=Symbol.for("v-fgt"),ym=Symbol.for("v-txt"),Vi=Symbol.for("v-cmt"),av=Symbol.for("v-stc"),Oh=[];let uo=null;function T(t=!1){Oh.push(uo=t?null:[])}function iee(){Oh.pop(),uo=Oh[Oh.length-1]||null}let oA=1;function Yk(t){oA+=t}function Sj(t){return t.dynamicChildren=oA>0?uo||oc:null,iee(),oA>0&&uo&&uo.push(t),t}function F(t,r,e,n,i,o){return Sj(w(t,r,e,n,i,o,!0))}function re(t,r,e,n,i){return Sj(z(t,r,e,n,i,!0))}function qv(t){return t?t.__v_isVNode===!0:!1}function Gl(t,r){return t.type===r.type&&t.key===r.key}const bm="__vInternal",Tj=({key:t})=>t??null,sv=({ref:t,ref_key:r,ref_for:e})=>(typeof t=="number"&&(t=""+t),t!=null?cr(t)||Le(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===me?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&Tj(r),ref:r&&sv(r),scopeId:Cm,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?(s2(l,e),o&128&&t.normalize(l)):e&&(l.shapeFlag|=cr(e)?8:16),oA>0&&!a&&uo&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&uo.push(l),l}const z=oee;function oee(t,r=null,e=null,n=0,i=null,o=!1){if((!t||t===aj)&&(t=Vi),qv(t)){const s=Qs(t,r,!0);return e&&s2(s,e),oA>0&&!o&&uo&&(s.shapeFlag&6?uo[uo.indexOf(t)]=s:uo.push(s)),s.patchFlag|=-2,s}if(Aee(t)&&(t=t.__vccOpts),r){r=sd(r);let{class:s,style:l}=r;s&&!cr(s)&&(r.class=_e(s)),Gt(l)&&(K4(l)&&!ze(l)&&(l=Gr({},l)),r.style=_r(l))}const a=cr(t)?1:IJ(t)?128:tee(t)?64:Gt(t)?4:et(t)?2:0;return w(t,r,e,n,i,a,o,!0)}function sd(t){return t?K4(t)||bm in t?Gr({},t):t:null}function Qs(t,r,e=!1){const{props:n,ref:i,patchFlag:o,children:a}=t,s=r?bn(n||{},r):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Tj(s),ref:r&&r.ref?e&&i?ze(i)?i.concat(sv(r)):[i,sv(r)]:sv(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!==me?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(ym,null,t,r)}function aee(t,r){const e=z(av,null,t);return e.staticCount=r,e}function be(t="",r=!1){return r?(T(),re(Vi,null,t)):z(Vi,null,t)}function Ro(t){return t==null||typeof t=="boolean"?z(Vi):ze(t)?z(me,null,t.slice()):typeof t=="object"?hs(t):z(ym,null,String(t))}function hs(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qs(t)}function s2(t,r){let e=0;const{shapeFlag:n}=t;if(r==null)r=null;else if(ze(r))e=16;else if(typeof r=="object")if(n&65){const i=r.default;i&&(i._c&&(i._d=!1),s2(t,i()),i._c&&(i._d=!0));return}else{e=32;const i=r._;!i&&!(bm 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 bn(...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(um(i)){const o=r[i],a=n[i];a&&o!==a&&!(ze(o)&&o.includes(a))&&(r[i]=o?[].concat(o,a):a)}else i!==""&&(r[i]=n[i])}return r}function So(t,r,e,n=null){ji(t,r,7,[e,n])}const see=vj();let lee=0;function gee(t,r,e){const n=t.type,i=(r?r.appContext:t.appContext)||see,o={uid:lee++,vnode:t,type:n,parent:r,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pq(!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:mj(n,i),emitsOptions:ij(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=cJ.bind(null,o),t.ce&&t.ce(o),o}let Qr=null;const ll=()=>Qr||vn;let l2,Qw;{const t=P4(),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)}};l2=r("__VUE_INSTANCE_SETTERS__",e=>Qr=e),Qw=r("__VUE_SSR_SETTERS__",e=>ZA=e)}const wc=t=>{l2(t),t.scope.on()},rg=()=>{Qr&&Qr.scope.off(),l2(null)};function Oj(t){return t.vnode.shapeFlag&4}let ZA=!1;function uee(t,r=!1){r&&Qw(r);const{props:e,children:n}=t.vnode,i=Oj(t);UJ(t,e,i,r),YJ(t,n);const o=i?cee(t,r):void 0;return r&&Qw(!1),o}function cee(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=XS(new Proxy(t.ctx,BJ));const{setup:n}=e;if(n){const i=t.setupContext=n.length>1?xj(t):null;wc(t),jg();const o=ks(n,t,0,[t.props,i]);if(Vg(),rg(),O4(o)){if(o.then(rg,rg),r)return o.then(a=>{Xk(t,a,r)}).catch(a=>{HA(a,t,0)});t.asyncDep=o}else Xk(t,o,r)}else kj(t,r)}function Xk(t,r,e){et(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:Gt(r)&&(t.setupState=Q4(r)),kj(t,e)}let Qk;function kj(t,r,e){const n=t.type;if(!t.render){if(!r&&Qk&&!n.render){const i=n.template||i2(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=Qk(i,g)}}t.render=n.render||Li}{wc(t),jg();try{LJ(t)}finally{Vg(),rg()}}}function dee(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,e){return ei(t,"get","$attrs"),r[e]}}))}function xj(t){const r=e=>{t.exposed=e||{}};return{get attrs(){return dee(t)},slots:t.slots,emit:t.emit,expose:r}}function $m(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Q4(XS(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in Sh)return Sh[e](t)},has(r,e){return e in r||e in Sh}}))}function hee(t,r=!0){return et(t)?t.displayName||t.name:t.name||r&&t.__name}function Aee(t){return et(t)&&"__vccOpts"in t}const X=(t,r)=>eJ(t,r,ZA);function ld(t,r,e){const n=arguments.length;return n===2?Gt(r)&&!ze(r)?qv(r)?z(t,null,[r]):z(t,r):z(t,null,r):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&qv(e)&&(e=[e]),z(t,r,e))}const fee="3.4.4",Cee="http://www.w3.org/2000/svg",Iee="http://www.w3.org/1998/Math/MathML",As=typeof document<"u"?document:null,qk=As&&As.createElement("template"),vee={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(Cee,t):r==="mathml"?As.createElementNS(Iee,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{qk.innerHTML=n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t;const s=qk.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",th="animation",aA=Symbol("_vtc"),KA=(t,{slots:r})=>ld(wJ,pee(t),r);KA.displayName="Transition";const Pj={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};KA.props=Gr({},lj,Pj);const Pl=(t,r=[])=>{ze(t)?t.forEach(e=>e(...r)):t&&t(...r)},Jk=t=>t?ze(t)?t.some(r=>r.length>1):t.length>1:!1;function pee(t){const r={};for(const R in t)R in Pj||(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=mee(i),f=A&&A[0],C=A&&A[1],{onBeforeEnter:I,onEnter:v,onEnterCancelled:p,onLeave:y,onLeaveCancelled:b,onBeforeAppear:S=I,onAppear:N=v,onAppearCancelled:k=p}=r,_=(R,L,te)=>{Rl(R,L?u:s),Rl(R,L?g:a),te&&te()},O=(R,L)=>{R._isLeaving=!1,Rl(R,c),Rl(R,h),Rl(R,d),L&&L()},P=R=>(L,te)=>{const H=R?N:v,V=()=>_(L,R,te);Pl(H,[L,V]),ex(()=>{Rl(L,R?l:o),Ja(L,R?u:s),Jk(H)||tx(L,n,f,V)})};return Gr(r,{onBeforeEnter(R){Pl(I,[R]),Ja(R,o),Ja(R,a)},onBeforeAppear(R){Pl(S,[R]),Ja(R,l),Ja(R,g)},onEnter:P(!1),onAppear:P(!0),onLeave(R,L){R._isLeaving=!0;const te=()=>O(R,L);Ja(R,c),$ee(),Ja(R,d),ex(()=>{R._isLeaving&&(Rl(R,c),Ja(R,h),Jk(y)||tx(R,n,C,te))}),Pl(y,[R,te])},onEnterCancelled(R){_(R,!1),Pl(p,[R])},onAppearCancelled(R){_(R,!0),Pl(k,[R])},onLeaveCancelled(R){O(R),Pl(b,[R])}})}function mee(t){if(t==null)return null;if(Gt(t))return[Pb(t.enter),Pb(t.leave)];{const r=Pb(t);return[r,r]}}function Pb(t){return wq(t)}function Ja(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[aA]||(t[aA]=new Set)).add(r)}function Rl(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const e=t[aA];e&&(e.delete(r),e.size||(t[aA]=void 0))}function ex(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let yee=0;function tx(t,r,e,n){const i=t._endId=++yee,o=()=>{i===t._endId&&n()};if(e)return setTimeout(o,e);const{type:a,timeout:s,propCount:l}=bee(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 bee(t,r){const e=window.getComputedStyle(t),n=A=>(e[A]||"").split(", "),i=n(`${qa}Delay`),o=n(`${qa}Duration`),a=rx(i,o),s=n(`${th}Delay`),l=n(`${th}Duration`),g=rx(s,l);let u=null,c=0,d=0;r===qa?a>0&&(u=qa,c=a,d=o.length):r===th?g>0&&(u=th,c=g,d=l.length):(c=Math.max(a,g),u=c>0?a>g?qa:th: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 rx(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((e,n)=>nx(e)+nx(t[n])))}function nx(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function $ee(){return document.body.offsetHeight}function wee(t,r,e){const n=t[aA];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const _ee=Symbol("_vod"),Eee=Symbol("");function See(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&&qw(n,o,"");for(const o in e)qw(n,o,e[o])}else{const o=n.display;if(i){if(r!==e){const a=n[Eee];a&&(e+=";"+a),n.cssText=e}}else r&&t.removeAttribute("style");_ee in t&&(n.display=o)}}const ix=/\s*!important$/;function qw(t,r,e){if(ze(e))e.forEach(n=>qw(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Tee(t,r);ix.test(e)?t.setProperty(zg(n),e.replace(ix,""),"important"):t[n]=e}}const ox=["Webkit","Moz","ms"],Rb={};function Tee(t,r){const e=Rb[r];if(e)return e;let n=ea(r);if(n!=="filter"&&n in t)return Rb[r]=n;n=dm(n);for(let i=0;i<ox.length;i++){const o=ox[i]+n;if(o in t)return Rb[r]=o}return r}const ax="http://www.w3.org/1999/xlink";function Oee(t,r,e,n,i){if(n&&r.startsWith("xlink:"))e==null?t.removeAttributeNS(ax,r.slice(6,r.length)):t.setAttributeNS(ax,r,e);else{const o=kq(r);e==null||o&&!R4(e)?t.removeAttribute(r):t.setAttribute(r,o?"":e)}}function kee(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=R4(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 xee(t,r,e,n){t.removeEventListener(r,e,n)}const sx=Symbol("_vei");function Pee(t,r,e,n,i=null){const o=t[sx]||(t[sx]={}),a=o[r];if(n&&a)a.value=n;else{const[s,l]=Ree(r);if(n){const g=o[r]=Mee(n,i);Ca(t,s,g,l)}else a&&(xee(t,s,a,l),o[r]=void 0)}}const lx=/(?:Once|Passive|Capture)$/;function Ree(t){let r;if(lx.test(t)){r={};let n;for(;n=t.match(lx);)t=t.slice(0,t.length-n[0].length),r[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):zg(t.slice(2)),r]}let Db=0;const Dee=Promise.resolve(),Nee=()=>Db||(Dee.then(()=>Db=0),Db=Date.now());function Mee(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;ji(Bee(n,e.value),r,5,[n])};return e.value=t,e.attached=Nee(),e}function Bee(t,r){if(ze(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 gx=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Fee=(t,r,e,n,i,o,a,s,l)=>{const g=i==="svg";r==="class"?wee(t,n,g):r==="style"?See(t,e,n):um(r)?LS(r)||Pee(t,r,e,n,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Lee(t,r,n,g))?kee(t,r,n,o,a,s,l):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),Oee(t,r,n,g))};function Lee(t,r,e,n){if(n)return!!(r==="innerHTML"||r==="textContent"||r in t&&gx(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 gx(r)&&cr(e)?!1:r in t}const qs=t=>{const r=t.props["onUpdate:modelValue"]||!1;return ze(r)?e=>ov(r,e):r};function zee(t){t.target.composing=!0}function ux(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const Gi=Symbol("_assign"),cx={created(t,{modifiers:{lazy:r,trim:e,number:n}},i){t[Gi]=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=Hv(s)),t[Gi](s)}),e&&Ca(t,"change",()=>{t.value=t.value.trim()}),r||(Ca(t,"compositionstart",zee),Ca(t,"compositionend",ux),Ca(t,"change",ux))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,modifiers:{lazy:e,trim:n,number:i}},o){if(t[Gi]=qs(o),t.composing)return;const a=i||t.type==="number"?Hv(t.value):t.value,s=r??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(e||n&&t.value.trim()===s)||(t.value=s))}},jee={deep:!0,created(t,r,e){t[Gi]=qs(e),Ca(t,"change",()=>{const n=t._modelValue,i=_c(t),o=t.checked,a=t[Gi];if(ze(n)){const s=VS(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(od(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(Rj(t,o))})},mounted:dx,beforeUpdate(t,r,e){t[Gi]=qs(e),dx(t,r,e)}};function dx(t,{value:r,oldValue:e},n){t._modelValue=r,ze(r)?t.checked=VS(r,n.props.value)>-1:od(r)?t.checked=r.has(n.props.value):r!==e&&(t.checked=yg(r,Rj(t,!0)))}const Vee={created(t,{value:r},e){t.checked=yg(r,e.props.value),t[Gi]=qs(e),Ca(t,"change",()=>{t[Gi](_c(t))})},beforeUpdate(t,{value:r,oldValue:e},n){t[Gi]=qs(n),r!==e&&(t.checked=yg(r,n.props.value))}},Gee={deep:!0,created(t,{value:r,modifiers:{number:e}},n){const i=od(r);Ca(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?Hv(_c(a)):_c(a));t[Gi](t.multiple?i?new Set(o):o:o[0])}),t[Gi]=qs(n)},mounted(t,{value:r}){hx(t,r)},beforeUpdate(t,r,e){t[Gi]=qs(e)},updated(t,{value:r}){hx(t,r)}};function hx(t,r){const e=t.multiple;if(!(e&&!ze(r)&&!od(r))){for(let n=0,i=t.options.length;n<i;n++){const o=t.options[n],a=_c(o);if(e)ze(r)?o.selected=VS(r,a)>-1:o.selected=r.has(a);else if(yg(_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 Rj(t,r){const e=r?"_trueValue":"_falseValue";return e in t?t[e]:r}const Wee={created(t,r,e){xC(t,r,e,null,"created")},mounted(t,r,e){xC(t,r,e,null,"mounted")},beforeUpdate(t,r,e,n){xC(t,r,e,n,"beforeUpdate")},updated(t,r,e,n){xC(t,r,e,n,"updated")}};function Hee(t,r){switch(t){case"SELECT":return Gee;case"TEXTAREA":return cx;default:switch(r){case"checkbox":return jee;case"radio":return Vee;default:return cx}}}function xC(t,r,e,n,i){const a=Hee(t.tagName,e.props&&e.props.type)[i];a&&a(t,r,e,n)}const Uee=["ctrl","shift","alt","meta"],Zee={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)=>Uee.some(e=>t[`${e}Key`]&&!r.includes(e))},wn=(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=Zee[r[a]];if(s&&s(i,r))return}return t(i,...o)})},Kee={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Dj=(t,r)=>{const e=t._withKeys||(t._withKeys={}),n=r.join(".");return e[n]||(e[n]=i=>{if(!("key"in i))return;const o=zg(i.key);if(r.some(a=>a===o||Kee[a]===o))return t(i)})},Yee=Gr({patchProp:Fee},vee);let Ax;function Nj(){return Ax||(Ax=QJ(Yee))}const fx=(...t)=>{Nj().render(...t)},g2=(...t)=>{const r=Nj().createApp(...t),{mount:e}=r;return r.mount=n=>{const i=Qee(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,Xee(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},r};function Xee(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Qee(t){return cr(t)?document.querySelector(t):t}var qee=Object.create,Mj=Object.defineProperty,Jee=Object.getOwnPropertyDescriptor,u2=Object.getOwnPropertyNames,ete=Object.getPrototypeOf,tte=Object.prototype.hasOwnProperty,rte=(t,r)=>function(){return t&&(r=(0,t[u2(t)[0]])(t=0)),r},Bj=(t,r)=>function(){return r||(0,t[u2(t)[0]])((r={exports:{}}).exports,r),r.exports},nte=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of u2(r))!tte.call(t,i)&&i!==e&&Mj(t,i,{get:()=>r[i],enumerable:!(n=Jee(r,i))||n.enumerable});return t},ite=(t,r,e)=>(e=t!=null?qee(ete(t)):{},nte(r||!t||!t.__esModule?Mj(e,"default",{value:t,enumerable:!0}):e,t)),nt=rte({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),ote=Bj({"../../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="",y="",b=!0,S={},N,k,_,O,P,R,L,te,H,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,O=I.uric||!1,P=I.uricNoSlash||!1,R=I.mark||!1,b=!(I.symbols===!1||I.lang===!1),v=I.separator||v,O&&(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(ye){S[ye+""]=ye+""}),k=!0):k=!!I.titleCase,I.custom&&typeof I.custom.length=="number"&&Array.prototype.toString.call(I.custom)&&I.custom.forEach(function(ye){S[ye+""]=ye+""}),Object.keys(S).forEach(function(ye){var je;ye.length>1?je=new RegExp("\\b"+h(ye)+"\\b","gi"):je=new RegExp(h(ye),"gi"),C=C.replace(je,S[ye])});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?(y+=Q,Q=""):We===!0?(Q=o[y]+n[Q],y=""):Q=Re&&n[Q].match(/[A-Za-z0-9]/)?" "+n[Q]:n[Q],Re=!1,We=!1):Q in o?(y+=Q,Q="",V===Ie-1&&(Q=o[y]),We=!0):L[Q]&&!(O&&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[y]+Q,y="",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(ye,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>_&&(H=p.charAt(_)===v,p=p.slice(0,_),H||(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)}}),ate=Bj({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,r){nt(),r.exports=ote()}});nt();nt();nt();nt();nt();nt();var Cx,Ix,vi=(Ix=(Cx=qe).__VUE_DEVTOOLS_HOOK)!=null?Ix:Cx.__VUE_DEVTOOLS_HOOK=T4(),ste={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 vx(){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 lte(){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 ng={on:ste},Ec="__VUE_DEVTOOLS_ROUTER_INFO__",Jv="__VUE_DEVTOOLS_ROUTER__",px,mx;(mx=(px=qe)[Ec])!=null||(px[Ec]={currentRoute:null,routes:[],router:null});var yx,bx;(bx=(yx=qe)[Jv])!=null||(yx[Jv]=null);var gte=new Proxy(qe[Ec],{get(t,r){return qe[Ec][r]}});function ute(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[Ec]={currentRoute:o?bc(o):{},routes:bc(a)},qe[Jv]=i,console.warn=s}e(),ng.on.componentUpdated(tA(()=>{e(),zt.callHook("router-info:updated",qe[Ec])},200))}function cte(t){return t.replace(/\D/g,"")||"0"}var fs="__VUE_DEVTOOLS_GLOBAL_STATE__",Fo="__VUE_DEVTOOLS_CONTEXT__",Fj={appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]},$x,wx;(wx=($x=qe)[fs])!=null||($x[fs]={connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null});var _x,Ex;(Ex=(_x=qe)[Fo])!=null||(_x[Fo]=bc(Fj));var dte=tA((t,r)=>{zt.callHook("devtools:state-updated",t,r)},80),hte=tA((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[Fo].appRecord=e,qe[Fo].api=e.api,qe[Fo].inspector=(n=e.inspector)!=null?n:[],ute(e),qe[Fo].routerInfo=gte),dte(qe[fs],i),["connected","clientConnected"].includes(r.toString())&&i[r]!==e&&hte(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[Fo],{get(t,r){return r==="router"?qe[Jv]:r==="clear"?Ate:qe[Fo][r]},set(t,r,e){return r==="componentPluginHookBuffer"&&(qe[Fo][r]=e),!0}});function Ate(){qe[Fo]=bc(Fj)}nt();nt();nt();nt();var fte=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"]),Sx=/^\[native Symbol Symbol\((.*)\)\]$/,Cte=/^\[object (\w+)]$/,ep=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Ite=/^(?:function|class) (\w+)/,Tx=1e4,Ox=5e3,YA="__vue_devtool_undefined__",wm="__vue_devtool_infinity__",_m="__vue_devtool_negative_infinity__",Em="__vue_devtool_nan__",vte={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};nt();function pte(t){return t._&&Object.keys(t._).includes("vnode")}function Lj(t){return Object.prototype.toString.call(t)==="[object Object]"}function mte(t){if(t==null)return!0;const r=typeof t;return r==="string"||r==="number"||r==="boolean"}function zj(t){return!!t.__v_isRef}function yte(t){return zj(t)&&!!t.effect}function bte(t){return!!t.__v_isReactive}function $te(t){return!!t.__v_isReadonly}nt();function wte(t){return t===null?"null":t===YA?"undefined":t===Em?"NaN":t===wm?"Infinity":t===_m?"-Infinity":!1}function jj(t){if(Array.isArray(t))return t.map(e=>jj(e)).join(" or ");if(t==null)return"null";const r=t.toString().match(Ite);return typeof t=="function"&&r&&r[1]||"any"}function _te(t){return!mte(t)&&!Array.isArray(t)&&!Lj(t)?Object.prototype.toString.call(t):t}function Vj(t){return{ref:zj(t),computed:yte(t),reactive:bte(t),readonly:$te(t)}}function Gj(t){return t?.__v_raw?t.__v_raw:t}function Ih(t){return t.replace(/[<>"&]/g,r=>vte[r]||r)}function Sm(t,r=!0){const e=typeof t;if(t==null||t===YA)return"null";if(e==="boolean"||e==="number"||t===wm||t===_m||t===Em)return"literal";if(t?._custom)return r||t._custom.display!=null||t._custom.displayText!=null?"custom":Sm(t._custom.value);if(typeof t=="string"){const n=ep.exec(t);if(n){const[,i]=n;return`native ${i}`}else return"string"}else return Array.isArray(t)||t?._isArray?"array":Lj(t)?"plain-object":"unknown"}function Wj(t,r=!1){var e,n;let i;const o=Sm(t,!1);if(o!=="custom"&&t?._custom&&(t=t._custom.value),i=wte(t))return i;if(o==="custom")return((e=t._custom.value)==null?void 0:e._custom)&&Wj(t._custom.value)||t._custom.displayText||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 Ih((n=ep.exec(t))==null?void 0:n[2]);if(typeof t=="string"){const a=t.match(Cte);a?t=Ih(a[1]):r?t=`<span>"</span>${Ih(t)}<span>"</span>`:t=Ih(t),t=t.replace(/ /g,"&nbsp;").replace(/\n/g,"<span>\\n</span>")}return t}function c2(t){var r,e,n,i;const o=Sm(t)==="custom";let a={};if(o){const s=t,l=typeof((r=s._custom)==null?void 0:r.value)=="object"&&"_custom"in s._custom.value?c2((e=s._custom)==null?void 0:e.value):{inherit:void 0,value:void 0};a=l.inherit||((n=s._custom)==null?void 0:n.fields)||{},t=l.value||((i=s._custom)==null?void 0:i.value)}return t&&t._isArray&&(t=t.items),{value:t,inherit:a}}nt();nt();nt();function Ete(t){return t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name}function Hj(t){const r=t.__file;if(r)return E4(sq(r,".vue"))}function Ste(t){const r=t.displayName||t.name||t._componentTag;return r||Hj(t)}function kx(t,r){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=r,r}function lc(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 lv(t){const{app:r,uid:e,instance:n}=t;try{if(n.__VUE_DEVTOOLS_UID__)return n.__VUE_DEVTOOLS_UID__;const i=await lc(r);if(!i)return null;const o=i.rootInstance===n;return`${i.id}:${o?"root":e}`}catch{}}function d2(t){var r;return((r=t.subTree)==null?void 0:r.type)===me}function Nb(t){return t._isBeingDestroyed||t.isUnmounted}function gl(t){var r,e,n;const i=Ete(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 kx(t,a);for(const a in(n=t.appContext)==null?void 0:n.components)if(t.appContext.components[a]===t.type)return kx(t,a);const o=Hj(t.type||{});return o||"Anonymous Component"}function Uj(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 Tte(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function ul(t){try{return t()}catch(r){return r}}function Sc(t,r){return r=r||`${t.id}:root`,t.instanceMap.get(r)||t.instanceMap.get(":root")}nt();function tp(t,r,e){if(typeof r=="function"&&(r=r.options),!r)return t;const{mixins:n,extends:i}=r;i&&tp(t,i),n&&n.forEach(o=>tp(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 Ote(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=>tp(o,a)),tp(o,r),o}function kte(t){const r=[],e=t.type.props;for(const n in t.props){const i=e?e[n]:null,o=oq(n);r.push({type:"props",key:o,value:ul(()=>t.props[n]),meta:i?{type:i.type?jj(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return r}function xte(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:ul(()=>o[a]),editable:!0}))}function Pte(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 Rte(t){const r=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(e=>!fte.has(e)&&e.split(/(?=[A-Z])/)[0]!=="use").map(e=>{var n,i,o,a;const s=ul(()=>Gj(t.setupState[e])),l=r[e];let g,u=typeof s=="function"||typeof s?.render=="function"||typeof s?.__asyncLoader=="function";if(l){const d=Vj(l),{stateType:h,stateTypeName:A}=Pte(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 Dte(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:ul(()=>{var l;return(l=t?.proxy)==null?void 0:l[o]}),editable:typeof a.set=="function"})}return n}function Nte(t){return Object.keys(t.attrs).map(r=>({type:"attrs",key:r,value:ul(()=>t.attrs[r])}))}function Mte(t){return Reflect.ownKeys(t.provides).map(r=>({type:"provided",key:r.toString(),value:ul(()=>t.provides[r])}))}function Bte(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:ul(()=>t.ctx.hasOwnProperty(i)?t.ctx[i]:t.provides.hasOwnProperty(o)?t.provides[o]:n)}))}function Fte(t){return Object.keys(t.refs).map(r=>({type:"refs",key:r,value:ul(()=>t.refs[r])}))}function Lte(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 Zj(t){const r=Ote(t);return kte(t).concat(xte(t),Rte(t),Dte(t,r),Nte(t),Mte(t),Bte(t,r),Fte(t),Lte(t))}function zte(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> ${Ih(o)}${i}`,tooltipText:r.trim()?`<pre>${r}</pre>`:null}}}function jte(t){const r=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${r})`,value:r}}}function Vte(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 Gte(t){const r=Array.from(t);return{_custom:{type:"set",displayText:`Set[${r.length}]`,value:r,readOnly:!0}}}function Wte(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 Hte(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 Ute(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 Zte(t){return{_custom:{type:"store",displayText:"Store",value:{state:t.state,getters:Wte(t)},fields:{abstract:!0}}}}function Kte(t){return{_custom:{type:"router",displayText:"VueRouter",value:{options:t.options,currentRoute:t.currentRoute},fields:{abstract:!0}}}}function Yte(t){t._&&(t=t._);const r=Zj(t);return{_custom:{type:"component",id:t.__VUE_DEVTOOLS_UID__,displayText:gl(t),tooltipText:"Component instance",value:Hte(r),fields:{abstract:!0}}}}function Xte(t){let r=Ste(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 Qte(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:Ute(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=Vj(t);if(o.ref||o.computed||o.reactive){const s=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=Gj(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 Jte(t){var r;if(t==="compilerOptions")return;const e=this[t],n=typeof e;if(Array.isArray(e)){const i=e.length;return i>Ox?{_isArray:!0,length:i,items:e.slice(0,Ox)}:e}else{if(typeof e=="string")return e.length>Tx?`${e.substring(0,Tx)}... (${e.length} total length)`:e;if(n==="undefined")return YA;if(e===Number.POSITIVE_INFINITY)return wm;if(e===Number.NEGATIVE_INFINITY)return _m;if(typeof e=="function")return zte(e);if(n==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(e)}]`;if(typeof e=="bigint")return jte(e);if(e!==null&&typeof e=="object"){const i=Object.prototype.toString.call(e);if(i==="[object Map]")return Vte(e);if(i==="[object Set]")return Gte(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 Zte(e);if(e.constructor&&e.constructor.name==="VueRouter")return Kte(e);if(pte(e))return Yte(e);if(typeof e.render=="function")return Xte(e);if(e.constructor&&e.constructor.name==="VNode")return`[native VNode <${e.tag}>]`;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return Qte(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 Em}return _te(e)}nt();function ere(t){const r=new Set,e=t._custom.value;for(let n=0;n<e.length;n++){const i=e[n];r.add(Tm(i))}return r}function tre(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,Tm(o))}return r}function Tm(t){var r;if(t!==YA){if(t===wm)return Number.POSITIVE_INFINITY;if(t===_m)return Number.NEGATIVE_INFINITY;if(t===Em)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"?tre(t):e.type==="set"?ere(t):e.type==="bigint"?BigInt(e.value):Tm(e.value)}else if(Sx.test(t)){const[,e]=Sx.exec(t);return Symbol.for(e)}else if(ep.test(t)){const[,e,n,,i]=ep.exec(t),o=new qe[e](n);return e==="Error"&&i&&(o.stack=i),o}else return t}}function rre(t,r){return Tm(r)}nt();var PC=512*1024;function Jw(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]=Jw(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]=Jw(a,r,e,n)}else e.push(t);return u}function nre(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 ire(t,r=null,e=null){let n;try{n=arguments.length===1?JSON.stringify(t):JSON.stringify(t,r,e)}catch{n=ore(t,r,e)}if(n.length>PC){const i=Math.ceil(n.length/PC),o=[];for(let a=0;a<i;a++)o.push(n.slice(a*PC,(a+1)*PC));return o}return n}function ore(t,r=null,e=null){const n=[];return Jw(t,r,n,new Map),e?` ${JSON.stringify(n,null,e)}`:` ${JSON.stringify(n)}`}function xx(t,r=null){if(Array.isArray(t)&&(t=t.join("")),/^\s/.test(t)){const n=JSON.parse(t);return nre(n,r),n[0]}else return arguments.length===1?JSON.parse(t):JSON.parse(t,r)}function Nu(t){return ire(t,Jte)}function Po(t,r=!1){return t?r?xx(t,rre):xx(t):{}}nt();function are(){return Date.now()}nt();nt();function sre(t){fr.inspector.push(t)}function e_(t){return fr.inspector.find(r=>r.id===t)}function Px(t,r){const e=e_(t);e&&Object.assign(e,r)}nt();function lre(t){fr.timelineLayer.push(t)}nt();nt();var Kj=class{constructor(){this.refEditor=new gre}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):pt(r)instanceof Map&&typeof n=="object"&&n&&"key"in n?r.delete(n.key):pt(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}}}},gre=class{set(t,r){if(Le(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 Le(t)?t.value:t}isRef(t){return Le(t)||tg(t)}};async function ure(t,r){const{path:e,nodeId:n,state:i,type:o}=t,a=Sc(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 cre=new Kj;async function dre(t){ure(t,cre)}nt();function hre(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 Are(t,r){jt.pluginBuffer.push([t,r])}async function fre(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 lc(i.app),i.packageName==="vue-router"){const a=cte(`${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,vueI18n:!!s.$i18n}}:i})}function Cre(t,r){return vi.callHook(jr.SETUP_DEVTOOLS_PLUGIN,t,r)}nt();nt();function rp(t){return d2(t)?Ire(t.subTree):t.subTree?[t.subTree.el]:[]}function Ire(t){if(!t.children)return[];const r=[];return t.children.forEach(e=>{e.component?r.push(...rp(e.component)):e?.el&&r.push(e.el)}),r}nt();var vre=class{constructor(t){this.filter=t||""}isQualified(t){const r=gl(t);return E4(r).toLowerCase().includes(this.filter)||aq(r).toLowerCase().includes(this.filter)}};function pre(t){return new vre(t)}var mre=class{constructor(t){this.captureIds=new Map;const{filterText:r="",maxDepth:e,recursively:n}=t;this.componentFilter=pre(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__:Uj(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=gl(t),o=this.getInternalInstanceChildren(t.subTree).filter(c=>!Nb(c)),a=this.getComponentParents(t)||[],s=!!t.isDeactivated||a.some(c=>c.isDeactivated),l={uid:t.uid,id:n,name:i,renderKey:Tte(t.vnode?t.vnode.key:null),inactive:s,children:[],isFragment:d2(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=rp(t)[0];if(u?.parentElement){const c=t.parent,d=c?rp(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!Nb(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!Nb(n)&&!((i=n.type.devtools)!=null&&i.hide)})}mark(t,r=!1){const e=lc(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 yre(t){var r;const e=Sc(fr.appRecord,t.instanceId),n=Uj(e),i=gl(e),o=(r=e?.type)==null?void 0:r.__file,a=Zj(e);return{id:n,name:i,file:o,state:a,instance:e}}nt();function bre(){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 RC;function $re(t){return RC||(RC=document.createRange()),RC.selectNode(t),RC.getBoundingClientRect()}function wre(t){const r=bre();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=bg(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=$re(a))}o&&_re(r,o)}return r}function _re(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 Rx={top:0,left:0,right:0,bottom:0,width:0,height:0};function bg(t){const r=t.subTree.el;return typeof window>"u"?Rx:d2(t)?wre(t.subTree):r?.nodeType===1?r?.getBoundingClientRect():t.subTree.component?bg(t.subTree.component):Rx}nt();var Dx,Nx,zt=(Nx=(Dx=qe).__VUE_DEVTOOLS_API_HOOK)!=null?Nx:Dx.__VUE_DEVTOOLS_API_HOOK=T4(),Ere={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 Sre(t){Cre({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=Sc(fr.appRecord,s.instanceId);if(l){if(typeof DOMRect>"u")return;s.rect=bg(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=Sc(fr.appRecord,s.instanceId);if(l){const g=new mre({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=yre({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&&(dre(s),await r.sendInspectorState("components"))});const e=tA(()=>{r.sendInspectorTree(es)},120),n=tA(()=>{r.sendInspectorState(es)},120),i=ng.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 lv({app:s,uid:l,instance:u}),f=await lc(s);u&&(u.__VUE_DEVTOOLS_UID__==null&&(u.__VUE_DEVTOOLS_UID__=A),f?.instanceMap.has(A)||f?.instanceMap.set(A,u)),f&&e()}),o=ng.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 lv({app:s,uid:l,instance:u}),f=await lc(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=ng.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 lc(s);if(!A)return;const f=await lv({app:s,uid:l,instance:u});A?.instanceMap.delete(f),e()});fr.componentPluginHookBuffer=[i,o,a]})}async function Yj(t){await Sre(t.app),jt.activeAppRecord=t,jt.activeAppRecordId=`${t.id}`,fre({app:t.app,api:t.api})}async function Tre(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 t8;r.api=e,Yj(r),window.postMessage({event:"toggle-app-record",target:"vue-devtools"})}}nt();function Ore(t){jt.tabs.some(r=>r.name===t.name)||jt.tabs.push(t)}nt();function kre(t){jt.commands.some(r=>r.id===t.id)||jt.commands.push(t)}function xre(t){const r=jt.commands.findIndex(e=>e.id===t);r!==-1&&jt.commands.splice(r,1)}nt();function Pre(t){let r=0;const e=setInterval(()=>{qe.__VUE_INSPECTOR__&&(clearInterval(e),r+=30,t()),r>=5e3&&clearInterval(e)},30)}function Rre(){const t=qe.__VUE_INSPECTOR__,r=t.openInEditor;t.openInEditor=async(...e)=>{t.disable(),r(...e)}}function Dre(){return new Promise(t=>{function r(){Rre(),t(qe.__VUE_INSPECTOR__)}qe.__VUE_INSPECTOR__?r():Pre(()=>{r()})})}nt();var Xj="__vue-devtools-component-inspector__",Qj="__vue-devtools-component-inspector__card__",qj="__vue-devtools-component-inspector__name__",Jj="__vue-devtools-component-inspector__indicator__",e8={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Nre={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)"},Mre={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Js(){return document.getElementById(Xj)}function Bre(){return document.getElementById(Qj)}function Fre(){return document.getElementById(Jj)}function Lre(){return document.getElementById(qj)}function h2(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 Om(t){var r;const e=document.createElement("div");e.id=(r=t.elementId)!=null?r:Xj,Object.assign(e.style,{...e8,...h2(t.bounds),...t.style});const n=document.createElement("span");n.id=Qj,Object.assign(n.style,{...Nre,top:t.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=qj,i.innerHTML=`&lt;${t.name}&gt;&nbsp;&nbsp;`;const o=document.createElement("i");return o.id=Jj,o.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(o.style,Mre),n.appendChild(i),n.appendChild(o),e.appendChild(n),document.body.appendChild(e),e}function km(t){const r=Js(),e=Bre(),n=Lre(),i=Fre();r&&(Object.assign(r.style,{...e8,...h2(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 zre(t){if(t.visible){const r=Sc(fr.appRecord,t.id);if(r&&(t.bounds.width||t.bounds.height)){const e=gl(r);Js()?km({...t,name:e}):Om({...t,name:e})}}else{const r=Js();r&&(r.style.display="none")}}function jre(t){const r=bg(t),e=gl(t);Js()?km({bounds:r,name:e}):Om({bounds:r,name:e})}function Vre(){const t=Js();t&&(t.style.display="none")}var t_=null;function Mx(t){const r=t.target;if(r){const e=r.__vueParentComponent;if(e&&(t_=e,e.vnode.el)){const i=bg(e),o=gl(e);Js()?km({bounds:i,name:o}):Om({bounds:i,name:o})}}}function Gre(t,r){var e;if(t.preventDefault(),t.stopPropagation(),t_){const n=(e=fr.appRecord)==null?void 0:e.app;lv({app:n,uid:n.uid,instance:t_}).then(i=>{r(i)})}}function Wre(){return window.addEventListener("mouseover",Mx),new Promise(t=>{function r(e){e.preventDefault(),e.stopPropagation(),Gre(e,n=>{window.removeEventListener("click",r),window.removeEventListener("mouseover",Mx);const i=Js();i&&(i.style.display="none"),t(JSON.stringify({id:n}))})}window.addEventListener("click",r)})}function Hre(t){const r=Sc(fr.appRecord,t.id);if(r){const[e]=rp(r);if(typeof e.scrollIntoView=="function")e.scrollIntoView({behavior:"smooth"});else{const n=bg(r),i=document.createElement("div"),o={...h2(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=bg(r);if(n.width||n.height){const i=gl(r),o=Js();o?km({...t,name:i,bounds:n}):Om({...t,name:i,bounds:n}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}nt();function Ure(){zt.removeAllHooks()}var t8=class{constructor(){this.on=Ere,this.clear=Ure}toggleApp(t){return Tre(t)}addTimelineEvent(t){zt.callHook("timeline:add-event",t)}toggleComponentInspector(t){return zre(t)}inspectComponentInspector(){return Wre()}scrollToComponent(t){return Hre(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"),Nu(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 Px(r,{filter:e}),await new Promise(o=>{zt.callHookWith(async a=>{await Promise.all(a.map(s=>s(i))),o()},"inspector-tree:get")}),Nu(i.rootNodes)}getInspectorState(t={}){const{inspectorId:r,nodeId:e}=t,n={app:fr.appRecord.app,inspectorId:r,nodeId:e};Px(r,{nodeId:e}),zt.callHookWith(o=>{o.forEach(a=>a(n))},"inspector-state:get");const i=n.state;return delete i.instance,Nu(i)}async editInspectorState(t){const r=new Kj;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(e_(t)){const e=await this.getInspectorTree({inspectorId:t});zt.callHook("inspector-tree:send",Nu({inspectorId:t,data:Po(e)}))}}async sendInspectorState(t){const r=e_(t);if(r&&r.nodeId){const e=await this.getInspectorState({inspectorId:t,nodeId:r.nodeId});zt.callHook("inspector-state:send",Nu({...Po(e),inspectorId:t}))}}addCustomTab(t){Ore(t)}addCustomCommand(t){kre(t)}removeCustomCommand(t){xre(t)}addInspector(t){var r;sre({id:t.id,nodeId:"",filter:"",treeFilterPlaceholder:(r=t.treeFilterPlaceholder)!=null?r:""})}openInEditor(t){hre(t)}highlightElement(t){jre(t)}unhighlightElement(){Vre()}async getComponentInstances(t){const r=t.__VUE_DEVTOOLS_APP_RECORD__,e=r.id.toString();return[...r.instanceMap].filter(([i])=>i.split(":")[0]===e).map(([,i])=>i)}getVueInspector(){return Dre()}visitComponentTree(t){zt.callHook("component-tree:visit",t)}addTimelineLayer(t){lre(t)}notifyComponentUpdate(){}now(){return are()}getSettings(){return{logStoreChanges:null}}};nt();var Zre=ite(ate(),1),Bx,Fx,Lu=(Fx=(Bx=qe).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null?Fx:Bx.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set};function Kre(t,r){var e;return((e=t?._component)==null?void 0:e.name)||`App ${r}`}function Yre(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 Xre(t,r){if(t.__VUE_DEVTOOLS_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_APP_RECORD_ID__;let e=r??(Lu.id++).toString();if(r&&Lu.appIds.has(e)){let n=1;for(;Lu.appIds.has(`${r}_${n}`);)n++;e=`${r}_${n}`}return Lu.appIds.add(e),t.__VUE_DEVTOOLS_APP_RECORD_ID__=e,e}function Qre(t){const r=Yre(t);if(r){Lu.id++;const e=Kre(t,Lu.id.toString()),i={id:Xre(t,(0,Zre.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 qre(){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__,vx()):qe.__VUE_DEVTOOLS_GLOBAL_HOOK__=vx(),(e=(r=qe).__VUE_DEVTOOLS_APP_RECORDS__)!=null||(r.__VUE_DEVTOOLS_APP_RECORDS__=[]),ng.on.setupDevtoolsPlugin(Are),ng.on.vueAppInit(async(i,o)=>{var a;const s=Qre(i),l=new t8;jt.appRecords=[...(a=jt.appRecords)!=null?a:[],{...s,app:i,version:o,api:l}],jt.appRecords.length===1&&(await Yj(jt.appRecords[0]),jt.connected=!0,vi.callHook(jr.APP_CONNECTED))}),lte())}var ft={state:jt,context:fr,init:qre,hook:ng,get api(){return fr.api}};const Jre=6e4;function r8(t){return t}const ene=r8,{clearTimeout:tne,setTimeout:rne}=globalThis,nne=Math.random.bind(Math);function ine(t,r){const{post:e,on:n,eventNames:i=[],serialize:o=r8,deserialize:a=ene,resolver:s,timeout:l=Jre}=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=ane();let y;l>=0&&(y=rne(()=>{v(new Error(`[birpc] timeout on calling "${h}"`)),g.delete(p)},l).unref?.()),g.set(p,{resolve:I,reject:v,timeoutId:y}),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(y){v=y}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&&(tne(v.timeoutId),I?v.reject(I):v.resolve(C)),g.delete(f)}}),c}const one="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function ane(t=21){let r="",e=t;for(;e--;)r+=one[nne()*64|0];return r}function sne(t,r,e={},n={}){const i=`${t}:rpc`;return ine(e,{...n,on:async o=>{(await r).on(i,o)},post:async o=>{(await r).send(i,o)}})}var n8=class{constructor(t={tracker:$k,trigger:$k}){this.emitter=cq(),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()}},Ct={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",unhighlightElement:"element:unhighlight"},i8=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:Po(n)};e(i)}),this.bridge.emit(`${t}:req`,r)})}};function lne(t){return t?sne("vite-plugin-vue-devtools",t,{}):null}var A2=(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))(A2||{}),$t={value:null,viteRpc:{enabled:!1,api:null},rpc:null};function gne(t){const r=lne(t.viteRPCContext);$t.value=t.bridge,$t.rpc=new i8(t.bridge),r&&($t.viteRpc={enabled:!0,api:r})}var np=class{static updateInspectorTreeId(t){$t.rpc.emit(Ct.updateInspectorTreeId,t)}static toggleComponentInspector(t){$t.rpc.emit(Ct.toggleComponentInspector,t)}static inspectComponentInspector(){return $t.rpc.emit(Ct.inspectComponentInspector)}static unhighlightElement(){return $t.rpc.emit(Ct.unhighlightElement)}static scrollToComponent(t){return $t.rpc.emit(Ct.scrollToComponent,t)}static async getComponentBoundingRect(t){return $t.rpc.emit(Ct.componentBoundingRect,t)}static getInspectorTree(t){return $t.rpc.emit(Ct.inspectorTree,t)}static async getInspectorState(t){return $t.rpc.emit(Ct.inspectorState,t)}static async editInspectorState(t){return $t.rpc.emit(Ct.editState,t)}static async getDevToolsState(){return $t.rpc.emit(Ct.state)}static async getTimelineLayer(){return $t.rpc.emit(Ct.timelineLayer)}static async getRouterInfo(){return $t.rpc.emit(Ct.routerInfo)}static async navigate(t){return $t.rpc.emit(Ct.router,JSON.stringify(t))}static async getMatchedRoutes(t){return $t.rpc.emit(Ct.routeMatched,t)}static async openInEditor(t){return $t.rpc.emit(Ct.openInEditor,JSON.stringify(t))}static async isVueInspectorDetected(){return $t.rpc.emit(Ct.isVueInspectorDetected)}static async enableVueInspector(){return $t.rpc.emit(Ct.enableVueInspector)}static async toggleApp(t){return $t.rpc.emit(Ct.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()}};np.on={inspectorTreeUpdated(t,r){$t.value.on("inspector-tree:send",e=>{const n=Po(e);r.inspectorId===n.inspectorId&&t(n)})},inspectorStateUpdated(t,r){$t.value.on("inspector-state:send",e=>{const n=Po(e);r.inspectorId===n.inspectorId&&t({state:n.state,getters:n.getters})})},devtoolsStateUpdated(t){$t.value.on("devtools-state:updated",r=>{t(Po(r))})},customTabsUpdated(t){$t.value.on("custom-tabs:updated",r=>{t(Po(r))})},customCommandsUpdated(t){$t.value.on("custom-commands:updated",r=>{t(Po(r))})},routerInfoUpdated(t){$t.value.on("router-info:updated",r=>{t(Po(r))})},addTimelineEvent(t){$t.value.on("timeline:add-event",r=>{t(Po(r))})}};function une(t){const r=new i8(t);r.on(Ct.state,()=>{var n,i;return JSON.stringify({connected:ft.state.connected,clientConnected:ft.state.clientConnected,vueVersion:((i=(n=ft.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",tabs:ft.state.tabs,commands:ft.state.commands,vitePluginDetected:ft.state.vitePluginDetected,appRecords:ft.state.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:ft.state.activeAppRecordId})}),r.on(Ct.timelineLayer,()=>JSON.stringify(ft.context.timelineLayer)),r.on(Ct.toggleComponentInspector,n=>(ft.api.toggleComponentInspector(n),Promise.resolve(JSON.stringify({})))),r.on(Ct.inspectComponentInspector,()=>ft.api.inspectComponentInspector()),r.on(Ct.unhighlightElement,()=>(ft.api.unhighlightElement(),Promise.resolve(JSON.stringify({})))),r.on(Ct.scrollToComponent,n=>(ft.api.scrollToComponent(n),Promise.resolve(JSON.stringify({})))),r.on(Ct.componentBoundingRect,async n=>ft.api.getComponentBoundingRect(n)),r.on(Ct.inspectorTree,n=>ft.api.getInspectorTree(n)),r.on(Ct.updateInspectorTreeId,async n=>{ft.context.activeInspectorTreeId=n}),r.on(Ct.inspectorState,async n=>ft.api.getInspectorState(n)),r.on(Ct.editState,async n=>ft.api.editInspectorState(n)),r.on(Ct.routerInfo,()=>JSON.stringify(ft.context.routerInfo)),r.on(Ct.router,n=>{var i;return(i=ft.context.router)==null||i.push(JSON.parse(n)).catch(o=>o),Promise.resolve(JSON.stringify({}))}),r.on(Ct.openInEditor,async n=>ft.api.openInEditor(JSON.parse(n))),r.on(Ct.isVueInspectorDetected,async()=>{var n,i,o;return!!await((o=(i=(n=ft)==null?void 0:n.api)==null?void 0:i.getVueInspector)==null?void 0:o.call(i))}),r.on(Ct.enableVueInspector,async()=>{var n,i,o;const a=await((o=(i=(n=ft)==null?void 0:n.api)==null?void 0:i.getVueInspector)==null?void 0:o.call(i));a&&await a.enable()}),r.on(Ct.routeMatched,n=>{var i,o;const a=console.warn;console.warn=()=>{};const s=(o=(i=ft.context.router)==null?void 0:i.resolve({path:n||"/"}).matched)!=null?o:[];return console.warn=a,JSON.stringify(s)}),r.on(Ct.toggleApp,async n=>(await ft.api.toggleApp(n),JSON.stringify({})));function e(){var n,i,o;t.emit("devtools-state:updated",JSON.stringify({vueVersion:((i=(n=ft.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",connected:!0,clientConnected:ft.state.clientConnected,activeAppRecordId:(o=ft.state)==null?void 0:o.activeAppRecordId,appRecords:ft.state.appRecords.map(a=>({id:a.id,name:a.name,version:a.version,routerId:a.routerId,moduleDetectives:a.moduleDetectives}))})),ft.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}))}),ft.api.on.customTabsUpdated(a=>{t.emit("custom-tabs:updated",JSON.stringify(a))}),ft.api.on.customCommandsUpdated(a=>{t.emit("custom-commands:updated",JSON.stringify(a))}),ft.api.on.routerInfoUpdated(a=>{t.emit("router-info:updated",JSON.stringify(a))}),ft.api.on.sendInspectorTree(a=>{t.emit("inspector-tree:send",a)}),ft.api.on.sendInspectorState(a=>{t.emit("inspector-state:send",a)}),ft.api.on.addTimelineEvent(a=>{t.emit("timeline:add-event",Nu(a))})}t.on("user-app:connected",()=>{e()}),w4&&window.addEventListener("message",n=>{const i=n.data;i.target==="vue-devtools"&&i.event==="toggle-app-record"&&e()})}function o8(t,r){t==="devtools"?gne(r):une(r.bridge)}function cne(){const t=W(!1),r=W(!1),e=W(0),n=W(""),i=W([]),o=W([]),a=W(!1),s=W([]),l=W("");function g(){np.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}),np.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 dne(t){const r=W(t);function e(n){r.value=n}return{bridge:r,restore:e}}var a8=Symbol("VueDevToolsBridgeSymbol"),s8=Symbol("VueDevToolsStateSymbol");function hne(t){return{install(r,e){const{bridge:n,viewMode:i}=t,o=W(i),a=cne(),s=dne(n);a.init(),r.provide(a8,s.bridge),r.provide(s8,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 f2(){return Er(a8)}function pn(){return np}function Ki(){return Er(s8)}var Ane=class{constructor(t){this.socket=t}},l8=class extends Ane{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 HQ=Object.create,$4=Object.defineProperty,UQ=Object.getOwnPropertyDescriptor,MS=Object.getOwnPropertyNames,ZQ=Object.getPrototypeOf,KQ=Object.prototype.hasOwnProperty,YQ=(t,r)=>function(){return t&&(r=(0,t[MS(t)[0]])(t=0)),r},XQ=(t,r)=>function(){return r||(0,t[MS(t)[0]])((r={exports:{}}).exports,r),r.exports},QQ=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of MS(r))!KQ.call(t,i)&&i!==e&&$4(t,i,{get:()=>r[i],enumerable:!(n=UQ(r,i))||n.enumerable});return t},qQ=(t,r,e)=>(e=t!=null?HQ(ZQ(t)):{},QQ(r||!t||!t.__esModule?$4(e,"default",{value:t,enumerable:!0}):e,t)),VA=YQ({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),JQ=XQ({"../../node_modules/.pnpm/rfdc@1.3.0/node_modules/rfdc/index.js"(t,r){VA(),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}}}});VA();VA();var w4=typeof navigator<"u",qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},yc=typeof qe.chrome<"u"&&!!qe.chrome.devtools,eq=w4&&qe.self!==qe.top,BS=typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");VA();var tq=qQ(JQ(),1);function $k(){}var wk=()=>navigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),rq=/(?:^|[-_/])(\w)/g,nq=/-(\w)/g,iq=/([a-z0-9])([A-Z])/g;function _4(t,r){return r?r.toUpperCase():""}function E4(t){return t&&`${t}`.replace(rq,_4)}function oq(t){return t&&t.replace(nq,_4)}function aq(t){return t&&t.replace(iq,(r,e,n)=>`${e}-${n}`).toLowerCase()}function sq(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 lq(t){return t&&t.slice().sort((r,e)=>r.key<e.key?-1:r.key>e.key?1:0)}var bc=(0,tq.default)({circles:!0});function gq(){return Math.random().toString(36).slice(2)}VA();var wb="__vue-devtools-view-mode__",uq="__vue-devtools-broadcast-channel__";function cq(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 dq={trailing:!0};function tA(t,r=25,e={}){if(e={...dq,...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=hq(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 hq(t,r,e){return await t.apply(r,e)}function Bw(t,r={},e){for(const n in t){const i=t[n],o=e?`${e}:${n}`:n;typeof i=="object"&&i!==null?Bw(i,r,o):typeof i=="function"&&(r[o]=i)}return r}const Aq={run:t=>t()},fq=()=>Aq,S4=typeof console.createTask<"u"?console.createTask:fq;function Cq(t,r){const e=r.shift(),n=S4(e);return t.reduce((i,o)=>i.then(()=>n.run(()=>o(...r))),Promise.resolve())}function Iq(t,r){const e=r.shift(),n=S4(e);return Promise.all(t.map(i=>n.run(()=>i(...r))))}function _b(t,r){for(const e of[...t])e(r)}class vq{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=Bw(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=Bw(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(Cq,r,...e)}callHookParallel(r,...e){return e.unshift(r),this.callHookWith(Iq,r,...e)}callHookWith(r,e,...n){const i=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&_b(this._before,i);const o=r(e in this._hooks?[...this._hooks[e]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&i&&_b(this._after,i)}):(this._after&&i&&_b(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 T4(){return new vq}function FS(t,r){const e=new Set(t.split(","));return r?n=>e.has(n.toLowerCase()):n=>e.has(n)}const er={},oc=[],Li=()=>{},pq=()=>!1,um=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),LS=t=>t.startsWith("onUpdate:"),Gr=Object.assign,zS=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},mq=Object.prototype.hasOwnProperty,wt=(t,r)=>mq.call(t,r),ze=Array.isArray,ac=t=>GA(t)==="[object Map]",od=t=>GA(t)==="[object Set]",_k=t=>GA(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",O4=t=>(Gt(t)||et(t))&&et(t.then)&&et(t.catch),k4=Object.prototype.toString,GA=t=>k4.call(t),yq=t=>GA(t).slice(8,-1),x4=t=>GA(t)==="[object Object]",jS=t=>cr(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,nv=FS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cm=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},bq=/-(\w)/g,ea=cm(t=>t.replace(bq,(r,e)=>e?e.toUpperCase():"")),$q=/\B([A-Z])/g,zg=cm(t=>t.replace($q,"-$1").toLowerCase()),dm=cm(t=>t.charAt(0).toUpperCase()+t.slice(1)),iv=cm(t=>t?`on${dm(t)}`:""),Ks=(t,r)=>!Object.is(t,r),ov=(t,r)=>{for(let e=0;e<t.length;e++)t[e](r)},Wv=(t,r,e)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},Hv=t=>{const r=parseFloat(t);return isNaN(r)?t:r},wq=t=>{const r=cr(t)?Number(t):NaN;return isNaN(r)?t:r};let Ek;const P4=()=>Ek||(Ek=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _r(t){if(ze(t)){const r={};for(let e=0;e<t.length;e++){const n=t[e],i=cr(n)?Tq(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,Eq=/:([^]+)/,Sq=/\/\*[^]*?\*\//g;function Tq(t){const r={};return t.replace(Sq,"").split(_q).forEach(e=>{if(e){const n=e.split(Eq);n.length>1&&(r[n[0].trim()]=n[1].trim())}}),r}function _e(t){let r="";if(cr(t))r=t;else if(ze(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 WA(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 Oq="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kq=FS(Oq);function R4(t){return!!t||t===""}function xq(t,r){if(t.length!==r.length)return!1;let e=!0;for(let n=0;e&&n<t.length;n++)e=yg(t[n],r[n]);return e}function yg(t,r){if(t===r)return!0;let e=_k(t),n=_k(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=ze(t),n=ze(r),e||n)return e&&n?xq(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||!yg(t[a],r[a]))return!1}}return String(t)===String(r)}function VS(t,r){return t.findIndex(e=>yg(e,r))}const we=t=>cr(t)?t:t==null?"":ze(t)||Gt(t)&&(t.toString===k4||!et(t.toString))?JSON.stringify(t,D4,2):String(t),D4=(t,r)=>r&&r.__v_isRef?D4(t,r.value):ac(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[n,i],o)=>(e[Eb(n,o)+" =>"]=i,e),{})}:od(r)?{[`Set(${r.size})`]:[...r.values()].map(e=>Eb(e))}:Zs(r)?Eb(r):Gt(r)&&!ze(r)&&!x4(r)?String(r):r,Eb=(t,r="")=>{var e;return Zs(t)?`Symbol(${(e=t.description)!=null?e:r})`:t};let Ai;class Pq{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 Rq(t,r=Ai){r&&r.active&&r.effects.push(t)}function N4(){return Ai}function M4(t){Ai&&Ai.cleanups.push(t)}let Jl;class GS{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,Rq(this,i)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,jg();for(const r of this.deps)if(r.computed&&(Dq(r.computed),this._dirtyLevel>=2))break;Vg(),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=Jl;try{return Os=!0,Jl=this,this._runnings++,Sk(this),this.fn()}finally{Tk(this),this._runnings--,Jl=e,Os=r}}stop(){var r;this.active&&(Sk(this),Tk(this),(r=this.onStop)==null||r.call(this),this.active=!1)}}function Dq(t){return t.value}function Sk(t){t._trackId++,t._depsLength=0}function Tk(t){if(t.deps&&t.deps.length>t._depsLength){for(let r=t._depsLength;r<t.deps.length;r++)B4(t.deps[r],t);t.deps.length=t._depsLength}}function B4(t,r){const e=t.get(r);e!==void 0&&r._trackId!==e&&(t.delete(r),t.size===0&&t.cleanup())}let Os=!0,Fw=0;const F4=[];function jg(){F4.push(Os),Os=!1}function Vg(){const t=F4.pop();Os=t===void 0?!0:t}function WS(){Fw++}function HS(){for(Fw--;!Fw&&Lw.length;)Lw.shift()()}function L4(t,r,e){if(r.get(t)!==t._trackId){r.set(t,t._trackId);const n=t.deps[t._depsLength];n!==r?(n&&B4(n,t),t.deps[t._depsLength++]=r):t._depsLength++}}const Lw=[];function z4(t,r,e){WS();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&&Lw.push(n.scheduler))}HS()}const j4=(t,r)=>{const e=new Map;return e.cleanup=t,e.computed=r,e},Uv=new WeakMap,eg=Symbol(""),zw=Symbol("");function ei(t,r,e){if(Os&&Jl){let n=Uv.get(t);n||Uv.set(t,n=new Map);let i=n.get(e);i||n.set(e,i=j4(()=>n.delete(e))),L4(Jl,i)}}function va(t,r,e,n,i,o){const a=Uv.get(t);if(!a)return;let s=[];if(r==="clear")s=[...a.values()];else if(e==="length"&&ze(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":ze(t)?jS(e)&&s.push(a.get("length")):(s.push(a.get(eg)),ac(t)&&s.push(a.get(zw)));break;case"delete":ze(t)||(s.push(a.get(eg)),ac(t)&&s.push(a.get(zw)));break;case"set":ac(t)&&s.push(a.get(eg));break}WS();for(const l of s)l&&z4(l,3);HS()}function Nq(t,r){var e;return(e=Uv.get(t))==null?void 0:e.get(r)}const Mq=FS("__proto__,__v_isRef,__isVue"),V4=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zs)),Ok=Bq();function Bq(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const n=pt(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(pt)):i}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...e){jg(),WS();const n=pt(this)[r].apply(this,e);return HS(),Vg(),n}}),t}function Fq(t){const r=pt(this);return ei(r,"has",t),r.hasOwnProperty(t)}class G4{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?Qq:Z4:o?U4:H4).get(r)||Object.getPrototypeOf(r)===Object.getPrototypeOf(n)?r:void 0;const a=ze(r);if(!i){if(a&&wt(Ok,e))return Reflect.get(Ok,e,n);if(e==="hasOwnProperty")return Fq}const s=Reflect.get(r,e,n);return(Zs(e)?V4.has(e):Mq(e))||(i||ei(r,"get",e),o)?s:Le(s)?a&&jS(e)?s:s.value:Gt(s)?i?Va(s):Ys(s):s}}class W4 extends G4{constructor(r=!1){super(!1,r)}set(r,e,n,i){let o=r[e];if(!this._shallow){const l=$c(o);if(!Zv(n)&&!$c(n)&&(o=pt(o),n=pt(n)),!ze(r)&&Le(o)&&!Le(n))return l?!1:(o.value=n,!0)}const a=ze(r)&&jS(e)?Number(e)<r.length:wt(r,e),s=Reflect.set(r,e,n,i);return r===pt(i)&&(a?Ks(n,o)&&va(r,"set",e,n):va(r,"add",e,n)),s}deleteProperty(r,e){const n=wt(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)||!V4.has(e))&&ei(r,"has",e),n}ownKeys(r){return ei(r,"iterate",ze(r)?"length":eg),Reflect.ownKeys(r)}}class Lq extends G4{constructor(r=!1){super(!0,r)}set(r,e){return!0}deleteProperty(r,e){return!0}}const zq=new W4,jq=new Lq,Vq=new W4(!0),US=t=>t,hm=t=>Reflect.getPrototypeOf(t);function $C(t,r,e=!1,n=!1){t=t.__v_raw;const i=pt(t),o=pt(r);e||(Ks(r,o)&&ei(i,"get",r),ei(i,"get",o));const{has:a}=hm(i),s=n?US:e?QS:rA;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 wC(t,r=!1){const e=this.__v_raw,n=pt(e),i=pt(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(pt(t),"iterate",eg),Reflect.get(t,"size",t)}function kk(t){t=pt(t);const r=pt(this);return hm(r).has.call(r,t)||(r.add(t),va(r,"add",t,t)),this}function xk(t,r){r=pt(r);const e=pt(this),{has:n,get:i}=hm(e);let o=n.call(e,t);o||(t=pt(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 Pk(t){const r=pt(this),{has:e,get:n}=hm(r);let i=e.call(r,t);i||(t=pt(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 Rk(){const t=pt(this),r=t.size!==0,e=t.clear();return r&&va(t,"clear",void 0,void 0),e}function EC(t,r){return function(n,i){const o=this,a=o.__v_raw,s=pt(a),l=r?US:t?QS:rA;return!t&&ei(s,"iterate",eg),a.forEach((g,u)=>n.call(i,l(g),l(u),o))}}function SC(t,r,e){return function(...n){const i=this.__v_raw,o=pt(i),a=ac(o),s=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,g=i[t](...n),u=e?US:r?QS:rA;return!r&&ei(o,"iterate",l?zw:eg),{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 Gq(){const t={get(o){return $C(this,o)},get size(){return _C(this)},has:wC,add:kk,set:xk,delete:Pk,clear:Rk,forEach:EC(!1,!1)},r={get(o){return $C(this,o,!1,!0)},get size(){return _C(this)},has:wC,add:kk,set:xk,delete:Pk,clear:Rk,forEach:EC(!1,!0)},e={get(o){return $C(this,o,!0)},get size(){return _C(this,!0)},has(o){return wC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:EC(!0,!1)},n={get(o){return $C(this,o,!0,!0)},get size(){return _C(this,!0)},has(o){return wC.call(this,o,!0)},add:Qa("add"),set:Qa("set"),delete:Qa("delete"),clear:Qa("clear"),forEach:EC(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=SC(o,!1,!1),e[o]=SC(o,!0,!1),r[o]=SC(o,!1,!0),n[o]=SC(o,!0,!0)}),[t,e,r,n]}const[Wq,Hq,Uq,Zq]=Gq();function ZS(t,r){const e=r?t?Zq:Uq:t?Hq:Wq;return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(wt(e,i)&&i in n?e:n,i,o)}const Kq={get:ZS(!1,!1)},Yq={get:ZS(!1,!0)},Xq={get:ZS(!0,!1)},H4=new WeakMap,U4=new WeakMap,Z4=new WeakMap,Qq=new WeakMap;function qq(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jq(t){return t.__v_skip||!Object.isExtensible(t)?0:qq(yq(t))}function Ys(t){return $c(t)?t:YS(t,!1,zq,Kq,H4)}function KS(t){return YS(t,!1,Vq,Yq,U4)}function Va(t){return YS(t,!0,jq,Xq,Z4)}function YS(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=Jq(t);if(a===0)return t;const s=new Proxy(t,a===2?n:e);return i.set(t,s),s}function tg(t){return $c(t)?tg(t.__v_raw):!!(t&&t.__v_isReactive)}function $c(t){return!!(t&&t.__v_isReadonly)}function Zv(t){return!!(t&&t.__v_isShallow)}function K4(t){return tg(t)||$c(t)}function pt(t){const r=t&&t.__v_raw;return r?pt(r):t}function XS(t){return Wv(t,"__v_skip",!0),t}const rA=t=>Gt(t)?Ys(t):t,QS=t=>Gt(t)?Va(t):t;class Y4{constructor(r,e,n,i){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new GS(()=>r(this._value),()=>Kv(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const r=pt(this);return qS(r),(!r._cacheable||r.effect.dirty)&&Ks(r._value,r._value=r.effect.run())&&Kv(r,2),r._value}set value(r){this._setter(r)}get _dirty(){return this.effect.dirty}set _dirty(r){this.effect.dirty=r}}function eJ(t,r,e=!1){let n,i;const o=et(t);return o?(n=t,i=Li):(n=t.get,i=t.set),new Y4(n,i,o||!i,e)}function qS(t){Os&&Jl&&(t=pt(t),L4(Jl,t.dep||(t.dep=j4(()=>t.dep=void 0,t instanceof Y4?t:void 0))))}function Kv(t,r=3,e){t=pt(t);const n=t.dep;n&&z4(n,r)}function Le(t){return!!(t&&t.__v_isRef===!0)}function W(t){return X4(t,!1)}function oa(t){return X4(t,!0)}function X4(t,r){return Le(t)?t:new tJ(t,r)}class tJ{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:pt(r),this._value=e?r:rA(r)}get value(){return qS(this),this._value}set value(r){const e=this.__v_isShallow||Zv(r)||$c(r);r=e?r:pt(r),Ks(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:rA(r),Kv(this,3))}}function m(t){return Le(t)?t.value:t}function jw(t){return et(t)?t():m(t)}const rJ={get:(t,r,e)=>m(Reflect.get(t,r,e)),set:(t,r,e,n)=>{const i=t[r];return Le(i)&&!Le(e)?(i.value=e,!0):Reflect.set(t,r,e,n)}};function Q4(t){return tg(t)?t:new Proxy(t,rJ)}class nJ{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:n}=r(()=>qS(this),()=>Kv(this));this._get=e,this._set=n}get value(){return this._get()}set value(r){this._set(r)}}function JS(t){return new nJ(t)}function Dk(t){const r=ze(t)?new Array(t.length):{};for(const e in t)r[e]=J4(t,e);return r}class iJ{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 Nq(pt(this._object),this._key)}}class oJ{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function q4(t,r,e){return Le(t)?t:et(t)?new oJ(t):Gt(t)&&arguments.length>1?J4(t,r,e):W(t)}function J4(t,r,e){const n=t[r];return Le(n)?n:new iJ(t,r,e)}function ks(t,r,e,n){let i;try{i=n?t(...n):t()}catch(o){HA(o,r,e)}return i}function ji(t,r,e,n){if(et(t)){const o=ks(t,r,e,n);return o&&O4(o)&&o.catch(a=>{HA(a,r,e)}),o}const i=[];for(let o=0;o<t.length;o++)i.push(ji(t[o],r,e,n));return i}function HA(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}}aJ(t,e,i,n)}function aJ(t,r,e,n=!0){console.error(t)}let nA=!1,Vw=!1;const $n=[];let No=0;const sc=[];let Aa=null,Vl=0;const ej=Promise.resolve();let e2=null;function _n(t){const r=e2||ej;return t?r.then(this?t.bind(this):t):r}function sJ(t){let r=No+1,e=$n.length;for(;r<e;){const n=r+e>>>1,i=$n[n],o=iA(i);o<t||o===t&&i.pre?r=n+1:e=n}return r}function Am(t){(!$n.length||!$n.includes(t,nA&&t.allowRecurse?No+1:No))&&(t.id==null?$n.push(t):$n.splice(sJ(t.id),0,t),tj())}function tj(){!nA&&!Vw&&(Vw=!0,e2=ej.then(nj))}function lJ(t){const r=$n.indexOf(t);r>No&&$n.splice(r,1)}function gJ(t){ze(t)?sc.push(...t):(!Aa||!Aa.includes(t,t.allowRecurse?Vl+1:Vl))&&sc.push(t),tj()}function Nk(t,r,e=nA?No+1:0){for(;e<$n.length;e++){const n=$n[e];if(n&&n.pre){if(t&&n.id!==t.uid)continue;$n.splice(e,1),e--,n()}}}function rj(t){if(sc.length){const r=[...new Set(sc)];if(sc.length=0,Aa){Aa.push(...r);return}for(Aa=r,Aa.sort((e,n)=>iA(e)-iA(n)),Vl=0;Vl<Aa.length;Vl++)Aa[Vl]();Aa=null,Vl=0}}const iA=t=>t.id==null?1/0:t.id,uJ=(t,r)=>{const e=iA(t)-iA(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function nj(t){Vw=!1,nA=!0,$n.sort(uJ);try{for(No=0;No<$n.length;No++){const r=$n[No];r&&r.active!==!1&&ks(r,null,14)}}finally{No=0,$n.length=0,rj(),nA=!1,e2=null,($n.length||sc.length)&&nj()}}function cJ(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(Hv))}let s,l=n[s=iv(r)]||n[s=iv(ea(r))];!l&&o&&(l=n[s=iv(zg(r))]),l&&ji(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,ji(g,t,6,i)}}function ij(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=ij(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):(ze(o)?o.forEach(l=>a[l]=null):Gr(a,o),Gt(t)&&n.set(t,a),a)}function fm(t,r){return!t||!um(r)?!1:(r=r.slice(2).replace(/Once$/,""),wt(t,r[0].toLowerCase()+r.slice(1))||wt(t,zg(r))||wt(t,r))}let vn=null,Cm=null;function Yv(t){const r=vn;return vn=t,Cm=t&&t.type.__scopeId||null,r}function Im(t){Cm=t}function vm(){Cm=null}const oj=t=>G;function G(t,r=vn,e){if(!r||t._n)return t;const n=(...i)=>{n._d&&Yk(-1);const o=Yv(r);let a;try{a=t(...i)}finally{Yv(o),n._d&&Yk(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Sb(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=Yv(t);try{if(e.shapeFlag&4){const y=i||n,b=y;C=Ro(u.call(b,y,c,o,h,d,A)),I=l}else{const y=r;C=Ro(y.length>1?y(o,{attrs:l,slots:s,emit:g}):y(o,null)),I=r.props?l:dJ(l)}}catch(y){Oh.length=0,HA(y,t,1),C=z(Vi)}let p=C;if(I&&f!==!1){const y=Object.keys(I),{shapeFlag:b}=p;y.length&&b&7&&(a&&y.some(LS)&&(I=hJ(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,Yv(v),C}const dJ=t=>{let r;for(const e in t)(e==="class"||e==="style"||um(e))&&((r||(r={}))[e]=t[e]);return r},hJ=(t,r)=>{const e={};for(const n in t)(!LS(n)||!(n.slice(9)in r))&&(e[n]=t[n]);return e};function AJ(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?Mk(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]&&!fm(g,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:n===a?!1:n?a?Mk(n,a,g):!0:!!a;return!1}function Mk(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]&&!fm(e,o))return!0}return!1}function fJ({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 t2="components",CJ="directives";function $i(t,r){return r2(t2,t,!0,r)||t}const aj=Symbol.for("v-ndc");function Xs(t){return cr(t)?r2(t2,t,!1)||t:t||aj}function pm(t){return r2(CJ,t)}function r2(t,r,e=!0,n=!1){const i=vn||Qr;if(i){const o=i.type;if(t===t2){const s=hee(o,!1);if(s&&(s===r||s===ea(r)||s===dm(ea(r))))return o}const a=Bk(i[t]||o[t],r)||Bk(i.appContext[t],r);return!a&&n?o:a}}function Bk(t,r){return t&&(t[r]||t[ea(r)]||t[dm(ea(r))])}const IJ=t=>t.__isSuspense;function vJ(t,r){r&&r.pendingBranch?ze(t)?r.effects.push(...t):r.effects.push(t):gJ(t)}const pJ=Symbol.for("v-scx"),mJ=()=>Er(pJ);function Nn(t,r){return n2(t,null,r)}const TC={};function tt(t,r,e){return n2(t,r,e)}function n2(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),y()}}const l=Qr,g=b=>n===!0?b:Ul(b,n===!1?1:void 0);let u,c=!1,d=!1;if(Le(t)?(u=()=>t.value,c=Zv(t)):tg(t)?(u=()=>g(t),c=!0):ze(t)?(d=!0,c=t.some(b=>tg(b)||Zv(b)),u=()=>t.map(b=>{if(Le(b))return b.value;if(tg(b))return g(b);if(et(b))return ks(b,l,2)})):et(t)?r?u=()=>ks(t,l,2):u=()=>(h&&h(),ji(t,l,3,[A])):u=Li,r&&n){const b=u;u=()=>Ul(b())}let h,A=b=>{h=p.onStop=()=>{ks(b,l,4),h=p.onStop=void 0}},f;if(ZA)if(A=Li,r?e&&ji(r,l,3,[u(),d?[]:void 0,A]):u(),i==="sync"){const b=mJ();f=b.__watcherHandles||(b.__watcherHandles=[])}else return Li;let C=d?new Array(t.length).fill(TC):TC;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(),ji(r,l,3,[b,C===TC?void 0:d&&C[0]===TC?[]: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=()=>Am(I));const p=new GS(u,Li,v),y=()=>{p.stop(),l&&l.scope&&zS(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(y),y}function yJ(t,r,e){const n=this.proxy,i=cr(t)?t.includes(".")?sj(n,t):()=>n[t]:t.bind(n,n);let o;et(r)?o=r:(o=r.handler,e=r);const a=Qr;wc(this);const s=n2(i,o.bind(n),e);return a?wc(a):rg(),s}function sj(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 Ul(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),Le(t))Ul(t.value,r,e,n);else if(ze(t))for(let i=0;i<t.length;i++)Ul(t[i],r,e,n);else if(od(t)||ac(t))t.forEach(i=>{Ul(i,r,e,n)});else if(x4(t))for(const i in t)Ul(t[i],r,e,n);return t}function rn(t,r){const e=vn;if(e===null)return t;const n=$m(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&&Ul(s),i.push({dir:a,instance:n,value:s,oldValue:void 0,arg:l,modifiers:g}))}return t}function kl(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&&(jg(),ji(l,e,8,[t.el,s,t,r]),Vg())}}const ds=Symbol("_leaveCb"),OC=Symbol("_enterCb");function bJ(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _i(()=>{t.isMounted=!0}),dj(()=>{t.isUnmounting=!0}),t}const xi=[Function,Array],lj={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xi,onEnter:xi,onAfterEnter:xi,onEnterCancelled:xi,onBeforeLeave:xi,onLeave:xi,onAfterLeave:xi,onLeaveCancelled:xi,onBeforeAppear:xi,onAppear:xi,onAfterAppear:xi,onAppearCancelled:xi},$J={name:"BaseTransition",props:lj,setup(t,{slots:r}){const e=ll(),n=bJ();let i;return()=>{const o=r.default&&uj(r.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const f of o)if(f.type!==Vi){a=f;break}}const s=pt(t),{mode:l}=s;if(n.isLeaving)return Tb(a);const g=Fk(a);if(!g)return Tb(a);const u=Gw(g,s,n,e);Ww(g,u);const c=e.subTree,d=c&&Fk(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!==Vi&&(!Gl(g,d)||h)){const f=Gw(d,s,n,e);if(Ww(d,f),l==="out-in")return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.update.active!==!1&&(e.effect.dirty=!0,e.update())},Tb(a);l==="in-out"&&g.type!==Vi&&(f.delayLeave=(C,I,v)=>{const p=gj(n,d);p[String(d.key)]=d,C[ds]=()=>{I(),C[ds]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return a}}},wJ=$J;function gj(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 Gw(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),y=gj(e,t),b=(k,_)=>{k&&ji(k,n,9,_)},S=(k,_)=>{const O=_[1];b(k,_),ze(k)?k.every(P=>P.length<=1)&&O():k.length<=1&&O()},N={mode:o,persisted:a,beforeEnter(k){let _=s;if(!e.isMounted)if(i)_=f||s;else return;k[ds]&&k[ds](!0);const O=y[p];O&&Gl(t,O)&&O.el[ds]&&O.el[ds](),b(_,[k])},enter(k){let _=l,O=g,P=u;if(!e.isMounted)if(i)_=C||l,O=I||g,P=v||u;else return;let R=!1;const L=k[OC]=te=>{R||(R=!0,te?b(P,[k]):b(O,[k]),N.delayedLeave&&N.delayedLeave(),k[OC]=void 0)};_?S(_,[k,L]):L()},leave(k,_){const O=String(t.key);if(k[OC]&&k[OC](!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,y[O]===t&&delete y[O])};y[O]=t,d?S(d,[k,R]):R()},clone(k){return Gw(k,r,e,n)}};return N}function Tb(t){if(UA(t))return t=Qs(t),t.children=null,t}function Fk(t){return UA(t)?t.children?t.children[0]:void 0:t}function Ww(t,r){t.shapeFlag&6&&t.component?Ww(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 uj(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===me?(a.patchFlag&128&&i++,n=n.concat(uj(a.children,r,s))):(r||a.type!==Vi)&&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 Eh=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()=>Ob(g,h);const A=v=>{l=null,HA(v,h,13,!n)};if(a&&h.suspense||ZA)return d().then(v=>()=>Ob(v,h)).catch(v=>(A(v),()=>n?z(n,{error:v}):null));const f=W(!1),C=W(),I=W(!!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&&UA(h.parent.vnode)&&(h.parent.effect.dirty=!0,Am(h.parent.update))}).catch(v=>{A(v),C.value=v}),()=>{if(f.value&&g)return Ob(g,h);if(C.value&&n)return z(n,{error:C.value});if(e&&!I.value)return z(e)}}})}function Ob(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 UA=t=>t.type.__isKeepAlive;function EJ(t,r){cj(t,"a",r)}function SJ(t,r){cj(t,"da",r)}function cj(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(mm(r,n,e),e){let i=e.parent;for(;i&&i.parent;)UA(i.parent.vnode)&&TJ(n,r,e,i),i=i.parent}}function TJ(t,r,e,n){const i=mm(r,t,n,!0);ad(()=>{zS(n[r],i)},e)}function mm(t,r,e=Qr,n=!1){if(e){const i=e[t]||(e[t]=[]),o=r.__weh||(r.__weh=(...a)=>{if(e.isUnmounted)return;jg(),wc(e);const s=ji(r,e,t,a);return rg(),Vg(),s});return n?i.unshift(o):i.push(o),o}}const Ga=t=>(r,e=Qr)=>(!ZA||t==="sp")&&mm(t,(...n)=>r(...n),e),OJ=Ga("bm"),_i=Ga("m"),kJ=Ga("bu"),xJ=Ga("u"),dj=Ga("bum"),ad=Ga("um"),PJ=Ga("sp"),RJ=Ga("rtg"),DJ=Ga("rtc");function NJ(t,r=Qr){mm("ec",t,r)}function vt(t,r,e,n){let i;const o=e&&e[n];if(ze(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 hj(t,r){for(let e=0;e<r.length;e++){const n=r[e];if(ze(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&&Eh(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),T();const a=o&&Aj(o(e)),s=re(me,{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 Aj(t){return t.some(r=>qv(r)?!(r.type===Vi||r.type===me&&!Aj(r.children)):!0)?t:null}function MJ(t,r){const e={};for(const n in t)e[r&&/[A-Z]/.test(n)?`on:${n}`:iv(n)]=t[n];return e}const Hw=t=>t?Oj(t)?$m(t)||t.proxy:Hw(t.parent):null,Sh=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=>Hw(t.parent),$root:t=>Hw(t.root),$emit:t=>t.emit,$options:t=>i2(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Am(t.update)}),$nextTick:t=>t.n||(t.n=_n.bind(t.proxy)),$watch:t=>yJ.bind(t)}),kb=(t,r)=>t!==er&&!t.__isScriptSetup&&wt(t,r),BJ={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(kb(n,r))return a[r]=1,n[r];if(i!==er&&wt(i,r))return a[r]=2,i[r];if((g=t.propsOptions[0])&&wt(g,r))return a[r]=3,o[r];if(e!==er&&wt(e,r))return a[r]=4,e[r];Uw&&(a[r]=0)}}const u=Sh[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&&wt(e,r))return a[r]=4,e[r];if(d=l.config.globalProperties,wt(d,r))return d[r]},set({_:t},r,e){const{data:n,setupState:i,ctx:o}=t;return kb(i,r)?(i[r]=e,!0):n!==er&&wt(n,r)?(n[r]=e,!0):wt(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&&wt(t,a)||kb(r,a)||(s=o[0])&&wt(s,a)||wt(n,a)||wt(Sh,a)||wt(i.config.globalProperties,a)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:wt(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};function fj(){return Cj().slots}function FJ(){return Cj().attrs}function Cj(){const t=ll();return t.setupContext||(t.setupContext=xj(t))}function Lk(t){return ze(t)?t.reduce((r,e)=>(r[e]=null,r),{}):t}let Uw=!0;function LJ(t){const r=i2(t),e=t.proxy,n=t.ctx;Uw=!1,r.beforeCreate&&zk(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:y,render:b,renderTracked:S,renderTriggered:N,errorCaptured:k,serverPrefetch:_,expose:O,inheritAttrs:P,components:R,directives:L,filters:te}=r;if(g&&zJ(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(Uw=!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):Li,We=!et(Ie)&&et(Ie.set)?Ie.set.bind(e):Li,Fe=X({get:Re,set:We});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ye=>Fe.value=ye})}if(s)for(const Q in s)Ij(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&&zk(u,t,"c");function V(Q,Ie){ze(Ie)?Ie.forEach(Re=>Q(Re.bind(e))):Ie&&Q(Ie.bind(e))}if(V(OJ,c),V(_i,d),V(kJ,h),V(xJ,A),V(EJ,f),V(SJ,C),V(NJ,k),V(DJ,S),V(RJ,N),V(dj,v),V(ad,y),V(PJ,_),ze(O))if(O.length){const Q=t.exposed||(t.exposed={});O.forEach(Ie=>{Object.defineProperty(Q,Ie,{get:()=>e[Ie],set:Re=>e[Ie]=Re})})}else t.exposed||(t.exposed={});b&&t.render===Li&&(t.render=b),P!=null&&(t.inheritAttrs=P),R&&(t.components=R),L&&(t.directives=L)}function zJ(t,r,e=Li){ze(t)&&(t=Zw(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),Le(o)?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):r[n]=o}}function zk(t,r,e){ji(ze(t)?t.map(n=>n.bind(r.proxy)):t.bind(r.proxy),r,e)}function Ij(t,r,e,n){const i=n.includes(".")?sj(e,n):()=>e[n];if(cr(t)){const o=r[t];et(o)&&tt(i,o)}else if(et(t))tt(i,t.bind(e));else if(Gt(t))if(ze(t))t.forEach(o=>Ij(o,r,e,n));else{const o=et(t.handler)?t.handler.bind(e):r[t.handler];et(o)&&tt(i,o,t)}}function i2(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=>Xv(l,g,a,!0)),Xv(l,r,a)),Gt(r)&&o.set(r,l),l}function Xv(t,r,e,n=!1){const{mixins:i,extends:o}=r;o&&Xv(t,o,e,!0),i&&i.forEach(a=>Xv(t,a,e,!0));for(const a in r)if(!(n&&a==="expose")){const s=jJ[a]||e&&e[a];t[a]=s?s(t[a],r[a]):r[a]}return t}const jJ={data:jk,props:Vk,emits:Vk,methods:Ch,computed:Ch,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:Ch,directives:Ch,watch:GJ,provide:jk,inject:VJ};function jk(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 VJ(t,r){return Ch(Zw(t),Zw(r))}function Zw(t){if(ze(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 Ch(t,r){return t?Gr(Object.create(null),t,r):r}function Vk(t,r){return t?ze(t)&&ze(r)?[...new Set([...t,...r])]:Gr(Object.create(null),Lk(t),Lk(r??{})):r}function GJ(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 vj(){return{app:null,config:{isNativeTag:pq,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 WJ=0;function HJ(t,r){return function(n,i=null){et(n)||(n=Gr({},n)),i!=null&&!Gt(i)&&(i=null);const o=vj(),a=new WeakSet;let s=!1;const l=o.app={_uid:WJ++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:fee,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,$m(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){Qv=l;try{return g()}finally{Qv=null}}};return l}}let Qv=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||Qv){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Qv._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 UJ(t,r,e,n=!1){const i={},o={};Wv(o,bm,1),t.propsDefaults=Object.create(null),pj(t,r,i,o);for(const a in t.propsOptions[0])a in i||(i[a]=void 0);e?t.props=n?i:KS(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function ZJ(t,r,e,n){const{props:i,attrs:o,vnode:{patchFlag:a}}=t,s=pt(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(fm(t.emitsOptions,d))continue;const h=r[d];if(l)if(wt(o,d))h!==o[d]&&(o[d]=h,g=!0);else{const A=ea(d);i[A]=Kw(l,s,A,h,t,!1)}else h!==o[d]&&(o[d]=h,g=!0)}}}else{pj(t,r,i,o)&&(g=!0);let u;for(const c in s)(!r||!wt(r,c)&&((u=zg(c))===c||!wt(r,u)))&&(l?e&&(e[c]!==void 0||e[u]!==void 0)&&(i[c]=Kw(l,s,c,void 0,t,!0)):delete i[c]);if(o!==s)for(const c in o)(!r||!wt(r,c))&&(delete o[c],g=!0)}g&&va(t,"set","$attrs")}function pj(t,r,e,n){const[i,o]=t.propsOptions;let a=!1,s;if(r)for(let l in r){if(nv(l))continue;const g=r[l];let u;i&&wt(i,u=ea(l))?!o||!o.includes(u)?e[u]=g:(s||(s={}))[u]=g:fm(t.emitsOptions,l)||(!(l in n)||g!==n[l])&&(n[l]=g,a=!0)}if(o){const l=pt(e),g=s||er;for(let u=0;u<o.length;u++){const c=o[u];e[c]=Kw(i,l,c,g[c],t,!wt(g,c))}}return a}function Kw(t,r,e,n,i,o){const a=t[e];if(a!=null){const s=wt(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]:(wc(i),n=g[e]=l.call(null,r),rg())}else n=l}a[0]&&(o&&!s?n=!1:a[1]&&(n===""||n===zg(e))&&(n=!0))}return n}function mj(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]=mj(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,oc),oc;if(ze(o))for(let u=0;u<o.length;u++){const c=ea(o[u]);Gk(c)&&(a[c]=er)}else if(o)for(const u in o){const c=ea(u);if(Gk(c)){const d=o[u],h=a[c]=ze(d)||et(d)?{type:d}:Gr({},d);if(h){const A=Uk(Boolean,h.type),f=Uk(String,h.type);h[0]=A>-1,h[1]=f<0||A<f,(A>-1||wt(h,"default"))&&s.push(c)}}}const g=[a,s];return Gt(t)&&n.set(t,g),g}function Gk(t){return t[0]!=="$"}function Wk(t){const r=t&&t.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:t===null?"null":""}function Hk(t,r){return Wk(t)===Wk(r)}function Uk(t,r){return ze(r)?r.findIndex(e=>Hk(e,t)):et(r)&&Hk(r,t)?0:-1}const yj=t=>t[0]==="_"||t==="$stable",o2=t=>ze(t)?t.map(Ro):[Ro(t)],KJ=(t,r,e)=>{if(r._n)return r;const n=G((...i)=>o2(r(...i)),e);return n._c=!1,n},bj=(t,r,e)=>{const n=t._ctx;for(const i in t){if(yj(i))continue;const o=t[i];if(et(o))r[i]=KJ(i,o,n);else if(o!=null){const a=o2(o);r[i]=()=>a}}},$j=(t,r)=>{const e=o2(r);t.slots.default=()=>e},YJ=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=pt(r),Wv(r,"_",e)):bj(r,t.slots={})}else t.slots={},r&&$j(t,r);Wv(t.slots,bm,1)},XJ=(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,bj(r,i)),a=r}else r&&($j(t,r),a={default:1});if(o)for(const s in i)!yj(s)&&a[s]==null&&delete i[s]};function Yw(t,r,e,n,i=!1){if(ze(t)){t.forEach((d,h)=>Yw(d,r&&(ze(r)?r[h]:r),e,n,i));return}if(Eh(n)&&!i)return;const o=n.shapeFlag&4?$m(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,wt(c,g)&&(c[g]=null)):Le(g)&&(g.value=null)),et(l))ks(l,s,12,[a,u]);else{const d=cr(l),h=Le(l);if(d||h){const A=()=>{if(t.f){const f=d?wt(c,l)?c[l]:u[l]:l.value;i?ze(f)&&zS(f,o):ze(f)?f.includes(o)||f.push(o):d?(u[l]=[o],wt(c,l)&&(c[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else d?(u[l]=a,wt(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=vJ;function QJ(t){return qJ(t)}function qJ(t,r){const e=P4();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=Li,insertStaticContent:A}=t,f=($,E,x,j=null,Z=null,q=null,de=void 0,ne=null,oe=!!E.dynamicChildren)=>{if($===E)return;$&&!Gl($,E)&&(j=U($),ye($,Z,q,!0),$=null),E.patchFlag===-2&&(oe=!1,E.dynamicChildren=null);const{type:ae,ref:Ee,shapeFlag:Ue}=E;switch(ae){case ym:C($,E,x,j);break;case Vi:I($,E,x,j);break;case av:$==null&&v(E,x,j,de);break;case me:R($,E,x,j,Z,q,de,ne,oe);break;default:Ue&1?b($,E,x,j,Z,q,de,ne,oe):Ue&6?L($,E,x,j,Z,q,de,ne,oe):(Ue&64||Ue&128)&&ae.process($,E,x,j,Z,q,de,ne,oe,M)}Ee!=null&&Z&&Yw(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)},y=({el:$,anchor:E})=>{let x;for(;$&&$!==E;)x=d($),i($),$=x;i(E)},b=($,E,x,j,Z,q,de,ne,oe)=>{E.type==="svg"?de="svg":E.type==="math"&&(de="mathml"),$==null?S(E,x,j,Z,q,de,ne,oe):_($,E,Z,q,de,ne,oe)},S=($,E,x,j,Z,q,de,ne)=>{let oe,ae;const{props:Ee,shapeFlag:Ue,transition:Ve,dirs:rt}=$;if(oe=$.el=a($.type,q,Ee&&Ee.is,Ee),Ue&8?u(oe,$.children):Ue&16&&k($.children,oe,null,j,Z,xb($,q),de,ne),rt&&kl($,null,j,"created"),N(oe,$,$.scopeId,de,j),Ee){for(const Lt in Ee)Lt!=="value"&&!nv(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)&&So(ae,j,$)}rt&&kl($,null,j,"beforeMount");const At=JJ(Z,Ve);At&&Ve.beforeEnter(oe),n(oe,E,x),((ae=Ee&&Ee.onVnodeMounted)||At||rt)&&Un(()=>{ae&&So(ae,j,$),At&&Ve.enter(oe),rt&&kl($,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,ne,oe=0)=>{for(let ae=oe;ae<$.length;ae++){const Ee=$[ae]=ne?hs($[ae]):Ro($[ae]);f(null,Ee,E,x,j,Z,q,de,ne)}},_=($,E,x,j,Z,q,de)=>{const ne=E.el=$.el;let{patchFlag:oe,dynamicChildren:ae,dirs:Ee}=E;oe|=$.patchFlag&16;const Ue=$.props||er,Ve=E.props||er;let rt;if(x&&xl(x,!1),(rt=Ve.onVnodeBeforeUpdate)&&So(rt,x,E,$),Ee&&kl(E,$,x,"beforeUpdate"),x&&xl(x,!0),ae?O($.dynamicChildren,ae,ne,x,j,xb(E,Z),q):de||Ie($,E,ne,null,x,j,xb(E,Z),q,!1),oe>0){if(oe&16)P(ne,E,Ue,Ve,x,j,Z);else if(oe&2&&Ue.class!==Ve.class&&o(ne,"class",null,Ve.class,Z),oe&4&&o(ne,"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],to=Ve[ir];(to!==Ur||ir==="value")&&o(ne,ir,Ur,to,Z,$.children,x,j,ht)}}oe&1&&$.children!==E.children&&u(ne,E.children)}else!de&&ae==null&&P(ne,E,Ue,Ve,x,j,Z);((rt=Ve.onVnodeUpdated)||Ee)&&Un(()=>{rt&&So(rt,x,E,$),Ee&&kl(E,$,x,"updated")},j)},O=($,E,x,j,Z,q,de)=>{for(let ne=0;ne<E.length;ne++){const oe=$[ne],ae=E[ne],Ee=oe.el&&(oe.type===me||!Gl(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 ne in x)!nv(ne)&&!(ne in j)&&o($,ne,x[ne],null,de,E.children,Z,q,ht);for(const ne in j){if(nv(ne))continue;const oe=j[ne],ae=x[ne];oe!==ae&&ne!=="value"&&o($,ne,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,ne,oe)=>{const ae=E.el=$?$.el:s(""),Ee=E.anchor=$?$.anchor:s("");let{patchFlag:Ue,dynamicChildren:Ve,slotScopeIds:rt}=E;rt&&(ne=ne?ne.concat(rt):rt),$==null?(n(ae,x,j),n(Ee,x,j),k(E.children,x,Ee,Z,q,de,ne,oe)):Ue>0&&Ue&64&&Ve&&$.dynamicChildren?(O($.dynamicChildren,Ve,x,Z,q,de,ne),(E.key!=null||Z&&E===Z.subTree)&&a2($,E,!0)):Ie($,E,x,Ee,Z,q,de,ne,oe)},L=($,E,x,j,Z,q,de,ne,oe)=>{E.slotScopeIds=ne,$==null?E.shapeFlag&512?Z.ctx.activate(E,x,j,de,oe):te(E,x,j,Z,q,de,oe):H($,E,oe)},te=($,E,x,j,Z,q,de)=>{const ne=$.component=gee($,j,Z);if(UA($)&&(ne.ctx.renderer=M),uee(ne),ne.asyncDep){if(Z&&Z.registerDep(ne,V),!$.el){const oe=ne.subTree=z(Vi);I(null,oe,E,x)}}else V(ne,$,E,x,Z,q,de)},H=($,E,x)=>{const j=E.component=$.component;if(AJ($,E,x))if(j.asyncDep&&!j.asyncResolved){Q(j,E,x);return}else j.next=E,lJ(j.update),j.effect.dirty=!0,j.update();else E.el=$.el,j.vnode=E},V=($,E,x,j,Z,q,de)=>{const ne=()=>{if($.isMounted){let{next:Ee,bu:Ue,u:Ve,parent:rt,vnode:At}=$;{const Cu=wj($);if(Cu){Ee&&(Ee.el=At.el,Q($,Ee,de)),Cu.asyncDep.then(()=>{$.isUnmounted||ne()});return}}let Lt=Ee,ir;xl($,!1),Ee?(Ee.el=At.el,Q($,Ee,de)):Ee=At,Ue&&ov(Ue),(ir=Ee.props&&Ee.props.onVnodeBeforeUpdate)&&So(ir,rt,Ee,At),xl($,!0);const Ur=Sb($),to=$.subTree;$.subTree=Ur,f(to,Ur,c(to.el),U(to),$,Z,q),Ee.el=Ur.el,Lt===null&&fJ($,Ur.el),Ve&&Un(Ve,Z),(ir=Ee.props&&Ee.props.onVnodeUpdated)&&Un(()=>So(ir,rt,Ee,At),Z)}else{let Ee;const{el:Ue,props:Ve}=E,{bm:rt,m:At,parent:Lt}=$,ir=Eh(E);if(xl($,!1),rt&&ov(rt),!ir&&(Ee=Ve&&Ve.onVnodeBeforeMount)&&So(Ee,Lt,E),xl($,!0),Ue&&B){const Ur=()=>{$.subTree=Sb($),B(Ue,$.subTree,$,Z,null)};ir?E.type.__asyncLoader().then(()=>!$.isUnmounted&&Ur()):Ur()}else{const Ur=$.subTree=Sb($);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(()=>So(Ee,Lt,Ur),Z)}(E.shapeFlag&256||Lt&&Eh(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&$.a&&Un($.a,Z),$.isMounted=!0,E=x=j=null}},oe=$.effect=new GS(ne,Li,()=>Am(ae),$.scope),ae=$.update=()=>{oe.dirty&&oe.run()};ae.id=$.uid,xl($,!0),ae()},Q=($,E,x)=>{E.component=$;const j=$.vnode.props;$.vnode=E,$.next=null,ZJ($,E.props,j,x),XJ($,E.children,x),jg(),Nk($),Vg()},Ie=($,E,x,j,Z,q,de,ne,oe=!1)=>{const ae=$&&$.children,Ee=$?$.shapeFlag:0,Ue=E.children,{patchFlag:Ve,shapeFlag:rt}=E;if(Ve>0){if(Ve&128){We(ae,Ue,x,j,Z,q,de,ne,oe);return}else if(Ve&256){Re(ae,Ue,x,j,Z,q,de,ne,oe);return}}rt&8?(Ee&16&&ht(ae,Z,q),Ue!==ae&&u(x,Ue)):Ee&16?rt&16?We(ae,Ue,x,j,Z,q,de,ne,oe):ht(ae,Z,q,!0):(Ee&8&&u(x,""),rt&16&&k(Ue,x,j,Z,q,de,ne,oe))},Re=($,E,x,j,Z,q,de,ne,oe)=>{$=$||oc,E=E||oc;const ae=$.length,Ee=E.length,Ue=Math.min(ae,Ee);let Ve;for(Ve=0;Ve<Ue;Ve++){const rt=E[Ve]=oe?hs(E[Ve]):Ro(E[Ve]);f($[Ve],rt,x,null,Z,q,de,ne,oe)}ae>Ee?ht($,Z,q,!0,!1,Ue):k(E,x,j,Z,q,de,ne,oe,Ue)},We=($,E,x,j,Z,q,de,ne,oe)=>{let ae=0;const Ee=E.length;let Ue=$.length-1,Ve=Ee-1;for(;ae<=Ue&&ae<=Ve;){const rt=$[ae],At=E[ae]=oe?hs(E[ae]):Ro(E[ae]);if(Gl(rt,At))f(rt,At,x,null,Z,q,de,ne,oe);else break;ae++}for(;ae<=Ue&&ae<=Ve;){const rt=$[Ue],At=E[Ve]=oe?hs(E[Ve]):Ro(E[Ve]);if(Gl(rt,At))f(rt,At,x,null,Z,q,de,ne,oe);else break;Ue--,Ve--}if(ae>Ue){if(ae<=Ve){const rt=Ve+1,At=rt<Ee?E[rt].el:j;for(;ae<=Ve;)f(null,E[ae]=oe?hs(E[ae]):Ro(E[ae]),x,At,Z,q,de,ne,oe),ae++}}else if(ae>Ve)for(;ae<=Ue;)ye($[ae],Z,q,!0),ae++;else{const rt=ae,At=ae,Lt=new Map;for(ae=At;ae<=Ve;ae++){const ci=E[ae]=oe?hs(E[ae]):Ro(E[ae]);ci.key!=null&&Lt.set(ci.key,ae)}let ir,Ur=0;const to=Ve-At+1;let Cu=!1,mk=0;const eh=new Array(to);for(ae=0;ae<to;ae++)eh[ae]=0;for(ae=rt;ae<=Ue;ae++){const ci=$[ae];if(Ur>=to){ye(ci,Z,q,!0);continue}let Eo;if(ci.key!=null)Eo=Lt.get(ci.key);else for(ir=At;ir<=Ve;ir++)if(eh[ir-At]===0&&Gl(ci,E[ir])){Eo=ir;break}Eo===void 0?ye(ci,Z,q,!0):(eh[Eo-At]=ae+1,Eo>=mk?mk=Eo:Cu=!0,f(ci,E[Eo],x,null,Z,q,de,ne,oe),Ur++)}const yk=Cu?eee(eh):oc;for(ir=yk.length-1,ae=to-1;ae>=0;ae--){const ci=At+ae,Eo=E[ci],bk=ci+1<Ee?E[ci+1].el:j;eh[ae]===0?f(null,Eo,x,bk,Z,q,de,ne,oe):Cu&&(ir<0||ae!==yk[ir]?Fe(Eo,x,bk,2):ir--)}}},Fe=($,E,x,j,Z=null)=>{const{el:q,type:de,transition:ne,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===me){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===av){p($,E,x);return}if(j!==2&&ae&1&&ne)if(j===0)ne.beforeEnter(q),n(q,E,x),Un(()=>ne.enter(q),Z);else{const{leave:Ue,delayLeave:Ve,afterLeave:rt}=ne,At=()=>n(q,E,x),Lt=()=>{Ue(q,()=>{At(),rt&&rt()})};Ve?Ve(q,At,Lt):Lt()}else n(q,E,x)},ye=($,E,x,j=!1,Z=!1)=>{const{type:q,props:de,ref:ne,children:oe,dynamicChildren:ae,shapeFlag:Ee,patchFlag:Ue,dirs:Ve}=$;if(ne!=null&&Yw(ne,null,x,$,!0),Ee&256){E.ctx.deactivate($);return}const rt=Ee&1&&Ve,At=!Eh($);let Lt;if(At&&(Lt=de&&de.onVnodeBeforeUnmount)&&So(Lt,E,$),Ee&6)it($.component,x,j);else{if(Ee&128){$.suspense.unmount(x,j);return}rt&&kl($,null,E,"beforeUnmount"),Ee&64?$.type.remove($,E,x,Z,M,j):ae&&(q!==me||Ue>0&&Ue&64)?ht(ae,E,x,!1,!0):(q===me&&Ue&384||!Z&&Ee&16)&&ht(oe,E,x),j&&je($)}(At&&(Lt=de&&de.onVnodeUnmounted)||rt)&&Un(()=>{Lt&&So(Lt,E,$),rt&&kl($,null,E,"unmounted")},x)},je=$=>{const{type:E,el:x,anchor:j,transition:Z}=$;if(E===me){Ge(x,j);return}if(E===av){y($);return}const q=()=>{i(x),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if($.shapeFlag&1&&Z&&!Z.persisted){const{leave:de,delayLeave:ne}=Z,oe=()=>de(x,q);ne?ne($.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:ne}=$;j&&ov(j),Z.stop(),q&&(q.active=!1,ye(de,$,E,x)),ne&&Un(ne,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++)ye($[de],E,x,j,Z)},U=$=>$.shapeFlag&6?U($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),ie=($,E,x)=>{$==null?E._vnode&&ye(E._vnode,null,null,!0):f(E._vnode||null,$,E,null,null,null,x),Nk(),rj(),E._vnode=$},M={p:f,um:ye,m:Fe,r:je,mt:te,mc:k,pc:Ie,pbc:O,n:U,o:t};let D,B;return r&&([D,B]=r(M)),{render:ie,hydrate:D,createApp:HJ(ie,D)}}function xb({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 xl({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function JJ(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function a2(t,r,e=!1){const n=t.children,i=r.children;if(ze(n)&&ze(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||a2(a,s)),s.type===ym&&(s.el=a.el)}}function eee(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 wj(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:wj(r)}const tee=t=>t.__isTeleport,Th=t=>t&&(t.disabled||t.disabled===""),Zk=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Kk=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Xw=(t,r)=>{const e=t&&t.to;return cr(e)?r?r(e):null:e},ree={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=Th(r.props);let{shapeFlag:v,children:p,dynamicChildren:y}=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=Xw(r.props,A),k=r.targetAnchor=f("");N&&(h(k,N),a==="svg"||Zk(N)?a="svg":(a==="mathml"||Kk(N))&&(a="mathml"));const _=(O,P)=>{v&16&&u(p,O,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=Th(t.props),_=k?e:S,O=k?b:N;if(a==="svg"||Zk(S)?a="svg":(a==="mathml"||Kk(S))&&(a="mathml"),y?(d(t.dynamicChildren,y,_,i,o,a,s),a2(t,r,!0)):l||c(t,r,_,O,i,o,a,s,!1),I)k?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):kC(r,e,b,g,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const P=r.target=Xw(r.props,A);P&&kC(r,P,null,g,0)}else k&&kC(r,S,N,g,1)}Ej(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||!Th(d);for(let A=0;A<l.length;A++){const f=l[A];i(f,r,e,h,!!f.dynamicChildren)}}},move:kC,hydrate:nee};function kC(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||Th(u))&&l&16)for(let d=0;d<g.length;d++)i(g[d],r,e,2);c&&n(s,r,e)}function nee(t,r,e,n,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},g){const u=r.target=Xw(r.props,l);if(u){const c=u._lpa||u.firstChild;if(r.shapeFlag&16)if(Th(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)}Ej(r)}return r.anchor&&a(r.anchor)}const _j=ree;function Ej(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 me=Symbol.for("v-fgt"),ym=Symbol.for("v-txt"),Vi=Symbol.for("v-cmt"),av=Symbol.for("v-stc"),Oh=[];let uo=null;function T(t=!1){Oh.push(uo=t?null:[])}function iee(){Oh.pop(),uo=Oh[Oh.length-1]||null}let oA=1;function Yk(t){oA+=t}function Sj(t){return t.dynamicChildren=oA>0?uo||oc:null,iee(),oA>0&&uo&&uo.push(t),t}function F(t,r,e,n,i,o){return Sj(w(t,r,e,n,i,o,!0))}function re(t,r,e,n,i){return Sj(z(t,r,e,n,i,!0))}function qv(t){return t?t.__v_isVNode===!0:!1}function Gl(t,r){return t.type===r.type&&t.key===r.key}const bm="__vInternal",Tj=({key:t})=>t??null,sv=({ref:t,ref_key:r,ref_for:e})=>(typeof t=="number"&&(t=""+t),t!=null?cr(t)||Le(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===me?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&Tj(r),ref:r&&sv(r),scopeId:Cm,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?(s2(l,e),o&128&&t.normalize(l)):e&&(l.shapeFlag|=cr(e)?8:16),oA>0&&!a&&uo&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&uo.push(l),l}const z=oee;function oee(t,r=null,e=null,n=0,i=null,o=!1){if((!t||t===aj)&&(t=Vi),qv(t)){const s=Qs(t,r,!0);return e&&s2(s,e),oA>0&&!o&&uo&&(s.shapeFlag&6?uo[uo.indexOf(t)]=s:uo.push(s)),s.patchFlag|=-2,s}if(Aee(t)&&(t=t.__vccOpts),r){r=sd(r);let{class:s,style:l}=r;s&&!cr(s)&&(r.class=_e(s)),Gt(l)&&(K4(l)&&!ze(l)&&(l=Gr({},l)),r.style=_r(l))}const a=cr(t)?1:IJ(t)?128:tee(t)?64:Gt(t)?4:et(t)?2:0;return w(t,r,e,n,i,a,o,!0)}function sd(t){return t?K4(t)||bm in t?Gr({},t):t:null}function Qs(t,r,e=!1){const{props:n,ref:i,patchFlag:o,children:a}=t,s=r?bn(n||{},r):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Tj(s),ref:r&&r.ref?e&&i?ze(i)?i.concat(sv(r)):[i,sv(r)]:sv(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!==me?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(ym,null,t,r)}function aee(t,r){const e=z(av,null,t);return e.staticCount=r,e}function be(t="",r=!1){return r?(T(),re(Vi,null,t)):z(Vi,null,t)}function Ro(t){return t==null||typeof t=="boolean"?z(Vi):ze(t)?z(me,null,t.slice()):typeof t=="object"?hs(t):z(ym,null,String(t))}function hs(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qs(t)}function s2(t,r){let e=0;const{shapeFlag:n}=t;if(r==null)r=null;else if(ze(r))e=16;else if(typeof r=="object")if(n&65){const i=r.default;i&&(i._c&&(i._d=!1),s2(t,i()),i._c&&(i._d=!0));return}else{e=32;const i=r._;!i&&!(bm 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 bn(...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(um(i)){const o=r[i],a=n[i];a&&o!==a&&!(ze(o)&&o.includes(a))&&(r[i]=o?[].concat(o,a):a)}else i!==""&&(r[i]=n[i])}return r}function So(t,r,e,n=null){ji(t,r,7,[e,n])}const see=vj();let lee=0;function gee(t,r,e){const n=t.type,i=(r?r.appContext:t.appContext)||see,o={uid:lee++,vnode:t,type:n,parent:r,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pq(!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:mj(n,i),emitsOptions:ij(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=cJ.bind(null,o),t.ce&&t.ce(o),o}let Qr=null;const ll=()=>Qr||vn;let l2,Qw;{const t=P4(),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)}};l2=r("__VUE_INSTANCE_SETTERS__",e=>Qr=e),Qw=r("__VUE_SSR_SETTERS__",e=>ZA=e)}const wc=t=>{l2(t),t.scope.on()},rg=()=>{Qr&&Qr.scope.off(),l2(null)};function Oj(t){return t.vnode.shapeFlag&4}let ZA=!1;function uee(t,r=!1){r&&Qw(r);const{props:e,children:n}=t.vnode,i=Oj(t);UJ(t,e,i,r),YJ(t,n);const o=i?cee(t,r):void 0;return r&&Qw(!1),o}function cee(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=XS(new Proxy(t.ctx,BJ));const{setup:n}=e;if(n){const i=t.setupContext=n.length>1?xj(t):null;wc(t),jg();const o=ks(n,t,0,[t.props,i]);if(Vg(),rg(),O4(o)){if(o.then(rg,rg),r)return o.then(a=>{Xk(t,a,r)}).catch(a=>{HA(a,t,0)});t.asyncDep=o}else Xk(t,o,r)}else kj(t,r)}function Xk(t,r,e){et(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:Gt(r)&&(t.setupState=Q4(r)),kj(t,e)}let Qk;function kj(t,r,e){const n=t.type;if(!t.render){if(!r&&Qk&&!n.render){const i=n.template||i2(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=Qk(i,g)}}t.render=n.render||Li}{wc(t),jg();try{LJ(t)}finally{Vg(),rg()}}}function dee(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,e){return ei(t,"get","$attrs"),r[e]}}))}function xj(t){const r=e=>{t.exposed=e||{}};return{get attrs(){return dee(t)},slots:t.slots,emit:t.emit,expose:r}}function $m(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Q4(XS(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in Sh)return Sh[e](t)},has(r,e){return e in r||e in Sh}}))}function hee(t,r=!0){return et(t)?t.displayName||t.name:t.name||r&&t.__name}function Aee(t){return et(t)&&"__vccOpts"in t}const X=(t,r)=>eJ(t,r,ZA);function ld(t,r,e){const n=arguments.length;return n===2?Gt(r)&&!ze(r)?qv(r)?z(t,null,[r]):z(t,r):z(t,null,r):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&qv(e)&&(e=[e]),z(t,r,e))}const fee="3.4.4",Cee="http://www.w3.org/2000/svg",Iee="http://www.w3.org/1998/Math/MathML",As=typeof document<"u"?document:null,qk=As&&As.createElement("template"),vee={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(Cee,t):r==="mathml"?As.createElementNS(Iee,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{qk.innerHTML=n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t;const s=qk.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",th="animation",aA=Symbol("_vtc"),KA=(t,{slots:r})=>ld(wJ,pee(t),r);KA.displayName="Transition";const Pj={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};KA.props=Gr({},lj,Pj);const Pl=(t,r=[])=>{ze(t)?t.forEach(e=>e(...r)):t&&t(...r)},Jk=t=>t?ze(t)?t.some(r=>r.length>1):t.length>1:!1;function pee(t){const r={};for(const R in t)R in Pj||(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=mee(i),f=A&&A[0],C=A&&A[1],{onBeforeEnter:I,onEnter:v,onEnterCancelled:p,onLeave:y,onLeaveCancelled:b,onBeforeAppear:S=I,onAppear:N=v,onAppearCancelled:k=p}=r,_=(R,L,te)=>{Rl(R,L?u:s),Rl(R,L?g:a),te&&te()},O=(R,L)=>{R._isLeaving=!1,Rl(R,c),Rl(R,h),Rl(R,d),L&&L()},P=R=>(L,te)=>{const H=R?N:v,V=()=>_(L,R,te);Pl(H,[L,V]),ex(()=>{Rl(L,R?l:o),Ja(L,R?u:s),Jk(H)||tx(L,n,f,V)})};return Gr(r,{onBeforeEnter(R){Pl(I,[R]),Ja(R,o),Ja(R,a)},onBeforeAppear(R){Pl(S,[R]),Ja(R,l),Ja(R,g)},onEnter:P(!1),onAppear:P(!0),onLeave(R,L){R._isLeaving=!0;const te=()=>O(R,L);Ja(R,c),$ee(),Ja(R,d),ex(()=>{R._isLeaving&&(Rl(R,c),Ja(R,h),Jk(y)||tx(R,n,C,te))}),Pl(y,[R,te])},onEnterCancelled(R){_(R,!1),Pl(p,[R])},onAppearCancelled(R){_(R,!0),Pl(k,[R])},onLeaveCancelled(R){O(R),Pl(b,[R])}})}function mee(t){if(t==null)return null;if(Gt(t))return[Pb(t.enter),Pb(t.leave)];{const r=Pb(t);return[r,r]}}function Pb(t){return wq(t)}function Ja(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[aA]||(t[aA]=new Set)).add(r)}function Rl(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const e=t[aA];e&&(e.delete(r),e.size||(t[aA]=void 0))}function ex(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let yee=0;function tx(t,r,e,n){const i=t._endId=++yee,o=()=>{i===t._endId&&n()};if(e)return setTimeout(o,e);const{type:a,timeout:s,propCount:l}=bee(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 bee(t,r){const e=window.getComputedStyle(t),n=A=>(e[A]||"").split(", "),i=n(`${qa}Delay`),o=n(`${qa}Duration`),a=rx(i,o),s=n(`${th}Delay`),l=n(`${th}Duration`),g=rx(s,l);let u=null,c=0,d=0;r===qa?a>0&&(u=qa,c=a,d=o.length):r===th?g>0&&(u=th,c=g,d=l.length):(c=Math.max(a,g),u=c>0?a>g?qa:th: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 rx(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((e,n)=>nx(e)+nx(t[n])))}function nx(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function $ee(){return document.body.offsetHeight}function wee(t,r,e){const n=t[aA];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const _ee=Symbol("_vod"),Eee=Symbol("");function See(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&&qw(n,o,"");for(const o in e)qw(n,o,e[o])}else{const o=n.display;if(i){if(r!==e){const a=n[Eee];a&&(e+=";"+a),n.cssText=e}}else r&&t.removeAttribute("style");_ee in t&&(n.display=o)}}const ix=/\s*!important$/;function qw(t,r,e){if(ze(e))e.forEach(n=>qw(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Tee(t,r);ix.test(e)?t.setProperty(zg(n),e.replace(ix,""),"important"):t[n]=e}}const ox=["Webkit","Moz","ms"],Rb={};function Tee(t,r){const e=Rb[r];if(e)return e;let n=ea(r);if(n!=="filter"&&n in t)return Rb[r]=n;n=dm(n);for(let i=0;i<ox.length;i++){const o=ox[i]+n;if(o in t)return Rb[r]=o}return r}const ax="http://www.w3.org/1999/xlink";function Oee(t,r,e,n,i){if(n&&r.startsWith("xlink:"))e==null?t.removeAttributeNS(ax,r.slice(6,r.length)):t.setAttributeNS(ax,r,e);else{const o=kq(r);e==null||o&&!R4(e)?t.removeAttribute(r):t.setAttribute(r,o?"":e)}}function kee(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=R4(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 xee(t,r,e,n){t.removeEventListener(r,e,n)}const sx=Symbol("_vei");function Pee(t,r,e,n,i=null){const o=t[sx]||(t[sx]={}),a=o[r];if(n&&a)a.value=n;else{const[s,l]=Ree(r);if(n){const g=o[r]=Mee(n,i);Ca(t,s,g,l)}else a&&(xee(t,s,a,l),o[r]=void 0)}}const lx=/(?:Once|Passive|Capture)$/;function Ree(t){let r;if(lx.test(t)){r={};let n;for(;n=t.match(lx);)t=t.slice(0,t.length-n[0].length),r[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):zg(t.slice(2)),r]}let Db=0;const Dee=Promise.resolve(),Nee=()=>Db||(Dee.then(()=>Db=0),Db=Date.now());function Mee(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;ji(Bee(n,e.value),r,5,[n])};return e.value=t,e.attached=Nee(),e}function Bee(t,r){if(ze(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 gx=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Fee=(t,r,e,n,i,o,a,s,l)=>{const g=i==="svg";r==="class"?wee(t,n,g):r==="style"?See(t,e,n):um(r)?LS(r)||Pee(t,r,e,n,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Lee(t,r,n,g))?kee(t,r,n,o,a,s,l):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),Oee(t,r,n,g))};function Lee(t,r,e,n){if(n)return!!(r==="innerHTML"||r==="textContent"||r in t&&gx(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 gx(r)&&cr(e)?!1:r in t}const qs=t=>{const r=t.props["onUpdate:modelValue"]||!1;return ze(r)?e=>ov(r,e):r};function zee(t){t.target.composing=!0}function ux(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const Gi=Symbol("_assign"),cx={created(t,{modifiers:{lazy:r,trim:e,number:n}},i){t[Gi]=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=Hv(s)),t[Gi](s)}),e&&Ca(t,"change",()=>{t.value=t.value.trim()}),r||(Ca(t,"compositionstart",zee),Ca(t,"compositionend",ux),Ca(t,"change",ux))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,modifiers:{lazy:e,trim:n,number:i}},o){if(t[Gi]=qs(o),t.composing)return;const a=i||t.type==="number"?Hv(t.value):t.value,s=r??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(e||n&&t.value.trim()===s)||(t.value=s))}},jee={deep:!0,created(t,r,e){t[Gi]=qs(e),Ca(t,"change",()=>{const n=t._modelValue,i=_c(t),o=t.checked,a=t[Gi];if(ze(n)){const s=VS(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(od(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(Rj(t,o))})},mounted:dx,beforeUpdate(t,r,e){t[Gi]=qs(e),dx(t,r,e)}};function dx(t,{value:r,oldValue:e},n){t._modelValue=r,ze(r)?t.checked=VS(r,n.props.value)>-1:od(r)?t.checked=r.has(n.props.value):r!==e&&(t.checked=yg(r,Rj(t,!0)))}const Vee={created(t,{value:r},e){t.checked=yg(r,e.props.value),t[Gi]=qs(e),Ca(t,"change",()=>{t[Gi](_c(t))})},beforeUpdate(t,{value:r,oldValue:e},n){t[Gi]=qs(n),r!==e&&(t.checked=yg(r,n.props.value))}},Gee={deep:!0,created(t,{value:r,modifiers:{number:e}},n){const i=od(r);Ca(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?Hv(_c(a)):_c(a));t[Gi](t.multiple?i?new Set(o):o:o[0])}),t[Gi]=qs(n)},mounted(t,{value:r}){hx(t,r)},beforeUpdate(t,r,e){t[Gi]=qs(e)},updated(t,{value:r}){hx(t,r)}};function hx(t,r){const e=t.multiple;if(!(e&&!ze(r)&&!od(r))){for(let n=0,i=t.options.length;n<i;n++){const o=t.options[n],a=_c(o);if(e)ze(r)?o.selected=VS(r,a)>-1:o.selected=r.has(a);else if(yg(_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 Rj(t,r){const e=r?"_trueValue":"_falseValue";return e in t?t[e]:r}const Wee={created(t,r,e){xC(t,r,e,null,"created")},mounted(t,r,e){xC(t,r,e,null,"mounted")},beforeUpdate(t,r,e,n){xC(t,r,e,n,"beforeUpdate")},updated(t,r,e,n){xC(t,r,e,n,"updated")}};function Hee(t,r){switch(t){case"SELECT":return Gee;case"TEXTAREA":return cx;default:switch(r){case"checkbox":return jee;case"radio":return Vee;default:return cx}}}function xC(t,r,e,n,i){const a=Hee(t.tagName,e.props&&e.props.type)[i];a&&a(t,r,e,n)}const Uee=["ctrl","shift","alt","meta"],Zee={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)=>Uee.some(e=>t[`${e}Key`]&&!r.includes(e))},wn=(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=Zee[r[a]];if(s&&s(i,r))return}return t(i,...o)})},Kee={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Dj=(t,r)=>{const e=t._withKeys||(t._withKeys={}),n=r.join(".");return e[n]||(e[n]=i=>{if(!("key"in i))return;const o=zg(i.key);if(r.some(a=>a===o||Kee[a]===o))return t(i)})},Yee=Gr({patchProp:Fee},vee);let Ax;function Nj(){return Ax||(Ax=QJ(Yee))}const fx=(...t)=>{Nj().render(...t)},g2=(...t)=>{const r=Nj().createApp(...t),{mount:e}=r;return r.mount=n=>{const i=Qee(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,Xee(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},r};function Xee(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Qee(t){return cr(t)?document.querySelector(t):t}var qee=Object.create,Mj=Object.defineProperty,Jee=Object.getOwnPropertyDescriptor,u2=Object.getOwnPropertyNames,ete=Object.getPrototypeOf,tte=Object.prototype.hasOwnProperty,rte=(t,r)=>function(){return t&&(r=(0,t[u2(t)[0]])(t=0)),r},Bj=(t,r)=>function(){return r||(0,t[u2(t)[0]])((r={exports:{}}).exports,r),r.exports},nte=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of u2(r))!tte.call(t,i)&&i!==e&&Mj(t,i,{get:()=>r[i],enumerable:!(n=Jee(r,i))||n.enumerable});return t},ite=(t,r,e)=>(e=t!=null?qee(ete(t)):{},nte(r||!t||!t.__esModule?Mj(e,"default",{value:t,enumerable:!0}):e,t)),nt=rte({"../../node_modules/.pnpm/tsup@8.0.1_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js"(){}}),ote=Bj({"../../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="",y="",b=!0,S={},N,k,_,O,P,R,L,te,H,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,O=I.uric||!1,P=I.uricNoSlash||!1,R=I.mark||!1,b=!(I.symbols===!1||I.lang===!1),v=I.separator||v,O&&(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(ye){S[ye+""]=ye+""}),k=!0):k=!!I.titleCase,I.custom&&typeof I.custom.length=="number"&&Array.prototype.toString.call(I.custom)&&I.custom.forEach(function(ye){S[ye+""]=ye+""}),Object.keys(S).forEach(function(ye){var je;ye.length>1?je=new RegExp("\\b"+h(ye)+"\\b","gi"):je=new RegExp(h(ye),"gi"),C=C.replace(je,S[ye])});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?(y+=Q,Q=""):We===!0?(Q=o[y]+n[Q],y=""):Q=Re&&n[Q].match(/[A-Za-z0-9]/)?" "+n[Q]:n[Q],Re=!1,We=!1):Q in o?(y+=Q,Q="",V===Ie-1&&(Q=o[y]),We=!0):L[Q]&&!(O&&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[y]+Q,y="",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(ye,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>_&&(H=p.charAt(_)===v,p=p.slice(0,_),H||(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)}}),ate=Bj({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,r){nt(),r.exports=ote()}});nt();nt();nt();nt();nt();nt();var Cx,Ix,vi=(Ix=(Cx=qe).__VUE_DEVTOOLS_HOOK)!=null?Ix:Cx.__VUE_DEVTOOLS_HOOK=T4(),ste={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 vx(){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 lte(){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 ng={on:ste},Ec="__VUE_DEVTOOLS_ROUTER_INFO__",Jv="__VUE_DEVTOOLS_ROUTER__",px,mx;(mx=(px=qe)[Ec])!=null||(px[Ec]={currentRoute:null,routes:[],router:null});var yx,bx;(bx=(yx=qe)[Jv])!=null||(yx[Jv]=null);var gte=new Proxy(qe[Ec],{get(t,r){return qe[Ec][r]}});function ute(t){const r=o=>{const a=new Map;return(o?.getRoutes()||[]).filter(s=>!a.has(s.path)&&a.set(s.path,1))};function e(o){return o.map(a=>{let{path:s,name:l,children:g}=a;return g?.length&&(g=e(g)),{path:s,name:l,children:g}})}function n(o){if(o){const{fullPath:a,hash:s,href:l,path:g,name:u,matched:c,params:d,query:h}=o;return{fullPath:a,hash:s,href:l,path:g,name:u,params:d,query:h,matched:e(c)}}return o}function i(){var o;const a=(o=t.app)==null?void 0:o.config.globalProperties.$router,s=n(a?.currentRoute.value),l=e(r(a)),g=console.warn;console.warn=()=>{},qe[Ec]={currentRoute:s?bc(s):{},routes:bc(l)},qe[Jv]=a,console.warn=g}i(),ng.on.componentUpdated(tA(()=>{i(),zt.callHook("router-info:updated",qe[Ec])},200))}function cte(t){return t.replace(/\D/g,"")||"0"}var fs="__VUE_DEVTOOLS_GLOBAL_STATE__",Fo="__VUE_DEVTOOLS_CONTEXT__",Fj={appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]},$x,wx;(wx=($x=qe)[fs])!=null||($x[fs]={connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null});var _x,Ex;(Ex=(_x=qe)[Fo])!=null||(_x[Fo]=bc(Fj));var dte=tA((t,r)=>{zt.callHook("devtools:state-updated",t,r)},80),hte=tA((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[Fo].appRecord=e,qe[Fo].api=e.api,qe[Fo].inspector=(n=e.inspector)!=null?n:[],ute(e),qe[Fo].routerInfo=gte),dte(qe[fs],i),["connected","clientConnected"].includes(r.toString())&&i[r]!==e&&hte(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[Fo],{get(t,r){return r==="router"?qe[Jv]:r==="clear"?Ate:qe[Fo][r]},set(t,r,e){return r==="componentPluginHookBuffer"&&(qe[Fo][r]=e),!0}});function Ate(){qe[Fo]=bc(Fj)}nt();nt();nt();nt();var fte=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"]),Sx=/^\[native Symbol Symbol\((.*)\)\]$/,Cte=/^\[object (\w+)]$/,ep=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Ite=/^(?:function|class) (\w+)/,Tx=1e4,Ox=5e3,YA="__vue_devtool_undefined__",wm="__vue_devtool_infinity__",_m="__vue_devtool_negative_infinity__",Em="__vue_devtool_nan__",vte={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};nt();function pte(t){return t._&&Object.keys(t._).includes("vnode")}function Lj(t){return Object.prototype.toString.call(t)==="[object Object]"}function mte(t){if(t==null)return!0;const r=typeof t;return r==="string"||r==="number"||r==="boolean"}function zj(t){return!!t.__v_isRef}function yte(t){return zj(t)&&!!t.effect}function bte(t){return!!t.__v_isReactive}function $te(t){return!!t.__v_isReadonly}nt();function wte(t){return t===null?"null":t===YA?"undefined":t===Em?"NaN":t===wm?"Infinity":t===_m?"-Infinity":!1}function jj(t){if(Array.isArray(t))return t.map(e=>jj(e)).join(" or ");if(t==null)return"null";const r=t.toString().match(Ite);return typeof t=="function"&&r&&r[1]||"any"}function _te(t){return!mte(t)&&!Array.isArray(t)&&!Lj(t)?Object.prototype.toString.call(t):t}function Vj(t){return{ref:zj(t),computed:yte(t),reactive:bte(t),readonly:$te(t)}}function Gj(t){return t?.__v_raw?t.__v_raw:t}function Ih(t){return t.replace(/[<>"&]/g,r=>vte[r]||r)}function Sm(t,r=!0){const e=typeof t;if(t==null||t===YA)return"null";if(e==="boolean"||e==="number"||t===wm||t===_m||t===Em)return"literal";if(t?._custom)return r||t._custom.display!=null||t._custom.displayText!=null?"custom":Sm(t._custom.value);if(typeof t=="string"){const n=ep.exec(t);if(n){const[,i]=n;return`native ${i}`}else return"string"}else return Array.isArray(t)||t?._isArray?"array":Lj(t)?"plain-object":"unknown"}function Wj(t,r=!1){var e,n;let i;const o=Sm(t,!1);if(o!=="custom"&&t?._custom&&(t=t._custom.value),i=wte(t))return i;if(o==="custom")return((e=t._custom.value)==null?void 0:e._custom)&&Wj(t._custom.value)||t._custom.displayText||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 Ih((n=ep.exec(t))==null?void 0:n[2]);if(typeof t=="string"){const a=t.match(Cte);a?t=Ih(a[1]):r?t=`<span>"</span>${Ih(t)}<span>"</span>`:t=Ih(t),t=t.replace(/ /g,"&nbsp;").replace(/\n/g,"<span>\\n</span>")}return t}function c2(t){var r,e,n,i;const o=Sm(t)==="custom";let a={};if(o){const s=t,l=typeof((r=s._custom)==null?void 0:r.value)=="object"&&"_custom"in s._custom.value?c2((e=s._custom)==null?void 0:e.value):{inherit:void 0,value:void 0};a=l.inherit||((n=s._custom)==null?void 0:n.fields)||{},t=l.value||((i=s._custom)==null?void 0:i.value)}return t&&t._isArray&&(t=t.items),{value:t,inherit:a}}nt();nt();nt();function Ete(t){return t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name}function Hj(t){const r=t.__file;if(r)return E4(sq(r,".vue"))}function Ste(t){const r=t.displayName||t.name||t._componentTag;return r||Hj(t)}function kx(t,r){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=r,r}function lc(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 lv(t){const{app:r,uid:e,instance:n}=t;try{if(n.__VUE_DEVTOOLS_UID__)return n.__VUE_DEVTOOLS_UID__;const i=await lc(r);if(!i)return null;const o=i.rootInstance===n;return`${i.id}:${o?"root":e}`}catch{}}function d2(t){var r;return((r=t.subTree)==null?void 0:r.type)===me}function Nb(t){return t._isBeingDestroyed||t.isUnmounted}function gl(t){var r,e,n;const i=Ete(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 kx(t,a);for(const a in(n=t.appContext)==null?void 0:n.components)if(t.appContext.components[a]===t.type)return kx(t,a);const o=Hj(t.type||{});return o||"Anonymous Component"}function Uj(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 Tte(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function ul(t){try{return t()}catch(r){return r}}function Sc(t,r){return r=r||`${t.id}:root`,t.instanceMap.get(r)||t.instanceMap.get(":root")}nt();function tp(t,r,e){if(typeof r=="function"&&(r=r.options),!r)return t;const{mixins:n,extends:i}=r;i&&tp(t,i),n&&n.forEach(o=>tp(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 Ote(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=>tp(o,a)),tp(o,r),o}function kte(t){const r=[],e=t.type.props;for(const n in t.props){const i=e?e[n]:null,o=oq(n);r.push({type:"props",key:o,value:ul(()=>t.props[n]),meta:i?{type:i.type?jj(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return r}function xte(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:ul(()=>o[a]),editable:!0}))}function Pte(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 Rte(t){const r=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(e=>!fte.has(e)&&e.split(/(?=[A-Z])/)[0]!=="use").map(e=>{var n,i,o,a;const s=ul(()=>Gj(t.setupState[e])),l=r[e];let g,u=typeof s=="function"||typeof s?.render=="function"||typeof s?.__asyncLoader=="function";if(l){const d=Vj(l),{stateType:h,stateTypeName:A}=Pte(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 Dte(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:ul(()=>{var l;return(l=t?.proxy)==null?void 0:l[o]}),editable:typeof a.set=="function"})}return n}function Nte(t){return Object.keys(t.attrs).map(r=>({type:"attrs",key:r,value:ul(()=>t.attrs[r])}))}function Mte(t){return Reflect.ownKeys(t.provides).map(r=>({type:"provided",key:r.toString(),value:ul(()=>t.provides[r])}))}function Bte(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:ul(()=>t.ctx.hasOwnProperty(i)?t.ctx[i]:t.provides.hasOwnProperty(o)?t.provides[o]:n)}))}function Fte(t){return Object.keys(t.refs).map(r=>({type:"refs",key:r,value:ul(()=>t.refs[r])}))}function Lte(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 Zj(t){const r=Ote(t);return kte(t).concat(xte(t),Rte(t),Dte(t,r),Nte(t),Mte(t),Bte(t,r),Fte(t),Lte(t))}function zte(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> ${Ih(o)}${i}`,tooltipText:r.trim()?`<pre>${r}</pre>`:null}}}function jte(t){const r=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${r})`,value:r}}}function Vte(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 Gte(t){const r=Array.from(t);return{_custom:{type:"set",displayText:`Set[${r.length}]`,value:r,readOnly:!0}}}function Wte(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 Hte(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 Ute(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 Zte(t){return{_custom:{type:"store",displayText:"Store",value:{state:t.state,getters:Wte(t)},fields:{abstract:!0}}}}function Kte(t){return{_custom:{type:"router",displayText:"VueRouter",value:{options:t.options,currentRoute:t.currentRoute},fields:{abstract:!0}}}}function Yte(t){t._&&(t=t._);const r=Zj(t);return{_custom:{type:"component",id:t.__VUE_DEVTOOLS_UID__,displayText:gl(t),tooltipText:"Component instance",value:Hte(r),fields:{abstract:!0}}}}function Xte(t){let r=Ste(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 Qte(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:Ute(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=Vj(t);if(o.ref||o.computed||o.reactive){const s=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=Gj(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 Jte(t){var r;if(t==="compilerOptions")return;const e=this[t],n=typeof e;if(Array.isArray(e)){const i=e.length;return i>Ox?{_isArray:!0,length:i,items:e.slice(0,Ox)}:e}else{if(typeof e=="string")return e.length>Tx?`${e.substring(0,Tx)}... (${e.length} total length)`:e;if(n==="undefined")return YA;if(e===Number.POSITIVE_INFINITY)return wm;if(e===Number.NEGATIVE_INFINITY)return _m;if(typeof e=="function")return zte(e);if(n==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(e)}]`;if(typeof e=="bigint")return jte(e);if(e!==null&&typeof e=="object"){const i=Object.prototype.toString.call(e);if(i==="[object Map]")return Vte(e);if(i==="[object Set]")return Gte(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 Zte(e);if(e.constructor&&e.constructor.name==="VueRouter")return Kte(e);if(pte(e))return Yte(e);if(typeof e.render=="function")return Xte(e);if(e.constructor&&e.constructor.name==="VNode")return`[native VNode <${e.tag}>]`;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return Qte(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 Em}return _te(e)}nt();function ere(t){const r=new Set,e=t._custom.value;for(let n=0;n<e.length;n++){const i=e[n];r.add(Tm(i))}return r}function tre(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,Tm(o))}return r}function Tm(t){var r;if(t!==YA){if(t===wm)return Number.POSITIVE_INFINITY;if(t===_m)return Number.NEGATIVE_INFINITY;if(t===Em)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"?tre(t):e.type==="set"?ere(t):e.type==="bigint"?BigInt(e.value):Tm(e.value)}else if(Sx.test(t)){const[,e]=Sx.exec(t);return Symbol.for(e)}else if(ep.test(t)){const[,e,n,,i]=ep.exec(t),o=new qe[e](n);return e==="Error"&&i&&(o.stack=i),o}else return t}}function rre(t,r){return Tm(r)}nt();var PC=512*1024;function Jw(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]=Jw(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]=Jw(a,r,e,n)}else e.push(t);return u}function nre(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 ire(t,r=null,e=null){let n;try{n=arguments.length===1?JSON.stringify(t):JSON.stringify(t,r,e)}catch{n=ore(t,r,e)}if(n.length>PC){const i=Math.ceil(n.length/PC),o=[];for(let a=0;a<i;a++)o.push(n.slice(a*PC,(a+1)*PC));return o}return n}function ore(t,r=null,e=null){const n=[];return Jw(t,r,n,new Map),e?` ${JSON.stringify(n,null,e)}`:` ${JSON.stringify(n)}`}function xx(t,r=null){if(Array.isArray(t)&&(t=t.join("")),/^\s/.test(t)){const n=JSON.parse(t);return nre(n,r),n[0]}else return arguments.length===1?JSON.parse(t):JSON.parse(t,r)}function Nu(t){return ire(t,Jte)}function Po(t,r=!1){return t?r?xx(t,rre):xx(t):{}}nt();function are(){return Date.now()}nt();nt();function sre(t){fr.inspector.push(t)}function e_(t){return fr.inspector.find(r=>r.id===t)}function Px(t,r){const e=e_(t);e&&Object.assign(e,r)}nt();function lre(t){fr.timelineLayer.push(t)}nt();nt();var Kj=class{constructor(){this.refEditor=new gre}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):pt(r)instanceof Map&&typeof n=="object"&&n&&"key"in n?r.delete(n.key):pt(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}}}},gre=class{set(t,r){if(Le(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 Le(t)?t.value:t}isRef(t){return Le(t)||tg(t)}};async function ure(t,r){const{path:e,nodeId:n,state:i,type:o}=t,a=Sc(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 cre=new Kj;async function dre(t){ure(t,cre)}nt();function hre(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 Are(t,r){jt.pluginBuffer.push([t,r])}async function fre(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 lc(i.app),i.packageName==="vue-router"){const a=cte(`${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,vueI18n:!!s.$i18n}}:i})}function Cre(t,r){return vi.callHook(jr.SETUP_DEVTOOLS_PLUGIN,t,r)}nt();nt();function rp(t){return d2(t)?Ire(t.subTree):t.subTree?[t.subTree.el]:[]}function Ire(t){if(!t.children)return[];const r=[];return t.children.forEach(e=>{e.component?r.push(...rp(e.component)):e?.el&&r.push(e.el)}),r}nt();var vre=class{constructor(t){this.filter=t||""}isQualified(t){const r=gl(t);return E4(r).toLowerCase().includes(this.filter)||aq(r).toLowerCase().includes(this.filter)}};function pre(t){return new vre(t)}var mre=class{constructor(t){this.captureIds=new Map;const{filterText:r="",maxDepth:e,recursively:n}=t;this.componentFilter=pre(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__:Uj(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=gl(t),o=this.getInternalInstanceChildren(t.subTree).filter(c=>!Nb(c)),a=this.getComponentParents(t)||[],s=!!t.isDeactivated||a.some(c=>c.isDeactivated),l={uid:t.uid,id:n,name:i,renderKey:Tte(t.vnode?t.vnode.key:null),inactive:s,children:[],isFragment:d2(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=rp(t)[0];if(u?.parentElement){const c=t.parent,d=c?rp(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!Nb(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!Nb(n)&&!((i=n.type.devtools)!=null&&i.hide)})}mark(t,r=!1){const e=lc(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 yre(t){var r;const e=Sc(fr.appRecord,t.instanceId),n=Uj(e),i=gl(e),o=(r=e?.type)==null?void 0:r.__file,a=Zj(e);return{id:n,name:i,file:o,state:a,instance:e}}nt();function bre(){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 RC;function $re(t){return RC||(RC=document.createRange()),RC.selectNode(t),RC.getBoundingClientRect()}function wre(t){const r=bre();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=bg(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=$re(a))}o&&_re(r,o)}return r}function _re(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 Rx={top:0,left:0,right:0,bottom:0,width:0,height:0};function bg(t){const r=t.subTree.el;return typeof window>"u"?Rx:d2(t)?wre(t.subTree):r?.nodeType===1?r?.getBoundingClientRect():t.subTree.component?bg(t.subTree.component):Rx}nt();var Dx,Nx,zt=(Nx=(Dx=qe).__VUE_DEVTOOLS_API_HOOK)!=null?Nx:Dx.__VUE_DEVTOOLS_API_HOOK=T4(),Ere={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 Sre(t){Cre({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=Sc(fr.appRecord,s.instanceId);if(l){if(typeof DOMRect>"u")return;s.rect=bg(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=Sc(fr.appRecord,s.instanceId);if(l){const g=new mre({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=yre({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&&(dre(s),await r.sendInspectorState("components"))});const e=tA(()=>{r.sendInspectorTree(es)},120),n=tA(()=>{r.sendInspectorState(es)},120),i=ng.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 lv({app:s,uid:l,instance:u}),f=await lc(s);u&&(u.__VUE_DEVTOOLS_UID__==null&&(u.__VUE_DEVTOOLS_UID__=A),f?.instanceMap.has(A)||f?.instanceMap.set(A,u)),f&&e()}),o=ng.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 lv({app:s,uid:l,instance:u}),f=await lc(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=ng.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 lc(s);if(!A)return;const f=await lv({app:s,uid:l,instance:u});A?.instanceMap.delete(f),e()});fr.componentPluginHookBuffer=[i,o,a]})}async function Yj(t){await Sre(t.app),jt.activeAppRecord=t,jt.activeAppRecordId=`${t.id}`,fre({app:t.app,api:t.api})}async function Tre(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 t8;r.api=e,Yj(r),window.postMessage({event:"toggle-app-record",target:"vue-devtools"})}}nt();function Ore(t){jt.tabs.some(r=>r.name===t.name)||jt.tabs.push(t)}nt();function kre(t){jt.commands.some(r=>r.id===t.id)||jt.commands.push(t)}function xre(t){const r=jt.commands.findIndex(e=>e.id===t);r!==-1&&jt.commands.splice(r,1)}nt();function Pre(t){let r=0;const e=setInterval(()=>{qe.__VUE_INSPECTOR__&&(clearInterval(e),r+=30,t()),r>=5e3&&clearInterval(e)},30)}function Rre(){const t=qe.__VUE_INSPECTOR__,r=t.openInEditor;t.openInEditor=async(...e)=>{t.disable(),r(...e)}}function Dre(){return new Promise(t=>{function r(){Rre(),t(qe.__VUE_INSPECTOR__)}qe.__VUE_INSPECTOR__?r():Pre(()=>{r()})})}nt();var Xj="__vue-devtools-component-inspector__",Qj="__vue-devtools-component-inspector__card__",qj="__vue-devtools-component-inspector__name__",Jj="__vue-devtools-component-inspector__indicator__",e8={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Nre={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)"},Mre={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Js(){return document.getElementById(Xj)}function Bre(){return document.getElementById(Qj)}function Fre(){return document.getElementById(Jj)}function Lre(){return document.getElementById(qj)}function h2(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 Om(t){var r;const e=document.createElement("div");e.id=(r=t.elementId)!=null?r:Xj,Object.assign(e.style,{...e8,...h2(t.bounds),...t.style});const n=document.createElement("span");n.id=Qj,Object.assign(n.style,{...Nre,top:t.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=qj,i.innerHTML=`&lt;${t.name}&gt;&nbsp;&nbsp;`;const o=document.createElement("i");return o.id=Jj,o.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(o.style,Mre),n.appendChild(i),n.appendChild(o),e.appendChild(n),document.body.appendChild(e),e}function km(t){const r=Js(),e=Bre(),n=Lre(),i=Fre();r&&(Object.assign(r.style,{...e8,...h2(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 zre(t){if(t.visible){const r=Sc(fr.appRecord,t.id);if(r&&(t.bounds.width||t.bounds.height)){const e=gl(r);Js()?km({...t,name:e}):Om({...t,name:e})}}else{const r=Js();r&&(r.style.display="none")}}function jre(t){const r=bg(t),e=gl(t);Js()?km({bounds:r,name:e}):Om({bounds:r,name:e})}function Vre(){const t=Js();t&&(t.style.display="none")}var t_=null;function Mx(t){const r=t.target;if(r){const e=r.__vueParentComponent;if(e&&(t_=e,e.vnode.el)){const i=bg(e),o=gl(e);Js()?km({bounds:i,name:o}):Om({bounds:i,name:o})}}}function Gre(t,r){var e;if(t.preventDefault(),t.stopPropagation(),t_){const n=(e=fr.appRecord)==null?void 0:e.app;lv({app:n,uid:n.uid,instance:t_}).then(i=>{r(i)})}}function Wre(){return window.addEventListener("mouseover",Mx),new Promise(t=>{function r(e){e.preventDefault(),e.stopPropagation(),Gre(e,n=>{window.removeEventListener("click",r),window.removeEventListener("mouseover",Mx);const i=Js();i&&(i.style.display="none"),t(JSON.stringify({id:n}))})}window.addEventListener("click",r)})}function Hre(t){const r=Sc(fr.appRecord,t.id);if(r){const[e]=rp(r);if(typeof e.scrollIntoView=="function")e.scrollIntoView({behavior:"smooth"});else{const n=bg(r),i=document.createElement("div"),o={...h2(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=bg(r);if(n.width||n.height){const i=gl(r),o=Js();o?km({...t,name:i,bounds:n}):Om({...t,name:i,bounds:n}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}nt();function Ure(){zt.removeAllHooks()}var t8=class{constructor(){this.on=Ere,this.clear=Ure}toggleApp(t){return Tre(t)}addTimelineEvent(t){zt.callHook("timeline:add-event",t)}toggleComponentInspector(t){return zre(t)}inspectComponentInspector(){return Wre()}scrollToComponent(t){return Hre(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"),Nu(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 Px(r,{filter:e}),await new Promise(o=>{zt.callHookWith(async a=>{await Promise.all(a.map(s=>s(i))),o()},"inspector-tree:get")}),Nu(i.rootNodes)}getInspectorState(t={}){const{inspectorId:r,nodeId:e}=t,n={app:fr.appRecord.app,inspectorId:r,nodeId:e};Px(r,{nodeId:e}),zt.callHookWith(o=>{o.forEach(a=>a(n))},"inspector-state:get");const i=n.state;return delete i.instance,Nu(i)}async editInspectorState(t){const r=new Kj;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(e_(t)){const e=await this.getInspectorTree({inspectorId:t});zt.callHook("inspector-tree:send",Nu({inspectorId:t,data:Po(e)}))}}async sendInspectorState(t){const r=e_(t);if(r&&r.nodeId){const e=await this.getInspectorState({inspectorId:t,nodeId:r.nodeId});zt.callHook("inspector-state:send",Nu({...Po(e),inspectorId:t}))}}addCustomTab(t){Ore(t)}addCustomCommand(t){kre(t)}removeCustomCommand(t){xre(t)}addInspector(t){var r;sre({id:t.id,nodeId:"",filter:"",treeFilterPlaceholder:(r=t.treeFilterPlaceholder)!=null?r:""})}openInEditor(t){hre(t)}highlightElement(t){jre(t)}unhighlightElement(){Vre()}async getComponentInstances(t){const r=t.__VUE_DEVTOOLS_APP_RECORD__,e=r.id.toString();return[...r.instanceMap].filter(([i])=>i.split(":")[0]===e).map(([,i])=>i)}getVueInspector(){return Dre()}visitComponentTree(t){zt.callHook("component-tree:visit",t)}addTimelineLayer(t){lre(t)}notifyComponentUpdate(){}now(){return are()}getSettings(){return{logStoreChanges:null}}};nt();var Zre=ite(ate(),1),Bx,Fx,Lu=(Fx=(Bx=qe).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null?Fx:Bx.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set};function Kre(t,r){var e;return((e=t?._component)==null?void 0:e.name)||`App ${r}`}function Yre(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 Xre(t,r){if(t.__VUE_DEVTOOLS_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_APP_RECORD_ID__;let e=r??(Lu.id++).toString();if(r&&Lu.appIds.has(e)){let n=1;for(;Lu.appIds.has(`${r}_${n}`);)n++;e=`${r}_${n}`}return Lu.appIds.add(e),t.__VUE_DEVTOOLS_APP_RECORD_ID__=e,e}function Qre(t){const r=Yre(t);if(r){Lu.id++;const e=Kre(t,Lu.id.toString()),i={id:Xre(t,(0,Zre.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 qre(){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__,vx()):qe.__VUE_DEVTOOLS_GLOBAL_HOOK__=vx(),(e=(r=qe).__VUE_DEVTOOLS_APP_RECORDS__)!=null||(r.__VUE_DEVTOOLS_APP_RECORDS__=[]),ng.on.setupDevtoolsPlugin(Are),ng.on.vueAppInit(async(i,o)=>{var a;const s=Qre(i),l=new t8;jt.appRecords=[...(a=jt.appRecords)!=null?a:[],{...s,app:i,version:o,api:l}],jt.appRecords.length===1&&(await Yj(jt.appRecords[0]),jt.connected=!0,vi.callHook(jr.APP_CONNECTED))}),lte())}var ft={state:jt,context:fr,init:qre,hook:ng,get api(){return fr.api}};const Jre=6e4;function r8(t){return t}const ene=r8,{clearTimeout:tne,setTimeout:rne}=globalThis,nne=Math.random.bind(Math);function ine(t,r){const{post:e,on:n,eventNames:i=[],serialize:o=r8,deserialize:a=ene,resolver:s,timeout:l=Jre}=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=ane();let y;l>=0&&(y=rne(()=>{v(new Error(`[birpc] timeout on calling "${h}"`)),g.delete(p)},l).unref?.()),g.set(p,{resolve:I,reject:v,timeoutId:y}),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(y){v=y}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&&(tne(v.timeoutId),I?v.reject(I):v.resolve(C)),g.delete(f)}}),c}const one="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function ane(t=21){let r="",e=t;for(;e--;)r+=one[nne()*64|0];return r}function sne(t,r,e={},n={}){const i=`${t}:rpc`;return ine(e,{...n,on:async o=>{(await r).on(i,o)},post:async o=>{(await r).send(i,o)}})}var n8=class{constructor(t={tracker:$k,trigger:$k}){this.emitter=cq(),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()}},Ct={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",unhighlightElement:"element:unhighlight"},i8=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:Po(n)};e(i)}),this.bridge.emit(`${t}:req`,r)})}};function lne(t){return t?sne("vite-plugin-vue-devtools",t,{}):null}var A2=(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))(A2||{}),$t={value:null,viteRpc:{enabled:!1,api:null},rpc:null};function gne(t){const r=lne(t.viteRPCContext);$t.value=t.bridge,$t.rpc=new i8(t.bridge),r&&($t.viteRpc={enabled:!0,api:r})}var np=class{static updateInspectorTreeId(t){$t.rpc.emit(Ct.updateInspectorTreeId,t)}static toggleComponentInspector(t){$t.rpc.emit(Ct.toggleComponentInspector,t)}static inspectComponentInspector(){return $t.rpc.emit(Ct.inspectComponentInspector)}static unhighlightElement(){return $t.rpc.emit(Ct.unhighlightElement)}static scrollToComponent(t){return $t.rpc.emit(Ct.scrollToComponent,t)}static async getComponentBoundingRect(t){return $t.rpc.emit(Ct.componentBoundingRect,t)}static getInspectorTree(t){return $t.rpc.emit(Ct.inspectorTree,t)}static async getInspectorState(t){return $t.rpc.emit(Ct.inspectorState,t)}static async editInspectorState(t){return $t.rpc.emit(Ct.editState,t)}static async getDevToolsState(){return $t.rpc.emit(Ct.state)}static async getTimelineLayer(){return $t.rpc.emit(Ct.timelineLayer)}static async getRouterInfo(){return $t.rpc.emit(Ct.routerInfo)}static async navigate(t){return $t.rpc.emit(Ct.router,JSON.stringify(t))}static async getMatchedRoutes(t){return $t.rpc.emit(Ct.routeMatched,t)}static async openInEditor(t){return $t.rpc.emit(Ct.openInEditor,JSON.stringify(t))}static async isVueInspectorDetected(){return $t.rpc.emit(Ct.isVueInspectorDetected)}static async enableVueInspector(){return $t.rpc.emit(Ct.enableVueInspector)}static async toggleApp(t){return $t.rpc.emit(Ct.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()}};np.on={inspectorTreeUpdated(t,r){$t.value.on("inspector-tree:send",e=>{const n=Po(e);r.inspectorId===n.inspectorId&&t(n)})},inspectorStateUpdated(t,r){$t.value.on("inspector-state:send",e=>{const n=Po(e);r.inspectorId===n.inspectorId&&t({state:n.state,getters:n.getters})})},devtoolsStateUpdated(t){$t.value.on("devtools-state:updated",r=>{t(Po(r))})},customTabsUpdated(t){$t.value.on("custom-tabs:updated",r=>{t(Po(r))})},customCommandsUpdated(t){$t.value.on("custom-commands:updated",r=>{t(Po(r))})},routerInfoUpdated(t){$t.value.on("router-info:updated",r=>{t(Po(r))})},addTimelineEvent(t){$t.value.on("timeline:add-event",r=>{t(Po(r))})}};function une(t){const r=new i8(t);r.on(Ct.state,()=>{var n,i;return JSON.stringify({connected:ft.state.connected,clientConnected:ft.state.clientConnected,vueVersion:((i=(n=ft.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",tabs:ft.state.tabs,commands:ft.state.commands,vitePluginDetected:ft.state.vitePluginDetected,appRecords:ft.state.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:ft.state.activeAppRecordId})}),r.on(Ct.timelineLayer,()=>JSON.stringify(ft.context.timelineLayer)),r.on(Ct.toggleComponentInspector,n=>(ft.api.toggleComponentInspector(n),Promise.resolve(JSON.stringify({})))),r.on(Ct.inspectComponentInspector,()=>ft.api.inspectComponentInspector()),r.on(Ct.unhighlightElement,()=>(ft.api.unhighlightElement(),Promise.resolve(JSON.stringify({})))),r.on(Ct.scrollToComponent,n=>(ft.api.scrollToComponent(n),Promise.resolve(JSON.stringify({})))),r.on(Ct.componentBoundingRect,async n=>ft.api.getComponentBoundingRect(n)),r.on(Ct.inspectorTree,n=>ft.api.getInspectorTree(n)),r.on(Ct.updateInspectorTreeId,async n=>{ft.context.activeInspectorTreeId=n}),r.on(Ct.inspectorState,async n=>ft.api.getInspectorState(n)),r.on(Ct.editState,async n=>ft.api.editInspectorState(n)),r.on(Ct.routerInfo,()=>JSON.stringify(ft.context.routerInfo)),r.on(Ct.router,n=>{var i;return(i=ft.context.router)==null||i.push(JSON.parse(n)).catch(o=>o),Promise.resolve(JSON.stringify({}))}),r.on(Ct.openInEditor,async n=>ft.api.openInEditor(JSON.parse(n))),r.on(Ct.isVueInspectorDetected,async()=>{var n,i,o;return!!await((o=(i=(n=ft)==null?void 0:n.api)==null?void 0:i.getVueInspector)==null?void 0:o.call(i))}),r.on(Ct.enableVueInspector,async()=>{var n,i,o;const a=await((o=(i=(n=ft)==null?void 0:n.api)==null?void 0:i.getVueInspector)==null?void 0:o.call(i));a&&await a.enable()}),r.on(Ct.routeMatched,n=>{var i,o;const a=console.warn;console.warn=()=>{};const s=(o=(i=ft.context.router)==null?void 0:i.resolve({path:n||"/"}).matched)!=null?o:[];return console.warn=a,JSON.stringify(s)}),r.on(Ct.toggleApp,async n=>(await ft.api.toggleApp(n),JSON.stringify({})));function e(){var n,i,o;t.emit("devtools-state:updated",JSON.stringify({vueVersion:((i=(n=ft.state)==null?void 0:n.activeAppRecord)==null?void 0:i.version)||"",connected:!0,clientConnected:ft.state.clientConnected,activeAppRecordId:(o=ft.state)==null?void 0:o.activeAppRecordId,appRecords:ft.state.appRecords.map(a=>({id:a.id,name:a.name,version:a.version,routerId:a.routerId,moduleDetectives:a.moduleDetectives}))})),ft.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}))}),ft.api.on.customTabsUpdated(a=>{t.emit("custom-tabs:updated",JSON.stringify(a))}),ft.api.on.customCommandsUpdated(a=>{t.emit("custom-commands:updated",JSON.stringify(a))}),ft.api.on.routerInfoUpdated(a=>{t.emit("router-info:updated",JSON.stringify(a))}),ft.api.on.sendInspectorTree(a=>{t.emit("inspector-tree:send",a)}),ft.api.on.sendInspectorState(a=>{t.emit("inspector-state:send",a)}),ft.api.on.addTimelineEvent(a=>{t.emit("timeline:add-event",Nu(a))})}t.on("user-app:connected",()=>{e()}),w4&&window.addEventListener("message",n=>{const i=n.data;i.target==="vue-devtools"&&i.event==="toggle-app-record"&&e()})}function o8(t,r){t==="devtools"?gne(r):une(r.bridge)}function cne(){const t=W(!1),r=W(!1),e=W(0),n=W(""),i=W([]),o=W([]),a=W(!1),s=W([]),l=W("");function g(){np.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}),np.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 dne(t){const r=W(t);function e(n){r.value=n}return{bridge:r,restore:e}}var a8=Symbol("VueDevToolsBridgeSymbol"),s8=Symbol("VueDevToolsStateSymbol");function hne(t){return{install(r,e){const{bridge:n,viewMode:i}=t,o=W(i),a=cne(),s=dne(n);a.init(),r.provide(a8,s.bridge),r.provide(s8,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 f2(){return Er(a8)}function pn(){return np}function Ki(){return Er(s8)}var Ane=class{constructor(t){this.socket=t}},l8=class extends Ane{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 Mu=typeof window<"u";function fne(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const or=Object.assign;function Mb(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 kh=()=>{},po=Array.isArray,Cne=/\/$/,Ine=t=>t.replace(Cne,"");function Bb(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=yne(n??r,e),{fullPath:n+(o&&"?")+o+a,path:n,query:i,hash:a}}function vne(t,r){const e=r.query?t(r.query):"";return r.path+(e&&"?")+e+(r.hash||"")}function pne(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])&&g8(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 g8(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const e in t)if(!mne(t[e],r[e]))return!1;return!0}function mne(t,r){return po(t)?Lx(t,r):po(r)?Lx(r,t):t===r}function Lx(t,r){return po(r)?t.length===r.length&&t.every((e,n)=>e===r[n]):t.length===1&&t[0]===r}function yne(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 sA;(function(t){t.pop="pop",t.push="push"})(sA||(sA={}));var ip;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ip||(ip={}));const Fb="";function bne(t){if(!t)if(Mu){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Ine(t)}const $ne=/^[^#]+#/;function wne(t,r){return t.replace($ne,"#")+r}function _ne(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 Ene=()=>({left:window.pageXOffset,top:window.pageYOffset});function Sne(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=_ne(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 zx(t,r){return(history.state?history.state.position-r:-1)+t}const r_=new Map;function Tne(t,r){r_.set(t,r)}function One(t){const r=r_.get(t);return r_.delete(t),r}function kne(t=""){let r=[],e=[Fb],n=0;t=bne(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:sA.pop};for(const d of r)d(s,l,c)}const a={location:Fb,state:{},base:t,createHref:wne.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=[Fb],n=0},go(s,l=!0){const g=this.location,u=s<0?ip.back:ip.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 xne(t){return typeof t=="string"||t&&typeof t=="object"}function u8(t){return typeof t=="string"||typeof t=="symbol"}const ts={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},c8=Symbol("");var jx;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(jx||(jx={}));function Oc(t,r){return or(new Error,{type:t,[c8]:!0},r)}function ha(t,r){return t instanceof Error&&c8 in t&&(r==null||!!(t.type&r))}const Vx="[^/]+?",Pne={sensitive:!1,strict:!1,start:!0,end:!0},Rne=/[.+*?^${}()[\]/\\]/g;function Dne(t,r){const e=or({},Pne,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(Rne,"\\$&"),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||Vx;if(v!==Vx){h+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${A}" (${v}): `+y.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 Nne(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 Mne(t,r){let e=0;const n=t.score,i=r.score;for(;e<n.length&&e<i.length;){const o=Nne(n[e],i[e]);if(o)return o;e++}if(Math.abs(i.length-n.length)===1){if(Gx(n))return 1;if(Gx(i))return-1}return i.length-n.length}function Gx(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const Bne={type:0,value:""},Fne=/[a-zA-Z0-9_]/;function Lne(t){if(!t)return[[]];if(t==="/")return[[Bne]];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:Fne.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 zne(t,r,e){const n=Dne(Lne(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 jne(t,r){const e=[],n=new Map;r=Ux({strict:!1,end:!0,sensitive:!1},r);function i(u){return n.get(u)}function o(u,c,d){const h=!d,A=Vne(u);A.aliasOf=d&&d.record;const f=Ux(r,u),C=[A];if("alias"in u){const p=typeof u.alias=="string"?[u.alias]:u.alias;for(const y of p)C.push(or({},A,{components:d?d.record.components:A.components,path:y,aliasOf:d?d.record:A}))}let I,v;for(const p of C){const{path:y}=p;if(c&&y[0]!=="/"){const b=c.record.path,S=b[b.length-1]==="/"?"":"/";p.path=c.record.path+(y&&S+y)}if(I=zne(p,c,f),d?d.alias.push(I):(v=v||I,v!==I&&v.alias.push(I),h&&u.name&&!Hx(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)}:kh}function a(u){if(u8(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&&Mne(u,e[c])>=0&&(u.record.path!==e[c].record.path||!d8(u,e[c]));)c++;e.splice(c,0,u),u.record.name&&!Hx(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(Wx(c.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&Wx(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:Wne(C)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:g,removeRoute:a,getRoutes:s,getRecordMatcher:i}}function Wx(t,r){const e={};for(const n of r)n in t&&(e[n]=t[n]);return e}function Vne(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Gne(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 Gne(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 Hx(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Wne(t){return t.reduce((r,e)=>or(r,e.meta),{})}function Ux(t,r){const e={};for(const n in t)e[n]=n in r?r[n]:t[n];return e}function d8(t,r){return r.children.some(e=>e===t||d8(t,e))}const h8=/#/g,Hne=/&/g,Une=/\//g,Zne=/=/g,Kne=/\?/g,A8=/\+/g,Yne=/%5B/g,Xne=/%5D/g,f8=/%5E/g,Qne=/%60/g,C8=/%7B/g,qne=/%7C/g,I8=/%7D/g,Jne=/%20/g;function C2(t){return encodeURI(""+t).replace(qne,"|").replace(Yne,"[").replace(Xne,"]")}function eie(t){return C2(t).replace(C8,"{").replace(I8,"}").replace(f8,"^")}function n_(t){return C2(t).replace(A8,"%2B").replace(Jne,"+").replace(h8,"%23").replace(Hne,"%26").replace(Qne,"`").replace(C8,"{").replace(I8,"}").replace(f8,"^")}function tie(t){return n_(t).replace(Zne,"%3D")}function rie(t){return C2(t).replace(h8,"%23").replace(Kne,"%3F")}function nie(t){return t==null?"":rie(t).replace(Une,"%2F")}function op(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function iie(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(A8," "),a=o.indexOf("="),s=op(a<0?o:o.slice(0,a)),l=a<0?null:op(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 Zx(t){let r="";for(let e in t){const n=t[e];if(e=tie(e),n==null){n!==void 0&&(r+=(r.length?"&":"")+e);continue}(po(n)?n.map(o=>o&&n_(o)):[n&&n_(n)]).forEach(o=>{o!==void 0&&(r+=(r.length?"&":"")+e,o!=null&&(r+="="+o))})}return r}function oie(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 aie=Symbol(""),Kx=Symbol(""),xm=Symbol(""),I2=Symbol(""),i_=Symbol("");function rh(){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):xne(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 Lb(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(sie(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=fne(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 sie(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Yx(t){const r=Er(xm),e=Er(I2),n=X(()=>r.resolve(m(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=Xx(l[g-2]);return g>1&&Xx(u)===h&&c[c.length-1].path!==h?c.findIndex(Tc.bind(null,l[g-2])):d}),o=X(()=>i.value>-1&&uie(e.params,n.value.params)),a=X(()=>i.value>-1&&i.value===e.matched.length-1&&g8(e.params,n.value.params));function s(l={}){return gie(l)?r[m(t.replace)?"replace":"push"](m(t.to)).catch(kh):Promise.resolve()}return{route:n,href:X(()=>n.value.href),isActive:o,isExactActive:a,navigate:s}}const lie=$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:Yx,setup(t,{slots:r}){const e=Ys(Yx(t)),{options:n}=Er(xm),i=X(()=>({[Qx(t.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[Qx(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const o=r.default&&r.default(e);return t.custom?o:ld("a",{"aria-current":e.isExactActive?t.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:i.value},o)}}}),v8=lie;function gie(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 uie(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 Xx(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Qx=(t,r,e)=>t??r??e,cie=$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(i_),i=X(()=>t.route||n.value),o=Er(Kx,0),a=X(()=>{let g=m(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(Kx,X(()=>a.value+1)),pa(aie,s),pa(i_,i);const l=W();return tt(()=>[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 qx(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=ld(d,or({},A,r,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(c.instances[u]=null)},ref:l}));return qx(e.default,{Component:C,route:g})||C}}});function qx(t,r){if(!t)return null;const e=t(r);return e.length===1?e[0]:e}const die=cie;function hie(t){const r=jne(t.routes,t),e=t.parseQuery||iie,n=t.stringifyQuery||Zx,i=t.history,o=rh(),a=rh(),s=rh(),l=oa(ts);let g=ts;Mu&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mb.bind(null,U=>""+U),c=Mb.bind(null,nie),d=Mb.bind(null,op);function h(U,ie){let M,D;return u8(U)?(M=r.getRecordMatcher(U),D=ie):D=U,r.addRoute(D,M)}function A(U){const ie=r.getRecordMatcher(U);ie&&r.removeRoute(ie)}function f(){return r.getRoutes().map(U=>U.record)}function C(U){return!!r.getRecordMatcher(U)}function I(U,ie){if(ie=or({},ie||l.value),typeof U=="string"){const x=Bb(e,U,ie.path),j=r.resolve({path:x.path},ie),Z=i.createHref(x.fullPath);return or(x,j,{params:d(j.params),hash:op(x.hash),redirectedFrom:void 0,href:Z})}let M;if("path"in U)M=or({},U,{path:Bb(e,U.path,ie.path).path});else{const x=or({},U.params);for(const j in x)x[j]==null&&delete x[j];M=or({},U,{params:c(x)}),ie.params=c(ie.params)}const D=r.resolve(M,ie),B=U.hash||"";D.params=u(d(D.params));const $=vne(n,or({},U,{hash:eie(B),path:D.path})),E=i.createHref($);return or({fullPath:$,hash:B,query:n===Zx?oie(U.query):U.query||{}},D,{redirectedFrom:void 0,href:E})}function v(U){return typeof U=="string"?Bb(e,U,l.value.path):or({},U)}function p(U,ie){if(g!==U)return Oc(8,{from:ie,to:U})}function y(U){return N(U)}function b(U){return y(or(v(U),{replace:!0}))}function S(U){const ie=U.matched[U.matched.length-1];if(ie&&ie.redirect){const{redirect:M}=ie;let D=typeof M=="function"?M(U):M;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=v(D):{path:D},D.params={}),or({query:U.query,hash:U.hash,params:"path"in D?{}:U.params},D)}}function N(U,ie){const M=g=I(U),D=l.value,B=U.state,$=U.force,E=U.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!$&&pne(n,D,M)&&(Z=Oc(16,{to:j,from:D}),Fe(D,D,!0,!1)),(Z?Promise.resolve(Z):O(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(U,ie){const M=p(U,ie);return M?Promise.reject(M):Promise.resolve()}function _(U){const ie=Ge.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(U):U()}function O(U,ie){let M;const[D,B,$]=Aie(U,ie);M=Lb(D.reverse(),"beforeRouteLeave",U,ie);for(const x of D)x.leaveGuards.forEach(j=>{M.push(Cs(j,U,ie))});const E=k.bind(null,U,ie);return M.push(E),ht(M).then(()=>{M=[];for(const x of o.list())M.push(Cs(x,U,ie));return M.push(E),ht(M)}).then(()=>{M=Lb(B,"beforeRouteUpdate",U,ie);for(const x of B)x.updateGuards.forEach(j=>{M.push(Cs(j,U,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,U,ie));else M.push(Cs(x.beforeEnter,U,ie));return M.push(E),ht(M)}).then(()=>(U.matched.forEach(x=>x.enterCallbacks={}),M=Lb($,"beforeRouteEnter",U,ie),M.push(E),ht(M))).then(()=>{M=[];for(const x of a.list())M.push(Cs(x,U,ie));return M.push(E),ht(M)}).catch(x=>ha(x,8)?x:Promise.reject(x))}function P(U,ie,M){s.list().forEach(D=>_(()=>D(U,ie,M)))}function R(U,ie,M,D,B){const $=p(U,ie);if($)return $;const E=ie===ts,x=Mu?history.state:{};M&&(D||E?i.replace(U.fullPath,or({scroll:E&&x&&x.scroll},B)):i.push(U.fullPath,B)),l.value=U,Fe(U,ie,M,E),We()}let L;function te(){L||(L=i.listen((U,ie,M)=>{if(!it.listening)return;const D=I(U),B=S(D);if(B){N(or(B,{replace:!0}),D).catch(kh);return}g=D;const $=l.value;Mu&&Tne(zx($.fullPath,M.delta),Ene()),O(D,$).catch(E=>ha(E,12)?E:ha(E,2)?(N(E.to,D).then(x=>{ha(x,20)&&!M.delta&&M.type===sA.pop&&i.go(-1,!1)}).catch(kh),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===sA.pop&&ha(E,20)&&i.go(-1,!1)),P(D,$,E)}).catch(kh)}))}let H=rh(),V=rh(),Q;function Ie(U,ie,M){We(U);const D=V.list();return D.length?D.forEach(B=>B(U,ie,M)):console.error(U),Promise.reject(U)}function Re(){return Q&&l.value!==ts?Promise.resolve():new Promise((U,ie)=>{H.add([U,ie])})}function We(U){return Q||(Q=!U,te(),H.list().forEach(([ie,M])=>U?M(U):ie()),H.reset()),U}function Fe(U,ie,M,D){const{scrollBehavior:B}=t;if(!Mu||!B)return Promise.resolve();const $=!M&&One(zx(U.fullPath,0))||(D||!M)&&history.state&&history.state.scroll||null;return _n().then(()=>B(U,ie,$)).then(E=>E&&Sne(E)).catch(E=>Ie(E,U,ie))}const ye=U=>i.go(U);let je;const Ge=new Set,it={currentRoute:l,listening:!0,addRoute:h,removeRoute:A,hasRoute:C,getRoutes:f,resolve:I,options:t,push:y,replace:b,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:V.add,isReady:Re,install(U){const ie=this;U.component("RouterLink",v8),U.component("RouterView",die),U.config.globalProperties.$router=ie,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>m(l)}),Mu&&!je&&l.value===ts&&(je=!0,y(i.location).catch(B=>{}));const M={};for(const B in ts)Object.defineProperty(M,B,{get:()=>l.value[B],enumerable:!0});U.provide(xm,ie),U.provide(I2,KS(M)),U.provide(i_,l);const D=U.unmount;Ge.add(U),U.unmount=function(){Ge.delete(U),Ge.size<1&&(g=ts,L&&L(),L=null,l.value=ts,je=!1,Q=!1),D()}}};function ht(U){return U.reduce((ie,M)=>ie.then(()=>_(M)),Promise.resolve())}return it}function Aie(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 gd(){return Er(xm)}function Pm(){return Er(I2)}const fie="modulepreload",Cie=function(t,r){return new URL(t,r).href},Jx={},yn=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=Cie(a,n),a in Jx)return;Jx[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":fie,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 Iie(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 yn(()=>import(e),__vite__mapDeps([]),import.meta.url)}catch{r&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}const vie=["src","alt"],pie=["title"],XA=$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?:/))?(T(),F("img",bn({key:0,style:{width:"1em",height:"1em"}},r.$attrs,{src:r.icon,alt:r.title}),null,16,vie)):(T(),F("div",bn({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,pie))}}),mie=["top","right","bottom","left"],eP=["start","end"],tP=mie.reduce((t,r)=>t.concat(r,r+"-"+eP[0],r+"-"+eP[1]),[]),lA=Math.min,Fl=Math.max,yie={left:"right",right:"left",bottom:"top",top:"bottom"},bie={start:"end",end:"start"};function o_(t,r,e){return Fl(t,lA(r,e))}function Gg(t,r){return typeof t=="function"?t(r):t}function ta(t){return t.split("-")[0]}function Io(t){return t.split("-")[1]}function p8(t){return t==="x"?"y":"x"}function v2(t){return t==="y"?"height":"width"}function QA(t){return["top","bottom"].includes(ta(t))?"y":"x"}function p2(t){return p8(QA(t))}function m8(t,r,e){e===void 0&&(e=!1);const n=Io(t),i=p2(t),o=v2(i);let a=i==="x"?n===(e?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[o]>r.floating[o]&&(a=sp(a)),[a,sp(a)]}function $ie(t){const r=sp(t);return[ap(t),r,ap(r)]}function ap(t){return t.replace(/start|end/g,r=>bie[r])}function wie(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 _ie(t,r,e,n){const i=Io(t);let o=wie(ta(t),e==="start",n);return i&&(o=o.map(a=>a+"-"+i),r&&(o=o.concat(o.map(ap)))),o}function sp(t){return t.replace(/left|right|bottom|top/g,r=>yie[r])}function Eie(t){return{top:0,right:0,bottom:0,left:0,...t}}function y8(t){return typeof t!="number"?Eie(t):{top:t,right:t,bottom:t,left:t}}function xh(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function rP(t,r,e){let{reference:n,floating:i}=t;const o=QA(r),a=p2(r),s=v2(a),l=ta(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(Io(r)){case"start":h[a]-=d*(e&&g?-1:1);break;case"end":h[a]+=d*(e&&g?-1:1);break}return h}const Sie=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}=rP(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:y,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],...y}},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}=rP(g,d,l)),f=-1;continue}}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};async function Rm(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}=Gg(r,t),A=y8(h),C=s[d?c==="floating"?"reference":"floating":c],I=xh(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)),y=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=xh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:p,strategy:l}):v);return{top:(I.top-b.top+A.top)/y.y,bottom:(b.bottom-I.bottom+A.bottom)/y.y,left:(I.left-b.left+A.left)/y.x,right:(b.right-I.right+A.right)/y.x}}const Tie=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}=Gg(t,r)||{};if(l==null)return{};const u=y8(g),c={x:e,y:n},d=p2(i),h=v2(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],y=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-y/2,k=S/2-A[h]/2-1,_=lA(u[C],k),O=lA(u[I],k),P=_,R=S-A[h]-O,L=S/2-A[h]/2+N,te=o_(P,L,R),V=Io(i)!=null&&L!=te&&o.reference[h]/2-(L<P?_:O)-A[h]/2<0?L<P?P-L:R-L:0;return{[d]:c[d]-V,data:{[d]:te,centerOffset:L-te+V}}}});function Oie(t,r,e){return(t?[...e.filter(i=>Io(i)===t),...e.filter(i=>Io(i)!==t)]:e.filter(i=>ta(i)===i)).filter(i=>t?Io(i)===t||(r?ap(i)!==i:!1):!0)}const kie=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=tP,autoAlignment:h=!0,...A}=Gg(t,r),f=c!==void 0||d===tP?Oie(c||null,h,d):d,C=await Rm(r,A),I=((e=a.autoPlacement)==null?void 0:e.index)||0,v=f[I];if(v==null)return{};const p=m8(v,o,await(l.isRTL==null?void 0:l.isRTL(g.floating)));if(s!==v)return{reset:{placement:f[0]}};const y=[C[ta(v)],C[p[0]],C[p[1]]],b=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:v,overflows:y}],S=f[I+1];if(S)return{data:{index:I+1,overflows:b},reset:{placement:S}};const N=b.map(O=>{const P=Io(O.placement);return[O.placement,P&&u?O.overflows.slice(0,2).reduce((R,L)=>R+L,0):O.overflows[0],O.overflows]}).sort((O,P)=>O[1]-P[1]),_=((i=N.filter(O=>O[2].slice(0,Io(O[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:_}}:{}}}},xie=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}=Gg(t,r),C=ta(n),I=ta(a)===a,v=await(s.isRTL==null?void 0:s.isRTL(l.floating)),p=c||(I||!A?[sp(a)]:$ie(a));!c&&h!=="none"&&p.push(..._ie(a,A,h,v));const y=[a,...p],b=await Rm(r,f),S=[];let N=((e=i.flip)==null?void 0:e.overflows)||[];if(g&&S.push(b[C]),u){const P=m8(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=y[P];if(R)return{data:{index:P,overflows:N},reset:{placement:R}};let L=(_=N.filter(te=>te.overflows[0]<=0).sort((te,H)=>te.overflows[1]-H.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(d){case"bestFit":{var O;const te=(O=N.map(H=>[H.placement,H.overflows.filter(V=>V>0).reduce((V,Q)=>V+Q,0)]).sort((H,V)=>H[1]-V[1])[0])==null?void 0:O[0];te&&(L=te);break}case"initialPlacement":L=a;break}if(n!==L)return{reset:{placement:L}}}return{}}}};async function Pie(t,r){const{placement:e,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=ta(e),s=Io(e),l=QA(e)==="y",g=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,c=Gg(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 Rie=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:e,y:n}=r,i=await Pie(r,t);return{x:e+i.x,y:n+i.y,data:i}}}},Die=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}=Gg(t,r),g={x:e,y:n},u=await Rm(r,l),c=QA(ta(i)),d=p8(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=o_(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=o_(v,A,p)}const f=s.fn({...r,[d]:h,[c]:A});return{...f,data:{x:f.x-e,y:f.y-n}}}}},Nie=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}=Gg(t,r),l=await Rm(r,s),g=ta(e),u=Io(e),c=QA(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,y=I;if(c){const S=d-l.left-l.right;y=u||v?lA(I,S):S}else{const S=h-l.top-l.bottom;p=u||v?lA(C,S):S}if(v&&!u){const S=Fl(l.left,0),N=Fl(l.right,0),k=Fl(l.top,0),_=Fl(l.bottom,0);c?y=d-2*(S!==0||N!==0?S+N:Fl(l.left,l.right)):p=h-2*(k!==0||_!==0?k+_:Fl(l.top,l.bottom))}await a({...r,availableWidth:y,availableHeight:p});const b=await i.getDimensions(o.floating);return d!==b.width||h!==b.height?{reset:{rects:!0}}:{}}}};function zi(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Ho(t){return zi(t).getComputedStyle(t)}const nP=Math.min,Ph=Math.max,lp=Math.round;function b8(t){const r=Ho(t);let e=parseFloat(r.width),n=parseFloat(r.height);const i=t.offsetWidth,o=t.offsetHeight,a=lp(e)!==i||lp(n)!==o;return a&&(e=i,n=o),{width:e,height:n,fallback:a}}function el(t){return w8(t)?(t.nodeName||"").toLowerCase():""}let DC;function $8(){if(DC)return DC;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(DC=t.brands.map(r=>r.brand+"/"+r.version).join(" "),DC):navigator.userAgent}function Uo(t){return t instanceof zi(t).HTMLElement}function xs(t){return t instanceof zi(t).Element}function w8(t){return t instanceof zi(t).Node}function iP(t){return typeof ShadowRoot>"u"?!1:t instanceof zi(t).ShadowRoot||t instanceof ShadowRoot}function Dm(t){const{overflow:r,overflowX:e,overflowY:n,display:i}=Ho(t);return/auto|scroll|overlay|hidden|clip/.test(r+n+e)&&!["inline","contents"].includes(i)}function Mie(t){return["table","td","th"].includes(el(t))}function a_(t){const r=/firefox/i.test($8()),e=Ho(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 _8(){return!/^((?!chrome|android).)*safari/i.test($8())}function m2(t){return["html","body","#document"].includes(el(t))}function E8(t){return xs(t)?t:t.contextElement}const S8={x:1,y:1};function gc(t){const r=E8(t);if(!Uo(r))return S8;const e=r.getBoundingClientRect(),{width:n,height:i,fallback:o}=b8(r);let a=(o?lp(e.width):e.width)/n,s=(o?lp(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function gA(t,r,e,n){var i,o;r===void 0&&(r=!1),e===void 0&&(e=!1);const a=t.getBoundingClientRect(),s=E8(t);let l=S8;r&&(n?xs(n)&&(l=gc(n)):l=gc(t));const g=s?zi(s):window,u=!_8()&&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=zi(s),C=n&&xs(n)?zi(n):n;let I=f.frameElement;for(;I&&n&&C!==f;){const v=gc(I),p=I.getBoundingClientRect(),y=getComputedStyle(I);p.x+=(I.clientLeft+parseFloat(y.paddingLeft))*v.x,p.y+=(I.clientTop+parseFloat(y.paddingTop))*v.y,c*=v.x,d*=v.y,h*=v.x,A*=v.y,c+=p.x,d+=p.y,I=zi(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((w8(t)?t.ownerDocument:t.document)||window.document).documentElement}function Nm(t){return xs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function T8(t){return gA(Ps(t)).left+Nm(t).scrollLeft}function uA(t){if(el(t)==="html")return t;const r=t.assignedSlot||t.parentNode||iP(t)&&t.host||Ps(t);return iP(r)?r.host:r}function O8(t){const r=uA(t);return m2(r)?r.ownerDocument.body:Uo(r)&&Dm(r)?r:O8(r)}function gp(t,r){var e;r===void 0&&(r=[]);const n=O8(t),i=n===((e=t.ownerDocument)==null?void 0:e.body),o=zi(n);return i?r.concat(o,o.visualViewport||[],Dm(n)?n:[]):r.concat(n,gp(n))}function oP(t,r,e){return r==="viewport"?xh(function(n,i){const o=zi(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=_8();(d||!d&&i==="fixed")&&(u=s.offsetLeft,c=s.offsetTop)}return{width:l,height:g,x:u,y:c}}(t,e)):xs(r)?xh(function(n,i){const o=gA(n,!0,i==="fixed"),a=o.top+n.clientTop,s=o.left+n.clientLeft,l=Uo(n)?gc(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)):xh(function(n){const i=Ps(n),o=Nm(n),a=n.ownerDocument.body,s=Ph(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),l=Ph(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let g=-o.scrollLeft+T8(n);const u=-o.scrollTop;return Ho(a).direction==="rtl"&&(g+=Ph(i.clientWidth,a.clientWidth)-s),{width:s,height:l,x:g,y:u}}(Ps(t)))}function aP(t){return Uo(t)&&Ho(t).position!=="fixed"?t.offsetParent:null}function sP(t){const r=zi(t);let e=aP(t);for(;e&&Mie(e)&&Ho(e).position==="static";)e=aP(e);return e&&(el(e)==="html"||el(e)==="body"&&Ho(e).position==="static"&&!a_(e))?r:e||function(n){let i=uA(n);for(;Uo(i)&&!m2(i);){if(a_(i))return i;i=uA(i)}return null}(t)||r}function Bie(t,r,e){const n=Uo(r),i=Ps(r),o=gA(t,!0,e==="fixed",r);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&e!=="fixed")if((el(r)!=="body"||Dm(i))&&(a=Nm(r)),Uo(r)){const l=gA(r,!0);s.x=l.x+r.clientLeft,s.y=l.y+r.clientTop}else i&&(s.x=T8(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}const Fie={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=gp(g).filter(C=>xs(C)&&el(C)!=="body"),h=null;const A=Ho(g).position==="fixed";let f=A?uA(g):g;for(;xs(f)&&!m2(f);){const C=Ho(f),I=a_(f);(A?I||h:I||C.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=C:d=d.filter(v=>v!==f),f=uA(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=oP(r,u,i);return g.top=Ph(c.top,g.top),g.right=nP(c.right,g.right),g.bottom=nP(c.bottom,g.bottom),g.left=Ph(c.left,g.left),g},oP(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=Uo(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")&&((el(e)!=="body"||Dm(o))&&(a=Nm(e)),Uo(e))){const g=gA(e);s=gc(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 Uo(t)?b8(t):t.getBoundingClientRect()},getOffsetParent:sP,getDocumentElement:Ps,getScale:gc,async getElementRects(t){let{reference:r,floating:e,strategy:n}=t;const i=this.getOffsetParent||sP,o=this.getDimensions;return{reference:Bie(r,await i(e),n),floating:{x:0,y:0,...await o(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Ho(t).direction==="rtl"},Lie=(t,r,e)=>{const n=new Map,i={platform:Fie,...e},o={...i.platform,_c:n};return Sie(t,r,{...i,platform:o})},ig={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 cA(t,r){let e=ig.themes[t]||{},n;do n=e[r],typeof n>"u"?e.$extend?e=ig.themes[e.$extend]||{}:(e=null,n=ig[r]):e=null;while(e);return n}function zie(t){const r=[t];let e=ig.themes[t]||{};do e.$extend&&!e.$resetCss?(r.push(e.$extend),e=ig.themes[e.$extend]||{}):e=null;while(e);return r.map(n=>`v-popper--theme-${n}`)}function lP(t){const r=[t];let e=ig.themes[t]||{};do e.$extend?(r.push(e.$extend),e=ig.themes[e.$extend]||{}):e=null;while(e);return r}let $g=!1;if(typeof window<"u"){$g=!1;try{const t=Object.defineProperty({},"passive",{get(){$g=!0}});window.addEventListener("test",null,t)}catch{}}let k8=!1;typeof window<"u"&&typeof navigator<"u"&&(k8=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const x8=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),gP={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},uP={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function cP(t,r){const e=t.indexOf(r);e!==-1&&t.splice(e,1)}function zb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const go=[];let Dl=null;const dP={};function hP(t){let r=dP[t];return r||(r=dP[t]=[]),r}let s_=function(){};typeof window<"u"&&(s_=window.Element);function yt(t){return function(r){return cA(r.theme,t)}}const jb="__floating-vue__popper",P8=()=>$e({name:"VPopper",provide(){return{[jb]:{parentPopper:this}}},inject:{[jb]:{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:yt("disabled")},positioningDisabled:{type:Boolean,default:yt("positioningDisabled")},placement:{type:String,default:yt("placement"),validator:t=>x8.includes(t)},delay:{type:[String,Number,Object],default:yt("delay")},distance:{type:[Number,String],default:yt("distance")},skidding:{type:[Number,String],default:yt("skidding")},triggers:{type:Array,default:yt("triggers")},showTriggers:{type:[Array,Function],default:yt("showTriggers")},hideTriggers:{type:[Array,Function],default:yt("hideTriggers")},popperTriggers:{type:Array,default:yt("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:yt("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:yt("popperHideTriggers")},container:{type:[String,Object,s_,Boolean],default:yt("container")},boundary:{type:[String,s_],default:yt("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:yt("strategy")},autoHide:{type:[Boolean,Function],default:yt("autoHide")},handleResize:{type:Boolean,default:yt("handleResize")},instantMove:{type:Boolean,default:yt("instantMove")},eagerMount:{type:Boolean,default:yt("eagerMount")},popperClass:{type:[String,Array,Object],default:yt("popperClass")},computeTransformOrigin:{type:Boolean,default:yt("computeTransformOrigin")},autoMinSize:{type:Boolean,default:yt("autoMinSize")},autoSize:{type:[Boolean,String],default:yt("autoSize")},autoMaxSize:{type:Boolean,default:yt("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:yt("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:yt("preventOverflow")},overflowPadding:{type:[Number,String],default:yt("overflowPadding")},arrowPadding:{type:[Number,String],default:yt("arrowPadding")},arrowOverflow:{type:Boolean,default:yt("arrowOverflow")},flip:{type:Boolean,default:yt("flip")},shift:{type:Boolean,default:yt("shift")},shiftCrossAxis:{type:Boolean,default:yt("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:yt("noAutoFocus")},disposeTimeout:{type:Number,default:yt("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[jb])==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(Rie({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(kie({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(Die({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(xie({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(Tie({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(Nie({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 Lie(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),Dl&&this.instantMove&&Dl.instantMove&&Dl!==this.parentPopper){Dl.$_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&&(Dl=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 zb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...gp(this.$_referenceNode),...gp(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<go.length;e++)r=go[e],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}go.push(this),document.body.classList.add("v-popper--some-open");for(const r of lP(this.theme))hP(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 zb(),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,cP(go,this),go.length===0&&document.body.classList.remove("v-popper--some-open");for(const e of lP(this.theme)){const n=hP(e);cP(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}Dl===this&&(Dl=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 zb(),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,gP,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],gP,this.popperTriggers,this.popperShowTriggers,t);const r=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,uP,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],uP,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,$g?{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(Rh>=t.left&&Rh<=t.right&&Dh>=t.top&&Dh<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),e=Rh-os,n=Dh-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 NC(os,as,o,a,r.left,r.top,r.left,r.bottom)||NC(os,as,o,a,r.left,r.top,r.right,r.top)||NC(os,as,o,a,r.right,r.top,r.right,r.bottom)||NC(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"&&(k8?(document.addEventListener("touchstart",AP,$g?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Vie,$g?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",AP,!0),window.addEventListener("click",jie,!0)),window.addEventListener("resize",Hie));function AP(t){for(let r=0;r<go.length;r++){const e=go[r];try{const n=e.popperNode();e.$_mouseDownContains=n.contains(t.target)}catch{}}}function jie(t){R8(t)}function Vie(t){R8(t,!0)}function R8(t,r=!1){const e={};for(let n=go.length-1;n>=0;n--){const i=go[n];try{const o=i.$_containsGlobalTarget=Gie(i,t);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!e[i.randomId]&&fP(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&&fP(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,r),a=a.parentPopper}})}catch{}}}function Gie(t,r){const e=t.popperNode();return t.$_mouseDownContains||e.contains(r.target)}function fP(t,r,e){return e.closeAllPopover||e.closePopover&&r||Wie(t,e)&&!r}function Wie(t,r){if(typeof t.autoHide=="function"){const e=t.autoHide(r);return t.lastAutoHide=e,e}return t.autoHide}function Hie(t){for(let r=0;r<go.length;r++)go[r].$_computePosition(t)}let os=0,as=0,Rh=0,Dh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{os=Rh,as=Dh,Rh=t.clientX,Dh=t.clientY},$g?{passive:!0}:void 0);function NC(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 Uie={extends:P8()},Mm=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e};function Zie(t,r,e,n,i,o){return T(),F("div",{ref:"reference",class:_e(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Xe(t.$slots,"default",WA(sd(t.slotData)))],2)}const Kie=Mm(Uie,[["render",Zie]]);function Yie(){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 l_(){l_.init||(l_.init=!0,gv=Yie()!==-1)}var Bm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){l_(),_n(()=>{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 Xie=oj();Im("data-v-b329ee4c");const Qie={class:"resize-observer",tabindex:"-1"};vm();const qie=Xie((t,r,e,n,i,o)=>(T(),re("div",Qie)));Bm.render=qie;Bm.__scopeId="data-v-b329ee4c";Bm.__file="src/components/ResizeObserver.vue";const D8=(t="theme")=>({computed:{themeClass(){return zie(this[t])}}}),Jie=$e({name:"VPopperContent",components:{ResizeObserver:Bm},mixins:[D8()],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}}}),eoe=["id","aria-hidden","tabindex","data-popper-placement"],toe={ref:"inner",class:"v-popper__inner"},roe=w("div",{class:"v-popper__arrow-outer"},null,-1),noe=w("div",{class:"v-popper__arrow-inner"},null,-1),ioe=[roe,noe];function ooe(t,r,e,n,i,o){const a=$i("ResizeObserver");return T(),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]=Dj(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",toe,[t.mounted?(T(),F(me,{key:0},[w("div",null,[Xe(t.$slots,"default")]),t.handleResize?(T(),re(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)},ioe,4)],4)],46,eoe)}const N8=Mm(Jie,[["render",ooe]]),M8={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)}}},aoe=$e({name:"VPopperWrapper",components:{Popper:Kie,PopperContent:N8},mixins:[M8,D8("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 soe(t,r,e,n,i,o){const a=$i("PopperContent"),s=$i("Popper");return T(),re(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 y2=Mm(aoe,[["render",soe]]),loe={...y2,name:"VDropdown",vPopperTheme:"dropdown"};({...y2});const goe={...y2,name:"VTooltip",vPopperTheme:"tooltip"},uoe=$e({name:"VTooltipDirective",components:{Popper:P8(),PopperContent:N8},mixins:[M8],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>cA(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>cA(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}}}),coe=["innerHTML"],doe=["textContent"];function hoe(t,r,e,n,i,o){const a=$i("PopperContent"),s=$i("Popper");return T(),re(s,bn({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?(T(),F("div",{key:0,innerHTML:t.finalContent},null,8,coe)):(T(),F("div",{key:1,textContent:we(t.finalContent)},null,8,doe))]),_: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 Aoe=Mm(uoe,[["render",hoe]]),B8="v-popper--has-tooltip";function foe(t,r){let e=t.placement;if(!e&&r)for(const n of x8)r[n]&&(e=n);return e||(e=cA(t.theme||"tooltip","placement")),e}function F8(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=foe(n,e),n.targetNodes=()=>[t],n.referenceNode=()=>t,n}let Vb,dA,Coe=0;function Ioe(){if(Vb)return;dA=W([]),Vb=g2({name:"VTooltipDirectiveApp",setup(){return{directives:dA}},render(){return this.directives.map(r=>ld(Aoe,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Vb.mount(t)}function voe(t,r,e){Ioe();const n=W(F8(t,r,e)),i=W(!1),o={id:Coe++,options:n,shown:i};return dA.value.push(o),t.classList&&t.classList.add(B8),t.$_popper={options:n,item:o,show(){i.value=!0},hide(){i.value=!1}}}function L8(t){if(t.$_popper){const r=dA.value.indexOf(t.$_popper.item);r!==-1&&dA.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(B8)}function CP(t,{value:r,modifiers:e}){const n=F8(t,r,e);if(!n.content||cA(n.theme||"tooltip","disabled"))L8(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=n):i=voe(t,r,e),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?i.show():i.hide())}}const poe={beforeMount:CP,updated:CP,beforeUnmount(t){L8(t)}};function IP(t){t.addEventListener("click",z8),t.addEventListener("touchstart",j8,$g?{passive:!0}:!1)}function vP(t){t.removeEventListener("click",z8),t.removeEventListener("touchstart",j8),t.removeEventListener("touchend",V8),t.removeEventListener("touchcancel",G8)}function z8(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function j8(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",V8),r.addEventListener("touchcancel",G8)}}function V8(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 G8(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const moe={beforeMount(t,{value:r,modifiers:e}){t.$_closePopoverModifiers=e,(typeof r>"u"||r)&&IP(t)},updated(t,{value:r,oldValue:e,modifiers:n}){t.$_closePopoverModifiers=n,r!==e&&(typeof r>"u"||r?IP(t):vP(t))},beforeUnmount(t){vP(t)}},Zo=poe,W8=moe,yoe=loe,boe=goe,b2=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},$oe={},woe={class:"h-3 w-3 $ui-inline-fcc"},_oe=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),Eoe=[_oe];function Soe(t,r){return T(),F("div",woe,Eoe)}const H8=b2($oe,[["render",Soe]]),Toe={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=FJ(),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=fj(),u=X(()=>e.flat?l.flat[e.type]:e.outlined?l.outlined[e.type]:l.normal[e.type]);return(c,d)=>(T(),re(Xs(o.value),bn(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?(T(),re(H8,{key:0,class:"mt0.5 h-full w3"})):Xe(c.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),m(g).default?(T(),F("div",Toe,[Xe(c.$slots,"default")])):be("",!0),Xe(c.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),Ooe={},koe={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function xoe(t,r){return T(),F("span",koe,[Xe(t.$slots,"default")])}const pP=b2(Ooe,[["render",xoe]]),Pt=$e({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(r,e)=>(T(),re(Xs(r.inline?"span":"div"),{class:_e(["$ui-base",[r.icon,r.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function Fm(t){return N4()?(M4(t),!0):!1}function Poe(t,r,{enumerable:e=!1,unwrap:n=!0}={}){for(const[i,o]of Object.entries(r))i!=="value"&&(Le(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 Wi(t){return typeof t=="function"?t():m(t)}const U8=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Roe=t=>typeof t<"u",Doe=Object.prototype.toString,Noe=t=>Doe.call(t)==="[object Object]",up=()=>{},mP=Moe();function Moe(){var t,r;return U8&&((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 Z8(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 K8=t=>t();function Boe(t,r={}){let e,n,i=up;const o=a=>{clearTimeout(a),i(),i=up};return a=>{const s=Wi(t),l=Wi(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 Foe(t=K8){const r=W(!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 Loe(t){return t||ll()}function Y8(...t){if(t.length!==1)return q4(...t);const r=t[0];return typeof r=="function"?Va(JS(()=>({get:r,set:up}))):W(r)}function zoe(t,r=200,e={}){return Z8(Boe(r,e),t)}function joe(t,r=200,e={}){const n=W(t.value),i=zoe(()=>{n.value=t.value},r,e);return tt(t,()=>i()),n}function Voe(t,r={}){let e=t,n,i;const o=JS((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 Poe(o,{get:a,set:s,untrackedGet:()=>a(!1),silentSet:l=>s(l,!1),peek:()=>a(!1),lay:l=>s(l,!1)},{enumerable:!0})}function Goe(t,r,e={}){const{eventFilter:n=K8,...i}=e;return tt(t,Z8(n,r),i)}function Woe(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=Foe(n);return{stop:Goe(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function $2(t,r=!0,e){Loe()?_i(t,e):r?t():_n(t)}function Hoe(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=Le(t),o=W(t);function a(s){if(arguments.length)return o.value=s,o.value;{const l=Wi(e);return o.value=o.value===l?Wi(n):l,o.value}}return i?a:[o,a]}function $s(t){var r;const e=Wi(t);return(r=e?.$el)!=null?r:e}const tl=U8?window:void 0;function cp(...t){let r,e,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,n,i]=t,r=tl):[r,e,n,i]=t,!r)return up;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=tt(()=>[$s(r),Wi(i)],([u,c])=>{if(a(),!u)return;const d=Noe(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return Fm(g),g}function Uoe(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function X8(...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=tl,eventName:o="keydown",passive:a=!1,dedupe:s=!1}=n,l=Uoe(r);return cp(i,o,g=>{g.repeat&&Wi(s)||l(g)&&e(g)},a)}function Zoe(){const t=W(!1);return ll()&&_i(()=>{t.value=!0}),t}function Q8(t){const r=Zoe();return X(()=>(r.value,!!t()))}function Koe(t,r={}){const{window:e=tl}=r,n=Q8(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=W(!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(Wi(t)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return Fm(()=>{l(),s(),i=void 0}),o}function Yoe(t){return JSON.parse(JSON.stringify(t))}const MC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},BC="__vueuse_ssr_handlers__",Xoe=Qoe();function Qoe(){return BC in MC||(MC[BC]=MC[BC]||{}),MC[BC]}function q8(t,r){return Xoe[t]||r}function qoe(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 Joe={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()}},yP="vueuse-storage";function eae(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=tl,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?oa:W)(typeof r=="function"?r():r);if(!e)try{e=q8("getDefaultStorage",()=>{var _;return(_=tl)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=Wi(r),I=qoe(C),v=(i=n.serializer)!=null?i:Joe[I],{pause:p,resume:y}=Woe(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&$2(()=>{cp(c,"storage",k),cp(c,yP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const O=v.write(_),P=e.getItem(t);P!==O&&(e.setItem(t,O),c&&c.dispatchEvent(new CustomEvent(yP,{detail:{key:t,oldValue:P,newValue:O,storageArea:e}})))}}catch(O){h(O)}}function S(_){const O=_?_.newValue:e.getItem(t);if(O==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(O);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof O!="string"?O:v.read(O)}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(O){h(O)}finally{_?_n(y):y()}}}}}function tae(t){return Koe("(prefers-color-scheme: dark)",t)}function rae(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=tl,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=tae({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?Y8(n):eae(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=q8("updateHTMLAttrs",(y,b,S)=>{const N=typeof y=="string"?i?.document.querySelector(y):$s(y);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(O=>(O||"").split(/\s/g)).filter(Boolean).forEach(O=>{_.includes(O)?N.classList.add(O):N.classList.remove(O)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(y){var b;C(r,e,(b=c[y])!=null?b:y)}function v(y){t.onChanged?t.onChanged(y,I):I(y)}tt(f,v,{flush:"post",immediate:!0}),$2(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(y){A.value=y}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function nae(t,r,e={}){const{window:n=tl,...i}=e;let o;const a=Q8(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>$s(c)):[$s(t)]),g=tt(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 Fm(u),{isSupported:a,stop:u}}function iae(t,r={width:0,height:0},e={}){const{window:n=tl,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=W(r.width),s=W(r.height),{stop:l}=nae(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);$2(()=>{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=tt(()=>$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 Gb(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function J8(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:J8(e)}}function oae(t){const r=t||window.event,e=r.target;return J8(e)?!1:r.touches.length>1?!0:(r.preventDefault&&r.preventDefault(),!1)}const FC=new WeakMap;function aae(t,r=!1){const e=W(r);let n=null,i;tt(Y8(t),s=>{const l=Gb(Wi(s));if(l){const g=l;FC.get(g)||FC.set(g,i),e.value&&(g.style.overflow="hidden")}},{immediate:!0});const o=()=>{const s=Gb(Wi(t));!s||e.value||(mP&&(n=cp(s,"touchmove",l=>{oae(l)},{passive:!1})),s.style.overflow="hidden",e.value=!0)},a=()=>{var s;const l=Gb(Wi(t));!l||!e.value||(mP&&n?.(),l.style.overflow=(s=FC.get(l))!=null?s:"",FC.delete(l),e.value=!1)};return Fm(a),X({get(){return e.value},set(s){s?o():a()}})}function Wg(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=ll(),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):Yoe(p):p,I=()=>Roe(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),y=W(p);let b=!1;return tt(()=>t[r],S=>{b||(b=!0,y.value=C(S),_n(()=>b=!1))}),tt(y,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),y}else return X({get(){return I()},set(p){v(p)}})}const sae={class:"$ui-dark-toggle-vtr"},e6=$e({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const r=t,e=Wg(r,"isDark"),n=rae({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 _n()}).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)=>(T(),F("span",sae,[Xe(s.$slots,"default",WA(sd({mode:m(n),isDark:i.value,toggle:a})))]))}}),lae={},gae={class:"$ui-base border $ui-border-base rounded shadow-sm"};function uae(t,r){return T(),F("div",gae,[Xe(t.$slots,"default")])}const uv=b2(lae,[["render",uae]]),w2=$e({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean}},setup(t){return(r,e)=>(T(),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))}}),cae={class:"h7.5 w-full $ui-fbc"},dae={class:"text-4.5"},hae=w("div",{class:"i-carbon-close"},null,-1),Aae=[hae],fae={class:"content transition-all transition-duration-300"},Cae={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},Iae={class:"$ui-fcc"},vae=$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=Wg(e,"modelValue",r,{passive:!0}),i=aae(()=>window.document.documentElement);Nn(()=>{n.value?i.value=!0:i.value=!1});function o(){n.value&&e.autoClose&&(n.value=!1)}X8("Escape",()=>{o()});const a=W(!1);return _i(()=>a.value=!0),(s,l)=>a.value||s.mountTo==="body"?(T(),re(_j,{key:0,to:s.mountTo},[z(KA,{"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(()=>[m(n)?(T(),re(w2,{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",cae,[w("div",dae,[Xe(s.$slots,"title",{},()=>[ke(we(e.title),1)])]),s.closable?(T(),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},Aae)):be("",!0)]),w("div",fae,[Xe(s.$slots,"default")]),w("div",Cae,[Xe(s.$slots,"footer",{},()=>[Xe(s.$slots,"footer",{},()=>[w("div",Iae,[z(ot,{type:"primary",onClick:o},{default:G(()=>[ke(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur"])):be("",!0)]),_:3})],8,["to"])):be("",!0)}}),pae=["type","placeholder","disabled"],mae={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"},Wb="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=Wg(e,"modelValue",n),o=joe(X(()=>e.loading),e.loadingDebounceTime),a=Voe(!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=W();let u=!1;return Nn(()=>{o.value&&a.value?u=!0:!o.value&&u&&(u=!1,_n(()=>{a.value=!0}))}),_i(()=>{e.autoFocus&&(a.value=!0)}),Nn(()=>{var c;a.value&&((c=g.value)==null||c.focus())}),(c,d)=>(T(),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:m(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?(T(),F("div",{key:0,class:_e(Wb)},[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=>Le(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,pae),[[Wee,m(i)]]),m(o)?(T(),F("div",{key:1,class:_e(Wb)},[z(H8)])):c.rightIcon?(T(),F("div",{key:2,class:_e(Wb)},[z(Pt,{icon:c.rightIcon},null,8,["icon"])])):be("",!0),s.value?be("",!0):(T(),F("div",mae))],2))}}),yae={class:"overflow-hidden rounded-lg shadow-lg"},bae=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)=>(T(),re(m(yoe),{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",yae,[Xe(e.$slots,"popper",WA(sd({hide:i})),()=>[bae])])]),default:G(()=>[Xe(e.$slots,"default",{},()=>[z(ot,bn({...e.buttonProps,disabled:e.disabled},{class:e.buttonClass}),hj({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"]))}}),bP=$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((T(),re(ot,bn({...r,round:!1},{disabled:m(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"])),[[m(W8)]])}}),$ae={class:"$ui-fec gap2.5"},wae=$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=Wg(e,"modelValue",n);Nn(()=>{i.value||n("close")});function o(a=!1){(e.autoClose||a)&&(i.value=!1)}return(a,s)=>(T(),re(vae,{modelValue:m(i),"onUpdate:modelValue":s[2]||(s[2]=l=>Le(i)?i.value=l:null),width:a.width,height:a.height,title:a.title,closable:!1},{footer:G(()=>[w("div",$ae,[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"]))}}),_ae={class:"m1 min-w-35 w-auto flex flex-col"},Eae=["onClick"],Sae=w("div",{class:"i-mdi-chevron-down"},null,-1),dp=$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=fj(),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)=>(T(),re(kc,bn({label:a.value},{buttonProps:l.buttonProps,disabled:l.disabled}),hj({popper:G(()=>[w("div",_ae,[m(i).item?(T(!0),F(me,{key:0},vt(l.options,u=>(T(),F("div",{key:u.value,class:"cursor-pointer",onClick:c=>s(u)},[Xe(l.$slots,"item",WA(sd({item:u,active:l.multiple?o.value.includes(u.value):u.value===o.value,disabled:l.disabled})))],8,Eae))),128)):(T(!0),F(me,{key:1},vt(l.options,u=>rn((T(),re(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"])),[[m(W8),l.autoClose]])),128))])]),"button-icon-right":G(()=>[Sae]),_:2},[m(i).button?{name:"default",fn:G(()=>[Xe(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),$P=$e({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Wg(t,"modelValue",r),n=Hoe(e);return(i,o)=>(T(),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&&m(n)())},[Xe(i.$slots,"default"),w("div",{class:_e([{selected:m(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))}}),zu=$e({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Wg(t,"modelValue",r);return(n,i)=>(T(),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",[m(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=!m(e))},[w("div",{class:_e([[m(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))}}),t6=$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}=iae(()=>typeof e.top=="string"?document.querySelector(e.top):e.top,void 0,{box:"border-box"}),o=Wg(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%"}};X8("Escape",()=>{e.closable&&(o.value=!1)});const s=X(()=>a[e.placement]),l=W(!1);return _i(()=>l.value=!0),(g,u)=>l.value||g.mountTo==="body"?(T(),re(_j,{key:0,to:g.mountTo},[z(KA,{"enter-from-class":`${s.value.transition}`,"leave-to-class":`${s.value.transition}`},{default:G(()=>[m(o)?(T(),re(w2,{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":`${m(i)}px`,height:["top","bottom"].includes(g.placement)?"auto":`calc(100% - ${m(i)}px)`}),onClick:u[1]||(u[1]=wn(()=>{},["stop"]))},[g.closable?(T(),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)}}),Tae=$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=W(!1);_i(()=>{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)=>(T(),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(KA,{"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?(T(),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))}}),Oae=$e({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(r,e)=>(T(),re(m(boe),bn({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 g_(t){const r=document.createElement("div");r.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(r);const e=t.onClose;function n(){fx(null,r)}t.onClose=()=>{n(),e?.(),document.body.removeChild(r)};const i=ld(Tae,t);fx(i,r)}function Na(t){return Array.isArray?Array.isArray(t):i6(t)==="[object Array]"}const kae=1/0;function xae(t){if(typeof t=="string")return t;let r=t+"";return r=="0"&&1/t==-kae?"-0":r}function Pae(t){return t==null?"":xae(t)}function Lo(t){return typeof t=="string"}function r6(t){return typeof t=="number"}function Rae(t){return t===!0||t===!1||Dae(t)&&i6(t)=="[object Boolean]"}function n6(t){return typeof t=="object"}function Dae(t){return n6(t)&&t!==null}function pi(t){return t!=null}function Hb(t){return!t.trim().length}function i6(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Nae="Incorrect 'index' type",Mae=t=>`Invalid value for key ${t}`,Bae=t=>`Pattern length exceeds max of ${t}.`,Fae=t=>`Missing ${t} property in key`,Lae=t=>`Property 'weight' in key '${t}' must be a positive integer`,wP=Object.prototype.hasOwnProperty;class zae{constructor(r){this._keys=[],this._keyMap={};let e=0;r.forEach(n=>{let i=o6(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 o6(t){let r=null,e=null,n=null,i=1,o=null;if(Lo(t)||Na(t))n=t,r=_P(t),e=u_(t);else{if(!wP.call(t,"name"))throw new Error(Fae("name"));const a=t.name;if(n=a,wP.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Lae(a));r=_P(a),e=u_(a),o=t.getFn}return{path:r,id:e,weight:i,src:n,getFn:o}}function _P(t){return Na(t)?t:t.split(".")}function u_(t){return Na(t)?t.join("."):t}function jae(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&&(Lo(g)||r6(g)||Rae(g)))e.push(Pae(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,Lo(r)?r.split("."):r,0),n?e:e[0]}const Vae={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Gae={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},Wae={location:0,threshold:.6,distance:100},Hae={useExtendedSearch:!1,getFn:jae,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Je={...Gae,...Vae,...Wae,...Hae};const Uae=/[^ ]+/g;function Zae(t=1,r=3){const e=new Map,n=Math.pow(10,r);return{get(i){const o=i.match(Uae).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=Zae(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,Lo(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();Lo(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)||Hb(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(Lo(u)&&!Hb(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(Lo(a)&&!Hb(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 a6(t,r,{getFn:e=Je.getFn,fieldNormWeight:n=Je.fieldNormWeight}={}){const i=new _2({getFn:e,fieldNormWeight:n});return i.setKeys(t.map(o6)),i.setSources(r),i.create(),i}function Kae(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 LC(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 Yae(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 Wl=32;function Xae(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>Wl)throw new Error(Bae(Wl));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=LC(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,y=u+c;const b=1<<u-1;for(let N=0;N<u;N+=1){let k=0,_=y;for(;k<_;)LC(r,{errors:N,currentLocation:d+_,expectedLocation:d,distance:i,ignoreLocation:g})<=h?k=_:y=_,_=Math.floor((y-k)/2+k);y=_;let O=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>=O;te-=1){let H=te-1,V=e[t.charAt(H)];if(f&&(C[H]=+!!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=LC(r,{errors:N,currentLocation:H,expectedLocation:d,distance:i,ignoreLocation:g}),p<=h)){if(h=p,A=H,A<=d)break;O=Math.max(1,2*d-A)}}if(LC(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=Yae(C,s);N.length?l&&(S.indices=N):S.isMatch=!1}return S}function Qae(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 s6{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:Qae(d),startIndex:h})},c=this.pattern.length;if(c>Wl){let d=0;const h=c%Wl,A=c-h;for(;d<A;)u(this.pattern.substr(d,Wl),d),d+=Wl;if(h){const f=c-Wl;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}=Xae(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 cl{constructor(r){this.pattern=r}static isMultiMatch(r){return EP(r,this.multiRegex)}static isSingleMatch(r){return EP(r,this.singleRegex)}search(){}}function EP(t,r){const e=t.match(r);return e?e[1]:null}class qae extends cl{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 Jae extends cl{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 ese extends cl{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 tse extends cl{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 rse extends cl{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 nse extends cl{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 l6 extends cl{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 s6(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 g6 extends cl{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 c_=[qae,g6,ese,tse,nse,rse,Jae,l6],SP=c_.length,ise=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ose="|";function ase(t,r={}){return t.split(ose).map(e=>{let n=e.trim().split(ise).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<SP;){const u=c_[g];let c=u.isMultiMatch(s);c&&(i.push(new u(c,r)),l=!0)}if(!l)for(g=-1;++g<SP;){const u=c_[g];let c=u.isSingleMatch(s);if(c){i.push(new u(c,r));break}}}return i})}const sse=new Set([l6.type,g6.type]);class lse{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=ase(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;sse.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 d_=[];function gse(...t){d_.push(...t)}function h_(t,r){for(let e=0,n=d_.length;e<n;e+=1){let i=d_[e];if(i.condition(t,r))return new i(t,r)}return new s6(t,r)}const hp={AND:"$and",OR:"$or"},A_={PATH:"$path",PATTERN:"$val"},f_=t=>!!(t[hp.AND]||t[hp.OR]),use=t=>!!t[A_.PATH],cse=t=>!Na(t)&&n6(t)&&!f_(t),TP=t=>({[hp.AND]:Object.keys(t).map(r=>({[r]:t[r]}))});function u6(t,r,{auto:e=!0}={}){const n=i=>{let o=Object.keys(i);const a=use(i);if(!a&&o.length>1&&!f_(i))return n(TP(i));if(cse(i)){const l=a?i[A_.PATH]:o[0],g=a?i[A_.PATTERN]:i[l];if(!Lo(g))throw new Error(Mae(l));const u={keyId:u_(l),pattern:g};return e&&(u.searcher=h_(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 f_(t)||(t=TP(t)),n(t)}function dse(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 hse(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 Ase(t,r){r.score=t.score}function fse(t,r,{includeMatches:e=Je.includeMatches,includeScore:n=Je.includeScore}={}){const i=[];return e&&i.push(hse),n&&i.push(Ase),t.map(o=>{const{idx:a}=o,s={item:r[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,s)}),s})}class Hg{constructor(r,e={},n){this.options={...Je,...e},this.options.useExtendedSearch,this._keyStore=new zae(this.options.keys),this.setCollection(r,n)}setCollection(r,e){if(this._docs=r,e&&!(e instanceof _2))throw new Error(Nae);this._myIndex=e||a6(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=Lo(r)?Lo(this._docs[0])?this._searchStringList(r):this._searchObjectList(r):this._searchLogical(r);return dse(l,{ignoreFieldNorm:s}),o&&l.sort(a),r6(e)&&e>-1&&(l=l.slice(0,e)),fse(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(r){const e=h_(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=u6(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===hp.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=h_(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}}Hg.version="7.0.0";Hg.createIndex=a6;Hg.parseIndex=Kae;Hg.config=Je;Hg.parseQuery=u6;gse(lse);const Cse=[["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"},{icon:"i-carbon-language",name:"i18n",order:-100,path:"i18n",title:"I18n Resources"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],c6=["assets","graph","vite-inspect"],OP={pinia:"pinia",router:"vueRouter",i18n:"vueI18n"};function Ise(t,r){const e=r.name;return e in OP&&t[OP[e]]}function vse(t,r){const e=bc(Cse);return e.forEach(n=>{n[0]==="modules"&&(n[1]=n[1].filter(i=>r?Ise(r,i):!0))}),t&&!BS?e:e.map(([n,i])=>[n,i.filter(o=>!c6.includes(o.name))])}const d6=oa([]),h6=W(null),pse=X(()=>d6.value.find(t=>t.id===h6.value));function ra(t){return N4()?(M4(t),!0):!1}function wr(t){return typeof t=="function"?t():m(t)}const wg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const mse=t=>typeof t<"u",yse=Object.prototype.toString,bse=t=>yse.call(t)==="[object Object]",ma=()=>{},$se=wse();function wse(){var t,r;return wg&&((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 _se(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 A6=t=>t();function Ese(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 Sse(t=A6){const r=W(!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 kP(t,r=!1,e="Timeout"){return new Promise((n,i)=>{setTimeout(r?()=>i(e):n,t)})}function Tse(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 Ose(t){return t||ll()}function kse(...t){if(t.length!==1)return q4(...t);const r=t[0];return typeof r=="function"?Va(JS(()=>({get:r,set:ma}))):W(r)}function f6(t,r,e={}){const{eventFilter:n=A6,...i}=e;return tt(t,_se(n,r),i)}function xse(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=Sse(n);return{stop:f6(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function qA(t,r=!0,e){Ose()?_i(t,e):r?t():_n(t)}function C_(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=tt(t,y=>{c(y)!==r&&(C?.(),p(y))},{flush:d,deep:h,immediate:!0})})];return A!=null&&v.push(kP(A,f).then(()=>wr(t)).finally(()=>C?.())),Promise.race(v)}function n(c,d){if(!Le(c))return e(y=>y===c,d);const{flush:h="sync",deep:A=!1,timeout:f,throwOnTimeout:C}=d??{};let I=null;const p=[new Promise(y=>{I=tt([t,c],([b,S])=>{r!==(b===S)&&(I?.(),y(b))},{flush:h,deep:A,immediate:!0})})];return f!=null&&p.push(kP(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 C_(t,!r)}}:{toMatch:e,toBe:n,toBeTruthy:i,toBeNull:o,toBeNaN:s,toBeUndefined:a,changed:g,changedTimes:u,get not(){return C_(t,!r)}}}function Pse(t){return C_(t)}function Rse(t,r=1e3,e={}){const{immediate:n=!0,immediateCallback:i=!1}=e;let o=null;const a=W(!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&&wg&&g(),Le(r)||typeof r=="function"){const u=tt(r,()=>{a.value&&wg&&g()});ra(u)}return ra(l),{isActive:a,pause:l,resume:g}}function Dse(t,r,e={}){const{immediate:n=!0}=e,i=W(!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,wg&&l()),ra(s),{isPending:Va(i),start:l,stop:s}}function E2(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=Le(t),o=W(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 S2(t,r,e={}){const{debounce:n=0,maxWait:i=void 0,...o}=e;return f6(t,r,{...o,eventFilter:Ese(n,{maxWait:i})})}function C6(t,r,e){const n=tt(t,(...i)=>(_n(()=>n()),r(...i)),e);return n}function xP(t,r,e){let n;Le(e)?n={evaluating:e}:n=e||{};const{lazy:i=!1,evaluating:o=void 0,shallow:a=!0,onError:s=ma}=n,l=W(!i),g=a?oa(r):W(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 co(t){var r;const e=wr(t);return(r=e?.$el)!=null?r:e}const wi=wg?window:void 0,Nse=wg?window.document:void 0,I6=wg?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=wi):[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=tt(()=>[co(r),wr(i)],([u,c])=>{if(a(),!u)return;const d=bse(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return ra(g),g}let PP=!1;function Mse(t,r,e={}){const{window:n=wi,ignore:i=[],capture:o=!0,detectIframe:a=!1}=e;if(!n)return ma;$se&&!PP&&(PP=!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=co(h);return A&&(d.target===A||d.composedPath().includes(A))}}),u=[tn(n,"click",d=>{const h=co(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=co(t);s=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),a&&tn(n,"blur",d=>{setTimeout(()=>{var h;const A=co(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 Bse(){const t=W(!1);return ll()&&_i(()=>{t.value=!0}),t}function ud(t){const r=Bse();return X(()=>(r.value,!!t()))}function Fse(t,r={}){const{immediate:e=!0,fpsLimit:n=void 0,window:i=wi}=r,o=W(!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(),ra(c),{isActive:Va(o),pause:c,resume:u}}function v6(t,r={}){const{window:e=wi}=r,n=ud(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=W(!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 ra(()=>{l(),s(),i=void 0}),o}function RP(t,r={}){const{controls:e=!1,navigator:n=I6}=r,i=ud(()=>n&&"permissions"in n);let o;const a=typeof t=="string"?{name:t}:t,s=W(),l=()=>{o&&(s.value=o.state)},g=Tse(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 T2(t={}){const{navigator:r=I6,read:e=!1,source:n,copiedDuring:i=1500,legacy:o=!1}=t,a=ud(()=>r&&"clipboard"in r),s=RP("clipboard-read"),l=RP("clipboard-write"),g=X(()=>a.value||o),u=W(""),c=W(!1),d=Dse(()=>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 Lse(t){return JSON.parse(JSON.stringify(t))}const zC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jC="__vueuse_ssr_handlers__",zse=jse();function jse(){return jC in zC||(zC[jC]=zC[jC]||{}),zC[jC]}function p6(t,r){return zse[t]||r}function Vse(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 Gse={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()}},DP="vueuse-storage";function m6(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=wi,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?oa:W)(typeof r=="function"?r():r);if(!e)try{e=p6("getDefaultStorage",()=>{var _;return(_=wi)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=wr(r),I=Vse(C),v=(i=n.serializer)!=null?i:Gse[I],{pause:p,resume:y}=xse(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&qA(()=>{tn(c,"storage",k),tn(c,DP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const O=v.write(_),P=e.getItem(t);P!==O&&(e.setItem(t,O),c&&c.dispatchEvent(new CustomEvent(DP,{detail:{key:t,oldValue:P,newValue:O,storageArea:e}})))}}catch(O){h(O)}}function S(_){const O=_?_.newValue:e.getItem(t);if(O==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(O);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof O!="string"?O:v.read(O)}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(O){h(O)}finally{_?_n(y):y()}}}}}function y6(t){return v6("(prefers-color-scheme: dark)",t)}function Lm(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=wi,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=y6({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?kse(n):m6(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=p6("updateHTMLAttrs",(y,b,S)=>{const N=typeof y=="string"?i?.document.querySelector(y):co(y);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(O=>(O||"").split(/\s/g)).filter(Boolean).forEach(O=>{_.includes(O)?N.classList.add(O):N.classList.remove(O)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(y){var b;C(r,e,(b=c[y])!=null?b:y)}function v(y){t.onChanged?t.onChanged(y,I):I(y)}tt(f,v,{flush:"post",immediate:!0}),qA(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(y){A.value=y}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function Wse(t,r,e={}){const{window:n=wi,...i}=e;let o;const a=ud(()=>n&&"MutationObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=tt(()=>co(t),c=>{s(),a.value&&n&&c&&(o=new MutationObserver(r),o.observe(c,i))},{immediate:!0}),g=()=>o?.takeRecords(),u=()=>{s(),l()};return ra(u),{isSupported:a,stop:u,takeRecords:g}}function Hse(t={}){const{valueDark:r="dark",valueLight:e="",window:n=wi}=t,i=Lm({...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:y6({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 Use(t,r,e={}){const{window:n=wi,...i}=e;let o;const a=ud(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>co(c)):[co(t)]),g=tt(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 ra(u),{isSupported:a,stop:u}}function Zse(t,r={}){const{reset:e=!0,windowResize:n=!0,windowScroll:i=!0,immediate:o=!0}=r,a=W(0),s=W(0),l=W(0),g=W(0),u=W(0),c=W(0),d=W(0),h=W(0);function A(){const f=co(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 Use(t,A),tt(()=>co(t),f=>!f&&A()),Wse(t,A,{attributeFilter:["style","class"]}),i&&tn("scroll",A,{capture:!0,passive:!0}),n&&tn("resize",A,{passive:!0}),qA(()=>{o&&A()}),{height:a,bottom:s,left:l,right:g,top:u,width:c,x:d,y:h,update:A}}function Kse(t={}){const{initialValue:r=""}=t,e=ud(()=>typeof window<"u"&&"EyeDropper"in window),n=W(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 Yse(t,r,e={}){const{window:n=wi}=e;return m6(t,r,n?.localStorage,e)}const Xse={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Qse(t={}){const{reactive:r=!1,target:e=wi,aliasMap:n=Xse,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(y=>y.trim());l[C]=X(()=>p.every(y=>wr(A[y])))}else l[C]=W(!1);const v=Reflect.get(f,C,I);return r?wr(v):v}});return A}function qse(t={}){const{controls:r=!1,interval:e="requestAnimationFrame"}=t,n=W(new Date),i=()=>n.value=new Date,o=e==="requestAnimationFrame"?Fse(i,{immediate:!0}):Rse(i,e,{immediate:!0});return r?{now:n,...o}:n}let Jse=0;function ele(t,r={}){const e=W(!1),{document:n=Nse,immediate:i=!0,manual:o=!1,id:a=`vueuse_styletag_${++Jse}`}=r,s=W(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=tt(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&&qA(g),o||ra(u),{id:a,css:s,unload:u,load:g,isLoaded:Va(e)}}const tle=[{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"}],rle={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 nle(t){return t.toISOString().slice(0,10)}function ile(t,r={}){const{controls:e=!1,updateInterval:n=3e4}=r,{now:i,...o}=qse({interval:n,controls:!0}),a=X(()=>ole(new Date(wr(t)),r,wr(i)));return e?{timeAgo:a,...o}:a}function ole(t,r={},e=Date.now()){var n;const{max:i,messages:o=rle,fullDateFormatter:a=nle,units:s=tle,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,y=f(I.name,v,p);return f(p?"past":"future",y,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 zm(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=ll(),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):Lse(p):p,I=()=>mse(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),y=W(p);let b=!1;return tt(()=>t[r],S=>{b||(b=!0,y.value=C(S),_n(()=>b=!1))}),tt(y,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),y}else return X({get(){return I()},set(p){v(p)}})}function ale(t={}){const{window:r=wi,initialWidth:e=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0}=t,a=W(e),s=W(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(),qA(l),tn("resize",l,{passive:!0}),i){const g=v6("(orientation: portrait)");tt(g,()=>l())}return{width:a,height:s}}function b6(){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=Yse("__VUE_DEVTOOLS_CLIENT_STATE__",b6(),{mergeDefaults:!0});function sle(){sr.value=b6()}tt(()=>sr.value.splitScreen.enabled,(t,r)=>{r&&!t&&(sr.value.splitScreen.size=[50,50])});const ss=[];function $o(t){ss.push(t),ra(()=>{ss.splice(ss.indexOf(t),1)});const{connected:r,clientConnected:e}=Ki(),n=X(()=>e.value&&r.value);if(n.value){ss.forEach(i=>i());return}return C6(n,i=>{i&&ss.forEach(o=>o())}),()=>{ss.splice(ss.indexOf(t),1)}}function lle(){ss.forEach(t=>t())}function JA(){const t=Ki(),r=W(t.tabs.value||[]),e=X(()=>{const l=t.vitePluginDetected.value,g=[...vse(l,pse.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||BS)&&c6.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 y=p||I;C[1].push({...v,hidden:y})}}),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=pn();return $o(()=>{s.on.customTabsUpdated(l=>{r.value=l})}),{categorizedTabs:i,flattenedTabs:n,enabledTabs:o,enabledFlattenTabs:a}}function NP(t,r){return X(()=>{const e=[],n=sr.value.tabSettings.pinnedTabs;jw(r).reduce((a,[{name:s,hidden:l},g])=>(g.forEach(u=>{if(jw(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 gle(t){const r=new Map;return t.forEach(e=>r.set(e.id,e)),Array.from(r.values())}const I_=Ys(new Map);function ule(){const{enabledFlattenTabs:t}=JA(),r=gd(),e=Ki(),n=W(e.commands.value||[]);Nn(()=>{n.value=e.commands.value||[]});const i=pn();$o(()=>{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:()=>dle()}],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(()=>gle([...o,...a.value,...cle(n.value),...Array.from(I_.values()).flatMap(s=>jw(s))]))}function MP(t){t?.type==="url"&&window.open(t.src,"_blank")}function cle(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:()=>{MP(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0));MP(r.action)}})).sort((r,e)=>(e.order??0)-(r.order??0))}function BP(t){const r=gq();I_.set(r,t),ad(()=>{I_.delete(r)})}let Ub;async function dle(){return Ub||(Ub=(await yn(()=>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")}}))),Ub}const hle={flex:"~ col","max-h-120":"","min-h-60":"",h:"60%","w-xl":"","of-hidden":"",border:"1 base","rounded-md":"","text-3.75":""},Ale={border:"b base","flex-none":""},fle={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},Cle=["id","onClick","onMouseover"],Ile={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},vle={"ws-nowrap":""},ple={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},mle={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},yle=w("span",{op50:""},"No results for",-1),ble={"text-primary":""},$le={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},wle={"text-xs":"",flex:"~ items-center gap2"},_le={px1:""},Ele={px1:""},Sle=w("span",{op75:""},"to navigate",-1),Tle={"text-xs":"",flex:"~ items-center gap2"},Ole=w("button",{px1:""}," Esc ",-1),kle={op75:""},xle={"text-xs":"",flex:"~ items-center gap2"},Ple={px1:""},Rle=w("span",{op75:""},"to select",-1),Dle=$e({__name:"CommandPalette",setup(t){const r=W(!1),e=W(""),n=ule(),i=W(),o=X(()=>i.value||n.value),a=X(()=>new Hg(o.value,{keys:["id","title"],distance:50})),s=X(()=>e.value?a.value.search(e.value).map(d=>d.item):o.value||[]),l=W(0);tt(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=XA;return m(r)?(T(),re(m(w2),{key:0,dim:"",class:"backdrop-blur-2xl!"},{default:G(()=>[w("div",hle,[w("header",Ale,[z(m(Da),{modelValue:m(e),"onUpdate:modelValue":h[0]||(h[0]=f=>Le(e)?e.value=f:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),w("div",fle,[(T(!0),F(me,null,vt(m(s),(f,C)=>(T(),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(m(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",Ile,[w("span",vle,we(f.title),1),w("span",ple,we(f.description),1)]),m(l)===C?(T(),re(m(Pt),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):be("",!0)],2)],40,Cle))),128)),m(s).length?be("",!0):(T(),F("div",mle,[z(m(Pt),{icon:"carbon-search",op50:""}),w("div",null,[yle,w("strong",ble,' "'+we(m(e))+'" ',1)])]))]),w("footer",$le,[w("div",wle,[w("button",_le,[z(m(Pt),{icon:"carbon-arrow-down"})]),w("button",Ele,[z(m(Pt),{icon:"carbon-arrow-up"})]),Sle]),w("div",Tle,[Ole,w("span",kle,"to "+we(m(i)?"go back":"close"),1)]),w("div",xle,[w("button",Ple,[z(m(Pt),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),Rle])])])]),_:1})):be("",!0)}}}),ef=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Nle={},Mle={class:"panel-grids-center"};function Ble(t,r){return T(),F("div",Mle,[Xe(t.$slots,"default")])}const wo=ef(Nle,[["render",Ble]]),Fle={flex:"~ items-center gap-3"},Lle={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},zle={"translate-y-0.5px":""},jle={key:0,hidden:"","lg:block":""},$6=$e({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(t){const r=t,e=Pm(),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=XA;return T(),re(m(Oae),{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?(T(),F("div",jle,[(T(),re(Xs(s.tab.extraTabVNode)))])):be("",!0)]),default:G(()=>[(T(),re(Xs(s.target==="main"?m(v8):"button"),{to:m(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",Fle,[z(g,{"text-xl":"",icon:s.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),s.minimized?be("",!0):(T(),F("span",Lle,we(s.tab.title),1))]),m(i)?(T(),F("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:_e([m(o)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":s.minimized}])},[w("span",zle,we(m(wr)(m(i))),1)],2)):be("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),Vle={flex:"~ col gap-1","max-w-80":"",py1:""},Gle={key:0,"h-1px":"",border:"b base"},Wle={flex:"~ wrap",px1:""},w6=$e({__name:"TabsGrid",props:{categories:{},target:{}},setup(t){return(r,e)=>{const n=$6;return T(),F("div",Vle,[(T(!0),F(me,null,vt(r.categories,([i,o],a)=>(T(),F(me,{key:i},[o.length?(T(),F(me,{key:0},[a?(T(),F("div",Gle)):be("",!0),w("div",Wle,[(T(!0),F(me,null,vt(o,s=>(T(),re(n,{key:s.name,target:r.target,tab:s},null,8,["target","tab"]))),128))])],64)):be("",!0)],64))),128))])}}}),Hle={"h-full":"","h-screen":"","of-hidden":""},Ule={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},Zle={flex:"","cursor-pointer":"","items-center":"",gap2:""},Kle=w("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),Yle={capitalize:""},Xle=w("div",{"flex-auto":""},null,-1),Qle=w("div",{"i-carbon:side-panel-open":""},null,-1),qle=[Qle],Jle={key:1,"of-auto":"",style:{height:"calc(100% - 50px)"}},ege=w("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),tge=$e({__name:"SplitScreen",setup(t){function r(){sr.value.splitScreen.enabled=!1}const e=X(()=>sr.value.splitScreen),{enabledTabs:n,flattenedTabs:i}=JA(),o=gd(),a=Pm(),s=oa();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});tt(()=>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=W(!1);return(c,d)=>{const h=XA,A=w6,f=wo;return T(),F("div",Hle,[m(s)&&m(g)?(T(),F("div",Ule,[z(m(kc),{placement:"bottom-start",distance:12,skidding:5,shown:m(u),trigger:"click"},{popper:G(()=>[z(A,{categories:m(n),target:"side"},null,8,["categories"])]),default:G(()=>[w("div",Zle,[Kle,z(h,{"text-xl":"",icon:m(g)?.icon,title:"Settings","show-title":!1},null,8,["icon"]),w("span",Yle,we(m(g)?.name),1)])]),_:1},8,["shown"]),Xle,rn((T(),F("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:r},qle)),[[m(Zo),"Close split screen"]])])):be("",!0),m(s)&&m(g)?(T(),F("div",Jle,[(T(),re(Xs(m(s)),{key:`tab-${m(g).name}`}))])):(T(),re(f,{key:2},{default:G(()=>[ege,z(m(uv),{px4:"",py2:"","bg-base":""},{default:G(()=>[z(A,{categories:m(n),target:"side"},null,8,["categories"])]),_:1}),z(m(ot),{type:"warning",outlined:"",mt2:"",onClick:r},{default:G(()=>[ke(" Close Split Screen ")]),_:1})]),_:1}))])}}});function jm(){const t=f2(),r=W("");return yc&&qe.chrome.storage.local.get(wb).then(e=>{r.value=e[wb]??"overlay"}),{viewMode:r,toggle(e){r.value=e,qe.chrome.storage.local.set({[wb]:e}),yc&&t.value.emit("toggle-view-mode",e)}}}const rge={px3:"",py2:"",border:"b base",flex:"~ gap-2"},nge=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),ige=w("div",{"i-carbon-settings-adjust":""},null,-1),oge={px3:"",py2:"",border:"b base",flex:"~ gap-2"},age=w("div",{"i-carbon-split-screen":""},null,-1),sge={px3:"",py2:"",flex:"~ gap2"},lge=$e({__name:"DockingPanel",setup(t){const r=Er("viewMode",W("overlay")),e=X(()=>r.value==="panel"&&yc),{toggle:n}=jm(),i=pn(),o=gd(),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=Ki(),u=X(()=>g.appRecords.value.map(h=>({label:h.name+(h.version?` (${h.version})`:""),value:h.id}))),c=W(g.activeAppRecordId.value),d=X(()=>u.value.find(h=>h.value===c.value)?.label??"");return tt(c,h=>{i.toggleApp(`${h}`).then(()=>{o.push("/overview").then(()=>{lle()})})}),(h,A)=>(T(),F("div",null,[w("div",rge,[z(m(e6),null,{default:G(({isDark:f,toggle:C})=>[z(m(ot),{outlined:"",type:"primary",onClick:C},{default:G(()=>[nge,ke(" "+we(f?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),z(m(ot),{outlined:"",type:"primary",onClick:A[0]||(A[0]=f=>a.value=!m(a))},{default:G(()=>[z(m(Pt),{icon:m(a)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),ke(" "+we(m(a)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),z(m(ot),{to:"/settings",outlined:"",type:"primary"},{default:G(()=>[ige,ke(" Settings ")]),_:1})]),w("div",oge,[z(m(ot),{outlined:"",type:"primary",onClick:A[1]||(A[1]=f=>s.value=!m(s))},{default:G(()=>[age,ke(" "+we(m(s)?"Close Split Screen":"Split Screen"),1)]),_:1})]),w("div",sge,[m(u).length>1?(T(),re(m(dp),{key:0,modelValue:m(c),"onUpdate:modelValue":A[2]||(A[2]=f=>Le(c)?c.value=f:null),options:m(u),placeholder:m(d)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):be("",!0),z(m(ot),{outlined:"",type:"primary",onClick:l},{default:G(()=>[ke(" Refresh Page ")]),_:1}),m(e)?(T(),re(m(ot),{key:1,outlined:"",type:"primary",onClick:A[3]||(A[3]=f=>m(n)("overlay"))},{default:G(()=>[ke(" Switch to Overlay Mode ")]),_:1})):be("",!0)])]))}}),gge={border:"r base",flex:"~ col items-start","z-100":"","h-full":"","of-hidden":"","bg-base":""},uge={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},cge=w("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1),dge=w("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1),hge=w("div",{"flex-auto":""},null,-1),Age=w("div",{"i-carbon-overflow-menu-vertical":""},null,-1),fge={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},Cge=w("div",{"flex-auto":""},null,-1),Ige=["flex"],vge={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},pge={"translate-y-0.5px":""},mge=45,yge=$e({__name:"SideNav",setup(t){const r=W(!1),e=W(!1),n=W(),i=W(),o=W(),a=X(()=>sr.value.expandSidebar),s=X(()=>sr.value.scrollableSidebar),{enabledTabs:l,flattenedTabs:g}=JA(),{height:u}=ale(),c=X(()=>{const I=u.value-130;return Math.max(0,Math.floor(I/mge))}),d=X(()=>g.value.slice(0,c.value)),h=X(()=>g.value.slice(c.value)),A=NP(d,l),f=NP(h,l),C=X(()=>s.value||a.value?l.value:A.value);return Mse(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=lge,y=$6,b=XA,S=w6;return T(),F("div",gge,[w("div",uge,[z(m(kc),{placement:"left-start",distance:6,skidding:5,trigger:"click",shown:m(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([m(a)?"w-full rounded pl2.5":"w-10 rounded-xl"])},[cge,m(a)?(T(),F(me,{key:0},[dge,hge,Age],64)):be("",!0)],2)]),_:1},8,["shown"])]),w("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:_e(["no-scrollbar",m(a)?"":"of-x-hidden of-y-auto"])},[(T(!0),F(me,null,vt(m(C),([N,k],_)=>(T(),F(me,{key:N},[_?(T(),F("div",fge)):be("",!0),(T(!0),F(me,null,vt(k.filter(O=>!O.hidden),O=>(T(),re(y,{key:O.name,tab:O,minimized:!m(a)},null,8,["tab","minimized"]))),128))],64))),128)),Cge],2),w("div",{flex:`~ items-center gap-1 ${m(a)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[m(h).length&&!m(s)&&!m(a)?(T(),re(m(kc),{key:0,placement:"left-end",distance:6},{popper:G(()=>[z(S,{categories:m(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",vge,[w("span",pge,we(m(h).length),1)])],512)]),_:1})):be("",!0),z(y,{minimized:!m(a),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,Ige)])}}}),bge={},$ge={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wge=aee('<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),_ge=[wge];function Ege(t,r){return T(),F("svg",$ge,_ge)}const O2=ef(bge,[["render",Ege]]),Sge={class:"fixed inset-0 h-screen w-screen flex flex-col items-center justify-center $ui-bg-base"},Tge=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),Oge=$e({__name:"ViewModeSwitch",setup(t){Lm();const{toggle:r}=jm();return(e,n)=>{const i=O2;return T(),F("div",Sge,[z(i,{"h-18":""}),Tge,w("p",null,[z(m(ot),{onClick:n[0]||(n[0]=wn(o=>m(r)("panel"),["stop"]))},{default:G(()=>[ke(" Switch to Panel Mode ")]),_:1})])])}}}),kge="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",xge={class:"h-screen w-screen $ui-fcc flex-col"},Pge={class:"outer"},Rge={class:"inner"},Dge=["src"],Nge=$e({__name:"AppConnecting",setup(t){return(r,e)=>(T(),F("div",xge,[w("div",Pge,[w("div",Rge,[w("img",{src:m(kge),class:"max-w-18",alt:"Vue logo"},null,8,Dge)])]),Xe(r.$slots,"default",{},void 0,!0)]))}}),_6=ef(Nge,[["__scopeId","data-v-204233a8"]]),cd={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 ld("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Mge=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Bge={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 Fge(t,r,e,n,i,o){return T(),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 bi=Mge(Bge,[["render",Fge]]);function Vm(){const{copy:t,copied:r}=T2();return{copy:(n,i={})=>{const{silent:o=!1,type:a=""}=i;t(n).then(()=>{o||g_({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{o||g_({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:r}}const Lge={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},zge=$e({__name:"App",setup(t){yn(()=>import("./unocss-runtime-402WFgCt.js"),__vite__mapDeps([]),import.meta.url),Lm();const r=gd(),e=Pm(),{connected:n,clientConnected:i}=Ki(),o=pn(),a=sr,s=Er("viewMode",W("overlay")),l=X(()=>s.value==="overlay"&&yc);jm();const g=f2(),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`}),tt(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=Ki();Nn(()=>{d6.value=f.appRecords.value,h6.value=f.activeAppRecordId.value});const{copy:C}=Vm(),I=Kse({});return o?.isVueInspectorDetected?.()?.then(({data:v})=>{v&&BP(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{g.value.emit("toggle-panel",!1),await o.enableVueInspector()}}])}),BP(()=>[...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 y=_6,b=Oge,S=yge,N=$i("RouterView"),k=tge,_=Dle;return T(),F("main",Lge,[m(d)?m(l)?(T(),re(b,{key:1})):(T(),F("div",{key:2,class:_e(["h-full of-auto",m(u)?"flex":m(c)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[m(u)?be("",!0):(T(),re(S,{key:0,"of-x-hidden":"","of-y-auto":""})),z(m(cd),{"h-full":"","of-hidden":"",onResize:p[0]||(p[0]=O=>A.value=O.map(P=>P.size))},{default:G(()=>[z(m(bi),{"h-full":"",class:"of-auto!","min-size":"10",size:m(A)[0]},{default:G(()=>[z(N)]),_:1},8,["size"]),!m(u)&&m(h)?(T(),re(m(bi),{key:0,relative:"","h-full":"",class:"of-auto!",size:m(A)[1]},{default:G(()=>[z(k)]),_:1},8,["size"])):be("",!0)]),_:1})],2)):(T(),re(y,{key:0})),z(_)])}}}),k2=$e({__name:"ExpandIcon",props:{value:{type:Boolean}},setup(t){return(r,e)=>(T(),F("i",{class:_e(["i-radix-icons:triangle-right flex-none text-5 op-50 transition-base",{"transform rotate-90":r.value}])},null,2))}}),jge={class:"flex-inline items-center gap4px"},Vge=$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}=Qse();Nn(()=>{i.value?n("cancel"):o.value&&n("submit",e.type)});const a=zm(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)=>(T(),F("span",jge,[z(m(Da),{modelValue:m(a),"onUpdate:modelValue":u[0]||(u[0]=c=>Le(a)?a.value=c:null),variant:m(l)?"warning":"normal",class:"h25px w120px px4px","auto-focus":g.autoFocus,onClick:u[1]||(u[1]=wn(()=>{},["stop"]))},null,8,["modelValue","variant","auto-focus"]),g.showActions?(T(),F(me,{key:0},[m(l)?(T(),re(m(Pt),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"})):(T(),F(me,{key:0},[rn((T(),re(m(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[2]||(u[2]=wn(c=>g.$emit("cancel"),["stop"]))},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-cancel"})]),_:1})),[[m(Zo),{content:"Esc to cancel"}]]),rn((T(),re(m(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[3]||(u[3]=wn(c=>g.$emit("submit",g.type),["stop"]))},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-save"})]),_:1})),[[m(Zo),{content:"Enter to submit change"}]])],64))],64)):be("",!0)]))}}),E6=Symbol("StateEditorSymbol");function Gge(t){const r=W(t);return pa(E6,r),{context:r}}function x2(){return Er(E6)}function Wge(){const t=W(""),r=W("string"),e=W(!1),n=x2();return{editingText:t,editing:e,toggleEditing(i){i&&(r.value=i),e.value=!e.value},editingType:r,nodeId:n.value.nodeId}}function Hge(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 Uge(){const t=W({enable:!1,key:"",value:"undefined"});function r(n,i){const o=Hge(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 Zge={class:"inline pl5px"},Kge={class:"w160px py5px"},FP=$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=pn(),n=x2(),{copy:i,isSupported:o}=T2(),a=W(!1),s=X(()=>c2(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:pt(d),type:l.value,remove:h}})}return(d,h)=>(T(),F("div",Zge,[!r.disableEdit&&d.data.editable?(T(),F(me,{key:0},[m(l)==="string"||m(l)==="number"||m(l)==="object"?(T(),F(me,{key:0},[rn((T(),re(m(ot),bn(g,{class:m(u),onClick:h[0]||(h[0]=wn(A=>d.$emit("enableEditInput",m(l)),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[m(Zo),{content:"Edit value"}]]),m(l)==="object"&&d.showAddIfNeeded?rn((T(),re(m(ot),bn({key:0},g,{class:m(u),onClick:h[1]||(h[1]=wn(A=>d.$emit("addNewProp",Array.isArray(m(s))?"array":"object"),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[m(Zo),{content:"Add new value"}]]):be("",!0)],64)):be("",!0),m(l)==="boolean"?(T(),re(m(ot),bn({key:1},g,{class:m(u),onClick:h[2]||(h[2]=A=>c(!m(s)))}),{icon:G(()=>[z(m(Pt),{icon:m(s)?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):m(l)==="number"?(T(),F(me,{key:2},[z(m(ot),bn(g,{class:m(u),onClick:h[3]||(h[3]=wn(A=>c(m(s)+1),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-carbon-add"})]),_:1},16,["class"]),z(m(ot),bn(g,{class:m(u),onClick:h[4]||(h[4]=wn(A=>c(m(s)-1),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):be("",!0)],64)):be("",!0),!r.disableEdit&&d.depth>0?(T(),re(m(ot),bn({key:1},g,{class:m(u),onClick:h[5]||(h[5]=wn(A=>c(m(s),!0),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):be("",!0),z(m(kc),{class:_e({"opacity-0":!d.hovering&&!m(a)}),"button-props":{flat:!0,size:"mini"},disabled:!m(o),"onUpdate:visible":h[8]||(h[8]=A=>a.value=A)},{popper:G(()=>[w("div",Kge,[z(m(bP),{onClick:h[6]||(h[6]=A=>m(i)(m(l)==="object"?JSON.stringify(m(s)):m(s).toString()))},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Value ")]),_:1}),z(m(bP),{onClick:h[7]||(h[7]=()=>{m(i)(d.data.key)})},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Path ")]),_:1})])]),"button-icon":G(()=>[z(m(Pt),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}});function xc(t){const r=W({}),e=W({});return pa(`CollapseMapSymbol${t}`,r),pa(`CollapseMapSymbol${t}LinkedList`,e),{collapseMap:r,id:t,linkedList:e}}function Yge(t){const r=Er(`CollapseMapSymbol${t}`),e=Er(`CollapseMapSymbol${t}LinkedList`);return{collapseMap:r,linkedList:e,id:t}}function P2(t,r,e){const{collapseMap:n,linkedList:i}=Yge(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 Xge(t,r={}){const{enter:e=()=>{},leave:n=()=>{},initital:i=!1}=r,o=W(i);return tn(t,"mouseenter",()=>{o.value=!0,e()}),tn(t,"mouseleave",()=>{o.value=!1,n()}),{isHovering:o}}const R2=t=>(Im("data-v-e979d6e2"),t=t(),vm(),t),Qge={key:0},qge={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},Jge=R2(()=>w("span",{"mx-1":""},":",-1)),eue=["innerHTML"],tue={key:1,"cursor-pointer":""},rue={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},nue=R2(()=>w("span",{"mx-1":""},":",-1)),iue=["innerHTML"],oue={key:0},aue={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},sue=R2(()=>w("span",{"mx-1":""},":",-1)),lue=$e({__name:"InspectorStateField",props:{data:{},depth:{default:0},no:{},rootId:{}},setup(t){const r=t,e=x2(),n=pn(),i=X(()=>Wj(r.data.value)),o=X(()=>Sm(r.data.value)),a=X(()=>o.value==="custom"?`state-format-${r.data.value._custom?.type}`:""),{isExpanded:s,toggleCollapse:l}=P2("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(()=>c2(r.data.value)),c=X(()=>{let{value:P,inherit:R}=u.value;return Array.isArray(P)?P.slice(0,20).map((te,H)=>({key:`${r.data.key}.${H}`,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=lq(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}=Wge();tt(()=>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:y,draftingNewProp:b,resetDrafting:S}=Uge();function N(P){s.value||l(),y(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 _=W(),{isHovering:O}=Xge(_);return(P,R)=>{const L=Vge,te=k2,H=$i("InspectorStateField",!0);return T(),F("div",{ref_key:"containerRef",ref:_,class:"pl-6",style:_r({paddingLeft:`${P.depth*15+4}px`})},[m(h)?(T(),F("div",tue,[w("div",{relative:"",flex:"","items-center":"",onClick:R[2]||(R[2]=(...V)=>m(l)&&m(l)(...V))},[z(te,{value:m(s),absolute:"","left--6":"","group-hover:text-white":""},null,8,["value"]),w("span",rue,we(m(d)),1),nue,m(f)?(T(),re(L,{key:0,modelValue:m(C),"onUpdate:modelValue":R[1]||(R[1]=V=>Le(C)?C.value=V:null),type:m(A),onCancel:m(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(T(),F(me,{key:1},[w("span",{class:_e(m(a))},[w("span",{innerHTML:m(g)},null,8,iue)],2),z(FP,{"show-add-if-needed":!m(b).enable,hovering:m(O),data:P.data,"disable-edit":m(e).disableEdit,depth:P.depth,onEnableEditInput:m(I),onAddNewProp:N},null,8,["show-add-if-needed","hovering","data","disable-edit","depth","onEnableEditInput"])],64))]),m(s)?(T(),F("div",oue,[(T(!0),F(me,null,vt(m(c),(V,Q)=>(T(),re(H,{key:Q,data:V,depth:P.depth+1,no:P.no,"root-id":P.rootId},null,8,["data","depth","no","root-id"]))),128)),m(b).enable?(T(),F("div",{key:0,style:_r({paddingLeft:`${(P.depth+1)*15+4}px`})},[w("span",aue,[z(L,{modelValue:m(b).key,"onUpdate:modelValue":R[3]||(R[3]=V=>m(b).key=V),type:"string","show-actions":!1},null,8,["modelValue"])]),sue,z(L,{modelValue:m(b).value,"onUpdate:modelValue":R[4]||(R[4]=V=>m(b).value=V),type:"string","auto-focus":!1,onCancel:m(S),onSubmit:k},null,8,["modelValue","onCancel"])],4)):be("",!0)])):be("",!0)])):(T(),F("div",Qge,[w("span",qge,we(m(d)),1),Jge,m(f)?(T(),re(L,{key:0,modelValue:m(C),"onUpdate:modelValue":R[0]||(R[0]=V=>Le(C)?C.value=V:null),type:m(A),onCancel:m(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(T(),F(me,{key:1},[w("span",{class:_e(m(a))},[w("span",{innerHTML:m(g)},null,8,eue)],2),z(FP,{hovering:m(O),"disable-edit":m(e).disableEdit,data:P.data,depth:P.depth,onEnableEditInput:m(I)},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],64))]))],4)}}}),gue=ef(lue,[["__scopeId","data-v-e979d6e2"]]),uue=$e({__name:"InspectorStateType",props:{data:{},depth:{default:0},rootId:{}},setup(t){return(r,e)=>{const n=gue;return T(!0),F(me,null,vt(r.data,(i,o)=>(T(),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)}}}),cue={"text-primary-400":"","group-hover:text-white":"",class:"text-[#486887] dark:text-[#7595b5]"},tf=$e({__name:"InspectorState",props:{data:{},name:{},id:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(t){const r=t,{isExpanded:e,toggleCollapse:n}=P2("inspector-state",r.id);return!e.value&&n(),Gge({nodeId:r.nodeId,inspectorId:r.inspectorId,disableEdit:r.disableEdit}),(i,o)=>{const a=k2,s=uue;return T(),F(me,null,[w("div",{class:"group w-full px-0 selectable-item",onClick:o[0]||(o[0]=(...l)=>m(n)&&m(n)(...l))},[z(a,{value:m(e),"group-hover:text-white":""},null,8,["value"]),w("span",cue,we(i.name),1)]),m(e)?(T(),re(s,{key:0,data:i.data,"root-id":i.id},null,8,["data","root-id"])):be("",!0)],64)}}});function v_(t){return t.toString(16).padStart(6,"0")}function due(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 S6=$e({__name:"InspectorNodeTag",props:{tag:{}},setup(t){return(r,e)=>{const n=pm("tooltip");return rn((T(),F("span",{style:_r({color:`#${m(v_)(r.tag.textColor)}`,backgroundColor:`#${m(v_)(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 hue(t){const r=W("");return pa(`SelectedSymbol${t}`,r),{selected:r,id:t}}function Aue(t){return{selected:Er(`SelectedSymbol${t}`),id:t}}function fue(t,r,e){const{selected:n}=Aue(t);return{isSelected:X(()=>n.value===r),toggleSelected:a=>{n.value=a,e?.(a)}}}const Cue={key:1,"inline-block":"","h-6":"","w-6":""},Iue={"text-primary-400":"","group-hover:text-white":"",class:"[.active_&]:text-white"},vue=$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}=P2("component-tree",e.data.id,[...e.linkedList,e.data.id]),{isSelected:a,toggleSelected:s}=fue("component-tree",e.data.id,l=>{n("select",l)});return(l,g)=>{const u=k2,c=S6,d=$i("ComponentTreeNode",!0);return T(),F(me,null,[w("div",{class:_e(["group selectable-item",{active:m(a)}]),style:_r({paddingLeft:`${l.depth*15+4}px`}),onClick:g[0]||(g[0]=wn(h=>m(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?(T(),re(u,{key:0,value:m(i),"group-hover:text-white":"",class:"[.active_&]:text-white",onClick:wn(m(o),["prevent","stop"])},null,8,["value","onClick"])):(T(),F("i",Cue)),w("span",Iue,we(l.data.name),1),(T(!0),F(me,null,vt(l.data.tags,(h,A)=>(T(),re(c,{key:A,tag:h},null,8,["tag"]))),128))],38),l.data.children?.length&&m(i)?(T(!0),F(me,{key:0},vt(l.data.children,h=>(T(),re(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)}}}),pue=pn();function Gm(t){return pue.openInEditor({file:t})}const mue={"w-full":"",flex:"",gap2:"",px2:"",py2:""},yue=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),bue=[yue],$ue={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},wue={flex:"","justify-between":"","overflow-auto":"",px2:"",py3:"",class:"no-scrollbar"},_ue={key:0},Eue={flex:"~ gap2"},Sue=w("p",{class:"x-divider"},null,-1),Tue=$e({__name:"components",setup(t){const r=pn(),e=f2(),n=W([]),i=W(""),o=Gm,a=W(!1),[s,l]=E2(!0),{selected:g}=hue("component-tree"),{collapseMap:u,linkedList:c}=xc("component-tree");xc("inspector-state");const d=X(()=>{const H=[],V=Q=>{Q.forEach(Ie=>{Ie.id===g.value&&H.push(Ie),Ie.children?.length&&V(Ie.children)})};return V(n.value),H[0]}),h=X(()=>{const H=[],V=(Q,Ie=[])=>{Q.forEach(Re=>{H.push([...Ie,Re.id]),Re.children?.length&&V(Re.children,[...Ie,Re.id])})};return V(n.value),H}),A=X(()=>d.value?.file??"");function f(H,V){return H.length?H.find(Q=>Q.id===V)?!0:H.some(Q=>f(Q.children||[],V)):!1}function C(H){H.length&&(g.value&&f(H,g.value)||(g.value=H?.[0].id,P(H?.[0].id)))}function I(H){return new Promise(V=>{r.getComponentBoundingRect({inspectorId:"components",instanceId:H}).then(({data:Q})=>{V(Q)})})}function v(H){return{[H[0].id]:!0,...H?.[0].children?.reduce((V,Q)=>(V[Q.id]=!0,V),{})}}function p(H){return new Promise(V=>{r.getInspectorTree({inspectorId:"components",filter:H}).then(({data:Q})=>{const Ie=!Object.keys(u.value).length;n.value=Q,Ie&&(u.value=v(Q)),C(Q),V()})})}const y=W(!1);async function b(H,V){y.value&&await Pse(y).toBe(!1),y.value=!0,I(H).then(Q=>{r.toggleComponentInspector({id:H,visible:V,bounds:Q}),y.value=!1})}function S(H){r.scrollToComponent({id:H})}function N(){e.value.emit("toggle-panel",!1),r.inspectComponentInspector().then(({data:H})=>{g.value=H.id,k(H.id);const V=c.value[H.id];V?V.forEach(Q=>{u.value[Q]=!0}):h.value.forEach(Q=>{let Ie=Q.indexOf(H.id);if(Ie>-1)for(;Ie>=0;)u.value[Q[Ie]]=!0,Ie--})}).finally(()=>{e.value.emit("toggle-panel",!0)})}function k(H){R(),P(H),i.value=H}tt(g,H=>{r.updateInspectorTreeId(H)});const _=W({});function O(H){if(!H||!H?.state)return{};const V={};return H.state.forEach(Q=>{V[Q.type]||(V[Q.type]=[]),V[Q.type].push(Q)}),V}function P(H){r.getInspectorState({inspectorId:"components",nodeId:H}).then(({data:V})=>{_.value=O(V)})}function R(){_.value={}}$o(()=>{p().then(()=>{a.value=!0}),r.on.inspectorTreeUpdated(H=>{H?.data?.length&&(n.value=H.data,u.value={...v(H.data),...u.value},C(H.data))},{inspectorId:"components"}),r.on.inspectorStateUpdated(H=>{_.value=O(H)},{inspectorId:"components"})});const L=W("");S2(L,H=>{const V=H.trim().toLowerCase();l(),p(V).then(()=>{l()})},{debounce:300});const te=Ki();return(H,V)=>{const Q=vue,Ie=tf,Re=wo;return T(),re(Re,{"h-screen":""},{default:G(()=>[z(m(cd),null,{default:G(()=>[z(m(bi),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",mue,[m(a)?(T(),re(m(Da),{key:0,modelValue:m(L),"onUpdate:modelValue":V[0]||(V[0]=We=>Le(L)?L.value=We:null),"loading-debounce-time":250,loading:!m(s),placeholder:"Find components...","flex-1":""},null,8,["modelValue","loading"])):be("",!0),m(te).vitePluginDetected.value?(T(),F("button",{key:1,"px-1":"",onClick:N},[(T(),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"},bue))])):be("",!0)]),w("div",$ue,[(T(!0),F(me,null,vt(m(n),We=>(T(),re(Q,{key:We.id,data:We,onSelect:k,onMouseenter:b,onMouseleave:b},null,8,["data"]))),128))])]),_:1}),z(m(bi),{flex:"","flex-col":""},{default:G(()=>[w("div",wue,[m(d)?.name?(T(),F("span",_ue,we(m(d).name),1)):be("",!0),w("div",Eue,[rn(z(m(Pt),{title:"Scroll to Component",icon:"i-iconoir:mouse-scroll-wheel",action:"","flex-none":"",border:!1,onClick:V[1]||(V[1]=We=>S(m(g)))},null,512),[[m(Zo),"Scroll to Component"]]),m(A)&&m(te).vitePluginDetected.value?rn((T(),re(m(Pt),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:V[2]||(V[2]=We=>m(o)(m(A)))},null,512)),[[m(Zo),"Open in Editor"]]):be("",!0)])]),Sue,(T(),F("div",{key:m(g),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(T(!0),F(me,null,vt(m(_),(We,Fe)=>(T(),re(Ie,{id:Fe,key:Fe,"node-id":m(i),data:We,name:`${Fe}`,"inspector-id":"components"},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Oue="7.0.9",kue={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},xue=w("div",{"flex-auto":""},null,-1),Pue={flex:"~ col","mt-20":"","items-center":""},Rue={flex:"~","mt--10":"","items-center":"","justify-center":""},Due={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},Nue=w("span",{op40:""}," Vue DevTools ",-1),Mue={op40:""},Bue={flex:"~ gap2 wrap"},Fue={p4:"","theme-card-green":"",flex:"~ col auto"},Lue=w("div",{"i-logos-vue":"","text-3xl":""},null,-1),zue=w("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),jue=w("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),Vue={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},Gue=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),Wue=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),Hue=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),Uue=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),Zue=w("div",{"i-carbon-settings":""},null,-1),Kue=w("div",{"flex-auto":""},null,-1),Yue={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},Xue=w("span",null,"+",-1),Que=w("span",null,"+",-1),que={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},Jue=w("span",null,"+",-1),ece=w("span",null,"+",-1),tce=w("span",null,"+",-1),rce=w("span",null,"+",-1),nce=$e({__name:"overview",setup(t){const r=pn(),{vueVersion:e}=Ki(),n=W(1),i=W(0);function o(a){let s=0;for(const l of a)s++,l.children?.length&&(s+=o(l.children));return s}return $o(()=>{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=O2,g=$i("RouterLink"),u=wo;return T(),re(u,{"h-screen":"","w-full":"",flex:"","of-auto":""},{default:G(()=>[w("div",kue,[xue,w("div",Pue,[w("div",Rue,[z(l,{"h-18":""})]),w("div",Due,[Nue,w("code",Mue,"v"+we(m(Oue)),1)])]),w("div",Bue,[w("div",Fue,[Lue,w("code",null,"v"+we(m(e)),1)]),z(g,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[zue,w("div",null,we(m(n))+" pages",1)]),_:1}),m(i)?(T(),re(g,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[jue,w("div",null,we(m(i))+" components",1)]),_:1})):be("",!0)]),w("div",Vue,[Gue,Wue,Hue,Uue,z(g,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:G(()=>[Zue,ke(" Settings ")]),_:1})]),Kue,w("div",Yue,[ke(" Press "),m(wk)()?(T(),F(me,{key:0},[z(m(ot),null,{default:G(()=>[ke(" ⌘ Command ")]),_:1}),Xue,z(m(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)):(T(),F(me,{key:1},[z(m(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),Que,z(m(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)),ke(" to toggle Command Palette ")]),w("div",que,[ke(" Press "),m(wk)()?(T(),F(me,{key:0},[z(m(ot),null,{default:G(()=>[ke(" ⇧ Shift ")]),_:1}),Jue,z(m(ot),null,{default:G(()=>[ke(" ⌥ Option ")]),_:1}),ece,z(m(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)):(T(),F(me,{key:1},[z(m(ot),null,{default:G(()=>[ke(" Shift ")]),_:1}),tce,z(m(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),rce,z(m(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)),ke(" to toggle DevTools ")])])]),_:1})}}});function ice(){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 cv;function p_(){p_.init||(p_.init=!0,cv=ice()!==-1)}var Wm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){p_(),_n(()=>{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",cv&&this.$el.appendChild(t),t.data="about:blank",cv||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&&(!cv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const oce=oj();Im("data-v-b329ee4c");const ace={class:"resize-observer",tabindex:"-1"};vm();const sce=oce((t,r,e,n,i,o)=>(T(),re("div",ace)));Wm.render=sce;Wm.__scopeId="data-v-b329ee4c";Wm.__file="src/components/ResizeObserver.vue";function dv(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dv=function(r){return typeof r}:dv=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},dv(t)}function lce(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function LP(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 gce(t,r,e){return r&&LP(t.prototype,r),e&&LP(t,e),t}function zP(t){return uce(t)||cce(t)||dce(t)||hce()}function uce(t){if(Array.isArray(t))return m_(t)}function cce(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function dce(t,r){if(t){if(typeof t=="string")return m_(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 m_(t,r)}}function m_(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 hce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
+ */const Mu=typeof window<"u";function fne(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const or=Object.assign;function Mb(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 kh=()=>{},po=Array.isArray,Cne=/\/$/,Ine=t=>t.replace(Cne,"");function Bb(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=yne(n??r,e),{fullPath:n+(o&&"?")+o+a,path:n,query:i,hash:a}}function vne(t,r){const e=r.query?t(r.query):"";return r.path+(e&&"?")+e+(r.hash||"")}function pne(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])&&g8(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 g8(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const e in t)if(!mne(t[e],r[e]))return!1;return!0}function mne(t,r){return po(t)?Lx(t,r):po(r)?Lx(r,t):t===r}function Lx(t,r){return po(r)?t.length===r.length&&t.every((e,n)=>e===r[n]):t.length===1&&t[0]===r}function yne(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 sA;(function(t){t.pop="pop",t.push="push"})(sA||(sA={}));var ip;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ip||(ip={}));const Fb="";function bne(t){if(!t)if(Mu){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Ine(t)}const $ne=/^[^#]+#/;function wne(t,r){return t.replace($ne,"#")+r}function _ne(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 Ene=()=>({left:window.pageXOffset,top:window.pageYOffset});function Sne(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=_ne(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 zx(t,r){return(history.state?history.state.position-r:-1)+t}const r_=new Map;function Tne(t,r){r_.set(t,r)}function One(t){const r=r_.get(t);return r_.delete(t),r}function kne(t=""){let r=[],e=[Fb],n=0;t=bne(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:sA.pop};for(const d of r)d(s,l,c)}const a={location:Fb,state:{},base:t,createHref:wne.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=[Fb],n=0},go(s,l=!0){const g=this.location,u=s<0?ip.back:ip.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 xne(t){return typeof t=="string"||t&&typeof t=="object"}function u8(t){return typeof t=="string"||typeof t=="symbol"}const ts={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},c8=Symbol("");var jx;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(jx||(jx={}));function Oc(t,r){return or(new Error,{type:t,[c8]:!0},r)}function ha(t,r){return t instanceof Error&&c8 in t&&(r==null||!!(t.type&r))}const Vx="[^/]+?",Pne={sensitive:!1,strict:!1,start:!0,end:!0},Rne=/[.+*?^${}()[\]/\\]/g;function Dne(t,r){const e=or({},Pne,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(Rne,"\\$&"),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||Vx;if(v!==Vx){h+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${A}" (${v}): `+y.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 Nne(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 Mne(t,r){let e=0;const n=t.score,i=r.score;for(;e<n.length&&e<i.length;){const o=Nne(n[e],i[e]);if(o)return o;e++}if(Math.abs(i.length-n.length)===1){if(Gx(n))return 1;if(Gx(i))return-1}return i.length-n.length}function Gx(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const Bne={type:0,value:""},Fne=/[a-zA-Z0-9_]/;function Lne(t){if(!t)return[[]];if(t==="/")return[[Bne]];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:Fne.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 zne(t,r,e){const n=Dne(Lne(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 jne(t,r){const e=[],n=new Map;r=Ux({strict:!1,end:!0,sensitive:!1},r);function i(u){return n.get(u)}function o(u,c,d){const h=!d,A=Vne(u);A.aliasOf=d&&d.record;const f=Ux(r,u),C=[A];if("alias"in u){const p=typeof u.alias=="string"?[u.alias]:u.alias;for(const y of p)C.push(or({},A,{components:d?d.record.components:A.components,path:y,aliasOf:d?d.record:A}))}let I,v;for(const p of C){const{path:y}=p;if(c&&y[0]!=="/"){const b=c.record.path,S=b[b.length-1]==="/"?"":"/";p.path=c.record.path+(y&&S+y)}if(I=zne(p,c,f),d?d.alias.push(I):(v=v||I,v!==I&&v.alias.push(I),h&&u.name&&!Hx(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)}:kh}function a(u){if(u8(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&&Mne(u,e[c])>=0&&(u.record.path!==e[c].record.path||!d8(u,e[c]));)c++;e.splice(c,0,u),u.record.name&&!Hx(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(Wx(c.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&Wx(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:Wne(C)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:g,removeRoute:a,getRoutes:s,getRecordMatcher:i}}function Wx(t,r){const e={};for(const n of r)n in t&&(e[n]=t[n]);return e}function Vne(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Gne(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 Gne(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 Hx(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Wne(t){return t.reduce((r,e)=>or(r,e.meta),{})}function Ux(t,r){const e={};for(const n in t)e[n]=n in r?r[n]:t[n];return e}function d8(t,r){return r.children.some(e=>e===t||d8(t,e))}const h8=/#/g,Hne=/&/g,Une=/\//g,Zne=/=/g,Kne=/\?/g,A8=/\+/g,Yne=/%5B/g,Xne=/%5D/g,f8=/%5E/g,Qne=/%60/g,C8=/%7B/g,qne=/%7C/g,I8=/%7D/g,Jne=/%20/g;function C2(t){return encodeURI(""+t).replace(qne,"|").replace(Yne,"[").replace(Xne,"]")}function eie(t){return C2(t).replace(C8,"{").replace(I8,"}").replace(f8,"^")}function n_(t){return C2(t).replace(A8,"%2B").replace(Jne,"+").replace(h8,"%23").replace(Hne,"%26").replace(Qne,"`").replace(C8,"{").replace(I8,"}").replace(f8,"^")}function tie(t){return n_(t).replace(Zne,"%3D")}function rie(t){return C2(t).replace(h8,"%23").replace(Kne,"%3F")}function nie(t){return t==null?"":rie(t).replace(Une,"%2F")}function op(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function iie(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(A8," "),a=o.indexOf("="),s=op(a<0?o:o.slice(0,a)),l=a<0?null:op(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 Zx(t){let r="";for(let e in t){const n=t[e];if(e=tie(e),n==null){n!==void 0&&(r+=(r.length?"&":"")+e);continue}(po(n)?n.map(o=>o&&n_(o)):[n&&n_(n)]).forEach(o=>{o!==void 0&&(r+=(r.length?"&":"")+e,o!=null&&(r+="="+o))})}return r}function oie(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 aie=Symbol(""),Kx=Symbol(""),xm=Symbol(""),I2=Symbol(""),i_=Symbol("");function rh(){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):xne(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 Lb(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(sie(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=fne(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 sie(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Yx(t){const r=Er(xm),e=Er(I2),n=X(()=>r.resolve(m(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=Xx(l[g-2]);return g>1&&Xx(u)===h&&c[c.length-1].path!==h?c.findIndex(Tc.bind(null,l[g-2])):d}),o=X(()=>i.value>-1&&uie(e.params,n.value.params)),a=X(()=>i.value>-1&&i.value===e.matched.length-1&&g8(e.params,n.value.params));function s(l={}){return gie(l)?r[m(t.replace)?"replace":"push"](m(t.to)).catch(kh):Promise.resolve()}return{route:n,href:X(()=>n.value.href),isActive:o,isExactActive:a,navigate:s}}const lie=$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:Yx,setup(t,{slots:r}){const e=Ys(Yx(t)),{options:n}=Er(xm),i=X(()=>({[Qx(t.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[Qx(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const o=r.default&&r.default(e);return t.custom?o:ld("a",{"aria-current":e.isExactActive?t.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:i.value},o)}}}),v8=lie;function gie(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 uie(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 Xx(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Qx=(t,r,e)=>t??r??e,cie=$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(i_),i=X(()=>t.route||n.value),o=Er(Kx,0),a=X(()=>{let g=m(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(Kx,X(()=>a.value+1)),pa(aie,s),pa(i_,i);const l=W();return tt(()=>[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 qx(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=ld(d,or({},A,r,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(c.instances[u]=null)},ref:l}));return qx(e.default,{Component:C,route:g})||C}}});function qx(t,r){if(!t)return null;const e=t(r);return e.length===1?e[0]:e}const die=cie;function hie(t){const r=jne(t.routes,t),e=t.parseQuery||iie,n=t.stringifyQuery||Zx,i=t.history,o=rh(),a=rh(),s=rh(),l=oa(ts);let g=ts;Mu&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mb.bind(null,U=>""+U),c=Mb.bind(null,nie),d=Mb.bind(null,op);function h(U,ie){let M,D;return u8(U)?(M=r.getRecordMatcher(U),D=ie):D=U,r.addRoute(D,M)}function A(U){const ie=r.getRecordMatcher(U);ie&&r.removeRoute(ie)}function f(){return r.getRoutes().map(U=>U.record)}function C(U){return!!r.getRecordMatcher(U)}function I(U,ie){if(ie=or({},ie||l.value),typeof U=="string"){const x=Bb(e,U,ie.path),j=r.resolve({path:x.path},ie),Z=i.createHref(x.fullPath);return or(x,j,{params:d(j.params),hash:op(x.hash),redirectedFrom:void 0,href:Z})}let M;if("path"in U)M=or({},U,{path:Bb(e,U.path,ie.path).path});else{const x=or({},U.params);for(const j in x)x[j]==null&&delete x[j];M=or({},U,{params:c(x)}),ie.params=c(ie.params)}const D=r.resolve(M,ie),B=U.hash||"";D.params=u(d(D.params));const $=vne(n,or({},U,{hash:eie(B),path:D.path})),E=i.createHref($);return or({fullPath:$,hash:B,query:n===Zx?oie(U.query):U.query||{}},D,{redirectedFrom:void 0,href:E})}function v(U){return typeof U=="string"?Bb(e,U,l.value.path):or({},U)}function p(U,ie){if(g!==U)return Oc(8,{from:ie,to:U})}function y(U){return N(U)}function b(U){return y(or(v(U),{replace:!0}))}function S(U){const ie=U.matched[U.matched.length-1];if(ie&&ie.redirect){const{redirect:M}=ie;let D=typeof M=="function"?M(U):M;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=v(D):{path:D},D.params={}),or({query:U.query,hash:U.hash,params:"path"in D?{}:U.params},D)}}function N(U,ie){const M=g=I(U),D=l.value,B=U.state,$=U.force,E=U.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!$&&pne(n,D,M)&&(Z=Oc(16,{to:j,from:D}),Fe(D,D,!0,!1)),(Z?Promise.resolve(Z):O(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(U,ie){const M=p(U,ie);return M?Promise.reject(M):Promise.resolve()}function _(U){const ie=Ge.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(U):U()}function O(U,ie){let M;const[D,B,$]=Aie(U,ie);M=Lb(D.reverse(),"beforeRouteLeave",U,ie);for(const x of D)x.leaveGuards.forEach(j=>{M.push(Cs(j,U,ie))});const E=k.bind(null,U,ie);return M.push(E),ht(M).then(()=>{M=[];for(const x of o.list())M.push(Cs(x,U,ie));return M.push(E),ht(M)}).then(()=>{M=Lb(B,"beforeRouteUpdate",U,ie);for(const x of B)x.updateGuards.forEach(j=>{M.push(Cs(j,U,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,U,ie));else M.push(Cs(x.beforeEnter,U,ie));return M.push(E),ht(M)}).then(()=>(U.matched.forEach(x=>x.enterCallbacks={}),M=Lb($,"beforeRouteEnter",U,ie),M.push(E),ht(M))).then(()=>{M=[];for(const x of a.list())M.push(Cs(x,U,ie));return M.push(E),ht(M)}).catch(x=>ha(x,8)?x:Promise.reject(x))}function P(U,ie,M){s.list().forEach(D=>_(()=>D(U,ie,M)))}function R(U,ie,M,D,B){const $=p(U,ie);if($)return $;const E=ie===ts,x=Mu?history.state:{};M&&(D||E?i.replace(U.fullPath,or({scroll:E&&x&&x.scroll},B)):i.push(U.fullPath,B)),l.value=U,Fe(U,ie,M,E),We()}let L;function te(){L||(L=i.listen((U,ie,M)=>{if(!it.listening)return;const D=I(U),B=S(D);if(B){N(or(B,{replace:!0}),D).catch(kh);return}g=D;const $=l.value;Mu&&Tne(zx($.fullPath,M.delta),Ene()),O(D,$).catch(E=>ha(E,12)?E:ha(E,2)?(N(E.to,D).then(x=>{ha(x,20)&&!M.delta&&M.type===sA.pop&&i.go(-1,!1)}).catch(kh),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===sA.pop&&ha(E,20)&&i.go(-1,!1)),P(D,$,E)}).catch(kh)}))}let H=rh(),V=rh(),Q;function Ie(U,ie,M){We(U);const D=V.list();return D.length?D.forEach(B=>B(U,ie,M)):console.error(U),Promise.reject(U)}function Re(){return Q&&l.value!==ts?Promise.resolve():new Promise((U,ie)=>{H.add([U,ie])})}function We(U){return Q||(Q=!U,te(),H.list().forEach(([ie,M])=>U?M(U):ie()),H.reset()),U}function Fe(U,ie,M,D){const{scrollBehavior:B}=t;if(!Mu||!B)return Promise.resolve();const $=!M&&One(zx(U.fullPath,0))||(D||!M)&&history.state&&history.state.scroll||null;return _n().then(()=>B(U,ie,$)).then(E=>E&&Sne(E)).catch(E=>Ie(E,U,ie))}const ye=U=>i.go(U);let je;const Ge=new Set,it={currentRoute:l,listening:!0,addRoute:h,removeRoute:A,hasRoute:C,getRoutes:f,resolve:I,options:t,push:y,replace:b,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:V.add,isReady:Re,install(U){const ie=this;U.component("RouterLink",v8),U.component("RouterView",die),U.config.globalProperties.$router=ie,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>m(l)}),Mu&&!je&&l.value===ts&&(je=!0,y(i.location).catch(B=>{}));const M={};for(const B in ts)Object.defineProperty(M,B,{get:()=>l.value[B],enumerable:!0});U.provide(xm,ie),U.provide(I2,KS(M)),U.provide(i_,l);const D=U.unmount;Ge.add(U),U.unmount=function(){Ge.delete(U),Ge.size<1&&(g=ts,L&&L(),L=null,l.value=ts,je=!1,Q=!1),D()}}};function ht(U){return U.reduce((ie,M)=>ie.then(()=>_(M)),Promise.resolve())}return it}function Aie(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 gd(){return Er(xm)}function Pm(){return Er(I2)}const fie="modulepreload",Cie=function(t,r){return new URL(t,r).href},Jx={},yn=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=Cie(a,n),a in Jx)return;Jx[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":fie,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 Iie(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 yn(()=>import(e),__vite__mapDeps([]),import.meta.url)}catch{r&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}const vie=["src","alt"],pie=["title"],XA=$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?:/))?(T(),F("img",bn({key:0,style:{width:"1em",height:"1em"}},r.$attrs,{src:r.icon,alt:r.title}),null,16,vie)):(T(),F("div",bn({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,pie))}}),mie=["top","right","bottom","left"],eP=["start","end"],tP=mie.reduce((t,r)=>t.concat(r,r+"-"+eP[0],r+"-"+eP[1]),[]),lA=Math.min,Fl=Math.max,yie={left:"right",right:"left",bottom:"top",top:"bottom"},bie={start:"end",end:"start"};function o_(t,r,e){return Fl(t,lA(r,e))}function Gg(t,r){return typeof t=="function"?t(r):t}function ta(t){return t.split("-")[0]}function Io(t){return t.split("-")[1]}function p8(t){return t==="x"?"y":"x"}function v2(t){return t==="y"?"height":"width"}function QA(t){return["top","bottom"].includes(ta(t))?"y":"x"}function p2(t){return p8(QA(t))}function m8(t,r,e){e===void 0&&(e=!1);const n=Io(t),i=p2(t),o=v2(i);let a=i==="x"?n===(e?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[o]>r.floating[o]&&(a=sp(a)),[a,sp(a)]}function $ie(t){const r=sp(t);return[ap(t),r,ap(r)]}function ap(t){return t.replace(/start|end/g,r=>bie[r])}function wie(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 _ie(t,r,e,n){const i=Io(t);let o=wie(ta(t),e==="start",n);return i&&(o=o.map(a=>a+"-"+i),r&&(o=o.concat(o.map(ap)))),o}function sp(t){return t.replace(/left|right|bottom|top/g,r=>yie[r])}function Eie(t){return{top:0,right:0,bottom:0,left:0,...t}}function y8(t){return typeof t!="number"?Eie(t):{top:t,right:t,bottom:t,left:t}}function xh(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function rP(t,r,e){let{reference:n,floating:i}=t;const o=QA(r),a=p2(r),s=v2(a),l=ta(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(Io(r)){case"start":h[a]-=d*(e&&g?-1:1);break;case"end":h[a]+=d*(e&&g?-1:1);break}return h}const Sie=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}=rP(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:y,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],...y}},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}=rP(g,d,l)),f=-1;continue}}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};async function Rm(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}=Gg(r,t),A=y8(h),C=s[d?c==="floating"?"reference":"floating":c],I=xh(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)),y=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=xh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:p,strategy:l}):v);return{top:(I.top-b.top+A.top)/y.y,bottom:(b.bottom-I.bottom+A.bottom)/y.y,left:(I.left-b.left+A.left)/y.x,right:(b.right-I.right+A.right)/y.x}}const Tie=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}=Gg(t,r)||{};if(l==null)return{};const u=y8(g),c={x:e,y:n},d=p2(i),h=v2(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],y=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-y/2,k=S/2-A[h]/2-1,_=lA(u[C],k),O=lA(u[I],k),P=_,R=S-A[h]-O,L=S/2-A[h]/2+N,te=o_(P,L,R),V=Io(i)!=null&&L!=te&&o.reference[h]/2-(L<P?_:O)-A[h]/2<0?L<P?P-L:R-L:0;return{[d]:c[d]-V,data:{[d]:te,centerOffset:L-te+V}}}});function Oie(t,r,e){return(t?[...e.filter(i=>Io(i)===t),...e.filter(i=>Io(i)!==t)]:e.filter(i=>ta(i)===i)).filter(i=>t?Io(i)===t||(r?ap(i)!==i:!1):!0)}const kie=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=tP,autoAlignment:h=!0,...A}=Gg(t,r),f=c!==void 0||d===tP?Oie(c||null,h,d):d,C=await Rm(r,A),I=((e=a.autoPlacement)==null?void 0:e.index)||0,v=f[I];if(v==null)return{};const p=m8(v,o,await(l.isRTL==null?void 0:l.isRTL(g.floating)));if(s!==v)return{reset:{placement:f[0]}};const y=[C[ta(v)],C[p[0]],C[p[1]]],b=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:v,overflows:y}],S=f[I+1];if(S)return{data:{index:I+1,overflows:b},reset:{placement:S}};const N=b.map(O=>{const P=Io(O.placement);return[O.placement,P&&u?O.overflows.slice(0,2).reduce((R,L)=>R+L,0):O.overflows[0],O.overflows]}).sort((O,P)=>O[1]-P[1]),_=((i=N.filter(O=>O[2].slice(0,Io(O[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:_}}:{}}}},xie=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}=Gg(t,r),C=ta(n),I=ta(a)===a,v=await(s.isRTL==null?void 0:s.isRTL(l.floating)),p=c||(I||!A?[sp(a)]:$ie(a));!c&&h!=="none"&&p.push(..._ie(a,A,h,v));const y=[a,...p],b=await Rm(r,f),S=[];let N=((e=i.flip)==null?void 0:e.overflows)||[];if(g&&S.push(b[C]),u){const P=m8(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=y[P];if(R)return{data:{index:P,overflows:N},reset:{placement:R}};let L=(_=N.filter(te=>te.overflows[0]<=0).sort((te,H)=>te.overflows[1]-H.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(d){case"bestFit":{var O;const te=(O=N.map(H=>[H.placement,H.overflows.filter(V=>V>0).reduce((V,Q)=>V+Q,0)]).sort((H,V)=>H[1]-V[1])[0])==null?void 0:O[0];te&&(L=te);break}case"initialPlacement":L=a;break}if(n!==L)return{reset:{placement:L}}}return{}}}};async function Pie(t,r){const{placement:e,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=ta(e),s=Io(e),l=QA(e)==="y",g=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,c=Gg(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 Rie=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:e,y:n}=r,i=await Pie(r,t);return{x:e+i.x,y:n+i.y,data:i}}}},Die=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}=Gg(t,r),g={x:e,y:n},u=await Rm(r,l),c=QA(ta(i)),d=p8(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=o_(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=o_(v,A,p)}const f=s.fn({...r,[d]:h,[c]:A});return{...f,data:{x:f.x-e,y:f.y-n}}}}},Nie=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}=Gg(t,r),l=await Rm(r,s),g=ta(e),u=Io(e),c=QA(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,y=I;if(c){const S=d-l.left-l.right;y=u||v?lA(I,S):S}else{const S=h-l.top-l.bottom;p=u||v?lA(C,S):S}if(v&&!u){const S=Fl(l.left,0),N=Fl(l.right,0),k=Fl(l.top,0),_=Fl(l.bottom,0);c?y=d-2*(S!==0||N!==0?S+N:Fl(l.left,l.right)):p=h-2*(k!==0||_!==0?k+_:Fl(l.top,l.bottom))}await a({...r,availableWidth:y,availableHeight:p});const b=await i.getDimensions(o.floating);return d!==b.width||h!==b.height?{reset:{rects:!0}}:{}}}};function zi(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Ho(t){return zi(t).getComputedStyle(t)}const nP=Math.min,Ph=Math.max,lp=Math.round;function b8(t){const r=Ho(t);let e=parseFloat(r.width),n=parseFloat(r.height);const i=t.offsetWidth,o=t.offsetHeight,a=lp(e)!==i||lp(n)!==o;return a&&(e=i,n=o),{width:e,height:n,fallback:a}}function el(t){return w8(t)?(t.nodeName||"").toLowerCase():""}let DC;function $8(){if(DC)return DC;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(DC=t.brands.map(r=>r.brand+"/"+r.version).join(" "),DC):navigator.userAgent}function Uo(t){return t instanceof zi(t).HTMLElement}function xs(t){return t instanceof zi(t).Element}function w8(t){return t instanceof zi(t).Node}function iP(t){return typeof ShadowRoot>"u"?!1:t instanceof zi(t).ShadowRoot||t instanceof ShadowRoot}function Dm(t){const{overflow:r,overflowX:e,overflowY:n,display:i}=Ho(t);return/auto|scroll|overlay|hidden|clip/.test(r+n+e)&&!["inline","contents"].includes(i)}function Mie(t){return["table","td","th"].includes(el(t))}function a_(t){const r=/firefox/i.test($8()),e=Ho(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 _8(){return!/^((?!chrome|android).)*safari/i.test($8())}function m2(t){return["html","body","#document"].includes(el(t))}function E8(t){return xs(t)?t:t.contextElement}const S8={x:1,y:1};function gc(t){const r=E8(t);if(!Uo(r))return S8;const e=r.getBoundingClientRect(),{width:n,height:i,fallback:o}=b8(r);let a=(o?lp(e.width):e.width)/n,s=(o?lp(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function gA(t,r,e,n){var i,o;r===void 0&&(r=!1),e===void 0&&(e=!1);const a=t.getBoundingClientRect(),s=E8(t);let l=S8;r&&(n?xs(n)&&(l=gc(n)):l=gc(t));const g=s?zi(s):window,u=!_8()&&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=zi(s),C=n&&xs(n)?zi(n):n;let I=f.frameElement;for(;I&&n&&C!==f;){const v=gc(I),p=I.getBoundingClientRect(),y=getComputedStyle(I);p.x+=(I.clientLeft+parseFloat(y.paddingLeft))*v.x,p.y+=(I.clientTop+parseFloat(y.paddingTop))*v.y,c*=v.x,d*=v.y,h*=v.x,A*=v.y,c+=p.x,d+=p.y,I=zi(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((w8(t)?t.ownerDocument:t.document)||window.document).documentElement}function Nm(t){return xs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function T8(t){return gA(Ps(t)).left+Nm(t).scrollLeft}function uA(t){if(el(t)==="html")return t;const r=t.assignedSlot||t.parentNode||iP(t)&&t.host||Ps(t);return iP(r)?r.host:r}function O8(t){const r=uA(t);return m2(r)?r.ownerDocument.body:Uo(r)&&Dm(r)?r:O8(r)}function gp(t,r){var e;r===void 0&&(r=[]);const n=O8(t),i=n===((e=t.ownerDocument)==null?void 0:e.body),o=zi(n);return i?r.concat(o,o.visualViewport||[],Dm(n)?n:[]):r.concat(n,gp(n))}function oP(t,r,e){return r==="viewport"?xh(function(n,i){const o=zi(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=_8();(d||!d&&i==="fixed")&&(u=s.offsetLeft,c=s.offsetTop)}return{width:l,height:g,x:u,y:c}}(t,e)):xs(r)?xh(function(n,i){const o=gA(n,!0,i==="fixed"),a=o.top+n.clientTop,s=o.left+n.clientLeft,l=Uo(n)?gc(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)):xh(function(n){const i=Ps(n),o=Nm(n),a=n.ownerDocument.body,s=Ph(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),l=Ph(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let g=-o.scrollLeft+T8(n);const u=-o.scrollTop;return Ho(a).direction==="rtl"&&(g+=Ph(i.clientWidth,a.clientWidth)-s),{width:s,height:l,x:g,y:u}}(Ps(t)))}function aP(t){return Uo(t)&&Ho(t).position!=="fixed"?t.offsetParent:null}function sP(t){const r=zi(t);let e=aP(t);for(;e&&Mie(e)&&Ho(e).position==="static";)e=aP(e);return e&&(el(e)==="html"||el(e)==="body"&&Ho(e).position==="static"&&!a_(e))?r:e||function(n){let i=uA(n);for(;Uo(i)&&!m2(i);){if(a_(i))return i;i=uA(i)}return null}(t)||r}function Bie(t,r,e){const n=Uo(r),i=Ps(r),o=gA(t,!0,e==="fixed",r);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&e!=="fixed")if((el(r)!=="body"||Dm(i))&&(a=Nm(r)),Uo(r)){const l=gA(r,!0);s.x=l.x+r.clientLeft,s.y=l.y+r.clientTop}else i&&(s.x=T8(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}const Fie={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=gp(g).filter(C=>xs(C)&&el(C)!=="body"),h=null;const A=Ho(g).position==="fixed";let f=A?uA(g):g;for(;xs(f)&&!m2(f);){const C=Ho(f),I=a_(f);(A?I||h:I||C.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=C:d=d.filter(v=>v!==f),f=uA(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=oP(r,u,i);return g.top=Ph(c.top,g.top),g.right=nP(c.right,g.right),g.bottom=nP(c.bottom,g.bottom),g.left=Ph(c.left,g.left),g},oP(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=Uo(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")&&((el(e)!=="body"||Dm(o))&&(a=Nm(e)),Uo(e))){const g=gA(e);s=gc(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 Uo(t)?b8(t):t.getBoundingClientRect()},getOffsetParent:sP,getDocumentElement:Ps,getScale:gc,async getElementRects(t){let{reference:r,floating:e,strategy:n}=t;const i=this.getOffsetParent||sP,o=this.getDimensions;return{reference:Bie(r,await i(e),n),floating:{x:0,y:0,...await o(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Ho(t).direction==="rtl"},Lie=(t,r,e)=>{const n=new Map,i={platform:Fie,...e},o={...i.platform,_c:n};return Sie(t,r,{...i,platform:o})},ig={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 cA(t,r){let e=ig.themes[t]||{},n;do n=e[r],typeof n>"u"?e.$extend?e=ig.themes[e.$extend]||{}:(e=null,n=ig[r]):e=null;while(e);return n}function zie(t){const r=[t];let e=ig.themes[t]||{};do e.$extend&&!e.$resetCss?(r.push(e.$extend),e=ig.themes[e.$extend]||{}):e=null;while(e);return r.map(n=>`v-popper--theme-${n}`)}function lP(t){const r=[t];let e=ig.themes[t]||{};do e.$extend?(r.push(e.$extend),e=ig.themes[e.$extend]||{}):e=null;while(e);return r}let $g=!1;if(typeof window<"u"){$g=!1;try{const t=Object.defineProperty({},"passive",{get(){$g=!0}});window.addEventListener("test",null,t)}catch{}}let k8=!1;typeof window<"u"&&typeof navigator<"u"&&(k8=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const x8=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),gP={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},uP={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function cP(t,r){const e=t.indexOf(r);e!==-1&&t.splice(e,1)}function zb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const go=[];let Dl=null;const dP={};function hP(t){let r=dP[t];return r||(r=dP[t]=[]),r}let s_=function(){};typeof window<"u"&&(s_=window.Element);function yt(t){return function(r){return cA(r.theme,t)}}const jb="__floating-vue__popper",P8=()=>$e({name:"VPopper",provide(){return{[jb]:{parentPopper:this}}},inject:{[jb]:{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:yt("disabled")},positioningDisabled:{type:Boolean,default:yt("positioningDisabled")},placement:{type:String,default:yt("placement"),validator:t=>x8.includes(t)},delay:{type:[String,Number,Object],default:yt("delay")},distance:{type:[Number,String],default:yt("distance")},skidding:{type:[Number,String],default:yt("skidding")},triggers:{type:Array,default:yt("triggers")},showTriggers:{type:[Array,Function],default:yt("showTriggers")},hideTriggers:{type:[Array,Function],default:yt("hideTriggers")},popperTriggers:{type:Array,default:yt("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:yt("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:yt("popperHideTriggers")},container:{type:[String,Object,s_,Boolean],default:yt("container")},boundary:{type:[String,s_],default:yt("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:yt("strategy")},autoHide:{type:[Boolean,Function],default:yt("autoHide")},handleResize:{type:Boolean,default:yt("handleResize")},instantMove:{type:Boolean,default:yt("instantMove")},eagerMount:{type:Boolean,default:yt("eagerMount")},popperClass:{type:[String,Array,Object],default:yt("popperClass")},computeTransformOrigin:{type:Boolean,default:yt("computeTransformOrigin")},autoMinSize:{type:Boolean,default:yt("autoMinSize")},autoSize:{type:[Boolean,String],default:yt("autoSize")},autoMaxSize:{type:Boolean,default:yt("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:yt("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:yt("preventOverflow")},overflowPadding:{type:[Number,String],default:yt("overflowPadding")},arrowPadding:{type:[Number,String],default:yt("arrowPadding")},arrowOverflow:{type:Boolean,default:yt("arrowOverflow")},flip:{type:Boolean,default:yt("flip")},shift:{type:Boolean,default:yt("shift")},shiftCrossAxis:{type:Boolean,default:yt("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:yt("noAutoFocus")},disposeTimeout:{type:Number,default:yt("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[jb])==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(Rie({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(kie({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(Die({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(xie({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(Tie({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(Nie({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 Lie(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),Dl&&this.instantMove&&Dl.instantMove&&Dl!==this.parentPopper){Dl.$_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&&(Dl=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 zb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...gp(this.$_referenceNode),...gp(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<go.length;e++)r=go[e],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}go.push(this),document.body.classList.add("v-popper--some-open");for(const r of lP(this.theme))hP(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 zb(),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,cP(go,this),go.length===0&&document.body.classList.remove("v-popper--some-open");for(const e of lP(this.theme)){const n=hP(e);cP(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}Dl===this&&(Dl=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 zb(),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,gP,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],gP,this.popperTriggers,this.popperShowTriggers,t);const r=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,uP,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],uP,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,$g?{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(Rh>=t.left&&Rh<=t.right&&Dh>=t.top&&Dh<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),e=Rh-os,n=Dh-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 NC(os,as,o,a,r.left,r.top,r.left,r.bottom)||NC(os,as,o,a,r.left,r.top,r.right,r.top)||NC(os,as,o,a,r.right,r.top,r.right,r.bottom)||NC(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"&&(k8?(document.addEventListener("touchstart",AP,$g?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Vie,$g?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",AP,!0),window.addEventListener("click",jie,!0)),window.addEventListener("resize",Hie));function AP(t){for(let r=0;r<go.length;r++){const e=go[r];try{const n=e.popperNode();e.$_mouseDownContains=n.contains(t.target)}catch{}}}function jie(t){R8(t)}function Vie(t){R8(t,!0)}function R8(t,r=!1){const e={};for(let n=go.length-1;n>=0;n--){const i=go[n];try{const o=i.$_containsGlobalTarget=Gie(i,t);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!e[i.randomId]&&fP(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&&fP(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,r),a=a.parentPopper}})}catch{}}}function Gie(t,r){const e=t.popperNode();return t.$_mouseDownContains||e.contains(r.target)}function fP(t,r,e){return e.closeAllPopover||e.closePopover&&r||Wie(t,e)&&!r}function Wie(t,r){if(typeof t.autoHide=="function"){const e=t.autoHide(r);return t.lastAutoHide=e,e}return t.autoHide}function Hie(t){for(let r=0;r<go.length;r++)go[r].$_computePosition(t)}let os=0,as=0,Rh=0,Dh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{os=Rh,as=Dh,Rh=t.clientX,Dh=t.clientY},$g?{passive:!0}:void 0);function NC(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 Uie={extends:P8()},Mm=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e};function Zie(t,r,e,n,i,o){return T(),F("div",{ref:"reference",class:_e(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Xe(t.$slots,"default",WA(sd(t.slotData)))],2)}const Kie=Mm(Uie,[["render",Zie]]);function Yie(){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 l_(){l_.init||(l_.init=!0,gv=Yie()!==-1)}var Bm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){l_(),_n(()=>{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 Xie=oj();Im("data-v-b329ee4c");const Qie={class:"resize-observer",tabindex:"-1"};vm();const qie=Xie((t,r,e,n,i,o)=>(T(),re("div",Qie)));Bm.render=qie;Bm.__scopeId="data-v-b329ee4c";Bm.__file="src/components/ResizeObserver.vue";const D8=(t="theme")=>({computed:{themeClass(){return zie(this[t])}}}),Jie=$e({name:"VPopperContent",components:{ResizeObserver:Bm},mixins:[D8()],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}}}),eoe=["id","aria-hidden","tabindex","data-popper-placement"],toe={ref:"inner",class:"v-popper__inner"},roe=w("div",{class:"v-popper__arrow-outer"},null,-1),noe=w("div",{class:"v-popper__arrow-inner"},null,-1),ioe=[roe,noe];function ooe(t,r,e,n,i,o){const a=$i("ResizeObserver");return T(),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]=Dj(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",toe,[t.mounted?(T(),F(me,{key:0},[w("div",null,[Xe(t.$slots,"default")]),t.handleResize?(T(),re(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)},ioe,4)],4)],46,eoe)}const N8=Mm(Jie,[["render",ooe]]),M8={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)}}},aoe=$e({name:"VPopperWrapper",components:{Popper:Kie,PopperContent:N8},mixins:[M8,D8("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 soe(t,r,e,n,i,o){const a=$i("PopperContent"),s=$i("Popper");return T(),re(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 y2=Mm(aoe,[["render",soe]]),loe={...y2,name:"VDropdown",vPopperTheme:"dropdown"};({...y2});const goe={...y2,name:"VTooltip",vPopperTheme:"tooltip"},uoe=$e({name:"VTooltipDirective",components:{Popper:P8(),PopperContent:N8},mixins:[M8],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>cA(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>cA(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}}}),coe=["innerHTML"],doe=["textContent"];function hoe(t,r,e,n,i,o){const a=$i("PopperContent"),s=$i("Popper");return T(),re(s,bn({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?(T(),F("div",{key:0,innerHTML:t.finalContent},null,8,coe)):(T(),F("div",{key:1,textContent:we(t.finalContent)},null,8,doe))]),_: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 Aoe=Mm(uoe,[["render",hoe]]),B8="v-popper--has-tooltip";function foe(t,r){let e=t.placement;if(!e&&r)for(const n of x8)r[n]&&(e=n);return e||(e=cA(t.theme||"tooltip","placement")),e}function F8(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=foe(n,e),n.targetNodes=()=>[t],n.referenceNode=()=>t,n}let Vb,dA,Coe=0;function Ioe(){if(Vb)return;dA=W([]),Vb=g2({name:"VTooltipDirectiveApp",setup(){return{directives:dA}},render(){return this.directives.map(r=>ld(Aoe,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Vb.mount(t)}function voe(t,r,e){Ioe();const n=W(F8(t,r,e)),i=W(!1),o={id:Coe++,options:n,shown:i};return dA.value.push(o),t.classList&&t.classList.add(B8),t.$_popper={options:n,item:o,show(){i.value=!0},hide(){i.value=!1}}}function L8(t){if(t.$_popper){const r=dA.value.indexOf(t.$_popper.item);r!==-1&&dA.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(B8)}function CP(t,{value:r,modifiers:e}){const n=F8(t,r,e);if(!n.content||cA(n.theme||"tooltip","disabled"))L8(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=n):i=voe(t,r,e),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?i.show():i.hide())}}const poe={beforeMount:CP,updated:CP,beforeUnmount(t){L8(t)}};function IP(t){t.addEventListener("click",z8),t.addEventListener("touchstart",j8,$g?{passive:!0}:!1)}function vP(t){t.removeEventListener("click",z8),t.removeEventListener("touchstart",j8),t.removeEventListener("touchend",V8),t.removeEventListener("touchcancel",G8)}function z8(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function j8(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",V8),r.addEventListener("touchcancel",G8)}}function V8(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 G8(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const moe={beforeMount(t,{value:r,modifiers:e}){t.$_closePopoverModifiers=e,(typeof r>"u"||r)&&IP(t)},updated(t,{value:r,oldValue:e,modifiers:n}){t.$_closePopoverModifiers=n,r!==e&&(typeof r>"u"||r?IP(t):vP(t))},beforeUnmount(t){vP(t)}},Zo=poe,W8=moe,yoe=loe,boe=goe,b2=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},$oe={},woe={class:"h-3 w-3 $ui-inline-fcc"},_oe=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),Eoe=[_oe];function Soe(t,r){return T(),F("div",woe,Eoe)}const H8=b2($oe,[["render",Soe]]),Toe={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=FJ(),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=fj(),u=X(()=>e.flat?l.flat[e.type]:e.outlined?l.outlined[e.type]:l.normal[e.type]);return(c,d)=>(T(),re(Xs(o.value),bn(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?(T(),re(H8,{key:0,class:"mt0.5 h-full w3"})):Xe(c.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),m(g).default?(T(),F("div",Toe,[Xe(c.$slots,"default")])):be("",!0),Xe(c.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),Ooe={},koe={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function xoe(t,r){return T(),F("span",koe,[Xe(t.$slots,"default")])}const pP=b2(Ooe,[["render",xoe]]),Pt=$e({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(r,e)=>(T(),re(Xs(r.inline?"span":"div"),{class:_e(["$ui-base",[r.icon,r.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function Fm(t){return N4()?(M4(t),!0):!1}function Poe(t,r,{enumerable:e=!1,unwrap:n=!0}={}){for(const[i,o]of Object.entries(r))i!=="value"&&(Le(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 Wi(t){return typeof t=="function"?t():m(t)}const U8=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Roe=t=>typeof t<"u",Doe=Object.prototype.toString,Noe=t=>Doe.call(t)==="[object Object]",up=()=>{},mP=Moe();function Moe(){var t,r;return U8&&((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 Z8(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 K8=t=>t();function Boe(t,r={}){let e,n,i=up;const o=a=>{clearTimeout(a),i(),i=up};return a=>{const s=Wi(t),l=Wi(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 Foe(t=K8){const r=W(!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 Loe(t){return t||ll()}function Y8(...t){if(t.length!==1)return q4(...t);const r=t[0];return typeof r=="function"?Va(JS(()=>({get:r,set:up}))):W(r)}function zoe(t,r=200,e={}){return Z8(Boe(r,e),t)}function joe(t,r=200,e={}){const n=W(t.value),i=zoe(()=>{n.value=t.value},r,e);return tt(t,()=>i()),n}function Voe(t,r={}){let e=t,n,i;const o=JS((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 Poe(o,{get:a,set:s,untrackedGet:()=>a(!1),silentSet:l=>s(l,!1),peek:()=>a(!1),lay:l=>s(l,!1)},{enumerable:!0})}function Goe(t,r,e={}){const{eventFilter:n=K8,...i}=e;return tt(t,Z8(n,r),i)}function Woe(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=Foe(n);return{stop:Goe(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function $2(t,r=!0,e){Loe()?_i(t,e):r?t():_n(t)}function Hoe(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=Le(t),o=W(t);function a(s){if(arguments.length)return o.value=s,o.value;{const l=Wi(e);return o.value=o.value===l?Wi(n):l,o.value}}return i?a:[o,a]}function $s(t){var r;const e=Wi(t);return(r=e?.$el)!=null?r:e}const tl=U8?window:void 0;function cp(...t){let r,e,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,n,i]=t,r=tl):[r,e,n,i]=t,!r)return up;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=tt(()=>[$s(r),Wi(i)],([u,c])=>{if(a(),!u)return;const d=Noe(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return Fm(g),g}function Uoe(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function X8(...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=tl,eventName:o="keydown",passive:a=!1,dedupe:s=!1}=n,l=Uoe(r);return cp(i,o,g=>{g.repeat&&Wi(s)||l(g)&&e(g)},a)}function Zoe(){const t=W(!1);return ll()&&_i(()=>{t.value=!0}),t}function Q8(t){const r=Zoe();return X(()=>(r.value,!!t()))}function Koe(t,r={}){const{window:e=tl}=r,n=Q8(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=W(!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(Wi(t)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return Fm(()=>{l(),s(),i=void 0}),o}function Yoe(t){return JSON.parse(JSON.stringify(t))}const MC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},BC="__vueuse_ssr_handlers__",Xoe=Qoe();function Qoe(){return BC in MC||(MC[BC]=MC[BC]||{}),MC[BC]}function q8(t,r){return Xoe[t]||r}function qoe(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 Joe={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()}},yP="vueuse-storage";function eae(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=tl,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?oa:W)(typeof r=="function"?r():r);if(!e)try{e=q8("getDefaultStorage",()=>{var _;return(_=tl)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=Wi(r),I=qoe(C),v=(i=n.serializer)!=null?i:Joe[I],{pause:p,resume:y}=Woe(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&$2(()=>{cp(c,"storage",k),cp(c,yP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const O=v.write(_),P=e.getItem(t);P!==O&&(e.setItem(t,O),c&&c.dispatchEvent(new CustomEvent(yP,{detail:{key:t,oldValue:P,newValue:O,storageArea:e}})))}}catch(O){h(O)}}function S(_){const O=_?_.newValue:e.getItem(t);if(O==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(O);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof O!="string"?O:v.read(O)}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(O){h(O)}finally{_?_n(y):y()}}}}}function tae(t){return Koe("(prefers-color-scheme: dark)",t)}function rae(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=tl,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=tae({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?Y8(n):eae(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=q8("updateHTMLAttrs",(y,b,S)=>{const N=typeof y=="string"?i?.document.querySelector(y):$s(y);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(O=>(O||"").split(/\s/g)).filter(Boolean).forEach(O=>{_.includes(O)?N.classList.add(O):N.classList.remove(O)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(y){var b;C(r,e,(b=c[y])!=null?b:y)}function v(y){t.onChanged?t.onChanged(y,I):I(y)}tt(f,v,{flush:"post",immediate:!0}),$2(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(y){A.value=y}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function nae(t,r,e={}){const{window:n=tl,...i}=e;let o;const a=Q8(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>$s(c)):[$s(t)]),g=tt(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 Fm(u),{isSupported:a,stop:u}}function iae(t,r={width:0,height:0},e={}){const{window:n=tl,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=W(r.width),s=W(r.height),{stop:l}=nae(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);$2(()=>{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=tt(()=>$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 Gb(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function J8(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:J8(e)}}function oae(t){const r=t||window.event,e=r.target;return J8(e)?!1:r.touches.length>1?!0:(r.preventDefault&&r.preventDefault(),!1)}const FC=new WeakMap;function aae(t,r=!1){const e=W(r);let n=null,i;tt(Y8(t),s=>{const l=Gb(Wi(s));if(l){const g=l;FC.get(g)||FC.set(g,i),e.value&&(g.style.overflow="hidden")}},{immediate:!0});const o=()=>{const s=Gb(Wi(t));!s||e.value||(mP&&(n=cp(s,"touchmove",l=>{oae(l)},{passive:!1})),s.style.overflow="hidden",e.value=!0)},a=()=>{var s;const l=Gb(Wi(t));!l||!e.value||(mP&&n?.(),l.style.overflow=(s=FC.get(l))!=null?s:"",FC.delete(l),e.value=!1)};return Fm(a),X({get(){return e.value},set(s){s?o():a()}})}function Wg(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=ll(),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):Yoe(p):p,I=()=>Roe(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),y=W(p);let b=!1;return tt(()=>t[r],S=>{b||(b=!0,y.value=C(S),_n(()=>b=!1))}),tt(y,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),y}else return X({get(){return I()},set(p){v(p)}})}const sae={class:"$ui-dark-toggle-vtr"},e6=$e({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const r=t,e=Wg(r,"isDark"),n=rae({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 _n()}).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)=>(T(),F("span",sae,[Xe(s.$slots,"default",WA(sd({mode:m(n),isDark:i.value,toggle:a})))]))}}),lae={},gae={class:"$ui-base border $ui-border-base rounded shadow-sm"};function uae(t,r){return T(),F("div",gae,[Xe(t.$slots,"default")])}const uv=b2(lae,[["render",uae]]),w2=$e({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean}},setup(t){return(r,e)=>(T(),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))}}),cae={class:"h7.5 w-full $ui-fbc"},dae={class:"text-4.5"},hae=w("div",{class:"i-carbon-close"},null,-1),Aae=[hae],fae={class:"content transition-all transition-duration-300"},Cae={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},Iae={class:"$ui-fcc"},vae=$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=Wg(e,"modelValue",r,{passive:!0}),i=aae(()=>window.document.documentElement);Nn(()=>{n.value?i.value=!0:i.value=!1});function o(){n.value&&e.autoClose&&(n.value=!1)}X8("Escape",()=>{o()});const a=W(!1);return _i(()=>a.value=!0),(s,l)=>a.value||s.mountTo==="body"?(T(),re(_j,{key:0,to:s.mountTo},[z(KA,{"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(()=>[m(n)?(T(),re(w2,{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",cae,[w("div",dae,[Xe(s.$slots,"title",{},()=>[ke(we(e.title),1)])]),s.closable?(T(),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},Aae)):be("",!0)]),w("div",fae,[Xe(s.$slots,"default")]),w("div",Cae,[Xe(s.$slots,"footer",{},()=>[Xe(s.$slots,"footer",{},()=>[w("div",Iae,[z(ot,{type:"primary",onClick:o},{default:G(()=>[ke(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur"])):be("",!0)]),_:3})],8,["to"])):be("",!0)}}),pae=["type","placeholder","disabled"],mae={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"},Wb="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=Wg(e,"modelValue",n),o=joe(X(()=>e.loading),e.loadingDebounceTime),a=Voe(!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=W();let u=!1;return Nn(()=>{o.value&&a.value?u=!0:!o.value&&u&&(u=!1,_n(()=>{a.value=!0}))}),_i(()=>{e.autoFocus&&(a.value=!0)}),Nn(()=>{var c;a.value&&((c=g.value)==null||c.focus())}),(c,d)=>(T(),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:m(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?(T(),F("div",{key:0,class:_e(Wb)},[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=>Le(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,pae),[[Wee,m(i)]]),m(o)?(T(),F("div",{key:1,class:_e(Wb)},[z(H8)])):c.rightIcon?(T(),F("div",{key:2,class:_e(Wb)},[z(Pt,{icon:c.rightIcon},null,8,["icon"])])):be("",!0),s.value?be("",!0):(T(),F("div",mae))],2))}}),yae={class:"overflow-hidden rounded-lg shadow-lg"},bae=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)=>(T(),re(m(yoe),{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",yae,[Xe(e.$slots,"popper",WA(sd({hide:i})),()=>[bae])])]),default:G(()=>[Xe(e.$slots,"default",{},()=>[z(ot,bn({...e.buttonProps,disabled:e.disabled},{class:e.buttonClass}),hj({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"]))}}),bP=$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((T(),re(ot,bn({...r,round:!1},{disabled:m(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"])),[[m(W8)]])}}),$ae={class:"$ui-fec gap2.5"},wae=$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=Wg(e,"modelValue",n);Nn(()=>{i.value||n("close")});function o(a=!1){(e.autoClose||a)&&(i.value=!1)}return(a,s)=>(T(),re(vae,{modelValue:m(i),"onUpdate:modelValue":s[2]||(s[2]=l=>Le(i)?i.value=l:null),width:a.width,height:a.height,title:a.title,closable:!1},{footer:G(()=>[w("div",$ae,[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"]))}}),_ae={class:"m1 min-w-35 w-auto flex flex-col"},Eae=["onClick"],Sae=w("div",{class:"i-mdi-chevron-down"},null,-1),dp=$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=fj(),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)=>(T(),re(kc,bn({label:a.value},{buttonProps:l.buttonProps,disabled:l.disabled}),hj({popper:G(()=>[w("div",_ae,[m(i).item?(T(!0),F(me,{key:0},vt(l.options,u=>(T(),F("div",{key:u.value,class:"cursor-pointer",onClick:c=>s(u)},[Xe(l.$slots,"item",WA(sd({item:u,active:l.multiple?o.value.includes(u.value):u.value===o.value,disabled:l.disabled})))],8,Eae))),128)):(T(!0),F(me,{key:1},vt(l.options,u=>rn((T(),re(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"])),[[m(W8),l.autoClose]])),128))])]),"button-icon-right":G(()=>[Sae]),_:2},[m(i).button?{name:"default",fn:G(()=>[Xe(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),$P=$e({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Wg(t,"modelValue",r),n=Hoe(e);return(i,o)=>(T(),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&&m(n)())},[Xe(i.$slots,"default"),w("div",{class:_e([{selected:m(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))}}),zu=$e({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:r}){const e=Wg(t,"modelValue",r);return(n,i)=>(T(),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",[m(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=!m(e))},[w("div",{class:_e([[m(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))}}),t6=$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}=iae(()=>typeof e.top=="string"?document.querySelector(e.top):e.top,void 0,{box:"border-box"}),o=Wg(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%"}};X8("Escape",()=>{e.closable&&(o.value=!1)});const s=X(()=>a[e.placement]),l=W(!1);return _i(()=>l.value=!0),(g,u)=>l.value||g.mountTo==="body"?(T(),re(_j,{key:0,to:g.mountTo},[z(KA,{"enter-from-class":`${s.value.transition}`,"leave-to-class":`${s.value.transition}`},{default:G(()=>[m(o)?(T(),re(w2,{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":`${m(i)}px`,height:["top","bottom"].includes(g.placement)?"auto":`calc(100% - ${m(i)}px)`}),onClick:u[1]||(u[1]=wn(()=>{},["stop"]))},[g.closable?(T(),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)}}),Tae=$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=W(!1);_i(()=>{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)=>(T(),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(KA,{"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?(T(),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))}}),Oae=$e({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(r,e)=>(T(),re(m(boe),bn({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 g_(t){const r=document.createElement("div");r.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(r);const e=t.onClose;function n(){fx(null,r)}t.onClose=()=>{n(),e?.(),document.body.removeChild(r)};const i=ld(Tae,t);fx(i,r)}function Na(t){return Array.isArray?Array.isArray(t):i6(t)==="[object Array]"}const kae=1/0;function xae(t){if(typeof t=="string")return t;let r=t+"";return r=="0"&&1/t==-kae?"-0":r}function Pae(t){return t==null?"":xae(t)}function Lo(t){return typeof t=="string"}function r6(t){return typeof t=="number"}function Rae(t){return t===!0||t===!1||Dae(t)&&i6(t)=="[object Boolean]"}function n6(t){return typeof t=="object"}function Dae(t){return n6(t)&&t!==null}function pi(t){return t!=null}function Hb(t){return!t.trim().length}function i6(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Nae="Incorrect 'index' type",Mae=t=>`Invalid value for key ${t}`,Bae=t=>`Pattern length exceeds max of ${t}.`,Fae=t=>`Missing ${t} property in key`,Lae=t=>`Property 'weight' in key '${t}' must be a positive integer`,wP=Object.prototype.hasOwnProperty;class zae{constructor(r){this._keys=[],this._keyMap={};let e=0;r.forEach(n=>{let i=o6(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 o6(t){let r=null,e=null,n=null,i=1,o=null;if(Lo(t)||Na(t))n=t,r=_P(t),e=u_(t);else{if(!wP.call(t,"name"))throw new Error(Fae("name"));const a=t.name;if(n=a,wP.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Lae(a));r=_P(a),e=u_(a),o=t.getFn}return{path:r,id:e,weight:i,src:n,getFn:o}}function _P(t){return Na(t)?t:t.split(".")}function u_(t){return Na(t)?t.join("."):t}function jae(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&&(Lo(g)||r6(g)||Rae(g)))e.push(Pae(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,Lo(r)?r.split("."):r,0),n?e:e[0]}const Vae={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Gae={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},Wae={location:0,threshold:.6,distance:100},Hae={useExtendedSearch:!1,getFn:jae,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Je={...Gae,...Vae,...Wae,...Hae};const Uae=/[^ ]+/g;function Zae(t=1,r=3){const e=new Map,n=Math.pow(10,r);return{get(i){const o=i.match(Uae).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=Zae(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,Lo(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();Lo(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)||Hb(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(Lo(u)&&!Hb(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(Lo(a)&&!Hb(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 a6(t,r,{getFn:e=Je.getFn,fieldNormWeight:n=Je.fieldNormWeight}={}){const i=new _2({getFn:e,fieldNormWeight:n});return i.setKeys(t.map(o6)),i.setSources(r),i.create(),i}function Kae(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 LC(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 Yae(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 Wl=32;function Xae(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>Wl)throw new Error(Bae(Wl));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=LC(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,y=u+c;const b=1<<u-1;for(let N=0;N<u;N+=1){let k=0,_=y;for(;k<_;)LC(r,{errors:N,currentLocation:d+_,expectedLocation:d,distance:i,ignoreLocation:g})<=h?k=_:y=_,_=Math.floor((y-k)/2+k);y=_;let O=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>=O;te-=1){let H=te-1,V=e[t.charAt(H)];if(f&&(C[H]=+!!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=LC(r,{errors:N,currentLocation:H,expectedLocation:d,distance:i,ignoreLocation:g}),p<=h)){if(h=p,A=H,A<=d)break;O=Math.max(1,2*d-A)}}if(LC(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=Yae(C,s);N.length?l&&(S.indices=N):S.isMatch=!1}return S}function Qae(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 s6{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:Qae(d),startIndex:h})},c=this.pattern.length;if(c>Wl){let d=0;const h=c%Wl,A=c-h;for(;d<A;)u(this.pattern.substr(d,Wl),d),d+=Wl;if(h){const f=c-Wl;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}=Xae(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 cl{constructor(r){this.pattern=r}static isMultiMatch(r){return EP(r,this.multiRegex)}static isSingleMatch(r){return EP(r,this.singleRegex)}search(){}}function EP(t,r){const e=t.match(r);return e?e[1]:null}class qae extends cl{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 Jae extends cl{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 ese extends cl{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 tse extends cl{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 rse extends cl{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 nse extends cl{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 l6 extends cl{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 s6(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 g6 extends cl{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 c_=[qae,g6,ese,tse,nse,rse,Jae,l6],SP=c_.length,ise=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ose="|";function ase(t,r={}){return t.split(ose).map(e=>{let n=e.trim().split(ise).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<SP;){const u=c_[g];let c=u.isMultiMatch(s);c&&(i.push(new u(c,r)),l=!0)}if(!l)for(g=-1;++g<SP;){const u=c_[g];let c=u.isSingleMatch(s);if(c){i.push(new u(c,r));break}}}return i})}const sse=new Set([l6.type,g6.type]);class lse{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=ase(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;sse.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 d_=[];function gse(...t){d_.push(...t)}function h_(t,r){for(let e=0,n=d_.length;e<n;e+=1){let i=d_[e];if(i.condition(t,r))return new i(t,r)}return new s6(t,r)}const hp={AND:"$and",OR:"$or"},A_={PATH:"$path",PATTERN:"$val"},f_=t=>!!(t[hp.AND]||t[hp.OR]),use=t=>!!t[A_.PATH],cse=t=>!Na(t)&&n6(t)&&!f_(t),TP=t=>({[hp.AND]:Object.keys(t).map(r=>({[r]:t[r]}))});function u6(t,r,{auto:e=!0}={}){const n=i=>{let o=Object.keys(i);const a=use(i);if(!a&&o.length>1&&!f_(i))return n(TP(i));if(cse(i)){const l=a?i[A_.PATH]:o[0],g=a?i[A_.PATTERN]:i[l];if(!Lo(g))throw new Error(Mae(l));const u={keyId:u_(l),pattern:g};return e&&(u.searcher=h_(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 f_(t)||(t=TP(t)),n(t)}function dse(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 hse(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 Ase(t,r){r.score=t.score}function fse(t,r,{includeMatches:e=Je.includeMatches,includeScore:n=Je.includeScore}={}){const i=[];return e&&i.push(hse),n&&i.push(Ase),t.map(o=>{const{idx:a}=o,s={item:r[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,s)}),s})}class Hg{constructor(r,e={},n){this.options={...Je,...e},this.options.useExtendedSearch,this._keyStore=new zae(this.options.keys),this.setCollection(r,n)}setCollection(r,e){if(this._docs=r,e&&!(e instanceof _2))throw new Error(Nae);this._myIndex=e||a6(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=Lo(r)?Lo(this._docs[0])?this._searchStringList(r):this._searchObjectList(r):this._searchLogical(r);return dse(l,{ignoreFieldNorm:s}),o&&l.sort(a),r6(e)&&e>-1&&(l=l.slice(0,e)),fse(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(r){const e=h_(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=u6(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===hp.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=h_(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}}Hg.version="7.0.0";Hg.createIndex=a6;Hg.parseIndex=Kae;Hg.config=Je;Hg.parseQuery=u6;gse(lse);const Cse=[["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"},{icon:"i-carbon-language",name:"i18n",order:-100,path:"i18n",title:"I18n Resources"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],c6=["assets","graph","vite-inspect"],OP={pinia:"pinia",router:"vueRouter",i18n:"vueI18n"};function Ise(t,r){const e=r.name;return e in OP&&t[OP[e]]}function vse(t,r){const e=bc(Cse);return e.forEach(n=>{n[0]==="modules"&&(n[1]=n[1].filter(i=>r?Ise(r,i):!0))}),t&&!BS?e:e.map(([n,i])=>[n,i.filter(o=>!c6.includes(o.name))])}const d6=oa([]),h6=W(null),pse=X(()=>d6.value.find(t=>t.id===h6.value));function ra(t){return N4()?(M4(t),!0):!1}function wr(t){return typeof t=="function"?t():m(t)}const wg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const mse=t=>typeof t<"u",yse=Object.prototype.toString,bse=t=>yse.call(t)==="[object Object]",ma=()=>{},$se=wse();function wse(){var t,r;return wg&&((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 _se(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 A6=t=>t();function Ese(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 Sse(t=A6){const r=W(!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 kP(t,r=!1,e="Timeout"){return new Promise((n,i)=>{setTimeout(r?()=>i(e):n,t)})}function Tse(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 Ose(t){return t||ll()}function kse(...t){if(t.length!==1)return q4(...t);const r=t[0];return typeof r=="function"?Va(JS(()=>({get:r,set:ma}))):W(r)}function f6(t,r,e={}){const{eventFilter:n=A6,...i}=e;return tt(t,_se(n,r),i)}function xse(t,r,e={}){const{eventFilter:n,...i}=e,{eventFilter:o,pause:a,resume:s,isActive:l}=Sse(n);return{stop:f6(t,r,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function qA(t,r=!0,e){Ose()?_i(t,e):r?t():_n(t)}function C_(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=tt(t,y=>{c(y)!==r&&(C?.(),p(y))},{flush:d,deep:h,immediate:!0})})];return A!=null&&v.push(kP(A,f).then(()=>wr(t)).finally(()=>C?.())),Promise.race(v)}function n(c,d){if(!Le(c))return e(y=>y===c,d);const{flush:h="sync",deep:A=!1,timeout:f,throwOnTimeout:C}=d??{};let I=null;const p=[new Promise(y=>{I=tt([t,c],([b,S])=>{r!==(b===S)&&(I?.(),y(b))},{flush:h,deep:A,immediate:!0})})];return f!=null&&p.push(kP(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 C_(t,!r)}}:{toMatch:e,toBe:n,toBeTruthy:i,toBeNull:o,toBeNaN:s,toBeUndefined:a,changed:g,changedTimes:u,get not(){return C_(t,!r)}}}function Pse(t){return C_(t)}function Rse(t,r=1e3,e={}){const{immediate:n=!0,immediateCallback:i=!1}=e;let o=null;const a=W(!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&&wg&&g(),Le(r)||typeof r=="function"){const u=tt(r,()=>{a.value&&wg&&g()});ra(u)}return ra(l),{isActive:a,pause:l,resume:g}}function Dse(t,r,e={}){const{immediate:n=!0}=e,i=W(!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,wg&&l()),ra(s),{isPending:Va(i),start:l,stop:s}}function E2(t=!1,r={}){const{truthyValue:e=!0,falsyValue:n=!1}=r,i=Le(t),o=W(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 S2(t,r,e={}){const{debounce:n=0,maxWait:i=void 0,...o}=e;return f6(t,r,{...o,eventFilter:Ese(n,{maxWait:i})})}function C6(t,r,e){const n=tt(t,(...i)=>(_n(()=>n()),r(...i)),e);return n}function xP(t,r,e){let n;Le(e)?n={evaluating:e}:n=e||{};const{lazy:i=!1,evaluating:o=void 0,shallow:a=!0,onError:s=ma}=n,l=W(!i),g=a?oa(r):W(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 co(t){var r;const e=wr(t);return(r=e?.$el)!=null?r:e}const wi=wg?window:void 0,Nse=wg?window.document:void 0,I6=wg?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=wi):[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=tt(()=>[co(r),wr(i)],([u,c])=>{if(a(),!u)return;const d=bse(c)?{...c}:c;o.push(...e.flatMap(h=>n.map(A=>s(u,h,A,d))))},{immediate:!0,flush:"post"}),g=()=>{l(),a()};return ra(g),g}let PP=!1;function Mse(t,r,e={}){const{window:n=wi,ignore:i=[],capture:o=!0,detectIframe:a=!1}=e;if(!n)return ma;$se&&!PP&&(PP=!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=co(h);return A&&(d.target===A||d.composedPath().includes(A))}}),u=[tn(n,"click",d=>{const h=co(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=co(t);s=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),a&&tn(n,"blur",d=>{setTimeout(()=>{var h;const A=co(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 Bse(){const t=W(!1);return ll()&&_i(()=>{t.value=!0}),t}function ud(t){const r=Bse();return X(()=>(r.value,!!t()))}function Fse(t,r={}){const{immediate:e=!0,fpsLimit:n=void 0,window:i=wi}=r,o=W(!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(),ra(c),{isActive:Va(o),pause:c,resume:u}}function v6(t,r={}){const{window:e=wi}=r,n=ud(()=>e&&"matchMedia"in e&&typeof e.matchMedia=="function");let i;const o=W(!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 ra(()=>{l(),s(),i=void 0}),o}function RP(t,r={}){const{controls:e=!1,navigator:n=I6}=r,i=ud(()=>n&&"permissions"in n);let o;const a=typeof t=="string"?{name:t}:t,s=W(),l=()=>{o&&(s.value=o.state)},g=Tse(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 T2(t={}){const{navigator:r=I6,read:e=!1,source:n,copiedDuring:i=1500,legacy:o=!1}=t,a=ud(()=>r&&"clipboard"in r),s=RP("clipboard-read"),l=RP("clipboard-write"),g=X(()=>a.value||o),u=W(""),c=W(!1),d=Dse(()=>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 Lse(t){return JSON.parse(JSON.stringify(t))}const zC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jC="__vueuse_ssr_handlers__",zse=jse();function jse(){return jC in zC||(zC[jC]=zC[jC]||{}),zC[jC]}function p6(t,r){return zse[t]||r}function Vse(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 Gse={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()}},DP="vueuse-storage";function m6(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=wi,eventFilter:d,onError:h=_=>{console.error(_)},initOnMounted:A}=n,f=(u?oa:W)(typeof r=="function"?r():r);if(!e)try{e=p6("getDefaultStorage",()=>{var _;return(_=wi)==null?void 0:_.localStorage})()}catch(_){h(_)}if(!e)return f;const C=wr(r),I=Vse(C),v=(i=n.serializer)!=null?i:Gse[I],{pause:p,resume:y}=xse(f,()=>b(f.value),{flush:o,deep:a,eventFilter:d});return c&&s&&qA(()=>{tn(c,"storage",k),tn(c,DP,N),A&&k()}),A||k(),f;function b(_){try{if(_==null)e.removeItem(t);else{const O=v.write(_),P=e.getItem(t);P!==O&&(e.setItem(t,O),c&&c.dispatchEvent(new CustomEvent(DP,{detail:{key:t,oldValue:P,newValue:O,storageArea:e}})))}}catch(O){h(O)}}function S(_){const O=_?_.newValue:e.getItem(t);if(O==null)return l&&C!=null&&e.setItem(t,v.write(C)),C;if(!_&&g){const P=v.read(O);return typeof g=="function"?g(P,C):I==="object"&&!Array.isArray(P)?{...C,...P}:P}else return typeof O!="string"?O:v.read(O)}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(O){h(O)}finally{_?_n(y):y()}}}}}function y6(t){return v6("(prefers-color-scheme: dark)",t)}function Lm(t={}){const{selector:r="html",attribute:e="class",initialValue:n="auto",window:i=wi,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=y6({window:i}),h=X(()=>d.value?"dark":"light"),A=l||(a==null?kse(n):m6(a,n,o,{window:i,listenToStorageChanges:s})),f=X(()=>A.value==="auto"?h.value:A.value),C=p6("updateHTMLAttrs",(y,b,S)=>{const N=typeof y=="string"?i?.document.querySelector(y):co(y);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(O=>(O||"").split(/\s/g)).filter(Boolean).forEach(O=>{_.includes(O)?N.classList.add(O):N.classList.remove(O)})}else N.setAttribute(b,S);u&&(i.getComputedStyle(k).opacity,document.head.removeChild(k))});function I(y){var b;C(r,e,(b=c[y])!=null?b:y)}function v(y){t.onChanged?t.onChanged(y,I):I(y)}tt(f,v,{flush:"post",immediate:!0}),qA(()=>v(f.value));const p=X({get(){return g?A.value:f.value},set(y){A.value=y}});try{return Object.assign(p,{store:A,system:h,state:f})}catch{return p}}function Wse(t,r,e={}){const{window:n=wi,...i}=e;let o;const a=ud(()=>n&&"MutationObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=tt(()=>co(t),c=>{s(),a.value&&n&&c&&(o=new MutationObserver(r),o.observe(c,i))},{immediate:!0}),g=()=>o?.takeRecords(),u=()=>{s(),l()};return ra(u),{isSupported:a,stop:u,takeRecords:g}}function Hse(t={}){const{valueDark:r="dark",valueLight:e="",window:n=wi}=t,i=Lm({...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:y6({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 Use(t,r,e={}){const{window:n=wi,...i}=e;let o;const a=ud(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},l=X(()=>Array.isArray(t)?t.map(c=>co(c)):[co(t)]),g=tt(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 ra(u),{isSupported:a,stop:u}}function Zse(t,r={}){const{reset:e=!0,windowResize:n=!0,windowScroll:i=!0,immediate:o=!0}=r,a=W(0),s=W(0),l=W(0),g=W(0),u=W(0),c=W(0),d=W(0),h=W(0);function A(){const f=co(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 Use(t,A),tt(()=>co(t),f=>!f&&A()),Wse(t,A,{attributeFilter:["style","class"]}),i&&tn("scroll",A,{capture:!0,passive:!0}),n&&tn("resize",A,{passive:!0}),qA(()=>{o&&A()}),{height:a,bottom:s,left:l,right:g,top:u,width:c,x:d,y:h,update:A}}function Kse(t={}){const{initialValue:r=""}=t,e=ud(()=>typeof window<"u"&&"EyeDropper"in window),n=W(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 Yse(t,r,e={}){const{window:n=wi}=e;return m6(t,r,n?.localStorage,e)}const Xse={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Qse(t={}){const{reactive:r=!1,target:e=wi,aliasMap:n=Xse,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(y=>y.trim());l[C]=X(()=>p.every(y=>wr(A[y])))}else l[C]=W(!1);const v=Reflect.get(f,C,I);return r?wr(v):v}});return A}function qse(t={}){const{controls:r=!1,interval:e="requestAnimationFrame"}=t,n=W(new Date),i=()=>n.value=new Date,o=e==="requestAnimationFrame"?Fse(i,{immediate:!0}):Rse(i,e,{immediate:!0});return r?{now:n,...o}:n}let Jse=0;function ele(t,r={}){const e=W(!1),{document:n=Nse,immediate:i=!0,manual:o=!1,id:a=`vueuse_styletag_${++Jse}`}=r,s=W(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=tt(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&&qA(g),o||ra(u),{id:a,css:s,unload:u,load:g,isLoaded:Va(e)}}const tle=[{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"}],rle={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 nle(t){return t.toISOString().slice(0,10)}function ile(t,r={}){const{controls:e=!1,updateInterval:n=3e4}=r,{now:i,...o}=qse({interval:n,controls:!0}),a=X(()=>ole(new Date(wr(t)),r,wr(i)));return e?{timeAgo:a,...o}:a}function ole(t,r={},e=Date.now()){var n;const{max:i,messages:o=rle,fullDateFormatter:a=nle,units:s=tle,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,y=f(I.name,v,p);return f(p?"past":"future",y,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 zm(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=ll(),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):Lse(p):p,I=()=>mse(t[r])?C(t[r]):c,v=p=>{d?d(p)&&A(f,p):A(f,p)};if(l){const p=I(),y=W(p);let b=!1;return tt(()=>t[r],S=>{b||(b=!0,y.value=C(S),_n(()=>b=!1))}),tt(y,S=>{!b&&(S!==t[r]||u)&&v(S)},{deep:u}),y}else return X({get(){return I()},set(p){v(p)}})}function ale(t={}){const{window:r=wi,initialWidth:e=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0}=t,a=W(e),s=W(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(),qA(l),tn("resize",l,{passive:!0}),i){const g=v6("(orientation: portrait)");tt(g,()=>l())}return{width:a,height:s}}function b6(){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=Yse("__VUE_DEVTOOLS_CLIENT_STATE__",b6(),{mergeDefaults:!0});function sle(){sr.value=b6()}tt(()=>sr.value.splitScreen.enabled,(t,r)=>{r&&!t&&(sr.value.splitScreen.size=[50,50])});const ss=[];function $o(t){ss.push(t),ra(()=>{ss.splice(ss.indexOf(t),1)});const{connected:r,clientConnected:e}=Ki(),n=X(()=>e.value&&r.value);if(n.value){ss.forEach(i=>i());return}return C6(n,i=>{i&&ss.forEach(o=>o())}),()=>{ss.splice(ss.indexOf(t),1)}}function lle(){ss.forEach(t=>t())}function JA(){const t=Ki(),r=W(t.tabs.value||[]),e=X(()=>{const l=t.vitePluginDetected.value,g=[...vse(l,pse.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||BS)&&c6.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 y=p||I;C[1].push({...v,hidden:y})}}),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=pn();return $o(()=>{s.on.customTabsUpdated(l=>{r.value=l})}),{categorizedTabs:i,flattenedTabs:n,enabledTabs:o,enabledFlattenTabs:a}}function NP(t,r){return X(()=>{const e=[],n=sr.value.tabSettings.pinnedTabs;jw(r).reduce((a,[{name:s,hidden:l},g])=>(g.forEach(u=>{if(jw(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 gle(t){const r=new Map;return t.forEach(e=>r.set(e.id,e)),Array.from(r.values())}const I_=Ys(new Map);function ule(){const{enabledFlattenTabs:t}=JA(),r=gd(),e=Ki(),n=W(e.commands.value||[]);Nn(()=>{n.value=e.commands.value||[]});const i=pn();$o(()=>{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:()=>dle()}],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(()=>gle([...o,...a.value,...cle(n.value),...Array.from(I_.values()).flatMap(s=>jw(s))]))}function MP(t){t?.type==="url"&&window.open(t.src,"_blank")}function cle(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:()=>{MP(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0));MP(r.action)}})).sort((r,e)=>(e.order??0)-(r.order??0))}function BP(t){const r=gq();I_.set(r,t),ad(()=>{I_.delete(r)})}let Ub;async function dle(){return Ub||(Ub=(await yn(()=>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")}}))),Ub}const hle={flex:"~ col","max-h-120":"","min-h-60":"",h:"60%","w-xl":"","of-hidden":"",border:"1 base","rounded-md":"","text-3.75":""},Ale={border:"b base","flex-none":""},fle={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},Cle=["id","onClick","onMouseover"],Ile={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},vle={"ws-nowrap":""},ple={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},mle={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},yle=w("span",{op50:""},"No results for",-1),ble={"text-primary":""},$le={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},wle={"text-xs":"",flex:"~ items-center gap2"},_le={px1:""},Ele={px1:""},Sle=w("span",{op75:""},"to navigate",-1),Tle={"text-xs":"",flex:"~ items-center gap2"},Ole=w("button",{px1:""}," Esc ",-1),kle={op75:""},xle={"text-xs":"",flex:"~ items-center gap2"},Ple={px1:""},Rle=w("span",{op75:""},"to select",-1),Dle=$e({__name:"CommandPalette",setup(t){const r=W(!1),e=W(""),n=ule(),i=W(),o=X(()=>i.value||n.value),a=X(()=>new Hg(o.value,{keys:["id","title"],distance:50})),s=X(()=>e.value?a.value.search(e.value).map(d=>d.item):o.value||[]),l=W(0);tt(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=XA;return m(r)?(T(),re(m(w2),{key:0,dim:"",class:"backdrop-blur-2xl!"},{default:G(()=>[w("div",hle,[w("header",Ale,[z(m(Da),{modelValue:m(e),"onUpdate:modelValue":h[0]||(h[0]=f=>Le(e)?e.value=f:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),w("div",fle,[(T(!0),F(me,null,vt(m(s),(f,C)=>(T(),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(m(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",Ile,[w("span",vle,we(f.title),1),w("span",ple,we(f.description),1)]),m(l)===C?(T(),re(m(Pt),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):be("",!0)],2)],40,Cle))),128)),m(s).length?be("",!0):(T(),F("div",mle,[z(m(Pt),{icon:"carbon-search",op50:""}),w("div",null,[yle,w("strong",ble,' "'+we(m(e))+'" ',1)])]))]),w("footer",$le,[w("div",wle,[w("button",_le,[z(m(Pt),{icon:"carbon-arrow-down"})]),w("button",Ele,[z(m(Pt),{icon:"carbon-arrow-up"})]),Sle]),w("div",Tle,[Ole,w("span",kle,"to "+we(m(i)?"go back":"close"),1)]),w("div",xle,[w("button",Ple,[z(m(Pt),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),Rle])])])]),_:1})):be("",!0)}}}),ef=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Nle={},Mle={class:"panel-grids-center"};function Ble(t,r){return T(),F("div",Mle,[Xe(t.$slots,"default")])}const wo=ef(Nle,[["render",Ble]]),Fle={flex:"~ items-center gap-3"},Lle={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},zle={"translate-y-0.5px":""},jle={key:0,hidden:"","lg:block":""},$6=$e({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(t){const r=t,e=Pm(),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=XA;return T(),re(m(Oae),{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?(T(),F("div",jle,[(T(),re(Xs(s.tab.extraTabVNode)))])):be("",!0)]),default:G(()=>[(T(),re(Xs(s.target==="main"?m(v8):"button"),{to:m(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",Fle,[z(g,{"text-xl":"",icon:s.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),s.minimized?be("",!0):(T(),F("span",Lle,we(s.tab.title),1))]),m(i)?(T(),F("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:_e([m(o)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":s.minimized}])},[w("span",zle,we(m(wr)(m(i))),1)],2)):be("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),Vle={flex:"~ col gap-1","max-w-80":"",py1:""},Gle={key:0,"h-1px":"",border:"b base"},Wle={flex:"~ wrap",px1:""},w6=$e({__name:"TabsGrid",props:{categories:{},target:{}},setup(t){return(r,e)=>{const n=$6;return T(),F("div",Vle,[(T(!0),F(me,null,vt(r.categories,([i,o],a)=>(T(),F(me,{key:i},[o.length?(T(),F(me,{key:0},[a?(T(),F("div",Gle)):be("",!0),w("div",Wle,[(T(!0),F(me,null,vt(o,s=>(T(),re(n,{key:s.name,target:r.target,tab:s},null,8,["target","tab"]))),128))])],64)):be("",!0)],64))),128))])}}}),Hle={"h-full":"","h-screen":"","of-hidden":""},Ule={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},Zle={flex:"","cursor-pointer":"","items-center":"",gap2:""},Kle=w("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),Yle={capitalize:""},Xle=w("div",{"flex-auto":""},null,-1),Qle=w("div",{"i-carbon:side-panel-open":""},null,-1),qle=[Qle],Jle={key:1,"of-auto":"",style:{height:"calc(100% - 50px)"}},ege=w("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),tge=$e({__name:"SplitScreen",setup(t){function r(){sr.value.splitScreen.enabled=!1}const e=X(()=>sr.value.splitScreen),{enabledTabs:n,flattenedTabs:i}=JA(),o=gd(),a=Pm(),s=oa();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});tt(()=>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=W(!1);return(c,d)=>{const h=XA,A=w6,f=wo;return T(),F("div",Hle,[m(s)&&m(g)?(T(),F("div",Ule,[z(m(kc),{placement:"bottom-start",distance:12,skidding:5,shown:m(u),trigger:"click"},{popper:G(()=>[z(A,{categories:m(n),target:"side"},null,8,["categories"])]),default:G(()=>[w("div",Zle,[Kle,z(h,{"text-xl":"",icon:m(g)?.icon,title:"Settings","show-title":!1},null,8,["icon"]),w("span",Yle,we(m(g)?.name),1)])]),_:1},8,["shown"]),Xle,rn((T(),F("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:r},qle)),[[m(Zo),"Close split screen"]])])):be("",!0),m(s)&&m(g)?(T(),F("div",Jle,[(T(),re(Xs(m(s)),{key:`tab-${m(g).name}`}))])):(T(),re(f,{key:2},{default:G(()=>[ege,z(m(uv),{px4:"",py2:"","bg-base":""},{default:G(()=>[z(A,{categories:m(n),target:"side"},null,8,["categories"])]),_:1}),z(m(ot),{type:"warning",outlined:"",mt2:"",onClick:r},{default:G(()=>[ke(" Close Split Screen ")]),_:1})]),_:1}))])}}});function jm(){const t=f2(),r=W("");return yc&&qe.chrome.storage.local.get(wb).then(e=>{r.value=e[wb]??"overlay"}),{viewMode:r,toggle(e){r.value=e,qe.chrome.storage.local.set({[wb]:e}),yc&&t.value.emit("toggle-view-mode",e)}}}const rge={px3:"",py2:"",border:"b base",flex:"~ gap-2"},nge=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),ige=w("div",{"i-carbon-settings-adjust":""},null,-1),oge={px3:"",py2:"",border:"b base",flex:"~ gap-2"},age=w("div",{"i-carbon-split-screen":""},null,-1),sge={px3:"",py2:"",flex:"~ gap2"},lge=$e({__name:"DockingPanel",setup(t){const r=Er("viewMode",W("overlay")),e=X(()=>r.value==="panel"&&yc),{toggle:n}=jm(),i=pn(),o=gd(),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=Ki(),u=X(()=>g.appRecords.value.map(h=>({label:h.name+(h.version?` (${h.version})`:""),value:h.id}))),c=W(g.activeAppRecordId.value),d=X(()=>u.value.find(h=>h.value===c.value)?.label??"");return tt(c,h=>{i.toggleApp(`${h}`).then(()=>{o.push("/overview").then(()=>{lle()})})}),(h,A)=>(T(),F("div",null,[w("div",rge,[z(m(e6),null,{default:G(({isDark:f,toggle:C})=>[z(m(ot),{outlined:"",type:"primary",onClick:C},{default:G(()=>[nge,ke(" "+we(f?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),z(m(ot),{outlined:"",type:"primary",onClick:A[0]||(A[0]=f=>a.value=!m(a))},{default:G(()=>[z(m(Pt),{icon:m(a)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),ke(" "+we(m(a)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),z(m(ot),{to:"/settings",outlined:"",type:"primary"},{default:G(()=>[ige,ke(" Settings ")]),_:1})]),w("div",oge,[z(m(ot),{outlined:"",type:"primary",onClick:A[1]||(A[1]=f=>s.value=!m(s))},{default:G(()=>[age,ke(" "+we(m(s)?"Close Split Screen":"Split Screen"),1)]),_:1})]),w("div",sge,[m(u).length>1?(T(),re(m(dp),{key:0,modelValue:m(c),"onUpdate:modelValue":A[2]||(A[2]=f=>Le(c)?c.value=f:null),options:m(u),placeholder:m(d)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):be("",!0),z(m(ot),{outlined:"",type:"primary",onClick:l},{default:G(()=>[ke(" Refresh Page ")]),_:1}),m(e)?(T(),re(m(ot),{key:1,outlined:"",type:"primary",onClick:A[3]||(A[3]=f=>m(n)("overlay"))},{default:G(()=>[ke(" Switch to Overlay Mode ")]),_:1})):be("",!0)])]))}}),gge={border:"r base",flex:"~ col items-start","z-100":"","h-full":"","of-hidden":"","bg-base":""},uge={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},cge=w("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1),dge=w("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1),hge=w("div",{"flex-auto":""},null,-1),Age=w("div",{"i-carbon-overflow-menu-vertical":""},null,-1),fge={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},Cge=w("div",{"flex-auto":""},null,-1),Ige=["flex"],vge={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},pge={"translate-y-0.5px":""},mge=45,yge=$e({__name:"SideNav",setup(t){const r=W(!1),e=W(!1),n=W(),i=W(),o=W(),a=X(()=>sr.value.expandSidebar),s=X(()=>sr.value.scrollableSidebar),{enabledTabs:l,flattenedTabs:g}=JA(),{height:u}=ale(),c=X(()=>{const I=u.value-130;return Math.max(0,Math.floor(I/mge))}),d=X(()=>g.value.slice(0,c.value)),h=X(()=>g.value.slice(c.value)),A=NP(d,l),f=NP(h,l),C=X(()=>s.value||a.value?l.value:A.value);return Mse(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=lge,y=$6,b=XA,S=w6;return T(),F("div",gge,[w("div",uge,[z(m(kc),{placement:"left-start",distance:6,skidding:5,trigger:"click",shown:m(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([m(a)?"w-full rounded pl2.5":"w-10 rounded-xl"])},[cge,m(a)?(T(),F(me,{key:0},[dge,hge,Age],64)):be("",!0)],2)]),_:1},8,["shown"])]),w("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:_e(["no-scrollbar",m(a)?"":"of-x-hidden of-y-auto"])},[(T(!0),F(me,null,vt(m(C),([N,k],_)=>(T(),F(me,{key:N},[_?(T(),F("div",fge)):be("",!0),(T(!0),F(me,null,vt(k.filter(O=>!O.hidden),O=>(T(),re(y,{key:O.name,tab:O,minimized:!m(a)},null,8,["tab","minimized"]))),128))],64))),128)),Cge],2),w("div",{flex:`~ items-center gap-1 ${m(a)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[m(h).length&&!m(s)&&!m(a)?(T(),re(m(kc),{key:0,placement:"left-end",distance:6},{popper:G(()=>[z(S,{categories:m(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",vge,[w("span",pge,we(m(h).length),1)])],512)]),_:1})):be("",!0),z(y,{minimized:!m(a),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,Ige)])}}}),bge={},$ge={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wge=aee('<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),_ge=[wge];function Ege(t,r){return T(),F("svg",$ge,_ge)}const O2=ef(bge,[["render",Ege]]),Sge={class:"fixed inset-0 h-screen w-screen flex flex-col items-center justify-center $ui-bg-base"},Tge=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),Oge=$e({__name:"ViewModeSwitch",setup(t){Lm();const{toggle:r}=jm();return(e,n)=>{const i=O2;return T(),F("div",Sge,[z(i,{"h-18":""}),Tge,w("p",null,[z(m(ot),{onClick:n[0]||(n[0]=wn(o=>m(r)("panel"),["stop"]))},{default:G(()=>[ke(" Switch to Panel Mode ")]),_:1})])])}}}),kge="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",xge={class:"h-screen w-screen $ui-fcc flex-col"},Pge={class:"outer"},Rge={class:"inner"},Dge=["src"],Nge=$e({__name:"AppConnecting",setup(t){return(r,e)=>(T(),F("div",xge,[w("div",Pge,[w("div",Rge,[w("img",{src:m(kge),class:"max-w-18",alt:"Vue logo"},null,8,Dge)])]),Xe(r.$slots,"default",{},void 0,!0)]))}}),_6=ef(Nge,[["__scopeId","data-v-204233a8"]]),cd={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 ld("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Mge=(t,r)=>{const e=t.__vccOpts||t;for(const[n,i]of r)e[n]=i;return e},Bge={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 Fge(t,r,e,n,i,o){return T(),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 bi=Mge(Bge,[["render",Fge]]);function Vm(){const{copy:t,copied:r}=T2();return{copy:(n,i={})=>{const{silent:o=!1,type:a=""}=i;t(n).then(()=>{o||g_({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{o||g_({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:r}}const Lge={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},zge=$e({__name:"App",setup(t){yn(()=>import("./unocss-runtime-402WFgCt.js"),__vite__mapDeps([]),import.meta.url),Lm();const r=gd(),e=Pm(),{connected:n,clientConnected:i}=Ki(),o=pn(),a=sr,s=Er("viewMode",W("overlay")),l=X(()=>s.value==="overlay"&&yc);jm();const g=f2(),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`}),tt(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=Ki();Nn(()=>{d6.value=f.appRecords.value,h6.value=f.activeAppRecordId.value});const{copy:C}=Vm(),I=Kse({});return o?.isVueInspectorDetected?.()?.then(({data:v})=>{v&&BP(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{g.value.emit("toggle-panel",!1),await o.enableVueInspector()}}])}),BP(()=>[...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 y=_6,b=Oge,S=yge,N=$i("RouterView"),k=tge,_=Dle;return T(),F("main",Lge,[m(d)?m(l)?(T(),re(b,{key:1})):(T(),F("div",{key:2,class:_e(["h-full of-auto",m(u)?"flex":m(c)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[m(u)?be("",!0):(T(),re(S,{key:0,"of-x-hidden":"","of-y-auto":""})),z(m(cd),{"h-full":"","of-hidden":"",onResize:p[0]||(p[0]=O=>A.value=O.map(P=>P.size))},{default:G(()=>[z(m(bi),{"h-full":"",class:"of-auto!","min-size":"10",size:m(A)[0]},{default:G(()=>[z(N)]),_:1},8,["size"]),!m(u)&&m(h)?(T(),re(m(bi),{key:0,relative:"","h-full":"",class:"of-auto!",size:m(A)[1]},{default:G(()=>[z(k)]),_:1},8,["size"])):be("",!0)]),_:1})],2)):(T(),re(y,{key:0})),z(_)])}}}),k2=$e({__name:"ExpandIcon",props:{value:{type:Boolean}},setup(t){return(r,e)=>(T(),F("i",{class:_e(["i-radix-icons:triangle-right flex-none text-5 op-50 transition-base",{"transform rotate-90":r.value}])},null,2))}}),jge={class:"flex-inline items-center gap4px"},Vge=$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}=Qse();Nn(()=>{i.value?n("cancel"):o.value&&n("submit",e.type)});const a=zm(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)=>(T(),F("span",jge,[z(m(Da),{modelValue:m(a),"onUpdate:modelValue":u[0]||(u[0]=c=>Le(a)?a.value=c:null),variant:m(l)?"warning":"normal",class:"h25px w120px px4px","auto-focus":g.autoFocus,onClick:u[1]||(u[1]=wn(()=>{},["stop"]))},null,8,["modelValue","variant","auto-focus"]),g.showActions?(T(),F(me,{key:0},[m(l)?(T(),re(m(Pt),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"})):(T(),F(me,{key:0},[rn((T(),re(m(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[2]||(u[2]=wn(c=>g.$emit("cancel"),["stop"]))},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-cancel"})]),_:1})),[[m(Zo),{content:"Esc to cancel"}]]),rn((T(),re(m(ot),{size:"mini",flat:"",class:"p2px!",onClick:u[3]||(u[3]=wn(c=>g.$emit("submit",g.type),["stop"]))},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-save"})]),_:1})),[[m(Zo),{content:"Enter to submit change"}]])],64))],64)):be("",!0)]))}}),E6=Symbol("StateEditorSymbol");function Gge(t){const r=W(t);return pa(E6,r),{context:r}}function x2(){return Er(E6)}function Wge(){const t=W(""),r=W("string"),e=W(!1),n=x2();return{editingText:t,editing:e,toggleEditing(i){i&&(r.value=i),e.value=!e.value},editingType:r,nodeId:n.value.nodeId}}function Hge(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 Uge(){const t=W({enable:!1,key:"",value:"undefined"});function r(n,i){const o=Hge(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 Zge={class:"inline pl5px"},Kge={class:"w160px py5px"},FP=$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=pn(),n=x2(),{copy:i,isSupported:o}=T2(),a=W(!1),s=X(()=>c2(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:pt(d),type:l.value,remove:h}})}return(d,h)=>(T(),F("div",Zge,[!r.disableEdit&&d.data.editable?(T(),F(me,{key:0},[m(l)==="string"||m(l)==="number"||m(l)==="object"?(T(),F(me,{key:0},[rn((T(),re(m(ot),bn(g,{class:m(u),onClick:h[0]||(h[0]=wn(A=>d.$emit("enableEditInput",m(l)),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[m(Zo),{content:"Edit value"}]]),m(l)==="object"&&d.showAddIfNeeded?rn((T(),re(m(ot),bn({key:0},g,{class:m(u),onClick:h[1]||(h[1]=wn(A=>d.$emit("addNewProp",Array.isArray(m(s))?"array":"object"),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[m(Zo),{content:"Add new value"}]]):be("",!0)],64)):be("",!0),m(l)==="boolean"?(T(),re(m(ot),bn({key:1},g,{class:m(u),onClick:h[2]||(h[2]=A=>c(!m(s)))}),{icon:G(()=>[z(m(Pt),{icon:m(s)?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):m(l)==="number"?(T(),F(me,{key:2},[z(m(ot),bn(g,{class:m(u),onClick:h[3]||(h[3]=wn(A=>c(m(s)+1),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-carbon-add"})]),_:1},16,["class"]),z(m(ot),bn(g,{class:m(u),onClick:h[4]||(h[4]=wn(A=>c(m(s)-1),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):be("",!0)],64)):be("",!0),!r.disableEdit&&d.depth>0?(T(),re(m(ot),bn({key:1},g,{class:m(u),onClick:h[5]||(h[5]=wn(A=>c(m(s),!0),["stop"]))}),{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):be("",!0),z(m(kc),{class:_e({"opacity-0":!d.hovering&&!m(a)}),"button-props":{flat:!0,size:"mini"},disabled:!m(o),"onUpdate:visible":h[8]||(h[8]=A=>a.value=A)},{popper:G(()=>[w("div",Kge,[z(m(bP),{onClick:h[6]||(h[6]=A=>m(i)(m(l)==="object"?JSON.stringify(m(s)):m(s).toString()))},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Value ")]),_:1}),z(m(bP),{onClick:h[7]||(h[7]=()=>{m(i)(d.data.key)})},{icon:G(()=>[z(m(Pt),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),ke(" Copy Path ")]),_:1})])]),"button-icon":G(()=>[z(m(Pt),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}});function xc(t){const r=W({}),e=W({});return pa(`CollapseMapSymbol${t}`,r),pa(`CollapseMapSymbol${t}LinkedList`,e),{collapseMap:r,id:t,linkedList:e}}function Yge(t){const r=Er(`CollapseMapSymbol${t}`),e=Er(`CollapseMapSymbol${t}LinkedList`);return{collapseMap:r,linkedList:e,id:t}}function P2(t,r,e){const{collapseMap:n,linkedList:i}=Yge(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 Xge(t,r={}){const{enter:e=()=>{},leave:n=()=>{},initital:i=!1}=r,o=W(i);return tn(t,"mouseenter",()=>{o.value=!0,e()}),tn(t,"mouseleave",()=>{o.value=!1,n()}),{isHovering:o}}const R2=t=>(Im("data-v-e979d6e2"),t=t(),vm(),t),Qge={key:0},qge={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},Jge=R2(()=>w("span",{"mx-1":""},":",-1)),eue=["innerHTML"],tue={key:1,"cursor-pointer":""},rue={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},nue=R2(()=>w("span",{"mx-1":""},":",-1)),iue=["innerHTML"],oue={key:0},aue={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},sue=R2(()=>w("span",{"mx-1":""},":",-1)),lue=$e({__name:"InspectorStateField",props:{data:{},depth:{default:0},no:{},rootId:{}},setup(t){const r=t,e=x2(),n=pn(),i=X(()=>Wj(r.data.value)),o=X(()=>Sm(r.data.value)),a=X(()=>o.value==="custom"?`state-format-${r.data.value._custom?.type}`:""),{isExpanded:s,toggleCollapse:l}=P2("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(()=>c2(r.data.value)),c=X(()=>{let{value:P,inherit:R}=u.value;return Array.isArray(P)?P.slice(0,20).map((te,H)=>({key:`${r.data.key}.${H}`,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=lq(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}=Wge();tt(()=>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:y,draftingNewProp:b,resetDrafting:S}=Uge();function N(P){s.value||l(),y(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 _=W(),{isHovering:O}=Xge(_);return(P,R)=>{const L=Vge,te=k2,H=$i("InspectorStateField",!0);return T(),F("div",{ref_key:"containerRef",ref:_,class:"pl-6",style:_r({paddingLeft:`${P.depth*15+4}px`})},[m(h)?(T(),F("div",tue,[w("div",{relative:"",flex:"","items-center":"",onClick:R[2]||(R[2]=(...V)=>m(l)&&m(l)(...V))},[z(te,{value:m(s),absolute:"","left--6":"","group-hover:text-white":""},null,8,["value"]),w("span",rue,we(m(d)),1),nue,m(f)?(T(),re(L,{key:0,modelValue:m(C),"onUpdate:modelValue":R[1]||(R[1]=V=>Le(C)?C.value=V:null),type:m(A),onCancel:m(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(T(),F(me,{key:1},[w("span",{class:_e(m(a))},[w("span",{innerHTML:m(g)},null,8,iue)],2),z(FP,{"show-add-if-needed":!m(b).enable,hovering:m(O),data:P.data,"disable-edit":m(e).disableEdit,depth:P.depth,onEnableEditInput:m(I),onAddNewProp:N},null,8,["show-add-if-needed","hovering","data","disable-edit","depth","onEnableEditInput"])],64))]),m(s)?(T(),F("div",oue,[(T(!0),F(me,null,vt(m(c),(V,Q)=>(T(),re(H,{key:Q,data:V,depth:P.depth+1,no:P.no,"root-id":P.rootId},null,8,["data","depth","no","root-id"]))),128)),m(b).enable?(T(),F("div",{key:0,style:_r({paddingLeft:`${(P.depth+1)*15+4}px`})},[w("span",aue,[z(L,{modelValue:m(b).key,"onUpdate:modelValue":R[3]||(R[3]=V=>m(b).key=V),type:"string","show-actions":!1},null,8,["modelValue"])]),sue,z(L,{modelValue:m(b).value,"onUpdate:modelValue":R[4]||(R[4]=V=>m(b).value=V),type:"string","auto-focus":!1,onCancel:m(S),onSubmit:k},null,8,["modelValue","onCancel"])],4)):be("",!0)])):be("",!0)])):(T(),F("div",Qge,[w("span",qge,we(m(d)),1),Jge,m(f)?(T(),re(L,{key:0,modelValue:m(C),"onUpdate:modelValue":R[0]||(R[0]=V=>Le(C)?C.value=V:null),type:m(A),onCancel:m(I),onSubmit:p},null,8,["modelValue","type","onCancel"])):(T(),F(me,{key:1},[w("span",{class:_e(m(a))},[w("span",{innerHTML:m(g)},null,8,eue)],2),z(FP,{hovering:m(O),"disable-edit":m(e).disableEdit,data:P.data,depth:P.depth,onEnableEditInput:m(I)},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],64))]))],4)}}}),gue=ef(lue,[["__scopeId","data-v-e979d6e2"]]),uue=$e({__name:"InspectorStateType",props:{data:{},depth:{default:0},rootId:{}},setup(t){return(r,e)=>{const n=gue;return T(!0),F(me,null,vt(r.data,(i,o)=>(T(),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)}}}),cue={"text-primary-400":"","group-hover:text-white":"",class:"text-[#486887] dark:text-[#7595b5]"},tf=$e({__name:"InspectorState",props:{data:{},name:{},id:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(t){const r=t,{isExpanded:e,toggleCollapse:n}=P2("inspector-state",r.id);return!e.value&&n(),Gge({nodeId:r.nodeId,inspectorId:r.inspectorId,disableEdit:r.disableEdit}),(i,o)=>{const a=k2,s=uue;return T(),F(me,null,[w("div",{class:"group w-full px-0 selectable-item",onClick:o[0]||(o[0]=(...l)=>m(n)&&m(n)(...l))},[z(a,{value:m(e),"group-hover:text-white":""},null,8,["value"]),w("span",cue,we(i.name),1)]),m(e)?(T(),re(s,{key:0,data:i.data,"root-id":i.id},null,8,["data","root-id"])):be("",!0)],64)}}});function v_(t){return t.toString(16).padStart(6,"0")}function due(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 S6=$e({__name:"InspectorNodeTag",props:{tag:{}},setup(t){return(r,e)=>{const n=pm("tooltip");return rn((T(),F("span",{style:_r({color:`#${m(v_)(r.tag.textColor)}`,backgroundColor:`#${m(v_)(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 hue(t){const r=W("");return pa(`SelectedSymbol${t}`,r),{selected:r,id:t}}function Aue(t){return{selected:Er(`SelectedSymbol${t}`),id:t}}function fue(t,r,e){const{selected:n}=Aue(t);return{isSelected:X(()=>n.value===r),toggleSelected:a=>{n.value=a,e?.(a)}}}const Cue={key:1,"inline-block":"","h-6":"","w-6":""},Iue={"text-primary-400":"","group-hover:text-white":"",class:"[.active_&]:text-white"},vue=$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}=P2("component-tree",e.data.id,[...e.linkedList,e.data.id]),{isSelected:a,toggleSelected:s}=fue("component-tree",e.data.id,l=>{n("select",l)});return(l,g)=>{const u=k2,c=S6,d=$i("ComponentTreeNode",!0);return T(),F(me,null,[w("div",{class:_e(["group selectable-item",{active:m(a)}]),style:_r({paddingLeft:`${l.depth*15+4}px`}),onClick:g[0]||(g[0]=wn(h=>m(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?(T(),re(u,{key:0,value:m(i),"group-hover:text-white":"",class:"[.active_&]:text-white",onClick:wn(m(o),["prevent","stop"])},null,8,["value","onClick"])):(T(),F("i",Cue)),w("span",Iue,we(l.data.name),1),(T(!0),F(me,null,vt(l.data.tags,(h,A)=>(T(),re(c,{key:A,tag:h},null,8,["tag"]))),128))],38),l.data.children?.length&&m(i)?(T(!0),F(me,{key:0},vt(l.data.children,h=>(T(),re(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)}}}),pue=pn();function Gm(t){return pue.openInEditor({file:t})}const mue={"w-full":"",flex:"",gap2:"",px2:"",py2:""},yue=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),bue=[yue],$ue={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},wue={flex:"","justify-between":"","overflow-auto":"",px2:"",py3:"",class:"no-scrollbar"},_ue={key:0},Eue={flex:"~ gap2"},Sue=w("p",{class:"x-divider"},null,-1),Tue=$e({__name:"components",setup(t){const r=pn(),e=f2(),n=W([]),i=W(""),o=Gm,a=W(!1),[s,l]=E2(!0),{selected:g}=hue("component-tree"),{collapseMap:u,linkedList:c}=xc("component-tree");xc("inspector-state");const d=X(()=>{const H=[],V=Q=>{Q.forEach(Ie=>{Ie.id===g.value&&H.push(Ie),Ie.children?.length&&V(Ie.children)})};return V(n.value),H[0]}),h=X(()=>{const H=[],V=(Q,Ie=[])=>{Q.forEach(Re=>{H.push([...Ie,Re.id]),Re.children?.length&&V(Re.children,[...Ie,Re.id])})};return V(n.value),H}),A=X(()=>d.value?.file??"");function f(H,V){return H.length?H.find(Q=>Q.id===V)?!0:H.some(Q=>f(Q.children||[],V)):!1}function C(H){H.length&&(g.value&&f(H,g.value)||(g.value=H?.[0].id,P(H?.[0].id)))}function I(H){return new Promise(V=>{r.getComponentBoundingRect({inspectorId:"components",instanceId:H}).then(({data:Q})=>{V(Q)})})}function v(H){return{[H[0].id]:!0,...H?.[0].children?.reduce((V,Q)=>(V[Q.id]=!0,V),{})}}function p(H){return new Promise(V=>{r.getInspectorTree({inspectorId:"components",filter:H}).then(({data:Q})=>{const Ie=!Object.keys(u.value).length;n.value=Q,Ie&&(u.value=v(Q)),C(Q),V()})})}const y=W(!1);async function b(H,V){y.value&&await Pse(y).toBe(!1),y.value=!0,I(H).then(Q=>{r.toggleComponentInspector({id:H,visible:V,bounds:Q}),y.value=!1})}function S(H){r.scrollToComponent({id:H})}function N(){e.value.emit("toggle-panel",!1),r.inspectComponentInspector().then(({data:H})=>{g.value=H.id,k(H.id);const V=c.value[H.id];V?V.forEach(Q=>{u.value[Q]=!0}):h.value.forEach(Q=>{let Ie=Q.indexOf(H.id);if(Ie>-1)for(;Ie>=0;)u.value[Q[Ie]]=!0,Ie--})}).finally(()=>{e.value.emit("toggle-panel",!0)})}function k(H){R(),P(H),i.value=H}tt(g,H=>{r.updateInspectorTreeId(H)});const _=W({});function O(H){if(!H||!H?.state)return{};const V={};return H.state.forEach(Q=>{V[Q.type]||(V[Q.type]=[]),V[Q.type].push(Q)}),V}function P(H){r.getInspectorState({inspectorId:"components",nodeId:H}).then(({data:V})=>{_.value=O(V)})}function R(){_.value={}}$o(()=>{p().then(()=>{a.value=!0}),r.on.inspectorTreeUpdated(H=>{H?.data?.length&&(n.value=H.data,u.value={...v(H.data),...u.value},C(H.data))},{inspectorId:"components"}),r.on.inspectorStateUpdated(H=>{_.value=O(H)},{inspectorId:"components"})});const L=W("");S2(L,H=>{const V=H.trim().toLowerCase();l(),p(V).then(()=>{l()})},{debounce:300});const te=Ki();return(H,V)=>{const Q=vue,Ie=tf,Re=wo;return T(),re(Re,{"h-screen":""},{default:G(()=>[z(m(cd),null,{default:G(()=>[z(m(bi),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",mue,[m(a)?(T(),re(m(Da),{key:0,modelValue:m(L),"onUpdate:modelValue":V[0]||(V[0]=We=>Le(L)?L.value=We:null),"loading-debounce-time":250,loading:!m(s),placeholder:"Find components...","flex-1":""},null,8,["modelValue","loading"])):be("",!0),m(te).vitePluginDetected.value?(T(),F("button",{key:1,"px-1":"",onClick:N},[(T(),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"},bue))])):be("",!0)]),w("div",$ue,[(T(!0),F(me,null,vt(m(n),We=>(T(),re(Q,{key:We.id,data:We,onSelect:k,onMouseenter:b,onMouseleave:b},null,8,["data"]))),128))])]),_:1}),z(m(bi),{flex:"","flex-col":""},{default:G(()=>[w("div",wue,[m(d)?.name?(T(),F("span",_ue,we(m(d).name),1)):be("",!0),w("div",Eue,[rn(z(m(Pt),{title:"Scroll to Component",icon:"i-iconoir:mouse-scroll-wheel",action:"","flex-none":"",border:!1,onClick:V[1]||(V[1]=We=>S(m(g)))},null,512),[[m(Zo),"Scroll to Component"]]),m(A)&&m(te).vitePluginDetected.value?rn((T(),re(m(Pt),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:V[2]||(V[2]=We=>m(o)(m(A)))},null,512)),[[m(Zo),"Open in Editor"]]):be("",!0)])]),Sue,(T(),F("div",{key:m(g),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(T(!0),F(me,null,vt(m(_),(We,Fe)=>(T(),re(Ie,{id:Fe,key:Fe,"node-id":m(i),data:We,name:`${Fe}`,"inspector-id":"components"},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Oue="7.0.10",kue={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},xue=w("div",{"flex-auto":""},null,-1),Pue={flex:"~ col","mt-20":"","items-center":""},Rue={flex:"~","mt--10":"","items-center":"","justify-center":""},Due={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},Nue=w("span",{op40:""}," Vue DevTools ",-1),Mue={op40:""},Bue={flex:"~ gap2 wrap"},Fue={p4:"","theme-card-green":"",flex:"~ col auto"},Lue=w("div",{"i-logos-vue":"","text-3xl":""},null,-1),zue=w("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),jue=w("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),Vue={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},Gue=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),Wue=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),Hue=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),Uue=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),Zue=w("div",{"i-carbon-settings":""},null,-1),Kue=w("div",{"flex-auto":""},null,-1),Yue={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},Xue=w("span",null,"+",-1),Que=w("span",null,"+",-1),que={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},Jue=w("span",null,"+",-1),ece=w("span",null,"+",-1),tce=w("span",null,"+",-1),rce=w("span",null,"+",-1),nce=$e({__name:"overview",setup(t){const r=pn(),{vueVersion:e}=Ki(),n=W(1),i=W(0);function o(a){let s=0;for(const l of a)s++,l.children?.length&&(s+=o(l.children));return s}return $o(()=>{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=O2,g=$i("RouterLink"),u=wo;return T(),re(u,{"h-screen":"","w-full":"",flex:"","of-auto":""},{default:G(()=>[w("div",kue,[xue,w("div",Pue,[w("div",Rue,[z(l,{"h-18":""})]),w("div",Due,[Nue,w("code",Mue,"v"+we(m(Oue)),1)])]),w("div",Bue,[w("div",Fue,[Lue,w("code",null,"v"+we(m(e)),1)]),z(g,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[zue,w("div",null,we(m(n))+" pages",1)]),_:1}),m(i)?(T(),re(g,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:G(()=>[jue,w("div",null,we(m(i))+" components",1)]),_:1})):be("",!0)]),w("div",Vue,[Gue,Wue,Hue,Uue,z(g,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:G(()=>[Zue,ke(" Settings ")]),_:1})]),Kue,w("div",Yue,[ke(" Press "),m(wk)()?(T(),F(me,{key:0},[z(m(ot),null,{default:G(()=>[ke(" ⌘ Command ")]),_:1}),Xue,z(m(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)):(T(),F(me,{key:1},[z(m(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),Que,z(m(ot),null,{default:G(()=>[ke(" K ")]),_:1})],64)),ke(" to toggle Command Palette ")]),w("div",que,[ke(" Press "),m(wk)()?(T(),F(me,{key:0},[z(m(ot),null,{default:G(()=>[ke(" ⇧ Shift ")]),_:1}),Jue,z(m(ot),null,{default:G(()=>[ke(" ⌥ Option ")]),_:1}),ece,z(m(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)):(T(),F(me,{key:1},[z(m(ot),null,{default:G(()=>[ke(" Shift ")]),_:1}),tce,z(m(ot),null,{default:G(()=>[ke(" Alt ")]),_:1}),rce,z(m(ot),null,{default:G(()=>[ke(" D ")]),_:1})],64)),ke(" to toggle DevTools ")])])]),_:1})}}});function ice(){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 cv;function p_(){p_.init||(p_.init=!0,cv=ice()!==-1)}var Wm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){p_(),_n(()=>{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",cv&&this.$el.appendChild(t),t.data="about:blank",cv||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&&(!cv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const oce=oj();Im("data-v-b329ee4c");const ace={class:"resize-observer",tabindex:"-1"};vm();const sce=oce((t,r,e,n,i,o)=>(T(),re("div",ace)));Wm.render=sce;Wm.__scopeId="data-v-b329ee4c";Wm.__file="src/components/ResizeObserver.vue";function dv(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dv=function(r){return typeof r}:dv=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},dv(t)}function lce(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function LP(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 gce(t,r,e){return r&&LP(t.prototype,r),e&&LP(t,e),t}function zP(t){return uce(t)||cce(t)||dce(t)||hce()}function uce(t){if(Array.isArray(t))return m_(t)}function cce(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function dce(t,r){if(t){if(typeof t=="string")return m_(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 m_(t,r)}}function m_(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 hce(){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 Ace(t){var r;return typeof t=="function"?r={callback:t}:r=t,r}function fce(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(zP(o))),i=l,clearTimeout(n),n=setTimeout(function(){t.apply(void 0,[l].concat(zP(o))),n=0},r)}};return a._clear=function(){clearTimeout(n),n=null},a}function T6(t,r){if(t===r)return!0;if(dv(t)==="object"){for(var e in t)if(!T6(t[e],r[e]))return!1;return!0}return!1}var Cce=function(){function t(r,e,n){lce(this,t),this.el=r,this.observer=null,this.frozen=!1,this.createObserver(e,n)}return gce(t,[{key:"createObserver",value:function(e,n){var i=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=Ace(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=fce(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),_n(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 O6(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 Cce(t,n,e);t._vue_visibilityState=i}}function Ice(t,r,e){var n=r.value,i=r.oldValue;if(!T6(n,i)){var o=t._vue_visibilityState;if(!n){k6(t);return}o?o.createObserver(n,e):O6(t,{value:n},e)}}function k6(t){var r=t._vue_visibilityState;r&&(r.destroyObserver(),delete t._vue_visibilityState)}var vce={beforeMount:O6,updated:Ice,unmounted:k6},pce={itemsLimit:1e3},mce=/(auto|scroll)/;function x6(t,r){return t.parentNode===null?r:x6(t.parentNode,r.concat([t]))}var Zb=function(r,e){return getComputedStyle(r,null).getPropertyValue(e)},yce=function(r){return Zb(r,"overflow")+Zb(r,"overflow-y")+Zb(r,"overflow-x")},bce=function(r){return mce.test(yce(r))};function jP(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var r=x6(t.parentNode,[]),e=0;e<r.length;e+=1)if(bce(r[e]))return r[e];return document.scrollingElement||document.documentElement}}function y_(t){"@babel/helpers - typeof";return y_=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},y_(t)}var $ce={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 wce(){return this.items.length&&y_(this.items[0])!=="object"}var b_=!1;if(typeof window<"u"){b_=!1;try{var _ce=Object.defineProperty({},"passive",{get:function(){b_=!0}});window.addEventListener("test",null,_ce)}catch{}}let Ece=0;var Hm={name:"RecycleScroller",components:{ResizeObserver:Wm},directives:{ObserveVisibility:vce},props:{...$ce,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:wce,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=XS({id:Ece++,index:r,used:!0,key:n,type:i}),a=KS({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 O=this.getScroll();if(r){let L=O.start-this.$_lastUpdateScrollPosition;if(L<0&&(L=-L),e===null&&L<o||L<e)return{continuous:!0}}this.$_lastUpdateScrollPosition=O.start;const P=this.buffer;O.start-=P,O.end+=P;let R=0;if(this.$refs.before&&(R=this.$refs.before.scrollHeight,O.start-=R),this.$refs.after){const L=this.$refs.after.scrollHeight;O.end+=L}if(e===null){let L,te=0,H=g-1,V=~~(g/2),Q;do Q=V,L=u[V].accumulator,L<O.start?te=V:V<g-1&&u[V+1].accumulator>O.start&&(H=V),V=~~((te+H)/2);while(V!==Q);for(V<0&&(V=0),f=V,I=u[g-1].accumulator,C=V;C<g&&u[C].accumulator<O.end;C++);for(C===-1?C=l.length-1:(C++,C>g&&(C=g)),v=f;v<g&&R+u[v].accumulator<O.start;v++);for(p=v;p<g&&R+u[p].accumulator<O.end;p++);}else{f=~~(O.start/e*n);const L=f%n;f-=L,C=Math.ceil(O.end/e*n),v=Math.max(0,Math.floor((O.start-R)/e*n)),p=Math.floor((O.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>pce.itemsLimit&&this.itemsLimitError(),this.totalSize=I;let y;const b=f<=this.$_endIndex&&C>=this.$_startIndex;if(b)for(let O=0,P=h.length;O<P;O++)y=h[O],y.nr.used&&(t&&(y.nr.index=A[y.item[s]]),(y.nr.index==null||y.nr.index<f||y.nr.index>=C)&&this.unuseView(y));const S=b?null:new Map;let N,k,_;for(let O=f;O<C;O++){N=l[O];const P=s?N[s]:N;if(P==null)throw new Error(`Key is ${P} on item (keyField is '${s}')`);if(y=c.get(P),!e&&!u[O].size){y&&this.unuseView(y);continue}k=N[a];let R=d.get(k),L=!1;if(!y)b?R&&R.length?y=R.pop():y=this.addView(h,O,N,P,k):(_=S.get(k)||0,(!R||_>=R.length)&&(y=this.addView(h,O,N,P,k),this.unuseView(y,!0),R=d.get(k)),y=R[_],S.set(k,_+1)),c.delete(y.nr.key),y.nr.used=!0,y.nr.index=O,y.nr.key=P,y.nr.type=k,c.set(P,y),L=!0;else if(!y.nr.used&&(y.nr.used=!0,L=!0,R)){const te=R.indexOf(y);te!==-1&&R.splice(te,1)}y.item=N,L&&(O===l.length-1&&this.$emit("scroll-end"),O===0&&this.$emit("scroll-start")),e===null?(y.position=u[O-1].accumulator,y.offset=0):(y.position=Math.floor(O/n)*e,y.offset=O%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=jP(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,b_?{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=jP(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 Sce={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Tce={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Oce(t,r,e,n,i,o){const a=$i("ResizeObserver"),s=pm("observe-visibility");return rn((T(),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?(T(),F("div",Sce,[Xe(t.$slots,"before")],512)):be("v-if",!0),(T(),re(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(()=>[(T(!0),F(me,null,vt(i.pool,l=>(T(),re(Xs(e.itemTag),bn({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}]]},MJ(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?(T(),F("div",Tce,[Xe(t.$slots,"after")],512)):be("v-if",!0),z(a,{onNotify:o.handleResize},null,8,["onNotify"])],34)),[[s,o.handleVisibilityChange]])}Hm.render=Oce;Hm.__file="src/components/RecycleScroller.vue";const kce=["onClick"],D2=$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=S6;return T(),re(m(Hm),{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),(T(!0),F(me,null,vt(s.tags,(l,g)=>(T(),re(a,{key:g,tag:l},null,8,["tag"]))),128))],10,kce)]),_:1},8,["items"])}}}),xce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Pce=$e({__name:"pinia",setup(t){const r=pn(),e=W(""),n=W([]),i=W({});function o(s){r.getInspectorState({inspectorId:"pinia",nodeId:s}).then(({data:l})=>{i.value=l})}function a(){i.value={}}return tt(e,()=>{a(),o(e.value)}),xc("inspector-state"),$o(()=>{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=D2,u=tf,c=wo;return T(),re(c,{"h-screen":""},{default:G(()=>[z(m(cd),null,{default:G(()=>[z(m(bi),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",xce,[z(g,{modelValue:m(e),"onUpdate:modelValue":l[0]||(l[0]=d=>Le(e)?e.value=d:null),data:m(n)},null,8,["modelValue","data"])])]),_:1}),z(m(bi),{flex:"","flex-col":""},{default:G(()=>[(T(),F("div",{key:m(e),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(T(!0),F(me,null,vt(m(i),(d,h)=>(T(),re(u,{id:h,key:h,"inspector-id":"pinia","node-id":m(e),data:d,name:`${h}`},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Rce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Dce=$e({__name:"router",setup(t){const r=pn(),e=W(""),n=W([]),i=W({}),o=Ki(),a=X(()=>`router-inspector:${o.appRecords.value.find(u=>u.id===o.activeAppRecordId.value)?.routerId??0}`);xc("inspector-state");function s(g){r.getInspectorState({inspectorId:a.value,nodeId:g}).then(({data:u})=>{i.value=u})}function l(){i.value={}}return tt(e,()=>{l(),s(e.value)}),$o(()=>{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=D2,d=tf,h=wo;return T(),re(h,{"h-screen":""},{default:G(()=>[z(m(cd),null,{default:G(()=>[z(m(bi),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",Rce,[z(c,{modelValue:m(e),"onUpdate:modelValue":u[0]||(u[0]=A=>Le(e)?e.value=A:null),data:m(n)},null,8,["modelValue","data"])])]),_:1}),z(m(bi),{flex:"","flex-col":""},{default:G(()=>[(T(),F("div",{key:m(e),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(T(!0),F(me,null,vt(m(i),(A,f)=>(T(),re(d,{id:f,key:f,data:A,name:`${f}`,"inspector-id":"router"},null,8,["id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Nce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},nh="vue-i18n-resource-inspector",Mce=$e({__name:"i18n",setup(t){const r=pn(),e=W(""),n=W([]),i=W({});function o(s){r.getInspectorState({inspectorId:nh,nodeId:s}).then(({data:l})=>{i.value=l})}function a(){i.value={}}return tt(e,()=>{a(),o(e.value)}),xc("inspector-state"),$o(()=>{r.getInspectorTree({inspectorId:nh,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:nh}),r.on.inspectorStateUpdated(s=>{!s||!s.state.length||(i.value=s)},{inspectorId:nh})}),ad(()=>{r.unhighlightElement()}),(s,l)=>{const g=D2,u=tf,c=wo;return T(),re(c,{"h-screen":""},{default:G(()=>[z(m(cd),null,{default:G(()=>[z(m(bi),{flex:"","flex-col":"",border:"r base"},{default:G(()=>[w("div",Nce,[z(g,{modelValue:m(e),"onUpdate:modelValue":l[0]||(l[0]=d=>Le(e)?e.value=d:null),data:m(n)},null,8,["modelValue","data"])])]),_:1}),z(m(bi),{flex:"","flex-col":""},{default:G(()=>[(T(),F("div",{key:m(e),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(T(!0),F(me,null,vt(m(i),(d,h)=>(T(),re(u,{id:h,key:h,"inspector-id":nh,"node-id":m(e),data:d,name:`${h}`},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),Bce={class:"h-full flex flex-col items-center justify-center p-12 text-center text-gray-400 space-y-6 dark:text-gray-600"},Fce=$e({__name:"EmptyPane",props:{icon:{},inline:{type:Boolean}},setup(t){const r=t;return(e,n)=>(T(),F("div",Bce,[z(m(Pt),WA(sd(r)),null,16),w("div",null,[Xe(e.$slots,"default")])]))}}),Lce=["onClick"],zce={class:"flex-1 truncate font-mono space-x-1"},jce=["innerHTML"],Vce={key:0,class:"flex-none text-xs font-mono op-50"},Gce=$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)=>(T(),re(m(Hm),{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",zce,[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?(T(),F("span",{key:0,class:"op-75",innerHTML:a.subtitle},null,8,jce)):be("",!0)]),a.time?(T(),F("span",Vce,we(m(due)(a.time)),1)):be("",!0)],10,Lce)]),_:1},8,["items"]))}}),Wce={"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},Hce=$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(()=>`#${v_(e.data.color)}`);return(a,s)=>(T(),F("div",{class:"selectable-item",style:_r(a.modelValue===a.data.id?{color:o.value}:{}),onClick:i},[w("span",Wce,we(a.data.label),1)],4))}}),Uce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Zce={"h-screen":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Kce={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Yce=$e({__name:"timeline",setup(t){const r=pn(),e=W([]),n=W({}),i=W(""),o=W("");xc("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}`!==YA||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 $o(()=>{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)})}),tt(()=>a.value.length,d=>{d&&(o.value="0")}),(d,h)=>{const A=Hce,f=Gce,C=Fce,I=tf,v=wo;return m(e).length?(T(),re(v,{key:0},{default:G(()=>[z(m(cd),null,{default:G(()=>[z(m(bi),{border:"r base",size:"20"},{default:G(()=>[w("div",Uce,[(T(!0),F(me,null,vt(m(e),p=>(T(),re(A,{key:p.id,modelValue:m(i),"onUpdate:modelValue":h[0]||(h[0]=y=>Le(i)?i.value=y:null),data:p},null,8,["modelValue","data"]))),128))])]),_:1}),z(m(bi),{border:"r base",size:"45"},{default:G(()=>[w("div",Zce,[m(a).length?(T(),re(f,{key:0,modelValue:m(o),"onUpdate:modelValue":h[1]||(h[1]=p=>Le(o)?o.value=p:null),data:m(a)},null,8,["modelValue","data"])):(T(),re(C,{key:1,icon:"i-ic-baseline-inbox"},{default:G(()=>[ke(" No events ")]),_:1}))])]),_:1}),z(m(bi),{size:"35"},{default:G(()=>[w("div",Kce,[m(o)?(T(!0),F(me,{key:0},vt(m(u),(p,y)=>(T(),re(I,{id:`${y}`,key:y+Date.now(),data:p,name:`${y}`,"disable-edit":!0,"node-id":"","inspector-id":""},null,8,["id","data","name"]))),128)):(T(),re(C,{key:1,icon:"i-carbon:menu"},{default:G(()=>[ke(" Select an event to display details ")]),_:1}))])]),_:1})]),_:1})]),_:1})):(T(),re(C,{key:1,icon:"i-ic-baseline-inbox"},{default:G(()=>[ke(" No layers ")]),_:1}))}}}),Xce={flex:"~ gap-3","items-center":""},N2=$e({__name:"IconTitle",props:{icon:{},text:{}},setup(t){return(r,e)=>(T(),F("div",Xce,[r.icon?(T(),F("div",{key:0,class:_e(r.icon)},null,2)):be("",!0),Xe(r.$slots,"default",{},()=>[w("div",null,we(r.text),1)])]))}}),P6=t=>(Im("data-v-d09fbc98"),t=t(),vm(),t),Qce=["open"],qce={"text-base":""},Jce={key:0,"text-sm":"",op50:""},ede=P6(()=>w("div",{class:"flex-auto"},null,-1)),tde=P6(()=>w("div",{class:"x-divider"},null,-1)),rde=$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=zm(t,"open",void 0,{passive:!0});function n(i){e.value=i.target.open}return(i,o)=>{const a=N2,s=pm("lazy-show");return T(),F(me,null,[w("details",{open:m(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(m(e)?"op100":"op60")},{default:G(()=>[w("div",null,[w("div",qce,[Xe(i.$slots,"text",{},()=>[ke(we(i.text),1)],!0)]),i.description||i.$slots.description?(T(),F("div",Jce,[Xe(i.$slots,"description",{},()=>[ke(we(i.description),1)],!0)])):be("",!0)]),ede,Xe(i.$slots,"actions",{},void 0,!0),i.collapse?(T(),re(m(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((T(),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,m(e)]])],40,Qce),tde],64)}}}),R6=ef(rde,[["__scopeId","data-v-d09fbc98"]]),nde={block:"","cursor-pointer":""},ide={p2:""},ode=["onSubmit"],ade=w("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1),sde={flex:"~","items-center":"",p2:"","text-sm":"","font-mono":""},lde={key:1},gde=$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=W([]),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)=>m(l)?(T(),re(m(kc),{key:1},{popper:G(({hide:d})=>[w("div",ide,[w("form",{flex:"~ col",onSubmit:wn(()=>{g(),d()},["prevent"])},[m(l)?(T(),F(me,{key:0},[ade,w("div",sde,[(T(!0),F(me,null,vt(m(a),(h,A)=>(T(),F(me,{key:A},[h[0]===":"?(T(),re(m(Da),{key:0,modelValue:m(o)[A],"onUpdate:modelValue":f=>m(o)[A]=f,"n-sm":"","w-20":"",placeholder:h.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(T(),F("span",lde,we(h),1))],64))),128))])],64)):be("",!0),z(m(ot),{block:"",type:"primary"},{default:G(()=>[ke(" Navigate ")]),_:1})],40,ode)])]),default:G(()=>[w("code",nde,[(T(!0),F(me,null,vt(m(a),(d,h)=>(T(),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})):(T(),F("button",{key:0,onClick:g},[w("code",null,we(u.route.path),1)]))}}),ude={"w-full":""},cde=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),dde={"w-20":"","pr-1":""},hde={flex:"","items-center":"","justify-end":""},Ade={"text-sm":""},fde={flex:"inline gap3","items-center":""},Cde={op0:"","group-hover:op100":"",flex:"~ gap1"},Ide=["onClick"],vde=w("div",{"i-carbon-script-reference":""},null,-1),pde=[vde],mde={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:""},yde=$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=Gm,i=Ki();return(o,a)=>{const s=gde;return T(),F("div",null,[w("table",ude,[cde,w("tbody",null,[(T(!0),F(me,null,vt(m(e),l=>(T(),F("tr",{key:l.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[w("td",dde,[w("div",hde,[o.matched.find(g=>g.name===l.name)?(T(),re(m(pP),{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):o.matchedPending.find(g=>g.name===l.name)?(T(),re(m(pP),{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):be("",!0)])]),w("td",Ade,[w("div",fde,[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)&&m(i).vitePluginDetected.value?(T(),F("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary-400",title:"Open in editor",onClick:g=>m(n)(l.file||l.meta?.file)},pde,8,Ide)):be("",!0)])])]),w("td",mde,we(l.name),1)]))),128))])])])}}}),bde={"h-full":"","of-auto":""},$de={border:"b base",flex:"~ col gap1",px4:"",py3:""};const wde={key:1,op50:""},_de=w("span",null,[ke("Press "),w("b",{"font-bold":""},"Enter"),ke(" to navigate")],-1),Ede={key:0,"text-orange":"",op75:""},Sde={key:1,op50:""},Tde=$e({__name:"pages",setup(t){const r=pn(),e=W(""),n=W(null),i=W([]),o=X(()=>e.value===n.value?.path?[]:i.value),a=W([]);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 $o(()=>{r.getRouterInfo().then(({data:u})=>{s(u)}),r.on.routerInfoUpdated(u=>{s(u)})}),S2(e,()=>{e.value!==n.value?.path&&r.getMatchedRoutes(e.value).then(u=>{i.value=u.data})}),(u,c)=>{const d=yde,h=R6,A=wo;return T(),re(A,{block:"","h-screen":"","of-auto":""},{default:G(()=>[w("div",bde,[w("div",$de,[w("div",null,[(T(),F("span",wde,"Current route"))]),z(m(Da),{modelValue:m(e),"onUpdate:modelValue":c[0]||(c[0]=f=>Le(e)?e.value=f:null),"left-icon":"i-carbon-direction-right-01 scale-y--100",class:_e(m(n)?.path===m(e)?"":m(o).length?"text-green!":"text-orange!"),onKeydown:Dj(l,["enter"])},null,8,["modelValue","class"]),w("div",null,[m(n)?.path!==m(e)?(T(),F(me,{key:0},[_de,m(o).length?be("",!0):(T(),F("span",Ede," (no match)"))],64)):(T(),F("span",Sde,"Edit path above to navigate"))])]),z(h,{icon:"i-carbon-tree-view-alt",text:"All Routes",description:`${m(a).length} routes registered in your application`,padding:!1},{default:G(()=>[m(a).length?(T(),re(d,{key:0,pages:m(a),matched:m(n)?.matched??[],"matched-pending":m(o),onNavigate:g},null,8,["pages","matched","matched-pending"])):be("",!0)]),_:1},8,["description"])])]),_:1})}}});var ho;(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"})(ho||(ho={}));var Pc;(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,y=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&&(y=A),f!==0&&(b=f),C!==0&&(S=C),(I<<0|v<<8|p<<10|y<<11|b<<15|S<<24)>>>0}t.set=g})(Pc||(Pc={}));function Ap(t,r){const e=[],n=Ode(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(VP(i)){const l=[];do l.push(i),i=n.next();while(VP(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 VP(t){return!!t&&!!t.match(/[\w\.:]+/)}function Ode(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 D6(t){typeof t.dispose=="function"&&t.dispose()}function kde(t){return M2(t)}function M2(t){return Array.isArray(t)?xde(t):typeof t=="object"?Pde(t):t}function xde(t){let r=[];for(let e=0,n=t.length;e<n;e++)r[e]=M2(t[e]);return r}function Pde(t){let r={};for(let e in t)r[e]=M2(t[e]);return r}function N6(t,...r){return r.forEach(e=>{for(let n in e)t[n]=e[n]}),t}function M6(t){const r=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return r===0?t:~r===t.length-1?M6(t.substring(0,t.length-1)):t.substr(~r+1)}let Kb=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class VC{static hasCaptures(r){return r===null?!1:(Kb.lastIndex=0,Kb.test(r))}static replaceCaptures(r,e,n){return r.replace(Kb,(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 B6(t,r){return t<r?-1:t>r?1:0}function F6(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=B6(t[i],r[i]);if(o!==0)return o}return 0}return e-n}function GP(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 L6(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class z6{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 hA{scopeName;constructor(r){this.scopeName=r}toKey(){return this.scopeName}}class Rde{scopeName;ruleName;constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}}class Dde{_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 Nde{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 hA(this.initialScopeName)]}processQueue(){const r=this.Q;this.Q=[];const e=new Dde;for(const n of r)Mde(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof hA){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 Mde(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 hA?hv({baseGrammar:o,selfGrammar:i},n):$_(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 hA(s))}function $_(t,r,e){if(r.repository&&r.repository[t]){const n=r.repository[t];fp([n],r,e)}}function hv(t,r){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&fp(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},r),t.selfGrammar.injections&&fp(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},r)}function fp(t,r,e){for(const n of t){if(e.visitedRule.has(n))continue;e.visitedRule.add(n);const i=n.repository?N6({},r.repository,n.repository):r.repository;Array.isArray(n.patterns)&&fp(n.patterns,{...r,repository:i},e);const o=n.include;if(!o)continue;const a=j6(o);switch(a.kind){case 0:hv({...r,selfGrammar:r.baseGrammar},e);break;case 1:hv(r,e);break;case 2:$_(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?$_(a.ruleName,l,e):hv(l,e)}else a.kind===4?e.add(new Rde(a.scopeName,a.ruleName)):e.add(new hA(a.scopeName));break}}}class Bde{kind=0}class Fde{kind=1}class Lde{ruleName;kind=2;constructor(r){this.ruleName=r}}class zde{scopeName;kind=3;constructor(r){this.scopeName=r}}class jde{scopeName;ruleName;kind=4;constructor(r,e){this.scopeName=r,this.ruleName=e}}function j6(t){if(t==="$base")return new Bde;if(t==="$self")return new Fde;const r=t.indexOf("#");if(r===-1)return new zde(t);if(r===0)return new Lde(t.substring(1));{const e=t.substring(0,r),n=t.substring(r+1);return new jde(e,n)}}const Vde=/\\(\d+)/,WP=/\\(\d+)/g,Gde=-1,V6=-2;class rf{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(r,e,n,i){this.$location=r,this.id=e,this._name=n||null,this._nameIsCapturing=VC.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=VC.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${M6(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:VC.replaceCaptures(this._name,r,e)}getContentName(r,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:VC.replaceCaptures(this._contentName,r,e)}}class Wde extends rf{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 Hde extends rf{_match;captures;_cachedCompiledPatterns;constructor(r,e,n,i,o){super(r,e,n,null),this._match=new _g(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 AA,this.collectPatterns(r,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class HP extends rf{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 AA,this.collectPatterns(r,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class w_ extends rf{_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 _g(o,this.id),this.beginCaptures=a,this._end=new _g(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 AA;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 Cp extends rf{_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 _g(o,this.id),this.beginCaptures=a,this.whileCaptures=l,this._while=new _g(s,V6),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 AA;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 AA,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 Wde(e,a,n,i,o))}static getCompiledRuleId(r,e,n){return r.id||e.registerRule(i=>{if(r.id=i,r.match)return new Hde(r.$vscodeTextmateLocation,r.id,r.name,r.match,Yr._compileCaptures(r.captures,e,n));if(typeof r.begin>"u"){r.repository&&(n=N6({},n,r.repository));let o=r.patterns;return typeof o>"u"&&r.include&&(o=[{include:r.include}]),new HP(r.$vscodeTextmateLocation,r.id,r.name,r.contentName,Yr._compilePatterns(o,e,n))}return r.while?new Cp(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 w_(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=j6(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 HP||g instanceof w_||g instanceof Cp)&&g.hasMissingPatterns&&g.patterns.length===0&&(u=!0),u)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(r?r.length:0)!==i.length}}}class _g{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=Vde.test(this.source)}clone(){return new _g(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 WP.lastIndex=0,this.source.replace(WP,(i,o)=>L6(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 AA{_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 UP(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 UP(r,i,this._items.map(o=>o.ruleId))}}class UP{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 __{_colorMap;_defaults;_root;static createFromRawTheme(r,e){return this.createFromParsedTheme(Kde(r),e)}static createFromParsedTheme(r,e){return Xde(r,e)}_cachedMatchRoot=new z6(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=>Ude(r.parent,o.parentScopes));return i?new G6(i.fontStyle,i.foreground,i.background):null}}class og{parent;scopeName;static push(r,e){for(const n of e)r=new og(r,n);return r}static from(...r){let e=null;for(let n=0;n<r.length;n++)e=new og(e,r[n]);return e}constructor(r,e){this.parent=r,this.scopeName=e}push(r){return new og(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 Ude(t,r){if(r===null)return!0;let e=0,n=r[e];for(;t;){if(Zde(t.scopeName,n)){if(e++,e===r.length)return!0;n=r[e]}t=t.parent}return!1}function Zde(t,r){return r===t||t.startsWith(r)&&t[r.length]==="."}class G6{fontStyle;foregroundId;backgroundId;constructor(r,e,n){this.fontStyle=r,this.foregroundId=e,this.backgroundId=n}}function Kde(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"&&GP(a.settings.foreground)&&(g=a.settings.foreground);let u=null;typeof a.settings.background=="string"&&GP(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 Yde(f,C,i,l,g,u)}}return e}class Yde{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 Xde(t,r){t.sort((l,g)=>{let u=B6(l.scope,g.scope);return u!==0||(u=F6(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 Qde(r),a=new G6(e,o.getId(n),o.getId(i)),s=new Nh(new fA(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 __(o,a,s)}class Qde{_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 fA{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 fA(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 Nh{_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 Nh._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):Nh._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 Nh(this._mainRule.clone(),fA.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(F6(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 fA(r,e,n,i,o))}}class Yb{languageId;tokenType;constructor(r,e){this.languageId=r,this.tokenType=e}}class Ip{_defaultAttributes;_embeddedLanguagesMatcher;constructor(r,e){this._defaultAttributes=new Yb(r,8),this._embeddedLanguagesMatcher=new qde(Object.entries(e||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(r){return r===null?Ip._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(r)}static _NULL_SCOPE_METADATA=new Yb(0,0);_getBasicScopeAttributes=new z6(r=>{const e=this._scopeToLanguage(r),n=this._toStandardTokenType(r);return new Yb(e,n)});_scopeToLanguage(r){return this._embeddedLanguagesMatcher.match(r)||0}_toStandardTokenType(r){const e=r.match(Ip.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 qde{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])=>L6(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 ZP{stack;stoppedEarly;constructor(r,e){this.stack=r,this.stoppedEarly=e}}function W6(t,r,e,n,i,o,a,s){const l=r.content.length;let g=!1,u=-1;if(a){const h=Jde(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 ZP(i,!0);d()}return new ZP(i,!1);function d(){const h=ehe(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===Gde){const I=i.getRule(t);o.produce(i,A[0].start),i=i.withContentNameScopesList(i.nameScopesList),vh(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),y=i.contentNameScopesList.pushAttributed(p,t);if(i=i.push(f,n,u,A[0].end===l,null,y,y),I instanceof w_){const b=I;vh(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=y.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 Cp){const b=I;vh(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=y.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(vh(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 Jde(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 Cp&&s.push({rule:g,stack:l})}for(let l=s.pop();l;l=s.pop()){const{ruleScanner:g,findOptions:u}=nhe(l.rule,t,l.stack.endRule,e,n===a),c=g.findNextMatchSync(r,n,u);if(c){if(c.ruleId!==V6){i=l.stack.pop();break}c.captureIndices&&c.captureIndices.length&&(o.produce(l.stack,c.captureIndices[0].start),vh(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 ehe(t,r,e,n,i,o){const a=the(t,r,e,n,i,o),s=t.getInjections();if(s.length===0)return a;const l=rhe(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 the(t,r,e,n,i,o){const a=i.getRule(t),{ruleScanner:s,findOptions:l}=H6(a,t,i.endRule,e,n===o),g=s.findNextMatchSync(r,n,l);return g?{captureIndices:g.captureIndices,matchedRuleId:g.ruleId}:null}function rhe(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}=H6(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 H6(t,r,e,n,i){return{ruleScanner:t.compileAG(r,e,n,i),findOptions:0}}function nhe(t,r,e,n,i){return{ruleScanner:t.compileWhileAG(r,e,n,i),findOptions:0}}function vh(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),y=t.createOnigString(s.substring(0,h.end));W6(t,y,e&&h.start===0,h.start,p,i,!1,0),D6(y);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 ihe(C,h.end))}}for(;g.length>0;)i.produceFromScopes(g[g.length-1].scopes,g[g.length-1].endPos),g.pop()}class ihe{scopes;endPos;constructor(r,e){this.scopes=r,this.endPos=e}}function ohe(t,r,e,n,i,o,a,s){return new she(t,r,e,n,i,o,a,s)}function KP(t,r,e,n,i){const o=Ap(r,vp),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 vp(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(ahe(r[i],n))return e=i+1,!0;return!1})}function ahe(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 she{_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 Ip(n,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=YP(e,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const g of Object.keys(o)){const u=Ap(g,vp);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)KP(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&&KP(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]=YP(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===Do.NULL){o=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),d=Pc.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 Do(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 ghe(n,r,this._tokenTypeMatchers,this.balancedBracketSelectors),g=W6(this,a,o,0,e,l,!0,i);return D6(a),{lineLength:s,lineTokens:l,ruleStack:g.stack,stoppedEarly:g.stoppedEarly}}}function YP(t,r){return t=kde(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=og.push(i,o.scopeNames),n=new Tn(n,i,o.encodedTokenAttributes);return n}static createRoot(r,e){return new Tn(null,new og(null,r),e)}static createRootAndLookUpScopeName(r,e,n){const i=n.getMetadataForScope(r),o=new og(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),Pc.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 Do{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new Do(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:Do._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(){Do._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(r,e,n,i,o,a,s){return new Do(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 Do(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 Do(r,e.ruleId,e.enterPos??-1,e.anchorPos??-1,e.beginRuleCapturedEOL,e.endRule,n,Tn.fromExtension(n,e.contentNameScopesList))}}class lhe{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(r,e){this.balancedBracketScopes=r.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Ap(n,vp).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>Ap(n,vp).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 ghe{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=Pc.set(i,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(a))}if(o&&(i=Pc.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 uhe{_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,ohe(r,a,e,n,i,o,this,await this._onigLibPromise))}return this._grammars.get(r)}}let che=class{_options;_syncRegistry;_ensureGrammarCache;constructor(r){this._options=r,this._syncRegistry=new uhe(__.createFromRawTheme(r.theme,r.colorMap),r.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(r,e){this._syncRegistry.setTheme(__.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 lhe(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(r){return this._loadGrammar(r,0,null,null,null)}async _loadGrammar(r,e,n,i,o){const a=new Nde(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 dhe=Do.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!==ho.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 hhe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class nf{constructor(r,e,n){this.property=r,this.normal=e,n&&(this.space=n)}}nf.prototype.property={};nf.prototype.normal={};nf.prototype.space=null;function U6(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 nf(e,n,r)}function E_(t){return t.toLowerCase()}class Yi{constructor(r,e){this.property=r,this.attribute=e}}Yi.prototype.space=null;Yi.prototype.boolean=!1;Yi.prototype.booleanish=!1;Yi.prototype.overloadedBoolean=!1;Yi.prototype.number=!1;Yi.prototype.commaSeparated=!1;Yi.prototype.spaceSeparated=!1;Yi.prototype.commaOrSpaceSeparated=!1;Yi.prototype.mustUseProperty=!1;Yi.prototype.defined=!1;let Ahe=0;const at=Ug(),Rr=Ug(),Z6=Ug(),ue=Ug(),qt=Ug(),uc=Ug(),di=Ug();function Ug(){return 2**++Ahe}var S_=Object.freeze({__proto__:null,boolean:at,booleanish:Rr,commaOrSpaceSeparated:di,commaSeparated:uc,number:ue,overloadedBoolean:Z6,spaceSeparated:qt});const Xb=Object.keys(S_);class B2 extends Yi{constructor(r,e,n,i){let o=-1;if(super(r,e),XP(this,"space",i),typeof n=="number")for(;++o<Xb.length;){const a=Xb[o];XP(this,Xb[o],(n&S_[a])===S_[a])}}}B2.prototype.defined=!0;function XP(t,r,e){e&&(t[r]=e)}const fhe={}.hasOwnProperty;function dd(t){const r={},e={};let n;for(n in t.properties)if(fhe.call(t.properties,n)){const i=t.properties[n],o=new B2(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),r[n]=o,e[E_(n)]=n,e[E_(o.attribute)]=n}return new nf(r,e,t.space)}const K6=dd({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}}),Y6=dd({space:"xml",transform(t,r){return"xml:"+r.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function X6(t,r){return r in t?t[r]:r}function Q6(t,r){return X6(t,r.toLowerCase())}const q6=dd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Q6,properties:{xmlns:null,xmlnsXLink:null}}),J6=dd({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=dd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Q6,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:uc,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|uc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:at,defer:at,dir:null,dirName:null,disabled:at,download:Z6,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}}),Ihe=dd({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:X6,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:uc,g2:uc,glyphName:uc,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}}),vhe=/^data[-\w.:]+$/i,QP=/-[a-z]/g,phe=/[A-Z]/g;function mhe(t,r){const e=E_(r);let n=r,i=Yi;if(e in t.normal)return t.property[t.normal[e]];if(e.length>4&&e.slice(0,4)==="data"&&vhe.test(r)){if(r.charAt(4)==="-"){const o=r.slice(5).replace(QP,bhe);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=r.slice(4);if(!QP.test(o)){let a=o.replace(phe,yhe);a.charAt(0)!=="-"&&(a="-"+a),r="data"+a}}i=B2}return new i(n,r)}function yhe(t){return"-"+t.toLowerCase()}function bhe(t){return t.charAt(1).toUpperCase()}const $he=U6([Y6,K6,q6,J6,Che],"html"),eV=U6([Y6,K6,q6,J6,Ihe],"svg"),qP={}.hasOwnProperty;function whe(t,r){const e=r||{};function n(i,...o){let a=n.invalid;const s=n.handlers;if(i&&qP.call(i,t)){const l=String(i[t]);a=qP.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 _he(t,r){if(t=t.replace(r.subset?Ehe(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 Ehe(t){const r=[];let e=-1;for(;++e<t.length;)r.push(t[e].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+r.join("|")+")","g")}function She(t,r,e){const n="&#x"+t.toString(16).toUpperCase();return e&&r&&!/[\dA-Fa-f]/.test(String.fromCharCode(r))?n:n+";"}function The(t,r,e){const n="&#"+String(t);return e&&r&&!/\d/.test(String.fromCharCode(r))?n:n+";"}const Ohe=["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"],Qb={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:"€"},khe=["cent","copy","divide","gt","lt","not","para","times"],tV={}.hasOwnProperty,T_={};let GC;for(GC in Qb)tV.call(Qb,GC)&&(T_[Qb[GC]]=GC);function xhe(t,r,e,n){const i=String.fromCharCode(t);if(tV.call(T_,i)){const o=T_[i],a="&"+o;return e&&Ohe.includes(o)&&!khe.includes(o)&&(!n||r&&r!==61&&/[^\da-z]/i.test(String.fromCharCode(r)))?a:a+";"}return""}function Phe(t,r,e){let n=She(t,r,e.omitOptionalSemicolons),i;if((e.useNamedReferences||e.useShortestReferences)&&(i=xhe(t,r,e.omitOptionalSemicolons,e.attribute)),(e.useShortestReferences||!i)&&e.useShortestReferences){const o=The(t,r,e.omitOptionalSemicolons);o.length<n.length&&(n=o)}return i&&(!e.useShortestReferences||i.length<n.length)?i:n}function cc(t,r){return _he(t,Object.assign({format:Phe},r))}function Rhe(t,r,e,n){return n.settings.bogusComments?"<?"+cc(t.value,Object.assign({},n.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,i)+"-->";function i(o){return cc(o,Object.assign({},n.settings.characterReferences,{subset:["<",">"]}))}}function Dhe(t,r,e,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}function JP(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 Nhe(t,r){const e=r||{};return(t[t.length-1]===""?[...t,""]:t).join((e.padRight?" ":"")+","+(e.padLeft===!1?"":" ")).trim()}function Mhe(t){return t.join(" ").trim()}const Bhe=/[ \t\n\f\r]/g;function F2(t){return typeof t=="object"?t.type==="text"?eR(t.value):!1:eR(t)}function eR(t){return t.replace(Bhe,"")===""}const Wr=nV(1),rV=nV(-1),Fhe=[];function nV(t){return r;function r(e,n,i){const o=e?e.children:Fhe;let a=(n||0)+t,s=o[a];if(!i)for(;s&&F2(s);)a+=t,s=o[a];return s}}const Lhe={}.hasOwnProperty;function iV(t){return r;function r(e,n,i){return Lhe.call(t,e.tagName)&&t[e.tagName](e,n,i)}}const L2=iV({body:jhe,caption:qb,colgroup:qb,dd:Hhe,dt:Whe,head:qb,html:zhe,li:Ghe,optgroup:Uhe,option:Zhe,p:Vhe,rp:tR,rt:tR,tbody:Yhe,td:rR,tfoot:Xhe,th:rR,thead:Khe,tr:Qhe});function qb(t,r,e){const n=Wr(e,r,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&F2(n.value.charAt(0)))}function zhe(t,r,e){const n=Wr(e,r);return!n||n.type!=="comment"}function jhe(t,r,e){const n=Wr(e,r);return!n||n.type!=="comment"}function Vhe(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 Ghe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&n.tagName==="li"}function Whe(t,r,e){const n=Wr(e,r);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function Hhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function tR(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function Uhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&n.tagName==="optgroup"}function Zhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Khe(t,r,e){const n=Wr(e,r);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function Yhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function Xhe(t,r,e){return!Wr(e,r)}function Qhe(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&n.tagName==="tr"}function rR(t,r,e){const n=Wr(e,r);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const qhe=iV({body:tAe,colgroup:rAe,head:eAe,html:Jhe,tbody:nAe});function Jhe(t){const r=Wr(t,-1);return!r||r.type!=="comment"}function eAe(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 tAe(t){const r=Wr(t,-1,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&F2(r.value.charAt(0)))&&!(r.type==="element"&&(r.tagName==="meta"||r.tagName==="link"||r.tagName==="script"||r.tagName==="style"||r.tagName==="template"))}function rAe(t,r,e){const n=rV(e,r),i=Wr(t,-1,!0);return e&&n&&n.type==="element"&&n.tagName==="colgroup"&&L2(n,e.children.indexOf(n),e)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function nAe(t,r,e){const n=rV(e,r),i=Wr(t,-1);return e&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&L2(n,e.children.indexOf(n),e)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const WC={name:[[`