{"version":3,"file":"static/chunks/pages/_error-ed5f55752c330ee5.js","mappings":"uFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,UACA,WACA,OAAeC,EAAQ,MACvB,EACA,0ICAe,SAASC,EAAcC,CAEjB,KAFiB,CACpCC,kBAAAA,CAAiB,CACE,CAFiBD,EAG9B,CAAEE,EAAAA,CAAC,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,CAAAA,EAAe,UACvB,CAAEC,OAAAA,CAAM,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,SAAAA,IAWnB,MACE,GAAAC,EAAAC,IAAA,EAACC,MAAAA,CACCC,UAAW,GAAuBR,MAAAA,CAApBS,IAAAA,SAAAA,CAAiB,KAAqDC,MAAA,CAAlDV,EAAoBS,GAAAA,CAAAA,iBAAAA,CAA2B,cAEjF,GAAAJ,EAAAM,GAAA,EAACC,IAAAA,CAAEJ,UAAW,GAA0BE,MAAA,CAAvBD,IAAAA,eAAAA,CAAuB,kCACxC,GAAAJ,EAAAM,GAAA,EAACE,KAAAA,CAAGL,UAAWC,IAAAA,gBAAAA,UAA0BR,EAAE,0BAC3C,GAAAI,EAAAM,GAAA,EAACG,IAAAA,CAAEN,UAAWC,IAAAA,sBAAAA,UACXR,EAAE,gCAEL,GAAAI,EAAAM,GAAA,EAACI,EAAAA,CAAMA,CAAAA,CAACC,QAlBZ,WAMEC,SAASd,MAAM,EACjB,WAWoCF,EAAE,6BAGxC,wHC9Be,SAASiB,IACtB,MACE,GAAAb,EAAAM,GAAA,EAACQ,EAAAA,CAAMA,CAAAA,UACL,GAAAd,EAAAM,GAAA,EAACb,EAAAA,CAAaA,CAAAA,CAAAA,IAGpB,qBCRAsB,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?cf31","webpack://_N_E/./src/components/core/MainLayout/ErrorBoundary/index.tsx","webpack://_N_E/./src/pages/_error.tsx","webpack://_N_E/./src/components/core/MainLayout/ErrorBoundary/styles.module.scss"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/_error\",\n function () {\n return require(\"private-next-pages/_error.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/_error\"])\n });\n }\n ","import useTranslation from 'next-translate/useTranslation';\nimport styles from './styles.module.scss';\nimport { useRouter } from 'next/router';\nimport { ErrorBoundaryProps } from './props';\nimport { Button } from '@starsoft/common/components';\n\nexport default function ErrorBoundary({\n isServerSideError,\n}: ErrorBoundaryProps) {\n const { t } = useTranslation('common');\n const { reload } = useRouter();\n\n function handleReload() {\n if (typeof window === 'undefined') {\n reload();\n return;\n }\n\n location.reload();\n }\n\n return (\n \n \n

{t('error_boundary_title')}

\n

\n {t('error_boundary_description')}\n

\n \n \n );\n}\n","import ErrorBoundary from '@/components/core/MainLayout/ErrorBoundary';\nimport Layout from '@/components/core/Layout';\n\nexport default function ErrorPage() {\n return (\n \n \n \n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__cyG0S\",\"container--500\":\"styles_container--500__ywM9p\",\"container__title\":\"styles_container__title___hAJY\",\"container__description\":\"styles_container__description__QYH6D\",\"container__icon\":\"styles_container__icon___p2cQ\",\"skeleton-animation\":\"styles_skeleton-animation__1_n0R\"};"],"names":["window","__NEXT_P","push","__webpack_require__","ErrorBoundary","param","isServerSideError","t","useTranslation","reload","useRouter","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","styles","concat","jsx","i","h1","p","Button","onClick","location","ErrorPage","Layout","module","exports"],"sourceRoot":""}