(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10445,e=>{"use strict";var r=e.i(27493),t=e.i(4);function s({error:e,reset:s}){return(0,t.useEffect)(()=>{console.error("[shieldcortex] Dashboard error:",e)},[e]),(0,r.jsx)("div",{className:"min-h-screen bg-[#0a0a0f] flex items-center justify-center p-4",children:(0,r.jsxs)("div",{className:"max-w-md w-full bg-gray-900 rounded-lg border border-gray-800 p-6 text-center",children:[(0,r.jsx)("div",{className:"text-4xl mb-4",children:"🧠"}),(0,r.jsx)("h2",{className:"text-xl font-semibold text-white mb-2",children:"Visualization Error"}),(0,r.jsx)("p",{className:"text-gray-400 mb-4",children:"The brain visualization encountered an error. This might be due to WebGL compatibility or memory constraints."}),e.message&&(0,r.jsx)("pre",{className:"text-xs text-red-400 bg-gray-950 p-3 rounded mb-4 overflow-auto max-h-32 text-left",children:e.message}),(0,r.jsxs)("div",{className:"flex gap-3 justify-center",children:[(0,r.jsx)("button",{onClick:s,className:"px-4 py-2 bg-cyan-600 hover:bg-cyan-700 text-white rounded-md transition-colors",children:"Try Again"}),(0,r.jsx)("button",{onClick:()=>window.location.reload(),className:"px-4 py-2 bg-gray-700 hover:bg-gray-600 text-white rounded-md transition-colors",children:"Reload Page"})]})]})})}e.s(["default",()=>s])}]);