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,WAAWI,MAAA,CAAFH,KAGrCjB,EAAMa,KAAK,GAEhBV,KAAYmB,IAAZnB,GAAyB,GAAAE,EAAAI,GAAA,EAACc,IAAAA,CAAEf,UAAU,uBAAeL,IACrDC,KAAgBkB,IAAhBlB,GACC,GAAAC,EAAAI,GAAA,EAACc,IAAAA,CAAEf,UAAU,8CAAsCJ,IAIrD,GAAAC,EAAAI,GAAA,EAACe,MAAAA,CAAIhB,UAAU,4CACb,GAAAH,EAAAI,GAAA,EAACgB,EAAAA,OAAIA,CAAAA,CAACC,KAAK,aACT,GAAArB,EAAAI,GAAA,EAACkB,SAAAA,CACC/B,KAAK,SACLY,UAAU,gOACX,oBAOX","sources":["webpack://_N_E/?dd27","webpack://_N_E/./src/components/ErrorCard.tsx"],"sourcesContent":["import(/* webpackMode: \"eager\", webpackExports: [\"Link\"] */ \"/codebuild/output/src1700445902/src/craft-stadium/frontend/user/node_modules/@heroui/link/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1700445902/src/craft-stadium/frontend/user/node_modules/next/dist/client/link.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"PlayerNavbarClient\"] */ \"/codebuild/output/src1700445902/src/craft-stadium/frontend/user/src/app/(service)/_components/PlayerNavbarClient.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"UserStatus\"] */ \"/codebuild/output/src1700445902/src/craft-stadium/frontend/user/src/app/(service)/_components/UserStatus.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ErrorCard\"] */ \"/codebuild/output/src1700445902/src/craft-stadium/frontend/user/src/components/ErrorCard.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ThemeSwitch\"] */ \"/codebuild/output/src1700445902/src/craft-stadium/frontend/user/src/components/theme-switch.tsx\");\n","\"use client\"\n\nimport { fontMontserrat } from \"@craft-stadium/common/src/config/fonts\"\nimport clsx from \"clsx\"\nimport Link from \"next/link\"\n\nimport { Logo } from \"@/components/icons\"\nimport { siteConfig } from \"@/config/site\"\n\nexport type ErrorType = \"notFound\" | \"forbidden\" | \"systemError\" | \"other\"\n\nexport type ErrorCardProps = {\n type: ErrorType\n customMessage?: string\n customDescription?: string\n}\n\nexport const ErrorCard = (props: ErrorCardProps) => {\n const { type, customMessage, customDescription } = props\n\n const error = siteConfig.errors[type]\n\n const message = customMessage ?? error.message\n const description = customDescription ?? error.description\n\n return (\n
\n \n {type === \"notFound\" || type === \"forbidden\"\n ? error.title.split(\"\").map((char, i) =>\n char === \"0\" ? (\n // eslint-disable-next-line react/no-array-index-key\n \n ) : (\n // eslint-disable-next-line react/no-array-index-key\n {char}\n ),\n )\n : error.title}\n \n {message !== undefined &&

{message}

}\n {description !== undefined && (\n

{description}

\n )}\n\n {/* トップページに戻る */}\n
\n \n \n トップページに戻る\n \n \n
\n
\n )\n}\n"],"names":["Promise","resolve","then","__webpack_require__","bind","t","ErrorCard","type","customMessage","customDescription","props","error","siteConfig","errors","message","description","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","section","className","jsx","h1","clsx","fontMontserrat","title","split","map","char","i","Logo","size","concat","span","undefined","p","div","Link","href","button"],"sourceRoot":""}