@vitejs/devtools-vite 0.8.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +48 -71
- package/dist/nitro.json +3 -3
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/1OzoDyp-.js +1 -0
- package/dist/public/_nuxt/BD9RWFCr.js +1 -0
- package/dist/public/_nuxt/{BpcgOZ8f.js → BI2czHt6.js} +6 -5
- package/dist/public/_nuxt/BOY6uhyO.js +2 -0
- package/dist/public/_nuxt/{BDNMzG2s.js → BmP83cE4.js} +1 -0
- package/dist/public/_nuxt/CG20mqIK.js +9 -0
- package/dist/public/_nuxt/DZWKP7A0.js +2 -0
- package/dist/public/_nuxt/DhatuQj5.js +2 -0
- package/dist/public/_nuxt/DiR5oYyH.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/282fbf2e-f850-4122-9e6e-5a779a6c826e.json +1 -0
- package/dist/public/_nuxt/ceT2ACMd.js +2 -0
- package/dist/public/_nuxt/entry.DkD6LOGS.css +1 -0
- package/dist/public/_nuxt/error-404.bD12eKH_.css +1 -0
- package/dist/public/_nuxt/error-500.CAuZFXRr.css +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +13 -13
- package/dist/public/_nuxt/3I19oYXS.js +0 -1
- package/dist/public/_nuxt/B3GmGsvS.js +0 -2
- package/dist/public/_nuxt/B95zZTfe.js +0 -2
- package/dist/public/_nuxt/BHYBAU6o.js +0 -1
- package/dist/public/_nuxt/B_A1QLnD.js +0 -2
- package/dist/public/_nuxt/Cya-tyvy.js +0 -1
- package/dist/public/_nuxt/DEDqDK_N.js +0 -1
- package/dist/public/_nuxt/DbCy1lFc.js +0 -1
- package/dist/public/_nuxt/DsNyhCdQ.js +0 -1
- package/dist/public/_nuxt/DzOoRO9v.js +0 -1
- package/dist/public/_nuxt/GbHA8sGJ.js +0 -4
- package/dist/public/_nuxt/XWR6704C.js +0 -3
- package/dist/public/_nuxt/builds/meta/182d478f-b12f-4a7e-9193-974ad455ae4b.json +0 -1
- package/dist/public/_nuxt/entry.Dzmi34AE.css +0 -1
- package/dist/public/_nuxt/error-404.DX_MWdQh.css +0 -1
- package/dist/public/_nuxt/error-500.k6s4_nCY.css +0 -1
- package/dist/public/_nuxt/l8iGVs4x.js +0 -1
- package/dist/public/_nuxt/rpc.CVTFzytL.css +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BpcgOZ8f.js","./GbHA8sGJ.js","./XWR6704C.js","./Cya-tyvy.js","./DsNyhCdQ.js","./B_A1QLnD.js","./B3GmGsvS.js","./BDNMzG2s.js","./rpc.CVTFzytL.css","./filepath.DjcvQMuT.css","./graph.qvMalRQi.css","./DzOoRO9v.js","./BHYBAU6o.js","./plugins.CtM-Tp_V.css","./DEDqDK_N.js","./l8iGVs4x.js","./error-404.DX_MWdQh.css","./3I19oYXS.js","./error-500.k6s4_nCY.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{$t as e,C as t,Ct as n,Et as r,F as i,G as a,Gt as o,H as s,I as c,K as l,L as u,M as d,N as f,Ot as p,P as m,R as h,S as g,T as _,U as v,V as y,W as b,Wt as x,X as S,Xt as C,Y as w,Yt as T,Z as E,Zt as D,_ as O,_t as k,a as A,bt as j,ct as ee,d as te,et as ne,f as re,g as ie,ht as ae,j as oe,l as se,lt as ce,mt as le,n as ue,o as de,p as fe,pt as pe,qt as me,r as M,s as he,st as ge,t as _e,tt as ve,ut as ye,v as be,vt as xe,w as Se,wt as Ce,x as N,xt as we,y as Te,z as Ee}from"./XWR6704C.js";import{A as De,C as Oe,D as ke,E as Ae,M as je,S as Me,T as Ne,a as Pe,b as Fe,d as Ie,f as Le,g as Re,h as ze,i as Be,k as Ve,m as He,n as Ue,o as We,p as Ge,r as Ke,t as qe,u as Je,w as Ye,x as Xe,y as Ze}from"./B3GmGsvS.js";import{$ as Qe,A as $e,B as et,C as tt,D as nt,E as rt,F as it,G as at,H as ot,I as st,J as ct,K as lt,L as ut,M as dt,N as ft,O as pt,P as mt,Q as ht,R as gt,S as _t,T as vt,U as P,V as yt,W as bt,X as xt,Y as St,Z as Ct,_ as wt,a as Tt,b as Et,c as Dt,d as Ot,et as kt,f as At,g as jt,h as Mt,it as Nt,j as Pt,k as Ft,l as F,m as I,o as It,p as Lt,q as L,r as Rt,rt as zt,s as Bt,t as Vt,tt as Ht,u as Ut,v as Wt,w as Gt,x as Kt,y as qt,z as Jt}from"./B_A1QLnD.js";import{C as Yt,D as Xt,V as Zt,r as Qt,t as $t,z as en}from"./GbHA8sGJ.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var tn=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,nn=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,rn=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function an(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t)on(e);else return t}function on(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function sn(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!rn.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(tn.test(e)||nn.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,an)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var cn=class extends Error{constructor(e,t){super(e,t),this.name=`FetchError`,t?.cause&&!this.cause&&(this.cause=t.cause)}};function ln(e){let t=e.error?.message||e.error?.toString()||``,n=e.request?.method||e.options?.method||`GET`,r=e.request?.url||String(e.request)||`/`,i=new cn(`${`[${n}] ${JSON.stringify(r)}`}: ${e.response?`${e.response.status} ${e.response.statusText}`:`<no response>`}${t?` ${t}`:``}`,e.error?{cause:e.error}:void 0);for(let t of[`request`,`options`,`response`])Object.defineProperty(i,t,{get(){return e[t]}});for(let[t,n]of[[`data`,`_data`],[`status`,`status`],[`statusCode`,`status`],[`statusText`,`statusText`],[`statusMessage`,`statusText`]])Object.defineProperty(i,t,{get(){return e.response&&e.response[n]}});return i}var un=new Set(Object.freeze([`PATCH`,`POST`,`PUT`,`DELETE`]));function dn(e=`GET`){return un.has(e.toUpperCase())}function fn(e){if(e===void 0)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`||t===null?!0:t===`object`?Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name===`Object`||typeof e.toJSON==`function`:!1}var pn=new Set([`image/svg`,`application/xml`,`application/xhtml`,`application/html`]),mn=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function hn(e=``){if(!e)return`json`;let t=e.split(`;`).shift()||``;return mn.test(t)?`json`:t===`text/event-stream`?`stream`:pn.has(t)||t.startsWith(`text/`)?`text`:`blob`}function gn(e,t,n,r){let i=_n(t?.headers??e?.headers,n?.headers,r),a;return(n?.query||n?.params||t?.params||t?.query)&&(a={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:a,params:a,headers:i}}function _n(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}async function vn(e,t){if(t){if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}}var yn=new Set([408,409,425,429,500,502,503,504]),bn=new Set([101,204,205,304]);function xn(e={}){let{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(e){let t=e.error&&e.error.name===`AbortError`&&!e.options.timeout||!1;if(e.options.retry!==!1&&!t){let t;t=typeof e.options.retry==`number`?e.options.retry:+!dn(e.options.method);let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):yn.has(n))){let n=typeof e.options.retryDelay==`function`?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),a(e.request,{...e.options,retry:t-1})}}let n=ln(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,a),n}let a=async function(a,o={}){let s={request:a,options:gn(a,o,e.defaults,n),response:void 0,error:void 0};if(s.options.method&&(s.options.method=s.options.method.toUpperCase()),s.options.onRequest&&(await vn(s,s.options.onRequest),s.options.headers instanceof n||(s.options.headers=new n(s.options.headers||{}))),typeof s.request==`string`&&(s.options.baseURL&&(s.request=Ve(s.request,s.options.baseURL)),s.options.query&&(s.request=De(s.request,s.options.query),delete s.options.query),`query`in s.options&&delete s.options.query,`params`in s.options&&delete s.options.params),s.options.body&&dn(s.options.method)){if(fn(s.options.body)){let e=s.options.headers.get(`content-type`);typeof s.options.body!=`string`&&(s.options.body=e===`application/x-www-form-urlencoded`?new URLSearchParams(s.options.body).toString():JSON.stringify(s.options.body)),e||s.options.headers.set(`content-type`,`application/json`),s.options.headers.has(`accept`)||s.options.headers.set(`accept`,`application/json`)}else(`pipeTo`in s.options.body&&typeof s.options.body.pipeTo==`function`||typeof s.options.body.pipe==`function`)&&(`duplex`in s.options||(s.options.duplex=`half`))}let c;if(!s.options.signal&&s.options.timeout){let e=new r;c=setTimeout(()=>{let t=Error(`[TimeoutError]: The operation was aborted due to timeout`);t.name=`TimeoutError`,t.code=23,e.abort(t)},s.options.timeout),s.options.signal=e.signal}try{s.response=await t(s.request,s.options)}catch(e){return s.error=e,s.options.onRequestError&&await vn(s,s.options.onRequestError),await i(s)}finally{c&&clearTimeout(c)}if((s.response.body||s.response._bodyInit)&&!bn.has(s.response.status)&&s.options.method!==`HEAD`){let e=(s.options.parseResponse?`json`:s.options.responseType)||hn(s.response.headers.get(`content-type`)||``);switch(e){case`json`:{let e=await s.response.text(),t=s.options.parseResponse||sn;s.response._data=t(e);break}case`stream`:s.response._data=s.response.body||s.response._bodyInit;break;default:s.response._data=await s.response[e]()}}return s.options.onResponse&&await vn(s,s.options.onResponse),!s.options.ignoreResponseError&&s.response.status>=400&&s.response.status<600?(s.options.onResponseError&&await vn(s,s.options.onResponseError),await i(s)):s.response},o=async function(e,t){return(await a(e,t))._data};return o.raw=a,o.native=(...e)=>t(...e),o.create=(t={},n={})=>xn({...e,...n,defaults:{...e.defaults,...n.defaults,...t}}),o}var Sn=(function(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof globalThis<`u`)return globalThis;throw Error(`unable to locate global object`)})(),Cn=Sn.fetch?(...e)=>Sn.fetch(...e):()=>Promise.reject(Error(`[ofetch] global.fetch is not supported!`)),wn=Sn.Headers,Tn=Sn.AbortController,En=xn({fetch:Cn,Headers:wn,AbortController:Tn}),Dn=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,On=()=>Dn().app,kn=()=>On().baseURL,An=()=>On().buildAssetsDir,jn=(...e)=>Ae(Mn(),An(),...e),Mn=(...e)=>{let t=On(),n=t.cdnURL||t.baseURL;return e.length?Ae(n,...e):n};globalThis.__buildAssetsURL=jn,globalThis.__publicAssetsURL=Mn,globalThis.$fetch||(globalThis.$fetch=En.create({baseURL:kn()}));var Nn=globalThis.$fetch;`global`in globalThis||(globalThis.global=globalThis);function Pn(e,t){t.push(he),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function Fn(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function In(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Fn(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var Ln=new Set([`link`,`style`,`script`,`noscript`]),Rn=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),zn=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Bn=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Vn=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Hn=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Un=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Wn=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Gn={critical:-8,high:-1,low:2},Kn=e=>typeof e==`number`?Number.isFinite(e):e;function qn(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function Jn(e){let t=new fe;for(let n in e||{})t.hook(n,e[n]);return t}function Yn(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function Xn(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Fn(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var Zn=/^(?:viewport|description|keywords|robots)$/,Qn=[`name`,`property`,`http-equiv`];function $n(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return Wn.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function er(e){let{props:t,tag:n,key:r}=e;if(Vn.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Qn){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Zn.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:Rn.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function tr(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function nr(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=nr(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=qn(n),a=i?void 0:nr(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var rr=/[\s"'<>/=\x00-\x1F\x7F]/;function ir(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function ar(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=zn.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(qn(r))continue;let i=r.startsWith(`data-`),a=n&&!Hn.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||rr.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=ir(r,s);else if(Hn.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function or(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),nr(e,n)}function sr(e,t){let n=ar({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&Ln.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function cr(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function lr(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=or(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)cr(n,sr(t,e));else cr(n,sr(t,r))}}return n}var ur=/</g,dr=/<\/script/g,fr=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,pr=()=>100;function mr(e){for(let t in e)return!1;return!0}var hr=/^tags:|:render/;function gr(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function _r(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function vr(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(fr)}function yr(e){let t=!1;for(let n of e.tags.sort(fr)){let r=n._d||tr(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(Un.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&$n(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function br(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function xr(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(Bn.has(i)&&(!mr(a)||Kn(r)||Kn(n.textContent))&&(i!==`meta`||Kn(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(ur,`\\u003C`):typeof e==`string`?e.replace(dr,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=er(n)}e[t++]=n}}return e.length=t,e}function Sr(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??pr,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};gr(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&Yn(e,`entries:resolve`,{entries:a,...r})),gr(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||mr(t.options)))a=t._precomputedTags;else{if(a=lr(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!mr(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};Yn(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=er(r),r._d||(r._h=tr(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&hr.test(e)){_r(r.tags);break}let o=yr(r);return br(r,e),vr(r,o),Yn(e,`tags:beforeResolve`,r),Yn(e,`tags:resolve`,r),Yn(e,`tags:afterResolve`,r),xr(r.tags)}var Cr=/\s+/;function wr(e={}){return t=>Dr(t,e)}function Tr(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Er(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(Cr))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function Dr(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!Tr(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Yn(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=Er(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=Sr(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&$n(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):zn.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!zn.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=ar({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=er(i)||tr(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,Yn(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||Tr(e))&&Dr(e,t),a}var Or=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Gn[e.tagPriority]||0);function kr(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||wr({document:e.document}),n=Xn(In(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Or,init:[]}),Jn(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}var Ar=`usehead`;function jr(){if(u()){let e=h(Ar);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function Mr(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ar,e)}}.install}function Nr(e,t){return t&&typeof e==`function`&&(e.key=t),e}var Pr=/\\/g,Fr=/</g,Ir=/"/g,Lr=/%\w+(?:\.\w+)?/g,Rr=`%separator`;function zr(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0){let e=String(typeof r==`number`?r:r||``);return n?e.replace(Pr,`\\\\`).replace(Fr,`\\u003C`).replace(Ir,`\\"`):e}}function Br(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(Lr);if(!a)return e;let o=e.includes(Rr);return e=e.replace(Lr,e=>{if(e===Rr||!a.includes(e))return e;let n=zr(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(Rr).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var Vr=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Hr=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),Ur=Nr({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=Hr(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=Hr(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Vr))}}}),Wr=Nr({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function Gr(e){return typeof e?.then==`function`}var Kr=256;function qr(e,t){if(t===e.length)return;if(t===Kr){let n=Array(e.length),r=!1;for(;t<e.length;t++){let i=R(e[t]);n[t]=i,r||=Gr(i)}return r?n:void 0}let n=R(e[t]);if(Gr(n)){let r=Array(e.length);r[t]=n;for(let n=t+1;n<e.length;n++)r[n]=R(e[n]);return r}let r=qr(e,t+1);return r&&(r[t]=n),r}function Jr(e,t,n){if(n===t.length)return;if(n===Kr){let r=Array(t.length),i=!1;for(;n<t.length;n++){let a=R(e[t[n]]);r[n]=a,i||=Gr(a)}return i?r:void 0}let r=R(e[t[n]]);if(Gr(r)){let i=Array(t.length);i[n]=r;for(let r=n+1;r<t.length;r++)i[r]=R(e[t[r]]);return i}let i=Jr(e,t,n+1);return i&&(i[n]=r),i}function R(e){if(typeof e==`function`)return e;if(Gr(e))return Promise.resolve(e).then(R);if(Array.isArray(e)){let t=qr(e,0);return t?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=Jr(e,t,0);if(n)return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var Yr=Nr(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=R(a);Gr(o)?(t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})):t.delete(i)}}}}},`promises`),Xr={meta:`content`,link:`href`,htmlAttrs:`lang`},Zr=[`innerHTML`,`textContent`];function Qr(e,t,n,r=!1){return typeof e==`string`&&e.includes(`%`)?Br(e,t,n,r):e}var $r=Nr(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Qr(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=Xr[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Qr(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of Zr)typeof e[t]==`string`&&(e[t]=Qr(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Qr(n.textContent,e._templateParams,e._separator))}}}),`template-params`),ei=[`twitter`,`fediverse`],ti=[`og`,`book`,`article`,`profile`,`fb`,`payment`],ni=[`ogImage`,`ogVideo`,`ogAudio`,`twitterImage`],ri=[`contentType`,`defaultStyle`,`xUaCompatible`],ii={articleExpirationTime:`article:expiration_time`,articleModifiedTime:`article:modified_time`,articlePublishedTime:`article:published_time`,bookReleaseDate:`book:release_date`,fbAppId:`fb:app_id`,ogAudioSecureUrl:`og:audio:secure_url`,ogAudioUrl:`og:audio`,ogImageSecureUrl:`og:image:secure_url`,ogImageUrl:`og:image`,ogSiteName:`og:site_name`,ogVideoSecureUrl:`og:video:secure_url`,ogVideoUrl:`og:video`,paymentExpiresAt:`payment:expires_at`,paymentSuccessUrl:`payment:success_url`,profileFirstName:`profile:first_name`,profileLastName:`profile:last_name`,profileUsername:`profile:username`,msapplicationConfig:`msapplication-Config`,msapplicationTileColor:`msapplication-TileColor`,msapplicationTileImage:`msapplication-TileImage`},ai=/([A-Z])/g,oi=/^(?:og|twitter)/,si={appleItunesApp:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>`${z(e)}=${t}`}},refresh:{metaKey:`http-equiv`,unpack:{entrySeparator:`;`,resolve:({key:e,value:t})=>e===`seconds`?`${t}`:void 0}},robots:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>typeof t==`boolean`?z(e):`${z(e)}:${t}`}},contentSecurityPolicy:{metaKey:`http-equiv`,unpack:{entrySeparator:`; `,resolve:({key:e,value:t})=>`${z(e)} ${t}`}},charset:{}};function z(e){let t=e.replace(ai,`-$1`).toLowerCase(),n=t.indexOf(`-`);return n===-1?t:ei.includes(t.slice(0,n))||ti.includes(t.slice(0,n))?e.replace(ai,`:$1`).toLowerCase():t}function ci(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>String(t)!==`false`&&e))}function li(e){if(e.index!==!1&&e.follow!==!1)return e;let t={...e};return t.index===!1&&(delete t.index,t.noindex===void 0&&(t.noindex=!0)),t.follow===!1&&(delete t.follow,t.nofollow===void 0&&(t.nofollow=!0)),t}function ui(e){return Array.isArray(e)?e.map(ui):!e||typeof e!=`object`?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[z(e),ui(t)]))}function di(e,t={}){let{entrySeparator:n=``,keyValueSeparator:r=``,wrapValue:i,resolve:a}=t;return Object.entries(e).map(([e,n])=>{if(a){let t=a({key:e,value:n});if(t!==void 0)return t}let o=typeof n==`object`?di(n,t):typeof n==`number`?n.toString():typeof n==`string`&&i?`${i}${n.replace(new RegExp(i,`g`),`\\${i}`)}${i}`:n;return`${e}${r}${o}`}).join(n)}function fi(e,t){let n=ci(t),r=z(e),i=pi(r);return Wn.has(r)?gi(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${t===`url`?``:`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>(e[i]?.length||0)-(t[i]?.length||0)):[{[i]:r,...n}]}function pi(e){if(si[e]?.metaKey===`http-equiv`||ri.includes(e))return`http-equiv`;let t=z(e),n=t.indexOf(`:`);return n===-1?`name`:ti.includes(t.slice(0,n))?`property`:`name`}function mi(e){return ii[e]||z(e)}function hi(e,t){return t===`refresh`?`${e.seconds};url=${e.url}`:di(ui(e),{keyValueSeparator:`=`,entrySeparator:`, `,resolve:({value:e,key:t})=>e===null?``:typeof e==`boolean`?t:void 0,...si[t]?.unpack})}function gi(e){let t=[],n={};for(let[r,i]of Object.entries(e))if(Array.isArray(i)){if(r===`themeColor`){i.forEach(e=>{typeof e==`object`&&e&&t.push({name:`theme-color`,...e})});continue}for(let e of i)if(typeof e==`object`&&e){let n=[],i=[];for(let[t,a]of Object.entries(e)){let e=gi({[`${r}${t===`url`?``:`:${t}`}`]:a});(t===`url`?n:i).push(...e)}t.push(...n,...i)}else t.push(...typeof e==`string`?gi({[r]:e}):fi(r,e))}else if(typeof i==`object`&&i){if(ni.includes(r)){let e=r.startsWith(`twitter`)?`twitter`:`og`,n=r.replace(oi,``).toLowerCase(),a=e===`twitter`?`name`:`property`;i.url&&t.push({[a]:`${e}:${n}`,content:i.url}),i.secureUrl&&t.push({[a]:`${e}:${n}:secure_url`,content:i.secureUrl});for(let[r,o]of Object.entries(i))r!==`url`&&r!==`secureUrl`&&t.push({[a]:`${e}:${n}:${r}`,content:o})}else Wn.has(z(r))?t.push(...fi(r,i)):n[r]=ci(r===`robots`?li(i):i)}else n[r]=i;let r=Object.entries(n).map(([e,t])=>{if(e===`charset`)return{charset:t===null?`_null`:t};let n=pi(e),r=mi(e),i=t===null?`_null`:typeof t==`object`?hi(t,e):typeof t==`number`?t.toString():t;return n===`http-equiv`?{"http-equiv":r,content:i}:{[n]:r,content:i}});return[...t,...r].map(e=>`content`in e&&e.content===`_null`?{...e,content:null}:e)}var _i=Nr({key:`flatMeta`,hooks:{"entries:normalize":e=>{let t=!1,n=[],r=[];for(let i of e.tags)if(i.tag!==`_flatMeta`)n.push(i);else{t=!0;for(let e of gi(i.props))r.push({...i,tag:`meta`,props:e})}if(t){for(let e of r)n.push(e);e.tags=n}}}}),vi=Object.prototype.hasOwnProperty;function yi(e,t){return vi.call(e,t)}var bi=Object.assign((e,t)=>ae(t)?r(t):t,{_static:!0});function xi(e,t={}){let n=t.head||jr();return n.ssr?n.push(e||{},t):Si(n,e,t)}function Si(e,t,n={}){let r=pe();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=j(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let o;return ee(()=>{let r=i.value?{}:nr(t,bi);o?o.patch(r):o=e.push(r,n)}),m()?(b(()=>{o.dispose()}),a(()=>{i.value=!0}),v(()=>{i.value=!1})):r&&k(()=>o.dispose()),o}function Ci(e){if(e._flatMeta)return e;let t={};for(let n in e)yi(e,n)&&n!==`title`&&n!==`titleTemplate`&&(t[n]=e[n]);return{title:e.title,titleTemplate:e.titleTemplate,_flatMeta:t}}function wi(e={},t={}){(t.head||jr()).use(_i);let n=xi(Ci(e),t),r=n.patch;return n.__patched||=(n.patch=e=>r(Ci(e)),!0),n}function Ti(e={}){let t=wr(),n,r=0;return n=kr({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=Mr(n),n}var Ei={disableDefaults:!0,plugins:[Wr,Yr,$r,Ur]},Di=M({name:`nuxt:head`,enforce:`pre`,setup(e){Pn(e,Ti(Ei))}}),Oi=/(:\w+)\([^)]+\)/g,ki=/(:\w+)[?+*]/g,Ai=/:\w+/g,ji=(e,t)=>t.path.replace(Oi,`$1`).replace(ki,`$1`).replace(Ai,t=>e.params[t.slice(1)]?.toString()||``),Mi=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&ji(e.route,n));return typeof r==`function`?r(e.route):r},Ni=(e,t)=>({default:()=>e?c(O,e===!0?{}:e,t):t});function Pi(e){return Array.isArray(e)?e:[e]}var Fi=(()=>{let e={prerender:!0},t={prerender:!1};return(n,r)=>{let i=[];r.charCodeAt(r.length-1)===47&&(r=r.slice(0,-1)),(r===``||r===`/200.html`||r===`/404.html`||r.charCodeAt(r.length-1)===47&&(r===`/`||r===`/200.html/`||r===`/404.html/`))&&i.push({data:e});let a=r.split(`/`);return a.length>1&&a[a.length-1]===``&&(a.pop(),r=r.slice(0,-1)),a.length,i.push({data:t,params:{_:r.slice(1)}}),i.reverse()}})(),Ii=function(e){if(!e.includes(`%`))return e;let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);try{return t===-1?decodeURI(n):decodeURI(n)+e.slice(t)}catch{return e}},Li=function(e){let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);if(!/(?:^|\/)(?:\.|%2e)/i.test(n))return e;let r=n.split(`/`),i=[],a=+!!n.startsWith(`/`);for(let[e,t]of r.entries()){let n=/^(?:\.|%2e)(\.|%2e)?$/i.exec(t);n?(n[1]&&i.length>a&&i.pop(),e===r.length-1&&i.push(``)):i.push(t)}let o=i.join(`/`);return t===-1?o:o+e.slice(t)},Ri=function(e){return e.replace(/[A-Z]+|[^\0-\x7F]/g,e=>{if(e.charCodeAt(0)<128)return e.toLowerCase();let t=e.toUpperCase();if(t.length!==1||t.charCodeAt(0)<128)return e;let n=t.toLowerCase();return n.length===1&&n.toUpperCase()===t?n:t})},zi=function(e,t){let n=e(t);if(typeof t!=`string`)return n;let r=t.replace(/^[^?]*/,e=>e.replace(/%2f/gi,`/`));if(r===t)return n;for(let t of e(r))n.includes(t)||n.push(t);return n},Bi=(e,t)=>{if(typeof e!=`string`)return e;let n=Ii(Li(e));return t?Ri(n):n},Vi=e=>Me({},...zi(e=>Fi(``,Bi(e,!0)).map(e=>e.data),e).reverse()),Hi=()=>location.protocol+`//`+location.host;function Ui(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Jt(n,``)}return Jt(n,e)+r+i}function Wi(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Ui(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(P({},e.state,{scroll:Mt()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function Gi(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function Ki(e){let{history:t,location:n}=window,r={value:Ui(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Hi()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){let o=P({},t.state,Gi(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});a(e,o,!0),vt(o.position,!0),r.value=e}function s(e,n){let o=P({},i.value,t.state,{forward:e,scroll:Mt()});a(o.current,o,!0),a(e,P({},Gi(r.value,e,null),{position:o.position+1},n),!1),vt(o.position),r.value=e}return{location:r,state:i,push:s,replace:o}}function qi(e){e=Pt(e);let t=Ki(e),n=Wi(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=P({location:``,base:e,go:r,createHref:jt.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Ji={type:0,value:``},Yi=/[a-zA-Z0-9_]/;function Xi(e){if(!e)return[[]];if(e===`/`)return[[Ji]];if(!at(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:Yi.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Zi=`[^/]+?`,Qi={sensitive:!1,strict:!1,start:!0,end:!0},$i=/[.+*?^${}()[\]/\\]/g;function ea(e,t){let n=P({},Qi,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace($i,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Zi;if(u!==Zi){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){r&&n.endsWith(`/`)||(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(lt(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=lt(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function ta(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function na(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=ta(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ra(r))return 1;if(ra(i))return-1}return i.length-r.length}function ra(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ia={strict:!1,end:!0,sensitive:!1};function aa(e,t,n){let r=ea(Xi(e.path),n),i=P(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function oa(e,t){let n=[],r=new Map;t=St(ia,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=ca(e);s.aliasOf=r&&r.record;let l=St(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(ca(P({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!at(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=aa(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!ua(d)&&o(e.name)),ma(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:xt}function o(e){if(nt(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=fa(e,n);n.splice(t,0,e),e.record.name&&!ua(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw bt(1,{location:e});s=i.record.name,a=P(sa(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&sa(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw bt(1,{location:e,currentLocation:t});s=i.record.name,a=P({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:da(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function sa(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function ca(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:la(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function la(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function ua(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function da(e){return e.reduce((e,t)=>P(e,t.meta),{})}function fa(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;na(e,t[i])<0?r=i:n=i+1}let i=pa(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function pa(e){let t=e;for(;t=t.parent;)if(ma(t)&&na(e,t)===0)return t}function ma({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ha(e){let t=h(ht),n=h(Ct),r=N(()=>{let n=p(e.to);return t.resolve(n)}),i=N(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex($e.bind(null,i));if(o>-1)return o;let s=ba(e[t-2]);return t>1&&ba(i)===s&&a[a.length-1].path!==s?a.findIndex($e.bind(null,e[t-2])):o}),a=N(()=>i.value>-1&&ya(n.params,r.value.params)),o=N(()=>i.value>-1&&i.value===n.matched.length-1&&Ft(n.params,r.value.params));function s(n={}){if(va(n)){let n=t[p(e.replace)?`replace`:`push`](p(e.to)).catch(xt);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:N(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function ga(e){return e.length===1?e[0]:e}var _a=f({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`},viewTransition:Boolean},useLink:ha,setup(e,{slots:t}){let n=xe(ha(e)),{options:r}=h(ht),i=N(()=>({[xa(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[xa(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&ga(t.default(n));return e.custom?r:c(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function va(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ya(e,t){for(let n in t){let r=t[n],i=e[n];if(lt(r)){if(!lt(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function ba(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var xa=(e,t,n)=>e??t??n,Sa=f({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=h(Qe),i=N(()=>e.route||r.value),a=h(Ht,0),o=N(()=>{let e=p(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),l=N(()=>i.value.matched[o.value]);S(Ht,N(()=>o.value+1)),S(ct,l),S(Qe,i);let u=new Set;S(kt,u);let d=j(),f=I,{app:g}=m().appContext;return ge(()=>[d.value,l.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&$e(t,i)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=l.value,p=o&&o.components[a];if(!p)return Ca(n.default,{Component:p,route:r});let m=o.props[a],h=m?m===!0?r.params:typeof m==`function`?m(r):m:null,_=e=>{e.component.isUnmounted&&(o.instances[a]=null)},v=e=>s(()=>{if(f===r||i.value!==r||e.el.getRootNode()!==g._container.getRootNode())return;let t=f;f=r;for(let e of u)e(r,t)}),y=c(p,P({},h,t,{onVnodeUnmounted:_,onVnodeMounted:v,onVnodeUpdated:v,ref:d}));return Ca(n.default,{Component:y,route:r})||y}}});function Ca(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var wa=Sa;function Ta(e){let t=e.matcher||oa(e.routes,e),r=e.parseQuery||ft,i=e.stringifyQuery||ut,a=e.history,o=et(),c=et(),l=et(),u=n(I),d=n(0),f=I;rt&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let m=ot.bind(null,e=>``+e),h=ot.bind(null,qt),g=ot.bind(null,wt);function _(e,n){let r,i;nt(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return d.value++,()=>{a(),d.value++}}function v(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),d.value++)}function y(){t.clearRoutes(),d.value++}function b(){return t.getRoutes().map(e=>e.record)}function x(e){return!!t.getRecordMatcher(e)}function S(e,n){if(d.value,typeof e==`string`){n||=e.startsWith(`/`)?I:u.value;let i=mt(r,e,n.path),o=t.resolve({path:i.path},n),s=a.createHref(i.fullPath);return P(i,o,{params:g(o.params),redirectedFrom:void 0,href:s})}n=P({},n||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?I:u.value));let o;if(e.path!=null)o=P({},e,{path:mt(r,e.path,n.path).path});else{let t=P({},e.params);for(let e in t)t[e]??delete t[e];o=P({},e,{params:h(t)}),n.params=h(n.params)}let s=t.resolve(o,n),c=e.hash||``;s.params=m(g(s.params));let l=gt(i,P({},e,{hash:Wt(c),path:s.path})),f=a.createHref(l);return P({fullPath:l,hash:c,query:i===ut?dt(e.query):e.query||{}},s,{redirectedFrom:void 0,href:f})}function C(e){return typeof e==`string`?mt(r,e,u.value.path):P({},e)}function w(e,t){if(f!==e)return bt(8,{from:t,to:e})}function T(e){return O(e)}function E(e){return T(P(C(e),{replace:!0}))}function D(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=C(i):{path:i},i.params={}),P({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function O(e,t){let n=f=S(e),r=u.value,a=e.state,o=e.force,s=e.replace===!0,c=D(n,r);if(c)return O(P(C(c),{state:typeof c==`object`?P({},a,c.state):a,force:o,replace:s}),t||n);let l=n;l.redirectedFrom=t;let d;return!o&&pt(i,r,n)&&(d=bt(16,{to:l,from:r}),ue(r,r,!0,!1)),(d?Promise.resolve(d):j(l,r)).catch(e=>L(e)?L(e,2)?e:le(e):se(e,l,r)).then(e=>{if(e){if(L(e,2))return O(P({replace:s},C(e.to),{state:typeof e.to==`object`?P({},a,e.to.state):a,force:o}),t||l)}else e=te(l,r,!0,s,a);return ee(l,r,e),e})}function k(e,t){let n=w(e,t);return n?Promise.reject(n):Promise.resolve()}function A(e){let t=pe.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function j(e,t){let n,[r,i,a]=Et(e,t);n=Kt(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Gt(r,e,t))});let s=k.bind(null,e,t);return n.push(s),M(n).then(()=>{n=[];for(let r of o.list())n.push(Gt(r,e,t));return n.push(s),M(n)}).then(()=>{n=Kt(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Gt(r,e,t))});return n.push(s),M(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter){if(lt(r.beforeEnter))for(let i of r.beforeEnter)n.push(Gt(i,e,t));else n.push(Gt(r.beforeEnter,e,t))}return n.push(s),M(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Kt(a,`beforeRouteEnter`,e,t,A),n.push(s),M(n))).then(()=>{n=[];for(let r of c.list())n.push(Gt(r,e,t));return n.push(s),M(n)}).catch(e=>L(e,8)?e:Promise.reject(e))}function ee(e,t,n){l.list().forEach(r=>A(()=>r(e,t,n)))}function te(e,t,n,r,i){let o=w(e,t);if(o)return o;let s=t===I,c=rt?history.state:{};n&&(r||s?a.replace(e.fullPath,P({scroll:s&&c&&c.scroll},i)):a.push(e.fullPath,i)),u.value=e,ue(e,t,n,s),le()}let ne;function re(){ne||=a.listen((e,t,n)=>{if(!me.listening)return;let r=S(e),i=D(r,me.currentRoute.value);if(i){O(P(i,{replace:!0,force:!0}),r).catch(xt);return}f=r;let o=u.value;rt&&n.delta&&it(tt(o.fullPath,n.delta)),j(r,o).catch(e=>L(e,12)?e:L(e,2)?(O(P(C(e.to),{force:!0}),r).then(e=>{L(e,20)&&!n.delta&&n.type===`pop`&&a.go(-1,!1)}).catch(xt),Promise.reject()):(n.delta&&a.go(-n.delta,!1),se(e,r,o))).then(e=>{e||=te(r,o,!1),e&&(n.delta&&!L(e,8)?a.go(-n.delta,!1):n.type===`pop`&&L(e,20)&&a.go(-1,!1)),ee(r,o,e)}).catch(xt)})}let ie=et(),ae=et(),oe;function se(e,t,n){le(e);let r=ae.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function ce(){return oe&&u.value!==I?Promise.resolve():new Promise((e,t)=>{ie.add([e,t])})}function le(e){return oe||(oe=!e,re(),ie.list().forEach(([t,n])=>e?n(e):t()),ie.reset()),e}function ue(t,n,r,i){let{scrollBehavior:a}=e;if(!rt||!a)return Promise.resolve();let o=!r&&_t(tt(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return s().then(()=>a(t,n,o)).then(e=>t===u.value&&e&&st(e)).catch(e=>t===u.value&&se(e,t,n))}let de=e=>a.go(e),fe,pe=new Set,me={currentRoute:u,listening:!0,addRoute:_,removeRoute:v,clearRoutes:y,hasRoute:x,getRoutes:b,resolve:S,options:e,push:T,replace:E,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:c.add,afterEach:l.add,onError:ae.add,isReady:ce,install(e){e.component(`RouterLink`,_a),e.component(`RouterView`,wa),e.config.globalProperties.$router=me,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>p(u)}),rt&&!fe&&u.value===I&&(fe=!0,T(a.location).catch(e=>{}));let t={};for(let e in I)Object.defineProperty(t,e,{get:()=>u.value[e],enumerable:!0});e.provide(ht,me),e.provide(Ct,we(t)),e.provide(Qe,u);let n=e.unmount;pe.add(e),e.unmount=function(){pe.delete(e),pe.size<1&&(f=I,ne&&ne(),ne=null,u.value=I,fe=!1,oe=!1),n()}}};function M(e){return e.reduce((e,t)=>e.then(()=>A(t)),Promise.resolve())}return me}var Ea=We(async e=>{if(!e.meta?.validate)return;let t=await Promise.resolve(e.meta.validate(e));if(t!==!0)return Ze({fatal:!0,status:t&&(t.status||t.statusCode)||404,statusText:t&&(t.statusText||t.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})}),Da=e({docsBase:C,reporters:D}),Oa=Nn;function ka(e){return Vi(e)}var Aa;function ja(){let e;return e=Oa(jn(`builds/meta/${de().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw Da.NUXT_E5004();return e}),Aa=e,e.catch(t=>{Aa===e&&(Aa=void 0),Da.NUXT_E5002({cause:t})}),e}function Ma(){return Aa||ja()}function Na(e){let t=typeof e==`string`?e:e.path;try{return ka(t)}catch(e){return Da.NUXT_E5003({path:t,cause:e}),{}}}var Pa=[Ea,We(e=>{let t=Na({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return ze(n)?(window.location.href=n,!1):n}})],Fa={},Ia=[{name:`graph`,path:`/graph`,component:()=>Zt(()=>import(`./BpcgOZ8f.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)},{name:`home`,path:`/home`,component:()=>Zt(()=>import(`./DzOoRO9v.js`),__vite__mapDeps([11,1,2,3,7,8]),import.meta.url)},{name:`plugins`,path:`/plugins`,component:()=>Zt(()=>import(`./BHYBAU6o.js`),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,13]),import.meta.url)},{name:`index`,path:`/`,component:()=>Zt(()=>import(`./DEDqDK_N.js`),__vite__mapDeps([14,2,6]),import.meta.url)}],La=/\/(?=$|[?#])/;function Ra(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),je(n,``)}let s=je(r,e),c=!n||Ye(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var za=M({name:`nuxt:router`,enforce:`pre`,async setup(e){let t=de().app.baseURL,r=F.history?.(t)??qi(t),i=F.routes?await F.routes(Ia)??Ia:Ia,a,o=Ta({...F,scrollBehavior:(e,t,n)=>{if(t===I)a=n;else if(F.scrollBehavior){if(o.options.scrollBehavior=F.scrollBehavior,`scrollRestoration`in window.history){let e=o.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return F.scrollBehavior(e,I,a||n)}},history:r,routes:i});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(o);let s=n(o.currentRoute.value);o.afterEach((e,t)=>{s.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>s.value});let c=Ra(t,window.location,e.payload.path),l=je(window.location.pathname,t),u=n(o.currentRoute.value),d=()=>{u.value=o.currentRoute.value};o.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;n===r?Mi({route:e,Component:{type:n}})===Mi({route:t,Component:{type:r}})&&d():e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&d()});let f={sync:d};for(let e in u.value)Object.defineProperty(f,e,{get:()=>u.value[e],enumerable:!0});e._route=we(f),e._middleware||={global:[],named:{}};let p=Pe();function m(t){e._middlewareTo&&(e._middlewareTo.redirectedFrom??e._middlewareTo)===(t.redirectedFrom??t)&&delete e._middlewareTo}o.afterEach(async(t,n,r)=>{m(t),!e.isHydrating&&p.value&&!L(r,yt.aborted|yt.cancelled)&&await e.runWithContext(Ke),r&&await e.callHook(`page:loading:end`)}),o.onError(async(t,n)=>{m(n),await e.callHook(`page:loading:end`)});try{await o.isReady()}catch(t){await Ue(e,t)}let h=c===o.currentRoute.value.fullPath?o.currentRoute.value:o.resolve(c),g=o.currentRoute.value.fullPath,_=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&c.replace(La,``)!==e.payload.path.replace(La,``)&&Ye(o.currentRoute.value.path,e.payload.path);d();function v(n){!e.isHydrating&&n.fullPath!==Ra(t,window.location)&&r.push(n.fullPath)}o.beforeEach(t=>{if(!e.isHydrating&&Vi(t.path).noScripts)return window.location.assign(o.resolve(t.fullPath).href),!1}),o.beforeResolve(e=>{if(e.matched.length||Ye(e.path,l))return;let n=new URL(Ve(e.fullPath,t),window.location.href);if(n.origin===window.location.origin)return window.location.assign(n),!1});let y=e.payload.state._layout,b=0;o.beforeEach(async(t,n)=>{b++;try{return await x(t,n)}finally{--b===0&&delete e._processingMiddleware}});async function x(t,n){await e.callHook(`page:loading:start`),t.meta=xe(t.meta),e.isHydrating&&y&&!le(t.meta.layout)&&(t.meta.layout=y),e._processingMiddleware=!0,e._middlewareTo=t;{let r=new Set([...Pa,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Pi(t))r.add(e)}let i=Na({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await Fa[i]?.().then(e=>e.default||e):i;if(!r)throw Le.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Ze({status:404,statusText:`Page Not Found: ${c}`});return await e.runWithContext(()=>Be(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return Xe(i)&&i.fatal&&(await e.runWithContext(()=>Be(i)),v(t)),i}catch(n){let r=Fe(n);return r.fatal&&(await e.runWithContext(()=>Be(r)),v(t)),r}}}}return o.afterEach((t,n,r)=>{if(t.matched.length===0&&!p.value&&!L(r,yt.aborted|yt.cancelled))return e.runWithContext(()=>Be(Ze({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in h&&(h.name=void 0),o.currentRoute.value.fullPath===g){if(_){let t=o.resolve(e.payload.path);`name`in t&&(t.name=void 0),await o.replace({...t,force:!0});let n=()=>{if(!e[`~restoreDeferredRoute`])return;e[`~restoreDeferredRoute`]=void 0;let t=o.currentRoute,n=o.resolve(c);n.matched.at(-1)===t.value.matched.at(-1)&&(n.meta=t.value.meta),t.value=n,d(),o.replace({...h,force:!0}).catch(()=>{})};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await o.replace({...h,force:!0})}o.options.scrollBehavior=F.scrollBehavior}catch(t){await Ue(e,t)}}),{provide:{router:o}}}}),Ba=M(()=>{let e=Ie();Bt(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),Va=M(e=>{let t;async function n(){let r;try{r=await Ma()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,te);try{let n=await Nn(jn(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}Bt(()=>{t=setTimeout(n,te)})});function Ha(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw Le.NUXT_E2010({path:t});if(n.protocol&&Ne(n.protocol))throw Le.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:A().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var Ua=M({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Re(navigator.userAgent)&&Ha()})}}),Wa=M({name:`nuxt:chunk-reload`,setup(e){let t=Ie(),n=de(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){Ha({path:ke(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),Ga=M({name:`nuxt:island-link-navigation`,setup(e){}}),Ka=M({name:`nuxt:global-components`}),qa={},Ja=[`route`,`payload`,`island`,`hint`],Ya=12,Xa={route:8,payload:8,island:4,hint:8};function Za(e={}){let t={...Xa,...e.concurrency},n=e.total??Ya,r=e.canPrefetch,i=e.defer,a={route:[],payload:[],island:[],hint:[]},o=Ja.map(e=>a[e]),s=new WeakSet,c=new Map,l={route:0,payload:0,island:0,hint:0},u=0,d=new Map,f=new AbortController,p=new AbortController;p.abort();function m(e){c.get(e.key)===e&&c.delete(e.key)}function h(e){m(e),Promise.resolve().then(()=>e.run(p.signal,!1)).catch(()=>{})}function g(){if(!r||r())for(;u<n;){let e=Ja.find(e=>a[e].length&&l[e]<t[e]);if(!e)return;let n=a[e].shift();_(n,s.delete(n))}}function _(e,t){let n=e.scope===`app`?f:new AbortController;e.scope===`navigation`&&d.set(e,n),l[e.priority]++,u++;let r=!1,a=()=>{r||(r=!0,l[e.priority]--,u--,d.delete(e),m(e),g())};n.signal.addEventListener(`abort`,a,{once:!0});let o=()=>Promise.resolve().then(()=>e.run(n.signal,t)).then(a,a);i?i(o,t,e.priority):o()}let v=(e,t)=>t!==void 0&&e.group===t&&e.priority!==`hint`;return{schedule(e){let t=[];for(let n of Array.isArray(e)?e:[e])c.has(n.key)?h(n):(c.set(n.key,n),t.push(n));for(let e=t.length-1;e>=0;e--)a[t[e].priority].unshift(t[e]);g()},promote(e){for(let t of o){let n=[],r=[];for(let i of t)i.group===e&&s.add(i),(i.group===e?n:r).push(i);t.length=0,t.push(...n,...r)}g()},reset(e){for(let t of o)for(let n=t.length-1;n>=0;n--){let r=t[n];r.scope===`navigation`&&!v(r,e)&&(t.splice(n,1),h(r))}for(let[t,n]of[...d])v(t,e)||n.abort();g()},resume:g}}var Qa=1e3;function $a(e,t,n){if(t||n===`route`)return e();let r=globalThis.scheduler;r?.postTask?r.postTask(e,{priority:`background`}).catch(()=>{}):Dt(e,{timeout:Qa})}function eo(e=A()){if(e._prefetch)return e._prefetch;let t=!1,n=Za({canPrefetch:()=>Tt()&&!t&&document.visibilityState!==`hidden`,defer:$a});e._prefetch=n,navigator.connection?.addEventListener?.(`change`,()=>n.resume()),document.addEventListener(`visibilitychange`,()=>n.resume());let r=e.$router;return r.beforeEach(()=>{t=!0}),r.afterEach(e=>{t=!1,n.reset(It(e.fullPath))}),r.onError(()=>{t=!1,n.resume()}),n}var to=M({name:`nuxt:prefetch`,setup(e){let t=Ie();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;typeof t==`string`&&t in qa&&await Rt(qa[t])})});let{schedule:n}=eo(e);e.hooks.hook(`link:prefetch`,async e=>{if(Oe(e))return;let r=t.resolve(e);if(!r)return;let i=r.meta.layout,a=Pi(r.meta.middleware).filter(e=>typeof e==`string`);n({key:`route:chunks:${e}`,priority:`route`,scope:`navigation`,group:It(e),run:e=>{if(e.aborted)return;let t=[];for(let e of a){let n=Fa[e];typeof n==`function`&&t.push(n())}return typeof i==`string`&&i in qa&&t.push(Rt(qa[i])),Promise.all(t).catch(()=>{})}})})}}),no=M(()=>{}),ro=[`top`,`right`,`bottom`,`left`],io=[`start`,`end`],ao=ro.reduce((e,t)=>e.concat(t,t+`-`+io[0],t+`-`+io[1]),[]),oo=Math.min,so=Math.max,co=Math.round,B=e=>({x:e,y:e}),lo={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function uo(e,t,n){return so(e,oo(t,n))}function fo(e,t){return typeof e==`function`?e(t):e}function V(e){return e.split(`-`)[0]}function H(e){return e.split(`-`)[1]}function po(e){return e===`x`?`y`:`x`}function mo(e){return e===`y`?`height`:`width`}function U(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function ho(e){return po(U(e))}function go(e,t,n){n===void 0&&(n=!1);let r=H(e),i=ho(e),a=mo(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=To(o)),[o,To(o)]}function _o(e){let t=To(e);return[vo(e),t,vo(t)]}function vo(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var yo=[`left`,`right`],bo=[`right`,`left`],xo=[`top`,`bottom`],So=[`bottom`,`top`];function Co(e,t,n){switch(e){case`top`:case`bottom`:return n?t?bo:yo:t?yo:bo;case`left`:case`right`:return t?xo:So;default:return[]}}function wo(e,t,n,r){let i=H(e),a=Co(V(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(vo)))),a}function To(e){let t=V(e);return lo[t]+e.slice(t.length)}function Eo(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Do(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Eo(e)}function Oo(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ko(e,t,n){let{reference:r,floating:i}=e,a=U(t),o=ho(t),s=mo(o),c=V(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=H(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Ao(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=fo(t,e),p=Do(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Oo(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Oo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var jo=50,Mo=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ao},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ko(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<jo&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=ko(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},No=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=fo(e,t)||{};if(l==null)return{};let d=Do(u),f={x:n,y:r},p=ho(i),m=mo(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=oo(d[_],T),D=oo(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=uo(E,k,O),j=!c.arrow&&H(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,ee=j?k<E?k-E:k-O:0;return{[p]:f[p]+ee,data:{[p]:A,centerOffset:k-A-ee,...j&&{alignmentOffset:ee}},reset:j}}});function Po(e,t,n){return(e?[...n.filter(t=>H(t)===e),...n.filter(t=>H(t)!==e)]:n.filter(e=>V(e)===e)).filter(n=>!e||H(n)===e||(t?vo(n)!==n:!1))}var Fo=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){let{rects:n,middlewareData:r,placement:i,platform:a,elements:o}=t,{crossAxis:s=!1,alignment:c,allowedPlacements:l=ao,autoAlignment:u=!0,...d}=fo(e,t),f=c!==void 0||l===ao?Po(c||null,u,l):l,p=r.autoPlacement?.index||0,m=f[p];if(m==null)return{};if(i!==m)return{reset:{placement:f[0]}};let h=await a.detectOverflow(t,d),g=go(m,n,await(a.isRTL==null?void 0:a.isRTL(o.floating))),_=[h[V(m)],h[g[0]],h[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:m,overflows:_}],y=f[p+1];if(y)return{data:{index:p+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=H(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=b.filter(e=>e[2].slice(0,H(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:p+1,overflows:v},reset:{placement:x}}}}},Io=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=fo(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=V(r),_=U(o),v=V(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[To(o)]:_o(o)),x=p!==`none`;!d&&x&&b.push(...wo(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=go(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===U(t)||T.every(e=>U(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=U(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},Lo=new Set([`left`,`top`]);async function Ro(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=V(n),s=H(n),c=U(n)===`y`,l=Lo.has(o)?-1:1,u=a&&c?-1:1,d=fo(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var zo=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Ro(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Bo=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=fo(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=U(i),p=po(f),m=u[p],h=u[f],g=(e,t)=>uo(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},Vo=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=fo(e,t),c=await i.detectOverflow(t,s),l=V(n),u=H(n),d=U(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=oo(p-c[m],g),y=oo(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*so(c.left,c.right):S=p-2*so(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Ho(){return typeof window<`u`}function Uo(e){return Wo(e)?(e.nodeName||``).toLowerCase():`#document`}function W(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function G(e){return((Wo(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Wo(e){return Ho()?e instanceof Node||e instanceof W(e).Node:!1}function K(e){return Ho()?e instanceof Element||e instanceof W(e).Element:!1}function q(e){return Ho()?e instanceof HTMLElement||e instanceof W(e).HTMLElement:!1}function Go(e){return!Ho()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof W(e).ShadowRoot}function Ko(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function qo(e){return/^(table|td|th)$/.test(Uo(e))}function Jo(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Yo=/transform|translate|scale|rotate|perspective|filter/,Xo=/paint|layout|strict|content/,Zo=e=>!!e&&e!==`none`,Qo;function $o(e){let t=K(e)?J(e):e;return Zo(t.transform)||Zo(t.translate)||Zo(t.scale)||Zo(t.rotate)||Zo(t.perspective)||!ts()&&(Zo(t.backdropFilter)||Zo(t.filter))||Yo.test(t.willChange||``)||Xo.test(t.contain||``)}function es(e){let t=is(e);for(;q(t)&&!ns(t);){if($o(t))return t;if(Jo(t))return null;t=is(t)}return null}function ts(){return Qo??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Qo}function ns(e){return/^(html|body|#document)$/.test(Uo(e))}function J(e){return W(e).getComputedStyle(e)}function rs(e){return K(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function is(e){if(Uo(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Go(e)&&e.host||G(e);return Go(t)?t.host:t}function as(e){let t=is(e);return ns(t)?(e.ownerDocument||e).body:q(t)&&Ko(t)?t:as(t)}function os(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=as(e),i=r===e.ownerDocument?.body,a=W(r);if(i){let e=ss(a);return t.concat(a,a.visualViewport||[],Ko(r)?r:[],e&&n?os(e):[])}return t.concat(r,os(r,[],n))}function ss(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cs(e){let t=J(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=q(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=co(n)!==a||co(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ls(e){return K(e)?e:e.contextElement}function us(e){let t=ls(e);if(!q(t))return B(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=cs(t),o=(a?co(n.width):n.width)/r,s=(a?co(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var ds=B(0);function fs(e){let t=W(e);return!ts()||!t.visualViewport?ds:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ps(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===W(e)}function ms(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ls(e),o=B(1);t&&(r?K(r)&&(o=us(r)):o=us(e));let s=ps(a,n,r)?fs(a):B(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=W(a),t=K(r)?W(r):r,n=e,i=ss(n);for(;i&&t!==n;){let e=us(i),t=i.getBoundingClientRect(),r=J(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=W(i),i=ss(n)}}return Oo({width:u,height:d,x:c,y:l})}function hs(e,t){let n=rs(e).scrollLeft;return t?t.left+n:ms(G(e)).left+n}function gs(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-hs(e,n),y:n.top+t.scrollTop}}function _s(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=G(r),s=t?Jo(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=B(1),u=B(0),d=q(r);if((d||!a)&&((Uo(r)!==`body`||Ko(o))&&(c=rs(r)),d)){let e=ms(r);l=us(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?gs(o,c):B(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function vs(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function ys(e){let t=rs(e),n=e.ownerDocument.body,r=so(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=so(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+hs(e),o=-t.scrollTop;return J(n).direction===`rtl`&&(a+=so(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var bs=25;function xs(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=W(e),a=G(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!ts()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(hs(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=bs&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Ss(e,t){let n=ms(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=us(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Cs(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=xs(e,n,t);else if(t===`document`)r=ys(G(e));else if(K(t))r=Ss(t,n);else{let n=fs(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Oo(r)}function ws(e,t){let n=t.get(e);if(n)return n;let r=os(e,[],!1).filter(e=>K(e)&&Uo(e)!==`body`),i=null,a=J(e).position===`fixed`,o=a?is(e):e;for(;K(o)&&!ns(o);){let e=J(o),t=$o(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=is(o)}return t.set(e,r),r}function Ts(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Jo(t)?[]:ws(t,this._c):[].concat(n),r],o=Cs(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Cs(t,a[e],i);s=so(n.top,s),c=oo(n.right,c),l=oo(n.bottom,l),u=so(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Es(e){let{width:t,height:n}=cs(e);return{width:t,height:n}}function Ds(e,t,n){let r=q(t),i=G(t),a=n===`fixed`,o=ms(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=B(0);if((r||!a)&&((Uo(t)!==`body`||Ko(i))&&(s=rs(t)),r)){let e=ms(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=hs(i));let l=i&&!r&&!a?gs(i,s):B(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Os(e){return J(e).position===`static`}function ks(e,t){if(!q(e)||J(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return G(e)===n&&(n=n.ownerDocument.body),n}function As(e,t){let n=W(e);if(Jo(e))return n;if(!q(e)){let t=is(e);for(;t&&!ns(t);){if(K(t)&&!Os(t))return t;t=is(t)}return n}let r=ks(e,t);for(;r&&qo(r)&&Os(r);)r=ks(r,t);return r&&ns(r)&&Os(r)&&!$o(r)?n:r||es(e)||n}var js=async function(e){let t=this.getOffsetParent||As,n=this.getDimensions,r=await n(e.floating);return{reference:Ds(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ms(e){return J(e).direction===`rtl`}var Ns={convertOffsetParentRelativeRectToViewportRelativeRect:_s,getDocumentElement:G,getClippingRect:Ts,getOffsetParent:As,getElementRects:js,getClientRects:vs,getDimensions:Es,getScale:us,isElement:K,isRTL:Ms},Ps=zo,Fs=Fo,Is=Bo,Ls=Io,Rs=Vo,zs=No,Bs=(e,t,n)=>{let r=new Map,i=n??{},a={...Ns,...i.platform,_c:r};return Mo(e,t,{...i,platform:a})},Vs=`5.4.0`;function Hs(e,t){for(let n in t)Object.hasOwn(t,n)&&(typeof t[n]==`object`&&e[n]?Hs(e[n],t[n]):e[n]=t[n])}var Y={disabled:!1,distance:5,skidding:0,container:`body`,boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:`absolute`,preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:`top`,triggers:[`hover`,`focus`,`touch`],hideTriggers:e=>[...e,`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`],delay:{show:0,hide:400}}}};function Us(e,t){let n=Y.themes[e]||{},r;do r=n[t],r===void 0?n.$extend?n=Y.themes[n.$extend]||{}:(n=null,r=Y[t]):n=null;while(n);return r}function Ws(e){let t=[e],n=Y.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Y.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function Gs(e){let t=[e],n=Y.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Y.themes[n.$extend]||{}):n=null;while(n);return t}var Ks=(()=>{if(typeof window>`u`)return!1;let e=!1;try{let t=Object.defineProperty({},"passive",{get(){e=!0}});window.addEventListener(`test`,null,t)}catch{}return e})(),qs=typeof window<`u`&&typeof navigator<`u`&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Js=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ys={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},Xs={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function Zs(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Qs(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var X=[],$s=null,ec={};function tc(e){let t=ec[e];return t||=ec[e]=[],t}var nc=function(){};typeof window<`u`&&(nc=window.Element);function Z(e){return function(t){return Us(t.theme,e)}}var rc=`__floating-vue__popper`,ic=()=>f({name:`VPopper`,provide(){return{[rc]:{parentPopper:this}}},inject:{[rc]:{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:Z(`disabled`)},positioningDisabled:{type:Boolean,default:Z(`positioningDisabled`)},placement:{type:String,default:Z(`placement`),validator:e=>Js.includes(e)},delay:{type:[String,Number,Object],default:Z(`delay`)},distance:{type:[Number,String],default:Z(`distance`)},skidding:{type:[Number,String],default:Z(`skidding`)},triggers:{type:Array,default:Z(`triggers`)},showTriggers:{type:[Array,Function],default:Z(`showTriggers`)},hideTriggers:{type:[Array,Function],default:Z(`hideTriggers`)},popperTriggers:{type:Array,default:Z(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:Z(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:Z(`popperHideTriggers`)},container:{type:[String,Object,nc,Boolean],default:Z(`container`)},boundary:{type:[String,nc],default:Z(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:Z(`strategy`)},autoHide:{type:[Boolean,Function],default:Z(`autoHide`)},handleResize:{type:Boolean,default:Z(`handleResize`)},instantMove:{type:Boolean,default:Z(`instantMove`)},eagerMount:{type:Boolean,default:Z(`eagerMount`)},popperClass:{type:[String,Array,Object],default:Z(`popperClass`)},computeTransformOrigin:{type:Boolean,default:Z(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:Z(`autoMinSize`)},autoSize:{type:[Boolean,String],default:Z(`autoSize`)},autoMaxSize:{type:Boolean,default:Z(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:Z(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:Z(`preventOverflow`)},overflowPadding:{type:[Number,String],default:Z(`overflowPadding`)},arrowPadding:{type:[Number,String],default:Z(`arrowPadding`)},arrowOverflow:{type:Boolean,default:Z(`arrowOverflow`)},flip:{type:Boolean,default:Z(`flip`)},shift:{type:Boolean,default:Z(`shift`)},shiftCrossAxis:{type:Boolean,default:Z(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:Z(`noAutoFocus`)},disposeTimeout:{type:Number,default:Z(`disposeTimeout`)}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join(`_`)}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return 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(){return this[rc]?.parentPopper},hasPopperShowTriggerHover(){return this.popperTriggers?.includes(`hover`)||this.popperShowTriggers?.includes(`hover`)}},watch:{shown:`$_autoShowHide`,disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:`$_refreshListeners`,deep:!0},positioningDisabled:`$_refreshListeners`,...[`placement`,`distance`,`skidding`,`boundary`,`strategy`,`overflowPadding`,`arrowPadding`,`preventOverflow`,`shift`,`shiftCrossAxis`,`flip`].reduce((e,t)=>(e[t]=`$_computePosition`,e),{})},created(){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:e=null,skipDelay:t=!1,force:n=!1}={}){this.parentPopper?.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(this.parentPopper?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit(`show`),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit(`update:shown`,!0))},hide({event:e=null,skipDelay:t=!1}={}){this.$_hideInProgress||(this.shownChildren.size>0?this.pendingHide=!0:this.hasPopperShowTriggerHover&&this.$_isAimingPopper()?this.parentPopper&&(this.parentPopper.lockedChild=this,this.parentPopper.lockedChildTimer&&clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3)):(this.parentPopper?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit(`hide`),this.$emit(`update:shown`,!1)))},init(){this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode?.call(this)??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.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`))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit(`resize`))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;let e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Ps({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(Fs({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Is({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Ls({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(zs({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:`arrowOverflow`,fn:({placement:e,rects:t,middlewareData:n})=>{let r,{centerOffset:i}=n.arrow;return r=e.startsWith(`top`)||e.startsWith(`bottom`)?Math.abs(i)>t.reference.width/2:Math.abs(i)>t.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){let t=this.autoSize?this.autoSize:this.autoMinSize?`min`:null;e.middleware.push({name:`autoSize`,fn:({rects:e,placement:n,middlewareData:r})=>{if(r.autoSize?.skip)return{};let i,a;return n.startsWith(`top`)||n.startsWith(`bottom`)?i=e.reference.width:a=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=i==null?null:`${i}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=a==null?null:`${a}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Rs({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=e==null?null:`${e}px`,this.$_innerNode.style.maxHeight=t==null?null:`${t}px`}})));let n=await Bs(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),$s&&this.instantMove&&$s.instantMove&&$s!==this.parentPopper?($s.$_applyHide(!0),this.$_applyShow(!0)):t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay(`show`))},$_scheduleHide(e,t=!1){this.shownChildren.size>0?this.pendingHide=!0:(this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,this.$_scheduleTimer&&clearTimeout(this.$_scheduleTimer),this.isShown&&($s=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay(`hide`)))},$_computeDelay(e){let t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){this.$_disposeTimer&&clearTimeout(this.$_disposeTimer),this.$_scheduleTimer&&clearTimeout(this.$_scheduleTimer),this.skipTransition=e,this.isShown||(this.$_ensureTeleport(),await Qs(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...os(this.$_referenceNode),...os(this.$_popperNode)],`scroll`,()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){let e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(`.v-popper__wrapper`),n=t.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(n.left+t.offsetLeft),i=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":``});let e=this.showGroup;if(e){let t;for(let n=0;n<X.length;n++)t=X[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}X.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of Gs(this.theme))tc(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit(`apply-show`),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Qs(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(this.$_scheduleTimer&&clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Zs(X,this),X.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of Gs(this.theme)){let t=tc(e);Zs(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}$s===this&&($s=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),this.$_disposeTimer&&clearTimeout(this.$_disposeTimer);let t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners(`scroll`),this.$emit(`apply-hide`),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Qs(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e==`string`?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw Error(`No container for popover: ${this.container}`);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){let e=e=>{(!this.isShown||this.$_hideInProgress)&&(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,Ys,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ys,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,Xs,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Xs,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(e=>e.addEventListener(t,n,Ks?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let a=n;r!=null&&(a=typeof r==`function`?r(a):r),a.forEach(n=>{let r=t[n];r&&this.$_registerEventListeners(e,r,i)})},$_removeEventListeners(e){let t=[];this.$_events.forEach(n=>{let{targetNodes:r,eventType:i,handler:a}=n;!e||e===i?r.forEach(e=>e.removeEventListener(i,a)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit(`close-directive`):this.$emit(`auto-hide`),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(let n of this.$_targetNodes){let r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(let t of this.$_targetNodes)for(let n in e){let r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){let e=this.$_referenceNode.getBoundingClientRect();if(fc>=e.left&&fc<=e.right&&pc>=e.top&&pc<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=fc-Q,n=pc-$,r=e.left+e.width/2-Q+(e.top+e.height/2)-$+e.width+e.height,i=Q+t*r,a=$+n*r;return mc(Q,$,i,a,e.left,e.top,e.left,e.bottom)||mc(Q,$,i,a,e.left,e.top,e.right,e.top)||mc(Q,$,i,a,e.right,e.top,e.right,e.bottom)||mc(Q,$,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<`u`&&typeof window<`u`){if(qs){let e=!Ks||{passive:!0,capture:!0};document.addEventListener(`touchstart`,e=>ac(e,!0),e),document.addEventListener(`touchend`,e=>oc(e,!0),e)}else window.addEventListener(`mousedown`,e=>ac(e,!1),!0),window.addEventListener(`click`,e=>oc(e,!1),!0);window.addEventListener(`resize`,uc)}function ac(e,t){if(Y.autoHideOnMousedown)sc(e,t);else for(let t=0;t<X.length;t++){let n=X[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function oc(e,t){Y.autoHideOnMousedown||sc(e,t)}function sc(e,t){let n={};for(let r=X.length-1;r>=0;r--){let i=X[r];try{let r=Array.from(i.shownChildren).some(t=>{let n=X.find(e=>e.randomId===t);return n&&n.popperNode().contains(e.target)}),a=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target)||r;i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&cc(i,a,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&a){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let r=i.parentPopper;for(;r&&cc(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function cc(e,t,n){return n.closeAllPopover||n.closePopover&&t||lc(e,n)&&!t}function lc(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function uc(){for(let e=0;e<X.length;e++)X[e].$_computePosition()}function dc(){for(let e=0;e<X.length;e++)X[e].hide()}var Q=0,$=0,fc=0,pc=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{Q=fc,$=pc,fc=e.clientX,pc=e.clientY},Ks?{passive:!0}:void 0);function mc(e,t,n,r,i,a,o,s){let c=((o-i)*(t-a)-(s-a)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t)),l=((n-e)*(t-a)-(r-t)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t));return c>=0&&c<=1&&l>=0&&l<=1}var hc=f({extends:ic(),render(){var e;return c(`div`,{ref:`reference`,class:[`v-popper`,{"v-popper--shown":this.slotData.isShown}]},(e=this.$slots).default?.call(e,this.slotData))}}),gc=(e=`theme`)=>({computed:{themeClass(){return Ws(this[e])}}}),_c=f({name:`VPopperContent`,mixins:[gc()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:[`hide`,`resize`],mounted(){this.handleResize&&(this.$_resizeObserver=new ResizeObserver(()=>this.$emit(`resize`)),this.$_resizeObserver.observe(this.$refs.inner))},beforeUnmount(){var e;(e=this.$_resizeObserver)==null||e.disconnect()},methods:{toPx(e){return e!=null&&!Number.isNaN(e)?`${e}px`:null}},render(){var e;let{autoHide:t,classes:n,result:r,shown:i}=this;return c(`div`,{id:this.popperId,ref:`popover`,"data-allow-mismatch":``,class:[`v-popper__popper`,this.themeClass,n.popperClass,{"v-popper__popper--shown":i,"v-popper__popper--hidden":!i,"v-popper__popper--show-from":n.showFrom,"v-popper__popper--show-to":n.showTo,"v-popper__popper--hide-from":n.hideFrom,"v-popper__popper--hide-to":n.hideTo,"v-popper__popper--skip-transition":this.skipTransition,"v-popper__popper--arrow-overflow":r&&r.arrow.overflow,"v-popper__popper--no-positioning":!r}],style:r?{position:r.strategy,transform:`translate3d(${Math.round(r.x)}px,${Math.round(r.y)}px,0)`}:void 0,"aria-hidden":i||t?`false`:`true`,tabindex:t?0:void 0,"data-popper-placement":r?r.placement:void 0,onKeyup:e=>{e.key===`Escape`&&t&&this.$emit(`hide`)}},[c(`div`,{class:`v-popper__backdrop`,onClick:()=>t&&this.$emit(`hide`)}),c(`div`,{class:`v-popper__wrapper`,style:r?{transformOrigin:r.transformOrigin}:void 0},[c(`div`,{ref:`inner`,class:`v-popper__inner`},this.mounted?[c(`div`,(e=this.$slots).default?.call(e))]:void 0),c(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:r?{left:this.toPx(r.arrow.x),top:this.toPx(r.arrow.y)}:void 0},[c(`div`,{class:`v-popper__arrow-outer`}),c(`div`,{class:`v-popper__arrow-inner`})])])])}}),vc={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},yc=function(){};typeof window<`u`&&(yc=window.Element);var bc=f({name:`VPopperWrapper`,mixins:[vc,gc(`finalTheme`)],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,yc,Boolean],default:void 0},boundary:{type:[String,yc],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}},render(){return c(hc,{ref:`popper`,...this.$props,theme:this.finalTheme,targetNodes:this.getTargetNodes,popperNode:()=>this.$refs.popperContent.$el,class:[this.themeClass],onShow:()=>this.$emit(`show`),onHide:()=>this.$emit(`hide`),"onUpdate:shown":e=>this.$emit(`update:shown`,e),onApplyShow:()=>this.$emit(`apply-show`),onApplyHide:()=>this.$emit(`apply-hide`),onCloseGroup:()=>this.$emit(`close-group`),onCloseDirective:()=>this.$emit(`close-directive`),onAutoHide:()=>this.$emit(`auto-hide`),onResize:()=>this.$emit(`resize`)},{default:({popperId:e,isShown:t,shouldMountContent:n,skipTransition:r,autoHide:i,show:a,hide:o,handleResize:s,onResize:l,classes:u,result:d})=>{var f;return[(f=this.$slots).default?.call(f,{shown:t,show:a,hide:o}),c(_c,{ref:`popperContent`,popperId:e,theme:this.finalTheme,shown:t,mounted:n,skipTransition:r,autoHide:i,handleResize:s,classes:u,result:d,onHide:o,onResize:l},{default:()=>{var e;return(e=this.$slots).popper?.call(e,{shown:t,hide:o})}})]}})}});function xc(e,t){return{...bc,name:e,vPopperTheme:t}}var Sc=xc(`VDropdown`,`dropdown`),Cc=xc(`VMenu`,`menu`),wc=xc(`VTooltip`,`tooltip`),Tc=ic(),Ec=f({name:`VTooltipDirective`,mixins:[vc],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>Us(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Us(e.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(e){if(typeof this.content==`function`&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;let e=++this.$_fetchId,t=this.content(this);t.then?t.then(t=>this.onResult(e,t)):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}},render(){return c(Tc,{ref:`popper`,...this.$attrs,theme:this.theme,targetNodes:this.targetNodes,popperNode:()=>this.$refs.popperContent.$el,onApplyShow:this.onShow,onApplyHide:this.onHide},{default:({popperId:e,isShown:t,shouldMountContent:n,skipTransition:r,autoHide:i,hide:a,handleResize:o,onResize:s,classes:l,result:u})=>c(_c,{ref:`popperContent`,class:{"v-popper--tooltip-loading":this.loading},popperId:e,theme:this.theme,shown:t,mounted:n,skipTransition:r,autoHide:i,handleResize:o,classes:l,result:u,onHide:a,onResize:s},{default:()=>this.html?c(`div`,{innerHTML:this.finalContent}):c(`div`,{textContent:this.finalContent})})})}}),Dc=`v-popper--has-tooltip`;function Oc(e,t){let n=e.placement;if(!n&&t)for(let e of Js)t[e]&&(n=e);return n||=Us(e.theme||`tooltip`,`placement`),n}function kc(e,t,n){let r,i=typeof t;return r=i===`string`?{content:t}:t&&i===`object`?t:{content:!1},r.placement=Oc(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}var Ac,jc,Mc=0;function Nc(){if(Ac)return;jc=j([]),Ac=zt({name:`VTooltipDirectiveApp`,setup(){return{directives:jc}},render(){return this.directives.map(e=>c(Ec,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement(`div`);document.body.appendChild(e),Ac.mount(e)}function Pc(e,t,n){Nc();let r=j(kc(e,t,n)),i=j(!1),a={id:Mc++,options:r,shown:i};return jc.value.push(a),e.classList&&e.classList.add(Dc),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function Fc(e){if(e.$_popper){let t=jc.value.indexOf(e.$_popper.item);t!==-1&&jc.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Dc)}function Ic(e,{value:t,modifiers:n}){let r=kc(e,t,n);if(!r.content||Us(r.theme||`tooltip`,`disabled`))Fc(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=Pc(e,t,n),t.shown!==void 0&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}var Lc={beforeMount:Ic,updated:Ic,beforeUnmount(e){Fc(e)}};function Rc(e){e.addEventListener(`mousedown`,Bc),e.addEventListener(`click`,Bc),e.addEventListener(`touchstart`,Vc,Ks?{passive:!0}:!1)}function zc(e){e.removeEventListener(`mousedown`,Bc),e.removeEventListener(`click`,Bc),e.removeEventListener(`touchstart`,Vc),e.removeEventListener(`touchend`,Hc),e.removeEventListener(`touchcancel`,Uc)}function Bc(e){let t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Vc(e){if(e.changedTouches.length===1){let t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener(`touchend`,Hc),t.addEventListener(`touchcancel`,Uc)}}function Hc(e){let t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){let n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Uc(e){let t=e.currentTarget;t.$_vclosepopover_touch=!1}var Wc={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(t===void 0||t)&&Rc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(t===void 0||t?Rc(e):zc(e))},beforeUnmount(e){zc(e)}};function Gc(e,t={}){if(!e.$_vTooltipInstalled){e.$_vTooltipInstalled=!0,Hs(Y,t),e.directive(`tooltip`,Lc),e.directive(`close-popper`,Wc);for(let t of[wc,Sc,Cc])e.component(t.name,t)}}var Kc={version:Vs,install:Gc,options:Y};function qc(e){e.use(Kc,{overflowPadding:20})}var Jc=[Di,za,Ba,Va,Ua,Wa,Ga,Ka,to,no,M(e=>{qc(e.vueApp)})];function Yc(e=m()){let t=e;t&&!t.sp&&(t.sp=[])}var Xc=(e=`RouteProvider`)=>f({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return S(He,we(r)),()=>e.vnode?c(e.vnode,{ref:e.vnodeRef}):e.vnode}}),Zc=Xc(),Qc=new WeakMap,$c=f({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=A(),a=j(),o=h(He,null),l=new Set,u;r({pageRef:a});let d=h(Ge,null),f,p=i.deferHydration(),m=!1,g=!1,_,v=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,p),t=Ie().beforeEach(()=>{e(),t()})}e.pageKey&&ge(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let y=!1;{let e=Ie().beforeResolve(()=>{y=!1});b(()=>{e(),p()})}return()=>c(wa,{name:e.name,route:e.route,...t},{default:nl(t=>{let r=el(o,t.route,t.Component),h=o&&o.matched.length===t.route.matched.length;if(!t.Component)return f&&!h&&!il(f)?f:(p(),e.transition??t.route.meta.pageTransition??!1?Lt(Ot([e.transition,t.route.meta.pageTransition,!1]),null).default():void 0);if(f&&d&&!il(f)&&!d.isCurrent(t.route))return f;if(r&&o&&(!d||d?.isCurrent(o)))return(h||f)&&!il(f)?f:null;let b=Mi(t,e.pageKey),x=tl(o,t.route,t.Component);!i.isHydrating&&u===b&&!x&&s(()=>{y||(y=!0,i.callHook(`page:loading:end`))}),m&&u!==b&&g&&v++,u=b;let S=!!(e.transition??t.route.meta.pageTransition??!1),C=S&&Ot([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){Ut(i),i.callHook(`page:transition:finish`,t.Component)}}]),w=e.keepalive??t.route.meta.keepalive??!1,T=t.Component.type,E=T.name||T.__name;t.route.meta.keepalive&&E&&l.add(E);let D;if(l.size>0&&e.keepalive==null&&(!w||typeof w==`object`&&w&&w.include)){let e=typeof w==`object`&&w?{...w}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];D={...e,include:Array.from(new Set([...t,...l]))}}else D=w;return f=Lt(S&&C,Ni(D,c(be,{key:v,suspensible:!0,onPending:()=>{m=!0,S&&g&&At(i),_=i.callHook(`page:start`,t.Component)},onResolve:async()=>{m=!1,g=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await s(),i._route.sync?.(),await _,await i.callHook(`page:finish`,t.Component),!y&&!x&&(y=!0,await i.callHook(`page:loading:end`))}finally{p()}}},{default:()=>{let e={key:b||void 0,vnode:n.default?rl(n.default,t):t.Component,route:t.route,renderKey:b||void 0,trackRootNodes:S,vnodeRef:a,routeRecord:void 0};if(!D)return c(Zc,e);let r=T,i=Qc.get(r);return i||(i=Xc(E),Qc.set(r,i)),c(i,e)}}))).default(),f})})}});function el(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&Mi({route:t,Component:n})!==Mi({route:e,Component:n})}function tl(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function nl(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!Ee(n)?[Se()]:[n]});return t._n=!0,t}function rl(e,t){let n=e(t);return n.length===1?c(n[0]):c(ie,void 0,n)}function il(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var al=0,ol=xe(new Map),sl=N(()=>Array.from(ol.values()).flat());function cl(e){let t=Ce(e),n=()=>{};function r(e){n();let t=al++;ol.set(t,e),n=()=>{ol.delete(t)}}return ge(t,e=>{r(e)},{immediate:!0}),k(()=>{n()}),()=>{n()}}var ll={class:`w12 flex-none`},ul={class:`border-r border-y border-base rounded-r-xl flex flex-col gap-1 p1 of-y-auto max-h-96vh bg-glass:80`,style:{position:`fixed`,left:`0`,top:`50%`,transform:`translateY(-50%)`,"z-index":`64`}},dl=f({__name:`PanelSideNav`,props:{items:{}},setup(e){let n=e,r=N(()=>n.items??sl.value);return(e,n)=>{let i=ne(`tooltip`);return w(),_(`div`,ll,[(w(),t(Te,{to:`body`},[g(`div`,ul,[(w(!0),_(ie,null,E(r.value,e=>ye((w(),t(ve(e.to?p(Vt):`button`),y({key:e.title,ref_for:!0},e.to?{to:e.to}:{type:`button`},{title:e.title,"aria-label":e.title,class:`rounded-full p2 hover:bg-active op-fade hover:op100 flex items-center justify-center`,"exact-active-class":`text-primary op100!`,onClick:t=>e.action?.()}),{default:ce(()=>[g(`div`,{class:x([e.icon,`text-lg`])},null,2)]),_:2},1040,[`title`,`aria-label`,`onClick`])),[[i,{placement:`right`,content:e.title}]])),128))])]))])}}}),fl=Xt(`vite-devtools-color-scheme`,`auto`),pl=Yt(),ml=N({get:()=>fl.value===`auto`?pl.value:fl.value===`dark`,set:e=>{fl.value=e?`dark`:`light`}});function hl(){typeof document<`u`&&ee(()=>{let e=document.documentElement;e.classList.toggle(`dark`,ml.value),e.classList.toggle(`light`,!ml.value)})}var gl=e({docsBase:C,reporters:D});function _l(e){let t=e||A();return t.ssrContext?.head||t.runWithContext(()=>{if(u()){let e=h(`usehead`);if(!e)throw gl.NUXT_E6001();return e}})}function vl(e,t={}){return xi(e,{head:t.head||_l(t.nuxt),...t})}function yl(e,t={}){return wi(e,{head:t.head||_l(t.nuxt),...t})}var bl={key:0,class:`text-red`},xl={key:2,class:`h-screen flex items-center justify-center p8`},Sl={key:3,class:`grid grid-cols-[max-content_1fr] h-screen w-screen max-w-screen max-h-screen of-hidden`},Cl={class:`of-auto h-screen max-h-screen relative`},wl=f({__name:`app`,setup(e){return hl(),yl({title:`Vite DevTools`}),$t(),cl(()=>[{title:`Home`,icon:`i-ph-house-duotone`,to:`/home`},{title:`Modules Graph`,icon:`i-ph-graph-duotone`,to:`/graph`},{title:`Plugins`,icon:`i-ph-plugs-duotone`,to:`/plugins`}]),(e,n)=>{let r=en,i=$c;return p(Qt).error?(w(),_(`div`,bl,me(p(Qt).error),1)):!p(Qt).connected||p(Qt).inspectStatus===`checking`?(w(),t(r,{key:1,text:`Connecting...`})):p(Qt).inspectStatus===`unavailable`?(w(),_(`div`,xl,[...n[0]||=[g(`p`,{class:`text-base op50`},` Vite DevTools is only available in dev mode. `,-1)]])):(w(),_(`div`,Sl,[oe(dl),g(`div`,Cl,[oe(i)])]))}}}),Tl={__name:`nuxt-error-page`,props:{error:Object},setup(e){let n=e.error,r=Number(n.statusCode||500),a=r===404,s=n.statusMessage??(a?`Page Not Found`:`Internal Server Error`),c=n.message||n.toString(),l=d(()=>Zt(()=>import(`./l8iGVs4x.js`),__vite__mapDeps([15,5,2,6,7,16]),import.meta.url)),u=d(()=>Zt(()=>import(`./3I19oYXS.js`),__vite__mapDeps([17,2,7,18]),import.meta.url)),f=a?l:u;return(e,n)=>(w(),t(p(f),o(i({status:p(r),statusText:p(s),statusCode:p(r),statusMessage:p(s),description:p(c),stack:p(void 0)})),null,16))}},El=()=>null,Dl={key:0},Ol={__name:`nuxt-root`,setup(e){let n=A(),r=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,r),t=Ie().beforeEach(()=>{e(),t()})}window.location.pathname,S(He,Je()),n.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let i=Pe();function a(e,t,r){let i=n.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,t,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return l((e,t,r)=>{if(n.hooks.callHook(`vue:error`,e,t,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Re(navigator.userAgent))return qe(n,e),!1;if(Xe(e)&&(e.fatal||e.unhandled))return n.runWithContext(()=>Be(Fe(e,{instance:t,route:n._route}))),Yc(),a(e,t,r),!1}),(e,n)=>(w(),t(be,{onResolve:p(r)},{default:ce(()=>[p(!1)?(w(),_(`div`,Dl)):p(i)?(w(),t(p(Tl),{key:1,error:p(i)},null,8,[`error`])):p(!1)?(w(),t(p(El),{key:2,context:p(!1)},null,8,[`context`])):p(!1)?(w(),t(ve(p(!1)),{key:3})):(w(),t(p(wl),{key:4}))]),_:1},8,[`onResolve`]))}},kl;{let e;kl=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Nt(Ol):zt(Ol),r=ue({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Fe(e,{route:r._route})}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&se.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(se.id)?.remove()});try{await _e(r,Jc)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(re),await r.hooks.callHook(`app:mounted`,n),await s()}catch(e){i(e)}return n},e=kl().catch(e=>{throw T.NUXT_E1009({cause:e}),e})}export{dc as a,Ps as c,wc as i,Is as l,ml as n,Bs as o,Cc as r,Ls as s,vl as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as e,L as t,R as n,d as r,i,k as a,n as o,o as s,u as c,x as l,z as u}from"./GbHA8sGJ.js";import{D as d,E as f,O as p,S as m,T as h,_ as g,a as _,b as v,c as y,d as ee,f as b,g as x,h as S,k as C,l as te,m as w,n as T,o as E,r as ne,s as D,t as re,u as O,v as k,x as ie}from"./DsNyhCdQ.js";import{A,C as j,Ct as M,H as N,J as P,Kt as F,N as I,Ot as L,Q as R,S as z,T as B,Wt as V,Y as H,Z as U,bt as W,ct as ae,et as oe,g as G,j as K,lt as q,ot as se,q as ce,qt as J,st as Y,ut as le,vt as ue,w as X,x as Z}from"./XWR6704C.js";import{n as Q,r as de}from"#entry";import{t as fe}from"./BDNMzG2s.js";import{st as pe,t as me}from"./B_A1QLnD.js";import{d as he,u as ge}from"./B3GmGsvS.js";var $=I({__name:`DisplayNumberBadge`,props:{number:{},color:{default:`badge-color-gray op75`},icon:{},prefix:{},suffix:{},format:{default:`locale`}},setup(e){let t=e,n=Z(()=>t.format===`percent`?Number(t.number).toLocaleString(void 0,{style:`percent`,minimumFractionDigits:2,maximumFractionDigits:2}):Number(t.number).toLocaleString());return(t,r)=>(H(),B(`div`,{class:V([e.color,`px-0.4em py-0.2em font-mono line-height-none flex items-center`])},[e.icon?(H(),B(`div`,{key:0,class:V([e.icon,`mr-1`])},null,2)):X(``,!0),A(` `+J(e.prefix||``)+J(n.value)+J(e.suffix||``)+` `,1),R(t.$slots,`after`)],2))}}),_e={class:`op50 text-xs flex justify-center items-center`},ve=I({__name:`FlowmapNodePluginInfo`,props:{modules:{},calls:{},duration:{}},setup(e){return(t,n)=>(H(),B(`span`,_e,[K($,{number:e.modules,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${e.modules}`},null,8,[`number`,`title`]),n[1]||=z(`span`,{class:`op40`},`|`,-1),K($,{number:e.calls,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${e.calls}`},null,8,[`number`,`title`]),n[2]||=z(`span`,{class:`op40`},`|`,-1),K(S,{duration:e.duration,class:`flex gap-1 items-center px1`,title:`Total build cost: ${L(g)(e.duration,!0)}`},{default:q(()=>[...n[0]||=[z(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`])]))}}),ye={class:`flex flex-col h-full min-h-0`},be={class:`select-none flex-1 min-h-0 of-x-hidden of-y-auto ws-nowrap w-auto p4 flex flex-col`,style:{"scrollbar-gutter":`stable`}},xe={class:`flex`},Se={class:`flex items-center justify-center relative w-60 h14`},Ce={class:`op50 text-xs flex items-center justify-center gap-1 h6`},we=[`datetime`],Te={class:`flex items-center justify-center relative w-60 h14`},Ee={class:`op50 text-xs flex items-center justify-center gap-1 h6`},De=[`datetime`],Oe=Object.assign(I({__name:`PluginFlowTimeline`,props:{buildMetrics:{}},setup(e){let t=e;function n(e){let t={duration:0,calls:e.length,modules:0},n=new Set;return e.forEach(e=>{n.has(e.module)||(n.add(e.module),t.modules++),t.duration+=e.duration}),t}let r=Z(()=>n(t.buildMetrics.resolveIdMetrics)),i=Z(()=>n(t.buildMetrics.loadMetrics)),a=Z(()=>n(t.buildMetrics.transformMetrics)),o=Z(()=>{let e=t.buildMetrics.calls;if(e?.length)return e[0].timestamp_start}),s=Z(()=>{let e=t.buildMetrics.calls;if(e?.length)return e.at(-1).timestamp_end});return(t,n)=>{let c=O,l=ve;return H(),B(`div`,ye,[R(t.$slots,`header`),z(`div`,be,[z(`div`,xe,[K(c,{active:!1,"class-node-inner":`w60`},{content:q(()=>[z(`div`,{class:`p2 w-full text-center`,onClick:n[0]||=e=>L(b).pluginDetailSelectedHook=``},[K(w,{name:e.buildMetrics.plugin_name,class:`font-mono text-sm ws-nowrap text-ellipsis line-clamp-1`},null,8,[`name`])])]),_:1})]),z(`div`,Se,[n[5]||=z(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),n[6]||=z(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),z(`span`,Ce,[n[4]||=z(`i`,{class:`i-ph-airplane-takeoff-thin text-4 inline-flex`},null,-1),o.value?(H(),B(`time`,{key:0,datetime:new Date(o.value).toISOString()},J(new Date(o.value).toLocaleString()),9,we)):X(``,!0)])]),K(c,{"class-node-inner":`w60`,"class-node-outer":`${!r.value.modules&&!r.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0},active:L(b).pluginDetailSelectedHook===`resolve`},{content:q(()=>[z(`div`,{class:`flex flex-col gap1 w-full`,onClick:n[1]||=e=>L(b).pluginDetailSelectedHook=`resolve`},[n[7]||=z(`span`,{class:`flex items-center justify-center gap-1`},[z(`i`,{class:`i-ph-magnifying-glass-duotone`}),A(` Resolve Id `)],-1),z(`div`,null,[K(l,{modules:r.value.modules,calls:r.value.calls,duration:r.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`class-node-outer`,`active`]),K(c,{active:L(b).pluginDetailSelectedHook===`load`,"class-node-inner":`w60`,"class-node-outer":`${!i.value.modules&&!i.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0}},{content:q(()=>[z(`div`,{class:`flex flex-col gap1 w-full`,onClick:n[2]||=e=>L(b).pluginDetailSelectedHook=`load`},[n[8]||=z(`span`,{class:`flex items-center justify-center gap-1`},[z(`i`,{class:`i-ph-upload-simple-duotone`}),A(` Load `)],-1),z(`div`,null,[K(l,{modules:i.value.modules,calls:i.value.calls,duration:i.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),K(c,{active:L(b).pluginDetailSelectedHook===`transform`,"class-node-inner":`w60`,"class-node-outer":`${!a.value.modules&&!a.value.calls?`b-dashed!`:``}`},{content:q(()=>[z(`div`,{class:`flex flex-col gap1 w-full`,onClick:n[3]||=e=>L(b).pluginDetailSelectedHook=`transform`},[n[9]||=z(`span`,{class:`flex items-center justify-center gap-1`},[z(`i`,{class:`i-ph-magic-wand-duotone`}),A(` Transform `)],-1),z(`div`,null,[K(l,{modules:a.value.modules,calls:a.value.calls,duration:a.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),z(`div`,Te,[n[11]||=z(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),n[12]||=z(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),n[13]||=z(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-14 w-2 h-2 border-4 rounded-full`},null,-1),z(`span`,Ee,[n[10]||=z(`i`,{class:`i-ph-airplane-landing-thin text-4 inline-flex`},null,-1),s.value?(H(),B(`time`,{key:0,datetime:new Date(s.value).toISOString()},J(new Date(s.value).toLocaleString()),9,De)):X(``,!0)])])])])}}}),{__name:`FlowmapPluginFlowTimeline`}),ke={role:`row`,class:`border-b border-base bg-base flex flex-row`},Ae={key:0,role:`columnheader`,class:`bg-base flex-none w32 ws-nowrap p1 text-center font-600`},je={key:1,role:`columnheader`,class:`bg-base flex-1 min-w100 ws-nowrap p1 text-left font-600`},Me={class:`flex flex-row gap1 items-center w-full`},Ne={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Pe={class:`p2 flex flex-col gap2`},Fe=[`title`],Ie=[`checked`,`onChange`],Le={class:`text-sm`},Re={key:2,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none ws-nowrap p1 text-center font-600 w-27`},ze={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Be={key:3,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},Ve={key:4,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},He={key:0,role:`cell`,class:`flex items-center justify-center flex-none w32 ws-nowrap op80`},Ue={key:1,role:`cell`,class:`flex-1 min-w100 text-left text-ellipsis line-clamp-2`},We={key:2,role:`cell`,class:`flex items-center justify-center flex-none text-center text-sm w-27`},Ge={key:3,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},Ke={key:4,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},qe={key:1,role:`table`,class:`min-w-max h-full`},Je={class:`p4`},Ye={class:`w-full h-48 flex items-center justify-center op50 italic`},Xe={key:0},Ze={key:1},Qe=Object.assign(fe(I({__name:`PluginDetailsTable`,props:{modules:{},buildMetrics:{},selectedFields:{},root:{}},setup(e){let t=e,n={resolve:`Resolve Id`,load:`Load`,transform:`Transform`},i=Z(()=>t.modules.map(e=>({mod:e,type:p(e.id)}))),a=Z(()=>f.filter(e=>i.value.some(t=>e.match.test(t.mod.id)))),o=Z(()=>{let e=new Map;for(let{mod:t,type:n}of i.value)e.set(t.id,n.name);return e}),s=W(b.value.pluginDetailsModuleTypes??a.value.map(e=>e.name)),c=Z(()=>new Set(s.value)),{state:l,next:u}=r([``,`desc`,`asc`],{initialValue:b.value.pluginDetailsDurationSortType}),d=Z(()=>{let e=b.value.pluginDetailSelectedHook,n=b.value.pluginDetailsShowType,r=n!==`all`&&[`load`,`transform`].includes(e),i=new Map(o.value),a=[];for(let o of t.buildMetrics.calls){if(!o.module||e&&o.type!==e||r&&(n===`changed`?o.unchanged:!o.unchanged))continue;let t=i.get(o.module);t||(t=p(o.module).name,i.set(o.module,t)),c.value.has(t)&&a.push(o)}return l.value&&a.sort((e,t)=>l.value===`asc`?e.duration-t.duration:t.duration-e.duration),a});function h(e){s.value?.includes(e.name)?s.value=s.value?.filter(t=>t!==e.name):s.value?.push(e.name),b.value.pluginDetailsModuleTypes=s.value}function g(){u(),b.value.pluginDetailsDurationSortType=l.value}function _(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}return(t,r)=>{let i=ie;return d.value.length&&e.selectedFields.length?(H(),j(v,{key:0,class:`plugin-details-table min-w-max h-full min-h-0`,role:`table`,items:d.value,"key-prop":`id`,"page-mode":!1,scroller:`fixed`,"item-size":36},{before:q(()=>[z(`div`,ke,[e.selectedFields.includes(`hookName`)?(H(),B(`div`,Ae,` Hook name `)):X(``,!0),e.selectedFields.includes(`module`)?(H(),B(`div`,je,[z(`button`,Me,[r[0]||=A(` Module `,-1),K(L(de),null,{popper:q(()=>[z(`div`,Pe,[(H(!0),B(G,null,U(a.value,e=>(H(),B(`label`,{key:e.name,title:e.description,class:`cursor-pointer module-type-filter border border-base rounded-md px2 py1 flex items-center gap-1 select-none`},[z(`input`,{type:`checkbox`,class:`mr1`,checked:s.value?.includes(e.name),onChange:t=>h(e)},null,40,Ie),z(`div`,{class:V([e.icon,`icon-catppuccin`])},null,2),z(`div`,Le,J(e.description||e.name),1)],8,Fe))),128))])]),default:q(()=>[z(`span`,Ne,[z(`i`,{class:V([`i-ph-funnel-duotone text-xs`,s.value.length===a.value.length?`op50`:`text-primary op100`])},null,2)])]),_:1})])])):X(``,!0),e.selectedFields.includes(`duration`)?(H(),B(`div`,Re,[z(`button`,{class:`flex flex-row gap1 items-center justify-center w-full`,onClick:g},[r[1]||=A(` Duration `,-1),z(`span`,ze,[z(`i`,{class:V([`text-xs`,[L(l)===`asc`?`i-ph-arrow-up-duotone`:`i-ph-arrow-down-duotone`,L(l)?`op100 text-primary`:`op50`]])},null,2)])])])):X(``,!0),e.selectedFields.includes(`startTime`)?(H(),B(`div`,Be,` Start Time `)):X(``,!0),e.selectedFields.includes(`endTime`)?(H(),B(`div`,Ve,` End Time `)):X(``,!0)])]),default:q(({item:t,index:r})=>[z(`div`,{role:`row`,class:V([`border-base border-b border-dashed flex flex-row h-9`,[r===d.value.length-1?`border-b-0`:``]])},[e.selectedFields.includes(`hookName`)?(H(),B(`div`,He,[K(m,{text:n[t.type]},null,8,[`text`])])):X(``,!0),e.selectedFields.includes(`module`)?(H(),B(`div`,Ue,[K(i,{id:t.module,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:e.root,link:_(t.graphModuleId)},null,8,[`id`,`cwd`,`link`])])):X(``,!0),e.selectedFields.includes(`duration`)?(H(),B(`div`,We,[K(S,{duration:t.duration},null,8,[`duration`])])):X(``,!0),e.selectedFields.includes(`startTime`)?(H(),B(`div`,Ge,J(L(k)(t.timestamp_start)),1)):X(``,!0),e.selectedFields.includes(`endTime`)?(H(),B(`div`,Ke,J(L(k)(t.timestamp_end)),1)):X(``,!0)],2)]),_:1},8,[`items`])):(H(),B(`div`,qe,[z(`div`,Je,[z(`div`,Ye,[e.selectedFields.length?(H(),B(`p`,Ze,` No data `)):(H(),B(`p`,Xe,` No columns selected `))])])]))}}}),[[`__scopeId`,`data-v-ba6a4bd9`]]),{__name:`DataPluginDetailsTable`}),$e={class:`p2 h-full w-full`},et={class:`flex border border-base rounded-2 h-full relative of-hidden`},tt={key:0,class:`of-hidden border-r border-base shrink-0 h-full min-h-0 flex flex-col`},nt={class:`px2 h10 border-b border-base bg-base rounded-t-2 flex items-center justify-end`},rt={class:`flex-1 h-full min-w-0 min-h-0 flex flex-col`},it={class:`flex items-center justify-between border-b border-base px2 h10 bg-base rounded-t-2 of-x-auto ws-nowrap`},at={class:`flex items-center h-full`},ot={key:0,class:`flex items-center justify-center gap1 h-full text-xs py1`},st={class:`op50 flex items-center gap-1`},ct=[`title`],lt={class:`text-xs op50`},ut={class:`flex-1 min-h-0 of-x-auto overscroll-contain`},dt=Object.assign(I({__name:`PluginFlow`,props:{modules:{},buildMetrics:{},root:{}},setup(e){let n=e,[i,a]=t(!0),o=[{match:/hookName/,name:`hookName`,description:`Hook name`,icon:`i-ph-function-duotone`},{match:/module/,name:`module`,description:`Module`,icon:`i-ph-package-duotone`},{match:/duration/,name:`duration`,description:`Duration`,icon:`i-ph-clock-countdown-duotone`},{match:/startTime/,name:`startTime`,description:`Start Time`,icon:`i-ph-clock-duotone`},{match:/endTime/,name:`endTime`,description:`End Time`,icon:`i-ph-clock-duotone`}],s=W({selected:b.value.pluginDetailsTableFields,search:!1}),c=Z(()=>b.value.pluginDetailsTableFields?b.value.pluginDetailsTableFields:o.map(e=>e.name)),{state:l,next:u}=r([`changed`,`unchanged`,`all`],{initialValue:b.value.pluginDetailsShowType}),d=Z(()=>l.value===`all`?`Show Changed`:l.value===`changed`?`Show Unchanged`:`Show All`),f=Z(()=>!(![`load`,`transform`].includes(b.value.pluginDetailSelectedHook)||!n.buildMetrics.calls?.filter(e=>e.type===b.value.pluginDetailSelectedHook).filter(e=>e.unchanged).length)),p=Z(()=>{let e=n.buildMetrics.calls?.filter(e=>e.type===b.value.pluginDetailSelectedHook).filter(e=>e.unchanged),t=e.reduce((e,t)=>e+t.duration,0);return{count:e.length,duration:t}});Y(()=>s.value.selected,e=>{b.value.pluginDetailsTableFields=e});function m(){u(),b.value.pluginDetailsShowType=l.value}return(t,n)=>{let r=Oe,l=Qe;return H(),B(`div`,$e,[z(`div`,et,[L(i)?(H(),B(`div`,tt,[K(r,{"build-metrics":e.buildMetrics},{header:q(()=>[z(`div`,nt,[z(`button`,{class:`w8 h8 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`,onClick:n[0]||=e=>L(a)(!1)},[...n[3]||=[z(`i`,{class:`i-ph-sidebar-simple-duotone inline-flex op50`},null,-1)]])])]),_:1},8,[`build-metrics`])])):X(``,!0),z(`div`,rt,[z(`div`,it,[z(`div`,at,[L(i)?X(``,!0):(H(),B(`button`,{key:0,class:`w8 h8 rounded-full cursor-pointer mr1 hover:bg-active flex items-center justify-center`,onClick:n[1]||=e=>L(a)(!0)},[...n[4]||=[z(`i`,{class:`i-ph-sidebar-duotone inline-flex op50`},null,-1)]])),K(T,{modelValue:s.value,"onUpdate:modelValue":n[2]||=e=>s.value=e,"selected-container-class":`px0! py1 border-none bg-none flex-nowrap! h-full`,rules:o,class:`[&_[icon-catppuccin]]:filter-none! h-full border-none`},null,8,[`modelValue`])]),f.value?(H(),B(`div`,ot,[z(`p`,st,[K($,{number:p.value.count},null,8,[`number`]),n[5]||=A(` module unchanged, but cost `,-1),K(S,{duration:p.value.duration},null,8,[`duration`])]),z(`button`,{class:`rounded-md px2 py1 select-none h-full border border-base rounded-lg hover:bg-active`,title:d.value,onClick:m},[z(`div`,lt,J(d.value),1)],8,ct)])):X(``,!0)]),z(`div`,ut,[K(l,{modules:e.modules,"build-metrics":e.buildMetrics,"selected-fields":c.value,root:e.root},null,8,[`modules`,`build-metrics`,`selected-fields`,`root`])])])])])}}}),{__name:`FlowmapPluginFlow`}),ft={class:`flex gap-1 items-center flex-wrap`},pt={key:0,class:`i-ph-arrow-right-bold text-sm op-fade`},mt=[`onClick`],ht=I({__name:`ChartNavBreadcrumb`,props:{selected:{},options:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=Z(()=>{let e=[],t=n.selected;for(;t;)e.unshift(t),t=t.parent;return e});return(e,t)=>(H(),B(`div`,ft,[(H(!0),B(G,null,U(i.value,(e,t)=>(H(),B(G,{key:e.id},[t>0?(H(),B(`div`,pt)):X(``,!0),z(`button`,{class:`hover:bg-active rounded px1`,onClick:t=>r(`select`,e)},[z(`span`,null,J(e.text||e.id),1)],8,mt)],64))),128))]))}}),gt={class:`grid grid-cols-[max-content_1fr] gap-2 p4`},_t={class:`flex flex-col gap-4`},vt={key:0,class:`grid grid-cols-[300px_1fr] gap-1`},yt=[`onClick`],bt={key:0,class:`flex gap2 items-center pl2 hover:bg-active`},xt={class:`font-mono text-sm`},St=[`onClick`],Ct=[`title`],wt=I({__name:`PluginsSunburst`,props:{graph:{},selected:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=se(`el`);ae(()=>i.value?.append(n.graph.el));function a(e){return E(n.graph.options.getColor?.(e)||`#000`)}return(t,n)=>{let o=oe(`tooltip`);return H(),B(`div`,gt,[z(`div`,{ref_key:`el`,ref:i,class:`w-500px`},null,512),z(`div`,_t,[K(ht,{class:`border-b border-base py2`,selected:e.selected,options:e.graph.options,onSelect:n[0]||=e=>r(`select`,e)},null,8,[`selected`,`options`]),e.selected?(H(),B(`div`,vt,[(H(!0),B(G,null,U(e.selected.children,i=>(H(),B(G,{key:i.id},[z(`button`,{class:`ws-nowrap text-nowrap text-left overflow-hidden text-ellipsis text-sm hover:bg-active rounded px2`,onClick:e=>r(`select`,i)},[i.meta?.type===`hook`?(H(),B(`div`,bt,[n[1]||=z(`i`,{class:`i-ph-function-duotone inline-flex`},null,-1),z(`span`,xt,J(i.text),1)])):R(t.$slots,`module`,{child:i},()=>[z(`span`,null,J(i.text||i.id),1)],void 0,1)],8,yt),z(`button`,{class:`relative flex gap-1 items-center hover:bg-active rounded`,onClick:e=>r(`select`,i)},[z(`div`,{class:`h-5 rounded shadow border border-base`,style:F({background:a(i),width:`${i.size/e.selected.size*100}%`})},null,4),K(S,{duration:i.size,class:`text-xs`},null,8,[`duration`]),i.children.length>0&&i.meta?.type!==`hook`?le((H(),B(`div`,{key:0,title:`${i.children.length} dependencies`,class:`text-xs op-fade`},[A(` (`+J(i.children.length)+`) `,1)],8,Ct)),[[o,`${i.children.length} dependencies`]]):X(``,!0)],8,St)],64))),128))])):X(``,!0)])])}}});function Tt(e){let{data:t,nameKey:n,sizeKey:r,rootText:i,nodeType:a,graphOptions:o,onUpdate:s}=e,c=M(void 0),l=M(void 0),u=W(void 0),d=M(void 0),f,p=Z(()=>{if(e.tree)return e.tree.value;let o=L(t),s=new Map,c=0,l={id:`~root`,text:i,size:0,sizeSelf:0,children:[]};if(!o?.length)return{map:s,root:l,maxDepth:c};let u=[];u.unshift(()=>{l.size+=l.children.reduce((e,t)=>e+t.size,0),l.subtext=x(l.size).join(` `),l.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))});function d(e,t,n,r,i){if(s.has(t))return s.get(t);i>c&&(c=i);let o={id:t,text:n,size:0,sizeSelf:0,children:[],meta:{...e,path:n,type:`folder`},parent:r};return s.set(t,o),r.children.push(o),u.unshift(()=>{let t=o.sizeSelf;o.size+=o.children.reduce((e,t)=>e+t.size,0),o.subtext=x(o.size).join(` `),o.children.length&&t/o.size>.1&&o.children.push({id:`${o.id}-self`,text:``,size:t,sizeSelf:t,subtext:x(t).join(` `),children:[],meta:{...e,path:``,type:a},parent:o}),o.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))}),o}function f(e){let t=e[n].split(`/`).filter(Boolean),i=l,o=``,c=0;t.forEach((l,u)=>{if(o+=(o?`/`:``)+l,c++,u===t.length-1){let t={id:e[n],text:l,size:e[r],sizeSelf:e[r],subtext:x(e[r]).join(` `),children:[],meta:{...e,path:l,type:a}};i.children.push(t),s.set(e[n],t)}else i=d(e,o,l,i,c)})}return o.forEach(f),u.forEach(e=>e()),{map:s,root:l,maxDepth:c}}),m=Z(()=>({animate:b.value.chartAnimation,palette:{stroke:Q.value?`#222`:`#555`,fg:Q.value?`#fff`:`#000`,bg:Q.value?`#111`:`#fff`},getColor:D(p.value.root,Q.value?.8:.9,Q.value?1:1.1),getSubtext:e=>e.subtext,...o}));function h(e,t){u.value=e?.meta,e?.children.length||(e=e?.parent),d.value?.select(e,t)}function g(){f?.(),l.value=p.value.root,s?.(),N(()=>{let e=u.value&&p.value.map.get(u.value[n])||null;e&&h(e,!1)}),f=()=>{d.value?.dispose(),d.value=void 0,u.value=void 0}}return N(()=>{Y(()=>[p.value,m.value],()=>{g()},{deep:!0,immediate:!1}),g()}),P(()=>{f?.()}),{tree:p,chartOptions:m,graph:d,nodeHover:c,nodeSelected:l,selectedNode:u,selectNode:h,buildGraph:g}}var Et={key:1,class:`relative h-full w-full`},Dt={class:`bg-glass absolute left-2 top-2 z-panel-content p2 border border-base rounded-lg flex flex-col gap-2`},Ot={class:`font-mono px1`},kt={class:`text-xs font-mono flex items-center gap-3 ml2`},At={class:`flex gap-2`},jt={class:`of-auto h-full pt-30`},Mt={key:2,class:`flex items-center justify-center w-full h-full`},Nt={key:0,class:`border border-base rounded-lg shadow-lg px3 py2 bg-glass pointer-events-none text-sm max-w-80`},Pt={key:0,class:`flex items-center gap2`},Ft={key:0,class:`flex font-semibold font-mono text-base mb2`},It={key:1,class:`border-t border-base pt2 flex flex-col gap-1.5 min-w-48`},Lt={class:`flex justify-between items-center py1`},Rt=[`datetime`],zt={class:`flex justify-between items-center py1`},Bt=[`datetime`],Vt={class:`flex justify-between items-center py1 border-t border-base border-dashed pt2`},Ht={key:2},Ut=Object.assign(I({__name:`PluginDetailsLoader`,props:{plugin:{},query:{},modules:{},root:{}},emits:[`close`],setup(t,{emit:n}){let r=t,a=n,s=i(),{state:d,isLoading:m,execute:h}=c(async()=>await s.value.call(`vite:inspect:get-plugin-details`,r.query,r.plugin),null),v=e(()=>{h()},100);Y(()=>[r.query.vite,r.query.env,r.plugin],()=>{h()}),o(()=>{v()});let x=Z(()=>{let e=new Set;return d.value?.calls?.filter(t=>!e.has(t.module)&&(e.add(t.module),!0))??[]}),C=Z(()=>d.value?.loadMetrics.reduce((e,t)=>e+t.duration,0)),T=Z(()=>d.value?.transformMetrics.reduce((e,t)=>e+t.duration,0)),E=Z(()=>d.value?.resolveIdMetrics.reduce((e,t)=>e+t.duration,0)),ne=Z(()=>d.value?.calls?.reduce((e,t)=>e+t.duration,0)),D=Z(()=>r.modules.map(e=>({mod:e,path:re(e.id,r.root),type:p(e.id)}))),O=Z(()=>f.filter(e=>D.value.some(t=>e.match.test(t.mod.id))));function M(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}let N=Z(()=>{let e=new Map;if(!d.value)return{root:t({id:`~root`,text:`Project`,children:[]}),map:new Map,maxDepth:3};function t(t,n){e.set(t.id,t);let r=y(t,n,(e,t)=>(t?.meta?.duration??0)-(e?.meta?.duration??0));return r.children&&r.children.forEach(e=>{e.parent=r}),r}function n(e,n){let r=n.filter(e=>!O.value.some(t=>p(e.module).name===t.name));return[...O.value.map((r,i)=>{let a=n.filter(e=>p(e.module).name===r.name);return t({id:`${e}-${r.name}-${i}`,text:r.description,children:a.map((n,r)=>t({id:`${e}-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:r.description,id:`${e}-${r.name}-${i}`,duration:a.reduce((e,t)=>e+t.duration,0)}})}),t({id:`${e}-other`,text:`Other`,children:r.map((n,r)=>t({id:`${e}-other-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:`Other`,id:`${e}-other`,duration:r.reduce((e,t)=>e+t.duration,0)}})]}let r=n(`resolveId`,d.value.resolveIdMetrics),i=n(`loads`,d.value.loadMetrics),a=n(`transforms`,d.value.transformMetrics);function o(e,n,r){return t({id:e,text:n,children:r.sort((e,t)=>t.size-e.size),meta:{id:e,type:`hook`,title:n,duration:{"~loads":C.value,"~resolves":E.value,"~transforms":T.value}[e]}})}return{root:t({id:`~root`,text:`Project`,children:[o(`~resolves`,`Resolve Id`,r),o(`~loads`,`Load`,i),o(`~transforms`,`Transform`,a)]}),map:e,maxDepth:3}}),P=ue(l()),{tree:F,chartOptions:I,graph:R,nodeHover:U,nodeSelected:W,selectedNode:ae,selectNode:oe,buildGraph:se}=Tt({data:[],tree:N,nameKey:`id`,sizeKey:`duration`,rootText:`Project`,graphOptions:{onClick(e){e&&(U.value=e),ae.value=e?.meta},onHover(e){e&&(U.value=e),e===null&&(U.value=void 0)},onLeave(){U.value=void 0},onSelect(e){W.value=e||F.value.root,ae.value=e?.meta},getSubtext(e){return g(e.size,!0)}},onUpdate(){R.value=new _(F.value.root,I.value)}});return Y(()=>b.value.pluginDetailsViewType,()=>{se()}),(e,n)=>{let r=u,i=dt,o=ie,s=te;return H(),B(G,null,[L(m)?(H(),j(r,{key:0})):L(d)?.calls?.length?(H(),B(`div`,Et,[K(ee,{class:`absolute right-2 top-1.5`,onClick:n[0]||=e=>a(`close`)}),z(`div`,Dt,[z(`div`,Ot,[K(w,{name:L(d)?.plugin_name},null,8,[`name`])]),z(`div`,kt,[K(S,{duration:E.value,class:`flex gap-1 items-center`,title:`Resolve Id hooks cost: ${L(g)(E.value,!0)}`},{default:q(()=>[...n[3]||=[z(`span`,{class:`i-ph-magnifying-glass-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),K(S,{duration:C.value,class:`flex gap-1 items-center`,title:`Load hooks cost: ${L(g)(C.value,!0)}`},{default:q(()=>[...n[4]||=[z(`span`,{class:`i-ph-upload-simple-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),K(S,{duration:T.value,class:`flex gap-1 items-center`,title:`Transform hooks cost: ${L(g)(T.value,!0)}`},{default:q(()=>[...n[5]||=[z(`span`,{class:`i-ph-magic-wand-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),n[7]||=z(`span`,{class:`op40`},`|`,-1),K(S,{duration:ne.value,class:`flex gap-1 items-center`,title:`Total build cost: ${L(g)(ne.value,!0)}`},{default:q(()=>[...n[6]||=[z(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),n[8]||=z(`span`,{class:`op40`},`|`,-1),K($,{number:x.value.length,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${x.value.length}`},null,8,[`number`,`title`]),n[9]||=z(`span`,{class:`op40`},`|`,-1),K($,{number:L(d)?.calls?.length??0,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${L(d)?.calls?.length??0}`},null,8,[`number`,`title`])]),z(`div`,At,[z(`button`,{class:V([L(b).pluginDetailsViewType===`flow`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:n[1]||=e=>L(b).pluginDetailsViewType=`flow`},[...n[10]||=[z(`div`,{class:`i-ph-git-branch-duotone rotate-180`},null,-1),A(` Build Flow `,-1)]],2),z(`button`,{class:V([L(b).pluginDetailsViewType===`sunburst`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:n[2]||=e=>L(b).pluginDetailsViewType=`sunburst`},[...n[11]||=[z(`div`,{"i-ph-chart-sunburst-duotone":``},null,-1),A(` Sunburst `,-1)]],2)])]),z(`div`,jt,[L(b).pluginDetailsViewType===`flow`?(H(),j(i,{key:0,modules:t.modules,"build-metrics":L(d),root:t.root},null,8,[`modules`,`build-metrics`,`root`])):X(``,!0),L(b).pluginDetailsViewType===`sunburst`&&L(R)?(H(),j(wt,{key:1,graph:L(R),selected:L(W),onSelect:L(oe)},{module:q(({child:e})=>[K(o,{id:e.text,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:t.root,link:M(e.meta?.graphModuleId)},null,8,[`id`,`cwd`,`link`])]),_:1},8,[`graph`,`selected`,`onSelect`])):X(``,!0)])])):(H(),B(`div`,Mt,[...n[12]||=[z(`span`,{class:`italic op50`},` No data `,-1)]])),K(s,{"hover-x":P.x,"hover-y":P.y},{default:q(()=>[L(U)?(H(),B(`div`,Nt,[L(U).meta?.title?(H(),B(`div`,Pt,[A(J(L(U).meta.title)+` `,1),K(S,{duration:L(U).meta.duration},null,8,[`duration`])])):(H(),B(G,{key:1},[L(U).meta?.module?(H(),B(`div`,Ft,[K(o,{id:L(U).meta.module,cwd:t.root,link:!1},null,8,[`id`,`cwd`])])):X(``,!0),L(U).meta?.module?(H(),B(`div`,It,[z(`div`,Lt,[n[13]||=z(`label`,{class:`text-xs opacity-70`},`Start Time`,-1),z(`time`,{datetime:new Date(L(U).meta.timestamp_start).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},J(L(k)(L(U).meta.timestamp_start)),9,Rt)]),z(`div`,zt,[n[14]||=z(`label`,{class:`text-xs opacity-70`},`End Time`,-1),z(`time`,{datetime:new Date(L(U).meta.timestamp_end).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},J(L(k)(L(U).meta.timestamp_end)),9,Bt)]),z(`div`,Vt,[n[15]||=z(`label`,{class:`text-xs op70`},`Duration`,-1),K(S,{duration:L(U).meta.duration},null,8,[`duration`])])])):(H(),B(`div`,Ht,[K(S,{duration:L(U).meta?.duration},null,8,[`duration`])]))],64))])):X(``,!0)]),_:1},8,[`hover-x`,`hover-y`])],64)}}}),{__name:`DataPluginDetailsLoader`}),Wt={class:`flex flex-col gap-2 p4`},Gt={class:`flex pb2`},Kt={class:`w-8 text-right text-xs op50`},qt={class:`overflow-hidden text-ellipsis break-all line-clamp-2`},Jt=I({__name:`PluginsFlatList`,props:{plugins:{},itemSize:{},pageMode:{type:Boolean,default:!0},scroller:{default:`dynamic`}},setup(e){let t=ge();return(n,r)=>(H(),B(`div`,Wt,[K(v,{items:e.plugins,"key-prop":`plugin_id`,"item-size":e.itemSize,"page-mode":e.pageMode,scroller:e.scroller},{default:q(({item:e})=>[z(`div`,Gt,[K(L(me),{to:{path:L(t).path,query:{plugin:e.plugin_id}},class:`font-mono border rounded border-base w-full px2 py1 text-sm hover:bg-active flex gap-4 items-center`},{default:q(()=>[z(`div`,Kt,` #`+J(e.plugin_id),1),z(`span`,qt,[K(w,{name:e.name},null,8,[`name`])])]),_:2},1032,[`to`])])]),_:1},8,[`items`,`item-size`,`page-mode`,`scroller`])]))}}),Yt={key:1,class:`h-full flex flex-col gap-3 items-center justify-center p8 text-center`},Xt={class:`font-mono text-sm max-w-180 ws-pre-wrap`},Zt={key:2,class:`relative min-h-screen`},Qt={class:`sticky left-4 right-4 top-4 z-panel-nav p-4`},$t={class:`fixed bottom-4 py-1 px-2 bg-glass left-1/2 translate-x--1/2 border border-base rounded-full text-center text-xs`},en={class:`op50`},tn=I({__name:`plugins`,setup(t){let r=i(),c=ge(),l=he(),f=M(null),p=M([]),m=W(!0),g=W(null),_=Z(()=>typeof c.query.plugin==`string`?c.query.plugin:void 0),v=W({search:c.query.search||``,selected:c.query.plugin_types?P(c.query.plugin_types):null}),y=Z(()=>f.value?.instances[0]),ee=Z(()=>y.value?.environments[0]||``),b=Z(()=>y.value?.root||``),x=Z(()=>!y.value?.vite||!ee.value?null:{vite:y.value.vite,env:ee.value}),S=Z(()=>y.value?.plugins.map((e,t)=>re(e,t))??[]),te=Z(()=>[...d.filter(e=>S.value.some(t=>e.match.test(t.name))),h]),w=Z(()=>{let e=S.value;return v.value.selected&&(e=e.filter(e=>{let t=C(e.name);return v.value.selected.includes(t.name)})),e}),E=a(()=>w.value,()=>new ne(w.value,{includeScore:!0,keys:[`name`],ignoreLocation:!0,threshold:.4})),D=Z(()=>v.value.search?E.value.search(v.value.search).map(e=>e.item):w.value);n(v.value,e=>{l.replace({query:F({...c.query,search:e.search||void 0,plugin_types:e.selected||void 0})})},{debounce:500});function re(e,t){let n=e&&typeof e==`object`?e:{};return{plugin_id:t,name:typeof n.name==`string`?n.name:`plugin-${t}`,enforce:n.enforce===`pre`||n.enforce===`post`?n.enforce:void 0}}function O(){_.value&&l.replace({query:{...c.query,plugin:void 0}})}async function k(e={}){e.silent||(m.value=!0),g.value=null;try{f.value=await r.value.call(`vite:inspect:get-metadata`),x.value?p.value=(await r.value.call(`vite:inspect:get-modules-list`,x.value)).map(N):p.value=[]}catch(e){g.value=e}finally{e.silent||(m.value=!1)}}let ie=e(()=>{k({silent:!0})},100);function N(e){return{...e,imports:e.deps.map(e=>({module_id:e}))}}function P(e){return Array.isArray(e)?e.map(String):[String(e)]}function F(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}return ce(()=>{k()}),o(()=>{ie()}),s(`Escape`,e=>{e.preventDefault(),e.isTrusted&&!e.repeat&&O()}),(e,t)=>{let n=u,r=Ut;return m.value?(H(),j(n,{key:0,text:`Loading plugins...`})):g.value?(H(),B(`div`,Yt,[t[3]||=z(`div`,{class:`i-ph-warning-duotone text-4xl text-amber`},null,-1),z(`div`,Xt,J(g.value.message),1),z(`button`,{class:`btn-action`,onClick:t[0]||=e=>k()},[...t[2]||=[z(`span`,{class:`i-ph-arrow-clockwise-duotone`},null,-1),A(` Retry `,-1)]])])):(H(),B(`div`,Zt,[z(`div`,Qt,[K(T,{modelValue:v.value,"onUpdate:modelValue":t[1]||=e=>v.value=e,rules:te.value},null,8,[`modelValue`,`rules`])]),K(Jt,{plugins:D.value??[],scroller:`window`},null,8,[`plugins`]),z(`div`,$t,[z(`span`,en,J(D.value.length)+` of `+J(S.value.length||0),1)]),_.value&&x.value?(H(),B(`div`,{key:0,class:`fixed inset-0 backdrop-blur-8 backdrop-brightness-95 z-panel-content`,onClick:pe(O,[`self`])},[(H(),B(`div`,{key:_.value,class:`fixed right-0 bottom-0 top-20 left-20 z-panel-content bg-glass border-l border-t border-base rounded-tl-xl`},[K(r,{plugin:_.value,query:x.value,modules:p.value,root:b.value,onClose:O},null,8,[`plugin`,`query`,`modules`,`root`])]))])):X(``,!0)]))}}});export{tn as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ as e,At as t,Bt as n,Ct as r,D as i,E as a,Ft as o,Ht as s,I as c,It as l,Jt as u,Lt as d,Mt as f,N as p,Nt as m,Ot as h,Pt as g,Rt as _,Ut as v,Vt as y,W as ee,a as b,b as x,bt as te,h as S,i as C,jt as w,kt as T,m as ne,o as re,q as ie,u as ae,x as E,zt as oe}from"./XWR6704C.js";import{C as se,D as ce,N as le,O as ue,S as de,_ as fe,c as pe,d as D,h as me,j as he,l as ge,s as _e,v as O}from"./B3GmGsvS.js";var ve=void 0,ye=typeof window<`u`&&window.trustedTypes;if(ye)try{ve=ye.createPolicy(`vue`,{createHTML:e=>e})}catch{}var be=ve?e=>ve.createHTML(e):e=>e,xe=`http://www.w3.org/2000/svg`,Se=`http://www.w3.org/1998/Math/MathML`,k=typeof document<`u`?document:null,Ce=k&&k.createElement(`template`),we={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?k.createElementNS(xe,e):t===`mathml`?k.createElementNS(Se,e):n?k.createElement(e,{is:n}):k.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>k.createTextNode(e),createComment:e=>k.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>k.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{Ce.innerHTML=be(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Ce.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},A=`transition`,j=`animation`,M=Symbol(`_vtc`),Te={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},Ee=w({},S,Te),De=(e=>(e.displayName=`Transition`,e.props=Ee,e))((e,{slots:t})=>c(ne,ke(e),t)),N=(e,t=[])=>{o(e)?e.forEach(e=>e(...t)):e&&e(...t)},Oe=e=>e?o(e)?e.some(e=>e.length>1):e.length>1:!1;function ke(e){let t={};for(let n in e)n in Te||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=Ae(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:ee,onLeaveCancelled:b,onBeforeAppear:x=_,onAppear:te=v,onAppearCancelled:S=y}=t,C=(e,t,n,r)=>{e._enterCancelled=r,F(e,t?u:s),F(e,t?l:o),n&&n()},T=(e,t)=>{e._isLeaving=!1,F(e,d),F(e,p),F(e,f),t&&t()},ne=e=>(t,n)=>{let i=e?te:v,o=()=>C(t,e,n);N(i,[t,o]),Me(()=>{F(t,e?c:a),P(t,e?u:s),Oe(i)||Pe(t,r,h,o)})};return w(t,{onBeforeEnter(e){N(_,[e]),P(e,a),P(e,o)},onBeforeAppear(e){N(x,[e]),P(e,c),P(e,l)},onEnter:ne(!1),onAppear:ne(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>T(e,t);P(e,d),e._enterCancelled?(P(e,f),Re(e)):(Re(e),P(e,f)),Me(()=>{e._isLeaving&&(F(e,d),P(e,p),Oe(ee)||Pe(e,r,g,n))}),N(ee,[e,n])},onEnterCancelled(e){C(e,!1,void 0,!0),N(y,[e])},onAppearCancelled(e){C(e,!0,void 0,!0),N(S,[e])},onLeaveCancelled(e){T(e),N(b,[e])}})}function Ae(e){if(e==null)return null;if(_(e))return[je(e.enter),je(e.leave)];{let t=je(e);return[t,t]}}function je(e){return u(e)}function P(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[M]||(e[M]=new Set)).add(t)}function F(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[M];n&&(n.delete(t),n.size||(e[M]=void 0))}function Me(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Ne=0;function Pe(e,t,n,r){let i=e._endId=++Ne,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Fe(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Fe(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${A}Delay`),a=r(`${A}Duration`),o=Ie(i,a),s=r(`${j}Delay`),c=r(`${j}Duration`),l=Ie(s,c),u=null,d=0,f=0;t===A?o>0&&(u=A,d=o,f=a.length):t===j?l>0&&(u=j,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?A:j:null,f=u?u===A?a.length:c.length:0);let p=u===A&&/\b(?:transform|all)(?:,|$)/.test(r(`${A}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Ie(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Le(t)+Le(e[n])))}function Le(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Re(e){return(e?e.ownerDocument:document).body.offsetHeight}function ze(e,t,n){let r=e[M];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var I=Symbol(`_vod`),Be=Symbol(`_vsh`),Ve={name:`show`,beforeMount(e,{value:t},{transition:n}){e[I]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):L(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),L(e,!0),r.enter(e)):r.leave(e,()=>{L(e,!1)}):L(e,t))},beforeUnmount(e,{value:t}){L(e,t)}};function L(e,t){e.style.display=t?e[I]:`none`,e[Be]=!t}var He=Symbol(``),Ue=/(?:^|;)\s*display\s*:/;function We(e,t,n){let r=e.style,i=y(n),a=!1;if(n&&!i){if(t){if(y(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??z(r,t,``)}else for(let e in t)n[e]??z(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?z(r,i,``):qe(e,i,!y(t)&&t?t[i]:void 0,o)||z(r,i,o)}}else if(i){if(t!==n){let e=r[He];e&&(n+=`;`+e),r.cssText=n,a=Ue.test(n)}}else t&&e.removeAttribute(`style`);I in e&&(i&&t===n||(e[I]=a?r.display:``),e[Be]&&(r.display=`none`))}var R=/\s*!important$/;function z(e,t,n){if(o(n))n.forEach(n=>z(e,t,n));else if(n??=``,t.startsWith(`--`))R.test(n)?e.setProperty(t,n.replace(R,``),`important`):e.setProperty(t,n);else{let r=Ke(e,t);R.test(n)?e.setProperty(f(r),n.replace(R,``),`important`):e[r]=n}}var Ge=[`Webkit`,`Moz`,`ms`],B={};function Ke(e,n){let r=B[n];if(r)return r;let i=T(n);if(i!==`filter`&&i in e)return B[n]=i;i=t(i);for(let t=0;t<Ge.length;t++){let r=Ge[t]+i;if(r in e)return B[n]=r}return n}function qe(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&y(r)&&n===r}var Je=`http://www.w3.org/1999/xlink`;function Ye(e,t,r,i,a,o=n(t)){i&&t.startsWith(`xlink:`)?r==null?e.removeAttributeNS(Je,t.slice(6,t.length)):e.setAttributeNS(Je,t,r):r==null||o&&!m(r)?e.removeAttribute(t):e.setAttribute(t,o?``:s(r)?String(r):r)}function Xe(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?be(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);r===i&&`_value`in e||(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=m(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function V(e,t,n,r){e.addEventListener(t,n,r)}function Ze(e,t,n,r){e.removeEventListener(t,n,r)}var Qe=Symbol(`_vei`);function $e(e,t,n,r,i=null){let a=e[Qe]||(e[Qe]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=nt(t);r?V(e,n,a[t]=ot(r,i),s):o&&(Ze(e,n,o,s),a[t]=void 0)}}var et=/(Once|Passive|Capture)$/,tt=/^on:?(?:Once|Passive|Capture)$/;function nt(e){let t,n;for(;(n=e.match(et))&&!tt.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):f(e.slice(2)),t]}var rt=0,it=Promise.resolve(),at=()=>rt||=(it.then(()=>rt=0),Date.now());function ot(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(o(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&x(e,t,5,a)}}else x(r,t,5,[e])};return n.value=e,n.attached=at(),n}var st=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ct=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?ze(e,r,o):t===`style`?We(e,n,r):oe(t)?d(t)||$e(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):lt(e,t,r,o))?(Xe(e,t,r),e.tagName.includes(`-`)||t!==`value`&&t!==`checked`&&t!==`selected`||Ye(e,t,r,o,a,t!==`value`)):e._isVueCE&&(ut(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!y(r)))?Xe(e,T(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Ye(e,t,r,o))};function lt(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&st(t)&&l(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return st(t)&&y(n)?!1:t in e}function ut(e,t){let n=e._def.props;if(!n)return!1;let r=T(t);return Array.isArray(n)?n.some(e=>T(e)===r):Object.keys(n).some(e=>T(e)===r)}var dt=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return o(t)?e=>g(t,e):t};function ft(e){e.target.composing=!0}function pt(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var H=Symbol(`_assign`),U=Symbol(`_initialValue`);function mt(e,t,n){return t&&(e=e.trim()),n&&(e=v(e)),e}var ht={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[U]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[U]=e.defaultValue.replace(/\r\n?/g,`
|
|
2
|
-
`))),e[H]=dt(i);let a=r||i.props&&i.props.type===`number`;V(e,t?`change`:`input`,t=>{t.target.composing||e[H](mt(e.value,n,a))}),(n||a)&&V(e,`change`,()=>{e.value=mt(e.value,n,a)}),t||(V(e,`compositionstart`,ft),V(e,`compositionend`,pt),V(e,`change`,pt))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[U];delete e[U],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[H](mt(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[H]=dt(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?v(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},gt=[`ctrl`,`shift`,`alt`,`meta`],_t={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>gt.some(n=>e[`${n}Key`]&&!t.includes(n))},vt=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=_t[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},yt=w({patchProp:ct},we),W,bt=!1;function xt(){return W||=i(yt)}function St(){return W=bt?W:a(yt),bt=!0,W}var Ct=((...e)=>{let t=xt().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Et(e);if(!r)return;let i=t._component;l(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Tt(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),wt=((...e)=>{let t=St().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Et(e);if(t)return n(t,!0,Tt(t))},t});function Tt(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Et(e){return y(e)?document.querySelector(e):e}var Dt=e=>e.startsWith(`/`);function Ot(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function kt(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Ot(e.default)}var At=Object.assign;function jt(e,t){let n={};for(let r in t){let i=t[r];n[r]=G(i)?i.map(e):e(i)}return n}var Mt=()=>{},G=Array.isArray;function Nt(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Pt=Symbol(``),Ft=function(e){return e[e.aborted=4]=`aborted`,e[e.cancelled=8]=`cancelled`,e[e.duplicated=16]=`duplicated`,e}({});function K(e,t){return At(Error(),{type:e,[Pt]:!0},t)}function It(e,t){return e instanceof Error&&Pt in e&&(t==null||!!(e.type&t))}var Lt=Symbol(``),Rt=Symbol(``),zt=Symbol(``),Bt=Symbol(``),Vt=Symbol(``),Ht=Symbol(``),Ut=typeof document<`u`,Wt=/#/g,Gt=/&/g,Kt=/\//g,qt=/=/g,Jt=/\?/g,Yt=/\+/g,Xt=/%5B/g,Zt=/%5D/g,Qt=/%5E/g,$t=/%60/g,en=/%7B/g,tn=/%7C/g,nn=/%7D/g,rn=/%20/g;function q(e){return e==null?``:encodeURI(``+e).replace(tn,`|`).replace(Xt,`[`).replace(Zt,`]`)}function an(e){return q(e).replace(en,`{`).replace(nn,`}`).replace(Qt,`^`)}function J(e){return q(e).replace(Yt,`%2B`).replace(rn,`+`).replace(Wt,`%23`).replace(Gt,`%26`).replace($t,"`").replace(en,`{`).replace(nn,`}`).replace(Qt,`^`)}function on(e){return J(e).replace(qt,`%3D`)}function sn(e){return q(e).replace(Wt,`%23`).replace(Jt,`%3F`)}function cn(e){return sn(e).replace(Kt,`%2F`)}function Y(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var ln=/\/$/,un=e=>e.replace(ln,``);function dn(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=vn(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Y(o)}}function fn(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function pn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function mn(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&X(t.matched[r],n.matched[i])&&hn(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function X(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!gn(e[n],t[n]))return!1;return!0}function gn(e,t){return G(e)?_n(e,t):G(t)?_n(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function _n(e,t){return G(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function vn(e,t){if(Dt(e))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var yn={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function bn(e){if(!e){if(Ut){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),un(e)}var xn=/^[^#]+#/;function Sn(e,t){return e.replace(xn,`#`)+t}function Cn(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var wn=()=>history.scrollRestoration===`manual`?{left:window.scrollX,top:window.scrollY}:null;function Tn(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Cn(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function En(e,t){return(history.state?history.state.position-t:-1)+e}var Z=new Map;function Dn(e){Z.set(e,wn())}function On(e){let t=Z.get(e);return Z.delete(e),t}function kn(e,t=!1){for(let n of Z.keys()){let r=parseInt(n,10);(r===e||!t&&r>e)&&Z.delete(n)}}function An(e){return typeof e==`string`||e&&typeof e==`object`}function jn(e){return typeof e==`string`||typeof e==`symbol`}function Mn(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Yt,` `),i=r.indexOf(`=`),a=Y(i<0?r:r.slice(0,i)),o=i<0?null:Y(r.slice(i+1));if(a in t){let e=t[a];G(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Nn(e){let t=``;for(let n in e){let r=e[n];n=on(n),r==null?r!==void 0&&(t+=(t.length?`&`:``)+n):(G(r)?r.map(e=>e&&J(e)):[r&&J(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Pn(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=G(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Fn(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function In(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(K(4,{from:n,to:t})):e instanceof Error?c(e):An(e)?c(K(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Ln(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(t===`beforeRouteEnter`||o.instances[e]){if(Ot(s)){let c=(s.__vccOpts||s)[t];c&&a.push(In(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=kt(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&In(c,n,r,o,e,i)()}))}}}return a}function Rn(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>X(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>X(e,s))||i.push(s))}return[n,r,i]}var zn=(e,t)=>({default:()=>e?c(De,e===!0?{}:e,t):t.default?.()}),Bn=/(:\w+)\([^)]+\)/g,Vn=/(:\w+)[?+*]/g,Hn=/:\w+/g;function Un(e){let t=e?.meta.key??e.path.replace(Bn,`$1`).replace(Vn,`$1`).replace(Hn,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function Wn(e,t){return e===t||t===yn?!1:Un(e)!==Un(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default)}function Gn(e){return Array.isArray(e)?e:[e]}function Kn(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Gn(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Gn(n.onBeforeLeave):void 0});return de(...t)}function qn(e){e[`~transitionPromise`]||=new Promise(t=>{e[`~transitionFinish`]=t})}function Jn(e){e[`~transitionFinish`]?.(),delete e[`~transitionFinish`],delete e[`~transitionPromise`]}var Yn={scrollBehavior(e,t,n){let r=b(),i=D(),a=i.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?n??{left:0,top:0}:e.hash?{el:e.hash,top:Xn(e.hash),behavior:a}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===yn?Zn(e,t,n,a):new Promise(o=>{let s=()=>{requestAnimationFrame(()=>{i.currentRoute.value.fullPath===e.fullPath?o(Zn(e,t,n,a)):o(!1)})};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(s):s()})})}};function Xn(e){let t=document.getElementById(e.slice(1));return t?(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0):0}function Zn(e,t,n,r){return n||(e.hash?{el:e.hash,top:Xn(e.hash),behavior:Wn(e,t)?r:`instant`}:{left:0,top:0})}var Qn={hashMode:!1,scrollBehaviorType:`auto`,sensitive:!1,...Yn},Q=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),$n=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),er=e=>{let t=b();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Q(()=>e())}):Q(()=>e())},tr=/2g/;function nr(){let e=navigator.connection;return!e||!e.saveData&&!tr.test(e.effectiveType||``)}function rr(e){let{pathname:t,search:n}=new URL(e,window.location.href);return t+n}function ir(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}function ar(e){return Promise.all(e.map(e=>{let t=e.components?.default;return typeof t==`function`?Promise.resolve(t()).catch(()=>{}):void 0}))}function or(e,t){let{fullPath:n,path:r,matched:i}=t.resolve(e);if(!i.length)return;let a=C()?._prefetch;a?a.schedule({key:`route:${r}`,priority:`route`,scope:`navigation`,group:rr(n),run:e=>e.aborted?void 0:ar(i)}):ar(i)}var sr=(...e)=>e.find(e=>e!==void 0);function cr(t){let n=t.componentName||`NuxtLink`;function i(e){return typeof e==`string`&&e.startsWith(`#`)}function a(e,n,r){let i=r??t.trailingSlash;if(!e||i!==`append`&&i!==`remove`)return e;if(typeof e==`string`)return $(e,i);let a=`path`in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:$(a,i)}}function o(e){let n=D(),r=re(),o=n.options?.history?.createHref??(e=>ce(r.app.baseURL,e)),s=E(()=>!!h(e.target)&&h(e.target)!==`_self`),c=E(()=>{let t=h(e.to)||h(e.href)||``;return typeof t==`string`&&me(t)}),l=E(()=>{if(h(e.external))return!0;let t=h(e.to)||h(e.href)||``;return typeof t==`object`?!1:t===``||c.value}),u=E(()=>{let t=h(e.to)||h(e.href)||``;return l.value?t:a(t,n.resolve,h(e.trailingSlash))}),d=E(()=>{let r=h(e.trailingSlash)??t.trailingSlash;if(!u.value||c.value||i(u.value)){let e=u.value;return typeof e==`string`?O(e):e}if(l.value){let e=typeof u.value==`object`&&`path`in u.value?ge(u.value):u.value,t=typeof e==`object`?n.resolve(e).href:e,i=typeof t==`string`?O(t):t;return i===null?null:$(i,r)}return typeof u.value==`object`?n.resolve(u.value)?.href??null:$(fe(u.value)?o(u.value):n.resolve(u.value).href,r)});return{to:u,hasTarget:s,isAbsoluteUrl:c,isExternal:l,href:d,async navigate(t){d.value!==null&&await pe(d.value,{replace:h(e.replace),external:l.value||s.value})}}}function s(t){let n=D(),r=o(t),i=e(`RouterLink`),a=i&&typeof i!=`string`?i.useLink:void 0,s=r.isExternal.value?void 0:a?.({...t,to:r.to,viewTransition:h(t.viewTransition)});return{...r,isActive:s?.isActive??E(()=>r.to.value===n.currentRoute.value.path),isExactActive:s?.isExactActive??E(()=>r.to.value===n.currentRoute.value.path),route:s?.route??E(()=>n.resolve(r.to.value))}}return p({name:n,props:{to:{type:[String,Object],required:!1},href:{type:[String,Object],required:!1},target:{type:String,required:!1},rel:{type:String,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},prefetchedClass:{type:String,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,required:!1}},useLink:s,setup(n,{slots:a}){let s=D(),l=e(`RouterLink`),{to:u,href:d,navigate:f,isExternal:p,hasTarget:m,isAbsoluteUrl:h}=o(n),g=r(!1),_=te(null),v=e=>{_.value=n.custom?e?.$el?.nextElementSibling:e?.$el};function y(e){return typeof n.prefetchOn==`string`?n.prefetchOn===e:n.prefetchOn?.[e]??t.prefetchOn?.[e]}function x(){return!!((n.prefetch??t.prefetch)!==!1&&n.noPrefetch!==!0&&n.target!==`_blank`&&nr())}function S(e){return!!(!g.value&&y(e)&&x())}function C(){let e=typeof u.value==`string`?u.value:p.value?ge(u.value):s.resolve(u.value).fullPath;return p.value?new URL(e,window.location.href).href:e}function w(){g.value?p.value||b()._prefetch?.promote(rr(C())):y(`interaction`)&&T()}async function T(e=b()){if(g.value||d.value===null)return;g.value=!0;let t=C();await Promise.all([e.hooks.callHook(`link:prefetch`,t)?.catch(()=>{}),!p.value&&!m.value&&or(u.value,s)])}if(!n.custom&&S(`visibility`)){let e=b(),t,n=null;ie(()=>{let r=ur();er(()=>{t=Q(()=>{_?.value?.tagName&&(n=r.observe(_.value,async()=>{n?.(),n=null,await T(e)}))})})}),ee(()=>{t&&$n(t),n?.(),n=null})}return()=>{let e=n.target||null,r=sr(n.noRel?``:n.rel,t.externalRelAttribute,h.value||m.value?`noopener noreferrer`:``)||null,o=t=>({navigate:f,get route(){if(!d.value)return;let e=new URL(d.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return ue(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:d.value}},rel:r,target:e,isExternal:p.value||m.value,isActive:!1,isExactActive:!1,...t,href:typeof t?.href==`string`?O(t.href):d.value,prefetch:T,prefetched:g.value,shouldPrefetch:S});if(!p.value&&!m.value&&!i(u.value)){let e={ref:v,to:u.value,activeClass:n.activeClass||t.activeClass,exactActiveClass:n.exactActiveClass||t.exactActiveClass,replace:n.replace,ariaCurrentValue:n.ariaCurrentValue,custom:n.custom};return n.custom||((y(`interaction`)||g.value)&&x()&&(e.onPointerenter=w,e.onFocus=w,e.onPointerdown=w),g.value&&(e.class=n.prefetchedClass||t.prefetchedClass),e.rel=n.rel||void 0),c(l,e,n.custom&&a.default?{default:e=>a.default(o(e))}:a.default)}return n.custom?a.default?a.default(o()):null:c(`a`,{ref:_,href:d.value||null,rel:r,target:e,onClick:async e=>{if(!(p.value||m.value)){e.preventDefault();try{let e=_e(d.value??``);return await(n.replace?s.replace(e):s.push(e))}finally{if(i(u.value)){let e=u.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},a.default?.())}}})}var lr=cr(ae);function $(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?he:le;return se(e)&&!e.startsWith(`http`)?e:n(e,!0)}function ur(){let e=b();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}export{Vt as $,X as A,Fn as B,En as C,jn as D,Ut as E,Dn as F,Dt as G,jt as H,Tn as I,Lt as J,G as K,Nn as L,Pn as M,Mn as N,mn as O,dn as P,zt as Q,fn as R,On as S,kn as T,At as U,Ft as V,K as W,Mt as X,Nt as Y,Bt as Z,Y as _,nr as a,ht as at,Rn as b,Q as c,Kn as d,Ht as et,qn as f,Sn as g,wn as h,or as i,wt as it,bn as j,hn as k,Qn as l,yn as m,ur as n,De as nt,rr as o,Ve as ot,zn as p,It as q,ir as r,Ct as rt,er as s,vt as st,lr as t,Rt as tt,Jn as u,an as v,In as w,Ln as x,cn as y,pn as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function e(e=21){let t=``,n=e;for(;n--;)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[Math.random()*64|0];return t}export{e as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{N as e,T as t,Y as n}from"./XWR6704C.js";import{c as r}from"./B3GmGsvS.js";var i={class:`p10 flex flex-col items-center justify-center`},a=e({__name:`index`,setup(e){return r(`/home`),(e,r)=>(n(),t(`div`,i))}});export{a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./Cya-tyvy.js";var t=Symbol.for(`devframe:browser-agent-registry`),{tools:n,listeners:r}=globalThis[t]??={tools:new Map,listeners:new Set};function i(){return[...n.values()]}function a(e){return r.add(e),()=>r.delete(e)}var o=`devframe:client-id`,s;function c(t=globalThis.window){try{let n=t?.sessionStorage;if(n){let t=n.getItem(o);return t||(t=e(),n.setItem(o,t)),t}}catch{}return s??=e(),s}function l(){let e=typeof document>`u`?void 0:document;return{url:e?.location?.href??``,title:e?.title??``,visible:!e||e.visibilityState===`visible`,focused:e?.hasFocus()??!0}}function u(e){e.client.register({name:`devframe:agent:invoke-client-tool`,type:`action`,jsonSerializable:!0,handler:async(e,t)=>{let n=i().find(t=>t.id===e);if(!n)throw Error(`[devframe/agent] browser tool "${e}" not found`);return await n.invoke(t)}});let t=!1,n=!1,r=0,o=()=>{t||n||(t=!0,queueMicrotask(async()=>{if(t=!1,n)return;let a=i().map(({invoke:e,...t})=>t);(a.length!==0||r!==0)&&(r=a.length,await e.callOptional(`devframe:agent:sync-client-tools`,c(),a,l()).catch(()=>{}))}))},s=a(o),u=e.events.on(`connection:status`,e=>{e===`connected`&&o()}),d=typeof window>`u`?void 0:window;return d?.addEventListener(`focus`,o),d?.addEventListener(`blur`,o),d?.document.addEventListener(`visibilitychange`,o),o(),()=>{n=!0,s(),u(),d?.removeEventListener(`focus`,o),d?.removeEventListener(`blur`,o),d?.document.removeEventListener(`visibilitychange`,o)}}export{u as setupBrowserAgentRpcBridge};
|