UNPKG

@nuxt/devtools

Version:

The Nuxt DevTools gives you insights and transparency about your Nuxt App.

6 lines 425 kB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-nnh0w23e.js","./nlink.vue-ix3wq3ez.js","./vendor/json-editor-vue-pb6xqf2y.js","./vendor/json-editor-vue.css-mqq5uooj.css","./ncheckbox.vue-iynvr0dq.js","./vendor/unocss-k776m6tm.js","./vendor/unocss.css-mhvipxpl.css","./vendor/shiki-hjqm7vcp.js","./__blank-mumgdw29.js","./settings-dypady2t.js","./nicon-title.vue-d27ih16g.js","./nswitch.vue-f07mzo8x.js","./nselect.vue-j8du6q9w.js","./debug-mmuy6m02.js","./nsection-block-fo7lswlq.js","./nsection-block.css-e7kbjm7k.css","./color-mt9xuhgy.js","./nbadge-kwo11bsd.js","./filepath-item.vue-iqnkpprc.js","./ncode-block.vue-lge6rogf.js","./client-jlcyzfwz.js","./ncode-block.css-lvdc77tw.css","./error-i80bo30e.js","./stacktrace-list.vue-gco8sgrx.js","./hooks-l04d57bi.js","./duration-display.vue-l7hutejt.js","./help-fab.vue-fxai0oj2.js","./help-fab.css-ms50khsu.css","./pages-mra2wuzg.js","./launch-page.vue-mzq6noib.js","./nmarkdown.vue-isat7p33.js","./pinia-go0rzvyz.js","./vue-devtools-ji73o292.js","./vue-virtual-scroller.esm-nuoya9vo.js","./assets-m28fng6a.js","./ndropdown.vue-gv9hrgf2.js","./nnavbar.vue-bpb24x03.js","./code-snippets.vue-mo9b1dqm.js","./ndrawer.vue-cpy3f9je.js","./constants-b32h69zq.js","./assets.css-hmxl533k.css","./imports-dcxoi0h8.js","./nselect-tabs.vue-kf7j1k29.js","./composable-item.vue-gvctn4i2.js","./index-jc4yj4to.js","./modules-lu08ucso.js","./state-modules-lj0142lt.js","./code-diff.vue-bs1nkhja.js","./payload-o4u6anls.js","./state-editor.vue-o1ppnn44.js","./data-schema-button.vue-o9tk347q.js","./plugins-bwk0rxt4.js","./storage-cntangg1.js","./overview-fr1fqv3m.js","./state-components-foyka1xm.js","./timeline-lo9brjih.js","./timeline.css-pdb8jvzb.css","./terminals-b4q7vbu2.js","./vendor/xterm-dbpzgj7s.js","./vendor/xterm.css-egmhki83.css","./terminals.css-mejv43xm.css","./components-isw5v3a8.js","./vendor/vis-gqe7ml2e.js","./open-graph-fc45lkju.js","./open-graph.css-e21qzmvj.css","./render-tree-jvuzf6b6.js","./server-tasks-eyw8xzu9.js","./server-route-inputs.vue-cogg64xv.js","./analyze-build-i9b7jm9x.js","./custom-_name_-ijs831gd.js","./server-routes-cy57eu8r.js","./virtual-files-kp1ljwcw.js","./virtual-files.css-gqpg2wnb.css","./runtime-configs-ifjgql9l.js","./server-discovery-ogi28f70.js","./default-oomagsrc.js","./full-3c0en3n5.js","./none-eihg4cac.js","./data-schema-drawer-dkpqb9zm.js","./vendor/quicktype-core-lhaz4hgj.js","./unocss-runtime-n76zvjc0.js","./error-404-d54ap9qf.js","./error-404.css-elh6uwdu.css","./error-500-j6wpj92l.js","./error-500.css-bxkdntg7.css"])))=>i.map(i=>d[i]); import{s as _t,r as rt,e as Pm,b as ko,h as zn,d as Dt,i as De,t as Po,f as te,j as wt,k as Y,w as Dn,o as Rr,l as Im,m as Dm,n as se,p as me,q as B,u as G,v as je,x as we,y as ke,z as Fe,K as Nm,A as ca,B as Io,C as $m,D as io,E as Jt,T as Lm,F as Me,G as Mm,_ as ne,H as Vm,I as Fm,J as ae,L as Bm,M as of,N as zm,O as sf,P as Um,a as jm,Q as Hm,R as pn,S as F,U as Pe,V as ve,W as Le,X as xn,Y as af,Z as Ge,$ as Tt,a0 as qm,a1 as Gm,a2 as Km,a3 as z,a4 as Q,a5 as X,a6 as hn,a7 as da,a8 as fa,a9 as lf,aa as qe,ab as Ee,ac as hr,ad as gs,ae as uf,af as Nn,ag as mr,ah as pa,ai as Wm,aj as Xm,ak as Ym,al as Zm,am as Jm,an as Qm,ao as ev,ap as tv}from"./vendor/json-editor-vue-pb6xqf2y.js";import{j as cf,$ as nv,w as rv,h as Un,i as ov,p as iv,a as df,b as ff,c as ha,d as _s,e as hl,f as sv,g as av}from"./vendor/unocss-k776m6tm.js";import{c as lv,a as uv}from"./vendor/shiki-hjqm7vcp.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();const cv=()=>window?.__NUXT__?.config||{},so=cv().app,dv=()=>so.baseURL,fv=()=>so.buildAssetsDir,ma=(...e)=>cf(pf(),fv(),...e),pf=(...e)=>{const t=so.cdnURL||so.baseURL;return e.length?cf(t,...e):t};globalThis.__buildAssetsURL=ma,globalThis.__publicAssetsURL=pf;globalThis.$fetch||(globalThis.$fetch=nv.create({baseURL:dv()}));"global"in globalThis||(globalThis.global=globalThis);function ys(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ys(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const pv={run:e=>e()},hv=()=>pv,hf=typeof console.createTask<"u"?console.createTask:hv;function mv(e,t){const n=t.shift(),r=hf(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function vv(e,t){const n=t.shift(),r=hf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function si(e,t){for(const n of[...e])n(t)}let gv=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ys(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=ys(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(mv,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(vv,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&si(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&si(this._after,o)}):(this._after&&o&&si(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function Do(){return new gv}function _v(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;Es.add(c);try{const f=o?o.run(s,a):a();return n||(t=void 0),await f}finally{Es.delete(c)}}}}function yv(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=_v({...e,...r})),t[n]}}}const ao=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ml="__unctx__",Ev=ao[ml]||(ao[ml]=yv()),wv=(e,t={})=>Ev.get(e,t),vl="__unctx_async_handlers__",Es=ao[vl]||(ao[vl]=new Set);function kn(e){const t=[];for(const o of Es){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const bv=!1,gl=!1,Sv=!1,Tv={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},xt={value:null,errorValue:null,deep:!0},Av=null,Ov={},Cv="#__nuxt",mf="nuxt-app",_l=36e5,Rv="vite:preloadError";function vf(e=mf){return wv(e,{asyncContext:!1})}const xv="__nuxt_plugin";function kv(e){let t=0;const n={_id:e.id||mf||"nuxt-app",_scope:Pm(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.4"},get vue(){return n.vueApp.version}},payload:_t({...e.ssrContext?.payload||{},data:_t({}),state:rt({}),once:new Set,_errors:_t({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!ko()?n._scope.run(()=>yl(n,o)):yl(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:_t({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=Do(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;$r(n,s,i),$r(n.vueApp.config.globalProperties,s,i)},$r(n.vueApp,"$nuxt",n),$r(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Rv,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=Se;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function Pv(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Iv(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Dv(e,t){const n=new Set,r=[],o=[],i=[];let s=0;async function a(l){const c=l.dependsOn?.filter(f=>t.some(u=>u._name===f)&&!n.has(f))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=Iv(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([u,p])=>{u.has(l._name)&&(u.delete(l._name),u.size===0&&(s++,await a(p)))})))});l.parallel?o.push(f.catch(u=>i.push(u))):await f}}for(const l of t)Pv(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l<s;l++)await Promise.all(o);if(i.length)throw i[0]}function Je(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[xv]:!0,_name:t})}function yl(e,t,n){const r=()=>t();return vf(e._id).set(e),e.vueApp.runWithContext(r)}function gf(e){let t;return zn()&&(t=Dt()?.appContext.app.$nuxt),t||=vf(e).tryUse(),t||null}function Se(e){const t=gf(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function xr(e){return Se().$config}function $r(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Nv(e,t){return{ctx:{table:e},matchAll:n=>yf(n,e)}}function _f(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,_f(o)])):new Map(Object.entries(e[n]));return t}function $v(e){return Nv(_f(e))}function yf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of El(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of El(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...yf(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function El(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ai(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function ws(e,t,n=".",r){if(!ai(t))return ws(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ai(s)&&ai(o[i])?o[i]=ws(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Lv(e){return(...t)=>t.reduce((n,r)=>ws(n,r,"",e),{})}const Ef=Lv();function Mv(e,t){try{return t in e}catch{return!1}}class wl extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:bs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=wf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Vv(e){if(typeof e=="string")return new wl(e);if(Fv(e))return e;const t=new wl(e.message??e.statusMessage??"",{cause:e.cause||e});if(Mv(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=bs(e.statusCode,t.statusCode):e.status&&(t.statusCode=bs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;wf(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Fv(e){return e?.constructor?.__h3_error__===!0}const Bv=/[^\u0009\u0020-\u007E]/g;function wf(e=""){return e.replace(Bv,"")}function bs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const bf=Symbol("layout-meta"),mn=Symbol("route"),$e=()=>Se()?.$router,En=()=>zn()?De(mn,Se()._route):Se()._route;const zv=()=>{try{if(Se()._processingMiddleware)return!0}catch{return!1}return!1},Ss=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Ts(e):$e().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:c={}}=t.open,f=Object.entries(c).filter(([u,p])=>p!==void 0).map(([u,p])=>`${u.toLowerCase()}=${p}`).join(", ");return open(n,l,f),Promise.resolve()}const r=Un(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&ov(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=zv();if(!o&&i){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:c,hash:f}=iv(e);return{path:l,...c&&{query:df(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const s=$e(),a=Se();return o?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function Ts(e){return rv(e.path||"",e.query||{})+(e.hash||"")}const Sf="__nuxt_error",No=()=>Po(Se().payload,"error"),un=e=>{const t=qt(e);try{const n=Se(),r=No();n.hooks.callHook("app:error",t),r.value||=t}catch{throw t}return t},Uv=async(e={})=>{const t=Se(),n=No();t.callHook("app:error:cleared",e),e.redirect&&await $e().replace(e.redirect),n.value=Av},Tf=e=>!!e&&typeof e=="object"&&Sf in e,qt=e=>{const t=Vv(e);return Object.defineProperty(t,Sf,{value:!0,configurable:!1,writable:!1}),t};function bl(e){const t=Hv(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const jv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Hv(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=jv.indexOf(e[o]),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}const qv=-1,Gv=-2,Kv=-3,Wv=-4,Xv=-5,Yv=-6;function Zv(e,t){return Jv(JSON.parse(e),t)}function Jv(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===qv)return;if(i===Kv)return NaN;if(i===Wv)return 1/0;if(i===Xv)return-1/0;if(i===Yv)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const f=new Set;r[i]=f;for(let d=1;d<a.length;d+=1)f.add(o(a[d]));break;case"Map":const u=new Map;r[i]=u;for(let d=1;d<a.length;d+=2)u.set(o(a[d]),o(a[d+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const p=Object.create(null);r[i]=p;for(let d=1;d<a.length;d+=2)p[a[d]]=o(a[d+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const d=globalThis[l],h=a[1],m=bl(h),v=new d(m);r[i]=v;break}case"ArrayBuffer":{const d=a[1],h=bl(d);r[i]=h;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let c=0;c<a.length;c+=1){const f=a[c];f!==Gv&&(l[c]=o(f))}}else{const l={};r[i]=l;for(const c in a){const f=a[c];l[c]=o(f)}}return r[i]}return o(0)}const Qv=new Set(["link","style","script","noscript"]),eg=new Set(["title","titleTemplate","script","style","noscript"]),Sl=new Set(["base","meta","link","style","script","noscript"]),tg=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ng=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),rg=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),og=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ig=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const sg=["name","property","http-equiv"];function Af(e){const t=e.split(":");return t.length?ig.has(t[1]):!1}function As(e){const{props:t,tag:n}=e;if(ng.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of sg)if(t[r]!==void 0)return`${n}:${t[r]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(eg.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Tl(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function lo(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(i=>lo(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=lo(o[s],t,s);return i}return o}function ag(e,t){const n=e==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(l=>l.trim());s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(o.trim(),i):r(o))}),n}function Of(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=ag(n,r);return}if(rg.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?e.props[n]=i?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function lg(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Of({tag:e,props:{}},n);return r.key&&Qv.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function ug(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=n(void 0,e);const r=[];return e=lo(e,n),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(lg(o,s))}),r.flat()}const Os=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Al={base:-10,title:10},cg={critical:-8,high:-1,low:2},Ol={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}},dg=/@import/,Zn=e=>e===""||e===!0;function fg(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=cg[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ol;if(t.tag in Al)n=Al[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=Ol.meta[i])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?Zn(t.props.async)?n=o.script.async:t.props.src&&!Zn(t.props.defer)&&!Zn(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:Zn(t.props.defer)&&t.props.src&&!Zn(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&dg.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Cl(e,t){const 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 pg(e={}){const t=Do();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Cl(s,a),push(a,l){const c={...l||{}};delete c.head;const f=c._index??s._entryCount++,u={_i:f,input:a,options:c},p={_poll(d=!1){s.dirty=!0,!d&&i.push(f),t.callHook("entries:updated",s)},dispose(){r.delete(f)&&p._poll(!0)},patch(d){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(u.input=d,r.set(f,u),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.length;){const p=i.shift(),d=r.get(p);if(d){const h={tags:ug(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",h),d._tags=h.tags.map((m,v)=>(m._w=fg(s,m),m._p=(d._i<<10)+v,m._d=As(m),m))}}let l=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Os).reduce((p,d)=>{const h=String(d._d||d._p);if(!p.has(h))return p.set(h,d);const m=p.get(h);if((d?.tagDuplicateStrategy||(og.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([_,y])=>g[_]=_==="style"?new Map([...m.props.style||new Map,...y]):_==="class"?new Set([...m.props.class||new Set,...y]):y),p.set(h,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Af(h)?(p.set(h,Object.assign([...Array.isArray(m)?m:[m],d],d)),l=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&p.set(h,d);return p},a.tagMap);const c=a.tagMap.get("title"),f=a.tagMap.get("titleTemplate");if(s._title=c?.textContent,f){const p=f?.textContent;if(s._titleTemplate=p,p){let d=typeof p=="function"?p(c?.textContent):p;typeof d=="string"&&!s.plugins.has("template-params")&&(d=d.replace("%s",c?.textContent||"")),c?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:d}):(f.tag="title",f.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Os)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const u=[];for(const p of a.tags){const{innerHTML:d,tag:h,props:m}=p;if(tg.has(h)&&!(Object.keys(m).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(h==="script"&&d){if(m.type?.endsWith("json")){const v=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=v.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=As(p)}u.push(p)}}return u}};return(e?.plugins||[]).forEach(a=>Cl(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}const Ft="%separator",hg=new RegExp(`${Ft}(?:\\s*${Ft})*`,"g");function mg(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=e[t.substring(0,o)]?.[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function Lr(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const i=o.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const s=e.includes(Ft);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Ft||!i.includes(a))return a;const l=mg(t,a.slice(1),r);return l!==void 0?l:a}).trim(),s&&(e.endsWith(Ft)&&(e=e.slice(0,-Ft.length)),e.startsWith(Ft)&&(e=e.slice(Ft.length)),e=e.replace(hg,n||"").trim()),e}const Rl=e=>e.includes(":key")?e:e.split(":").join(":key:"),vg={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const o=String(r);if(o.startsWith("before:")){const i=Rl(o.slice(7)),s=e.tagMap.get(i);s&&(typeof s.tagPriority=="number"&&(n.tagPriority=s.tagPriority),n._p=s._p-1,t=!0)}else if(o.startsWith("after:")){const i=Rl(o.slice(6)),s=e.tagMap.get(i);s&&(typeof s.tagPriority=="number"&&(n.tagPriority=s.tagPriority),n._p=s._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Os))}}},gg={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Cs(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Cs(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await Cs(e[r]);return n}return e}const _g={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Cs(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},yg={meta:"content",link:"href",htmlAttrs:"lang"},Eg=["innerHTML","textContent"],wg=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},o=r.separator||"|";delete r.separator,r.pageTitle=Lr(r.pageTitle||e._title||"",r,o);for(const i of n){if(i.processTemplateParams===!1)continue;const s=yg[i.tag];if(s&&typeof i.props[s]=="string")i.props[s]=Lr(i.props[s],r,o);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const a of Eg)typeof i[a]=="string"&&(i[a]=Lr(i[a],r,o,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=r,e._separator=o},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Lr(n.textContent,e._templateParams,e._separator))}}}),bg=(e,t)=>wt(t)?te(t):t,va="usehead";function Sg(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(va,e)}}.install}function Tg(){if(zn()){const e=De(va);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Ag(e,t={}){const n=t.head||Tg();return n.ssr?n.push(e||{},t):Og(n,e,t)}function Og(e,t,n={}){const r=Y(!1);let o;return Dn(()=>{const s=r.value?{}:lo(t,bg);o?o.patch(s):o=e.push(s,n)}),Dt()&&(Rr(()=>{o.dispose()}),Im(()=>{r.value=!0}),Dm(()=>{r.value=!1})),o}function Cg(e){const t=e||gf();return t?.ssrContext?.head||t?.runWithContext(()=>{if(zn())return De(va)})}function Rg(e,t={}){const n=Cg(t.nuxt);if(n)return Ag(e,{head:n,...t})}let Jr,Qr;function xg(){return Jr=$fetch(ma(`builds/meta/${xr().app.buildId}.json`),{responseType:"json"}),Jr.then(e=>{Qr=$v(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Jr}function $o(){return Jr||xg()}async function ga(e){const t=typeof e=="string"?e:e.path;if(await $o(),!Qr)return console.error("[nuxt] Error creating app manifest matcher.",Qr),{};try{return Ef({},...Qr.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function xl(e,t={}){if(!await Rf(e))return null;const r=await Pg(e,t);return await Cf(r)||null}const kg="_payload.json";async function Pg(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Un(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=xr(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await Rf(e)?i:r.app.baseURL;return ha(s,n.pathname,kg+(o?`?${o}`:""))}async function Cf(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(xf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Rf(e=En().path){const t=Se();return e=ff(e),(await $o()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await ga({path:e});return!!r.prerender&&!r.redirect})}let nn=null;async function Ig(){if(nn)return nn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await xf(e.textContent||""),n=e.dataset.src?await Cf(e.dataset.src):void 0;return nn={...t,...n,...window.__NUXT__},nn.config?.public&&(nn.config.public=rt(nn.config.public)),nn}async function xf(e){return await Zv(e,Se()._payloadRevivers)}function Dg(e,t){Se()._payloadRevivers[e]=t}const Ng=[["NuxtError",e=>qt(e)],["EmptyShallowRef",e=>se(e==="_"?void 0:e==="0n"?BigInt(0):_s(e))],["EmptyRef",e=>Y(e==="_"?void 0:e==="0n"?BigInt(0):_s(e))],["ShallowRef",e=>se(e)],["ShallowReactive",e=>_t(e)],["Ref",e=>Y(e)],["Reactive",e=>rt(e)]],$g=Je({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of Ng)Dg(r,o);Object.assign(e.payload,([t,n]=kn(()=>e.runWithContext(Ig)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function _a(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(d=>{e.resolveTags().then(h=>{d(h.map(m=>{const v=i.get(m._d)||0,g={tag:m,id:(v?`${m._d}:${v}`:m._d)||Tl(m),shouldRender:!0};return m._d&&Af(m._d)&&i.set(m._d,v+1),g}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const h=n[d]?.children;for(const m of h){const v=m.tagName.toLowerCase();if(!Sl.has(v))continue;const g=Of({tag:v,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((_,y)=>(_[y]=m.getAttribute(y),_),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=As(g)||Tl(g),a.elMap.has(g._d)){let _=1,y=g._d;for(;a.elMap.has(y);)y=`${g._d}:${_++}`;a.elMap.set(y,m)}else a.elMap.set(g._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,h,m){const v=`${d}:${h}`;a.sideEffects[v]=m,delete a.pendingSideEffects[v]}function c({id:d,$el:h,tag:m}){const v=m.tag.endsWith("Attrs");a.elMap.set(d,h),v||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),l(d,"el",()=>{h?.remove(),a.elMap.delete(d)}));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const _=m.props[g];if(g.startsWith("on")&&typeof _=="function"){const w=h?.dataset;if(w&&w[`${g}fired`]){const S=g.slice(0,-5);_.call(h,new Event(S.substring(2)))}h.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(g.substring(2),_.bind(h)),h.setAttribute(`data-${g}`,""));continue}const y=`attr:${g}`;if(g==="class"){if(!_)continue;for(const w of _)v&&l(d,`${y}:${w}`,()=>h.classList.remove(w)),!h.classList.contains(w)&&h.classList.add(w)}else if(g==="style"){if(!_)continue;for(const[w,S]of _)l(d,`${y}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,S)}else _!==!1&&_!==null&&(h.getAttribute(g)!==_&&h.setAttribute(g,_===!0?"":String(_)),v&&l(d,y,()=>h.removeAttribute(g)))}}const f=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await s;for(const d of p){const{tag:h,shouldRender:m,id:v}=d;if(m){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(v),d.$el?c(d):Sl.has(h.tag)&&f.push(d)}}for(const d of f){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,l);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Lg(e={}){const t=e.domOptions?.render||_a;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return pg({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Mg(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Vg(e={}){const t=Lg({domOptions:{render:Mg(()=>_a(t),n=>setTimeout(n,0))},...e});return t.install=Sg(t),t}const Fg={disableDefaults:!0,disableCapoSorting:!1,plugins:[gg,_g,wg,vg]},Bg=Je({name:"nuxt:head",enforce:"pre",setup(e){const t=Vg(Fg);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await _a(t)};t.hooks.hook("dom:beforeRender",o=>{o.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)}}});/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const An=typeof document<"u";function kf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&kf(e.default)}const Ae=Object.assign;function li(e,t){const n={};for(const r in t){const o=t[r];n[r]=lt(o)?o.map(e):e(o)}return n}const ir=()=>{},lt=Array.isArray,Pf=/#/g,Ug=/&/g,jg=/\//g,Hg=/=/g,qg=/\?/g,If=/\+/g,Gg=/%5B/g,Kg=/%5D/g,Df=/%5E/g,Wg=/%60/g,Nf=/%7B/g,Xg=/%7C/g,$f=/%7D/g,Yg=/%20/g;function ya(e){return encodeURI(""+e).replace(Xg,"|").replace(Gg,"[").replace(Kg,"]")}function Zg(e){return ya(e).replace(Nf,"{").replace($f,"}").replace(Df,"^")}function Rs(e){return ya(e).replace(If,"%2B").replace(Yg,"+").replace(Pf,"%23").replace(Ug,"%26").replace(Wg,"`").replace(Nf,"{").replace($f,"}").replace(Df,"^")}function Jg(e){return Rs(e).replace(Hg,"%3D")}function Qg(e){return ya(e).replace(Pf,"%23").replace(qg,"%3F")}function e_(e){return e==null?"":Qg(e).replace(jg,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const t_=/\/$/,n_=e=>e.replace(t_,"");function ui(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=s_(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:vr(s)}}function r_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function kl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function o_(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&$n(t.matched[r],n.matched[o])&&Lf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Lf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!i_(e[n],t[n]))return!1;return!0}function i_(e,t){return lt(e)?Pl(e,t):lt(t)?Pl(t,e):e===t}function Pl(e,t){return lt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function s_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var gr;(function(e){e.pop="pop",e.push="push"})(gr||(gr={}));var sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sr||(sr={}));function a_(e){if(!e)if(An){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),n_(e)}const l_=/^[^#]+#/;function u_(e,t){return e.replace(l_,"#")+t}function c_(e,t){const 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)}}const Lo=()=>({left:window.scrollX,top:window.scrollY});function d_(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=c_(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Il(e,t){return(history.state?history.state.position-t:-1)+e}const xs=new Map;function f_(e,t){xs.set(e,t)}function p_(e){const t=xs.get(e);return xs.delete(e),t}let h_=()=>location.protocol+"//"+location.host;function Mf(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),kl(l,"")}return kl(n,e)+r+o}function m_(e,t,n,r){let o=[],i=[],s=null;const a=({state:p})=>{const d=Mf(e,location),h=n.value,m=t.value;let v=0;if(p){if(n.value=d,t.value=p,s&&s===h){s=null;return}v=m?p.position-m.position:0}else r(d);o.forEach(g=>{g(n.value,h,{delta:v,type:gr.pop,direction:v?v>0?sr.forward:sr.back:sr.unknown})})};function l(){s=n.value}function c(p){o.push(p);const d=()=>{const h=o.indexOf(p);h>-1&&o.splice(h,1)};return i.push(d),d}function f(){const{history:p}=window;p.state&&p.replaceState(Ae({},p.state,{scroll:Lo()}),"")}function u(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function Dl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Lo():null}}function v_(e){const{history:t,location:n}=window,r={value:Mf(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,f){const u=e.indexOf("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:h_()+e+l;try{t[f?"replaceState":"pushState"](c,"",p),o.value=c}catch(d){console.error(d),n[f?"replace":"assign"](p)}}function s(l,c){const f=Ae({},t.state,Dl(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,f,!0),r.value=l}function a(l,c){const f=Ae({},o.value,t.state,{forward:l,scroll:Lo()});i(f.current,f,!0);const u=Ae({},Dl(r.value,l,null),{position:f.position+1},c);i(l,u,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function g_(e){e=a_(e);const t=v_(e),n=m_(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Ae({location:"",base:e,go:r,createHref:u_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function __(e){return typeof e=="string"||e&&typeof e=="object"}function Vf(e){return typeof e=="string"||typeof e=="symbol"}const Ff=Symbol("");var Nl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Nl||(Nl={}));function Ln(e,t){return Ae(new Error,{type:e,[Ff]:!0},t)}function Rt(e,t){return e instanceof Error&&Ff in e&&(t==null||!!(e.type&t))}const $l="[^/]+?",y_={sensitive:!1,strict:!1,start:!0,end:!0},E_=/[.+*?^${}()[\]/\\]/g;function w_(e,t){const n=Ae({},y_,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let u=0;u<c.length;u++){const p=c[u];let d=40+(n.sensitive?.25:0);if(p.type===0)u||(o+="/"),o+=p.value.replace(E_,"\\$&"),d+=40;else if(p.type===1){const{value:h,repeatable:m,optional:v,regexp:g}=p;i.push({name:h,repeatable:m,optional:v});const _=g||$l;if(_!==$l){d+=10;try{new RegExp(`(${_})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+w.message)}}let y=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;u||(y=v&&c.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,d+=20,v&&(d+=-8),m&&(d+=-20),_===".*"&&(d+=-50)}f.push(d)}r.push(f)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(c){const f=c.match(s),u={};if(!f)return null;for(let p=1;p<f.length;p++){const d=f[p]||"",h=i[p-1];u[h.name]=d&&h.repeatable?d.split("/"):d}return u}function l(c){let f="",u=!1;for(const p of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const d of p)if(d.type===0)f+=d.value;else if(d.type===1){const{value:h,repeatable:m,optional:v}=d,g=h in c?c[h]:"";if(lt(g)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=lt(g)?g.join("/"):g;if(!_)if(v)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${h}"`);f+=_}}return f||"/"}return{re:s,score:r,keys:i,parse:a,stringify:l}}function b_(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Bf(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=b_(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Ll(r))return 1;if(Ll(o))return-1}return o.length-r.length}function Ll(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const S_={type:0,value:""},T_=/[a-zA-Z0-9_]/;function A_(e){if(!e)return[[]];if(e==="/")return[[S_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,c="",f="";function u(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),s()):l===":"?(u(),n=1):p();break;case 4:p(),n=r;break;case 1:l==="("?n=2:T_.test(l)?p():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+l:n=3:f+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),s(),o}function O_(e,t,n){const r=w_(A_(e.path),n),o=Ae(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function C_(e,t){const n=[],r=new Map;t=Bl({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function i(u,p,d){const h=!d,m=Vl(u);m.aliasOf=d&&d.record;const v=Bl(t,u),g=[m];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const S of w)g.push(Vl(Ae({},m,{components:d?d.record.components:m.components,path:S,aliasOf:d?d.record:m})))}let _,y;for(const w of g){const{path:S}=w;if(p&&S[0]!=="/"){const D=p.record.path,P=D[D.length-1]==="/"?"":"/";w.path=p.record.path+(S&&P+S)}if(_=O_(w,p,v),d?d.alias.push(_):(y=y||_,y!==_&&y.alias.push(_),h&&u.name&&!Fl(_)&&s(u.name)),zf(_)&&l(_),m.children){const D=m.children;for(let P=0;P<D.length;P++)i(D[P],_,d&&d.children[P])}d=d||_}return y?()=>{s(y)}:ir}function s(u){if(Vf(u)){const p=r.get(u);p&&(r.delete(u),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(u);p>-1&&(n.splice(p,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function a(){return n}function l(u){const p=k_(u,n);n.splice(p,0,u),u.record.name&&!Fl(u)&&r.set(u.record.name,u)}function c(u,p){let d,h={},m,v;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Ln(1,{location:u});v=d.record.name,h=Ae(Ml(p.params,d.keys.filter(y=>!y.optional).concat(d.parent?d.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),u.params&&Ml(u.params,d.keys.map(y=>y.name))),m=d.stringify(h)}else if(u.path!=null)m=u.path,d=n.find(y=>y.re.test(m)),d&&(h=d.parse(m),v=d.record.name);else{if(d=p.name?r.get(p.name):n.find(y=>y.re.test(p.path)),!d)throw Ln(1,{location:u,currentLocation:p});v=d.record.name,h=Ae({},p.params,u.params),m=d.stringify(h)}const g=[];let _=d;for(;_;)g.unshift(_.record),_=_.parent;return{name:v,path:m,params:h,matched:g,meta:x_(g)}}e.forEach(u=>i(u));function f(){n.length=0,r.clear()}return{addRoute:i,resolve:c,removeRoute:s,clearRoutes:f,getRoutes:a,getRecordMatcher:o}}function Ml(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:R_(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 R_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Fl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function x_(e){return e.reduce((t,n)=>Ae(t,n.meta),{})}function Bl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function k_(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Bf(e,t[i])<0?r=i:n=i+1}const o=P_(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function P_(e){let t=e;for(;t=t.parent;)if(zf(t)&&Bf(e,t)===0)return t}function zf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function I_(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(If," "),s=i.indexOf("="),a=vr(s<0?i:i.slice(0,s)),l=s<0?null:vr(i.slice(s+1));if(a in t){let c=t[a];lt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function zl(e){let t="";for(let n in e){const r=e[n];if(n=Jg(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(lt(r)?r.map(i=>i&&Rs(i)):[r&&Rs(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function D_(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=lt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const N_=Symbol(""),Ul=Symbol(""),Ea=Symbol(""),wa=Symbol(""),ks=Symbol("");function Jn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=p=>{p===!1?l(Ln(4,{from:n,to:t})):p instanceof Error?l(p):__(p)?l(Ln(2,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),a())},f=i(()=>e.call(r&&r.instances[o],t,n,c));let u=Promise.re