(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64928,e=>{"use strict";var t=e.i(3237),a=e.i(46210),s=e.i(62298),l=e.i(51302),r=e.i(97103),i=e.i(81520),o=e.i(57475);let d=(0,o.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"}]]),c=(0,o.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 n({error:e,reset:o}){let n=(0,r.useLocale)(),m="ar"===n,h=(0,l.useMemo)(()=>({title:m?"حدث خطأ ما":"Something went wrong",message:m?"حدث خطأ أثناء تحميل هذه الصفحة. أعد المحاولة أو عد إلى الصفحة الرئيسية.":"We couldn’t complete your request. Try again or go back home.",retry:m?"إعادة المحاولة":"Retry",home:m?"العودة للرئيسية":"Go Home"}),[m]);return(0,t.jsxs)("div",{className:"relative min-h-[60vh] flex items-center justify-center overflow-hidden",children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,t.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,t.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,t.jsx)("div",{className:"relative mx-auto w-full max-w-3xl px-6",children:(0,t.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,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-6 md:gap-10",children:[(0,t.jsx)("div",{className:"relative w-36 h-36 md:w-44 md:h-44 shrink-0",children:(0,t.jsx)(s.default,{src:"/images/default.png",alt:"Error Illustration",fill:!0,sizes:"176px",className:"object-contain drop-shadow-md opacity-90",priority:!0})}),(0,t.jsxs)("div",{className:"flex-1 text-center md:text-start",children:[(0,t.jsx)("h1",{className:"h3Text text-primary",children:h.title}),(0,t.jsx)("p",{className:"bodyText text-thirdText mt-2",children:h.message}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col sm:flex-row items-center gap-3 sm:gap-4",children:[(0,t.jsx)(i.Button,{className:"bg-secondary text-white",startContent:(0,t.jsx)(c,{className:"size-4"}),onPress:o,children:h.retry}),(0,t.jsx)(i.Button,{as:a.default,href:`/${n}`,className:"bg-primary text-white dark:text-black",startContent:(0,t.jsx)(d,{className:"size-4"}),children:h.home})]})]})]})})})]})}e.s(["default",()=>n],64928)}]);