1import{C as e,S as t,b as n,s as r,x as i}from"./CDTIWZR-.js";import{H as a,J as o,L as s,an as c,pn as l,wn as u}from"./B4b-2GOK.js";import{t as d}from"./rxhDcyfF.js";import{d as f,g as p,n as m,o as h,r as g,t as _,u as v}from"./BudBDGxx.js";import{t as y}from"./D08kxWMJ.js";var b=Symbol(`layout-meta`),x=Symbol(`layout`),S=Symbol(`route`),C=e({docsBase:i,reporters:t}),w=()=>r()?.$router;function T(e){let t=e.scope,n=c();for(;n;){if(n===t)return!0;n=n.parent}return!1}var E=(()=>{if(a()){let e=s();if(!e||T(e))return o(S,r()._route)}return r()._route});function D(e){return e}var O=(e,t,n={})=>{let i=r(),a=n.global||typeof e!=`string`,o=typeof e==`string`?t:e;if(!o){C.NUXT_E2006({cause:e});return}a?i._middleware.global.push(o):i._middleware.named[e]=o},k=()=>{try{if(r()._processingMiddleware)return!0}catch{return!1}return!1},A=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?M(e):w().resolve(e).href;if(t?.open){let{protocol:e}=new URL(n,window.location.href);if(e&&h(e))throw C.NUXT_E2002({toPath:n,protocol:e});let{target:r=`_blank`,windowFeatures:i={}}=t.open,a=[];for(let[e,t]of Object.entries(i))t!==void 0&&a.push(`${e.toLowerCase()}=${t}`);return open(n,r,a.join(`, `)),Promise.resolve()}let i=g(n,{acceptRelative:!0}),a=t?.external||i;if(a){if(!t?.external)throw C.NUXT_E2001({toPath:n});let{protocol:e}=new URL(n,window.location.href);if(e&&h(e))throw C.NUXT_E2002({toPath:n,protocol:e})}let o=k();if(!a&&o){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=f(e);return{path:t,...n&&{query:v(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=w(),c=r();if(a)return c._scope.stop(),t?.replace?location.replace(n):location.href=n,o?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?N(e):e;return t?.replace?s.replace(l):s.push(l)},j=(e,t)=>{let n=r(),i=k();if(i||n.isHydrating){let n=w().beforeResolve(r=>{r.meta.layout=e,r.meta.layoutProps=t,n()})}if(!i){let n=E();n.meta.layout=e,n.meta.layoutProps=t;{let n=w().beforeResolve((r,i)=>{r.path===i.path?(r.meta.layout=e,r.meta.layoutProps=t):n()});l(n,!0)}}};function M(e){return p(e.path||``,e.query||{})+(e.hash||``)}function N(e){let t=f(e);return m(_(t.pathname))+t.search+t.hash}var P=`__nuxt_error`,F=()=>u(r().payload,`error`),I=e=>{let t=V(e);try{let e=F();r().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},L=(e,t)=>{let r=e.callHook(`app:error`,V(t));return n.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),r},R=async(e,t)=>{if(d(navigator.userAgent)){await L(e,t);return}await e.runWithContext(()=>I(t))},z=async(e={})=>{let t=r(),n=F();t.callHook(`app:error:cleared`,e),e.redirect&&await w().replace(e.redirect),n.value=void 0},B=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,V=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=y(e);return Object.defineProperty(t,P,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};export{b as _,B as a,O as c,A as d,M as f,C as g,w as h,V as i,D as l,E as m,R as n,I as o,j as p,z as r,F as s,L as t,N as u,x as v,S as y}; 2//# sourceMappingURL=BQdnC2Vr.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.