module.exports=[23083,a=>{"use strict";var b=a.i(11940),c=a.i(79503),d=a.i(96028),e=a.i(1309),f=a.i(78752),g=a.i(87696),h=a.i(86269);let i=(0,h.default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]),j=(0,h.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);function k({error:a,reset:h}){let k=(0,f.useLocale)(),l="ar"===k,m=(0,e.useMemo)(()=>({title:l?"حدث خطأ ما":"Something went wrong",message:l?"حدث خطأ أثناء تحميل هذه الصفحة. أعد المحاولة أو عد إلى الصفحة الرئيسية.":"We couldn’t complete your request. Try again or go back home.",retry:l?"إعادة المحاولة":"Retry",home:l?"العودة للرئيسية":"Go Home"}),[l]);return(0,b.jsxs)("div",{className:"relative min-h-[60vh] flex items-center justify-center overflow-hidden",children:[(0,b.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,b.jsx)("div",{className:"absolute -top-20 -left-20 h-72 w-72 rounded-full blur-3xl opacity-30 dark:opacity-20 bg-linear-to-br from-[#8BC6EC] to-[#9599E2]"}),(0,b.jsx)("div",{className:"absolute -bottom-24 -right-24 h-80 w-80 rounded-full blur-3xl opacity-20 dark:opacity-10 bg-linear-to-br from-[#FBD786] to-[#f7797d]"})]}),(0,b.jsx)("div",{className:"relative mx-auto w-full max-w-3xl px-6",children:(0,b.jsx)("div",{className:"rounded-3xl border border-white/20 dark:border-white/10 bg-white/70 dark:bg-black/40 backdrop-blur-xl shadow-xl p-8 md:p-12",children:(0,b.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-6 md:gap-10",children:[(0,b.jsx)("div",{className:"relative w-36 h-36 md:w-44 md:h-44 shrink-0",children:(0,b.jsx)(d.default,{src:"/images/default.png",alt:"Error Illustration",fill:!0,sizes:"176px",className:"object-contain drop-shadow-md opacity-90",priority:!0})}),(0,b.jsxs)("div",{className:"flex-1 text-center md:text-start",children:[(0,b.jsx)("h1",{className:"h3Text text-primary",children:m.title}),(0,b.jsx)("p",{className:"bodyText text-thirdText mt-2",children:m.message}),(0,b.jsxs)("div",{className:"mt-6 flex flex-col sm:flex-row items-center gap-3 sm:gap-4",children:[(0,b.jsx)(g.Button,{className:"bg-secondary text-white",startContent:(0,b.jsx)(j,{className:"size-4"}),onPress:h,children:m.retry}),(0,b.jsx)(g.Button,{as:c.default,href:`/${k}`,className:"bg-primary text-white dark:text-black",startContent:(0,b.jsx)(i,{className:"size-4"}),children:m.home})]})]})]})})})]})}a.s(["default",()=>k],23083)}];

//# sourceMappingURL=src_app_%5Blang%5D_error_tsx_9b7ee6ab._.js.map