import{_ as o}from"./layout.1eaf47bc.js";import{O as n,L as f,B as g,ai as E,aj as k,u as s}from"./runtime-core.esm-bundler.24b58585.js";import"./utils.61cc85c6.js";import"./nuxt-link.a91ddf68.js";import"./app.config.5ff5ca90.js";const P={__name:"nuxt-error-page",props:{error:Object},setup(c){const{error:e}=c;(e.stack||"").split(`
`).splice(1).map(t=>({text:t.replace("webpack:/","").replace(".vue",".js").trim(),internal:t.includes("node_modules")&&!t.includes(".cache")||t.includes("internal")||t.includes("new Promise")})).map(t=>`<span class="stack${t.internal?" internal":""}">${t.text}</span>`).join(`
`);const r=Number(e.statusCode||500),a=r===404,i=e.statusMessage??(a?"Page Not Found":"Internal Server Error"),u=e.message||e.toString(),p=void 0,m=n(()=>o(()=>import("./error-404.c49a2ba1.js"),["./error-404.c49a2ba1.js","./nuxt-link.a91ddf68.js","./runtime-core.esm-bundler.24b58585.js","./composables.050e3231.js","./app.config.5ff5ca90.js","./_plugin-vue_export-helper.c27b6911.js","./error-404.37afb329.css"],import.meta.url).then(t=>t.default||t)),_=n(()=>o(()=>import("./error-500.7041f90c.js"),["./error-500.7041f90c.js","./composables.050e3231.js","./nuxt-link.a91ddf68.js","./runtime-core.esm-bundler.24b58585.js","./app.config.5ff5ca90.js","./_plugin-vue_export-helper.c27b6911.js","./error-500.b7351e05.css"],import.meta.url).then(t=>t.default||t)),l=a?m:_;return(t,d)=>(f(),g(s(l),E(k({statusCode:s(r),statusMessage:s(i),description:s(u),stack:s(p)})),null,16))}},O=P;export{O as default};
