(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,268399,e=>{"use strict";var t=e.i(890022),s=e.i(431231),r=e.i(235893);function n({error:e,reset:n}){return(0,s.useEffect)(()=>{console.error("Application error:",e)},[e]),(0,t.jsx)("div",{className:"min-h-screen bg-background flex items-center justify-center px-4",children:(0,t.jsxs)("div",{className:"text-center space-y-6 max-w-md",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("h1",{className:"text-6xl font-bold text-destructive",children:"500"}),(0,t.jsx)("h2",{className:"text-2xl font-semibold",children:"Something went wrong!"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:"An unexpected error occurred. Please try again or contact support if the problem persists."}),e.digest&&(0,t.jsxs)("p",{className:"text-xs text-muted-foreground font-mono bg-muted px-3 py-2 rounded",children:["Error ID: ",e.digest]})]}),(0,t.jsxs)("div",{className:"flex gap-4 justify-center",children:[(0,t.jsx)(r.Button,{onClick:n,children:"Try Again"}),(0,t.jsx)(r.Button,{variant:"outline",onClick:()=>window.location.href="/",children:"Go Home"})]})]})})}e.s(["default",()=>n])}]);