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D,QAAS,2CACX,EACA0F,KAAM,CACJC,MAAO,kBACPC,OAAQ,mBACRC,OAAQ,kBAGV,CACF,EAGaC,EAAY,CACvBN,SAAU,WACVO,SAAU,WACVC,MAAO,OACT","sources":["webpack://_N_E/../common/src/components/OrganizeButton.tsx","webpack://_N_E/../common/src/config/site.ts","webpack://_N_E/./src/config/link.ts","webpack://_N_E/./src/components/SubFooter.tsx","webpack://_N_E/./src/components/HamburgerMenu.tsx","webpack://_N_E/./src/components/icons.tsx","webpack://_N_E/./src/components/theme-switch.tsx","webpack://_N_E/./src/config/site.ts","webpack://_N_E/./src/constants/env.ts","webpack://_N_E/./src/constants/path.ts"],"sourcesContent":["import { Button, ButtonProps } from \"@heroui/react\"\nimport React from \"react\"\n\ntype OzButtonColor = \"primary\" | \"secondary\" | \"success\" | \"warning\" | \"danger\"\ninterface OzButtonProps extends Omit {\n color?: OzButtonColor\n variant?:\n | \"solid\"\n | \"bordered\"\n | \"light\"\n | \"flat\"\n | \"faded\"\n | \"shadow\"\n | \"ghost\"\n size?: \"sm\" | \"md\" | \"lg\"\n radius?: \"sm\" | \"md\" | \"lg\" | \"none\" | \"full\" | undefined\n}\n\nexport const OrganizeButton: React.FC = ({\n children,\n color = \"primary\",\n variant = \"solid\",\n size = \"md\",\n radius = \"sm\",\n ...props\n}) => {\n return (\n \n {children}\n \n )\n}\n","export const commonSiteConfig = {\n links: {\n x: \"https://twitter.com/CraftStadium\",\n discord: \"https://discord.gg/kQvdQEa4uD\",\n sponsor: \"https://forms.gle/TTsfjLrxg658Q9u69\",\n media_kit:\n \"https://drive.google.com/drive/folders/1Gzv9EP037sZaOTnuqsyEncxSw7RPvZKa?usp=sharing\",\n },\n}\n","export const linkConfig = {\n glossary: \"/help\",\n rule: \"/help/rule\",\n privacy: \"/help/privacy\",\n terms: \"/help/terms\",\n}\n","import { fontMontserrat } from \"@craft-stadium/common/src/config/fonts\"\nimport { commonSiteConfig } from \"@craft-stadium/common/src/config/site\"\nimport { Link } from \"@heroui/link\"\nimport clsx from \"clsx\"\nimport NextLink from \"next/link\"\n\nimport { DiscordIcon, TwitterIcon } from \"./icons\"\nimport { ThemeSwitch } from \"./theme-switch\"\n\nimport { linkConfig } from \"@/config/link\"\n\ninterface SubFooterProps {\n mode?: \"dark\" | \"default\"\n}\n\nexport const SubFooter = ({ mode = \"default\" }: SubFooterProps) => {\n // モードに応じてテキストカラーを決定\n const textColorClass =\n mode === \"dark\"\n ? \"text-gray-300 hover:text-primary\"\n : \"text-default-500 hover:text-white\"\n\n return (\n
\n \n \n プライバシーポリシー\n \n \n 利用規約\n \n\n \n \n \n \n \n \n \n
\n \n © {new Date().getFullYear()} CoPalette. Inc,\n

