1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34219],{22788:(r,o,e)=>{Promise.resolve().then(e.bind(e,99304))},99304:(r,o,e)=>{"use strict";e.r(o),e.d(o,{default:()=>t});var n=e(66182),a=e(51398),l=e(45551);function t(r){let{error:o,reset:e}=r,[t]=(0,a.useState)(()=>"ERR-".concat(Date.now().toString(36).toUpperCase(),"-").concat(Math.random().toString(36).substring(2,9).toUpperCase())),i=(0,l.C2)(o.message),d="Something went wrong",s=(0,l.p5)(d,i),g={display:"inline-flex",minHeight:"44px",alignItems:"center",justifyContent:"center",gap:"8px",padding:"8px 16px",fontSize:"14px",fontWeight:500,borderRadius:"8px",cursor:"pointer"};return(0,n.jsxs)("html",{lang:"en",style:{colorScheme:"light dark"},children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{children:"\n :root {\n --global-error-background: #f5f6f8;\n --global-error-card: #ffffff;\n --global-error-foreground: #1f2021;\n --global-error-muted: #5f6368;\n --global-error-border: #d9dde3;\n --global-error-subtle: #f5f6f8;\n --global-error-danger: #b42318;\n --global-error-danger-bg: #fef2f2;\n --global-error-focus: var(--global-error-foreground);\n --global-error-mobile-inset: 16px;\n }\n @media (prefers-color-scheme: dark) {\n :root {\n --global-error-background: #111214;\n --global-error-card: #1c1d20;\n --global-error-foreground: #f5f6f8;\n --global-error-muted: #c2c5ca;\n --global-error-border: #3a3d42;\n --global-error-subtle: #26282c;\n --global-error-danger: #fda29b;\n --global-error-danger-bg: #3b191b;\n }\n }\n *, *::before, *::after { box-sizing: border-box; }\n .global-error-action:focus-visible {\n outline: 3px solid var(--global-error-focus);\n outline-offset: 2px;\n }\n .global-error-primary-actions {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 8px;\n }\n @media (max-width: 480px) {\n .global-error-primary-actions { grid-template-columns: minmax(0, 1fr); }\n }\n @media (max-width: 767px) {\n .global-error-body {\n padding-top: max(var(--global-error-mobile-inset), env(safe-area-inset-top, 0px)) !important;\n padding-right: max(var(--global-error-mobile-inset), env(safe-area-inset-right, 0px)) !important;\n padding-bottom: max(var(--global-error-mobile-inset), env(safe-area-inset-bottom, 0px)) !important;\n padding-left: max(var(--global-error-mobile-inset), env(safe-area-inset-left, 0px)) !important;\n }\n }\n "})}),(0,n.jsx)("body",{className:"global-error-body",style:{margin:0,minHeight:"100dvh",display:"flex",alignItems:"center",justifyContent:"center",overflowX:"hidden",padding:"16px",backgroundColor:"var(--global-error-background)",color:"var(--global-error-foreground)",fontFamily:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:(0,n.jsxs)("main",{role:"alert","aria-labelledby":"global-error-heading",style:{width:"100%",maxWidth:"480px",padding:"clamp(20px, 6vw, 32px)",overflowWrap:"anywhere",backgroundColor:"var(--global-error-card)",border:"1px solid var(--global-error-border)",borderRadius:"10px",boxShadow:"0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04)"},children:[(0,n.jsxs)("div",{style:{marginBottom:"20px",textAlign:"center"},children:[(0,n.jsx)("div",{style:{width:"44px",height:"44px",display:"inline-flex",alignItems:"center",justifyContent:"center",marginBottom:"12px",borderRadius:"50%",backgroundColor:"var(--global-error-danger-bg)"},children:(0,n.jsxs)("svg",{"aria-hidden":"true",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"var(--global-error-danger)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),(0,n.jsx)("path",{d:"M12 9v4"}),(0,n.jsx)("path",{d:"M12 17h.01"})]})}),(0,n.jsx)("h1",{id:"global-error-heading",style:{margin:"0 0 4px",fontSize:"18px",fontWeight:600,lineHeight:1.35},children:d}),(0,n.jsx)("p",{style:{margin:0,color:"var(--global-error-muted)",fontSize:"14px",lineHeight:1.5},children:"We couldn't load ChatFuse. Retry or return to the app."})]}),(0,n.jsxs)("div",{style:{marginBottom:"20px",padding:"16px",border:"1px solid var(--global-error-border)",borderRadius:"8px",backgroundColor:"var(--global-error-subtle)"},children:[(0,n.jsx)("p",{style:{margin:"0 0 8px",fontSize:"13px",fontWeight:500},children:"Error details"}),(0,n.jsx)("p",{style:{margin:0,color:"var(--global-error-muted)",fontSize:"13px",lineHeight:1.5},children:s})]}),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[(0,n.jsxs)("div",{className:"global-error-primary-actions",children:[(0,n.jsxs)("button",{type:"button",className:"global-error-action",onClick:()=>e(),style:{...g,color:"var(--global-error-card)",backgroundColor:"var(--global-error-foreground)",border:"1px solid var(--global-error-foreground)"},children:[(0,n.jsxs)("svg",{"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"}),(0,n.jsx)("path",{d:"M21 3v5h-5"})]}),"Try Again"]}),(0,n.jsxs)("button",{type:"button",className:"global-error-action",onClick:()=>{window.location.href="/"},style:{...g,color:"var(--global-error-foreground)",backgroundColor:"transparent",border:"1px solid var(--global-error-border)"},children:[(0,n.jsxs)("svg",{"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),(0,n.jsx)("polyline",{points:"9 22 9 12 15 12 15 22"})]}),"Go to Dashboard"]})]}),(0,n.jsxs)("a",{href:"mailto:[email protected]",className:"global-error-action",style:{...g,color:"var(--global-error-foreground)",backgroundColor:"transparent",border:"1px solid var(--global-error-border)",textDecoration:"none"},children:[(0,n.jsx)("svg",{"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,n.jsx)("path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z"})}),"Contact Support"]})]}),(0,n.jsxs)("div",{style:{marginTop:"20px",paddingTop:"16px",borderTop:"1px solid var(--global-error-border)",textAlign:"center"},children:[(0,n.jsx)("p",{style:{margin:"0 0 8px",color:"var(--global-error-muted)",fontSize:"13px",lineHeight:1.5},children:"If this problem persists, contact support or try refreshing."}),(0,n.jsxs)("span",{style:{display:"inline-block",padding:"4px 12px",borderRadius:"6px",backgroundColor:"var(--global-error-subtle)",color:"var(--global-error-muted)",fontFamily:"monospace",fontSize:"11px"},children:["Error ID: ",t]})]})]})})]})}}},r=>{r.O(0,[45551,60103,20506,74970,77358],()=>r(r.s=22788)),_N_E=r.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.