Files
e-tib.com/.next/static/chunks/57c9b5d3ec2675e3.js
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

4 lines
2.1 KiB
JavaScript

;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="5926686f-cd61-d5d9-588b-2d5ec572e487")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,309974,e=>{"use strict";var t=e.i(452797),s=e.i(907358),i=e.i(190422),l=e.i(777616);e.i(445774);var a=e.i(575003),r=e.i(676525),n=e.i(982016),o=e.i(224038);function c({error:e,reset:c}){let d=(0,i.useTranslations)("Error");return(0,s.useEffect)(()=>{if(e?.message?.includes("Failed to find Server Action"))return void window.location.reload();let t=(0,l.getAppServices)();t.errors.captureException(e),t.logger.error("Application error caught by boundary",{message:e?.message||"Unknown error",stack:e?.stack,digest:e?.digest})},[e]),(0,t.jsxs)(a.Container,{className:"relative py-24 flex flex-col items-center justify-center text-center min-h-[70vh] overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-10 opacity-[0.03] pointer-events-none flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-[20rem] font-bold select-none",children:"500"})}),(0,t.jsxs)("div",{className:"relative mb-8",children:[(0,t.jsx)(n.Heading,{level:1,className:"text-6xl md:text-8xl font-bold mb-2 text-saturated",children:"500"}),(0,t.jsx)(o.default,{variant:"underline",className:"w-full h-6 -bottom-2 left-0 text-saturated/40"})]}),(0,t.jsx)(n.Heading,{level:2,className:"text-2xl md:text-3xl font-bold mb-4",children:d("title")}),(0,t.jsx)("p",{className:"text-white/60 mb-10 max-w-md text-lg",children:d("description")}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,t.jsx)(r.Button,{onClick:()=>c(),variant:"saturated",size:"lg",children:d("tryAgain")}),(0,t.jsx)(r.Button,{href:"/",variant:"outline",size:"lg",children:d("goHome")})]}),(0,t.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-px h-24 bg-gradient-to-b from-saturated/50 to-transparent"})]})}e.s(["default",()=>c])}]);
//# debugId=5926686f-cd61-d5d9-588b-2d5ec572e487