(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4219],{4873:(e,r,s)=>{"use strict";var t=s(12115).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;r.c=function(e){return t.H.useMemoCache(e)}},19749:(e,r,s)=>{"use strict";e.exports=s(4873)},92713:(e,r,s)=>{Promise.resolve().then(s.bind(s,94148))},94148:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>c});var t=s(95155),n=s(19749);function c(e){let r,s,c,l,i,a,d,h=(0,n.c)(12),{error:m,reset:u}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-100",children:(0,t.jsx)("svg",{className:"h-8 w-8 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),s=(0,t.jsx)("h2",{className:"mb-2 text-2xl font-bold text-gray-900",children:"Something went wrong!"}),h[0]=r,h[1]=s):(r=h[0],s=h[1]);let x=m.message||"An unexpected error occurred";return h[2]!==x?(c=(0,t.jsxs)("div",{className:"text-center",children:[r,s,(0,t.jsx)("p",{className:"mb-6 text-gray-600",children:x})]}),h[2]=x,h[3]=c):c=h[3],h[4]!==u?(l=(0,t.jsx)("button",{onClick:u,className:"w-full rounded-md bg-primary-600 px-4 py-2 text-white hover:bg-primary-700 transition-colors",children:"Try again"}),h[4]=u,h[5]=l):l=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("button",{onClick:o,className:"w-full rounded-md border border-gray-300 bg-white px-4 py-2 text-gray-700 hover:bg-gray-50 transition-colors",children:"Go to home"}),h[6]=i):i=h[6],h[7]!==l?(a=(0,t.jsxs)("div",{className:"space-y-3",children:[l,i]}),h[7]=l,h[8]=a):a=h[8],h[9]!==c||h[10]!==a?(d=(0,t.jsx)("html",{children:(0,t.jsx)("body",{children:(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-gray-50 px-4",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-6 rounded-lg bg-white p-8 shadow-lg",children:[c,a]})})})}),h[9]=c,h[10]=a,h[11]=d):d=h[11],d}function o(){return window.location.href="/"}}},e=>{e.O(0,[8441,9826,7358],()=>e(e.s=92713)),_N_E=e.O()}]);