import{d as l,A as d,j as i,_ as u,o as _,k as f,l as a,n as o,t as c,a as s,q as p,F as m}from"./app-DZcRemIr.js";import{B as x}from"./index-CA0zsXLm.js";const g=l({__name:"Error",props:{message:{type:String,required:!1,default:"Ocurrió un error inesperado. Por favor, inténtalo de nuevo más tarde."}},setup(n,{expose:e}){e();const t={get Head(){return i},get Link(){return d},get Button(){return x}};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}}),v={class:"flex min-h-svh flex-col items-center justify-center gap-4 p-6 text-center"},h={class:"max-w-md text-muted-foreground"};function k(n,e,t,r,B,w){return _(),f(m,null,[a(r.Head,{title:"Error"}),o("div",v,[e[1]||(e[1]=o("h1",{class:"text-2xl font-bold text-gray-900 dark:text-white"}," Algo salió mal ",-1)),o("p",h,c(t.message),1),a(r.Link,{href:"/dashboard"},{default:s(()=>[a(r.Button,null,{default:s(()=>[...e[0]||(e[0]=[p("Volver al inicio",-1)])]),_:1})]),_:1})])],64)}const b=u(g,[["render",k],["__file","/var/www/resources/js/pages/Error.vue"]]);export{b as default};
