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oResizeTextarea.tsx","webpack://_N_E/./src/components/fragments/argyle/contractor-form/const.ts","webpack://_N_E/./src/components/fragments/argyle/contractor-form/ContractorForm.tsx","webpack://_N_E/./src/components/fragments/argyle/promotion-code-form/const.ts","webpack://_N_E/./src/components/fragments/argyle/promotion-code-form/PromotionCodeForm.tsx","webpack://_N_E/./src/components/fragments/argyle/plan-form/PlanForm.tsx","webpack://_N_E/./src/components/fragments/argyle/plan-form/index.ts","webpack://_N_E/./src/components/fragments/forms/child-sex-form/ChildSexForm.tsx","webpack://_N_E/./src/components/fragments/forms/child-sex-form/index.ts","webpack://_N_E/./src/components/fragments/argyle/child-form/const.ts","webpack://_N_E/./src/components/fragments/argyle/child-form/ChildForm.tsx","webpack://_N_E/./src/components/fragments/argyle/child-form/index.ts","webpack://_N_E/./src/components/fragments/argyle/contractor-form/index.ts","webpack://_N_E/./src/components/fragments/argyle/shipment-form/const.ts","webpack://_N_E/./src/components/fragments/argyle/shipment-form/__components__/const.ts","webpack://_N_E/./src/components/fragments/argyle/shipment-form/__components__/SelectContractorSameOrNewForm.tsx","webpack://_N_E/./src/components/fragments/argyle/shipment-form/ShipmentForm.tsx","webpack://_N_E/./src/components/fragments/argyle/shipment-form/index.ts","webpack://_N_E/./src/components/fragments/argyle/index.ts","webpack://_N_E/./src/components/fragments/argyle/plan-data-table/__gql__/plan-data-table-fragment.gen.ts","webpack://_N_E/./src/components/fragments/argyle/plan-data-table/__components__/price/module.ts","webpack://_N_E/./src/components/fragments/argyle/plan-data-table/__components__/price/Price.tsx","webpack://_N_E/./src/components/fragments/argyle/plan-data-table/__components__/price/index.ts","webpack://_N_E/./src/components/fragments/argyle/plan-data-table/PlanDataTable.tsx","webpack://_N_E/./src/components/fragments/argyle/plan-data-table/index.ts","webpack://_N_E/./src/components/fragments/argyle/special-note-form/SpecialNoteForm.tsx","webpack://_N_E/./src/components/fragments/argyle/special-note-form/index.ts","webpack://_N_E/./src/components/fragments/box/chat-input-box/ChatInputBox.tsx","webpack://_N_E/./src/components/fragments/box/chat-input-box/index.ts","webpack://_N_E/./src/components/fragments/box/fadeable-box/FadeableBox.tsx","webpack://_N_E/./src/components/fragments/box/scheduled-visibility-box/ScheduledVisibilityBox.tsx","webpack://_N_E/./src/components/fragments/error/invalid-panel/InvalidPanel.tsx","webpack://_N_E/./src/components/fragments/error/invalid-panel/index.ts","webpack://_N_E/./src/components/fragments/forms/child-sex-form/const.ts","webpack://_N_E/./src/components/fragments/forms/email-form/EmailForm.tsx","webpack://_N_E/./src/components/fragments/forms/email-form/index.ts","webpack://_N_E/./src/components/fragments/button/copy-clipboard-button/const.ts","webpack://_N_E/./src/components/fragments/button/copy-clipboard-button/CopyClipboardButton.tsx","webpack://_N_E/./src/components/fragments/table/key-value-table/KeyValueTable.tsx","webpack://_N_E/./src/components/fragments/table/key-value-table/index.ts","webpack://_N_E/./src/modules/utils/apollo-wrapper.ts","webpack://_N_E/./src/modules/utils/calc-input-rate.ts","webpack://_N_E/./src/modules/utils/copy-to-clipboard.ts","webpack://_N_E/./src/modules/utils/price.ts","webpack://_N_E/./src/modules/utils/subscription-info.ts","webpack://_N_E/./src/pages/plans/detail/[shipmentId]/const.ts","webpack://_N_E/./src/components/fragments/stripe/stripe-form/const.ts","webpack://_N_E/./src/components/fragments/stripe/stripe-form/StripeForm.tsx","webpack://_N_E/./src/components/fragments/stripe/index.ts","webpack://_N_E/./src/components/fragments/argyle/billing-form/const.ts","webpack://_N_E/./src/components/fragments/argyle/billing-form/module.ts","webpack://_N_E/./src/components/fragments/argyle/billing-form/BillingForm.tsx","webpack://_N_E/./src/components/fragments/argyle/billing-form/index.ts","webpack://_N_E/./src/components/fragments/argyle/child-table/ChildTable.tsx","webpack://_N_E/./src/components/fragments/argyle/child-table/index.ts","webpack://_N_E/./src/components/fragments/argyle/contractor-table/ContractorTable.tsx","webpack://_N_E/./src/components/fragments/argyle/contractor-table/index.ts","webpack://_N_E/./src/components/fragments/argyle/module.ts","webpack://_N_E/./src/components/fragments/argyle/shipment-table/ShipmentTable.tsx","webpack://_N_E/./src/components/fragments/argyle/shipment-table/index.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/__components__/confirm-message-box/ConfirmMessageBox.tsx","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/__gql__/create-customer.gen.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/module.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/hook.tsx","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/__gql__/complete-plan-application.gen.ts","webpack://_N_E/./src/components/fragments/argyle/konami-sports-table/KonamiSportsTable.tsx","webpack://_N_E/./src/components/fragments/argyle/konami-sports-table/index.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/ConfirmScreen.tsx","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/confirm-screen/index.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/input-screen/__gql__/create-customer-slot.gen.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/input-screen/__gql__/get-initial-data.gen.ts","webpack://_N_E/./src/pages/signup/plan/[priceUuid]/__components__/input-screen/__gql__/get-promotion.gen.ts","webpack://_N_E/./assets/images/error-01.svg","webpack://_N_E/./assets/images/planner.svg","webpack://_N_E/"],"sourcesContent":["import { type TextareaProps } from \"./Textarea\";\n\ninterface TextareaVariantValue {\n readonly borderColor: TextareaProps[\"borderColor\"];\n readonly bgColor: TextareaProps[\"bgColor\"];\n readonly _focus: TextareaProps[\"_focus\"];\n}\n\nexport const textareaVariant: {\n [K in \"error\" | \"default\"]: TextareaVariantValue;\n} = {\n error: {\n borderColor: \"error.main\",\n bgColor: \"error.light\",\n _focus: {\n borderColor: \"error.main\",\n },\n },\n default: {\n borderColor: \"background.main\",\n bgColor: \"background.main\",\n _focus: {\n borderColor: \"secondary.main\",\n bgColor: \"light.main\",\n },\n },\n};\n\nexport const injectTextareaVariant = (isError: boolean | undefined): TextareaVariantValue => {\n if (typeof isError !== \"undefined\" && typeof isError !== \"boolean\") {\n throw new Error(`isError must be a boolean or undefined. isError is ${String(isError)}`);\n }\n return isError ? textareaVariant.error : textareaVariant.default;\n};\n","import { Textarea as ChakraTextarea, type TextareaProps as ChakraTextareaProps, forwardRef } from \"@chakra-ui/react\";\nimport ResizeTextarea from \"react-textarea-autosize\";\nimport { type TypographyProps } from \"@/components/essentials/typography\";\nimport { injectTypographyVariant } from \"@/components/essentials/typography/variant\";\nimport { useMemo } from \"react\";\nimport { injectTextareaVariant } from \"./variant\";\nimport { scrollOnFocus } from \"@/modules/utils/scroll-on-focus\";\n\nexport interface AutoResizeTextareaProps extends ChakraTextareaProps {\n typography?: TypographyProps[\"variant\"];\n isError?: boolean;\n minRows?: number;\n}\n\nexport const AutoResizeTextarea = forwardRef((props, ref) => {\n const {\n typography = {\n base: \"sentence3\",\n sm: \"sentence3\",\n md: \"sentence2\",\n lg: \"sentence1\",\n xl: \"sentence1\",\n \"2xl\": \"sentence1\",\n },\n isError,\n minRows,\n ...rest\n } = props;\n const typographyProps = useMemo(() => injectTypographyVariant(typography), [typography]);\n const { _focus, ...textareaVariant } = useMemo(() => injectTextareaVariant(isError), [isError]);\n return (\n \n );\n});\n","export const contractorFormLastNameField = \"customerAddress.lastName\";\nexport const contractorFormFirstNameField = \"customerAddress.firstName\";\nexport const contractorFormPhoneNumberField = \"customerAddress.phoneNumber\";\nexport const contractorFormZipCodeField = \"customerAddress.postalCode\";\nexport const contractorFormPrefectureField = \"customerAddress.prefectureCode\";\nexport const contractorFormCityField = \"customerAddress.address1\";\nexport const contractorFormAddressField = \"customerAddress.address2\";\nexport const contractorFormBuildingNameAndRoomNumberField = \"customerAddress.buildingName\";\nexport const contractorFormMailField = \"customerAddress.mail\";\n\nexport const contractorFormTestId = \"components/fragments/argyle/contractor-form/form\";\nexport const contractorFormTitleTestId = \"components/fragments/argyle/contractor-form/title\";\nexport const contractorFormDescriptionTestId = \"components/fragments/argyle/contractor-form/description\";\n","import { NameForms, PhoneForm, AddressForms } from \"@/components/fragments/forms\";\nimport { Flex } from \"@chakra-ui/react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { useState, type FC } from \"react\";\nimport { EmailForm } from \"@/components/fragments/forms/email-form\";\nimport {\n contractorFormAddressField,\n contractorFormBuildingNameAndRoomNumberField,\n contractorFormCityField,\n contractorFormDescriptionTestId,\n contractorFormFirstNameField,\n contractorFormLastNameField,\n contractorFormMailField,\n contractorFormPhoneNumberField,\n contractorFormPrefectureField,\n contractorFormTestId,\n contractorFormTitleTestId,\n contractorFormZipCodeField,\n} from \"./const\";\nimport { FormLabel } from \"@/components/essentials/form-control\";\nimport { useFormContext } from \"react-hook-form\";\nimport { Button } from \"@/components/essentials/button\";\nimport { FadeableBox } from \"@/components/fragments/box/fadeable-box/FadeableBox\";\nimport { ChatInputBox } from \"@/components/fragments/box/chat-input-box\";\n\nexport interface ContractorFormProps {\n readonly canInputEmail?: boolean;\n readonly email?: string;\n readonly isStepwise?: boolean;\n readonly showChatBalloon?: boolean;\n readonly onCompleteAllSteps?: () => void;\n}\n\nexport const ContractorForm: FC = ({\n canInputEmail = true,\n email = \"\",\n isStepwise = false,\n showChatBalloon = false,\n onCompleteAllSteps,\n}) => {\n const {\n register,\n formState: { isValid },\n } = useFormContext();\n const [formStepIndex, setFormStepIndex] = useState(0);\n\n return (\n \n {!showChatBalloon && (\n \n \n ご契約者情報の入力\n \n \n ご契約者情報を入力してください。\n \n \n )}\n \n \n {canInputEmail ? (\n \n ) : (\n \n メールアドレス\n \n {email}\n \n \n \n )}\n \n\n = 1} isAlwaysDisplay={!isStepwise}>\n \n \n \n \n\n = 2} isAlwaysDisplay={!isStepwise}>\n \n \n \n \n\n = 3} isAlwaysDisplay={!isStepwise}>\n \n \n \n \n \n\n {isStepwise && formStepIndex <= 3 && (\n {\n if (formStepIndex === 3 && onCompleteAllSteps) {\n onCompleteAllSteps();\n }\n\n setFormStepIndex((current: number) => current + 1);\n }}\n isDisabled={!isValid}\n >\n 次へ\n \n )}\n \n );\n};\n","export const promotionCodeField = \"promotionCode\";\n\nexport const promotionCodeFormInputTestId = \"components/fragments/argyle/PromotionCodeForm/Input\";\n\nexport const promotionCodeFormLabelTestId = \"components/fragments/argyle/PromotionCodeForm/Label\";\n\nexport const promotionCodeFormButtonTestId = \"components/fragments/argyle/PromotionCodeForm/Button\";\n","import { Flex, type StackProps } from \"@chakra-ui/react\";\nimport { type FC } from \"react\";\nimport { Input } from \"@/components/essentials/input\";\nimport { useFormContext } from \"react-hook-form\";\nimport { FormControl, FormLabel } from \"@/components/essentials/form-control\";\nimport {\n promotionCodeField,\n promotionCodeFormButtonTestId,\n promotionCodeFormInputTestId,\n promotionCodeFormLabelTestId,\n} from \"./const\";\nimport get from \"just-safe-get\";\nimport { Button } from \"@/components/essentials/button\";\nimport { type PromotionCodeFormValue } from \"./type\";\n\nexport interface PromotionCodeFormProps extends StackProps {\n readonly promotionCodeLoading: boolean;\n}\n\nexport const PromotionCodeForm: FC = ({ promotionCodeLoading, ...rest }) => {\n const {\n register,\n formState: { errors, dirtyFields, isValid },\n } = useFormContext();\n\n return (\n \n \n プロモーションコード(お持ちの方のみ)\n \n \n \n \n コードを適用する\n \n \n \n );\n};\n","import { type FC } from \"react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Flex, Skeleton } from \"@chakra-ui/react\";\nimport { PromotionCodeForm } from \"@/components/fragments/argyle/promotion-code-form/PromotionCodeForm\";\nimport { type PlanData, PlanDataTable } from \"@/components/fragments/argyle/plan-data-table\";\nimport { planFormSkeletonTestId, planFormTestId, planFormTitleTestId } from \"./const\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\nimport { toranaCreditCardUrl } from \"@/configs/externalUrls\";\n\ninterface PlanFormProps {\n readonly planData: PlanData | null | undefined;\n readonly planDataLoading: boolean;\n readonly isLoaded: boolean;\n readonly promotionCode: string | undefined;\n readonly promotionCodeLoading: boolean;\n readonly showPromotionCodeForm: boolean;\n}\n\nexport const PlanForm: FC = ({\n planData,\n isLoaded,\n promotionCode,\n promotionCodeLoading,\n showPromotionCodeForm,\n}) => {\n return (\n \n \n \n お申込み中の商品\n \n \n ※ 決済はクレジットカードのみとなります\n
※ クレジットカードをお持ちでない方は\n \n こちら\n \n をご確認ください\n
\n
\n \n \n {isLoaded && isNonNullable(planData) ? (\n <>\n \n {showPromotionCodeForm && }\n \n ) : (\n \n )}\n \n \n );\n};\n","export * from \"./PlanForm\";\n","import { type FC } from \"react\";\nimport { useFormContext } from \"react-hook-form\";\nimport { FormControl, FormLabel } from \"@/components/essentials/form-control\";\nimport { type ChildSexFormValue } from \"./type\";\nimport { Select } from \"@/components/essentials/select\";\nimport { childSexes, childSexFormLabelTestId, childSexFormSelectSexTestId, childSexFormTestId } from \"./const\";\n\nexport const ChildSexForm: FC = () => {\n const {\n register,\n formState: { errors, dirtyFields },\n } = useFormContext();\n return (\n \n 性別\n \n {childSexes.map(({ sexCode, label }, key) => (\n \n ))}\n \n \n );\n};\n","export * from \"./ChildSexForm\";\nexport * from \"./type\";\nexport * from \"./const\";\n","export const childFormBirthdayField = \"child.birthDate\";\n\nexport const childFormTestId = \"components/fragments/argyle/child-form/form\";\nexport const childFormTitleTestId = \"components/fragments/argyle/child-form/title\";\nexport const childFormDescriptionTestId = \"components/fragments/argyle/child-form/description\";\n","import { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Flex } from \"@chakra-ui/react\";\nimport { useState, type FC } from \"react\";\nimport { BirthdayForm } from \"@/components/fragments/forms/birthday-form\";\nimport { ChildSexForm } from \"@/components/fragments/forms/child-sex-form\";\nimport { childFormBirthdayField, childFormDescriptionTestId, childFormTestId, childFormTitleTestId } from \"./const\";\nimport { Button } from \"@/components/essentials/button\";\nimport { FadeableBox } from \"@/components/fragments/box/fadeable-box/FadeableBox\";\nimport { useFormContext } from \"react-hook-form\";\nimport { ChatInputBox } from \"@/components/fragments/box/chat-input-box\";\n\ninterface ChildFormProps {\n readonly isStepwise?: boolean;\n readonly showChatBalloon?: boolean;\n\n readonly onCompleteAllSteps?: () => void;\n}\n\nexport const ChildForm: FC = ({ isStepwise = false, showChatBalloon = false, onCompleteAllSteps }) => {\n const {\n formState: { isValid },\n } = useFormContext();\n\n const [formStepIndex, setFormStepIndex] = useState(0);\n\n return (\n \n {!showChatBalloon && (\n \n \n お子さまについて\n \n \n お子様の性別と生年月日を入力してください。\n \n \n )}\n \n \n \n = 1} isAlwaysDisplay={!isStepwise}>\n \n \n \n \n {isStepwise && formStepIndex <= 1 && (\n {\n if (formStepIndex === 1 && onCompleteAllSteps) {\n onCompleteAllSteps();\n }\n\n setFormStepIndex((current: number) => current + 1);\n }}\n isDisabled={!isValid}\n >\n 次へ\n \n )}\n \n );\n};\n","export * from \"./ChildForm\";\nexport * from \"./const\";\nexport * from \"./type\";\n","export * from \"./ContractorForm\";\nexport * from \"./const\";\nexport * from \"./type\";\n","export const shipmentFormLastNameField = \"shippingAddress.lastName\";\nexport const shipmentFormFirstNameField = \"shippingAddress.firstName\";\nexport const shipmentFormPhoneNumberField = \"shippingAddress.phoneNumber\";\nexport const shipmentFormZipCodeField = \"shippingAddress.postalCode\";\nexport const shipmentFormPrefectureField = \"shippingAddress.prefectureCode\";\nexport const shipmentFormCityField = \"shippingAddress.address1\";\nexport const shipmentFormAddressField = \"shippingAddress.address2\";\nexport const shipmentFormBuildingNameAndRoomNumberField = \"shippingAddress.buildingName\";\nexport const shipmentFormMailField = \"shippingAddress.mail\";\nexport const shipmentFormDeliveryMethodField = \"desiredDeliveryMethodTimeUuid\";\n\nexport const shipmentFormTestId = \"components/fragments/argyle/shipment-form/form\";\nexport const shipmentFormTitleTestId = \"components/fragments/argyle/shipment-form/title\";\nexport const shipmentFormDescriptionTestId = \"components/fragments/argyle/shipment-form/description\";\n\nexport const shipmentFormSkeletonDeliveryMethodTimeTestId =\n \"components/fragments/argyle/shipment-form/skeleton-DeliveryMethodTime\";\n","import { type SelectContractorSameOrNewOption } from \"./type\";\n\nexport const selectContractorSameOrNewFormTestId =\n \"components/fragments/forms/argyle/shipment-form/SelectSameContractor\";\nexport const selectContractorSameOrNewFormSelectTestId =\n \"components/fragments/forms/argyle/shipment-form/SelectSameContractor-select\";\nexport const selectContractorSameOrNewFormLabelTestId =\n \"components/fragments/forms/argyle/shipment-form/SelectSameContractor-label\";\n\nexport const selectContractorSameOrNewField = \"shipment.isSameContractor\";\n\nexport const selectContractorSameOrNewOptions: SelectContractorSameOrNewOption[] = [\n {\n label: \"ご契約者情報と同じ\",\n value: \"same\",\n },\n {\n label: \"別のお届け先を指定する\",\n value: \"new\",\n },\n];\n","import { type FC } from \"react\";\nimport { useFormContext } from \"react-hook-form\";\nimport { FormControl, FormLabel } from \"@/components/essentials/form-control\";\nimport { Select } from \"@/components/essentials/select\";\nimport {\n selectContractorSameOrNewFormTestId,\n selectContractorSameOrNewFormSelectTestId,\n selectContractorSameOrNewFormLabelTestId,\n selectContractorSameOrNewOptions,\n} from \"./const\";\nimport { type SelectContractorSameOrNewFormValue } from \"./type\";\n\nexport const SelectContractorSameOrNewForm: FC = () => {\n const {\n register,\n formState: { errors },\n } = useFormContext();\n return (\n \n お届け先住所\n \n {selectContractorSameOrNewOptions.map(({ value, label }, key) => (\n \n ))}\n \n \n );\n};\n","import { NameForms, PhoneForm, AddressForms } from \"@/components/fragments/forms\";\nimport { Flex } from \"@chakra-ui/react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { useState, type FC } from \"react\";\nimport { EmailForm } from \"@/components/fragments/forms/email-form\";\nimport {\n shipmentFormAddressField,\n shipmentFormBuildingNameAndRoomNumberField,\n shipmentFormCityField,\n shipmentFormDescriptionTestId,\n shipmentFormFirstNameField,\n shipmentFormLastNameField,\n shipmentFormMailField,\n shipmentFormPhoneNumberField,\n shipmentFormPrefectureField,\n shipmentFormTestId,\n shipmentFormTitleTestId,\n shipmentFormZipCodeField,\n} from \"./const\";\nimport { useFormContext, useWatch } from \"react-hook-form\";\nimport { type ShipmentFormValue } from \"./type\";\nimport { SelectContractorSameOrNewForm } from \"./__components__/SelectContractorSameOrNewForm\";\nimport { Button } from \"@/components/essentials/button\";\nimport { ChatInputBox } from \"@/components/fragments/box/chat-input-box\";\n\ninterface Props {\n readonly isStepwise?: boolean;\n readonly showChatBalloon?: boolean;\n readonly onCompleteAllSteps?: () => void;\n}\n\nexport const ShipmentForm: FC = ({ isStepwise = false, showChatBalloon = false, onCompleteAllSteps }) => {\n const {\n control,\n formState: { isValid },\n } = useFormContext();\n const [formStepIndex, setFormStepIndex] = useState(0);\n\n const contractorSameOrNew = useWatch({\n control,\n name: \"shippingAddressSameOrNew\",\n });\n const requiredAddress = contractorSameOrNew === \"new\";\n\n return (\n \n {!showChatBalloon && (\n \n \n お届け先情報の入力\n \n \n お届け先住所を選択してください。別のお届け先を指定する場合はお届け先情報を入力してください。\n \n \n )}\n \n \n \n \n\n \n \n \n {isStepwise && formStepIndex <= 0 && (\n {\n if (onCompleteAllSteps) {\n onCompleteAllSteps();\n }\n\n setFormStepIndex((current: number) => current + 1);\n }}\n isDisabled={!isValid}\n >\n 次へ\n \n )}\n \n );\n};\n","export * from \"./ShipmentForm\";\nexport * from \"./const\";\nexport * from \"./type\";\n","export * from \"./plan-data-table\";\nexport * from \"./plan-form\";\nexport * from \"./child-form\";\nexport * from \"./contractor-form\";\nexport * from \"./shipment-form\";\nexport * from \"./type\";\n","// @ts-nocheck\nimport * as Types from '../../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nexport type PlanDataTableFragmentFieldsFragment = { __typename?: 'PlanPrice', id: string, name: string, price: number, couponErrorReason?: string | null, subscriptionCoupon?: { __typename?: 'SubscriptionCoupon', discountAmount: number, duration: string, durationInMonths?: number | null } | null };\n\nexport const PlanDataTableFragmentFieldsFragmentDoc = gql`\n fragment PlanDataTableFragmentFields on PlanPrice {\n id\n name\n price\n subscriptionCoupon {\n discountAmount\n duration\n durationInMonths\n }\n couponErrorReason\n}\n `;","import { type PriceType } from \"./type\";\nimport { type PlanDataTableFragmentFieldsFragment } from \"@/components/fragments/argyle/plan-data-table/__gql__/plan-data-table-fragment.gen\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\n\nexport const getPriceType = ({ subscriptionCoupon }: PlanDataTableFragmentFieldsFragment): PriceType => {\n if (!isNonNullable(subscriptionCoupon)) {\n return \"normal\";\n }\n\n if (\n subscriptionCoupon.duration === \"once\" ||\n (subscriptionCoupon.duration === \"repeating\" && subscriptionCoupon.durationInMonths === 1)\n ) {\n return \"once\";\n }\n\n if (subscriptionCoupon.duration === \"repeating\") {\n return \"repeating\";\n }\n\n return \"forever\";\n};\n","import { type FC, memo, useMemo } from \"react\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { formatPrice } from \"@/modules/utils/price\";\nimport { getPriceType } from \"./module\";\nimport {\n foreverCouponTypoTestId,\n normalTypoTestId,\n onceCouponTypo1TestId,\n onceCouponTypo2TestId,\n repeatingCouponTypo1TestId,\n repeatingCouponTypo2TestId,\n} from \"./const\";\nimport { type PlanData } from \"@/components/fragments/argyle/plan-data-table\";\n\nexport interface PriceProps {\n readonly data: PlanData;\n readonly promotionCode?: string;\n}\n\nexport const Price: FC = memo(({ data, promotionCode }) => {\n const { price, subscriptionCoupon } = data;\n const priceType = getPriceType(data);\n const discountedPrice = price - (subscriptionCoupon?.discountAmount ?? 0);\n\n const is6mPlan: boolean = useMemo(() => {\n return (\n // MKT_6点60日交換半年支払い\n data.id === \"89749bb4-c2bb-4b68-9132-eea48fa1b2b5\" ||\n // MKT_スタンダードプラン(6点60日交換半年払い)\n data.id === \"d0f8da6e-08bd-4ba8-a5ca-1096603557dc\"\n );\n }, [data.id]);\n\n const is1yPlan: boolean = useMemo(() => {\n // MKT_スタンダードプラン(6点60日交換一年払い)\n return data.id === \"b6132fad-608e-4e3e-bc59-6389eec35a29\";\n }, [data.id]);\n\n const firstPricePrefix: string = useMemo(() => {\n if (is6mPlan) {\n return \"半年間\";\n } else if (is1yPlan) {\n return \"一年間\";\n } else {\n return \"初月\";\n }\n }, [is1yPlan, is6mPlan]);\n\n const normalPricePrefix: string = useMemo(() => {\n if (is6mPlan) {\n return \"半年後以降\";\n } else if (is1yPlan) {\n return \"一年後以降\";\n } else {\n return \"2ヶ月目以降\";\n }\n }, [is1yPlan, is6mPlan]);\n\n switch (priceType) {\n case \"normal\":\n return (\n \n {formatPrice(price)}\n \n );\n case \"once\":\n // TODO: 3ヶ月連続割引を実装したい\n if (promotionCode === \"BABYPA2410A\") {\n return (\n \n \n 初月:{formatPrice(0)}\n
\n 2ヶ月目:{formatPrice(1990)}\n
\n 3ヶ月目:{formatPrice(2786)}\n
\n \n 4ヶ月目以降:{formatPrice(3980)}\n \n
\n );\n } else {\n return (\n \n \n {firstPricePrefix}:{formatPrice(discountedPrice <= 0 ? 0 : discountedPrice)}\n \n \n {normalPricePrefix}:{formatPrice(price)}\n \n \n );\n }\n case \"repeating\":\n return (\n \n \n 初月-{subscriptionCoupon?.durationInMonths ?? 0}ヶ月目:\n {formatPrice(discountedPrice <= 0 ? 0 : discountedPrice)}\n \n \n {(subscriptionCoupon?.durationInMonths ?? 0) + 1}ヶ月目以降:{formatPrice(price)}\n \n \n );\n case \"forever\":\n return (\n \n {formatPrice(discountedPrice <= 0 ? 0 : discountedPrice)}\n \n );\n }\n});\n\nPrice.displayName = \"Price\";\n","export { Price } from \"./Price\";\n","import { type FC, memo } from \"react\";\nimport { type KeyValue, KeyValueTable } from \"@/components/fragments/table/key-value-table\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { planDataTableTestId, planDataTableTitleTestId } from \"./const\";\nimport { Price } from \"./__components__/price\";\nimport { type PlanData } from \"./type\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\n\nexport interface PlanDataTableProps {\n readonly data: PlanData;\n readonly promotionCode?: string | undefined;\n}\n\nexport const PlanDataTable: FC = memo(({ data, promotionCode = \"\" }) => {\n const planKeyValueData: KeyValue[] = [\n {\n key: \"商品名\",\n value: data.name,\n },\n {\n key: \"金額(税込)\",\n value: ,\n },\n ];\n\n if (isNonNullable(promotionCode) && promotionCode !== \"\") {\n planKeyValueData.push({\n key: \"プロモーションコード\",\n value: promotionCode,\n });\n }\n\n return (\n \n \n お申し込み中の商品情報\n \n \n \n );\n});\n\nPlanDataTable.displayName = \"PlanDataTable\";\n","export * from \"./PlanDataTable\";\nexport * from \"./type\";\n","import { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Flex } from \"@chakra-ui/react\";\nimport Link from \"next/link\";\nimport { type FC } from \"react\";\nimport {\n specialNoteFormDescriptionTestId,\n specialNoteFormTestId,\n specialNoteFormTextAreaTestId,\n specialNoteFormTextButtonHelpTestId,\n specialNoteFormTitleTestId,\n} from \"./const\";\nimport { toysubSiblingsPlanUrl } from \"@/configs/externalUrls\";\nimport { TextButton } from \"@/components/essentials/button\";\nimport { AutoResizeTextarea } from \"@/components/essentials/textarea/AutoResizeTextarea\";\nimport { useFormContext } from \"react-hook-form\";\nimport { type PlanData } from \"@/components/fragments/argyle/plan-data-table\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\nimport { ScheduledVisibilityBox } from \"@/components/fragments/box/scheduled-visibility-box/ScheduledVisibilityBox\";\nimport { isFirstSelection } from \"@/modules/utils/subscription-info\";\n\nexport interface SpecialNoteFormProps {\n readonly planData?: PlanData;\n}\n\nexport const SpecialNoteForm: FC = ({ planData }) => {\n const { register } = useFormContext();\n\n return (\n \n \n \n きょうだいプランについて\n \n \n 年齢の異なる2名のお子様に3点ずつおもちゃをお送りする「きょうだいプラン」のご提供もございます。\n
\n きょうだいプランご希望の場合は、備考欄に対象となるお子様の誕生日、年齢、性別をご明記ください。\n
\n 3人以上のお子様へのきょうだいプラン適用や、おもちゃ個数配分の変更も可能です。\n
\n 異なる配分での送付を希望される場合は、各お子様への個数についても記載ください\n
\n \n \n きょうだいプランの詳細はこちら\n \n \n {isNonNullable(planData) && !isFirstSelection(planData.id) && (\n \n \n \n ※「おもちゃ1個プラス」キャンペーンについて\n \n \n 追加されるおもちゃを上のお子さま向けにするか、下のお子さま向けにするか、ご希望がありましたらご入力ください。\n
\n ご入力がない場合はおもちゃプランナーが選定させていただきます。\n
\n
\n
\n )}\n\n \n
\n
\n );\n};\n","export * from \"./SpecialNoteForm\";\nexport * from \"./const\";\nexport * from \"./type\";\n","import { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { previewImageTestId } from \"@/pages/_index/__components__/statuses/switch-statuses/preview/const\";\nimport { VStack, Image, Flex, AspectRatio } from \"@chakra-ui/react\";\nimport { type FC, type ReactNode } from \"react\";\nimport Planner from \"~/assets/images/planner.svg\";\n\nexport interface ChatInputBoxProps {\n readonly title: string;\n readonly showChatBalloon: boolean;\n readonly children?: ReactNode;\n}\n\nexport const ChatInputBox: FC = ({ title, showChatBalloon = false, children }) => {\n return showChatBalloon ? (\n \n \n \n \n \n \n {title}\n \n \n \n \n {children}\n \n \n \n ) : (\n children\n );\n};\n","export * from \"./ChatInputBox\";\n","import { type FC, type ReactNode } from \"react\";\nimport { type SerializedStyles, css, keyframes } from \"@emotion/react\";\nimport { Box } from \"@/components/essentials/box\";\n\nexport interface FadeableBoxProps {\n readonly fadeInCondition: boolean;\n readonly isAlwaysDisplay?: boolean;\n readonly children?: ReactNode;\n}\n\nconst fadeIn = keyframes`\n from { opacity: 0; }\n to { opacity: 1; }\n`;\n\nconst fadeInStyle = (props: { isFadeIn: boolean }): SerializedStyles => css`\n animation: ${\n props.isFadeIn\n ? css`\n ${fadeIn} .5s ease-out forwards\n `\n : \"none\"\n };\n`;\n\nexport const FadeableBox: FC = ({ fadeInCondition, isAlwaysDisplay = false, children }) => {\n return (\n <>\n {(isAlwaysDisplay || fadeInCondition) && {children}}\n \n );\n};\n","import React, { type FC, useEffect, useState } from \"react\";\nimport { parse } from \"date-fns\";\nimport * as locale from \"date-fns/locale\";\n\ninterface ScheduledVisibilityBoxProps {\n children: React.ReactNode;\n startDate: string;\n endDate: string;\n}\n\nexport const ScheduledVisibilityBox: FC = ({ children, startDate, endDate }) => {\n const [isVisible, setIsVisible] = useState(false);\n\n useEffect(() => {\n const now = new Date();\n\n const start = parse(startDate, \"yyyy-MM-dd HH:mm:ss\", new Date(), { locale: locale.ja });\n const end = parse(endDate, \"yyyy-MM-dd HH:mm:ss\", new Date(), { locale: locale.ja });\n\n // 現在時刻が表示期間内かどうかをチェック\n if (now >= start && now <= end) {\n setIsVisible(true);\n } else {\n setIsVisible(false);\n }\n }, [startDate, endDate]);\n\n return <>{isVisible ? children : null};\n};\n","import { type FC } from \"react\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Flex, Image } from \"@chakra-ui/react\";\nimport { Box } from \"@/components/essentials/box\";\nimport error01 from \"~/assets/images/error-01.svg\";\nimport { invalidPanelTestId } from \"./const\";\nimport Link from \"next/link\";\nimport { toysubContactUsUrl } from \"@/configs/externalUrls\";\n\nexport interface InvalidPanelProps {\n readonly title?: string;\n}\n\nexport const InvalidPanel: FC = ({ title = \"正常に表示できませんでした。\" }) => {\n return (\n \n \n \"toybox\"\n \n \n \n {title}\n \n\n \n お手数ですが、時間をおいてから再度お試しください。\n
\n 問題が解決しない場合、\n \n こちら\n
\n よりお問い合わせ下さい。\n \n
\n
\n );\n};\n","export * from \"./InvalidPanel\";\nexport * from \"./const\";\n","export const childSexFormTestId = \"components/fragments/forms/child-sex-form/form\";\nexport const childSexFormSelectSexTestId = \"components/fragments/forms/child-sex-form/Select-sex\";\nexport const childSexFormLabelTestId = \"components/fragments/forms/child-sex-form/label\";\n\nexport interface childSex {\n readonly sexCode: string;\n readonly label: string;\n}\n\nexport const childSexes: childSex[] = [\n {\n label: \"まだわからない / 回答しない\",\n sexCode: \"0\",\n },\n {\n label: \"女の子\",\n sexCode: \"2\",\n },\n {\n label: \"男の子\",\n sexCode: \"1\",\n },\n];\n","import { type FC, useMemo } from \"react\";\nimport { FormControl, FormLabel, FormHelperText } from \"@/components/essentials/form-control\";\nimport { Input } from \"@/components/essentials/input\";\nimport { useFormContext } from \"react-hook-form\";\nimport isEmail from \"validator/lib/isEmail\";\nimport { emailFormHelperTextTestId, emailFormInputTestId, emailFormLabelTestId } from \"./const\";\nimport get from \"just-safe-get\";\n\nexport interface EmailFormProps {\n emailField?: string;\n required?: boolean;\n}\n\nexport const EmailForm: FC = ({ emailField = \"email\", required = true }) => {\n const {\n register,\n formState: { errors, dirtyFields },\n } = useFormContext();\n\n const emailRegister = useMemo(\n () =>\n register(emailField, {\n required,\n validate: (value) => {\n if (!required) {\n return true;\n }\n return isEmail(value);\n },\n }),\n [register, emailField, required],\n );\n return (\n \n \n メールアドレス\n \n \n \n 有効なメールアドレスが入力されている\n \n \n );\n};\n","export * from \"./EmailForm\";\nexport * from \"./const\";\n","export const copyButtonTestId = \"components/fragments/button/copy-button/CopyButton\";\nexport const copyToastTestId = \"components/fragments/button/copy-button/Toast\";\nexport const defaultSuccessMessage = \"コピーしました\";\nexport const defaultFailMessage = \"コピー失敗しました\";\n","import { type FC } from \"react\";\nimport { TextButton, type TextButtonProps } from \"@/components/essentials/button\";\nimport { copy } from \"@/modules/utils/copy-to-clipboard\";\nimport { Toast, useToast } from \"@/components/essentials/toast\";\nimport { copyButtonTestId, copyToastTestId, defaultFailMessage, defaultSuccessMessage } from \"./const\";\n\nexport type CopyClipboardButtonProps = Partial & {\n copyValue: string;\n successMessage?: string;\n failMessage?: string;\n};\n\nexport const CopyClipboardButton: FC = ({\n copyValue,\n successMessage = defaultSuccessMessage,\n failMessage = defaultFailMessage,\n ...restProps\n}) => {\n const toast = useToast();\n const handleClick = (): void => {\n const result = copy(copyValue);\n toast({\n position: \"bottom\",\n render: () => (\n \n {result ? successMessage : failMessage}\n \n ),\n });\n };\n\n return (\n \n );\n};\n","import { Table, Tbody, Tr, Td, type TableProps, Flex } from \"@chakra-ui/react\";\nimport { memo, type FC, useMemo } from \"react\";\nimport { type Column, useTable } from \"react-table\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { css } from \"@emotion/react\";\nimport { Image } from \"@chakra-ui/image\";\nimport { Box } from \"@/components/essentials/box\";\nimport { CopyClipboardButton } from \"@/components/fragments/button/copy-clipboard-button/CopyClipboardButton\";\n\nexport interface KeyValue {\n readonly key: string;\n readonly value: string | React.ReactNode;\n readonly isImagePathKey?: boolean;\n readonly isStrongValue?: boolean;\n readonly isAttentionValue?: boolean;\n readonly isCopyableValue?: boolean;\n}\nexport interface KeyValueTableProps extends Omit {\n readonly data: KeyValue[];\n readonly \"data-testid\"?: string;\n}\n\nexport const KeyValueTable: FC = memo(({ data, \"data-testid\": dataTestid }) => {\n // biome-ignore lint/style/useConsistentArrayType :[AUTOMATICALLY-INSERTED] Use shorthand T[] syntax instead of Array syntax.\n const columns: Array> = useMemo(\n () => [\n {\n Header: \"key\",\n accessor: \"key\",\n Cell: (props) => {\n return props.row.original.isImagePathKey ? (\n \"\"\n ) : (\n <>{props.value}\n );\n },\n },\n {\n Header: \"value\",\n accessor: \"value\",\n Cell: (props) => {\n return props.row.original.isCopyableValue ? (\n \n \n {props.value}\n \n \n \n \n \n ) : (\n \n {props.value}\n \n );\n },\n },\n ],\n [],\n );\n const { getTableProps, getTableBodyProps, rows, prepareRow } = useTable({\n columns,\n data,\n });\n\n return (\n \n \n {rows.map((row, rowKey, rowArray) => {\n prepareRow(row);\n const { key, ...rowProps } = row.getRowProps();\n return (\n \n {row.cells.map((cell) => {\n const { key, ...cellProps } = cell.getCellProps();\n\n return (\n \n \n {cell.render(\"Cell\")}\n \n \n );\n })}\n \n );\n })}\n \n \n );\n});\n\nKeyValueTable.displayName = \"KeyValueTable\";\n","export * from \"./KeyValueTable\";\n","import { type MutationResult, type QueryResult } from \"@apollo/client\";\nimport { type Exact } from \"@/gql/generated/graphql.gen\";\n\n// biome-ignore lint/suspicious/noExplicitAny :[AUTOMATICALLY-INSERTED] Unexpected any. Specify a different type.\n// biome-ignore lint/style/useConsistentArrayType :[AUTOMATICALLY-INSERTED] Use shorthand T[] syntax instead of Array syntax.\nexport const isQueryCompleted = (resultQueries: Array>>): boolean =>\n resultQueries.every((resultQuery) => resultQuery.called && !resultQuery.loading && resultQuery.data !== undefined);\n\n// biome-ignore lint/suspicious/noExplicitAny :[AUTOMATICALLY-INSERTED] Unexpected any. Specify a different type.\n// biome-ignore lint/style/useConsistentArrayType :[AUTOMATICALLY-INSERTED] Use shorthand T[] syntax instead of Array syntax.\nexport const isMutationCompleted = (resultMutations: Array>): boolean =>\n resultMutations.every(\n (resultMutation) => resultMutation.called && !resultMutation.loading && resultMutation.data !== undefined,\n );\n\n// biome-ignore lint/suspicious/noExplicitAny :[AUTOMATICALLY-INSERTED] Unexpected any. Specify a different type.\n// biome-ignore lint/style/useConsistentArrayType :[AUTOMATICALLY-INSERTED] Use shorthand T[] syntax instead of Array syntax.\nexport const isLoading = (resultQueries: Array>>): boolean =>\n resultQueries.some((resultQuery) => resultQuery.loading);\n","// Object を走査し、入力率を判定する\n// 戻り値は、小数点第三位以下を切り捨て\nexport const calcInputRate = (values: object): number | undefined => {\n try {\n const [inputCount, totalCount] = countInput(values);\n const inputRate = (Number(inputCount) / Number(totalCount)) * 100;\n return isNaN(inputRate) ? 0 : Math.floor(inputRate * 100) / 100;\n } catch (e: unknown) {\n return undefined;\n }\n};\n\nconst countInput = (values: object): number[] => {\n // [入力されている input 数, 総 input 数] を値として扱う\n return Object.values(values).reduce(\n (previousValue: number[], currentValue) => {\n const previousInputCount = Number(previousValue[0]);\n const previousTotalCount = Number(previousValue[1]);\n\n if (isObject(currentValue)) {\n const [inputCount, totalCount]: number[] = countInput(currentValue);\n return [previousInputCount + Number(inputCount), previousTotalCount + Number(totalCount)];\n }\n\n if (currentValue === null || currentValue === undefined || currentValue === \"\") {\n return [previousInputCount, previousTotalCount + 1];\n } else {\n return [previousInputCount + 1, previousTotalCount + 1];\n }\n },\n [0, 0],\n );\n};\n\nconst isObject = (value: unknown): boolean => {\n return value !== null && !Array.isArray(value) && typeof value === \"object\";\n};\n","import copyToClipboard from \"copy-to-clipboard\";\n\n// copy-to-clipboard が mock とか spyOn しづらいからラップする\n// module.exports = copy とかどう mock すればいいのプンってなった\nexport const copy = copyToClipboard;\n","export const formatPrice = (price: number, isAddUnit: boolean = true): string => {\n const unit = isAddUnit ? \" 円\" : \"\";\n return price.toLocaleString(\"ja-JP\") + unit;\n};\n","// プライムコースかどうか\nexport const isPrime = (subscriptionInfoUuid: string): boolean => {\n return subscriptionInfoUuid === \"04643bac-eb7d-4358-a3b3-5090efef2378\";\n};\n\n// ファーストセレクションかどうか;\nexport const isFirstSelection = (subscriptionInfoUuid: string): boolean => {\n return (\n subscriptionInfoUuid === \"c1dc98a8-5034-4e3c-9c00-32ea4a31f8fe\" ||\n subscriptionInfoUuid === \"6ef85741-b1aa-4668-8339-1fed73e3680b\" ||\n subscriptionInfoUuid === \"08e1c048-d8a2-4d6f-9fca-81702024f89e\" ||\n subscriptionInfoUuid === \"344e1883-23e3-4a0c-a99c-ce01427b5f3e\"\n );\n};\n\n// スタンダードの一括払いかどうか\nexport const isOneTimePaymentStandard = (subscriptionInfoUuid: string): boolean => {\n return (\n // 一年払い\n subscriptionInfoUuid === \"4e727447-7085-4432-b9bc-8130cb9acbb0\" ||\n // 半年払い\n subscriptionInfoUuid === \"4b50a0e0-9aed-4e68-a052-63b61238879f\"\n );\n};\n\nexport const isKonamiSports = (subscriptionInfoUuid: string): boolean => {\n return subscriptionInfoUuid === \"0971e2e9-6982-4234-aad3-f8367438a52e\";\n};\n","import { headerHeight } from \"@/components/fragments/header/const\";\n\nexport const plansDetailShipmentIdTestId = \"pages/plans/detail/[shipmentId]\";\nexport const skeletonTestId = \"pages/plans/detail/[shipmentId]-skeleton\";\nexport const contentTestId = \"pages/plans/detail/[shipmentId]-content\";\nexport const planInfoTestId = \"pages/plans/detail/[shipmentId]-planinfo\";\n\nexport const topId = \"top\";\n\nexport const scrollOffset = -parseInt(headerHeight, 10);\n","export const stripeFormId = \"stripeForm\";\nexport const stripeFormPaymentElementId = \"stripeFormPaymentElement\";\n\nexport const stripeFormFormTestId = \"components/fragments/stripe/StripeForm/Form\";\n","import React, { type FC, useCallback } from \"react\";\nimport { PaymentElement, useStripe, useElements } from \"@stripe/react-stripe-js\";\nimport {\n type SetupIntentResult,\n type Stripe,\n type StripeElements,\n type StripePaymentElementChangeEvent,\n type StripePaymentElementOptions,\n} from \"@stripe/stripe-js\";\nimport { stripeFormFormTestId, stripeFormId, stripeFormPaymentElementId } from \"./const\";\n\nexport interface StripeFormProps {\n readonly onSubmit: (confirmSetup: () => Promise) => void;\n readonly onChange: (event: StripePaymentElementChangeEvent) => void;\n}\n\nexport const StripeForm: FC = ({ onSubmit, onChange }) => {\n const stripe: Stripe | null = useStripe();\n const elements: StripeElements | null = useElements();\n\n const paymentElementOptions: StripePaymentElementOptions = {\n fields: {\n billingDetails: {\n address: {\n country: \"never\",\n },\n },\n },\n };\n\n const confirmSetup: () => Promise = useCallback(async () => {\n if (stripe === null || elements === null) {\n return;\n }\n\n return await stripe.confirmSetup({\n elements,\n redirect: \"if_required\",\n confirmParams: {\n payment_method_data: {\n billing_details: {\n address: {\n country: \"JP\",\n },\n },\n },\n },\n });\n }, [elements, stripe]);\n\n const handleSubmit: React.FormEventHandler = useCallback(\n (e) => {\n e.preventDefault();\n\n onSubmit(confirmSetup);\n },\n [confirmSetup, onSubmit],\n );\n\n return (\n {\n handleSubmit(e);\n }}\n data-testid={stripeFormFormTestId}\n >\n \n \n );\n};\n","export * from \"./stripe-form/StripeForm\";\n","export const billingFormTestId = \"components/fragments/argyle/billing-form\";\nexport const billingFormLabelTestId = \"components/fragments/argyle/billing-form/label\";\nexport const billingFormElementsTestId = \"components/fragments/argyle/billing-form/elements\";\nexport const billingFormId = \"components/fragments/argyle/billing-form\";\n","export const getStripePublicKey = (): string => {\n const stripePublicKey = process.env.STRIPE_PUBLIC_KEY;\n if (typeof stripePublicKey !== \"string\" || stripePublicKey === \"\") {\n // biome-ignore lint/style/useConsistentBuiltinInstantiation :[AUTOMATICALLY-INSERTED] Use new Error() instead of Error().\n throw Error(\"You need to provide a Stripe Public Key as `STRIPE_PUBLIC_KEY` env variable.\");\n }\n return stripePublicKey;\n};\n","import {\n type Appearance,\n loadStripe,\n type SetupIntentResult,\n type StripeElementsOptions,\n type StripePaymentElementChangeEvent,\n} from \"@stripe/stripe-js\";\nimport { StripeForm } from \"@/components/fragments/stripe\";\nimport { FormControl, FormLabel } from \"@/components/essentials/form-control\";\nimport { Elements } from \"@stripe/react-stripe-js\";\nimport { type FC } from \"react\";\nimport { billingFormElementsTestId, billingFormId, billingFormLabelTestId, billingFormTestId } from \"./const\";\nimport { getStripePublicKey } from \"./module\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport Link from \"next/link\";\nimport { toysubCvcUrl } from \"@/configs/externalUrls\";\n\nexport interface BillingFormProps {\n readonly clientSecret: StripeElementsOptions[\"clientSecret\"];\n readonly onSubmit: (confirmSetup: () => Promise) => Promise;\n readonly onChange: (event: StripePaymentElementChangeEvent) => void;\n}\n\nexport const BillingForm: FC = ({ clientSecret, onSubmit, onChange }) => {\n const appearance: Appearance = {\n theme: \"flat\",\n };\n const stripePromise = loadStripe(getStripePublicKey());\n\n const stripeElementsOptions: StripeElementsOptions = {\n clientSecret,\n appearance,\n };\n\n return (\n \n \n お支払い情報\n \n {\n // biome-ignore lint/complexity/noVoid :[AUTOMATICALLY-INSERTED] The use of void is not allowed.\n void onSubmit(e);\n }}\n onChange={onChange}\n />\n \n \n CVCコードは、クレジットカードの表 / 裏面に記載されている3 or 4桁の数字です。詳細は{\" \"}\n \n こちら\n {\" \"}\n をご確認ください。\n \n \n \n );\n};\n","export * from \"./BillingForm\";\nexport * from \"./const\";\n","import { type FC, memo } from \"react\";\nimport { type KeyValue, KeyValueTable } from \"@/components/fragments/table/key-value-table\";\nimport { type ChildFormValue } from \"@/components/fragments/argyle\";\nimport { childTableLabelTestId, childTableTestId } from \"./const\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { childSexes } from \"@/components/fragments/forms/child-sex-form/const\";\nimport { formatAsiaTokyoDateToString } from \"@/modules/utils/date\";\n\nexport interface ChildTableProps {\n readonly value: ChildFormValue;\n}\n\nexport const ChildTable: FC = memo(\n ({\n value: {\n child: { birthDate, sexCode },\n },\n }) => {\n const childKeyValueData: KeyValue[] = [\n {\n key: \"性別\",\n value: childSexes.find(({ sexCode: value }) => value === sexCode)?.label ?? \"\",\n },\n {\n key: \"生年月日\",\n value: formatAsiaTokyoDateToString(birthDate, \"yyyy年MM月dd日\", \"yyyyMMdd\"),\n },\n ];\n\n return (\n \n \n お子様の情報\n \n \n \n );\n },\n);\n\nChildTable.displayName = \"ChildTable\";\n","export * from \"./ChildTable\";\nexport * from \"./const\";\n","import { type FC, memo } from \"react\";\nimport { type KeyValue, KeyValueTable } from \"@/components/fragments/table/key-value-table\";\nimport { type ContractorFormValue } from \"@/components/fragments/argyle\";\nimport { contractorTableLabelTestId, contractorTableTestId } from \"./const\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { getPrefectureName } from \"@/modules/utils/prefecture\";\n\nexport interface ContractorTableProps {\n readonly value: ContractorFormValue;\n}\n\nexport const ContractorTable: FC = memo(\n ({\n value: {\n customerAddress: {\n lastName,\n firstName,\n postalCode,\n phoneNumber,\n prefectureCode,\n address1,\n address2,\n buildingName,\n mail,\n },\n },\n }) => {\n const contractorKeyValueData: KeyValue[] = [\n {\n key: \"メールアドレス\",\n value: mail,\n },\n {\n key: \"お名前\",\n value: `${lastName} ${firstName}`,\n },\n {\n key: \"郵便番号\",\n value: postalCode,\n },\n {\n key: \"住所\",\n value: getPrefectureName(Number(prefectureCode)) + address1 + address2 + buildingName,\n },\n {\n key: \"電話番号\",\n value: phoneNumber,\n },\n ];\n\n return (\n \n \n ご契約者情報\n \n \n \n );\n },\n);\n\nContractorTable.displayName = \"ContractorTable\";\n","export * from \"./ContractorTable\";\nexport * from \"./const\";\n","import { type ApplicationFormValue } from \"./type\";\nimport deepmerge from \"deepmerge\";\n\nexport const copyContractorToShipmentIfSelectSame = (value: ApplicationFormValue): ApplicationFormValue => {\n if (value.shippingAddressSameOrNew === \"new\") {\n return value;\n }\n\n // deep copy\n const copyValue = deepmerge(value, {});\n copyValue.shippingAddress = copyValue.customerAddress;\n\n return copyValue;\n};\n","import { type FC, memo } from \"react\";\nimport { type KeyValue, KeyValueTable } from \"@/components/fragments/table/key-value-table\";\nimport { type ApplicationFormValue } from \"@/components/fragments/argyle\";\nimport { shipmentTableLabelTestId, shipmentTableTestId } from \"./const\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { copyContractorToShipmentIfSelectSame } from \"@/components/fragments/argyle/module\";\nimport { getPrefectureName } from \"@/modules/utils/prefecture\";\n\nexport interface ShipmentTableProps {\n readonly value: ApplicationFormValue;\n}\n\nexport const ShipmentTable: FC = memo(({ value }) => {\n const {\n shippingAddress: {\n lastName,\n firstName,\n postalCode,\n phoneNumber,\n prefectureCode,\n address1,\n address2,\n buildingName,\n mail,\n },\n } = copyContractorToShipmentIfSelectSame(value);\n\n const shipmentKeyValueData: KeyValue[] = [\n {\n key: \"お名前\",\n value: `${lastName} ${firstName}`,\n },\n {\n key: \"郵便番号\",\n value: postalCode,\n },\n {\n key: \"住所\",\n value: getPrefectureName(Number(prefectureCode)) + address1 + address2 + buildingName,\n },\n {\n key: \"電話番号\",\n value: phoneNumber,\n },\n {\n key: \"メールアドレス\",\n value: mail,\n },\n ];\n\n return (\n \n \n お届け先情報\n \n \n \n );\n});\n\nShipmentTable.displayName = \"ShipmentTable\";\n","export * from \"./ShipmentTable\";\nexport * from \"./const\";\n","import { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Link, Stack } from \"@chakra-ui/react\";\nimport { type FC } from \"react\";\nimport {\n confirmMessageBoxTestId,\n titleTestId,\n textToyNumberTestId,\n textShipmentPeriodTestId,\n textShipmentDeadlineTestId,\n textPaymentPeriodTestId,\n textContactTestId,\n} from \"./const\";\nimport { type PlanData } from \"@/components/fragments/argyle/plan-data-table\";\nimport { isOneTimePaymentStandard, isPrime } from \"@/modules/utils/subscription-info\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\nimport { TextButton } from \"@/components/essentials/button\";\nimport { toysubApplicationFormContactUrl } from \"@/configs/externalUrls\";\n\nexport interface ConfirmMessageBoxProps {\n readonly planData?: PlanData;\n readonly promotionCode?: string | undefined;\n}\n\nexport const ConfirmMessageBox: FC = ({ planData }) => {\n return (\n \n \n 必ずご確認ください\n \n \n {isNonNullable(planData) &&\n (isPrime(planData.id) ? (\n // プライム\n <>\n \n おもちゃの点数は\n \n 4点\n \n です。おもちゃは発送後7日後以降であればいつでも、何点でも交換できます。\n \n \n 初回の商品は\n \n お申し込みから6営業日以内\n \n にご指定のお届け先に発送します。\n \n \n \n 商品発送\n \n 後に請求開始、以後\n \n 契約期間毎のご請求\n \n となります。\n \n \n 返品・ご解約の際は、\n \n \n お問合せフォーム\n \n \n よりご連絡ください。\n \n \n 返品による契約解除は、お客さまによる送料ご負担の上、未開封の場合のみ可能です。\n \n \n 解約申請は随時受付しております。解約が可能となるのはお客さまのおもちゃ交換サイクルに応じて設定される2回目の発送が可能となる日以降となります。\n \n \n ) : isOneTimePaymentStandard(planData.id) ? (\n // 一括払い\n <>\n \n おもちゃの点数は6点です。\n \n \n おもちゃの交換は基本的に\n \n 60日に1回\n \n となります。\n \n \n ※お客さまのリクエストへの対応を行った場合などには、\n \n 67日ほどかかる\n \n ことがございます。\n \n \n 商品は\n \n お申し込みから6営業日以内\n \n にご指定のお届け先に発送します。\n \n \n \n 商品発送\n \n 後に請求開始、以後\n \n 契約期間毎のご請求\n \n となります。\n \n \n 返品・ご解約の際は、\n \n \n お問合せフォーム\n \n \n よりご連絡ください。\n \n \n 返品による契約解除は、お客さまによる送料ご負担の上、未開封の場合のみ可能です。\n \n \n 解約申請は随時受付しております。解約が可能となるのはお客さまのおもちゃ交換サイクルに応じて設定される2回目の発送が可能となる日以降となります。\n \n\n \n 一括払いの場合には以下の返金の計算式のとおり返金手数料を差し引いて返金します。本サービスを利用した期間を毎月支払いの月額料金で再計算し、支払済み額との差額について、返金金手数料を差し引いて返金します。\n \n \n 返金額=支払済み金額―(毎月支払いの金額[※1]×利用月数[※2])―返金手数料770円\n \n \n ) : (\n // スタンダード\n <>\n \n おもちゃの点数は6点です。\n \n \n おもちゃの交換は基本的に\n \n 60日に1回\n \n となります。\n \n \n ※お客さまのリクエストへの対応を行った場合などには、\n \n 67日ほどかかる\n \n ことがございます。\n \n \n 商品は\n \n お申し込みから6営業日以内\n \n にご指定のお届け先に発送します。\n \n \n \n 商品発送\n \n 後に請求開始、以後\n \n 契約期間毎のご請求\n \n となります。\n \n \n 返品・ご解約の際は、\n \n \n お問合せフォーム\n \n \n よりご連絡ください。\n \n \n 返品による契約解除は、お客さまによる送料ご負担の上、未開封の場合のみ可能です。\n \n \n 解約申請は随時受付しております。解約が可能となるのはお客さまのおもちゃ交換サイクルに応じて設定される2回目の発送が可能となる日以降となります。\n \n \n ))}\n
\n \n \n );\n};\n","// @ts-nocheck\nimport * as Types from '../../../../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nconst defaultOptions = {} as const;\nexport type CreateCustomerPagesSignupPlanMutationVariables = Types.Exact<{\n customerId: Types.Scalars['String']['input'];\n input: Types.CreateCustomerInput;\n}>;\n\n\nexport type CreateCustomerPagesSignupPlanMutation = { __typename?: 'Mutation', createCustomer: boolean };\n\n\nexport const CreateCustomerPagesSignupPlanDocument = gql`\n mutation createCustomerPagesSignupPlan($customerId: String!, $input: CreateCustomerInput!) {\n createCustomer(customerId: $customerId, input: $input)\n}\n `;\nexport type CreateCustomerPagesSignupPlanMutationFn = Apollo.MutationFunction;\n\n/**\n * __useCreateCustomerPagesSignupPlanMutation__\n *\n * To run a mutation, you first call `useCreateCustomerPagesSignupPlanMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateCustomerPagesSignupPlanMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createCustomerPagesSignupPlanMutation, { data, loading, error }] = useCreateCustomerPagesSignupPlanMutation({\n * variables: {\n * customerId: // value for 'customerId'\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateCustomerPagesSignupPlanMutation(baseOptions?: Apollo.MutationHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useMutation(CreateCustomerPagesSignupPlanDocument, options);\n }\nexport type CreateCustomerPagesSignupPlanMutationHookResult = ReturnType;\nexport type CreateCustomerPagesSignupPlanMutationResult = Apollo.MutationResult;\nexport type CreateCustomerPagesSignupPlanMutationOptions = Apollo.BaseMutationOptions;","import { format, parse } from \"date-fns\";\nimport { type ApplicationFormValue, type PlanData } from \"@/components/fragments/argyle\";\nimport { type CreateCustomerInput } from \"@/gql/generated/graphql.gen\";\nimport { removeHyphen } from \"@/modules/utils/normalize-strings\";\n\nexport const getCreateCustomerInput = (\n applicationFormValue: ApplicationFormValue,\n promotionCode: string | undefined,\n planData: PlanData,\n): CreateCustomerInput => {\n const { child, customerAddress, shippingAddress, shippingAddressSameOrNew, specialNote } = applicationFormValue;\n\n return {\n priceUuid: planData.id,\n customerAddress: {\n ...customerAddress,\n prefectureCode: Number(customerAddress.prefectureCode),\n postalCode: removeHyphen(customerAddress.postalCode),\n },\n shippingAddress:\n shippingAddressSameOrNew === \"new\"\n ? {\n ...shippingAddress,\n prefectureCode: Number(shippingAddress.prefectureCode),\n postalCode: removeHyphen(shippingAddress.postalCode),\n }\n : {\n ...customerAddress,\n prefectureCode: Number(customerAddress.prefectureCode),\n postalCode: removeHyphen(customerAddress.postalCode),\n },\n child: {\n birthDate: format(parse(child.birthDate, \"yyyyMMdd\", new Date()), \"yyyy-MM-dd\"),\n sexCode: Number(child.sexCode),\n },\n specialNote,\n promotionCode,\n };\n};\n","import { type StripePaymentElementChangeEvent } from \"@stripe/stripe-js\";\nimport { type Dispatch, type SetStateAction, useState } from \"react\";\n\nexport const useStripeFormState = (): [\n StripePaymentElementChangeEvent | undefined,\n Dispatch>,\n] => {\n return useState(undefined);\n};\n","// @ts-nocheck\nimport * as Types from '../../../../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nconst defaultOptions = {} as const;\nexport type CompletePlanApplicationPagesSignupPlanMutationVariables = Types.Exact<{\n customerId: Types.Scalars['String']['input'];\n}>;\n\n\nexport type CompletePlanApplicationPagesSignupPlanMutation = { __typename?: 'Mutation', completePlanApplication: boolean };\n\n\nexport const CompletePlanApplicationPagesSignupPlanDocument = gql`\n mutation completePlanApplicationPagesSignupPlan($customerId: String!) {\n completePlanApplication(customerId: $customerId)\n}\n `;\nexport type CompletePlanApplicationPagesSignupPlanMutationFn = Apollo.MutationFunction;\n\n/**\n * __useCompletePlanApplicationPagesSignupPlanMutation__\n *\n * To run a mutation, you first call `useCompletePlanApplicationPagesSignupPlanMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCompletePlanApplicationPagesSignupPlanMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [completePlanApplicationPagesSignupPlanMutation, { data, loading, error }] = useCompletePlanApplicationPagesSignupPlanMutation({\n * variables: {\n * customerId: // value for 'customerId'\n * },\n * });\n */\nexport function useCompletePlanApplicationPagesSignupPlanMutation(baseOptions?: Apollo.MutationHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useMutation(CompletePlanApplicationPagesSignupPlanDocument, options);\n }\nexport type CompletePlanApplicationPagesSignupPlanMutationHookResult = ReturnType;\nexport type CompletePlanApplicationPagesSignupPlanMutationResult = Apollo.MutationResult;\nexport type CompletePlanApplicationPagesSignupPlanMutationOptions = Apollo.BaseMutationOptions;","import { type FC, memo } from \"react\";\nimport { type KeyValue, KeyValueTable } from \"@/components/fragments/table/key-value-table\";\nimport { konamiSportsTableLabelTestId, konamiSportsTableTestId } from \"./const\";\nimport { Box } from \"@/components/essentials/box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { type KonamiSportsFormValue } from \"@/components/fragments/argyle/konami-sports-form\";\n\nexport interface KonamiSportsTableProps {\n readonly value: KonamiSportsFormValue;\n}\n\nexport const KonamiSportsTable: FC = memo(({ value: { konamiSports } }) => {\n const konamiSportsKeyValueData: KeyValue[] = [\n {\n key: \"施設名\",\n value: konamiSports?.shisetsu ?? \"\",\n },\n {\n key: \"コナミスポーツクラブ会員番号\",\n value: konamiSports?.memberCode ?? \"\",\n },\n ];\n\n return (\n \n \n コナミスポーツクラブ会員情報\n \n \n \n );\n});\n\nKonamiSportsTable.displayName = \"KonamiSportsTable\";\n","export * from \"./KonamiSportsTable\";\nexport * from \"./const\";\n","import { Box } from \"@/components/essentials/box\";\nimport { Button } from \"@/components/essentials/button\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { type ApplicationFormValue } from \"@/components/fragments/argyle\";\nimport { BillingForm, billingFormId } from \"@/components/fragments/argyle/billing-form\";\nimport { ChildTable } from \"@/components/fragments/argyle/child-table\";\nimport { ContractorTable } from \"@/components/fragments/argyle/contractor-table\";\nimport { type PlanData, PlanDataTable } from \"@/components/fragments/argyle/plan-data-table\";\nimport { ShipmentTable } from \"@/components/fragments/argyle/shipment-table\";\nimport { stripeFormId } from \"@/components/fragments/stripe/stripe-form/const\";\nimport { Stack } from \"@chakra-ui/layout\";\nimport { type SetupIntentResult, type StripePaymentElementChangeEvent } from \"@stripe/stripe-js\";\nimport { type FC, useCallback, useState } from \"react\";\nimport { type CustomerSlot } from \"@/pages/signup/plan/[priceUuid]/__components__/input-screen/\";\nimport {\n confirmScreenButtonCancelTestId,\n confirmScreenButtonSubmitTestId,\n confirmScreenSpecialNoteTestId,\n confirmScreenTestId,\n confirmScreenTypographyDescriptionTestId,\n confirmScreenTypographyTitleTestId,\n} from \"./const\";\nimport { ConfirmMessageBox } from \"./__components__/confirm-message-box/ConfirmMessageBox\";\nimport { Toast, useToast } from \"@/components/essentials/toast\";\nimport { useCreateCustomerPagesSignupPlanMutation } from \"./__gql__/create-customer.gen\";\nimport { getCreateCustomerInput } from \"./module\";\nimport { useApolloError } from \"@/hooks/useApolloError\";\nimport * as Scroll from \"react-scroll\";\nimport { scrollOffset } from \"@/pages/plans/detail/[shipmentId]/const\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\nimport { useStripeFormState } from \"./hook\";\nimport { datadogLogs } from \"@datadog/browser-logs\";\nimport { useCompletePlanApplicationPagesSignupPlanMutation } from \"./__gql__/complete-plan-application.gen\";\nimport { KonamiSportsTable } from \"@/components/fragments/argyle/konami-sports-table\";\n\nexport interface ConfirmScreenProps {\n readonly planData: PlanData;\n readonly promotionCode: string | undefined;\n readonly applicationFormValue: ApplicationFormValue;\n readonly customerSlot: CustomerSlot;\n readonly onCompletedSubmit: () => void;\n readonly onClickBackButton: () => void;\n readonly headerMessage: string;\n readonly isKonamiSports?: boolean;\n}\n\nexport const ConfirmScreen: FC = ({\n planData,\n promotionCode,\n applicationFormValue,\n customerSlot,\n onCompletedSubmit,\n onClickBackButton,\n headerMessage,\n isKonamiSports,\n}) => {\n const toast = useToast();\n const [stripeFormState, setStripeFormState] = useStripeFormState();\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [createCustomer, resultCreateCustomer] = useCreateCustomerPagesSignupPlanMutation();\n const [completePlanApplication] = useCompletePlanApplicationPagesSignupPlanMutation();\n\n const onSubmit = useCallback(\n async (confirmSetup: () => Promise) => {\n setIsSubmitting(true);\n const failedSubmit = ({ scrollStripeForm = true }: { scrollStripeForm?: boolean }): void => {\n if (scrollStripeForm) {\n Scroll.scroller.scrollTo(billingFormId, {\n smooth: false,\n duration: 0,\n offset: scrollOffset,\n });\n }\n setIsSubmitting(false);\n };\n\n try {\n if (stripeFormState === undefined || !stripeFormState.complete) {\n toast({\n position: \"bottom\",\n render: () => 決済情報を入力してください。,\n });\n failedSubmit({});\n return;\n }\n\n if (isKonamiSports) {\n applicationFormValue.specialNote +=\n \"\\n-----コナミスポーツクラブ会員情報-----\\n施設名:\" +\n (applicationFormValue.konamiSports?.shisetsu ?? \"\") +\n \"\\nコナミスポーツクラブ会員番号:\" +\n (applicationFormValue.konamiSports?.memberCode ?? \"\");\n }\n\n const resultCreateCustomer = await createCustomer({\n variables: {\n customerId: customerSlot.id,\n input: getCreateCustomerInput(applicationFormValue, promotionCode, planData),\n },\n // catch すると結果が void になるし、onError を指定しないとエラー時に処理が終わる\n onError(error) {\n error.graphQLErrors.forEach((error) => {\n datadogLogs.logger.error(\n `An error occurred in BillingForm: Argyle customerId=${\n customerSlot.id\n } createCustomer error, errorMessage=${error.message} errorExtensions=${JSON.stringify(\n error.extensions,\n )} `,\n );\n });\n },\n });\n\n if (isNonNullable(resultCreateCustomer.errors)) {\n failedSubmit({ scrollStripeForm: false });\n return;\n }\n\n const confirmSetupResult = await confirmSetup();\n if (confirmSetupResult === undefined) {\n datadogLogs.logger.error(\n `An error occurred in BillingForm: Argyle customerId=${customerSlot.id} confirmSetup return undefined`,\n );\n\n toast({\n position: \"bottom\",\n render: () => 決済情報の登録に失敗しました,\n });\n failedSubmit({});\n return;\n }\n\n const { setupIntent, error } = confirmSetupResult;\n\n if (setupIntent?.status !== \"succeeded\") {\n if (isNonNullable(error)) {\n datadogLogs.logger.error(\n `An error occurred in BillingForm: Argyle customerId = ${customerSlot.id}, error code = ${\n error.code ?? \"undefined(not provided form Stripe)\"\n }, error message = ${error.message ?? \"undefined(not provided form Stripe)\"}`,\n );\n\n toast({\n position: \"bottom\",\n render: () => {error.message ?? \"決済情報の登録に失敗しました\"},\n });\n } else {\n toast({\n position: \"bottom\",\n render: () => 決済情報の登録に失敗しました,\n });\n }\n failedSubmit({});\n return;\n }\n\n // あえてエラー処理しない。\n // 現状バックエンドの処理はメール通知のみなので、ここで失敗してもクリティカルな問題はでないため、通常通り完了画面を表示する。\n // biome-ignore lint/complexity/noVoid :[AUTOMATICALLY-INSERTED] The use of void is not allowed.\n void completePlanApplication({\n variables: { customerId: customerSlot.id },\n onError(error) {\n error.graphQLErrors.forEach((error) => {\n datadogLogs.logger.error(\n `An error occurred in BillingForm: Argyle customerId = ${\n customerSlot.id\n } completePlanApplication error!, errorMessage=${error.message} errorExtensions=${JSON.stringify(\n error.extensions,\n )} `,\n );\n });\n },\n });\n\n onCompletedSubmit();\n } catch {\n failedSubmit({});\n }\n },\n [\n applicationFormValue,\n completePlanApplication,\n createCustomer,\n customerSlot.id,\n isKonamiSports,\n onCompletedSubmit,\n planData,\n promotionCode,\n stripeFormState,\n toast,\n ],\n );\n\n const onChange = (event: StripePaymentElementChangeEvent): void => {\n setStripeFormState(event);\n };\n\n useApolloError(resultCreateCustomer.error);\n\n return (\n \n \n \n {headerMessage}\n \n \n 内容の確認とお支払い情報の入力\n \n \n 内容をご確認のうえ、お支払い情報を入力してください。\n \n \n \n \n \n \n \n \n その他備考\n \n \n \n {applicationFormValue.specialNote === \"\" ? \"入力なし\" : applicationFormValue.specialNote}\n \n \n \n\n {isKonamiSports && }\n \n \n \n \n 上記の内容で申し込む\n \n \n 内容を修正する\n \n \n \n );\n};\n","export { ConfirmScreen } from \"./ConfirmScreen\";\n","// @ts-nocheck\nimport * as Types from '../../../../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nconst defaultOptions = {} as const;\nexport type CreateCustomerSlotPagesSignupPlanMutationVariables = Types.Exact<{\n input: Types.CreateCustomerSlotInput;\n}>;\n\n\nexport type CreateCustomerSlotPagesSignupPlanMutation = { __typename?: 'Mutation', createCustomerSlot: { __typename?: 'CreateCustomerSlotResponse', id: string, clientSecret: string } };\n\n\nexport const CreateCustomerSlotPagesSignupPlanDocument = gql`\n mutation createCustomerSlotPagesSignupPlan($input: CreateCustomerSlotInput!) {\n createCustomerSlot(input: $input) {\n id\n clientSecret\n }\n}\n `;\nexport type CreateCustomerSlotPagesSignupPlanMutationFn = Apollo.MutationFunction;\n\n/**\n * __useCreateCustomerSlotPagesSignupPlanMutation__\n *\n * To run a mutation, you first call `useCreateCustomerSlotPagesSignupPlanMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateCustomerSlotPagesSignupPlanMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createCustomerSlotPagesSignupPlanMutation, { data, loading, error }] = useCreateCustomerSlotPagesSignupPlanMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateCustomerSlotPagesSignupPlanMutation(baseOptions?: Apollo.MutationHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useMutation(CreateCustomerSlotPagesSignupPlanDocument, options);\n }\nexport type CreateCustomerSlotPagesSignupPlanMutationHookResult = ReturnType;\nexport type CreateCustomerSlotPagesSignupPlanMutationResult = Apollo.MutationResult;\nexport type CreateCustomerSlotPagesSignupPlanMutationOptions = Apollo.BaseMutationOptions;","// @ts-nocheck\nimport * as Types from '../../../../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nimport { PlanDataTableFragmentFieldsFragmentDoc } from '../../../../../../../components/fragments/argyle/plan-data-table/__gql__/plan-data-table-fragment.gen';\nimport * as Apollo from '@apollo/client';\nconst defaultOptions = {} as const;\nexport type GetInitialDataPagesSignupPlanQueryVariables = Types.Exact<{\n planPriceUuid: Types.Scalars['UUID']['input'];\n promotionCode?: Types.InputMaybe;\n}>;\n\n\nexport type GetInitialDataPagesSignupPlanQuery = { __typename?: 'Query', planPrice?: { __typename?: 'PlanPrice', id: string, name: string, price: number, couponErrorReason?: string | null, subscriptionCoupon?: { __typename?: 'SubscriptionCoupon', discountAmount: number, duration: string, durationInMonths?: number | null } | null } | null };\n\n\nexport const GetInitialDataPagesSignupPlanDocument = gql`\n query getInitialDataPagesSignupPlan($planPriceUuid: UUID!, $promotionCode: String) {\n planPrice(id: $planPriceUuid, promotionCode: $promotionCode) {\n ...PlanDataTableFragmentFields\n }\n}\n ${PlanDataTableFragmentFieldsFragmentDoc}`;\n\n/**\n * __useGetInitialDataPagesSignupPlanQuery__\n *\n * To run a query within a React component, call `useGetInitialDataPagesSignupPlanQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetInitialDataPagesSignupPlanQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetInitialDataPagesSignupPlanQuery({\n * variables: {\n * planPriceUuid: // value for 'planPriceUuid'\n * promotionCode: // value for 'promotionCode'\n * },\n * });\n */\nexport function useGetInitialDataPagesSignupPlanQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: GetInitialDataPagesSignupPlanQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useQuery(GetInitialDataPagesSignupPlanDocument, options);\n }\nexport function useGetInitialDataPagesSignupPlanLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useLazyQuery(GetInitialDataPagesSignupPlanDocument, options);\n }\nexport function useGetInitialDataPagesSignupPlanSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions) {\n const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return Apollo.useSuspenseQuery(GetInitialDataPagesSignupPlanDocument, options);\n }\nexport type GetInitialDataPagesSignupPlanQueryHookResult = ReturnType;\nexport type GetInitialDataPagesSignupPlanLazyQueryHookResult = ReturnType;\nexport type GetInitialDataPagesSignupPlanSuspenseQueryHookResult = ReturnType;\nexport type GetInitialDataPagesSignupPlanQueryResult = Apollo.QueryResult;","// @ts-nocheck\nimport * as Types from '../../../../../../../gql/generated/graphql.gen';\n\nimport { gql } from '@apollo/client';\nimport { PlanDataTableFragmentFieldsFragmentDoc } from '../../../../../../../components/fragments/argyle/plan-data-table/__gql__/plan-data-table-fragment.gen';\nimport * as Apollo from '@apollo/client';\nconst defaultOptions = {} as const;\nexport type GetPromotionPagesSignupPlanQueryVariables = Types.Exact<{\n planPriceUuid: Types.Scalars['UUID']['input'];\n promotionCode?: Types.InputMaybe;\n}>;\n\n\nexport type GetPromotionPagesSignupPlanQuery = { __typename?: 'Query', planPrice?: { __typename?: 'PlanPrice', id: string, name: string, price: number, couponErrorReason?: string | null, subscriptionCoupon?: { __typename?: 'SubscriptionCoupon', discountAmount: number, duration: string, durationInMonths?: number | null } | null } | null };\n\n\nexport const GetPromotionPagesSignupPlanDocument = gql`\n query getPromotionPagesSignupPlan($planPriceUuid: UUID!, $promotionCode: String) {\n planPrice(id: $planPriceUuid, promotionCode: $promotionCode) {\n ...PlanDataTableFragmentFields\n }\n}\n ${PlanDataTableFragmentFieldsFragmentDoc}`;\n\n/**\n * __useGetPromotionPagesSignupPlanQuery__\n *\n * To run a query within a React component, call `useGetPromotionPagesSignupPlanQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetPromotionPagesSignupPlanQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetPromotionPagesSignupPlanQuery({\n * variables: {\n * planPriceUuid: // value for 'planPriceUuid'\n * promotionCode: // value for 'promotionCode'\n * },\n * });\n */\nexport function useGetPromotionPagesSignupPlanQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: GetPromotionPagesSignupPlanQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useQuery(GetPromotionPagesSignupPlanDocument, options);\n }\nexport function useGetPromotionPagesSignupPlanLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useLazyQuery(GetPromotionPagesSignupPlanDocument, options);\n }\nexport function useGetPromotionPagesSignupPlanSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions) {\n const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return Apollo.useSuspenseQuery(GetPromotionPagesSignupPlanDocument, options);\n }\nexport type GetPromotionPagesSignupPlanQueryHookResult = ReturnType;\nexport type GetPromotionPagesSignupPlanLazyQueryHookResult = ReturnType;\nexport type GetPromotionPagesSignupPlanSuspenseQueryHookResult = ReturnType;\nexport type GetPromotionPagesSignupPlanQueryResult = Apollo.QueryResult;","module.exports = \"/_next/static/images/error-01-b0f7febf79bec3358a228108bf8b2c72.svg\";","module.exports = \"/_next/static/images/planner-c0d56f7b5ac5bc11660e7dc174a5467e.svg\";"],"names":["textareaVariant","error","borderColor","bgColor","_focus","default","injectTextareaVariant","isError","concat","String","AutoResizeTextarea","forwardRef","props","ref","typography","base","sm","md","lg","xl","minRows","rest","typographyProps","useMemo","injectTypographyVariant","emotion_react_jsx_runtime_browser_esm","tZ","ChakraTextarea","minH","overflow","w","resize","_hover","_placeholder","textColor","as","ResizeTextarea","onFocus","scrollOnFocus","contractorFormMailField","ContractorForm","canInputEmail","email","isStepwise","showChatBalloon","onCompleteAllSteps","param","register","formState","isValid","useFormContext","formStepIndex","setFormStepIndex","useState","BX","Flex","flexDir","gridGap","Box","wordBreak","textAlign","Typography","variant","color","ChatInputBox","title","EmailForm","emailField","FormLabel","px","data-dd-privacy","input","type","value","FadeableBox","fadeInCondition","isAlwaysDisplay","NameForms","firstNameField","lastNameField","PhoneForm","phoneNumberField","AddressForms","zipCodeField","prefectureField","cityField","addressField","buildingNameAndRoomNumberField","prefectureMode","Button","size","m","onClick","current","isDisabled","promotionCodeField","PromotionCodeForm","promotionCodeLoading","errors","dirtyFields","FormControl","isDirty","get","isInvalid","undefined","id","Input","placeholder","mb","required","justifyContent","styleVariant","disabled","isLoading","PlanForm","planData","isLoaded","promotionCode","showPromotionCodeForm","pt","pb","br","a","href","toranaCreditCardUrl","target","rel","div","isNonNullable","HY","PlanDataTable","data","Skeleton","height","ChildSexForm","isRequired","child","sexCode","Select","autoComplete","childSexes","key","label","option","ChildForm","BirthdayForm","birthdayField","formLabel","formSubLabel","isDisplayAge","selectContractorSameOrNewOptions","SelectContractorSameOrNewForm","shippingAddressSameOrNew","ShipmentForm","control","contractorSameOrNew","useWatch","name","requiredAddress","hidden","my","mt","PlanDataTableFragmentFieldsFragmentDoc","gql","getPriceType","subscriptionCoupon","duration","durationInMonths","Price","memo","price","priceType","discountedPrice","discountAmount","is6mPlan","is1yPlan","firstPricePrefix","normalPricePrefix","formatPrice","displayName","planKeyValueData","push","KeyValueTable","SpecialNoteForm","TextButton","toysubSiblingsPlanUrl","Link","isFirstSelection","ScheduledVisibilityBox","startDate","endDate","maxLength","children","VStack","gap","width","AspectRatio","maxW","minW","ratio","Image","src","Planner","alt","border","p","borderRadius","objectFit","ml","py","borderBottomStartRadius","alignItems","display","borderBottomEndRadius","fadeIn","keyframes","fadeInStyle","css","isFadeIn","_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__","isVisible","setIsVisible","useEffect","now","Date","start","parse","locale","end","InvalidPanel","error01","toysubContactUsUrl","textDecorationLine","emailRegister","validate","isEmail","htmlFor","FormHelperText","testIdSuffix","CopyClipboardButton","copyValue","successMessage","defaultSuccessMessage","failMessage","defaultFailMessage","restProps","toast","useToast","handleClick","result","copy","position","render","Toast","dataTestid","columns","Header","accessor","Cell","row","original","isImagePathKey","margin","isCopyableValue","fontWeight","isStrongValue","isAttentionValue","getTableProps","getTableBodyProps","rows","prepareRow","useTable","Table","borderWidth","Tbody","map","rowKey","rowArray","rowProps","getRowProps","Tr","cells","cellProps","cell","getCellProps","Td","pl","pr","column","borderBottomWidth","length","isQueryCompleted","resultQueries","every","resultQuery","called","loading","isMutationCompleted","resultMutations","resultMutation","some","calcInputRate","inputCount","totalCount","countInput","values","inputRate","Number","isNaN","Math","floor","e","Object","reduce","previousValue","currentValue","previousInputCount","previousTotalCount","isObject","Array","isArray","copyToClipboard","isAddUnit","toLocaleString","isPrime","subscriptionInfoUuid","isOneTimePaymentStandard","isKonamiSports","topId","scrollOffset","parseInt","headerHeight","stripeFormId","StripeForm","onSubmit","onChange","stripe","useStripe","elements","useElements","confirmSetup","useCallback","redirect","confirmParams","payment_method_data","billing_details","address","country","handleSubmit","preventDefault","form","PaymentElement","options","fields","billingDetails","billingFormId","getStripePublicKey","stripePublicKey","process","Error","BillingForm","clientSecret","stripePromise","loadStripe","Elements","appearance","theme","toysubCvcUrl","ChildTable","birthDate","childKeyValueData","formatAsiaTokyoDateToString","ContractorTable","customerAddress","lastName","firstName","postalCode","phoneNumber","prefectureCode","address1","address2","buildingName","mail","contractorKeyValueData","getPrefectureName","copyContractorToShipmentIfSelectSame","deepmerge","shippingAddress","ShipmentTable","shipmentKeyValueData","ConfirmMessageBox","background","Stack","spacing","toysubApplicationFormContactUrl","defaultOptions","CreateCustomerPagesSignupPlanDocument","getCreateCustomerInput","applicationFormValue","specialNote","priceUuid","removeHyphen","format","useStripeFormState","CompletePlanApplicationPagesSignupPlanDocument","KonamiSportsTable","konamiSports","konamiSportsKeyValueData","shisetsu","memberCode","ConfirmScreen","customerSlot","onCompletedSubmit","onClickBackButton","headerMessage","stripeFormState","setStripeFormState","isSubmitting","setIsSubmitting","createCustomer","resultCreateCustomer","useCreateCustomerPagesSignupPlanMutation","baseOptions","Apollo","completePlanApplication","useCompletePlanApplicationPagesSignupPlanMutation","failedSubmit","scrollStripeForm","Scroll","smooth","offset","complete","variables","customerId","onError","graphQLErrors","forEach","datadogLogs","JSON","message","stringify","extensions","confirmSetupResult","setupIntent","status","code","event","useApolloError","mx","whiteSpace","CreateCustomerSlotPagesSignupPlanDocument","useCreateCustomerSlotPagesSignupPlanMutation","GetInitialDataPagesSignupPlanDocument","useGetInitialDataPagesSignupPlanQuery","GetPromotionPagesSignupPlanDocument","useGetPromotionPagesSignupPlanLazyQuery","module","exports"],"sourceRoot":""}