(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4219],{1441:(e,o,r)=>{Promise.resolve().then(r.bind(r,28731))},28731:(e,o,r)=>{"use strict";r.r(o),r.d(o,{default:()=>n});var t=r(95155),i=r(12115);function n({error:e,reset:o}){let[r,n]=(0,i.useTransition)(),[s,a]=(0,i.useState)(!1),l=window.location.pathname.startsWith("/en")?"en":"ka",c=(0,i.useMemo)(()=>{let o=e?.message?.toLowerCase()||"";return o.includes("not found")&&o.includes("store")?{level:"unavailable",title:"en"===l?"Store Unavailable":"მაღაზია მიუწვდომელია",subtitle:"en"===l?"The store you are looking for is not registered on KOMERO platform":"თქვენს მიერ მოთხოვნილი მაღაზია არ არის რეგისტრირებული KOMERO-ს პლატფორმაზე",color:"#3b82f6"}:o.includes("500")||o.includes("502")||o.includes("503")||o.includes("fetch failed")||o.includes("econnrefused")||o.includes("network error")?{level:"critical",title:"en"===l?"System Failure":"სისტემური ხარვეზი",subtitle:"en"===l?"The application encountered a critical error":"აპლიკაციამ კრიტიკული ხარვეზი დააფიქსირა",color:"#3b82f6"}:o.includes("401")||o.includes("auth")?{level:"auth",title:"en"===l?"Session Expired":"სესია დასრულდა",subtitle:"en"===l?"Please sign in again":"გთხოვთ გაიაროთ ხელახალი ავტორიზაცია",color:"#f59e0b"}:{level:"info",title:"en"===l?"Restoring Session...":"მიმდინარეობს აღდგენა...",subtitle:"en"===l?"Optimizing your experience":"ვამზადებთ სამუშაო გარემოს",color:"#0a0a0a"}},[e,l]),d=()=>{n(()=>{o(),window.location.reload()})};return(0,i.useEffect)(()=>{if("unavailable"===c.level)return;let e=setTimeout(()=>{d()},8e3);return()=>clearTimeout(e)},[o,c.level]),(0,t.jsxs)("html",{lang:l,children:[(0,t.jsx)("head",{children:(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` body { margin: 0; padding: 0; background-color: #ffffff; color: #0a0a0a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } @media (prefers-color-scheme: dark) { body { background-color: #000000; color: #f5f5f5; } } .error-container { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; z-index: 9999; background-color: inherit; } .progress-line { position: fixed; top: 0; left: 0; right: 0; height: 3px; background-color: ${c.color}; transform-origin: left; animation: progress-load 8s linear forwards; } .content { text-align: center; max-width: 480px; width: 100%; opacity: 1; animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .title { font-size: 24px; font-weight: 300; letter-spacing: 0.05em; color: inherit; text-transform: uppercase; margin: 0 0 8px 0; animation: pu