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C,OAAQ,mBACRC,OAAQ,kBAGV,CACF,EAGaC,EAAY,CACvBvB,SAAU,WACVwB,SAAU,WACVC,MAAO,OACT","sources":["webpack://_N_E/../common/src/components/IconTextItem/index.tsx","webpack://_N_E/./src/app/hackathon/[hackathonId]/_components/SocialIcons.tsx","webpack://_N_E/./src/components/icons.tsx","webpack://_N_E/./src/constants/env.ts","webpack://_N_E/./src/constants/path.ts"],"sourcesContent":["\"use client\"\n\nimport { FC, ReactNode } from \"react\"\nimport { IconType } from \"react-icons\"\nimport * as RiIcons from \"react-icons/ri\"\nimport { RiArrowRightUpLine } from \"react-icons/ri\"\n\nexport type IconInfo = {\n name: string\n isRiIcon: boolean\n}\n\nexport type IconTextItemProps = {\n // 基本プロパティ\n iconInfo: IconInfo\n text: string | string[] | number | number[]\n description?: string\n iconClassName?: string\n\n // 共通オプション\n direction?: \"row\" | \"column\"\n isLink?: boolean\n link?: string\n linkDescription?: string\n\n // 拡張機能\n isDate?: boolean\n renderDate?: (date: number) => ReactNode\n renderLinkWrapper?: (\n content: ReactNode,\n link: string,\n linkDescription: string,\n ) => ReactNode\n}\n\nexport const IconTextItem: FC = ({\n // 基本プロパティ\n iconInfo,\n text,\n description,\n iconClassName = \"w-6 h-6 text-gray-400\",\n\n // 共通オプション\n direction = \"column\",\n isLink = false,\n link = \"#\",\n linkDescription = \"#\",\n\n // 拡張機能\n isDate = false,\n renderDate,\n renderLinkWrapper,\n}) => {\n const IconComponent =\n iconInfo.isRiIcon && iconInfo.name in RiIcons\n ? (RiIcons[iconInfo.name as keyof typeof RiIcons] as IconType)\n : () => {iconInfo.name}\n\n const renderText = (item: string | number) => {\n if (isDate && renderDate && typeof item === \"number\") {\n return renderDate(item)\n }\n return item\n }\n\n const content = (\n
\n
\n \n
\n \n {Array.isArray(text) ? (\n text.map((item) => (\n \n {renderText(item)}\n

\n ))\n ) : (\n

\n {renderText(text)}\n

\n )}\n {description != null && (\n \n {description}\n

\n )}\n
\n {link && isLink && (\n
\n \n
\n )}\n \n )\n\n // カスタムリンクラッパーが提供されている場合\n if (isLink && link !== \"\" && renderLinkWrapper) {\n return renderLinkWrapper(content, link, linkDescription)\n }\n\n return (\n
{content}
\n )\n}\n","import { Link } from \"@heroui/link\"\nimport { FC, ReactNode } from \"react\"\nimport { RiGlobalLine, RiInstagramFill, RiYoutubeFill } from \"react-icons/ri\"\n\nimport { TSponsorUrls } from \"@/api/raid\"\nimport { TwitterIcon } from \"@/components/icons\"\n\ntype Props = {\n urls: TSponsorUrls\n}\n\nconst iconMap = new Map<\n \"web\" | \"youtube\" | \"instagram\" | \"x\" | \"image\",\n ReactNode\n>([\n [\"x\", ],\n [\n \"youtube\",\n ,\n ],\n [\n \"instagram\",\n ,\n ],\n [\"web\", ],\n])\n\nexport const SocialIcons: FC = ({ urls }) => {\n return (\n
\n {urls\n .filter((url) => url.type !== \"image\")\n .map((url) => (\n \n {iconMap.get(url.type) ?? \"\"}\n \n ))}\n
\n )\n}\n","import * as React from \"react\"\n\nimport { IconSvgProps } from \"@/types\"\n\nexport const Logo: React.FC = ({\n size = 48,\n width,\n height,\n fill = \"currentColor\",\n ...props\n}) => (\n \n \n \n \n)\n\nexport const LogoWithText: React.FC = ({\n size = 227,\n width,\n height,\n ...props\n}) => (\n \n \n \n \n \n)\n\nexport const LogoAuth: React.FC = (props) => (\n \n \n \n \n)\n\nexport const DiscordIcon: React.FC = ({\n size = 24,\n width,\n height,\n ...props\n}) => {\n return (\n \n \n \n )\n}\n\nexport const TwitterIcon: React.FC = ({\n size = 24,\n width,\n height,\n ...props\n}) => {\n return (\n \n \n \n )\n}\n\nexport const GithubIcon: React.FC = ({\n size = 24,\n width,\n height,\n ...props\n}) => {\n return (\n \n \n \n )\n}\n\nexport const MoonFilledIcon = ({\n size = 24,\n width,\n height,\n ...props\n}: IconSvgProps) => (\n \n \n \n)\n\nexport const SunFilledIcon = ({\n size = 24,\n width,\n height,\n ...props\n}: IconSvgProps) => (\n \n \n \n \n \n \n)\n\nexport const XRoundIcon = ({\n size = 48,\n width,\n height,\n ...props\n}: IconSvgProps) => (\n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport const DiscordRoundIcon = ({ ...props }: IconSvgProps) => (\n \n \n \n \n)\n\nexport const ArrowDownsLineIcon = ({ ...props }: IconSvgProps) => (\n \n \n \n)\n","// auth0\nexport const AUTH_DOMAIN = process.env[\"AUTH0_ISSUER_BASE_URL\"]\nexport const AUTH_CLIENT_ID = process.env[\"AUTH0_CLIENT_ID\"]\nexport const AUTH_CLIENT_SECRET = process.env[\"AUTH0_CLIENT_SECRET\"]\nexport const AUTH_M2M_CLIENT_ID = process.env[\"AUTH0_M2M_CLIENT_ID\"]\nexport const AUTH_M2M_CLIENT_SECRET = process.env[\"AUTH0_M2M_CLIENT_SECRET\"]\n\nexport const SERVER_URL = process.env[\"NEXT_PUBLIC_SERVER_URL\"]\nexport const CLIENT_URL = process.env[\"NEXT_PUBLIC_CLIENT_URL\"]\n\n// newt\nexport const NEWT_SPACE_ID = process.env[\"NEWT_SPACE_UID\"]\nexport const NEWT_BLOG_API_TOKEN = process.env[\"NEWT_CDN_BLOG_API_TOKEN\"]\nexport const NEWT_CDN_MUSEUM_TOKEN = process.env[\"NEWT_CDN_MUSEUM_API_TOKEN\"]\nexport const NEWT_CDN_NEWSROOM_TOKEN =\n process.env[\"NEWT_CDN_NEWSROOM_API_TOKEN\"]\n","import { CLIENT_URL } from \"./env\"\n\nexport const PATH = {\n SERVICE: {\n HACKATHON: `${CLIENT_URL}/hackathon`,\n // レイドの詳細ページのパスを生成する関数\n getRaidDetail: (raidId: string) => `${CLIENT_URL}/hackathon/${raidId}`,\n // タブ付きのURLを生成する関数\n getRaidDetailWithTab: (raidId: string, tab: RaidTab) =>\n `${CLIENT_URL}/hackathon/${raidId}#${tab}`,\n // 出場プレイヤー向けハッカソンページのパスを生成する関数\n getHackathonPlayerParticipateInfo: (raidId: string) =>\n `${CLIENT_URL}/hackathon/${raidId}/participate-info`,\n INFO: `${CLIENT_URL}/settings/info`,\n NOTIFICATION: `${CLIENT_URL}/settings/notification`,\n ACCOUNT: `${CLIENT_URL}/settings/account`,\n REGISTER: \"/auth/register\",\n // \n // ユーザーが初めてログインした後、追加情報を入力するページ\n // 既にユーザー登録が完了している場合は、メインページ(HACKATHON)にリダイレクト\n EMAIL_VERIFY: \"/auth/email_verify\",\n // \n // メール確認プロセスを管理するページ\n // メールが確認済みの場合、メインページ(HACKATHON)にリダイレクト\n OVERVIEW: \"/overview\",\n SPONSOR: \"/sponsor\",\n BLOG: \"/blog\",\n NEWS: \"/news\",\n MUSEUM: \"/museum\",\n CONTACT: \"https://www.copalette.org/contact\",\n MEDIA_KIT: \"/media_kit\",\n },\n HELP: {\n INDEX: \"/help\",\n PRIVACY: \"/help/privacy\",\n TERMS: \"/help/terms\",\n PLAYER_POLICY: \"/help/player-policy\",\n PENALTY_RULES: \"/help/penalty-rules\",\n COMMON_RULES: \"/help/common-rules\",\n GLOSSARY: \"/help/glossary\",\n },\n ORGANIZE: {\n ROOT: \"https://organize.craftstadium.com\",\n WHAT_IS_HACKATHON:\n \"https://organize.craftstadium.com/about/what-is-hackathon\",\n FLOW: \"https://organize.craftstadium.com/about/flow\",\n CONTACT: \"https://organize.craftstadium.com/contact\",\n },\n Auth: {\n LOGIN: \"/api/auth/login\",\n LOGOUT: \"/api/auth/logout\",\n SIGNUP: \"/api/auth/signup\",\n // \n // 新規ユーザー登録(サインアップ)処理を開始・Auth0の新規登録画面を開く\n },\n} as const\n\n// ハッカソン詳細ページのタブを定義\nexport const RAID_TABS = {\n OVERVIEW: \"overview\",\n SCHEDULE: \"schedule\",\n RULES: \"rules\",\n} as const\n\nexport type RaidTab = (typeof RAID_TABS)[keyof typeof RAID_TABS]\n"],"names":["IconTextItem","iconInfo","text","description","iconClassName","direction","isLink","link","linkDescription","isDate","renderDate","renderLinkWrapper","param","IconComponent","isRiIcon","name","RiIcons","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","span","renderText","item","content","jsxs","div","className","aria-hidden","concat","Array","isArray","map","p","suppressHydrationWarning","RiArrowRightUpLine","iconMap","Map","TwitterIcon","size","RiYoutubeFill","RiInstagramFill","RiGlobalLine","SocialIcons","urls","filter","url","type","Link","href","isExternal","get","Logo","width","height","fill","props","svg","viewBox","path","d","DiscordIcon","ArrowDownsLineIcon","xmlns","AUTH_DOMAIN","process","env","SERVER_URL","CLIENT_URL","PATH","SERVICE","HACKATHON","getRaidDetail","raidId","getRaidDetailWithTab","tab","getHackathonPlayerParticipateInfo","INFO","NOTIFICATION","ACCOUNT","REGISTER","EMAIL_VERIFY","OVERVIEW","SPONSOR","BLOG","NEWS","MUSEUM","CONTACT","MEDIA_KIT","HELP","INDEX","PRIVACY","TERMS","PLAYER_POLICY","PENALTY_RULES","COMMON_RULES","GLOSSARY","ORGANIZE","ROOT","WHAT_IS_HACKATHON","FLOW","Auth","LOGIN","LOGOUT","SIGNUP","RAID_TABS","SCHEDULE","RULES"],"sourceRoot":""}