\n \n )\n}\n","import { OrganizeButton } from \"@craft-stadium/common/src/components/OrganizeButton\"\nimport { fontMontserrat } from \"@craft-stadium/common/src/config/fonts\"\nimport { Accordion, AccordionItem } from \"@heroui/accordion\"\nimport { NavbarMenu, NavbarMenuToggle } from \"@heroui/navbar\"\nimport clsx from \"clsx\"\nimport NextLink from \"next/link\"\nimport React, { useCallback } from \"react\"\n\nimport { SubFooter } from \"./SubFooter\"\n\nimport { PATH } from \"@/constants/path\"\n\ntype MenuItem = {\n title: string\n items: {\n label: string\n href: string\n }[]\n}\n\ntype HamburgerMenuProps = {\n menuItems: MenuItem[]\n isOpen: boolean\n setIsOpen: (isOpen: boolean) => void\n theme?: \"light\" | \"dark\"\n}\n\nconst HamburgerMenu: React.FC = ({\n menuItems,\n isOpen,\n setIsOpen,\n theme,\n}) => {\n const handleLinkClick = useCallback(() => {\n setIsOpen(false)\n }, [setIsOpen])\n\n const themeClasses = {\n light: {\n menu: \"bg-white\",\n text: \"text-black\",\n },\n dark: {\n menu: \"bg-black\",\n text: \"text-white\",\n },\n }\n\n const defaultClasses = {\n menu: \"bg-background\",\n text: \"text-foreground\",\n hover: \"text-primary\",\n indicator: \"currentColor\",\n trigger: \"data-[hover=true]:bg-default-100\",\n }\n\n const currentTheme = theme ? themeClasses[theme] : defaultClasses\n\n const itemClasses = {\n base: \"py-0 w-full\",\n title: `font-normal text-medium ${currentTheme.text}`,\n trigger: \"px-2 py-0 rounded-lg h-14 flex items-center\",\n indicator: currentTheme.text,\n content: \"text-small px-2\",\n }\n\n return (\n
\n \n \n \n {menuItems.map((menuItem, index) => (\n \n {menuItem.title}\n \n }\n indicator={}\n className={clsx(\n \"py-2\",\n index !== menuItems.length - 1 && \"border-b border-gray-200\",\n )}\n >\n
\n {menuItem.items.map((item) => (\n \n {item.label}\n \n ))}\n
\n \n ))}\n \n
\n \n お問い合わせ\n \n \n
\n \n
\n )\n}\n\nexport default HamburgerMenu\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","\"use client\"\n\nimport { Kbd } from \"@heroui/kbd\"\nimport { SwitchProps, useSwitch } from \"@heroui/switch\"\nimport { Tooltip } from \"@heroui/tooltip\"\nimport { useIsSSR } from \"@react-aria/ssr\"\nimport { VisuallyHidden } from \"@react-aria/visually-hidden\"\nimport clsx from \"clsx\"\nimport { useTheme } from \"next-themes\"\nimport { FC, useCallback, useEffect, useState } from \"react\"\n\nexport interface ThemeSwitchProps {\n className?: string\n classNames?: SwitchProps[\"classNames\"]\n location?: string\n isShowText?: boolean\n}\n\nexport const ThemeSwitch: FC = ({\n className,\n classNames,\n isShowText = false,\n}) => {\n const { theme, setTheme } = useTheme()\n const isSSR = useIsSSR()\n\n const onChange = useCallback(() => {\n if (theme === \"light\") {\n setTheme(\"dark\")\n } else {\n setTheme(\"light\")\n }\n }, [theme, setTheme])\n\n const [switched, setSwitched] = useState(false)\n\n const { Component, slots, getBaseProps, getInputProps, getWrapperProps } =\n useSwitch({\n \"aria-label\": `Switch to ${theme === \"light\" || isSSR ? \"dark\" : \"light\"} mode`,\n onChange,\n })\n\n useEffect(() => {\n setSwitched(theme === \"light\")\n }, [theme, isSSR, setSwitched])\n\n useEffect(() => {\n const handleKeyDown = (event: { metaKey: any; key: string }) => {\n if (Boolean(event.metaKey) && event.key === \"k\") {\n onChange()\n }\n }\n\n window.addEventListener(\"keydown\", handleKeyDown)\n\n return () => {\n window.removeEventListener(\"keydown\", handleKeyDown)\n }\n }, [onChange])\n\n return (\n \n \n \n \n \n \n +K\n \n }\n delay={600}\n >\n \n {!switched || isSSR ? (\n <>\n \n {isShowText && ライトモード}\n \n ) : (\n <>\n \n {isShowText && ダークモード}\n \n )}\n \n \n \n \n )\n}\n","import { PATH } from \"@/constants/path\"\n\nexport type SiteConfig = typeof siteConfig\n\nexport const siteConfig = {\n navItems: [\n {\n title: \"ハッカソン\",\n items: [\n {\n label: \"ハッカソンを探す\",\n href: PATH.SERVICE.HACKATHON,\n },\n {\n label: \"サービス概要\",\n href: \"/overview\",\n },\n {\n label: \"スポンサーになる\",\n href: PATH.SERVICE.SPONSOR,\n },\n {\n label: \"ハッカソンを主催する\",\n href: PATH.ORGANIZE.ROOT,\n },\n ],\n },\n {\n title: \"ヘルプ\",\n items: [\n {\n label: \"ヘルプページ\",\n href: PATH.HELP.INDEX,\n },\n {\n label: \"用語集\",\n href: PATH.HELP.GLOSSARY,\n },\n {\n label: \"ハッカソン共通ルール\",\n href: PATH.HELP.COMMON_RULES,\n },\n {\n label: \"罰則点ルール\",\n href: PATH.HELP.PENALTY_RULES,\n },\n {\n label: \"プレイヤーポリシー\",\n href: PATH.HELP.PLAYER_POLICY,\n },\n {\n label: \"利用規約\",\n href: PATH.HELP.TERMS,\n },\n {\n label: \"プライバシーポリシー\",\n href: PATH.HELP.PRIVACY,\n },\n ],\n },\n {\n title: \"ブログ\",\n items: [\n {\n label: \"ブログ一覧\",\n href: PATH.SERVICE.BLOG,\n },\n {\n label: \"攻略法\",\n href: \"/blog/tag/complete-guide\",\n },\n {\n label: \"ハイライト\",\n href: \"/blog/tag/hilight\",\n },\n {\n label: \"サービス情報\",\n href: \"/blog/tag/stadium-info\",\n },\n {\n label: \"ハッカソン\",\n href: \"/blog/tag/hackathon\",\n },\n ],\n },\n ],\n footerItems: [\n {\n title: \"ハッカソン\",\n items: [\n {\n label: \"ハッカソンを探す\",\n href: PATH.SERVICE.HACKATHON,\n },\n {\n label: \"サービス概要\",\n href: \"/overview\",\n },\n {\n label: \"スポンサーになる\",\n href: PATH.SERVICE.SPONSOR,\n },\n {\n label: \"ヘルプ\",\n href: PATH.HELP.INDEX,\n },\n ],\n },\n {\n title: \"CraftStadium Organize\",\n items: [\n {\n label: \"ハッカソンを主催する\",\n href: PATH.ORGANIZE.ROOT,\n },\n {\n label: \"お問い合わせ\",\n href: PATH.ORGANIZE.CONTACT,\n },\n {\n label: \"導入までの流れ\",\n href: PATH.ORGANIZE.FLOW,\n },\n ],\n },\n {\n title: \"リソース\",\n items: [\n {\n label: \"ブログ\",\n href: PATH.SERVICE.BLOG,\n },\n {\n label: \"ニュース\",\n href: PATH.SERVICE.NEWS,\n },\n {\n label: \"美術館\",\n href: PATH.SERVICE.MUSEUM,\n },\n {\n label: \"メディアキット\",\n href: PATH.SERVICE.MEDIA_KIT,\n },\n // FIX ME: ハッカソン結果ページ一覧ができるまでは意味をなさないのでコメントアウト\n // {\n // label: \"リザルト\",\n // href: \"/hackathon/RR240629/result\",\n // },\n ],\n },\n {\n title: \"会社\",\n items: [\n {\n label: \"CoPalette Inc\",\n href: \"https://www.copalette.org/\",\n },\n {\n label: \"お問い合わせ\",\n href: \"https://www.copalette.org/contact\",\n },\n {\n label: \"Create with us - 採用\",\n href: \"https://copalette-app.notion.site/CoPalette-be90d79ce2214d5d8d1f4a9829826c3d?pvs=4\",\n },\n ],\n },\n ],\n errors: {\n notFound: {\n title: \"404\",\n message: \"お探しのページ(URL)は見つかりませんでした\",\n description:\n \"URLに間違いがないかをご確認ください。ページの再読み込みをお試しください。\",\n },\n forbidden: {\n title: \"403\",\n message: \"アクセスが制限されています。\",\n description: \"ログインが必要な可能性があります。\",\n },\n systemError: {\n title: \"500\",\n message: \"システムエラーが発生しました。\",\n description:\n \"申し訳ございませんが、システムに問題が発生しました。時間をおいて再度お試しください。\",\n },\n other: {\n title: \"Error\",\n message: \"エラーが発生しました。\",\n description:\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":["OrganizeButton","children","color","variant","size","radius","props","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Button","className","concat","commonSiteConfig","links","x","discord","sponsor","media_kit","SubFooter","mode","textColorClass","jsx_runtime","jsxs","div","clsx","fontMontserrat","NextLink","href","Link","isExternal","aria-label","TwitterIcon","DiscordIcon","ThemeSwitch","p","Date","getFullYear","components_HamburgerMenu","menuItems","isOpen","setIsOpen","theme","handleLinkClick","useCallback","currentTheme","themeClasses","light","menu","text","dark","hover","indicator","trigger","itemClasses","base","title","content","NavbarMenuToggle","NavbarMenu","Accordion","map","menuItem","index","AccordionItem","span","i","length","items","item","onClick","label","PATH","ORGANIZE","CONTACT","Logo","width","height","fill","svg","viewBox","path","d","ArrowDownsLineIcon","xmlns","classNames","isShowText","setTheme","useTheme","isSSR","useIsSSR","onChange","switched","setSwitched","useState","Component","slots","getBaseProps","getInputProps","getWrapperProps","useSwitch","useEffect","handleKeyDown","event","metaKey","key","window","addEventListener","removeEventListener","VisuallyHidden","input","wrapper","class","Tooltip","Kbd","keys","delay","button","type","Fragment","siteConfig","navItems","SERVICE","HACKATHON","SPONSOR","ROOT","HELP","INDEX","GLOSSARY","COMMON_RULES","PENALTY_RULES","PLAYER_POLICY","TERMS","PRIVACY","BLOG","footerItems","FLOW","NEWS","MUSEUM","MEDIA_KIT","errors","notFound","message","description","forbidden","systemError","other","AUTH_DOMAIN","process","env","SERVER_URL","CLIENT_URL","getRaidDetail","raidId","getRaidDetailWithTab","tab","getHackathonPlayerParticipateInfo","INFO","NOTIFICATION","ACCOUNT","REGISTER","EMAIL_VERIFY","OVERVIEW","WHAT_IS_HACKATHON","Auth","LOGIN","LOGOUT","SIGNUP","RAID_TABS","SCHEDULE","RULES"],"sourceRoot":""}