import{r as e,t}from"./jsx-runtime-BbTa8W_M-1776590214964.js";import{n,r}from"./app-CXDQ5oEH-1776590214964.js";import{t as i}from"./useTranslation-D1etqd9u-1776590214964.js";import{t as a}from"./createLucideIcon-D477Pc8e-1776590214964.js";import{t as o}from"./arrow-left-BFhIh_le-1776590214964.js";import{t as s}from"./house-DIFS-Wbd-1776590214964.js";import{t as c}from"./server-crash-BZt3-Cg4-1776590214964.js";import{t as l}from"./shield-alert-Bolf0Hfh-1776590214964.js";import{t as u}from"./wrench-CpHof_ZB-1776590214964.js";import{t as d}from"./ThemeProvider-BEVm-uvz-1776590214964.js";import{t as f}from"./button-WiAFyHfP-1776590214964.js";var p=a(`search-x`,[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]);e();var m=t();function h({status:e}){let{t}=i(),{title:a,description:h,icon:g,color:_,bg:v}={503:{title:`Service Unavailable`,description:`We are currently performing some maintenance. We will be back up shortly!`,icon:u,color:`text-orange-500`,bg:`bg-orange-500/10`},500:{title:`Server Error`,description:`Whoops, something went wrong on our servers. Our team has been notified.`,icon:c,color:`text-red-500`,bg:`bg-red-500/10`},404:{title:`Page Not Found`,description:`Sorry, the page or product you are looking for does not exist or has been moved.`,icon:p,color:`text-blue-500`,bg:`bg-blue-500/10`},403:{title:`Access Forbidden`,description:`Sorry, you do not have permission to access this page.`,icon:l,color:`text-amber-500`,bg:`bg-amber-500/10`}}[e]||{title:`Unexpected Error`,description:`An unexpected error occurred. Please try again later.`,icon:c,color:`text-muted-foreground`,bg:`bg-muted`};return(0,m.jsxs)(d,{defaultTheme:`system`,storageKey:`app-ui-theme`,children:[(0,m.jsx)(n,{title:t(a)}),(0,m.jsx)(`div`,{className:`min-h-screen flex flex-col items-center justify-center bg-background text-foreground p-4`,children:(0,m.jsxs)(`div`,{className:`max-w-md w-full text-center space-y-6`,children:[(0,m.jsx)(`div`,{className:`w-32 h-32 mx-auto rounded-full ${v} flex items-center justify-center animate-in zoom-in duration-500 shadow-sm`,children:(0,m.jsx)(g,{className:`w-16 h-16 ${_}`,strokeWidth:1.5})}),(0,m.jsxs)(`div`,{className:`space-y-2 animate-in fade-in slide-in-from-bottom-4 duration-500 delay-150`,children:[(0,m.jsx)(`h1`,{className:`text-8xl font-black text-primary/10 tracking-tighter -mb-8 select-none`,children:e}),(0,m.jsx)(`h2`,{className:`text-3xl font-bold tracking-tight text-foreground relative z-10`,children:t(a)}),(0,m.jsx)(`p`,{className:`text-muted-foreground text-sm sm:text-base leading-relaxed px-4`,children:t(h)})]}),(0,m.jsxs)(`div`,{className:`flex flex-col sm:flex-row items-center justify-center gap-3 pt-6 animate-in fade-in slide-in-from-bottom-4 duration-500 delay-300`,children:[(0,m.jsxs)(f,{variant:`outline`,size:`lg`,className:`w-full sm:w-auto gap-2 rounded-full border-border/50 shadow-sm`,onClick:()=>window.history.back(),children:[(0,m.jsx)(o,{className:`w-4 h-4`}),` `,t(`Go Back`)]}),(0,m.jsx)(f,{size:`lg`,asChild:!0,className:`w-full sm:w-auto gap-2 rounded-full shadow-lg`,children:(0,m.jsxs)(r,{href:`/`,children:[(0,m.jsx)(s,{className:`w-4 h-4`}),` `,t(`Back to Home`)]})})]})]})})]})}export{h as default};