stylelint-config-inspector 2.0.0 → 2.0.1
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/README.md +8 -8
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/{DJcdwkbC.js → D5nuuTIN.js} +1 -1
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/3d019b3b-611d-496b-a62f-feea85871ee0.json +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +12 -11
- package/dist/public/_nuxt/builds/meta/983f1582-17c6-4f54-b47e-9777e04df821.json +0 -1
package/README.md
CHANGED
|
@@ -6,16 +6,16 @@ A visual tool for inspecting and understanding your Stylelint configuration.
|
|
|
6
6
|
|
|
7
7
|
## Screenshot
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
>
|
|
9
|
+
<p align="center">
|
|
10
|
+
<img src="https://raw.githubusercontent.com/Nick2bad4u/Stylelint-Config-Inspector/refs/heads/main/docs/assets/stylelint-inspector-screenshot.svg" alt="Stylelint Config Inspector">
|
|
11
|
+
</p>
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
15
|
From a project that contains a Stylelint config (`stylelint.config.*` or `.stylelintrc*`), run:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npx
|
|
18
|
+
npx stylelint-config-inspector@latest
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Then open http://localhost:8888/.
|
|
@@ -25,7 +25,7 @@ Then open http://localhost:8888/.
|
|
|
25
25
|
Use a target file so Stylelint resolves context-sensitive options (`overrides`, `customSyntax`, etc.):
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npx
|
|
28
|
+
npx stylelint-config-inspector --file src/styles/app.css
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
If you do not provide `--file` or `--target`, the inspector resolves your config against a synthetic file named `stylelint-inspector-target.css` relative to the resolved base path.
|
|
@@ -37,7 +37,7 @@ If you do not provide `--file` or `--target`, the inspector resolves your config
|
|
|
37
37
|
To generate a static inspector snapshot:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
npx
|
|
40
|
+
npx stylelint-config-inspector build
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
This emits a single-page app in `.stylelint-config-inspector`.
|
|
@@ -47,7 +47,7 @@ This emits a single-page app in `.stylelint-config-inspector`.
|
|
|
47
47
|
When inspecting a package inside a monorepo, set the base path for file glob matching and target resolution:
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
npx
|
|
50
|
+
npx stylelint-config-inspector --config stylelint.config.mjs --basePath packages/web --file src/app.css
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
Environment aliases are also supported:
|
|
@@ -55,7 +55,7 @@ Environment aliases are also supported:
|
|
|
55
55
|
- `STYLELINT_BASE_PATH` (or legacy `ESLINT_BASE_PATH`)
|
|
56
56
|
- `STYLELINT_TARGET` (or legacy `ESLINT_TARGET`)
|
|
57
57
|
|
|
58
|
-
Run `npx
|
|
58
|
+
Run `npx stylelint-config-inspector --help` for all options.
|
|
59
59
|
|
|
60
60
|
## License
|
|
61
61
|
|
package/dist/nitro.json
CHANGED
package/dist/public/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/_nuxt/D5nuuTIN.js"}}</script><title>Stylelint Config Inspector</title><link rel="stylesheet" href="/_nuxt/entry.BbIOcLZN.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D5nuuTIN.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/rX12-d6r.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/3_mkTJ2v.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D5CeIdpL.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D9VMXJyI.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DUtXDOXB.js"><script type="module" src="/_nuxt/D5nuuTIN.js" crossorigin></script><meta name="theme-color" content="#5B21B6"><meta name="apple-mobile-web-app-title" content="Stylelint Inspector"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><link rel="alternate icon" type="image/svg+xml" href="/stylelint/stylelint-icon-black.svg"><link rel="alternate icon" type="image/png" href="/stylelint/stylelint-icon-white-512.png"><link rel="apple-touch-icon" href="/stylelint/stylelint-icon-white-512.png"><script id="unhead:payload" type="application/json">{"title":"Stylelint Config Inspector"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"3d019b3b-611d-496b-a62f-feea85871ee0",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773720938382,false]</script></body></html>
|
package/dist/public/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/_nuxt/D5nuuTIN.js"}}</script><title>Stylelint Config Inspector</title><link rel="stylesheet" href="/_nuxt/entry.BbIOcLZN.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D5nuuTIN.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/rX12-d6r.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/3_mkTJ2v.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D5CeIdpL.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D9VMXJyI.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DUtXDOXB.js"><script type="module" src="/_nuxt/D5nuuTIN.js" crossorigin></script><meta name="theme-color" content="#5B21B6"><meta name="apple-mobile-web-app-title" content="Stylelint Inspector"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><link rel="alternate icon" type="image/svg+xml" href="/stylelint/stylelint-icon-black.svg"><link rel="alternate icon" type="image/png" href="/stylelint/stylelint-icon-white-512.png"><link rel="apple-touch-icon" href="/stylelint/stylelint-icon-white-512.png"><script id="unhead:payload" type="application/json">{"title":"Stylelint Config Inspector"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"3d019b3b-611d-496b-a62f-feea85871ee0",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773720938382,false]</script></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DDlp5JcD.js","./rX12-d6r.js","./3_mkTJ2v.js","./D5CeIdpL.js","./cxyxlHGV.js","./D9VMXJyI.js","./BgZd1qfO.js","./BiE9LVQS.js","./BDH0pOV6.js","./RuleList.BHVYWeDI.css","./C79VbMUr.js","./DUtXDOXB.js","./CMyQ_JSA.js","./BKBBWEz4.js","./DBzO6yCd.js","./DYop16xf.js","./C62pfWG4.js","./BFHLvPhn.js","./D_UhJN5P.js","./nBUflmkO.js","./error-404.8srCDDge.css","./BwdVnuqT.js","./error-500.BOFFatCP.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{C as e,S as t,T as n,a as r,d as i,i as a,o,p as s,s as c,t as l}from"./rX12-d6r.js";import{A as u,B as d,C as f,D as p,E as m,F as h,G as g,H as _,It as v,J as y,K as b,L as x,Lt as S,M as C,N as w,O as T,P as ee,Q as te,R as ne,Rt as re,S as E,U as ie,V as ae,W as D,X as O,Y as oe,Z as se,_ as ce,a as le,b as k,c as ue,ct as de,d as A,et as fe,f as pe,ft as me,g as he,h as ge,ht as _e,i as j,it as ve,j as ye,k as be,l as xe,lt as Se,n as Ce,nt as M,ot as we,pt as Te,q as Ee,r as N,rt as De,s as Oe,st as ke,t as Ae,tt as je,u as Me,ut as Ne,vt as Pe,x as P,y as F,yt as I,z as Fe,zt as L}from"./3_mkTJ2v.js";import{n as Ie,r as Le,s as Re,t as ze}from"./DUtXDOXB.js";import{c as Be,f as Ve,i as He,m as Ue,o as We,p as Ge,r as Ke,s as qe}from"./D5CeIdpL.js";import{a as Je,c as Ye,d as R,f as Xe,i as Ze,l as Qe,m as $e,n as et,o as tt,p as nt,r as rt,s as it,t as at,u as ot}from"./D9VMXJyI.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),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var st=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,ct=()=>st().app,lt=()=>ct().baseURL,ut=()=>ct().buildAssetsDir,dt=(...e)=>We(ft(),ut(),...e),ft=(...e)=>{let t=ct(),n=t.cdnURL||t.baseURL;return e.length?We(n,...e):n};globalThis.__buildAssetsURL=dt,globalThis.__publicAssetsURL=ft,globalThis.$fetch||(globalThis.$fetch=n.create({baseURL:lt()})),`global`in globalThis||(globalThis.global=globalThis);function pt(e){let t=ht(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let e=0;e<n.byteLength;e++)r.setUint8(e,t.charCodeAt(e));return n}var mt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;function ht(e){e.length%4==0&&(e=e.replace(/==?$/,``));let t=``,n=0,r=0;for(let i=0;i<e.length;i++)n<<=6,n|=mt.indexOf(e[i]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}function gt(e,t){return _t(JSON.parse(e),t)}function _t(e,t){if(typeof e==`number`)return a(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let n=e,r=Array(n.length),i=null;function a(e,o=!1){if(e===-1)return;if(e===-3)return NaN;if(e===-4)return 1/0;if(e===-5)return-1/0;if(e===-6)return-0;if(o||typeof e!=`number`)throw Error(`Invalid input`);if(e in r)return r[e];let s=n[e];if(!s||typeof s!=`object`)r[e]=s;else if(Array.isArray(s))if(typeof s[0]==`string`){let o=s[0],c=t&&Object.hasOwn(t,o)?t[o]:void 0;if(c){let t=s[1];if(typeof t!=`number`&&(t=n.push(s[1])-1),i??=new Set,i.has(t))throw Error(`Invalid circular reference`);return i.add(t),r[e]=c(a(t)),i.delete(t),r[e]}switch(o){case`Date`:r[e]=new Date(s[1]);break;case`Set`:let t=new Set;r[e]=t;for(let e=1;e<s.length;e+=1)t.add(a(s[e]));break;case`Map`:let i=new Map;r[e]=i;for(let e=1;e<s.length;e+=2)i.set(a(s[e]),a(s[e+1]));break;case`RegExp`:r[e]=new RegExp(s[1],s[2]);break;case`Object`:let c=Object(s[1]);if(Object.hasOwn(c,`__proto__`))throw Error("Cannot parse an object with a `__proto__` property");r[e]=c;break;case`BigInt`:r[e]=BigInt(s[1]);break;case`null`:let l=Object.create(null);r[e]=l;for(let e=1;e<s.length;e+=2){if(s[e]===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");l[s[e]]=a(s[e+1])}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{if(n[s[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=globalThis[o],i=new t(a(s[1]));r[e]=s[2]===void 0?i:i.subarray(s[2],s[3]);break}case`ArrayBuffer`:{let t=s[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);r[e]=pt(t);break}case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:{let t=o.slice(9);r[e]=Temporal[t].from(s[1]);break}case`URL`:r[e]=new URL(s[1]);break;case`URLSearchParams`:r[e]=new URLSearchParams(s[1]);break;default:throw Error(`Unknown type ${o}`)}}else if(s[0]===-7){let t=s[1];if(!Number.isInteger(t)||t<0)throw Error(`Invalid input`);let n=Array(t);r[e]=n;for(let e=2;e<s.length;e+=2){let r=s[e];if(!Number.isInteger(r)||r<0||r>=t)throw Error(`Invalid input`);n[r]=a(s[e+1])}}else{let t=Array(s.length);r[e]=t;for(let e=0;e<s.length;e+=1){let n=s[e];n!==-2&&(t[e]=a(n))}}else{let t={};r[e]=t;for(let e of Object.keys(s)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");let n=s[e];t[e]=a(n)}}return r[e]}return a(0)}var vt=new Set([`link`,`style`,`script`,`noscript`]),yt=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),bt=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),xt=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),St=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Ct=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),wt=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Tt=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Et=[`name`,`property`,`http-equiv`],Dt=new Set([`viewport`,`description`,`keywords`,`robots`]);function Ot(e){let t=e.split(`:`);return t.length?Tt.has(t[1]):!1}function kt(e){let{props:t,tag:n}=e;if(St.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of Et)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Dt.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(yt.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function At(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function jt(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>jt(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=jt(r[n],t,n);return e}return r}function Mt(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function Nt(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=bt.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=Mt(r,i);return}if(Ct.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function Pt(e,t){let n=Nt({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&vt.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)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function Ft(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=jt(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Pt(e,n))}),r.flat()}var It=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Lt={base:-10,title:10},Rt={critical:-8,high:-1,low:2},zt={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Bt=/@import/,Vt=e=>e===``||e===!0;function Ht(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Rt[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:zt;if(t.tag in Lt)n=Lt[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=zt.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);Vt(t.props.async)?n=i.script.async:t.props.src&&!Vt(t.props.defer)&&!Vt(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(Vt(t.props.defer)&&t.props.src&&!Vt(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&Bt.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Ut(e,t){let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Wt(e={}){let t=pe();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>Ut(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:Ft(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=Ht(o,e),e._p=(i._i<<10)+t,e._d=kt(e),e._d||(e._h=At(e)),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(It).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(wt.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&Ot(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(It)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;xt.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=kt(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>Ut(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}var Gt=(e,t)=>de(t)?Pe(t):t,Kt=`usehead`;function qt(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Kt,e)}}.install}function Jt(){if(ee()){let e=h(Kt);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function Yt(e,t={}){let n=t.head||Jt();return n.ssr?n.push(e||{},t):Xt(n,e,t)}function Xt(e,t,n={}){let r=me(!1),i;return je(()=>{let a=r.value?{}:jt(t,Gt);i?i.patch(a):i=e.push(a,n)}),ye()&&(d(()=>{i.dispose()}),ae(()=>{r.value=!0}),Fe(()=>{r.value=!1})),i}var Zt=(()=>{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`)&&i.unshift({data:e});let a=r.split(`/`),o=a.length;return(o===2||o===1)&&i.unshift({data:t,params:{0:a[1]}}),i}})(),Qt=e=>$e({},...Zt(``,e).map(e=>e.data).reverse()),$t=`modulepreload`,en=function(e,t){return new URL(e,t).href},tn={},nn=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=en(t,n),t in tn)return;tn[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:$t,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},rn=Qt,an;function on(){return an=$fetch(dt(`builds/meta/${le().app.buildId}.json`),{responseType:`json`}),an.catch(e=>{console.error(`[nuxt] Error fetching app manifest.`,e)}),an}function sn(){return an||on()}function cn(e){let t=typeof e==`string`?e:e.path;try{return rn(t)}catch(e){return console.error(`[nuxt] Error matching route rules.`,e),{}}}async function ln(e,t={}){return await hn(e)&&await fn(await dn(e,t))||null}var un=`_payload.json`;async function dn(e,t={}){let n=new URL(e,`http://localhost`);if(n.host!==`localhost`||Ke(n.pathname,{acceptRelative:!0}))throw Error(`Payload URL must not include hostname: `+e);let r=le(),i=t.hash||(t.fresh?Date.now():r.app.buildId),a=r.app.cdnURL;return qe(a&&await gn(e)?a:r.app.baseURL,n.pathname,un+(i?`?${i}`:``))}async function fn(e){let t=fetch(e,{cache:`force-cache`}).then(e=>e.text().then(yn));try{return await t}catch(t){console.warn(`[nuxt] Cannot load payload `,e,t)}return null}function pn(e){if(e.redirect)return!1;if(e.prerender)return!0}async function mn(e){return e=e===`/`?e:e.replace(/\/$/,``),(await sn()).prerendered.includes(e)}async function hn(e=ot().path){let t=cn({path:e});if(t.ssr===!1)return!1;let n=pn(t);return n===void 0?t.payload?!0:await mn(e):n}async function gn(e=ot().path){let t=pn(cn({path:e}));return t===void 0?await mn(e):t}var _n=null;async function vn(){if(_n)return _n;let e=document.getElementById(`__NUXT_DATA__`);if(!e)return{};let t=await yn(e.textContent||``),n=e.dataset.src?await fn(e.dataset.src):void 0;return _n={...t,...n,...window.__NUXT__},_n.config?.public&&(_n.config.public=Ne(_n.config.public)),_n}async function yn(e){return await gt(e,j()._payloadRevivers)}function bn(e,t){j()._payloadRevivers[e]=t}function xn(e){try{return JSON.parse(e)}catch{return e}}var Sn=[[`NuxtError`,e=>et(e)],[`EmptyShallowRef`,e=>_e(e===`_`?void 0:e===`0n`?BigInt(0):xn(e))],[`EmptyRef`,e=>me(e===`_`?void 0:e===`0n`?BigInt(0):xn(e))],[`ShallowRef`,e=>_e(e)],[`ShallowReactive`,e=>Te(e)],[`Ref`,e=>me(e)],[`Reactive`,e=>Ne(e)]],Cn=N({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of Sn)bn(e,t);Object.assign(e.payload,([t,n]=A(()=>e.runWithContext(vn)),t=await t,n(),t)),delete window.__NUXT__}},1);async function wn(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&Ot(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!bt.has(t))continue;let n=Nt({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=kt(n)||At(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):bt.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function Tn(e={}){let t=e.domOptions?.render||wn;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return Wt({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function En(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}function Dn(e={}){let t=Tn({domOptions:{render:En(()=>wn(t),e=>setTimeout(e,0))},...e});return t.install=qt(t),t}var On={disableDefaults:!0},kn=N({name:`nuxt:head`,enforce:`pre`,setup(e){let t=Dn(On);e.vueApp.use(t);{let n=!0,r=async()=>{n=!1,await wn(t)};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)}}}),An=typeof document<`u`;function jn(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Mn(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&jn(e.default)}var z=Object.assign;function Nn(e,t){let n={};for(let r in t){let i=t[r];n[r]=B(i)?i.map(e):e(i)}return n}var Pn=()=>{},B=Array.isArray;function Fn(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var V=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),In=Symbol(``);V.MATCHER_NOT_FOUND,V.NAVIGATION_GUARD_REDIRECT,V.NAVIGATION_ABORTED,V.NAVIGATION_CANCELLED,V.NAVIGATION_DUPLICATED;function Ln(e,t){return z(Error(),{type:e,[In]:!0},t)}function Rn(e,t){return e instanceof Error&&In in e&&(t==null||!!(e.type&t))}var zn=Symbol(``),Bn=Symbol(``),Vn=Symbol(``),Hn=Symbol(``),Un=Symbol(``),Wn=/#/g,Gn=/&/g,Kn=/\//g,qn=/=/g,Jn=/\?/g,Yn=/\+/g,Xn=/%5B/g,Zn=/%5D/g,Qn=/%5E/g,$n=/%60/g,er=/%7B/g,tr=/%7C/g,nr=/%7D/g,rr=/%20/g;function ir(e){return e==null?``:encodeURI(``+e).replace(tr,`|`).replace(Xn,`[`).replace(Zn,`]`)}function ar(e){return ir(e).replace(er,`{`).replace(nr,`}`).replace(Qn,`^`)}function or(e){return ir(e).replace(Yn,`%2B`).replace(rr,`+`).replace(Wn,`%23`).replace(Gn,`%26`).replace($n,"`").replace(er,`{`).replace(nr,`}`).replace(Qn,`^`)}function sr(e){return or(e).replace(qn,`%3D`)}function cr(e){return ir(e).replace(Wn,`%23`).replace(Jn,`%3F`)}function lr(e){return cr(e).replace(Kn,`%2F`)}function ur(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var dr=/\/$/,fr=e=>e.replace(dr,``);function pr(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=xr(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:ur(o)}}function mr(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function hr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function gr(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&_r(t.matched[r],n.matched[i])&&vr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _r(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!yr(e[n],t[n]))return!1;return!0}function yr(e,t){return B(e)?br(e,t):B(t)?br(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function br(e,t){return B(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function xr(e,t){if(e.startsWith(`/`))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 H={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Sr=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Cr=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function wr(e){if(!e)if(An){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),fr(e)}var Tr=/^[^#]+#/;function Er(e,t){return e.replace(Tr,`#`)+t}function Dr(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 Or=()=>({left:window.scrollX,top:window.scrollY});function kr(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=Dr(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 Ar(e,t){return(history.state?history.state.position-t:-1)+e}var jr=new Map;function Mr(e,t){jr.set(e,t)}function Nr(e){let t=jr.get(e);return jr.delete(e),t}function Pr(e){return typeof e==`string`||e&&typeof e==`object`}function Fr(e){return typeof e==`string`||typeof e==`symbol`}function Ir(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(Yn,` `),i=r.indexOf(`=`),a=ur(i<0?r:r.slice(0,i)),o=i<0?null:ur(r.slice(i+1));if(a in t){let e=t[a];B(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Lr(e){let t=``;for(let n in e){let r=e[n];if(n=sr(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(B(r)?r.map(e=>e&&or(e)):[r&&or(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Rr(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=B(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function zr(){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 Br(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(Ln(V.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Pr(e)?c(Ln(V.NAVIGATION_GUARD_REDIRECT,{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 Vr(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(jn(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Br(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=Mn(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Br(c,n,r,o,e,i)()}))}}return a}function Hr(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=>_r(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>_r(e,s))||i.push(s))}return[n,r,i]}var Ur=()=>location.protocol+`//`+location.host;function Wr(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),hr(n,``)}return hr(n,e)+r+i}function Gr(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Wr(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:Sr.pop,direction:u?u>0?Cr.forward:Cr.back:Cr.unknown})})};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(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(z({},e.state,{scroll:Or()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Kr(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Or():null}}function qr(e){let{history:t,location:n}=window,r={value:Wr(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:Ur()+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){a(e,z({},t.state,Kr(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=z({},i.value,t.state,{forward:e,scroll:Or()});a(o.current,o,!0),a(e,z({},Kr(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Jr(e){e=wr(e);let t=qr(e),n=Gr(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=z({location:``,base:e,go:r,createHref:Er.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 Yr=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),U=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(U||{}),Xr={type:Yr.Static,value:``},Zr=/[a-zA-Z0-9_]/;function Qr(e){if(!e)return[[]];if(e===`/`)return[[Xr]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=U.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===U.Static?a.push({type:Yr.Static,value:l}):n===U.Param||n===U.ParamRegExp||n===U.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Yr.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==U.ParamRegExp){r=n,n=U.EscapeNext;continue}switch(n){case U.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=U.Param):f();break;case U.EscapeNext:f(),n=r;break;case U.Param:c===`(`?n=U.ParamRegExp:Zr.test(c)?f():(d(),n=U.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case U.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=U.ParamRegExpEnd:u+=c;break;case U.ParamRegExpEnd:d(),n=U.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===U.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var $r=`[^/]+?`,ei={sensitive:!1,strict:!1,start:!0,end:!0},W=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}(W||{}),ti=/[.+*?^${}()[\]/\\]/g;function ni(e,t){let n=z({},ei,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[W.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=W.Segment+(n.sensitive?W.BonusCaseSensitive:0);if(o.type===Yr.Static)r||(i+=`/`),i+=o.value.replace(ti,`\\$&`),s+=W.Static;else if(o.type===Yr.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||$r;if(u!==$r){s+=W.BonusCustomRegExp;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+=W.Dynamic,c&&(s+=W.BonusOptional),n&&(s+=W.BonusRepeatable),u===`.*`&&(s+=W.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=W.BonusStrict}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===Yr.Static)n+=e.value;else if(e.type===Yr.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(B(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=B(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 ri(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]===W.Static+W.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===W.Static+W.Segment?1:-1:0}function ii(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=ri(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ai(r))return 1;if(ai(i))return-1}return i.length-r.length}function ai(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var oi={strict:!1,end:!0,sensitive:!1};function si(e,t,n){let r=z(ni(Qr(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ci(e,t){let n=[],r=new Map;t=Fn(oi,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=ui(e);s.aliasOf=r&&r.record;let l=Fn(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(ui(z({},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&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=si(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!fi(d)&&o(e.name)),gi(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)}:Pn}function o(e){if(Fr(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=mi(e,n);n.splice(t,0,e),e.record.name&&!fi(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 Ln(V.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=z(li(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&li(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);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Ln(V.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=z({},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:pi(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 li(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function ui(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:di(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 di(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 fi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pi(e){return e.reduce((e,t)=>z(e,t.meta),{})}function mi(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;ii(e,t[i])<0?r=i:n=i+1}let i=hi(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function hi(e){let t=e;for(;t=t.parent;)if(gi(t)&&ii(e,t)===0)return t}function gi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _i(e){let t=h(Vn),n=h(Hn),r=F(()=>{let n=I(e.to);return t.resolve(n)}),i=F(()=>{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(_r.bind(null,i));if(o>-1)return o;let s=Si(e[t-2]);return t>1&&Si(i)===s&&a[a.length-1].path!==s?a.findIndex(_r.bind(null,e[t-2])):o}),a=F(()=>i.value>-1&&xi(n.params,r.value.params)),o=F(()=>i.value>-1&&i.value===n.matched.length-1&&vr(n.params,r.value.params));function s(n={}){if(bi(n)){let n=t[I(e.replace)?`replace`:`push`](I(e.to)).catch(Pn);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:F(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function vi(e){return e.length===1?e[0]:e}var yi=u({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:_i,setup(e,{slots:t}){let n=Ne(_i(e)),{options:r}=h(Vn),i=F(()=>({[Ci(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Ci(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&vi(t.default(n));return e.custom?r:w(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function bi(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 xi(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!B(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Si(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Ci=(e,t,n)=>e??t??n,wi=u({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=h(Un),i=F(()=>e.route||r.value),a=h(Bn,0),o=F(()=>{let e=I(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=F(()=>i.value.matched[o.value]);b(Bn,F(()=>o.value+1)),b(zn,s),b(Un,i);let c=me();return fe(()=>[c.value,s.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||!_r(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Ti(n.default,{Component:l,route:r});let u=o.props[a],d=w(l,z({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Ti(n.default,{Component:d,route:r})||d}}});function Ti(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Ei=wi;function Di(e){let t=ci(e.routes,e),n=e.parseQuery||Ir,r=e.stringifyQuery||Lr,i=e.history,a=zr(),o=zr(),s=zr(),c=_e(H),l=H;An&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=Nn.bind(null,e=>``+e),d=Nn.bind(null,lr),f=Nn.bind(null,ur);function p(e,n){let r,i;return Fr(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=z({},a||c.value),typeof e==`string`){let r=pr(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return z(r,o,{params:f(o.params),hash:ur(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=z({},e,{path:pr(n,e.path,a.path).path});else{let t=z({},e.params);for(let e in t)t[e]??delete t[e];o=z({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=mr(r,z({},e,{hash:ar(l),path:s.path})),m=i.createHref(p);return z({fullPath:p,hash:l,query:r===Lr?Rr(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?pr(n,e,c.value.path):z({},e)}function y(e,t){if(l!==e)return Ln(V.NAVIGATION_CANCELLED,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(z(v(e),{replace:!0}))}function S(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=v(i):{path:i},i.params={}),z({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(z(v(u),{state:typeof u==`object`?z({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&gr(r,i,n)&&(f=Ln(V.NAVIGATION_DUPLICATED,{to:d,from:i}),le(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>Rn(e)?Rn(e,V.NAVIGATION_GUARD_REDIRECT)?e:ce(e):oe(e,d,i)).then(e=>{if(e){if(Rn(e,V.NAVIGATION_GUARD_REDIRECT))return C(z({replace:s},v(e.to),{state:typeof e.to==`object`?z({},a,e.to.state):a,force:o}),t||d)}else e=re(d,i,!0,s,a);return te(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=de.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=Hr(e,t);n=Vr(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Br(r,e,t))});let c=w.bind(null,e,t);return n.push(c),fe(n).then(()=>{n=[];for(let r of a.list())n.push(Br(r,e,t));return n.push(c),fe(n)}).then(()=>{n=Vr(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Br(r,e,t))});return n.push(c),fe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(B(r.beforeEnter))for(let i of r.beforeEnter)n.push(Br(i,e,t));else n.push(Br(r.beforeEnter,e,t));return n.push(c),fe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Vr(s,`beforeRouteEnter`,e,t,T),n.push(c),fe(n))).then(()=>{n=[];for(let r of o.list())n.push(Br(r,e,t));return n.push(c),fe(n)}).catch(e=>Rn(e,V.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function te(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function re(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===H,l=An?history.state:{};n&&(r||s?i.replace(e.fullPath,z({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,le(e,t,n,s),ce()}let E;function ie(){E||=i.listen((e,t,n)=>{if(!A.listening)return;let r=_(e),a=S(r,A.currentRoute.value);if(a){C(z(a,{replace:!0,force:!0}),r).catch(Pn);return}l=r;let o=c.value;An&&Mr(Ar(o.fullPath,n.delta),Or()),ee(r,o).catch(e=>Rn(e,V.NAVIGATION_ABORTED|V.NAVIGATION_CANCELLED)?e:Rn(e,V.NAVIGATION_GUARD_REDIRECT)?(C(z(v(e.to),{force:!0}),r).then(e=>{Rn(e,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Sr.pop&&i.go(-1,!1)}).catch(Pn),Promise.reject()):(n.delta&&i.go(-n.delta,!1),oe(e,r,o))).then(e=>{e||=re(r,o,!1),e&&(n.delta&&!Rn(e,V.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Sr.pop&&Rn(e,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),te(r,o,e)}).catch(Pn)})}let ae=zr(),D=zr(),O;function oe(e,t,n){ce(e);let r=D.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function se(){return O&&c.value!==H?Promise.resolve():new Promise((e,t)=>{ae.add([e,t])})}function ce(e){return O||(O=!e,ie(),ae.list().forEach(([t,n])=>e?n(e):t()),ae.reset()),e}function le(t,n,r,i){let{scrollBehavior:a}=e;if(!An||!a)return Promise.resolve();let o=!r&&Nr(Ar(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return ne().then(()=>a(t,n,o)).then(e=>e&&kr(e)).catch(e=>oe(e,t,n))}let k=e=>i.go(e),ue,de=new Set,A={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:k,back:()=>k(-1),forward:()=>k(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:D.add,isReady:se,install(e){e.component(`RouterLink`,yi),e.component(`RouterView`,Ei),e.config.globalProperties.$router=A,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>I(c)}),An&&!ue&&c.value===H&&(ue=!0,b(i.location).catch(e=>{}));let t={};for(let e in H)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Vn,A),e.provide(Hn,Te(t)),e.provide(Un,c);let n=e.unmount;de.add(e),e.unmount=function(){de.delete(e),de.size<1&&(l=H,E&&E(),E=null,c.value=H,ue=!1,O=!1),n()}}};function fe(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return A}var 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?w(he,e===!0?{}:e,t):t});function Pi(e){return Array.isArray(e)?e:[e]}var Fi=[{name:`configs`,path:`/configs`,meta:{scrollToTop(e){return!(`index`in e.query)}},component:()=>nn(()=>import(`./DDlp5JcD.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)},{name:`dev`,path:`/dev`,component:()=>nn(()=>import(`./BKBBWEz4.js`),__vite__mapDeps([13,1,2,3]),import.meta.url)},{name:`extends`,path:`/extends`,component:()=>nn(()=>import(`./DBzO6yCd.js`),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9]),import.meta.url)},{name:`files`,path:`/files`,component:()=>nn(()=>import(`./DYop16xf.js`),__vite__mapDeps([15,1,2,3,4,5,6,10]),import.meta.url)},{name:`rules`,path:`/rules`,component:()=>nn(()=>import(`./C62pfWG4.js`),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,11,12]),import.meta.url)},{name:`index`,path:`/`,component:()=>nn(()=>import(`./BFHLvPhn.js`),__vite__mapDeps([17,5,2,3]),import.meta.url)}],Ii=(e,t)=>({default:()=>e?w(ze,e===!0?{}:e,t):t.default?.()}),Li=/(:\w+)\([^)]+\)/g,Ri=/(:\w+)[?+*]/g,zi=/:\w+/g;function Bi(e){let t=e?.meta.key??e.path.replace(Li,`$1`).replace(Ri,`$1`).replace(zi,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function Vi(e,t){return e===t||t===H?!1:Bi(e)===Bi(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Hi(e){return Array.isArray(e)?e:[e]}function Ui(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Hi(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Hi(n.onBeforeLeave):void 0});return $e(...t)}var Wi={scrollBehavior(e,t,n){let r=j(),i=R().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Gi(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===H?Ki(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(Ki(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function Gi(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Ki(e,t,n,r){if(n)return n;let i=Vi(e,t);return e.hash?{el:e.hash,top:Gi(e.hash),behavior:i?r:`instant`}:{left:0,top:0}}var qi={hashMode:!1,scrollBehaviorType:`auto`,...Wi},Ji=[tt(async(e,t)=>{let n,r;if(!e.meta?.validate)return;let i=([n,r]=A(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;let a=et({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<`u`&&window.history.pushState({},``,t.fullPath),a},1),tt(e=>{let t=cn({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return Ke(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],Yi={};function Xi(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),Ge(n,``)}let s=Ge(r,e),c=!n||He(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Zi=N({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=le().app.baseURL,i=qi.history?.(r)??Jr(r),a=qi.routes?([t,n]=A(()=>qi.routes(Fi)),t=await t,n(),t)??Fi:Fi,o,s=Di({...qi,scrollBehavior:(e,t,n)=>{if(t===H){o=n;return}if(qi.scrollBehavior){if(s.options.scrollBehavior=qi.scrollBehavior,`scrollRestoration`in window.history){let e=s.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return qi.scrollBehavior(e,H,o||n)}},history:i,routes:a});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(s);let c=_e(s.currentRoute.value);s.afterEach((e,t)=>{c.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,`previousRoute`,{get:()=>c.value});let l=Xi(r,window.location,e.payload.path),u=_e(s.currentRoute.value),d=()=>{u.value=s.currentRoute.value};s.afterEach((e,t)=>{e.matched.at(-1)?.components?.default===t.matched.at(-1)?.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=Te(f),e._middleware||={global:[],named:{}};let p=Je();s.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(at),r&&await e.callHook(`page:loading:end`)});try{[t,n]=A(()=>s.isReady()),await t,n()}catch(r){[t,n]=A(()=>e.runWithContext(()=>Ze(r))),await t,n()}let m=l===s.currentRoute.value.fullPath?s.currentRoute.value:s.resolve(l),h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&l!==e.payload.path&&He(s.currentRoute.value.path,e.payload.path);d();let g=e.payload.state._layout;return s.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=Ne(t.meta),e.isHydrating&&g&&!ke(t.meta.layout)&&(t.meta.layout=g),e._processingMiddleware=!0;{let r=new Set([...Ji,...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=cn({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 Yi[i]?.().then(e=>e.default||e):i;if(!r)throw Error(`Unknown route middleware: '${i}'.`);try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||et({status:404,statusText:`Page Not Found: ${l}`});return await e.runWithContext(()=>Ze(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return rt(i)&&i.fatal&&await e.runWithContext(()=>Ze(i)),i}catch(t){let n=et(t);return n.fatal&&await e.runWithContext(()=>Ze(n)),n}}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),s.afterEach(t=>{if(t.matched.length===0&&!p.value)return e.runWithContext(()=>Ze(et({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in m&&(m.name=void 0),h){let t=s.resolve(e.payload.path);`name`in t&&(t.name=void 0),await s.replace({...t,force:!0}),e.hooks.hookOnce(`app:suspense:resolve`,async()=>{await s.replace({...m,force:!0})})}else await s.replace({...m,force:!0});s.options.scrollBehavior=qi.scrollBehavior}catch(t){await e.runWithContext(()=>Ze(t))}}),{provide:{router:s}}}},1),Qi=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),$i=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ea=e=>{let t=j();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Qi(()=>e())}):Qi(()=>e())},ta=N({name:`nuxt:payload`,setup(e){let t=new Set;R().beforeResolve(async(n,r)=>{if(n.path===r.path)return;let i=await ln(n.path);if(i){for(let n of t)delete e.static.data[n];for(let n in i.data)n in e.static.data||t.add(n),e.static.data[n]=i.data[n]}}),ea(()=>{e.hooks.hook(`link:prefetch`,async e=>{let{hostname:t}=new URL(e,window.location.href);t===window.location.hostname&&await ln(e).catch(()=>{console.warn(`[nuxt] Error preloading payload for`,e)})}),navigator.connection?.effectiveType!==`slow-2g`&&setTimeout(sn,1e3)})}}),na=N(()=>{let e=R();ea(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),ra=N(e=>{let t;async function n(){let r;try{r=await sn()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,xe);try{let n=await $fetch(dt(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}ea(()=>{t=setTimeout(n,xe)})});function ia(e={}){let t=e.path||window.location.pathname,n={};try{n=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||n?.path!==t||n?.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:j().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var aa=N({name:`nuxt:chunk-reload`,setup(e){let t=R(),n=le(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){ia({path:qe(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),oa=N({name:`nuxt:global-components`}),sa={};function ca(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function la(e,t=R()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>la(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var ua=N({name:`nuxt:prefetch`,setup(e){let t=R();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof sa[t]==`function`&&await sa[t]()})}),e.hooks.hook(`link:prefetch`,e=>{if(Ke(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Pi(n.meta.middleware);i=i.filter(e=>typeof e==`string`);for(let e of i)typeof Yi[e]==`function`&&Yi[e]();typeof r==`string`&&r in sa&&ca(sa[r])})}}),da=N(()=>{}),fa=[`top`,`right`,`bottom`,`left`],pa=[`start`,`end`],ma=fa.reduce((e,t)=>e.concat(t,t+`-`+pa[0],t+`-`+pa[1]),[]),ha=Math.min,ga=Math.max,_a={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function va(e,t,n){return ga(e,ha(t,n))}function ya(e,t){return typeof e==`function`?e(t):e}function G(e){return e.split(`-`)[0]}function K(e){return e.split(`-`)[1]}function ba(e){return e===`x`?`y`:`x`}function xa(e){return e===`y`?`height`:`width`}function Sa(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Ca(e){return ba(Sa(e))}function wa(e,t,n){n===void 0&&(n=!1);let r=K(e),i=Ca(e),a=xa(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Na(o)),[o,Na(o)]}function Ta(e){let t=Na(e);return[Ea(e),t,Ea(t)]}function Ea(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Da=[`left`,`right`],Oa=[`right`,`left`],ka=[`top`,`bottom`],Aa=[`bottom`,`top`];function ja(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Oa:Da:t?Da:Oa;case`left`:case`right`:return t?ka:Aa;default:return[]}}function Ma(e,t,n,r){let i=K(e),a=ja(G(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ea)))),a}function Na(e){let t=G(e);return _a[t]+e.slice(t.length)}function Pa(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fa(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Pa(e)}function Ia(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 La(e,t,n){let{reference:r,floating:i}=e,a=Sa(t),o=Ca(t),s=xa(o),c=G(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}}switch(K(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Ra(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}=ya(t,e),p=Fa(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ia(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=Ia(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 za=50,Ba=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ra},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=La(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<za&&(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}=La(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Va=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}=ya(e,t)||{};if(l==null)return{};let d=Fa(u),f={x:n,y:r},p=Ca(i),m=xa(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,ee=ha(d[_],T),te=ha(d[v],T),ne=ee,re=C-h[m]-te,E=C/2-h[m]/2+w,ie=va(ne,E,re),ae=!c.arrow&&K(i)!=null&&E!==ie&&a.reference[m]/2-(E<ne?ee:te)-h[m]/2<0,D=ae?E<ne?E-ne:E-re:0;return{[p]:f[p]+D,data:{[p]:ie,centerOffset:E-ie-D,...ae&&{alignmentOffset:D}},reset:ae}}});function Ha(e,t,n){return(e?[...n.filter(t=>K(t)===e),...n.filter(t=>K(t)!==e)]:n.filter(e=>G(e)===e)).filter(n=>e?K(n)===e||(t?Ea(n)!==n:!1):!0)}var Ua=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=ma,autoAlignment:u=!0,...d}=ya(e,t),f=c!==void 0||l===ma?Ha(c||null,u,l):l,p=await a.detectOverflow(t,d),m=r.autoPlacement?.index||0,h=f[m];if(h==null)return{};let g=wa(h,n,await(a.isRTL==null?void 0:a.isRTL(o.floating)));if(i!==h)return{reset:{placement:f[0]}};let _=[p[G(h)],p[g[0]],p[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:h,overflows:_}],y=f[m+1];if(y)return{data:{index:m+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=K(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,K(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:m+1,overflows:v},reset:{placement:x}}}}},Wa=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}=ya(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=G(r),_=Sa(o),v=G(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Na(o)]:Ta(o)),x=p!==`none`;!d&&x&&b.push(...Ma(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=wa(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`&&_!==Sa(t))||T.every(e=>Sa(e.placement)===_?e.overflows[0]>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=Sa(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;break}if(r!==n)return{reset:{placement:n}}}return{}}}},Ga=new Set([`left`,`top`]);async function Ka(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=G(n),s=K(n),c=Sa(n)===`y`,l=Ga.has(o)?-1:1,u=a&&c?-1:1,d=ya(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 qa=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 Ka(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}}}}},Ja=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}=ya(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Sa(G(i)),p=ba(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=va(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=va(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Ya=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=ya(e,t),u=await o.detectOverflow(t,l),d=G(i),f=K(i),p=Sa(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ha(h-u[g],v),x=ha(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=ga(u.left,0),t=ga(u.right,0),n=ga(u.top,0),r=ga(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:ga(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:ga(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function q(e){return e.ownerDocument?.defaultView||window}function J(e){return q(e).getComputedStyle(e)}var Xa=Math.min,Za=Math.max,Qa=Math.round;function $a(e){let t=J(e),n=parseFloat(t.width),r=parseFloat(t.height),i=e.offsetWidth,a=e.offsetHeight,o=Qa(n)!==i||Qa(r)!==a;return o&&(n=i,r=a),{width:n,height:r,fallback:o}}function eo(e){return io(e)?(e.nodeName||``).toLowerCase():``}var to;function no(){if(to)return to;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(to=e.brands.map((e=>e.brand+`/`+e.version)).join(` `),to):navigator.userAgent}function Y(e){return e instanceof q(e).HTMLElement}function ro(e){return e instanceof q(e).Element}function io(e){return e instanceof q(e).Node}function ao(e){return typeof ShadowRoot>`u`?!1:e instanceof q(e).ShadowRoot||e instanceof ShadowRoot}function oo(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function so(e){return[`table`,`td`,`th`].includes(eo(e))}function co(e){let t=/firefox/i.test(no()),n=J(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!==`none`||n.perspective!==`none`||!!r&&r!==`none`||t&&n.willChange===`filter`||t&&!!n.filter&&n.filter!==`none`||[`transform`,`perspective`].some((e=>n.willChange.includes(e)))||[`paint`,`layout`,`strict`,`content`].some((e=>{let t=n.contain;return t!=null&&t.includes(e)}))}function lo(){return!/^((?!chrome|android).)*safari/i.test(no())}function uo(e){return[`html`,`body`,`#document`].includes(eo(e))}function fo(e){return ro(e)?e:e.contextElement}var po={x:1,y:1};function mo(e){let t=fo(e);if(!Y(t))return po;let n=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=$a(t),o=(a?Qa(n.width):n.width)/r,s=(a?Qa(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function ho(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=fo(e),o=po;t&&(r?ro(r)&&(o=mo(r)):o=mo(e));let s=a?q(a):window,c=!lo()&&n,l=(i.left+(c&&s.visualViewport?.offsetLeft||0))/o.x,u=(i.top+(c&&s.visualViewport?.offsetTop||0))/o.y,d=i.width/o.x,f=i.height/o.y;if(a){let e=q(a),t=r&&ro(r)?q(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=mo(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=t.x,u+=t.y,n=q(n).frameElement}}return{width:d,height:f,top:u,right:l+d,bottom:u+f,left:l,x:l,y:u}}function go(e){return((io(e)?e.ownerDocument:e.document)||window.document).documentElement}function _o(e){return ro(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vo(e){return ho(go(e)).left+_o(e).scrollLeft}function yo(e){if(eo(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||ao(e)&&e.host||go(e);return ao(t)?t.host:t}function bo(e){let t=yo(e);return uo(t)?t.ownerDocument.body:Y(t)&&oo(t)?t:bo(t)}function xo(e,t){t===void 0&&(t=[]);let n=bo(e),r=n===e.ownerDocument?.body,i=q(n);return r?t.concat(i,i.visualViewport||[],oo(n)?n:[]):t.concat(n,xo(n))}function So(e,t,n){return t===`viewport`?Ia(function(e,t){let n=q(e),r=go(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=lo();(e||!e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}(e,n)):ro(t)?Ia(function(e,t){let n=ho(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Y(e)?mo(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n)):Ia(function(e){let t=go(e),n=_o(e),r=e.ownerDocument.body,i=Za(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Za(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+vo(e),s=-n.scrollTop;return J(r).direction===`rtl`&&(o+=Za(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}(go(e)))}function Co(e){return Y(e)&&J(e).position!==`fixed`?e.offsetParent:null}function wo(e){let t=q(e),n=Co(e);for(;n&&so(n)&&J(n).position===`static`;)n=Co(n);return n&&(eo(n)===`html`||eo(n)===`body`&&J(n).position===`static`&&!co(n))?t:n||function(e){let t=yo(e);for(;Y(t)&&!uo(t);){if(co(t))return t;t=yo(t)}return null}(e)||t}function To(e,t,n){let r=Y(t),i=go(t),a=ho(e,!0,n===`fixed`,t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&n!==`fixed`)if((eo(t)!==`body`||oo(i))&&(o=_o(t)),Y(t)){let e=ho(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=vo(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}var Eo={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?function(e,t){let n=t.get(e);if(n)return n;let r=xo(e).filter((e=>ro(e)&&eo(e)!==`body`)),i=null,a=J(e).position===`fixed`,o=a?yo(e):e;for(;ro(o)&&!uo(o);){let e=J(o),t=co(o);(a?t||i:t||e.position!==`static`||!i||![`absolute`,`fixed`].includes(i.position))?i=e:r=r.filter((e=>e!==o)),o=yo(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=a[0],s=a.reduce(((e,n)=>{let r=So(t,n,i);return e.top=Za(r.top,e.top),e.right=Xa(r.right,e.right),e.bottom=Xa(r.bottom,e.bottom),e.left=Za(r.left,e.left),e}),So(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=Y(n),a=go(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s={x:1,y:1},c={x:0,y:0};if((i||!i&&r!==`fixed`)&&((eo(n)!==`body`||oo(a))&&(o=_o(n)),Y(n))){let e=ho(n);s=mo(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+c.x,y:t.y*s.y-o.scrollTop*s.y+c.y}},isElement:ro,getDimensions:function(e){return Y(e)?$a(e):e.getBoundingClientRect()},getOffsetParent:wo,getDocumentElement:go,getScale:mo,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||wo,a=this.getDimensions;return{reference:To(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>J(e).direction===`rtl`},Do=(e,t,n)=>{let r=new Map,i={platform:Eo,...n},a={...i.platform,_c:r};return Ba(e,t,{...i,platform:a})};function Oo(e,t){for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]==`object`&&e[n]?Oo(e[n],t[n]):e[n]=t[n])}var X={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 ko(e,t){let n=X.themes[e]||{},r;do r=n[t],typeof r>`u`?n.$extend?n=X.themes[n.$extend]||{}:(n=null,r=X[t]):n=null;while(n);return r}function Ao(e){let t=[e],n=X.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=X.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function jo(e){let t=[e],n=X.themes[e]||{};do n.$extend?(t.push(n.$extend),n=X.themes[n.$extend]||{}):n=null;while(n);return t}var Mo=!1;if(typeof window<`u`){Mo=!1;try{let e=Object.defineProperty({},`passive`,{get(){Mo=!0}});window.addEventListener(`test`,null,e)}catch{}}var No=!1;typeof window<`u`&&typeof navigator<`u`&&(No=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Po=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Fo={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},Io={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function Lo(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ro(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var Z=[],zo=null,Bo={};function Vo(e){let t=Bo[e];return t||=Bo[e]=[],t}var Ho=function(){};typeof window<`u`&&(Ho=window.Element);function Q(e){return function(t){return ko(t.theme,e)}}var Uo=`__floating-vue__popper`,Wo=()=>u({name:`VPopper`,provide(){return{[Uo]:{parentPopper:this}}},inject:{[Uo]:{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:Q(`disabled`)},positioningDisabled:{type:Boolean,default:Q(`positioningDisabled`)},placement:{type:String,default:Q(`placement`),validator:e=>Po.includes(e)},delay:{type:[String,Number,Object],default:Q(`delay`)},distance:{type:[Number,String],default:Q(`distance`)},skidding:{type:[Number,String],default:Q(`skidding`)},triggers:{type:Array,default:Q(`triggers`)},showTriggers:{type:[Array,Function],default:Q(`showTriggers`)},hideTriggers:{type:[Array,Function],default:Q(`hideTriggers`)},popperTriggers:{type:Array,default:Q(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:Q(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:Q(`popperHideTriggers`)},container:{type:[String,Object,Ho,Boolean],default:Q(`container`)},boundary:{type:[String,Ho],default:Q(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:Q(`strategy`)},autoHide:{type:[Boolean,Function],default:Q(`autoHide`)},handleResize:{type:Boolean,default:Q(`handleResize`)},instantMove:{type:Boolean,default:Q(`instantMove`)},eagerMount:{type:Boolean,default:Q(`eagerMount`)},popperClass:{type:[String,Array,Object],default:Q(`popperClass`)},computeTransformOrigin:{type:Boolean,default:Q(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:Q(`autoMinSize`)},autoSize:{type:[Boolean,String],default:Q(`autoSize`)},autoMaxSize:{type:Boolean,default:Q(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:Q(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:Q(`preventOverflow`)},overflowPadding:{type:[Number,String],default:Q(`overflowPadding`)},arrowPadding:{type:[Number,String],default:Q(`arrowPadding`)},arrowOverflow:{type:Boolean,default:Q(`arrowOverflow`)},flip:{type:Boolean,default:Q(`flip`)},shift:{type:Boolean,default:Q(`shift`)},shiftCrossAxis:{type:Boolean,default:Q(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:Q(`noAutoFocus`)},disposeTimeout:{type:Number,default:Q(`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==null?this.randomId:this.ariaId},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[Uo]?.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}={}){var r;(r=this.parentPopper)!=null&&r.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}={}){if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}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(qa({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(Ua({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Ja({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Wa({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Va({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})=>{var i;if((i=r.autoSize)!=null&&i.skip)return{};let a,o;return n.startsWith(`top`)||n.startsWith(`bottom`)?a=e.reference.width:o=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=a==null?null:`${a}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=o==null?null:`${o}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Ya({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 Do(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){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),zo&&this.instantMove&&zo.instantMove&&zo!==this.parentPopper){zo.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay(`show`))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(zo=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){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ro(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...xo(this.$_referenceNode),...xo(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<Z.length;n++)t=Z[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}Z.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of jo(this.theme))Vo(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 Ro(),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(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Lo(Z,this),Z.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of jo(this.theme)){let t=Vo(e);Lo(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}zo===this&&(zo=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),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 Ro(),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,Fo,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Fo,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,Io,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Io,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,Mo?{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($o>=e.left&&$o<=e.right&&es>=e.top&&es<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=$o-Zo,n=es-Qo,r=e.left+e.width/2-Zo+(e.top+e.height/2)-Qo+e.width+e.height,i=Zo+t*r,a=Qo+n*r;return ts(Zo,Qo,i,a,e.left,e.top,e.left,e.bottom)||ts(Zo,Qo,i,a,e.left,e.top,e.right,e.top)||ts(Zo,Qo,i,a,e.right,e.top,e.right,e.bottom)||ts(Zo,Qo,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(No){let e=Mo?{passive:!0,capture:!0}:!0;document.addEventListener(`touchstart`,e=>Go(e,!0),e),document.addEventListener(`touchend`,e=>Ko(e,!0),e)}else window.addEventListener(`mousedown`,e=>Go(e,!1),!0),window.addEventListener(`click`,e=>Ko(e,!1),!0);window.addEventListener(`resize`,Xo)}function Go(e,t){if(X.autoHideOnMousedown)qo(e,t);else for(let t=0;t<Z.length;t++){let n=Z[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function Ko(e,t){X.autoHideOnMousedown||qo(e,t)}function qo(e,t){let n={};for(let r=Z.length-1;r>=0;r--){let i=Z[r];try{let r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&Jo(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let a=i.parentPopper;for(;a&&Jo(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Jo(e,t,n){return n.closeAllPopover||n.closePopover&&t||Yo(e,n)&&!t}function Yo(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Xo(){for(let e=0;e<Z.length;e++)Z[e].$_computePosition()}var Zo=0,Qo=0,$o=0,es=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{Zo=$o,Qo=es,$o=e.clientX,es=e.clientY},Mo?{passive:!0}:void 0);function ts(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 ns={extends:Wo()},rs=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function is(e,t,n,r,i,a){return D(),f(`div`,{ref:`reference`,class:v([`v-popper`,{"v-popper--shown":e.slotData.isShown}])},[oe(e.$slots,`default`,S(C(e.slotData)))],2)}var as=rs(ns,[[`render`,is]]);function os(){var e=window.navigator.userAgent,t=e.indexOf(`MSIE `);if(t>0)return parseInt(e.substring(t+5,e.indexOf(`.`,t)),10);if(e.indexOf(`Trident/`)>0){var n=e.indexOf(`rv:`);return parseInt(e.substring(n+3,e.indexOf(`.`,n)),10)}var r=e.indexOf(`Edge/`);return r>0?parseInt(e.substring(r+5,e.indexOf(`.`,r)),10):-1}var ss;function cs(){cs.init||(cs.init=!0,ss=os()!==-1)}var ls={name:`ResizeObserver`,props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:[`notify`],mounted(){cs(),ne(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});let e=document.createElement(`object`);this._resizeObject=e,e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`tabindex`,-1),e.onload=this.addResizeHandlers,e.type=`text/html`,ss&&this.$el.appendChild(e),e.data=`about:blank`,ss||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit(`notify`,{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener(`resize`,this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ss&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener(`resize`,this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},us=ve(`data-v-b329ee4c`);Ee(`data-v-b329ee4c`);var ds={class:`resize-observer`,tabindex:`-1`};g(),ls.render=us((e,t,n,r,i,a)=>(D(),P(`div`,ds))),ls.__scopeId=`data-v-b329ee4c`,ls.__file=`src/components/ResizeObserver.vue`;var fs=(e=`theme`)=>({computed:{themeClass(){return Ao(this[e])}}}),ps=u({name:`VPopperContent`,components:{ResizeObserver:ls},mixins:[fs()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:[`hide`,`resize`],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),ms=[`id`,`aria-hidden`,`tabindex`,`data-popper-placement`],hs={ref:`inner`,class:`v-popper__inner`},gs=[k(`div`,{class:`v-popper__arrow-outer`},null,-1),k(`div`,{class:`v-popper__arrow-inner`},null,-1)];function _s(e,t,n,r,i,a){let o=O(`ResizeObserver`);return D(),f(`div`,{id:e.popperId,ref:`popover`,class:v([`v-popper__popper`,[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:re(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?`false`:`true`,tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||=Re(t=>e.autoHide&&e.$emit(`hide`),[`esc`])},[k(`div`,{class:`v-popper__backdrop`,onClick:t[0]||=t=>e.autoHide&&e.$emit(`hide`)}),k(`div`,{class:`v-popper__wrapper`,style:re(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[k(`div`,hs,[e.mounted?(D(),f(ge,{key:0},[k(`div`,null,[oe(e.$slots,`default`)]),e.handleResize?(D(),P(o,{key:0,onNotify:t[1]||=t=>e.$emit(`resize`,t)})):E(``,!0)],64)):E(``,!0)],512),k(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:re(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},gs,4)],4)],46,ms)}var vs=rs(ps,[[`render`,_s]]),ys={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)}}},bs=function(){};typeof window<`u`&&(bs=window.Element);var xs=u({name:`VPopperWrapper`,components:{Popper:as,PopperContent:vs},mixins:[ys,fs(`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,bs,Boolean],default:void 0},boundary:{type:[String,bs],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)}}});function Ss(e,t,n,r,i,a){let o=O(`PopperContent`),s=O(`Popper`);return D(),P(s,x({ref:`popper`},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||=()=>e.$emit(`show`),onHide:t[1]||=()=>e.$emit(`hide`),"onUpdate:shown":t[2]||=t=>e.$emit(`update:shown`,t),onApplyShow:t[3]||=()=>e.$emit(`apply-show`),onApplyHide:t[4]||=()=>e.$emit(`apply-hide`),onCloseGroup:t[5]||=()=>e.$emit(`close-group`),onCloseDirective:t[6]||=()=>e.$emit(`close-directive`),onAutoHide:t[7]||=()=>e.$emit(`auto-hide`),onResize:t[8]||=()=>e.$emit(`resize`)}),{default:M(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:a,show:s,hide:c,handleResize:l,onResize:u,classes:d,result:f})=>[oe(e.$slots,`default`,{shown:n,show:s,hide:c}),T(o,{ref:`popperContent`,"popper-id":t,theme:e.finalTheme,shown:n,mounted:r,"skip-transition":i,"auto-hide":a,"handle-resize":l,classes:d,result:f,onHide:c,onResize:u},{default:M(()=>[oe(e.$slots,`popper`,{shown:n,hide:c})]),_:2},1032,[`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:3},16,[`theme`,`target-nodes`,`popper-node`,`class`])}var Cs=rs(xs,[[`render`,Ss]]),ws={...Cs,name:`VDropdown`,vPopperTheme:`dropdown`},Ts={...Cs,name:`VMenu`,vPopperTheme:`menu`},Es={...Cs,name:`VTooltip`,vPopperTheme:`tooltip`},Ds=u({name:`VTooltipDirective`,components:{Popper:Wo(),PopperContent:vs},mixins:[ys],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>ko(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ko(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}}}),Os=[`innerHTML`],ks=[`textContent`];function As(e,t,n,r,i,a){let o=O(`PopperContent`),s=O(`Popper`);return D(),P(s,x({ref:`popper`},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:M(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:a,hide:s,handleResize:c,onResize:l,classes:u,result:d})=>[T(o,{ref:`popperContent`,class:v({"v-popper--tooltip-loading":e.loading}),"popper-id":t,theme:e.theme,shown:n,mounted:r,"skip-transition":i,"auto-hide":a,"handle-resize":c,classes:u,result:d,onHide:s,onResize:l},{default:M(()=>[e.html?(D(),f(`div`,{key:0,innerHTML:e.finalContent},null,8,Os)):(D(),f(`div`,{key:1,textContent:L(e.finalContent)},null,8,ks))]),_:2},1032,[`class`,`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:1},16,[`theme`,`target-nodes`,`popper-node`,`onApplyShow`,`onApplyHide`])}var js=rs(Ds,[[`render`,As]]),Ms=`v-popper--has-tooltip`;function Ns(e,t){let n=e.placement;if(!n&&t)for(let e of Po)t[e]&&(n=e);return n||=ko(e.theme||`tooltip`,`placement`),n}function Ps(e,t,n){let r,i=typeof t;return r=i===`string`?{content:t}:t&&i===`object`?t:{content:!1},r.placement=Ns(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}var Fs,Is,Ls=0;function Rs(){if(Fs)return;Is=me([]),Fs=Ie({name:`VTooltipDirectiveApp`,setup(){return{directives:Is}},render(){return this.directives.map(e=>w(js,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement(`div`);document.body.appendChild(e),Fs.mount(e)}function zs(e,t,n){Rs();let r=me(Ps(e,t,n)),i=me(!1),a={id:Ls++,options:r,shown:i};return Is.value.push(a),e.classList&&e.classList.add(Ms),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function Bs(e){if(e.$_popper){let t=Is.value.indexOf(e.$_popper.item);t!==-1&&Is.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ms)}function Vs(e,{value:t,modifiers:n}){let r=Ps(e,t,n);if(!r.content||ko(r.theme||`tooltip`,`disabled`))Bs(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=zs(e,t,n),typeof t.shown<`u`&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}var Hs={beforeMount:Vs,updated:Vs,beforeUnmount(e){Bs(e)}};function Us(e){e.addEventListener(`mousedown`,Gs),e.addEventListener(`click`,Gs),e.addEventListener(`touchstart`,Ks,Mo?{passive:!0}:!1)}function Ws(e){e.removeEventListener(`mousedown`,Gs),e.removeEventListener(`click`,Gs),e.removeEventListener(`touchstart`,Ks),e.removeEventListener(`touchend`,qs),e.removeEventListener(`touchcancel`,Js)}function Gs(e){let t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ks(e){if(e.changedTouches.length===1){let t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener(`touchend`,qs),t.addEventListener(`touchcancel`,Js)}}function qs(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 Js(e){let t=e.currentTarget;t.$_vclosepopover_touch=!1}var Ys={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>`u`||t)&&Us(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>`u`||t?Us(e):Ws(e))},beforeUnmount(e){Ws(e)}},Xs=Hs,Zs=ws;function Qs(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Oo(X,t),e.directive(`tooltip`,Hs),e.directive(`close-popper`,Ys),e.component(`VTooltip`,Es),e.component(`VDropdown`,ws),e.component(`VMenu`,Ts))}var $s={version:`5.2.2`,install:Qs,options:X},ec=[Cn,kn,Zi,ta,na,ra,aa,oa,ua,da,N(e=>{e.vueApp.use($s,{overflowPadding:20})})];function tc(e,t){let n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function nc(e={}){let{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:i=400}=e,a=e.estimatedProgress||tc,o=j(),s=_e(0),c=_e(!1),l=_e(!1),u=!1,d,f,p,m,h=(e={})=>{y(),l.value=!1,g(0,e)};function g(e=0,t={}){if(o.isHydrating)return;if(e>=100)return v({force:t.force});b(),s.value=e<0?0:e;let r=t.force?0:n;r?f=setTimeout(()=>{c.value=!0,x()},r):(c.value=!0,x())}function _(){p=setTimeout(()=>{c.value=!1,m=setTimeout(()=>{s.value=0},i)},r)}function v(e={}){s.value=100,u=!0,b(),y(),e.error&&(l.value=!0),e.force?(s.value=0,c.value=!1):_()}function y(){clearTimeout(p),clearTimeout(m)}function b(){clearTimeout(f),cancelAnimationFrame(d)}function x(){u=!1;let e;function n(r){if(u)return;e??=r;let i=r-e;s.value=Math.max(0,Math.min(100,a(t,i))),d=requestAnimationFrame(n)}d=requestAnimationFrame(n)}let S=()=>{};{let e=o.hook(`page:loading:start`,()=>{h()}),t=o.hook(`page:loading:end`,()=>{v()}),n=o.hook(`vue:error`,()=>v());S=()=>{n(),e(),t(),b()}}return{_cleanup:S,progress:F(()=>s.value),isLoading:F(()=>c.value),error:F(()=>l.value),start:h,set:g,finish:v,clear:b}}function rc(e={}){let t=j(),n=t._loadingIndicator||=nc(e);return we()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,Se(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}var ic=u({name:`NuxtLoadingIndicator`,props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:`repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)`},errorColor:{type:String,default:`repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)`},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){let{progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}=rc({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}),()=>w(`div`,{class:`nuxt-loading-indicator`,style:{position:`fixed`,top:0,right:0,left:0,pointerEvents:`none`,width:`auto`,height:`${e.height}px`,opacity:i.value?1:0,background:a.value?e.errorColor:e.color||void 0,backgroundSize:`${r.value>0?100/r.value*100:0}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:`left`,transition:`transform 0.1s, height 0.4s, opacity 0.4s`,zIndex:999999}},t)}}),ac=ft(`/stylelint/stylelint-icon-black.svg`),oc=ft(`/stylelint/stylelint-text-black.svg`),sc=`2.0.0`,cc={class:`flex flex-col gap-1`},lc=[`href`],uc=u({__name:`ConfigInspectorBadge`,props:{showVersion:{type:Boolean,default:!0}},setup(e){return(t,n)=>(D(),f(`div`,cc,[n[0]||=m(`<a href="https://github.com/Nick2bad4u/Stylelint-Config-Inspector" target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-3 border border-violet/25 rounded-2xl bg-violet/8 px-3 py-2 shadow-sm hover:border-violet/35 hover:bg-violet/12"><span class="flex items-center justify-center border border-violet/30 rounded-full bg-violet/16 p-2"><img src="`+ac+`" class="inline-block h-1.15em w-1.15em dark:brightness-185 dark:invert"></span><span class="flex flex-col gap-0.5"><span class="flex items-center gap-2"><img src="`+oc+`" class="h-0.95em dark:brightness-185 dark:invert"><span class="text-xs font-medium op70">Config Inspector</span></span><span class="text-xs font-medium op70"> Rule + config explorer </span></span></a>`,1),e.showVersion?(D(),f(`a`,{key:0,class:`ml-2 inline-block text-0.6em font-200 font-mono op55`,href:`https://github.com/Nick2bad4u/Stylelint-Config-Inspector/releases/tag/v${I(sc)}`,target:`_blank`,rel:`noopener noreferrer`},` v`+L(I(sc)),9,lc)):E(``,!0)]))}}),dc=Object.assign(uc,{__name:`ConfigInspectorBadge`}),fc=(...e)=>e.find(e=>e!==void 0);function pc(e){let t=e.componentName||`NuxtLink`;function n(e){return typeof e==`string`&&e.startsWith(`#`)}function r(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return hc(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:hc(a,i)}}function i(t){let i=R(),a=le(),o=F(()=>!!I(t.target)&&I(t.target)!==`_self`),s=F(()=>{let e=I(t.to)||I(t.href)||``;return typeof e==`string`&&Ke(e,{acceptRelative:!0})}),c=O(`RouterLink`),l=c&&typeof c!=`string`?c.useLink:void 0,u=F(()=>{if(I(t.external))return!0;let e=I(t.to)||I(t.href)||``;return typeof e==`object`?!1:e===``||s.value}),d=F(()=>{let e=I(t.to)||I(t.href)||``;return u.value?e:r(e,i.resolve,I(t.trailingSlash))}),f=u.value?void 0:l?.({...t,to:d,viewTransition:I(t.viewTransition)}),p=F(()=>{let r=I(t.trailingSlash)??e.trailingSlash;if(!d.value||s.value||n(d.value))return d.value;if(u.value){let e=typeof d.value==`object`&&`path`in d.value?Qe(d.value):d.value;return hc(typeof e==`object`?i.resolve(e).href:e,r)}return typeof d.value==`object`?i.resolve(d.value)?.href??null:hc(qe(a.app.baseURL,d.value),r)});return{to:d,hasTarget:o,isAbsoluteUrl:s,isExternal:u,href:p,isActive:f?.isActive??F(()=>d.value===i.currentRoute.value.path),isExactActive:f?.isExactActive??F(()=>d.value===i.currentRoute.value.path),route:f?.route??F(()=>i.resolve(d.value)),async navigate(e){await Ye(p.value,{replace:I(t.replace),external:u.value||o.value})}}}return u({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(t,{slots:r}){let a=R(),{to:o,href:s,navigate:c,isExternal:l,hasTarget:u,isAbsoluteUrl:f}=i(t),p=_e(!1),m=me(null),h=e=>{m.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function g(n){return!p.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n])&&(t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!vc()}async function _(e=j()){if(p.value)return;p.value=!0;let t=typeof o.value==`string`?o.value:l.value?Qe(o.value):a.resolve(o.value).fullPath,n=l.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!l.value&&!u.value&&la(o.value,a).catch(()=>{})])}if(g(`visibility`)){let e=j(),t,n=null;ie(()=>{let r=gc();ea(()=>{t=Qi(()=>{m?.value?.tagName&&(n=r.observe(m.value,async()=>{n?.(),n=null,await _(e)}))})})}),d(()=>{t&&$i(t),n?.(),n=null})}return()=>{if(!l.value&&!u.value&&!n(o.value)){let n={ref:h,to:o.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(g(`interaction`)&&(n.onPointerenter=_.bind(null,void 0),n.onFocus=_.bind(null,void 0)),p.value&&(n.class=t.prefetchedClass||e.prefetchedClass),n.rel=t.rel||void 0),w(O(`RouterLink`),n,r.default)}let i=t.target||null,d=fc(t.noRel?``:t.rel,e.externalRelAttribute,f.value||u.value?`noopener noreferrer`:``)||null;return t.custom?r.default?r.default({href:s.value,navigate:c,prefetch:_,get route(){if(!s.value)return;let e=new URL(s.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return Be(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:s.value}},rel:d,target:i,isExternal:l.value||u.value,isActive:!1,isExactActive:!1}):null:w(`a`,{ref:m,href:s.value||null,rel:d,target:i,onClick:async e=>{if(!(l.value||u.value)){e.preventDefault();try{let e=it(s.value);return await(t.replace?a.replace(e):a.push(e))}finally{if(n(o.value)){let e=o.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},r.default?.())}}})}var mc=pc(ue);function hc(e,t){let n=t===`append`?Ve:Ue;return Ke(e)&&!e.startsWith(`http`)?e:n(e,!0)}function gc(){let e=j();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)})}}var _c=/2g/;function vc(){let e=navigator.connection;return!!(e&&(e.saveData||_c.test(e.effectiveType)))}var $={nav:{tabs:`nav-tabs`,configsLink:`nav-link-configs`,rulesLink:`nav-link-rules`,extendsLink:`nav-link-extends`,filesLink:`nav-link-files`,devLink:`nav-link-dev`},configs:{summaryGrid:`config-summary-grid`,summaryItem:`config-summary-item`},files:{viewListButton:`files-view-list-button`,viewGroupsButton:`files-view-groups-button`,matchedListDetails:`files-matched-list-details`,matchedListSummary:`files-matched-list-summary`,groupIdentityLabel:`files-group-identity-label`},extends:{specifierButton:`extends-specifier-button`,rulesListContainer:`extends-rules-list-container`}};$.nav.configsLink,$.nav.rulesLink,$.nav.extendsLink,$.nav.filesLink,$.nav.devLink;var yc=t();function bc(){yc.value=!yc.value}var xc={flex:`~ col gap-3`},Sc={flex:`~ col gap-2 md:row md:items-start md:justify-between`},Cc={flex:`~ col gap-1 items-start`,"md:items-end":``,"md:text-right":``},wc=[`href`],Tc={key:0,flex:`~ gap-1 items-center`,my1:``,"text-sm":``},Ec={"font-mono":``,op35:``},Dc={key:1,flex:`~ gap-1 items-center`,my1:``,"text-sm":``},Oc={"font-mono":``,op75:``},kc={flex:`~ gap-1 items-center wrap`,"text-sm":``},Ac={"font-bold":``},jc={op75:``},Mc={key:0,flex:`~ gap-2 items-center`,ml2:``,"animate-pulse":``,"text-green":``},Nc=[`data-testid`],Pc={"i-ph-flask-duotone":``,"text-xs":``,op60:``},Fc={"i-ph-flask-duotone":``,"text-xs":``,op60:``},Ic=[`title`,`aria-label`],Lc={"min-w-44":``,flex:`~ col gap-1`,p2:``},Rc=[`onClick`],zc={"text-xs":``,op70:``},Bc=[`title`,`aria-pressed`],Vc=`stylelint-inspector-target.css`,Hc=u({__name:`NavBar`,setup(t){let n=e(()=>c.value.meta.lastUpdate),a=F(()=>{let e=c.value.meta.targetFilePath;return e?!e.endsWith(Vc):!1}),o=F(()=>Object.values(c.value.rules)),l=F(()=>o.value.filter(e=>e.deprecated&&c.value.ruleToState.get(e.name)?.some(e=>e.level!==`off`))),u=R(),d=[{value:`sm`,label:`Small`},{value:`md`,label:`Default`},{value:`lg`,label:`Large`}],m=F(()=>d.find(e=>e.value===s.fontScale)?.label??`Default`);function h(){i.status=`deprecated`,i.plugins=[],i.state=`using`,i.search=``,u.currentRoute.value.path!==`/rules`&&u.push(`/rules`)}return(e,t)=>{let i=dc,o=mc,u=se(`tooltip`);return D(),f(`div`,xc,[k(`div`,Sc,[T(i,{"text-3xl":``,"font-200":``,"show-version":!1}),k(`div`,Cc,[k(`a`,{class:`inline-block text-xs font-200 font-mono op55`,href:`https://github.com/Nick2bad4u/Stylelint-Config-Inspector/releases/tag/v${I(sc)}`,target:`_blank`,rel:`noopener noreferrer`},` v`+L(I(sc)),9,wc),t[2]||=k(`div`,{border:`~ violet/20 rounded-full`,"inline-flex":``,"items-center":``,"gap-2":``,"bg-violet:8":``,px3:``,py1:``,"text-xs":``,"text-violet7":``,"dark:text-violet3":``},[k(`img`,{src:ac,"h-4.5":``,"w-4.5":``,"dark:brightness-185":``,"dark:invert":``}),k(`span`,null,[p(` Built for the `),k(`a`,{href:`https://stylelint.io`,target:`_blank`,rel:`noopener noreferrer`,"hover:underline":``},`Stylelint ecosystem`),p(` with best-effort metadata normalization. `)])],-1)])]),I(c).meta.configPath?(D(),f(`div`,Tc,[k(`span`,Ec,L(I(c).meta.configPath),1)])):E(``,!0),a.value?(D(),f(`div`,Dc,[t[3]||=k(`span`,{op50:``},`Resolved using target file`,-1),k(`code`,Oc,L(I(c).meta.targetFilePath),1)])):E(``,!0),k(`div`,kc,[t[5]||=k(`span`,{op50:``},`Composed with`,-1),k(`span`,Ac,L(I(c).configs.length),1),t[6]||=k(`span`,{op50:``},`config items, updated`,-1),k(`span`,jc,L(I(n)),1),I(r)?(D(),f(`div`,Mc,[...t[4]||=[k(`div`,{"i-svg-spinners-90-ring-with-bg":``,"flex-none":``,"text-sm":``},null,-1),p(` Fetching updates... `,-1)]])):E(``,!0)]),k(`div`,{"data-testid":I($).nav.tabs,flex:`~ gap-3 items-center wrap`,py4:``},[T(o,{to:`/configs`,"data-testid":I($).nav.configsLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[...t[7]||=[k(`div`,{"i-ph-stack-duotone":``,"flex-none":``},null,-1),p(` Configs `,-1)]]),_:1},8,[`data-testid`]),T(o,{to:`/rules`,"data-testid":I($).nav.rulesLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[...t[8]||=[k(`div`,{"i-ph-list-dashes-duotone":``,"flex-none":``},null,-1),p(` Rules `,-1)]]),_:1},8,[`data-testid`]),T(o,{to:`/extends`,"data-testid":I($).nav.extendsLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[t[9]||=k(`div`,{"i-ph-stack-plus-duotone":``,"flex-none":``},null,-1),t[10]||=p(` Extends `,-1),De(k(`span`,Pc,null,512),[[u,`Experimental`]])]),_:1},8,[`data-testid`]),T(o,{to:`/files`,"data-testid":I($).nav.filesLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[t[11]||=k(`div`,{"i-ph-files-duotone":``,"flex-none":``},null,-1),t[12]||=p(` Files `,-1),De(k(`span`,Fc,null,512),[[u,`Experimental`]])]),_:1},8,[`data-testid`]),T(o,{to:`/dev`,"data-testid":I($).nav.devLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[...t[13]||=[k(`div`,{"i-ph-terminal-window-duotone":``,"flex-none":``},null,-1),p(` Dev `,-1)]]),_:1},8,[`data-testid`]),T(I(Zs),null,{popper:M(()=>[k(`div`,Lc,[(D(),f(ge,null,y(d,e=>k(`button`,{key:e.value,"btn-action":``,"justify-between":``,class:v({"btn-action-active":I(s).fontScale===e.value}),onClick:t=>I(s).fontScale=e.value},[k(`span`,null,L(e.label),1),k(`span`,zc,L(e.value===`sm`?`95%`:e.value===`lg`?`112.5%`:`100%`),1)],10,Rc)),64))])]),default:M(()=>[k(`button`,{"btn-action":``,"rounded-full":``,title:`Font size: ${m.value}`,"aria-label":`Font size: ${m.value}`},[...t[14]||=[k(`div`,{"i-ph-text-aa-duotone":``,"flex-none":``},null,-1)]],8,Ic)]),_:1}),k(`button`,{"btn-action":``,"rounded-full":``,class:v({"btn-action-active":I(s).dimDisabledRules}),title:I(s).dimDisabledRules?`Disable dimming for disabled rules`:`Enable dimming for disabled rules`,"aria-pressed":I(s).dimDisabledRules,onClick:t[0]||=e=>I(s).dimDisabledRules=!I(s).dimDisabledRules},[k(`div`,{class:v(I(s).dimDisabledRules?`i-ph-eye-closed-duotone`:`i-ph-eye-duotone`)},null,2)],10,Bc),k(`button`,{"btn-action":``,"rounded-full":``,title:`Toggle Dark Mode`,onClick:t[1]||=e=>I(bc)()},[...t[15]||=[k(`div`,{"i-ph-sun-dim-duotone":``,"dark:i-ph-moon-stars-duotone":``},null,-1)]]),T(o,{href:`https://github.com/Nick2bad4u/Stylelint-Config-Inspector`,target:`_blank`,"btn-action":``,"rounded-full":``,title:`GitHub repository`},{default:M(()=>[...t[16]||=[k(`div`,{"i-carbon-logo-github":``,"text-lg":``},null,-1)]]),_:1}),l.value.length?(D(),f(ge,{key:0},[t[18]||=k(`div`,{border:`l base`,ml3:``,mr2:``,"h-5":``,"w-1px":``},null,-1),k(`button`,{to:`/configs`,border:`~ orange/20 rounded-full`,flex:`~ gap-2 items-center`,"bg-orange:5":``,px3:``,py1:``,"text-sm":``,"text-orange":``,"hover:bg-orange:10":``,onClick:h},[t[17]||=k(`div`,{"i-ph-warning-duotone":``,"flex-none":``},null,-1),p(` Using `+L(l.value.length)+` deprecated rules `,1)])],64)):E(``,!0)],8,Nc)])}}}),Uc=Object.assign(Hc,{__name:`NavBar`}),Wc=(e=`RouteProvider`)=>u({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},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 b(nt,Te(r)),()=>e.vnode?w(e.vnode,{ref:e.vnodeRef}):e.vnode}}),Gc=Wc(),Kc=new WeakMap,qc=u({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=j(),a=me(),o=h(nt,null),s;r({pageRef:a});let c=h(Xe,null),l,u=i.deferHydration(),f=!1,p=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,u);R().beforeEach(e)}e.pageKey&&fe(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let m=!1;{let e=R().beforeResolve(()=>{m=!1});d(()=>{e(),u()})}return()=>w(Ei,{name:e.name,route:e.route,...t},{default:t=>{let r=Jc(o,t.route,t.Component),d=o&&o.matched.length===t.route.matched.length;if(!t.Component){if(l&&!d)return l;u();return}if(l&&c&&!c.isCurrent(t.route))return l;if(r&&o&&(!c||c?.isCurrent(o)))return d||l?l:null;let h=Mi(t,e.pageKey),g=Yc(o,t.route,t.Component);!i.isHydrating&&s===h&&!g&&ne(()=>{m||(m=!0,i.callHook(`page:loading:end`))}),f&&s!==h&&p++,s=h;let _=!!(e.transition??t.route.meta.pageTransition??!1),v=_&&Ui([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){i[`~transitionFinish`]?.(),delete i[`~transitionFinish`],delete i[`~transitionPromise`],i.callHook(`page:transition:finish`,t.Component)}}]),y=e.keepalive??t.route.meta.keepalive??!1;return l=Ii(_&&v,Ni(y,w(ce,{key:p,suspensible:!0,onPending:()=>{f=!0,_&&!i[`~transitionPromise`]&&(i[`~transitionPromise`]=new Promise(e=>{i[`~transitionFinish`]=e})),i.callHook(`page:start`,t.Component)},onResolve:async()=>{f=!1;try{await ne(),i._route.sync?.(),await i.callHook(`page:finish`,t.Component),!m&&!g&&(m=!0,await i.callHook(`page:loading:end`))}finally{u()}}},{default:()=>{let e={key:h||void 0,vnode:n.default?Xc(n.default,t):t.Component,route:t.route,renderKey:h||void 0,trackRootNodes:_,vnodeRef:a};if(!y)return w(Gc,e);let r=t.Component.type,i=r,o=Kc.get(i);return o||(o=Wc(r.name||r.__name),Kc.set(i,o)),w(o,e)}}))).default(),l}})}});function Jc(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((t,n)=>t.components?.default!==e.matched[n]?.components?.default)||n&&Mi({route:t,Component:n})!==Mi({route:e,Component:n})}function Yc(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function Xc(e,t){let n=e(t);return n.length===1?w(n[0]):w(ge,void 0,n)}var Zc={key:0,class:`pointer-events-none fixed right-3 top-3 z-60 inline-flex items-center gap-2 border border-violet-300/45 rounded-full bg-white/85 px-3 py-1.5 text-xs text-violet-700 shadow-lg backdrop-blur-sm dark:border-violet-300/25 dark:bg-zinc-950/70 dark:text-violet-200`},Qc={key:1,grid:``,"h-full":``,"w-full":``,"place-content-center":``,"whitespace-pre-line":``,p4:``},$c={"text-lg":``,"text-red":``,"font-mono":``},el={key:2,flex:`~ col`,"h-full":``,"w-full":``,"items-center":``,"justify-center":``,p4:``},tl={key:3,px4:``,py6:``,"lg:px14":``,"lg:py10":``},nl=u({__name:`app`,setup(e){let t=le(),n=R(),r=me(!1),i,s=n.beforeEach(()=>{i&&clearTimeout(i),r.value=!0}),c=n.afterEach(()=>{i=setTimeout(()=>{r.value=!1},150)}),u=n.onError(()=>{i&&clearTimeout(i),r.value=!1});return d(()=>{s(),c(),u()}),a(t.app.baseURL),(e,t)=>{let n=ic,i=dc,a=Uc,s=qc;return D(),f(ge,null,[T(n,{height:3,throttle:0,color:`repeating-linear-gradient(90deg, #8b5cf6 0px, #a78bfa 32px, #8b5cf6 64px)`}),r.value&&!I(o)&&!I(l)?(D(),f(`div`,Zc,[...t[0]||=[k(`div`,{"i-svg-spinners-90-ring-with-bg":``,"text-sm":``},null,-1),p(` Loading view... `,-1)]])):E(``,!0),I(l)?(D(),f(`div`,Qc,[T(i,{mb6:``,"text-xl":``,"font-200":``}),t[1]||=k(`div`,{"text-2xl":``,"text-red5":``,"font-bold":``},[p(` Failed to resolve Stylelint config`),k(`br`)],-1),k(`div`,$c,L(I(l).error),1),t[2]||=k(`div`,{mt6:``,op50:``},[p(` Note that `),k(`a`,{href:`https://stylelint.io/user-guide/configure`,target:`_blank`,"hover:underline":``},`Stylelint configuration`),p(` must be discoverable for the selected target file. `)],-1)])):I(o)?(D(),f(`div`,el,[t[3]||=k(`div`,{flex:`~ gap-2 items-center`,"flex-auto":``,"animate-pulse":``,"text-xl":``},[k(`div`,{"i-svg-spinners-90-ring-with-bg":``}),p(` Loading config... `)],-1),T(i,{mt6:``,"text-xl":``,"font-200":``,"show-version":!1})])):(D(),f(`div`,tl,[T(a),T(s)]))],64)}}}),rl={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=be(()=>nn(()=>import(`./D_UhJN5P.js`),__vite__mapDeps([18,8,5,2,3,19,20]),import.meta.url)),s=be(()=>nn(()=>import(`./BwdVnuqT.js`),__vite__mapDeps([21,8,2,19,22]),import.meta.url)),c=r?o:s;return(e,t)=>(D(),P(I(c),S(C({status:I(n),statusText:I(i),statusCode:I(n),statusMessage:I(i),description:I(a),stack:I(void 0)})),null,16))}},il={key:0},al={__name:`nuxt-root`,setup(e){let t=()=>null,n=j(),r=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,r);R().beforeEach(e)}window.location.pathname,b(nt,ot()),n.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`);let i=Je(),a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;return _((e,t,r)=>{if(n.hooks.callHook(`vue:error`,e,t,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),a.test(navigator.userAgent))return n.hooks.callHook(`app:error`,e),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,e),!1;if(rt(e)&&(e.fatal||e.unhandled))return n.runWithContext(()=>Ze(e)),!1}),(e,n)=>(D(),P(ce,{onResolve:I(r)},{default:M(()=>[I(!1)?(D(),f(`div`,il)):I(i)?(D(),P(I(rl),{key:1,error:I(i)},null,8,[`error`])):I(!1)?(D(),P(I(t),{key:2,context:I(!1)},null,8,[`context`])):I(!1)?(D(),P(te(I(!1)),{key:3})):(D(),P(I(nl),{key:4}))]),_:1},8,[`onResolve`]))}},ol;{let e;ol=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Le(al):Ie(al),r=Ce({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=et(e)}n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&Oe.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(Oe.id)?.remove()});try{await Ae(r,ec)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(Me),await r.hooks.callHook(`app:mounted`,n),await ne()}catch(e){i(e)}return n},e=ol().catch(e=>{throw console.error(`Error while mounting app:`,e),e})}export{Zs as a,Yt as c,Xs as i,$ as n,nn as o,mc as r,Kt as s,yc as t};
|
|
2
|
+
import{C as e,S as t,T as n,a as r,d as i,i as a,o,p as s,s as c,t as l}from"./rX12-d6r.js";import{A as u,B as d,C as f,D as p,E as m,F as h,G as g,H as _,It as v,J as y,K as b,L as x,Lt as S,M as C,N as w,O as T,P as ee,Q as te,R as ne,Rt as re,S as E,U as ie,V as ae,W as D,X as O,Y as oe,Z as se,_ as ce,a as le,b as k,c as ue,ct as de,d as A,et as fe,f as pe,ft as me,g as he,h as ge,ht as _e,i as j,it as ve,j as ye,k as be,l as xe,lt as Se,n as Ce,nt as M,ot as we,pt as Te,q as Ee,r as N,rt as De,s as Oe,st as ke,t as Ae,tt as je,u as Me,ut as Ne,vt as Pe,x as P,y as F,yt as I,z as Fe,zt as L}from"./3_mkTJ2v.js";import{n as Ie,r as Le,s as Re,t as ze}from"./DUtXDOXB.js";import{c as Be,f as Ve,i as He,m as Ue,o as We,p as Ge,r as Ke,s as qe}from"./D5CeIdpL.js";import{a as Je,c as Ye,d as R,f as Xe,i as Ze,l as Qe,m as $e,n as et,o as tt,p as nt,r as rt,s as it,t as at,u as ot}from"./D9VMXJyI.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),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var st=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,ct=()=>st().app,lt=()=>ct().baseURL,ut=()=>ct().buildAssetsDir,dt=(...e)=>We(ft(),ut(),...e),ft=(...e)=>{let t=ct(),n=t.cdnURL||t.baseURL;return e.length?We(n,...e):n};globalThis.__buildAssetsURL=dt,globalThis.__publicAssetsURL=ft,globalThis.$fetch||(globalThis.$fetch=n.create({baseURL:lt()})),`global`in globalThis||(globalThis.global=globalThis);function pt(e){let t=ht(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let e=0;e<n.byteLength;e++)r.setUint8(e,t.charCodeAt(e));return n}var mt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;function ht(e){e.length%4==0&&(e=e.replace(/==?$/,``));let t=``,n=0,r=0;for(let i=0;i<e.length;i++)n<<=6,n|=mt.indexOf(e[i]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}function gt(e,t){return _t(JSON.parse(e),t)}function _t(e,t){if(typeof e==`number`)return a(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let n=e,r=Array(n.length),i=null;function a(e,o=!1){if(e===-1)return;if(e===-3)return NaN;if(e===-4)return 1/0;if(e===-5)return-1/0;if(e===-6)return-0;if(o||typeof e!=`number`)throw Error(`Invalid input`);if(e in r)return r[e];let s=n[e];if(!s||typeof s!=`object`)r[e]=s;else if(Array.isArray(s))if(typeof s[0]==`string`){let o=s[0],c=t&&Object.hasOwn(t,o)?t[o]:void 0;if(c){let t=s[1];if(typeof t!=`number`&&(t=n.push(s[1])-1),i??=new Set,i.has(t))throw Error(`Invalid circular reference`);return i.add(t),r[e]=c(a(t)),i.delete(t),r[e]}switch(o){case`Date`:r[e]=new Date(s[1]);break;case`Set`:let t=new Set;r[e]=t;for(let e=1;e<s.length;e+=1)t.add(a(s[e]));break;case`Map`:let i=new Map;r[e]=i;for(let e=1;e<s.length;e+=2)i.set(a(s[e]),a(s[e+1]));break;case`RegExp`:r[e]=new RegExp(s[1],s[2]);break;case`Object`:let c=Object(s[1]);if(Object.hasOwn(c,`__proto__`))throw Error("Cannot parse an object with a `__proto__` property");r[e]=c;break;case`BigInt`:r[e]=BigInt(s[1]);break;case`null`:let l=Object.create(null);r[e]=l;for(let e=1;e<s.length;e+=2){if(s[e]===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");l[s[e]]=a(s[e+1])}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{if(n[s[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=globalThis[o],i=new t(a(s[1]));r[e]=s[2]===void 0?i:i.subarray(s[2],s[3]);break}case`ArrayBuffer`:{let t=s[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);r[e]=pt(t);break}case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:{let t=o.slice(9);r[e]=Temporal[t].from(s[1]);break}case`URL`:r[e]=new URL(s[1]);break;case`URLSearchParams`:r[e]=new URLSearchParams(s[1]);break;default:throw Error(`Unknown type ${o}`)}}else if(s[0]===-7){let t=s[1];if(!Number.isInteger(t)||t<0)throw Error(`Invalid input`);let n=Array(t);r[e]=n;for(let e=2;e<s.length;e+=2){let r=s[e];if(!Number.isInteger(r)||r<0||r>=t)throw Error(`Invalid input`);n[r]=a(s[e+1])}}else{let t=Array(s.length);r[e]=t;for(let e=0;e<s.length;e+=1){let n=s[e];n!==-2&&(t[e]=a(n))}}else{let t={};r[e]=t;for(let e of Object.keys(s)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");let n=s[e];t[e]=a(n)}}return r[e]}return a(0)}var vt=new Set([`link`,`style`,`script`,`noscript`]),yt=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),bt=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),xt=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),St=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Ct=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),wt=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Tt=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Et=[`name`,`property`,`http-equiv`],Dt=new Set([`viewport`,`description`,`keywords`,`robots`]);function Ot(e){let t=e.split(`:`);return t.length?Tt.has(t[1]):!1}function kt(e){let{props:t,tag:n}=e;if(St.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of Et)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Dt.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(yt.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function At(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function jt(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>jt(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=jt(r[n],t,n);return e}return r}function Mt(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function Nt(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=bt.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=Mt(r,i);return}if(Ct.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function Pt(e,t){let n=Nt({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&vt.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)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function Ft(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=jt(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Pt(e,n))}),r.flat()}var It=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Lt={base:-10,title:10},Rt={critical:-8,high:-1,low:2},zt={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Bt=/@import/,Vt=e=>e===``||e===!0;function Ht(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Rt[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:zt;if(t.tag in Lt)n=Lt[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=zt.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);Vt(t.props.async)?n=i.script.async:t.props.src&&!Vt(t.props.defer)&&!Vt(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(Vt(t.props.defer)&&t.props.src&&!Vt(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&Bt.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Ut(e,t){let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Wt(e={}){let t=pe();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>Ut(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:Ft(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=Ht(o,e),e._p=(i._i<<10)+t,e._d=kt(e),e._d||(e._h=At(e)),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(It).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(wt.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&Ot(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(It)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;xt.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=kt(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>Ut(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}var Gt=(e,t)=>de(t)?Pe(t):t,Kt=`usehead`;function qt(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Kt,e)}}.install}function Jt(){if(ee()){let e=h(Kt);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function Yt(e,t={}){let n=t.head||Jt();return n.ssr?n.push(e||{},t):Xt(n,e,t)}function Xt(e,t,n={}){let r=me(!1),i;return je(()=>{let a=r.value?{}:jt(t,Gt);i?i.patch(a):i=e.push(a,n)}),ye()&&(d(()=>{i.dispose()}),ae(()=>{r.value=!0}),Fe(()=>{r.value=!1})),i}var Zt=(()=>{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`)&&i.unshift({data:e});let a=r.split(`/`),o=a.length;return(o===2||o===1)&&i.unshift({data:t,params:{0:a[1]}}),i}})(),Qt=e=>$e({},...Zt(``,e).map(e=>e.data).reverse()),$t=`modulepreload`,en=function(e,t){return new URL(e,t).href},tn={},nn=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=en(t,n),t in tn)return;tn[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:$t,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},rn=Qt,an;function on(){return an=$fetch(dt(`builds/meta/${le().app.buildId}.json`),{responseType:`json`}),an.catch(e=>{console.error(`[nuxt] Error fetching app manifest.`,e)}),an}function sn(){return an||on()}function cn(e){let t=typeof e==`string`?e:e.path;try{return rn(t)}catch(e){return console.error(`[nuxt] Error matching route rules.`,e),{}}}async function ln(e,t={}){return await hn(e)&&await fn(await dn(e,t))||null}var un=`_payload.json`;async function dn(e,t={}){let n=new URL(e,`http://localhost`);if(n.host!==`localhost`||Ke(n.pathname,{acceptRelative:!0}))throw Error(`Payload URL must not include hostname: `+e);let r=le(),i=t.hash||(t.fresh?Date.now():r.app.buildId),a=r.app.cdnURL;return qe(a&&await gn(e)?a:r.app.baseURL,n.pathname,un+(i?`?${i}`:``))}async function fn(e){let t=fetch(e,{cache:`force-cache`}).then(e=>e.text().then(yn));try{return await t}catch(t){console.warn(`[nuxt] Cannot load payload `,e,t)}return null}function pn(e){if(e.redirect)return!1;if(e.prerender)return!0}async function mn(e){return e=e===`/`?e:e.replace(/\/$/,``),(await sn()).prerendered.includes(e)}async function hn(e=ot().path){let t=cn({path:e});if(t.ssr===!1)return!1;let n=pn(t);return n===void 0?t.payload?!0:await mn(e):n}async function gn(e=ot().path){let t=pn(cn({path:e}));return t===void 0?await mn(e):t}var _n=null;async function vn(){if(_n)return _n;let e=document.getElementById(`__NUXT_DATA__`);if(!e)return{};let t=await yn(e.textContent||``),n=e.dataset.src?await fn(e.dataset.src):void 0;return _n={...t,...n,...window.__NUXT__},_n.config?.public&&(_n.config.public=Ne(_n.config.public)),_n}async function yn(e){return await gt(e,j()._payloadRevivers)}function bn(e,t){j()._payloadRevivers[e]=t}function xn(e){try{return JSON.parse(e)}catch{return e}}var Sn=[[`NuxtError`,e=>et(e)],[`EmptyShallowRef`,e=>_e(e===`_`?void 0:e===`0n`?BigInt(0):xn(e))],[`EmptyRef`,e=>me(e===`_`?void 0:e===`0n`?BigInt(0):xn(e))],[`ShallowRef`,e=>_e(e)],[`ShallowReactive`,e=>Te(e)],[`Ref`,e=>me(e)],[`Reactive`,e=>Ne(e)]],Cn=N({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of Sn)bn(e,t);Object.assign(e.payload,([t,n]=A(()=>e.runWithContext(vn)),t=await t,n(),t)),delete window.__NUXT__}},1);async function wn(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&Ot(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!bt.has(t))continue;let n=Nt({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=kt(n)||At(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):bt.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function Tn(e={}){let t=e.domOptions?.render||wn;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return Wt({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function En(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}function Dn(e={}){let t=Tn({domOptions:{render:En(()=>wn(t),e=>setTimeout(e,0))},...e});return t.install=qt(t),t}var On={disableDefaults:!0},kn=N({name:`nuxt:head`,enforce:`pre`,setup(e){let t=Dn(On);e.vueApp.use(t);{let n=!0,r=async()=>{n=!1,await wn(t)};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)}}}),An=typeof document<`u`;function jn(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Mn(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&jn(e.default)}var z=Object.assign;function Nn(e,t){let n={};for(let r in t){let i=t[r];n[r]=B(i)?i.map(e):e(i)}return n}var Pn=()=>{},B=Array.isArray;function Fn(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var V=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),In=Symbol(``);V.MATCHER_NOT_FOUND,V.NAVIGATION_GUARD_REDIRECT,V.NAVIGATION_ABORTED,V.NAVIGATION_CANCELLED,V.NAVIGATION_DUPLICATED;function Ln(e,t){return z(Error(),{type:e,[In]:!0},t)}function Rn(e,t){return e instanceof Error&&In in e&&(t==null||!!(e.type&t))}var zn=Symbol(``),Bn=Symbol(``),Vn=Symbol(``),Hn=Symbol(``),Un=Symbol(``),Wn=/#/g,Gn=/&/g,Kn=/\//g,qn=/=/g,Jn=/\?/g,Yn=/\+/g,Xn=/%5B/g,Zn=/%5D/g,Qn=/%5E/g,$n=/%60/g,er=/%7B/g,tr=/%7C/g,nr=/%7D/g,rr=/%20/g;function ir(e){return e==null?``:encodeURI(``+e).replace(tr,`|`).replace(Xn,`[`).replace(Zn,`]`)}function ar(e){return ir(e).replace(er,`{`).replace(nr,`}`).replace(Qn,`^`)}function or(e){return ir(e).replace(Yn,`%2B`).replace(rr,`+`).replace(Wn,`%23`).replace(Gn,`%26`).replace($n,"`").replace(er,`{`).replace(nr,`}`).replace(Qn,`^`)}function sr(e){return or(e).replace(qn,`%3D`)}function cr(e){return ir(e).replace(Wn,`%23`).replace(Jn,`%3F`)}function lr(e){return cr(e).replace(Kn,`%2F`)}function ur(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var dr=/\/$/,fr=e=>e.replace(dr,``);function pr(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=xr(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:ur(o)}}function mr(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function hr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function gr(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&_r(t.matched[r],n.matched[i])&&vr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _r(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!yr(e[n],t[n]))return!1;return!0}function yr(e,t){return B(e)?br(e,t):B(t)?br(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function br(e,t){return B(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function xr(e,t){if(e.startsWith(`/`))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 H={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Sr=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Cr=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function wr(e){if(!e)if(An){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),fr(e)}var Tr=/^[^#]+#/;function Er(e,t){return e.replace(Tr,`#`)+t}function Dr(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 Or=()=>({left:window.scrollX,top:window.scrollY});function kr(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=Dr(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 Ar(e,t){return(history.state?history.state.position-t:-1)+e}var jr=new Map;function Mr(e,t){jr.set(e,t)}function Nr(e){let t=jr.get(e);return jr.delete(e),t}function Pr(e){return typeof e==`string`||e&&typeof e==`object`}function Fr(e){return typeof e==`string`||typeof e==`symbol`}function Ir(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(Yn,` `),i=r.indexOf(`=`),a=ur(i<0?r:r.slice(0,i)),o=i<0?null:ur(r.slice(i+1));if(a in t){let e=t[a];B(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Lr(e){let t=``;for(let n in e){let r=e[n];if(n=sr(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(B(r)?r.map(e=>e&&or(e)):[r&&or(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Rr(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=B(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function zr(){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 Br(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(Ln(V.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Pr(e)?c(Ln(V.NAVIGATION_GUARD_REDIRECT,{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 Vr(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(jn(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Br(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=Mn(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Br(c,n,r,o,e,i)()}))}}return a}function Hr(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=>_r(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>_r(e,s))||i.push(s))}return[n,r,i]}var Ur=()=>location.protocol+`//`+location.host;function Wr(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),hr(n,``)}return hr(n,e)+r+i}function Gr(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Wr(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:Sr.pop,direction:u?u>0?Cr.forward:Cr.back:Cr.unknown})})};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(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(z({},e.state,{scroll:Or()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Kr(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Or():null}}function qr(e){let{history:t,location:n}=window,r={value:Wr(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:Ur()+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){a(e,z({},t.state,Kr(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=z({},i.value,t.state,{forward:e,scroll:Or()});a(o.current,o,!0),a(e,z({},Kr(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Jr(e){e=wr(e);let t=qr(e),n=Gr(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=z({location:``,base:e,go:r,createHref:Er.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 Yr=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),U=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(U||{}),Xr={type:Yr.Static,value:``},Zr=/[a-zA-Z0-9_]/;function Qr(e){if(!e)return[[]];if(e===`/`)return[[Xr]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=U.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===U.Static?a.push({type:Yr.Static,value:l}):n===U.Param||n===U.ParamRegExp||n===U.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Yr.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==U.ParamRegExp){r=n,n=U.EscapeNext;continue}switch(n){case U.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=U.Param):f();break;case U.EscapeNext:f(),n=r;break;case U.Param:c===`(`?n=U.ParamRegExp:Zr.test(c)?f():(d(),n=U.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case U.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=U.ParamRegExpEnd:u+=c;break;case U.ParamRegExpEnd:d(),n=U.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===U.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var $r=`[^/]+?`,ei={sensitive:!1,strict:!1,start:!0,end:!0},W=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}(W||{}),ti=/[.+*?^${}()[\]/\\]/g;function ni(e,t){let n=z({},ei,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[W.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=W.Segment+(n.sensitive?W.BonusCaseSensitive:0);if(o.type===Yr.Static)r||(i+=`/`),i+=o.value.replace(ti,`\\$&`),s+=W.Static;else if(o.type===Yr.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||$r;if(u!==$r){s+=W.BonusCustomRegExp;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+=W.Dynamic,c&&(s+=W.BonusOptional),n&&(s+=W.BonusRepeatable),u===`.*`&&(s+=W.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=W.BonusStrict}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===Yr.Static)n+=e.value;else if(e.type===Yr.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(B(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=B(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 ri(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]===W.Static+W.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===W.Static+W.Segment?1:-1:0}function ii(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=ri(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ai(r))return 1;if(ai(i))return-1}return i.length-r.length}function ai(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var oi={strict:!1,end:!0,sensitive:!1};function si(e,t,n){let r=z(ni(Qr(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ci(e,t){let n=[],r=new Map;t=Fn(oi,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=ui(e);s.aliasOf=r&&r.record;let l=Fn(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(ui(z({},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&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=si(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!fi(d)&&o(e.name)),gi(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)}:Pn}function o(e){if(Fr(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=mi(e,n);n.splice(t,0,e),e.record.name&&!fi(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 Ln(V.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=z(li(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&li(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);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Ln(V.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=z({},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:pi(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 li(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function ui(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:di(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 di(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 fi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pi(e){return e.reduce((e,t)=>z(e,t.meta),{})}function mi(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;ii(e,t[i])<0?r=i:n=i+1}let i=hi(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function hi(e){let t=e;for(;t=t.parent;)if(gi(t)&&ii(e,t)===0)return t}function gi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _i(e){let t=h(Vn),n=h(Hn),r=F(()=>{let n=I(e.to);return t.resolve(n)}),i=F(()=>{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(_r.bind(null,i));if(o>-1)return o;let s=Si(e[t-2]);return t>1&&Si(i)===s&&a[a.length-1].path!==s?a.findIndex(_r.bind(null,e[t-2])):o}),a=F(()=>i.value>-1&&xi(n.params,r.value.params)),o=F(()=>i.value>-1&&i.value===n.matched.length-1&&vr(n.params,r.value.params));function s(n={}){if(bi(n)){let n=t[I(e.replace)?`replace`:`push`](I(e.to)).catch(Pn);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:F(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function vi(e){return e.length===1?e[0]:e}var yi=u({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:_i,setup(e,{slots:t}){let n=Ne(_i(e)),{options:r}=h(Vn),i=F(()=>({[Ci(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Ci(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&vi(t.default(n));return e.custom?r:w(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function bi(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 xi(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!B(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Si(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Ci=(e,t,n)=>e??t??n,wi=u({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=h(Un),i=F(()=>e.route||r.value),a=h(Bn,0),o=F(()=>{let e=I(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=F(()=>i.value.matched[o.value]);b(Bn,F(()=>o.value+1)),b(zn,s),b(Un,i);let c=me();return fe(()=>[c.value,s.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||!_r(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Ti(n.default,{Component:l,route:r});let u=o.props[a],d=w(l,z({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Ti(n.default,{Component:d,route:r})||d}}});function Ti(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Ei=wi;function Di(e){let t=ci(e.routes,e),n=e.parseQuery||Ir,r=e.stringifyQuery||Lr,i=e.history,a=zr(),o=zr(),s=zr(),c=_e(H),l=H;An&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=Nn.bind(null,e=>``+e),d=Nn.bind(null,lr),f=Nn.bind(null,ur);function p(e,n){let r,i;return Fr(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=z({},a||c.value),typeof e==`string`){let r=pr(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return z(r,o,{params:f(o.params),hash:ur(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=z({},e,{path:pr(n,e.path,a.path).path});else{let t=z({},e.params);for(let e in t)t[e]??delete t[e];o=z({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=mr(r,z({},e,{hash:ar(l),path:s.path})),m=i.createHref(p);return z({fullPath:p,hash:l,query:r===Lr?Rr(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?pr(n,e,c.value.path):z({},e)}function y(e,t){if(l!==e)return Ln(V.NAVIGATION_CANCELLED,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(z(v(e),{replace:!0}))}function S(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=v(i):{path:i},i.params={}),z({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(z(v(u),{state:typeof u==`object`?z({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&gr(r,i,n)&&(f=Ln(V.NAVIGATION_DUPLICATED,{to:d,from:i}),le(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>Rn(e)?Rn(e,V.NAVIGATION_GUARD_REDIRECT)?e:ce(e):oe(e,d,i)).then(e=>{if(e){if(Rn(e,V.NAVIGATION_GUARD_REDIRECT))return C(z({replace:s},v(e.to),{state:typeof e.to==`object`?z({},a,e.to.state):a,force:o}),t||d)}else e=re(d,i,!0,s,a);return te(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=de.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=Hr(e,t);n=Vr(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Br(r,e,t))});let c=w.bind(null,e,t);return n.push(c),fe(n).then(()=>{n=[];for(let r of a.list())n.push(Br(r,e,t));return n.push(c),fe(n)}).then(()=>{n=Vr(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Br(r,e,t))});return n.push(c),fe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(B(r.beforeEnter))for(let i of r.beforeEnter)n.push(Br(i,e,t));else n.push(Br(r.beforeEnter,e,t));return n.push(c),fe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Vr(s,`beforeRouteEnter`,e,t,T),n.push(c),fe(n))).then(()=>{n=[];for(let r of o.list())n.push(Br(r,e,t));return n.push(c),fe(n)}).catch(e=>Rn(e,V.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function te(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function re(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===H,l=An?history.state:{};n&&(r||s?i.replace(e.fullPath,z({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,le(e,t,n,s),ce()}let E;function ie(){E||=i.listen((e,t,n)=>{if(!A.listening)return;let r=_(e),a=S(r,A.currentRoute.value);if(a){C(z(a,{replace:!0,force:!0}),r).catch(Pn);return}l=r;let o=c.value;An&&Mr(Ar(o.fullPath,n.delta),Or()),ee(r,o).catch(e=>Rn(e,V.NAVIGATION_ABORTED|V.NAVIGATION_CANCELLED)?e:Rn(e,V.NAVIGATION_GUARD_REDIRECT)?(C(z(v(e.to),{force:!0}),r).then(e=>{Rn(e,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Sr.pop&&i.go(-1,!1)}).catch(Pn),Promise.reject()):(n.delta&&i.go(-n.delta,!1),oe(e,r,o))).then(e=>{e||=re(r,o,!1),e&&(n.delta&&!Rn(e,V.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Sr.pop&&Rn(e,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),te(r,o,e)}).catch(Pn)})}let ae=zr(),D=zr(),O;function oe(e,t,n){ce(e);let r=D.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function se(){return O&&c.value!==H?Promise.resolve():new Promise((e,t)=>{ae.add([e,t])})}function ce(e){return O||(O=!e,ie(),ae.list().forEach(([t,n])=>e?n(e):t()),ae.reset()),e}function le(t,n,r,i){let{scrollBehavior:a}=e;if(!An||!a)return Promise.resolve();let o=!r&&Nr(Ar(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return ne().then(()=>a(t,n,o)).then(e=>e&&kr(e)).catch(e=>oe(e,t,n))}let k=e=>i.go(e),ue,de=new Set,A={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:k,back:()=>k(-1),forward:()=>k(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:D.add,isReady:se,install(e){e.component(`RouterLink`,yi),e.component(`RouterView`,Ei),e.config.globalProperties.$router=A,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>I(c)}),An&&!ue&&c.value===H&&(ue=!0,b(i.location).catch(e=>{}));let t={};for(let e in H)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Vn,A),e.provide(Hn,Te(t)),e.provide(Un,c);let n=e.unmount;de.add(e),e.unmount=function(){de.delete(e),de.size<1&&(l=H,E&&E(),E=null,c.value=H,ue=!1,O=!1),n()}}};function fe(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return A}var 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?w(he,e===!0?{}:e,t):t});function Pi(e){return Array.isArray(e)?e:[e]}var Fi=[{name:`configs`,path:`/configs`,meta:{scrollToTop(e){return!(`index`in e.query)}},component:()=>nn(()=>import(`./DDlp5JcD.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)},{name:`dev`,path:`/dev`,component:()=>nn(()=>import(`./BKBBWEz4.js`),__vite__mapDeps([13,1,2,3]),import.meta.url)},{name:`extends`,path:`/extends`,component:()=>nn(()=>import(`./DBzO6yCd.js`),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9]),import.meta.url)},{name:`files`,path:`/files`,component:()=>nn(()=>import(`./DYop16xf.js`),__vite__mapDeps([15,1,2,3,4,5,6,10]),import.meta.url)},{name:`rules`,path:`/rules`,component:()=>nn(()=>import(`./C62pfWG4.js`),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,11,12]),import.meta.url)},{name:`index`,path:`/`,component:()=>nn(()=>import(`./BFHLvPhn.js`),__vite__mapDeps([17,5,2,3]),import.meta.url)}],Ii=(e,t)=>({default:()=>e?w(ze,e===!0?{}:e,t):t.default?.()}),Li=/(:\w+)\([^)]+\)/g,Ri=/(:\w+)[?+*]/g,zi=/:\w+/g;function Bi(e){let t=e?.meta.key??e.path.replace(Li,`$1`).replace(Ri,`$1`).replace(zi,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function Vi(e,t){return e===t||t===H?!1:Bi(e)===Bi(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Hi(e){return Array.isArray(e)?e:[e]}function Ui(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Hi(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Hi(n.onBeforeLeave):void 0});return $e(...t)}var Wi={scrollBehavior(e,t,n){let r=j(),i=R().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Gi(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===H?Ki(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(Ki(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function Gi(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Ki(e,t,n,r){if(n)return n;let i=Vi(e,t);return e.hash?{el:e.hash,top:Gi(e.hash),behavior:i?r:`instant`}:{left:0,top:0}}var qi={hashMode:!1,scrollBehaviorType:`auto`,...Wi},Ji=[tt(async(e,t)=>{let n,r;if(!e.meta?.validate)return;let i=([n,r]=A(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;let a=et({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<`u`&&window.history.pushState({},``,t.fullPath),a},1),tt(e=>{let t=cn({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return Ke(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],Yi={};function Xi(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),Ge(n,``)}let s=Ge(r,e),c=!n||He(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Zi=N({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=le().app.baseURL,i=qi.history?.(r)??Jr(r),a=qi.routes?([t,n]=A(()=>qi.routes(Fi)),t=await t,n(),t)??Fi:Fi,o,s=Di({...qi,scrollBehavior:(e,t,n)=>{if(t===H){o=n;return}if(qi.scrollBehavior){if(s.options.scrollBehavior=qi.scrollBehavior,`scrollRestoration`in window.history){let e=s.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return qi.scrollBehavior(e,H,o||n)}},history:i,routes:a});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(s);let c=_e(s.currentRoute.value);s.afterEach((e,t)=>{c.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,`previousRoute`,{get:()=>c.value});let l=Xi(r,window.location,e.payload.path),u=_e(s.currentRoute.value),d=()=>{u.value=s.currentRoute.value};s.afterEach((e,t)=>{e.matched.at(-1)?.components?.default===t.matched.at(-1)?.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=Te(f),e._middleware||={global:[],named:{}};let p=Je();s.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(at),r&&await e.callHook(`page:loading:end`)});try{[t,n]=A(()=>s.isReady()),await t,n()}catch(r){[t,n]=A(()=>e.runWithContext(()=>Ze(r))),await t,n()}let m=l===s.currentRoute.value.fullPath?s.currentRoute.value:s.resolve(l),h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&l!==e.payload.path&&He(s.currentRoute.value.path,e.payload.path);d();let g=e.payload.state._layout;return s.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=Ne(t.meta),e.isHydrating&&g&&!ke(t.meta.layout)&&(t.meta.layout=g),e._processingMiddleware=!0;{let r=new Set([...Ji,...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=cn({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 Yi[i]?.().then(e=>e.default||e):i;if(!r)throw Error(`Unknown route middleware: '${i}'.`);try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||et({status:404,statusText:`Page Not Found: ${l}`});return await e.runWithContext(()=>Ze(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return rt(i)&&i.fatal&&await e.runWithContext(()=>Ze(i)),i}catch(t){let n=et(t);return n.fatal&&await e.runWithContext(()=>Ze(n)),n}}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),s.afterEach(t=>{if(t.matched.length===0&&!p.value)return e.runWithContext(()=>Ze(et({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in m&&(m.name=void 0),h){let t=s.resolve(e.payload.path);`name`in t&&(t.name=void 0),await s.replace({...t,force:!0}),e.hooks.hookOnce(`app:suspense:resolve`,async()=>{await s.replace({...m,force:!0})})}else await s.replace({...m,force:!0});s.options.scrollBehavior=qi.scrollBehavior}catch(t){await e.runWithContext(()=>Ze(t))}}),{provide:{router:s}}}},1),Qi=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),$i=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ea=e=>{let t=j();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Qi(()=>e())}):Qi(()=>e())},ta=N({name:`nuxt:payload`,setup(e){let t=new Set;R().beforeResolve(async(n,r)=>{if(n.path===r.path)return;let i=await ln(n.path);if(i){for(let n of t)delete e.static.data[n];for(let n in i.data)n in e.static.data||t.add(n),e.static.data[n]=i.data[n]}}),ea(()=>{e.hooks.hook(`link:prefetch`,async e=>{let{hostname:t}=new URL(e,window.location.href);t===window.location.hostname&&await ln(e).catch(()=>{console.warn(`[nuxt] Error preloading payload for`,e)})}),navigator.connection?.effectiveType!==`slow-2g`&&setTimeout(sn,1e3)})}}),na=N(()=>{let e=R();ea(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),ra=N(e=>{let t;async function n(){let r;try{r=await sn()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,xe);try{let n=await $fetch(dt(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}ea(()=>{t=setTimeout(n,xe)})});function ia(e={}){let t=e.path||window.location.pathname,n={};try{n=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||n?.path!==t||n?.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:j().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var aa=N({name:`nuxt:chunk-reload`,setup(e){let t=R(),n=le(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){ia({path:qe(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),oa=N({name:`nuxt:global-components`}),sa={};function ca(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function la(e,t=R()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>la(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var ua=N({name:`nuxt:prefetch`,setup(e){let t=R();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof sa[t]==`function`&&await sa[t]()})}),e.hooks.hook(`link:prefetch`,e=>{if(Ke(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Pi(n.meta.middleware);i=i.filter(e=>typeof e==`string`);for(let e of i)typeof Yi[e]==`function`&&Yi[e]();typeof r==`string`&&r in sa&&ca(sa[r])})}}),da=N(()=>{}),fa=[`top`,`right`,`bottom`,`left`],pa=[`start`,`end`],ma=fa.reduce((e,t)=>e.concat(t,t+`-`+pa[0],t+`-`+pa[1]),[]),ha=Math.min,ga=Math.max,_a={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function va(e,t,n){return ga(e,ha(t,n))}function ya(e,t){return typeof e==`function`?e(t):e}function G(e){return e.split(`-`)[0]}function K(e){return e.split(`-`)[1]}function ba(e){return e===`x`?`y`:`x`}function xa(e){return e===`y`?`height`:`width`}function Sa(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Ca(e){return ba(Sa(e))}function wa(e,t,n){n===void 0&&(n=!1);let r=K(e),i=Ca(e),a=xa(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Na(o)),[o,Na(o)]}function Ta(e){let t=Na(e);return[Ea(e),t,Ea(t)]}function Ea(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Da=[`left`,`right`],Oa=[`right`,`left`],ka=[`top`,`bottom`],Aa=[`bottom`,`top`];function ja(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Oa:Da:t?Da:Oa;case`left`:case`right`:return t?ka:Aa;default:return[]}}function Ma(e,t,n,r){let i=K(e),a=ja(G(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ea)))),a}function Na(e){let t=G(e);return _a[t]+e.slice(t.length)}function Pa(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fa(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Pa(e)}function Ia(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 La(e,t,n){let{reference:r,floating:i}=e,a=Sa(t),o=Ca(t),s=xa(o),c=G(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}}switch(K(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Ra(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}=ya(t,e),p=Fa(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ia(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=Ia(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 za=50,Ba=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ra},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=La(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<za&&(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}=La(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Va=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}=ya(e,t)||{};if(l==null)return{};let d=Fa(u),f={x:n,y:r},p=Ca(i),m=xa(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,ee=ha(d[_],T),te=ha(d[v],T),ne=ee,re=C-h[m]-te,E=C/2-h[m]/2+w,ie=va(ne,E,re),ae=!c.arrow&&K(i)!=null&&E!==ie&&a.reference[m]/2-(E<ne?ee:te)-h[m]/2<0,D=ae?E<ne?E-ne:E-re:0;return{[p]:f[p]+D,data:{[p]:ie,centerOffset:E-ie-D,...ae&&{alignmentOffset:D}},reset:ae}}});function Ha(e,t,n){return(e?[...n.filter(t=>K(t)===e),...n.filter(t=>K(t)!==e)]:n.filter(e=>G(e)===e)).filter(n=>e?K(n)===e||(t?Ea(n)!==n:!1):!0)}var Ua=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=ma,autoAlignment:u=!0,...d}=ya(e,t),f=c!==void 0||l===ma?Ha(c||null,u,l):l,p=await a.detectOverflow(t,d),m=r.autoPlacement?.index||0,h=f[m];if(h==null)return{};let g=wa(h,n,await(a.isRTL==null?void 0:a.isRTL(o.floating)));if(i!==h)return{reset:{placement:f[0]}};let _=[p[G(h)],p[g[0]],p[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:h,overflows:_}],y=f[m+1];if(y)return{data:{index:m+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=K(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,K(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:m+1,overflows:v},reset:{placement:x}}}}},Wa=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}=ya(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=G(r),_=Sa(o),v=G(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Na(o)]:Ta(o)),x=p!==`none`;!d&&x&&b.push(...Ma(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=wa(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`&&_!==Sa(t))||T.every(e=>Sa(e.placement)===_?e.overflows[0]>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=Sa(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;break}if(r!==n)return{reset:{placement:n}}}return{}}}},Ga=new Set([`left`,`top`]);async function Ka(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=G(n),s=K(n),c=Sa(n)===`y`,l=Ga.has(o)?-1:1,u=a&&c?-1:1,d=ya(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 qa=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 Ka(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}}}}},Ja=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}=ya(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Sa(G(i)),p=ba(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=va(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=va(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Ya=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=ya(e,t),u=await o.detectOverflow(t,l),d=G(i),f=K(i),p=Sa(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ha(h-u[g],v),x=ha(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=ga(u.left,0),t=ga(u.right,0),n=ga(u.top,0),r=ga(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:ga(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:ga(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function q(e){return e.ownerDocument?.defaultView||window}function J(e){return q(e).getComputedStyle(e)}var Xa=Math.min,Za=Math.max,Qa=Math.round;function $a(e){let t=J(e),n=parseFloat(t.width),r=parseFloat(t.height),i=e.offsetWidth,a=e.offsetHeight,o=Qa(n)!==i||Qa(r)!==a;return o&&(n=i,r=a),{width:n,height:r,fallback:o}}function eo(e){return io(e)?(e.nodeName||``).toLowerCase():``}var to;function no(){if(to)return to;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(to=e.brands.map((e=>e.brand+`/`+e.version)).join(` `),to):navigator.userAgent}function Y(e){return e instanceof q(e).HTMLElement}function ro(e){return e instanceof q(e).Element}function io(e){return e instanceof q(e).Node}function ao(e){return typeof ShadowRoot>`u`?!1:e instanceof q(e).ShadowRoot||e instanceof ShadowRoot}function oo(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function so(e){return[`table`,`td`,`th`].includes(eo(e))}function co(e){let t=/firefox/i.test(no()),n=J(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!==`none`||n.perspective!==`none`||!!r&&r!==`none`||t&&n.willChange===`filter`||t&&!!n.filter&&n.filter!==`none`||[`transform`,`perspective`].some((e=>n.willChange.includes(e)))||[`paint`,`layout`,`strict`,`content`].some((e=>{let t=n.contain;return t!=null&&t.includes(e)}))}function lo(){return!/^((?!chrome|android).)*safari/i.test(no())}function uo(e){return[`html`,`body`,`#document`].includes(eo(e))}function fo(e){return ro(e)?e:e.contextElement}var po={x:1,y:1};function mo(e){let t=fo(e);if(!Y(t))return po;let n=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=$a(t),o=(a?Qa(n.width):n.width)/r,s=(a?Qa(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function ho(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=fo(e),o=po;t&&(r?ro(r)&&(o=mo(r)):o=mo(e));let s=a?q(a):window,c=!lo()&&n,l=(i.left+(c&&s.visualViewport?.offsetLeft||0))/o.x,u=(i.top+(c&&s.visualViewport?.offsetTop||0))/o.y,d=i.width/o.x,f=i.height/o.y;if(a){let e=q(a),t=r&&ro(r)?q(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=mo(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=t.x,u+=t.y,n=q(n).frameElement}}return{width:d,height:f,top:u,right:l+d,bottom:u+f,left:l,x:l,y:u}}function go(e){return((io(e)?e.ownerDocument:e.document)||window.document).documentElement}function _o(e){return ro(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vo(e){return ho(go(e)).left+_o(e).scrollLeft}function yo(e){if(eo(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||ao(e)&&e.host||go(e);return ao(t)?t.host:t}function bo(e){let t=yo(e);return uo(t)?t.ownerDocument.body:Y(t)&&oo(t)?t:bo(t)}function xo(e,t){t===void 0&&(t=[]);let n=bo(e),r=n===e.ownerDocument?.body,i=q(n);return r?t.concat(i,i.visualViewport||[],oo(n)?n:[]):t.concat(n,xo(n))}function So(e,t,n){return t===`viewport`?Ia(function(e,t){let n=q(e),r=go(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=lo();(e||!e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}(e,n)):ro(t)?Ia(function(e,t){let n=ho(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Y(e)?mo(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n)):Ia(function(e){let t=go(e),n=_o(e),r=e.ownerDocument.body,i=Za(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Za(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+vo(e),s=-n.scrollTop;return J(r).direction===`rtl`&&(o+=Za(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}(go(e)))}function Co(e){return Y(e)&&J(e).position!==`fixed`?e.offsetParent:null}function wo(e){let t=q(e),n=Co(e);for(;n&&so(n)&&J(n).position===`static`;)n=Co(n);return n&&(eo(n)===`html`||eo(n)===`body`&&J(n).position===`static`&&!co(n))?t:n||function(e){let t=yo(e);for(;Y(t)&&!uo(t);){if(co(t))return t;t=yo(t)}return null}(e)||t}function To(e,t,n){let r=Y(t),i=go(t),a=ho(e,!0,n===`fixed`,t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&n!==`fixed`)if((eo(t)!==`body`||oo(i))&&(o=_o(t)),Y(t)){let e=ho(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=vo(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}var Eo={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?function(e,t){let n=t.get(e);if(n)return n;let r=xo(e).filter((e=>ro(e)&&eo(e)!==`body`)),i=null,a=J(e).position===`fixed`,o=a?yo(e):e;for(;ro(o)&&!uo(o);){let e=J(o),t=co(o);(a?t||i:t||e.position!==`static`||!i||![`absolute`,`fixed`].includes(i.position))?i=e:r=r.filter((e=>e!==o)),o=yo(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=a[0],s=a.reduce(((e,n)=>{let r=So(t,n,i);return e.top=Za(r.top,e.top),e.right=Xa(r.right,e.right),e.bottom=Xa(r.bottom,e.bottom),e.left=Za(r.left,e.left),e}),So(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=Y(n),a=go(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s={x:1,y:1},c={x:0,y:0};if((i||!i&&r!==`fixed`)&&((eo(n)!==`body`||oo(a))&&(o=_o(n)),Y(n))){let e=ho(n);s=mo(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+c.x,y:t.y*s.y-o.scrollTop*s.y+c.y}},isElement:ro,getDimensions:function(e){return Y(e)?$a(e):e.getBoundingClientRect()},getOffsetParent:wo,getDocumentElement:go,getScale:mo,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||wo,a=this.getDimensions;return{reference:To(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>J(e).direction===`rtl`},Do=(e,t,n)=>{let r=new Map,i={platform:Eo,...n},a={...i.platform,_c:r};return Ba(e,t,{...i,platform:a})};function Oo(e,t){for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]==`object`&&e[n]?Oo(e[n],t[n]):e[n]=t[n])}var X={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 ko(e,t){let n=X.themes[e]||{},r;do r=n[t],typeof r>`u`?n.$extend?n=X.themes[n.$extend]||{}:(n=null,r=X[t]):n=null;while(n);return r}function Ao(e){let t=[e],n=X.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=X.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function jo(e){let t=[e],n=X.themes[e]||{};do n.$extend?(t.push(n.$extend),n=X.themes[n.$extend]||{}):n=null;while(n);return t}var Mo=!1;if(typeof window<`u`){Mo=!1;try{let e=Object.defineProperty({},`passive`,{get(){Mo=!0}});window.addEventListener(`test`,null,e)}catch{}}var No=!1;typeof window<`u`&&typeof navigator<`u`&&(No=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Po=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Fo={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},Io={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function Lo(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ro(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var Z=[],zo=null,Bo={};function Vo(e){let t=Bo[e];return t||=Bo[e]=[],t}var Ho=function(){};typeof window<`u`&&(Ho=window.Element);function Q(e){return function(t){return ko(t.theme,e)}}var Uo=`__floating-vue__popper`,Wo=()=>u({name:`VPopper`,provide(){return{[Uo]:{parentPopper:this}}},inject:{[Uo]:{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:Q(`disabled`)},positioningDisabled:{type:Boolean,default:Q(`positioningDisabled`)},placement:{type:String,default:Q(`placement`),validator:e=>Po.includes(e)},delay:{type:[String,Number,Object],default:Q(`delay`)},distance:{type:[Number,String],default:Q(`distance`)},skidding:{type:[Number,String],default:Q(`skidding`)},triggers:{type:Array,default:Q(`triggers`)},showTriggers:{type:[Array,Function],default:Q(`showTriggers`)},hideTriggers:{type:[Array,Function],default:Q(`hideTriggers`)},popperTriggers:{type:Array,default:Q(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:Q(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:Q(`popperHideTriggers`)},container:{type:[String,Object,Ho,Boolean],default:Q(`container`)},boundary:{type:[String,Ho],default:Q(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:Q(`strategy`)},autoHide:{type:[Boolean,Function],default:Q(`autoHide`)},handleResize:{type:Boolean,default:Q(`handleResize`)},instantMove:{type:Boolean,default:Q(`instantMove`)},eagerMount:{type:Boolean,default:Q(`eagerMount`)},popperClass:{type:[String,Array,Object],default:Q(`popperClass`)},computeTransformOrigin:{type:Boolean,default:Q(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:Q(`autoMinSize`)},autoSize:{type:[Boolean,String],default:Q(`autoSize`)},autoMaxSize:{type:Boolean,default:Q(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:Q(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:Q(`preventOverflow`)},overflowPadding:{type:[Number,String],default:Q(`overflowPadding`)},arrowPadding:{type:[Number,String],default:Q(`arrowPadding`)},arrowOverflow:{type:Boolean,default:Q(`arrowOverflow`)},flip:{type:Boolean,default:Q(`flip`)},shift:{type:Boolean,default:Q(`shift`)},shiftCrossAxis:{type:Boolean,default:Q(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:Q(`noAutoFocus`)},disposeTimeout:{type:Number,default:Q(`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==null?this.randomId:this.ariaId},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[Uo]?.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}={}){var r;(r=this.parentPopper)!=null&&r.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}={}){if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}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(qa({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(Ua({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Ja({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Wa({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Va({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})=>{var i;if((i=r.autoSize)!=null&&i.skip)return{};let a,o;return n.startsWith(`top`)||n.startsWith(`bottom`)?a=e.reference.width:o=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=a==null?null:`${a}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=o==null?null:`${o}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Ya({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 Do(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){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),zo&&this.instantMove&&zo.instantMove&&zo!==this.parentPopper){zo.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay(`show`))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(zo=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){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ro(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...xo(this.$_referenceNode),...xo(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<Z.length;n++)t=Z[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}Z.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of jo(this.theme))Vo(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 Ro(),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(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Lo(Z,this),Z.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of jo(this.theme)){let t=Vo(e);Lo(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}zo===this&&(zo=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),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 Ro(),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,Fo,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Fo,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,Io,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Io,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,Mo?{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($o>=e.left&&$o<=e.right&&es>=e.top&&es<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=$o-Zo,n=es-Qo,r=e.left+e.width/2-Zo+(e.top+e.height/2)-Qo+e.width+e.height,i=Zo+t*r,a=Qo+n*r;return ts(Zo,Qo,i,a,e.left,e.top,e.left,e.bottom)||ts(Zo,Qo,i,a,e.left,e.top,e.right,e.top)||ts(Zo,Qo,i,a,e.right,e.top,e.right,e.bottom)||ts(Zo,Qo,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(No){let e=Mo?{passive:!0,capture:!0}:!0;document.addEventListener(`touchstart`,e=>Go(e,!0),e),document.addEventListener(`touchend`,e=>Ko(e,!0),e)}else window.addEventListener(`mousedown`,e=>Go(e,!1),!0),window.addEventListener(`click`,e=>Ko(e,!1),!0);window.addEventListener(`resize`,Xo)}function Go(e,t){if(X.autoHideOnMousedown)qo(e,t);else for(let t=0;t<Z.length;t++){let n=Z[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function Ko(e,t){X.autoHideOnMousedown||qo(e,t)}function qo(e,t){let n={};for(let r=Z.length-1;r>=0;r--){let i=Z[r];try{let r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&Jo(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let a=i.parentPopper;for(;a&&Jo(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Jo(e,t,n){return n.closeAllPopover||n.closePopover&&t||Yo(e,n)&&!t}function Yo(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Xo(){for(let e=0;e<Z.length;e++)Z[e].$_computePosition()}var Zo=0,Qo=0,$o=0,es=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{Zo=$o,Qo=es,$o=e.clientX,es=e.clientY},Mo?{passive:!0}:void 0);function ts(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 ns={extends:Wo()},rs=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function is(e,t,n,r,i,a){return D(),f(`div`,{ref:`reference`,class:v([`v-popper`,{"v-popper--shown":e.slotData.isShown}])},[oe(e.$slots,`default`,S(C(e.slotData)))],2)}var as=rs(ns,[[`render`,is]]);function os(){var e=window.navigator.userAgent,t=e.indexOf(`MSIE `);if(t>0)return parseInt(e.substring(t+5,e.indexOf(`.`,t)),10);if(e.indexOf(`Trident/`)>0){var n=e.indexOf(`rv:`);return parseInt(e.substring(n+3,e.indexOf(`.`,n)),10)}var r=e.indexOf(`Edge/`);return r>0?parseInt(e.substring(r+5,e.indexOf(`.`,r)),10):-1}var ss;function cs(){cs.init||(cs.init=!0,ss=os()!==-1)}var ls={name:`ResizeObserver`,props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:[`notify`],mounted(){cs(),ne(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});let e=document.createElement(`object`);this._resizeObject=e,e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`tabindex`,-1),e.onload=this.addResizeHandlers,e.type=`text/html`,ss&&this.$el.appendChild(e),e.data=`about:blank`,ss||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit(`notify`,{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener(`resize`,this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ss&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener(`resize`,this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},us=ve(`data-v-b329ee4c`);Ee(`data-v-b329ee4c`);var ds={class:`resize-observer`,tabindex:`-1`};g(),ls.render=us((e,t,n,r,i,a)=>(D(),P(`div`,ds))),ls.__scopeId=`data-v-b329ee4c`,ls.__file=`src/components/ResizeObserver.vue`;var fs=(e=`theme`)=>({computed:{themeClass(){return Ao(this[e])}}}),ps=u({name:`VPopperContent`,components:{ResizeObserver:ls},mixins:[fs()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:[`hide`,`resize`],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),ms=[`id`,`aria-hidden`,`tabindex`,`data-popper-placement`],hs={ref:`inner`,class:`v-popper__inner`},gs=[k(`div`,{class:`v-popper__arrow-outer`},null,-1),k(`div`,{class:`v-popper__arrow-inner`},null,-1)];function _s(e,t,n,r,i,a){let o=O(`ResizeObserver`);return D(),f(`div`,{id:e.popperId,ref:`popover`,class:v([`v-popper__popper`,[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:re(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?`false`:`true`,tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||=Re(t=>e.autoHide&&e.$emit(`hide`),[`esc`])},[k(`div`,{class:`v-popper__backdrop`,onClick:t[0]||=t=>e.autoHide&&e.$emit(`hide`)}),k(`div`,{class:`v-popper__wrapper`,style:re(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[k(`div`,hs,[e.mounted?(D(),f(ge,{key:0},[k(`div`,null,[oe(e.$slots,`default`)]),e.handleResize?(D(),P(o,{key:0,onNotify:t[1]||=t=>e.$emit(`resize`,t)})):E(``,!0)],64)):E(``,!0)],512),k(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:re(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},gs,4)],4)],46,ms)}var vs=rs(ps,[[`render`,_s]]),ys={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)}}},bs=function(){};typeof window<`u`&&(bs=window.Element);var xs=u({name:`VPopperWrapper`,components:{Popper:as,PopperContent:vs},mixins:[ys,fs(`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,bs,Boolean],default:void 0},boundary:{type:[String,bs],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)}}});function Ss(e,t,n,r,i,a){let o=O(`PopperContent`),s=O(`Popper`);return D(),P(s,x({ref:`popper`},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||=()=>e.$emit(`show`),onHide:t[1]||=()=>e.$emit(`hide`),"onUpdate:shown":t[2]||=t=>e.$emit(`update:shown`,t),onApplyShow:t[3]||=()=>e.$emit(`apply-show`),onApplyHide:t[4]||=()=>e.$emit(`apply-hide`),onCloseGroup:t[5]||=()=>e.$emit(`close-group`),onCloseDirective:t[6]||=()=>e.$emit(`close-directive`),onAutoHide:t[7]||=()=>e.$emit(`auto-hide`),onResize:t[8]||=()=>e.$emit(`resize`)}),{default:M(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:a,show:s,hide:c,handleResize:l,onResize:u,classes:d,result:f})=>[oe(e.$slots,`default`,{shown:n,show:s,hide:c}),T(o,{ref:`popperContent`,"popper-id":t,theme:e.finalTheme,shown:n,mounted:r,"skip-transition":i,"auto-hide":a,"handle-resize":l,classes:d,result:f,onHide:c,onResize:u},{default:M(()=>[oe(e.$slots,`popper`,{shown:n,hide:c})]),_:2},1032,[`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:3},16,[`theme`,`target-nodes`,`popper-node`,`class`])}var Cs=rs(xs,[[`render`,Ss]]),ws={...Cs,name:`VDropdown`,vPopperTheme:`dropdown`},Ts={...Cs,name:`VMenu`,vPopperTheme:`menu`},Es={...Cs,name:`VTooltip`,vPopperTheme:`tooltip`},Ds=u({name:`VTooltipDirective`,components:{Popper:Wo(),PopperContent:vs},mixins:[ys],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>ko(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ko(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}}}),Os=[`innerHTML`],ks=[`textContent`];function As(e,t,n,r,i,a){let o=O(`PopperContent`),s=O(`Popper`);return D(),P(s,x({ref:`popper`},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:M(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:a,hide:s,handleResize:c,onResize:l,classes:u,result:d})=>[T(o,{ref:`popperContent`,class:v({"v-popper--tooltip-loading":e.loading}),"popper-id":t,theme:e.theme,shown:n,mounted:r,"skip-transition":i,"auto-hide":a,"handle-resize":c,classes:u,result:d,onHide:s,onResize:l},{default:M(()=>[e.html?(D(),f(`div`,{key:0,innerHTML:e.finalContent},null,8,Os)):(D(),f(`div`,{key:1,textContent:L(e.finalContent)},null,8,ks))]),_:2},1032,[`class`,`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:1},16,[`theme`,`target-nodes`,`popper-node`,`onApplyShow`,`onApplyHide`])}var js=rs(Ds,[[`render`,As]]),Ms=`v-popper--has-tooltip`;function Ns(e,t){let n=e.placement;if(!n&&t)for(let e of Po)t[e]&&(n=e);return n||=ko(e.theme||`tooltip`,`placement`),n}function Ps(e,t,n){let r,i=typeof t;return r=i===`string`?{content:t}:t&&i===`object`?t:{content:!1},r.placement=Ns(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}var Fs,Is,Ls=0;function Rs(){if(Fs)return;Is=me([]),Fs=Ie({name:`VTooltipDirectiveApp`,setup(){return{directives:Is}},render(){return this.directives.map(e=>w(js,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement(`div`);document.body.appendChild(e),Fs.mount(e)}function zs(e,t,n){Rs();let r=me(Ps(e,t,n)),i=me(!1),a={id:Ls++,options:r,shown:i};return Is.value.push(a),e.classList&&e.classList.add(Ms),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function Bs(e){if(e.$_popper){let t=Is.value.indexOf(e.$_popper.item);t!==-1&&Is.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ms)}function Vs(e,{value:t,modifiers:n}){let r=Ps(e,t,n);if(!r.content||ko(r.theme||`tooltip`,`disabled`))Bs(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=zs(e,t,n),typeof t.shown<`u`&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}var Hs={beforeMount:Vs,updated:Vs,beforeUnmount(e){Bs(e)}};function Us(e){e.addEventListener(`mousedown`,Gs),e.addEventListener(`click`,Gs),e.addEventListener(`touchstart`,Ks,Mo?{passive:!0}:!1)}function Ws(e){e.removeEventListener(`mousedown`,Gs),e.removeEventListener(`click`,Gs),e.removeEventListener(`touchstart`,Ks),e.removeEventListener(`touchend`,qs),e.removeEventListener(`touchcancel`,Js)}function Gs(e){let t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ks(e){if(e.changedTouches.length===1){let t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener(`touchend`,qs),t.addEventListener(`touchcancel`,Js)}}function qs(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 Js(e){let t=e.currentTarget;t.$_vclosepopover_touch=!1}var Ys={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>`u`||t)&&Us(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>`u`||t?Us(e):Ws(e))},beforeUnmount(e){Ws(e)}},Xs=Hs,Zs=ws;function Qs(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Oo(X,t),e.directive(`tooltip`,Hs),e.directive(`close-popper`,Ys),e.component(`VTooltip`,Es),e.component(`VDropdown`,ws),e.component(`VMenu`,Ts))}var $s={version:`5.2.2`,install:Qs,options:X},ec=[Cn,kn,Zi,ta,na,ra,aa,oa,ua,da,N(e=>{e.vueApp.use($s,{overflowPadding:20})})];function tc(e,t){let n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function nc(e={}){let{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:i=400}=e,a=e.estimatedProgress||tc,o=j(),s=_e(0),c=_e(!1),l=_e(!1),u=!1,d,f,p,m,h=(e={})=>{y(),l.value=!1,g(0,e)};function g(e=0,t={}){if(o.isHydrating)return;if(e>=100)return v({force:t.force});b(),s.value=e<0?0:e;let r=t.force?0:n;r?f=setTimeout(()=>{c.value=!0,x()},r):(c.value=!0,x())}function _(){p=setTimeout(()=>{c.value=!1,m=setTimeout(()=>{s.value=0},i)},r)}function v(e={}){s.value=100,u=!0,b(),y(),e.error&&(l.value=!0),e.force?(s.value=0,c.value=!1):_()}function y(){clearTimeout(p),clearTimeout(m)}function b(){clearTimeout(f),cancelAnimationFrame(d)}function x(){u=!1;let e;function n(r){if(u)return;e??=r;let i=r-e;s.value=Math.max(0,Math.min(100,a(t,i))),d=requestAnimationFrame(n)}d=requestAnimationFrame(n)}let S=()=>{};{let e=o.hook(`page:loading:start`,()=>{h()}),t=o.hook(`page:loading:end`,()=>{v()}),n=o.hook(`vue:error`,()=>v());S=()=>{n(),e(),t(),b()}}return{_cleanup:S,progress:F(()=>s.value),isLoading:F(()=>c.value),error:F(()=>l.value),start:h,set:g,finish:v,clear:b}}function rc(e={}){let t=j(),n=t._loadingIndicator||=nc(e);return we()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,Se(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}var ic=u({name:`NuxtLoadingIndicator`,props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:`repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)`},errorColor:{type:String,default:`repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)`},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){let{progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}=rc({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}),()=>w(`div`,{class:`nuxt-loading-indicator`,style:{position:`fixed`,top:0,right:0,left:0,pointerEvents:`none`,width:`auto`,height:`${e.height}px`,opacity:i.value?1:0,background:a.value?e.errorColor:e.color||void 0,backgroundSize:`${r.value>0?100/r.value*100:0}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:`left`,transition:`transform 0.1s, height 0.4s, opacity 0.4s`,zIndex:999999}},t)}}),ac=ft(`/stylelint/stylelint-icon-black.svg`),oc=ft(`/stylelint/stylelint-text-black.svg`),sc=`2.0.1`,cc={class:`flex flex-col gap-1`},lc=[`href`],uc=u({__name:`ConfigInspectorBadge`,props:{showVersion:{type:Boolean,default:!0}},setup(e){return(t,n)=>(D(),f(`div`,cc,[n[0]||=m(`<a href="https://github.com/Nick2bad4u/Stylelint-Config-Inspector" target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-3 border border-violet/25 rounded-2xl bg-violet/8 px-3 py-2 shadow-sm hover:border-violet/35 hover:bg-violet/12"><span class="flex items-center justify-center border border-violet/30 rounded-full bg-violet/16 p-2"><img src="`+ac+`" class="inline-block h-1.15em w-1.15em dark:brightness-185 dark:invert"></span><span class="flex flex-col gap-0.5"><span class="flex items-center gap-2"><img src="`+oc+`" class="h-0.95em dark:brightness-185 dark:invert"><span class="text-xs font-medium op70">Config Inspector</span></span><span class="text-xs font-medium op70"> Rule + config explorer </span></span></a>`,1),e.showVersion?(D(),f(`a`,{key:0,class:`ml-2 inline-block text-0.6em font-200 font-mono op55`,href:`https://github.com/Nick2bad4u/Stylelint-Config-Inspector/releases/tag/v${I(sc)}`,target:`_blank`,rel:`noopener noreferrer`},` v`+L(I(sc)),9,lc)):E(``,!0)]))}}),dc=Object.assign(uc,{__name:`ConfigInspectorBadge`}),fc=(...e)=>e.find(e=>e!==void 0);function pc(e){let t=e.componentName||`NuxtLink`;function n(e){return typeof e==`string`&&e.startsWith(`#`)}function r(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return hc(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:hc(a,i)}}function i(t){let i=R(),a=le(),o=F(()=>!!I(t.target)&&I(t.target)!==`_self`),s=F(()=>{let e=I(t.to)||I(t.href)||``;return typeof e==`string`&&Ke(e,{acceptRelative:!0})}),c=O(`RouterLink`),l=c&&typeof c!=`string`?c.useLink:void 0,u=F(()=>{if(I(t.external))return!0;let e=I(t.to)||I(t.href)||``;return typeof e==`object`?!1:e===``||s.value}),d=F(()=>{let e=I(t.to)||I(t.href)||``;return u.value?e:r(e,i.resolve,I(t.trailingSlash))}),f=u.value?void 0:l?.({...t,to:d,viewTransition:I(t.viewTransition)}),p=F(()=>{let r=I(t.trailingSlash)??e.trailingSlash;if(!d.value||s.value||n(d.value))return d.value;if(u.value){let e=typeof d.value==`object`&&`path`in d.value?Qe(d.value):d.value;return hc(typeof e==`object`?i.resolve(e).href:e,r)}return typeof d.value==`object`?i.resolve(d.value)?.href??null:hc(qe(a.app.baseURL,d.value),r)});return{to:d,hasTarget:o,isAbsoluteUrl:s,isExternal:u,href:p,isActive:f?.isActive??F(()=>d.value===i.currentRoute.value.path),isExactActive:f?.isExactActive??F(()=>d.value===i.currentRoute.value.path),route:f?.route??F(()=>i.resolve(d.value)),async navigate(e){await Ye(p.value,{replace:I(t.replace),external:u.value||o.value})}}}return u({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(t,{slots:r}){let a=R(),{to:o,href:s,navigate:c,isExternal:l,hasTarget:u,isAbsoluteUrl:f}=i(t),p=_e(!1),m=me(null),h=e=>{m.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function g(n){return!p.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n])&&(t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!vc()}async function _(e=j()){if(p.value)return;p.value=!0;let t=typeof o.value==`string`?o.value:l.value?Qe(o.value):a.resolve(o.value).fullPath,n=l.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!l.value&&!u.value&&la(o.value,a).catch(()=>{})])}if(g(`visibility`)){let e=j(),t,n=null;ie(()=>{let r=gc();ea(()=>{t=Qi(()=>{m?.value?.tagName&&(n=r.observe(m.value,async()=>{n?.(),n=null,await _(e)}))})})}),d(()=>{t&&$i(t),n?.(),n=null})}return()=>{if(!l.value&&!u.value&&!n(o.value)){let n={ref:h,to:o.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(g(`interaction`)&&(n.onPointerenter=_.bind(null,void 0),n.onFocus=_.bind(null,void 0)),p.value&&(n.class=t.prefetchedClass||e.prefetchedClass),n.rel=t.rel||void 0),w(O(`RouterLink`),n,r.default)}let i=t.target||null,d=fc(t.noRel?``:t.rel,e.externalRelAttribute,f.value||u.value?`noopener noreferrer`:``)||null;return t.custom?r.default?r.default({href:s.value,navigate:c,prefetch:_,get route(){if(!s.value)return;let e=new URL(s.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return Be(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:s.value}},rel:d,target:i,isExternal:l.value||u.value,isActive:!1,isExactActive:!1}):null:w(`a`,{ref:m,href:s.value||null,rel:d,target:i,onClick:async e=>{if(!(l.value||u.value)){e.preventDefault();try{let e=it(s.value);return await(t.replace?a.replace(e):a.push(e))}finally{if(n(o.value)){let e=o.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},r.default?.())}}})}var mc=pc(ue);function hc(e,t){let n=t===`append`?Ve:Ue;return Ke(e)&&!e.startsWith(`http`)?e:n(e,!0)}function gc(){let e=j();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)})}}var _c=/2g/;function vc(){let e=navigator.connection;return!!(e&&(e.saveData||_c.test(e.effectiveType)))}var $={nav:{tabs:`nav-tabs`,configsLink:`nav-link-configs`,rulesLink:`nav-link-rules`,extendsLink:`nav-link-extends`,filesLink:`nav-link-files`,devLink:`nav-link-dev`},configs:{summaryGrid:`config-summary-grid`,summaryItem:`config-summary-item`},files:{viewListButton:`files-view-list-button`,viewGroupsButton:`files-view-groups-button`,matchedListDetails:`files-matched-list-details`,matchedListSummary:`files-matched-list-summary`,groupIdentityLabel:`files-group-identity-label`},extends:{specifierButton:`extends-specifier-button`,rulesListContainer:`extends-rules-list-container`}};$.nav.configsLink,$.nav.rulesLink,$.nav.extendsLink,$.nav.filesLink,$.nav.devLink;var yc=t();function bc(){yc.value=!yc.value}var xc={flex:`~ col gap-3`},Sc={flex:`~ col gap-2 md:row md:items-start md:justify-between`},Cc={flex:`~ col gap-1 items-start`,"md:items-end":``,"md:text-right":``},wc=[`href`],Tc={key:0,flex:`~ gap-1 items-center`,my1:``,"text-sm":``},Ec={"font-mono":``,op35:``},Dc={key:1,flex:`~ gap-1 items-center`,my1:``,"text-sm":``},Oc={"font-mono":``,op75:``},kc={flex:`~ gap-1 items-center wrap`,"text-sm":``},Ac={"font-bold":``},jc={op75:``},Mc={key:0,flex:`~ gap-2 items-center`,ml2:``,"animate-pulse":``,"text-green":``},Nc=[`data-testid`],Pc={"i-ph-flask-duotone":``,"text-xs":``,op60:``},Fc={"i-ph-flask-duotone":``,"text-xs":``,op60:``},Ic=[`title`,`aria-label`],Lc={"min-w-44":``,flex:`~ col gap-1`,p2:``},Rc=[`onClick`],zc={"text-xs":``,op70:``},Bc=[`title`,`aria-pressed`],Vc=`stylelint-inspector-target.css`,Hc=u({__name:`NavBar`,setup(t){let n=e(()=>c.value.meta.lastUpdate),a=F(()=>{let e=c.value.meta.targetFilePath;return e?!e.endsWith(Vc):!1}),o=F(()=>Object.values(c.value.rules)),l=F(()=>o.value.filter(e=>e.deprecated&&c.value.ruleToState.get(e.name)?.some(e=>e.level!==`off`))),u=R(),d=[{value:`sm`,label:`Small`},{value:`md`,label:`Default`},{value:`lg`,label:`Large`}],m=F(()=>d.find(e=>e.value===s.fontScale)?.label??`Default`);function h(){i.status=`deprecated`,i.plugins=[],i.state=`using`,i.search=``,u.currentRoute.value.path!==`/rules`&&u.push(`/rules`)}return(e,t)=>{let i=dc,o=mc,u=se(`tooltip`);return D(),f(`div`,xc,[k(`div`,Sc,[T(i,{"text-3xl":``,"font-200":``,"show-version":!1}),k(`div`,Cc,[k(`a`,{class:`inline-block text-xs font-200 font-mono op55`,href:`https://github.com/Nick2bad4u/Stylelint-Config-Inspector/releases/tag/v${I(sc)}`,target:`_blank`,rel:`noopener noreferrer`},` v`+L(I(sc)),9,wc),t[2]||=k(`div`,{border:`~ violet/20 rounded-full`,"inline-flex":``,"items-center":``,"gap-2":``,"bg-violet:8":``,px3:``,py1:``,"text-xs":``,"text-violet7":``,"dark:text-violet3":``},[k(`img`,{src:ac,"h-4.5":``,"w-4.5":``,"dark:brightness-185":``,"dark:invert":``}),k(`span`,null,[p(` Built for the `),k(`a`,{href:`https://stylelint.io`,target:`_blank`,rel:`noopener noreferrer`,"hover:underline":``},`Stylelint ecosystem`),p(` with best-effort metadata normalization. `)])],-1)])]),I(c).meta.configPath?(D(),f(`div`,Tc,[k(`span`,Ec,L(I(c).meta.configPath),1)])):E(``,!0),a.value?(D(),f(`div`,Dc,[t[3]||=k(`span`,{op50:``},`Resolved using target file`,-1),k(`code`,Oc,L(I(c).meta.targetFilePath),1)])):E(``,!0),k(`div`,kc,[t[5]||=k(`span`,{op50:``},`Composed with`,-1),k(`span`,Ac,L(I(c).configs.length),1),t[6]||=k(`span`,{op50:``},`config items, updated`,-1),k(`span`,jc,L(I(n)),1),I(r)?(D(),f(`div`,Mc,[...t[4]||=[k(`div`,{"i-svg-spinners-90-ring-with-bg":``,"flex-none":``,"text-sm":``},null,-1),p(` Fetching updates... `,-1)]])):E(``,!0)]),k(`div`,{"data-testid":I($).nav.tabs,flex:`~ gap-3 items-center wrap`,py4:``},[T(o,{to:`/configs`,"data-testid":I($).nav.configsLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[...t[7]||=[k(`div`,{"i-ph-stack-duotone":``,"flex-none":``},null,-1),p(` Configs `,-1)]]),_:1},8,[`data-testid`]),T(o,{to:`/rules`,"data-testid":I($).nav.rulesLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[...t[8]||=[k(`div`,{"i-ph-list-dashes-duotone":``,"flex-none":``},null,-1),p(` Rules `,-1)]]),_:1},8,[`data-testid`]),T(o,{to:`/extends`,"data-testid":I($).nav.extendsLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[t[9]||=k(`div`,{"i-ph-stack-plus-duotone":``,"flex-none":``},null,-1),t[10]||=p(` Extends `,-1),De(k(`span`,Pc,null,512),[[u,`Experimental`]])]),_:1},8,[`data-testid`]),T(o,{to:`/files`,"data-testid":I($).nav.filesLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[t[11]||=k(`div`,{"i-ph-files-duotone":``,"flex-none":``},null,-1),t[12]||=p(` Files `,-1),De(k(`span`,Fc,null,512),[[u,`Experimental`]])]),_:1},8,[`data-testid`]),T(o,{to:`/dev`,"data-testid":I($).nav.devLink,"btn-action":``,px3:``,py1:``,"text-base":``,"active-class":`btn-action-active`},{default:M(()=>[...t[13]||=[k(`div`,{"i-ph-terminal-window-duotone":``,"flex-none":``},null,-1),p(` Dev `,-1)]]),_:1},8,[`data-testid`]),T(I(Zs),null,{popper:M(()=>[k(`div`,Lc,[(D(),f(ge,null,y(d,e=>k(`button`,{key:e.value,"btn-action":``,"justify-between":``,class:v({"btn-action-active":I(s).fontScale===e.value}),onClick:t=>I(s).fontScale=e.value},[k(`span`,null,L(e.label),1),k(`span`,zc,L(e.value===`sm`?`95%`:e.value===`lg`?`112.5%`:`100%`),1)],10,Rc)),64))])]),default:M(()=>[k(`button`,{"btn-action":``,"rounded-full":``,title:`Font size: ${m.value}`,"aria-label":`Font size: ${m.value}`},[...t[14]||=[k(`div`,{"i-ph-text-aa-duotone":``,"flex-none":``},null,-1)]],8,Ic)]),_:1}),k(`button`,{"btn-action":``,"rounded-full":``,class:v({"btn-action-active":I(s).dimDisabledRules}),title:I(s).dimDisabledRules?`Disable dimming for disabled rules`:`Enable dimming for disabled rules`,"aria-pressed":I(s).dimDisabledRules,onClick:t[0]||=e=>I(s).dimDisabledRules=!I(s).dimDisabledRules},[k(`div`,{class:v(I(s).dimDisabledRules?`i-ph-eye-closed-duotone`:`i-ph-eye-duotone`)},null,2)],10,Bc),k(`button`,{"btn-action":``,"rounded-full":``,title:`Toggle Dark Mode`,onClick:t[1]||=e=>I(bc)()},[...t[15]||=[k(`div`,{"i-ph-sun-dim-duotone":``,"dark:i-ph-moon-stars-duotone":``},null,-1)]]),T(o,{href:`https://github.com/Nick2bad4u/Stylelint-Config-Inspector`,target:`_blank`,"btn-action":``,"rounded-full":``,title:`GitHub repository`},{default:M(()=>[...t[16]||=[k(`div`,{"i-carbon-logo-github":``,"text-lg":``},null,-1)]]),_:1}),l.value.length?(D(),f(ge,{key:0},[t[18]||=k(`div`,{border:`l base`,ml3:``,mr2:``,"h-5":``,"w-1px":``},null,-1),k(`button`,{to:`/configs`,border:`~ orange/20 rounded-full`,flex:`~ gap-2 items-center`,"bg-orange:5":``,px3:``,py1:``,"text-sm":``,"text-orange":``,"hover:bg-orange:10":``,onClick:h},[t[17]||=k(`div`,{"i-ph-warning-duotone":``,"flex-none":``},null,-1),p(` Using `+L(l.value.length)+` deprecated rules `,1)])],64)):E(``,!0)],8,Nc)])}}}),Uc=Object.assign(Hc,{__name:`NavBar`}),Wc=(e=`RouteProvider`)=>u({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},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 b(nt,Te(r)),()=>e.vnode?w(e.vnode,{ref:e.vnodeRef}):e.vnode}}),Gc=Wc(),Kc=new WeakMap,qc=u({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=j(),a=me(),o=h(nt,null),s;r({pageRef:a});let c=h(Xe,null),l,u=i.deferHydration(),f=!1,p=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,u);R().beforeEach(e)}e.pageKey&&fe(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let m=!1;{let e=R().beforeResolve(()=>{m=!1});d(()=>{e(),u()})}return()=>w(Ei,{name:e.name,route:e.route,...t},{default:t=>{let r=Jc(o,t.route,t.Component),d=o&&o.matched.length===t.route.matched.length;if(!t.Component){if(l&&!d)return l;u();return}if(l&&c&&!c.isCurrent(t.route))return l;if(r&&o&&(!c||c?.isCurrent(o)))return d||l?l:null;let h=Mi(t,e.pageKey),g=Yc(o,t.route,t.Component);!i.isHydrating&&s===h&&!g&&ne(()=>{m||(m=!0,i.callHook(`page:loading:end`))}),f&&s!==h&&p++,s=h;let _=!!(e.transition??t.route.meta.pageTransition??!1),v=_&&Ui([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){i[`~transitionFinish`]?.(),delete i[`~transitionFinish`],delete i[`~transitionPromise`],i.callHook(`page:transition:finish`,t.Component)}}]),y=e.keepalive??t.route.meta.keepalive??!1;return l=Ii(_&&v,Ni(y,w(ce,{key:p,suspensible:!0,onPending:()=>{f=!0,_&&!i[`~transitionPromise`]&&(i[`~transitionPromise`]=new Promise(e=>{i[`~transitionFinish`]=e})),i.callHook(`page:start`,t.Component)},onResolve:async()=>{f=!1;try{await ne(),i._route.sync?.(),await i.callHook(`page:finish`,t.Component),!m&&!g&&(m=!0,await i.callHook(`page:loading:end`))}finally{u()}}},{default:()=>{let e={key:h||void 0,vnode:n.default?Xc(n.default,t):t.Component,route:t.route,renderKey:h||void 0,trackRootNodes:_,vnodeRef:a};if(!y)return w(Gc,e);let r=t.Component.type,i=r,o=Kc.get(i);return o||(o=Wc(r.name||r.__name),Kc.set(i,o)),w(o,e)}}))).default(),l}})}});function Jc(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((t,n)=>t.components?.default!==e.matched[n]?.components?.default)||n&&Mi({route:t,Component:n})!==Mi({route:e,Component:n})}function Yc(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function Xc(e,t){let n=e(t);return n.length===1?w(n[0]):w(ge,void 0,n)}var Zc={key:0,class:`pointer-events-none fixed right-3 top-3 z-60 inline-flex items-center gap-2 border border-violet-300/45 rounded-full bg-white/85 px-3 py-1.5 text-xs text-violet-700 shadow-lg backdrop-blur-sm dark:border-violet-300/25 dark:bg-zinc-950/70 dark:text-violet-200`},Qc={key:1,grid:``,"h-full":``,"w-full":``,"place-content-center":``,"whitespace-pre-line":``,p4:``},$c={"text-lg":``,"text-red":``,"font-mono":``},el={key:2,flex:`~ col`,"h-full":``,"w-full":``,"items-center":``,"justify-center":``,p4:``},tl={key:3,px4:``,py6:``,"lg:px14":``,"lg:py10":``},nl=u({__name:`app`,setup(e){let t=le(),n=R(),r=me(!1),i,s=n.beforeEach(()=>{i&&clearTimeout(i),r.value=!0}),c=n.afterEach(()=>{i=setTimeout(()=>{r.value=!1},150)}),u=n.onError(()=>{i&&clearTimeout(i),r.value=!1});return d(()=>{s(),c(),u()}),a(t.app.baseURL),(e,t)=>{let n=ic,i=dc,a=Uc,s=qc;return D(),f(ge,null,[T(n,{height:3,throttle:0,color:`repeating-linear-gradient(90deg, #8b5cf6 0px, #a78bfa 32px, #8b5cf6 64px)`}),r.value&&!I(o)&&!I(l)?(D(),f(`div`,Zc,[...t[0]||=[k(`div`,{"i-svg-spinners-90-ring-with-bg":``,"text-sm":``},null,-1),p(` Loading view... `,-1)]])):E(``,!0),I(l)?(D(),f(`div`,Qc,[T(i,{mb6:``,"text-xl":``,"font-200":``}),t[1]||=k(`div`,{"text-2xl":``,"text-red5":``,"font-bold":``},[p(` Failed to resolve Stylelint config`),k(`br`)],-1),k(`div`,$c,L(I(l).error),1),t[2]||=k(`div`,{mt6:``,op50:``},[p(` Note that `),k(`a`,{href:`https://stylelint.io/user-guide/configure`,target:`_blank`,"hover:underline":``},`Stylelint configuration`),p(` must be discoverable for the selected target file. `)],-1)])):I(o)?(D(),f(`div`,el,[t[3]||=k(`div`,{flex:`~ gap-2 items-center`,"flex-auto":``,"animate-pulse":``,"text-xl":``},[k(`div`,{"i-svg-spinners-90-ring-with-bg":``}),p(` Loading config... `)],-1),T(i,{mt6:``,"text-xl":``,"font-200":``,"show-version":!1})])):(D(),f(`div`,tl,[T(a),T(s)]))],64)}}}),rl={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=be(()=>nn(()=>import(`./D_UhJN5P.js`),__vite__mapDeps([18,8,5,2,3,19,20]),import.meta.url)),s=be(()=>nn(()=>import(`./BwdVnuqT.js`),__vite__mapDeps([21,8,2,19,22]),import.meta.url)),c=r?o:s;return(e,t)=>(D(),P(I(c),S(C({status:I(n),statusText:I(i),statusCode:I(n),statusMessage:I(i),description:I(a),stack:I(void 0)})),null,16))}},il={key:0},al={__name:`nuxt-root`,setup(e){let t=()=>null,n=j(),r=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,r);R().beforeEach(e)}window.location.pathname,b(nt,ot()),n.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`);let i=Je(),a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;return _((e,t,r)=>{if(n.hooks.callHook(`vue:error`,e,t,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),a.test(navigator.userAgent))return n.hooks.callHook(`app:error`,e),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,e),!1;if(rt(e)&&(e.fatal||e.unhandled))return n.runWithContext(()=>Ze(e)),!1}),(e,n)=>(D(),P(ce,{onResolve:I(r)},{default:M(()=>[I(!1)?(D(),f(`div`,il)):I(i)?(D(),P(I(rl),{key:1,error:I(i)},null,8,[`error`])):I(!1)?(D(),P(I(t),{key:2,context:I(!1)},null,8,[`context`])):I(!1)?(D(),P(te(I(!1)),{key:3})):(D(),P(I(nl),{key:4}))]),_:1},8,[`onResolve`]))}},ol;{let e;ol=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Le(al):Ie(al),r=Ce({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=et(e)}n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&Oe.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(Oe.id)?.remove()});try{await Ae(r,ec)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(Me),await r.hooks.callHook(`app:mounted`,n),await ne()}catch(e){i(e)}return n},e=ol().catch(e=>{throw console.error(`Error while mounting app:`,e),e})}export{Zs as a,Yt as c,Xs as i,$ as n,nn as o,mc as r,Kt as s,yc as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"3d019b3b-611d-496b-a62f-feea85871ee0","timestamp":1773720931954}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"3d019b3b-611d-496b-a62f-feea85871ee0","timestamp":1773720931954,"prerendered":[]}
|
package/dist/public/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="importmap">{"imports":{"#entry":"/_nuxt/D5nuuTIN.js"}}</script><title>Stylelint Config Inspector</title><link rel="stylesheet" href="/_nuxt/entry.BbIOcLZN.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D5nuuTIN.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/rX12-d6r.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/3_mkTJ2v.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D5CeIdpL.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D9VMXJyI.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DUtXDOXB.js"><script type="module" src="/_nuxt/D5nuuTIN.js" crossorigin></script><meta name="theme-color" content="#5B21B6"><meta name="apple-mobile-web-app-title" content="Stylelint Inspector"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><link rel="alternate icon" type="image/svg+xml" href="/stylelint/stylelint-icon-black.svg"><link rel="alternate icon" type="image/png" href="/stylelint/stylelint-icon-white-512.png"><link rel="apple-touch-icon" href="/stylelint/stylelint-icon-white-512.png"><script id="unhead:payload" type="application/json">{"title":"Stylelint Config Inspector"}</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"3d019b3b-611d-496b-a62f-feea85871ee0",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773720938381,false]</script></body></html>
|
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-inspector",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A visual tool for inspecting and understanding your Stylelint configs",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"@stylelint",
|
|
8
8
|
"@stylelint/config-inspector",
|
|
9
|
+
"config",
|
|
10
|
+
"eslint-inspector",
|
|
11
|
+
"inspector",
|
|
9
12
|
"stylelint",
|
|
10
|
-
"stylelint-plugin",
|
|
11
13
|
"stylelint-config",
|
|
14
|
+
"stylelint-config-inspector",
|
|
12
15
|
"stylelint-inspector",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"visualization",
|
|
17
|
-
"tool"
|
|
16
|
+
"stylelint-plugin",
|
|
17
|
+
"tool",
|
|
18
|
+
"visualization"
|
|
18
19
|
],
|
|
19
20
|
"homepage": "https://github.com/Nick2bad4u/Stylelint-Config-Inspector#readme",
|
|
20
21
|
"bugs": "https://github.com/Nick2bad4u/Stylelint-Config-Inspector/issues",
|
|
@@ -34,8 +35,8 @@
|
|
|
34
35
|
],
|
|
35
36
|
"type": "module",
|
|
36
37
|
"bin": {
|
|
37
|
-
"
|
|
38
|
-
"
|
|
38
|
+
"stylelint-config-inspector": "bin.mjs",
|
|
39
|
+
"config-inspector": "bin.mjs"
|
|
39
40
|
},
|
|
40
41
|
"files": [
|
|
41
42
|
"*.mjs",
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"ws": "^8.19.0"
|
|
90
91
|
},
|
|
91
92
|
"devDependencies": {
|
|
92
|
-
"@antfu/eslint-config": "^7.7.
|
|
93
|
+
"@antfu/eslint-config": "^7.7.3",
|
|
93
94
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
94
95
|
"@csstools/stylelint-formatter-github": "^2.0.0",
|
|
95
96
|
"@docusaurus/eslint-plugin": "^3.9.2",
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
"minimatch": "^10.2.4",
|
|
159
160
|
"mlly": "^1.8.1",
|
|
160
161
|
"mrmime": "^2.0.1",
|
|
161
|
-
"npm-check-updates": "^19.6.
|
|
162
|
+
"npm-check-updates": "^19.6.5",
|
|
162
163
|
"npm-package-json-lint": "^9.1.0",
|
|
163
164
|
"nuxt": "^4.4.2",
|
|
164
165
|
"nuxt-eslint-auto-explicit-import": "^0.1.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"983f1582-17c6-4f54-b47e-9777e04df821","timestamp":1773707519673,"prerendered":[]}
|