(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8332],{71648:function(e,r,a){Promise.resolve().then(a.bind(a,77640))},77640:function(e,r,a){"use strict";a.r(r),a.d(r,{default:function(){return d}});var s=a(57437),t=a(2265),n=a(27648);function d(e){let{error:r,reset:a}=e;return(0,t.useEffect)(()=>{console.error("Dashboard error:",r)},[r]),(0,s.jsxs)("div",{className:"min-h-screen bg-gradient-bg-light dark:bg-gradient-bg-dark",children:[(0,s.jsx)("header",{className:"bg-white/80 dark:bg-gray-900/80 backdrop-blur-[20px] border-b border-gray-200 dark:border-gray-700",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-6 py-4",children:(0,s.jsx)("div",{className:"flex items-center space-x-4",children:(0,s.jsx)(n.default,{href:"/dashboard",className:"p-2 text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-300 transition-colors",children:"← Back to Dashboard"})})})}),(0,s.jsx)("main",{className:"max-w-7xl mx-auto px-6 py-8",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"w-16 h-16 bg-red-100 dark:bg-red-900/20 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,s.jsx)("svg",{className:"w-8 h-8 text-red-600 dark:text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.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-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,s.jsx)("h2",{className:"text-2xl font-bold text-gray-800 dark:text-gray-100 mb-2",children:"Dashboard Error"}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-6 max-w-md mx-auto",children:"Something went wrong while loading the dashboard. Please try again."}),(0,s.jsxs)("div",{className:"flex gap-4 justify-center",children:[(0,s.jsx)("button",{onClick:a,className:"btn-primary",children:"Try Again"}),(0,s.jsx)(n.default,{href:"/dashboard",className:"btn-secondary",children:"Go to Dashboard"})]})]})})]})}}},function(e){e.O(0,[7648,2971,2117,1744],function(){return e(e.s=71648)}),_N_E=e.O()}]);