1import{H as e,Ot as t,R as n,V as r,_t as i,a,an as o,in as s,on as c,rn as l}from"./-__6uBbN.js";var u=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function d(e){return u.test(e)}import.meta.url.replace(/\/app\/.*$/,`/`);var ee=Symbol(`layout-meta`),te=Symbol(`layout`),f=Symbol(`route`),p=c({docsBase:s,reporters:o});String.fromCharCode;var m=/#/g,h=/&/g,ne=/\//g,g=/=/g,re=/\?/g,_=/\+/g,ie=/%5e/gi,ae=/%60/gi,oe=/%7c/gi,se=/%20/gi,ce=/%2f/gi,le=/%252f/gi;function v(e){return encodeURI(``+e).replace(oe,`|`)}function y(e){return v(typeof e==`string`?e:JSON.stringify(e)).replace(_,`%2B`).replace(se,`+`).replace(m,`%23`).replace(h,`%26`).replace(ae,"`").replace(ie,`^`).replace(ne,`%2F`)}function b(e){return y(e).replace(g,`%3D`)}function x(e){return v(e).replace(m,`%23`).replace(re,`%3F`).replace(le,`%2F`).replace(h,`%26`).replace(_,`%2B`)}function S(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function ue(e){return S(e.replace(ce,`%252F`))}function C(e){return S(e.replace(_,` `))}function w(e){return S(e.replace(_,` `))}function T(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=C(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=w(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function de(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${b(e)}=${y(t)}`).join(`&`):`${b(e)}=${y(t)}`:b(e)}function fe(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>de(t,e[t])).filter(Boolean).join(`&`)}var pe=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,me=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,he=/^([/\\]\s*){2,}[^/\\]/,ge=/^[\s\0]*(blob|data|javascript|vbscript):$/i,_e=/\/$|\/\?|\/#/,ve=/^\.?\//;function E(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?pe.test(e):me.test(e)||(t.acceptRelative?he.test(e):!1)}function D(e){return!!e&&ge.test(e)}function O(e=``,t){return t?_e.test(e):e.endsWith(`/`)}function k(e=``,t){if(!t)return(O(e)?e.slice(0,-1):e)||`/`;if(!O(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function A(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(O(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function j(e,t){if(P(t)||E(e))return e;let n=k(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return I(n,e)}function M(e,t){if(P(t))return e;let n=k(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function N(e,t){let n=R(e);return n.search=fe({...T(n.search),...t}),xe(n)}function P(e){return!e||e===`/`}function F(e){return e&&e!==`/`}function I(e,...t){let n=e||``;for(let e of t.filter(e=>F(e)))if(n){let t=e.replace(ve,``);n=A(n)+t}else n=e;return n}function ye(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&E(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function be(e,t){return S(k(e))===S(k(t))}var L=Symbol.for(`ufo:protocolRelative`);function R(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!E(e,{acceptRelative:!0}))return t?R(t+e):z(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=z(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[L]:!r}}function z(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xe(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[L]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function B(e){if(typeof e!=`object`||!e)return!1;let 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 V(e,t,n=`.`,r){if(!B(t))return V(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:B(a)&&B(i[t])?V(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function H(e){return(...t)=>t.reduce((t,n)=>V(t,n,``,e),{})}var Se=H(),Ce=H((e,t,n)=>{if(e[t]!==void 0&&typeof n==`function`)return e[t]=n(e[t]),!0});function we(e,t){try{return t in e}catch{return!1}}
1var U=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:G(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=W(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function Te(e){if(typeof e==`string`)return new U(e);if(Ee(e))return e;let t=new U(e.message??e.statusMessage??``,{cause:e.cause||e});if(we(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=G(e.statusCode,t.statusCode):e.status&&(t.statusCode=G(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;W(t.statusMessage)!==e&&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 Ee(e){return e?.constructor?.__h3_error__===!0}var De=/[^\u0009\u0020-\u007E]/g;function W(e=``){return e.replace(De,``)}function G(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var K=()=>a()?.$router;function Oe(e){let t=e.scope,n=i();for(;n;){if(n===t)return!0;n=n.parent}return!1}var ke=(()=>{if(r()){let t=n();if(!t||Oe(t))return e(f,a()._route)}return a()._route});function q(e){return e}var Ae=()=>{try{if(a()._processingMiddleware)return!0}catch{return!1}return!1},je=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?J(e):K().resolve(e).href;if(t?.open){let{protocol:e}=new URL(n,window.location.href);if(e&&D(e))throw p.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 r=E(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw p.NUXT_E2001({toPath:n});let{protocol:e}=new URL(n,window.location.href);if(e&&D(e))throw p.NUXT_E2002({toPath:n,protocol:e})}let o=Ae();if(!i&&o){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=R(e);return{path:t,...n&&{query:T(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=K(),c=a();if(i)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`?Y(e):e;return t?.replace?s.replace(l):s.push(l)};function J(e){return N(e.path||``,e.query||{})+(e.hash||``)}function Y(e){let t=R(e);return x(ue(t.pathname))+t.search+t.hash}var Me=`__nuxt_error`,X=()=>t(a().payload,`error`),Z=e=>{let t=$(e);try{let e=X();a().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Q=(e,t)=>{let n=e.callHook(`app:error`,$(t));return l.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),n},Ne=async(e,t)=>{if(d(navigator.userAgent)){await Q(e,t);return}await e.runWithContext(()=>Z(t))},Pe=async(e={})=>{let t=a(),n=X();t.callHook(`app:error:cleared`,e),e.redirect&&await K().replace(e.redirect),n.value=void 0},Fe=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,$=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=Te(e);return Object.defineProperty(t,Me,{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{f as A,N as C,p as D,k as E,ee as O,j as S,M as T,be as _,Fe as a,I as b,q as c,J as d,ke as f,E as g,Ce as h,$ as i,d as j,te as k,Y as l,Se as m,Ne as n,Z as o,K as p,Pe as r,X as s,Q as t,je as u,D as v,A as w,T as x,ye as y};
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.