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CAAuC,CACjE,GAAAC,GAAA,CAAwB,CAAA5B,EAAAqC,QAAA,EAAAT,CAAA,GAExB,GAAAL,EAAA,CACA,IAAAe,EAAAtB,GAAAe,EAAA,UAAyE9B,EAAA,CAAM,EAAE7T,EAAa,GAC9F,MAA2B,GAAAmW,EAAAC,GAAA,EACrBpD,EAAAC,CAAA,CAAAxH,GAAU,CAChB,CACA8I,IAAAA,EACAa,UAAAS,EACAQ,MAAA,CAAiBH,UAAAA,CAAA,EACjB,GAAArX,CAAA,EAGA,OACyB,GAAAsX,EAAAC,GAAA,EACzBrD,EACA,CACAwB,IAAAA,EACAa,UAAAS,EACA,GAAAhX,CAAA,CACAwX,MAAA,CACA3U,MAAA2T,EAAA,qBACA,GAAAZ,CAAA,CACA,GAAAuB,CAAA,CACAM,MAAA,CAAiB,GAAA7B,EAAA,SAAAuB,CAAA,EACjBE,UAAA,GAAsBjW,EAAM,8BAA8BkU,EAAO,EAEjE,EAEA,EACAtU,CAAAA,EAAA0G,WAAA","sources":["webpack://_N_E/./node_modules/date-fns/esm/subDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/subMonths/index.js","webpack://_N_E/./node_modules/date-fns/esm/sub/index.js","webpack://_N_E/?9650","webpack://_N_E/./src/components/essentials/checkbox/variant.ts","webpack://_N_E/./src/components/essentials/checkbox/Checkbox.tsx","webpack://_N_E/./src/components/essentials/checkbox/index.ts","webpack://_N_E/./src/components/fragments/apollo/loader/skeleton/Skeleton.tsx","webpack://_N_E/./src/components/fragments/forms/document-checkbox-form/DocumentCheckboxForm.tsx","webpack://_N_E/./src/components/fragments/forms/document-checkbox-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/configs/uuids/family-customer-status/familyCustomerStatus.ts","webpack://_N_E/./src/gql/generated/graphql.gen.ts","webpack://_N_E/./src/components/fragments/apollo/error/ApolloError.tsx","webpack://_N_E/./src/components/fragments/apollo/error/index.ts","webpack://_N_E/./src/hooks/useApolloError/useApolloError.tsx","webpack://_N_E/./src/hooks/useApolloError/index.ts","webpack://_N_E/./src/modules/utils/copy-to-clipboard.ts","webpack://_N_E/./src/pages/quit/__components__/confirm-screen/const.ts","webpack://_N_E/./src/pages/quit/__gql__/get-me.gen.ts","webpack://_N_E/./src/pages/quit/__gql__/get-family-customer.gen.ts","webpack://_N_E/./src/pages/quit/__gql__/get-quit-application.gen.ts","webpack://_N_E/./src/pages/quit/__components__/plan-data-table/PlanDataTable.tsx","webpack://_N_E/./src/pages/quit/__components__/confirm-screen/ConfirmScreen.tsx","webpack://_N_E/./src/pages/quit/__components__/success-screen/SuccessScreen.tsx","webpack://_N_E/./src/pages/quit/__components__/invalid-screen/InvalidScreen.tsx","webpack://_N_E/./src/pages/quit/__gql__/post-quit-application.gen.ts","webpack://_N_E/./src/pages/quit/__gql__/send-graduates.gen.ts","webpack://_N_E/./src/pages/quit/__gql__/get-graduate-service-companies.gen.ts","webpack://_N_E/./src/pages/quit/index.page.tsx","webpack://_N_E/./assets/images/error-01.svg","webpack://_N_E/./node_modules/@chakra-ui/skeleton/dist/chunk-5L3NXCNX.mjs","webpack://_N_E/./node_modules/@chakra-ui/react-use-previous/dist/index.mjs","webpack://_N_E/./node_modules/@chakra-ui/skeleton/dist/chunk-3GRGLNAR.mjs","webpack://_N_E/"],"sourcesContent":["import addDays from \"../addDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\nexport default function subDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subMonths\n * @category Month Helpers\n * @summary Subtract the specified number of months from the given date.\n *\n * @description\n * Subtract the specified number of months from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 5 months from 1 February 2015:\n * const result = subMonths(new Date(2015, 1, 1), 5)\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport default function subMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, -amount);\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport subDays from \"../subDays/index.js\";\nimport subMonths from \"../subMonths/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name sub\n * @category Common Helpers\n * @summary Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date.\n *\n * @description\n * Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be subtracted\n *\n * | Key | Description |\n * |---------|------------------------------------|\n * | years | Amount of years to be subtracted |\n * | months | Amount of months to be subtracted |\n * | weeks | Amount of weeks to be subtracted |\n * | days | Amount of days to be subtracted |\n * | hours | Amount of hours to be subtracted |\n * | minutes | Amount of minutes to be subtracted |\n * | seconds | Amount of seconds to be subtracted |\n *\n * All values default to 0\n *\n * @returns {Date} the new date with the seconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract the following duration from 15 June 2017 15:29:20\n * const result = sub(new Date(2017, 5, 15, 15, 29, 20), {\n * years: 2,\n * months: 9,\n * weeks: 1,\n * days: 7,\n * hours: 5,\n * minutes: 9,\n * seconds: 30\n * })\n * //=> Mon Sep 1 2014 10:19:50\n */\nexport default function sub(date, duration) {\n requiredArgs(2, arguments);\n if (!duration || _typeof(duration) !== 'object') return new Date(NaN);\n var years = duration.years ? toInteger(duration.years) : 0;\n var months = duration.months ? toInteger(duration.months) : 0;\n var weeks = duration.weeks ? toInteger(duration.weeks) : 0;\n var days = duration.days ? toInteger(duration.days) : 0;\n var hours = duration.hours ? toInteger(duration.hours) : 0;\n var minutes = duration.minutes ? toInteger(duration.minutes) : 0;\n var seconds = duration.seconds ? toInteger(duration.seconds) : 0;\n\n // Subtract years and months\n var dateWithoutMonths = subMonths(date, months + years * 12);\n\n // Subtract weeks and days\n var dateWithoutDays = subDays(dateWithoutMonths, days + weeks * 7);\n\n // Subtract hours, minutes and seconds\n var minutestoSub = minutes + hours * 60;\n var secondstoSub = seconds + minutestoSub * 60;\n var mstoSub = secondstoSub * 1000;\n var finalDate = new Date(dateWithoutDays.getTime() - mstoSub);\n return finalDate;\n}","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/quit\",\n function () {\n return require(\"private-next-pages/quit/index.page.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/quit\"])\n });\n }\n ","import { safeGet } from \"@/modules/utils/safe-get\";\nimport { type TypographyProps } from \"@/components/essentials/typography\";\nimport { type CheckboxProps } from \"./Checkbox\";\nimport { type CheckboxBreakPointSize, type CheckboxSize } from \"./type\";\n\ninterface CheckboxSizeValue {\n readonly iconSize: CheckboxProps[\"fontSize\"];\n readonly typographyVariant: Omit;\n}\nconst checkboxSize: Record = {\n sm: {\n iconSize: \"0.5rem\",\n typographyVariant: \"text4\",\n },\n md: {\n iconSize: \"0.75rem\",\n typographyVariant: \"text2\",\n },\n lg: {\n iconSize: \"1rem\",\n typographyVariant: \"text1\",\n },\n};\nconst switchCheckboxSize = (size: CheckboxSize): CheckboxSizeValue => {\n return safeGet(checkboxSize, size);\n};\n\nexport const injectCheckboxSize = (size: CheckboxSize | CheckboxBreakPointSize): CheckboxSizeValue => {\n if (typeof size === \"string\") {\n return switchCheckboxSize(size);\n } else {\n return {\n iconSize: {\n base: switchCheckboxSize(size.base).iconSize as string,\n sm: switchCheckboxSize(size.sm).iconSize as string,\n md: switchCheckboxSize(size.md).iconSize as string,\n lg: switchCheckboxSize(size.lg).iconSize as string,\n xl: switchCheckboxSize(size.xl).iconSize as string,\n \"2xl\": switchCheckboxSize(size[\"2xl\"]).iconSize as string,\n },\n typographyVariant: {\n base: switchCheckboxSize(size.base).typographyVariant,\n sm: switchCheckboxSize(size.sm).typographyVariant,\n md: switchCheckboxSize(size.md).typographyVariant,\n lg: switchCheckboxSize(size.lg).typographyVariant,\n xl: switchCheckboxSize(size.xl).typographyVariant,\n \"2xl\": switchCheckboxSize(size[\"2xl\"]).typographyVariant,\n },\n };\n }\n};\n","import { type AliasColors, type AliasColorScheme } from \"@/styles/themes/colors/alias\";\nimport { Checkbox as ChakraCheckbox, type CheckboxProps as ChakraCheckboxProps, Icon } from \"@chakra-ui/react\";\nimport { css } from \"@emotion/react\";\nimport { useMemo, type FC } from \"react\";\nimport { Typography, type TypographyProps } from \"@/components/essentials/typography\";\nimport { injectCheckboxSize } from \"./variant\";\nimport { FaCheck } from \"react-icons/fa\";\nimport { type CheckboxSize, type CheckboxBreakPointSize } from \"./type\";\nimport { checkboxTestId, checkboxTypographyTestId } from \"./const\";\nimport { type ColorPalettes } from \"@/styles/themes/colors/palettes\";\n\nexport interface CheckboxProps extends Omit {\n readonly colorScheme?: AliasColorScheme;\n readonly size?: CheckboxSize | CheckboxBreakPointSize;\n readonly textColor?: AliasColors | ColorPalettes;\n}\n\nexport const Checkbox: FC = ({\n children,\n colorScheme = \"primary\",\n size = {\n base: \"sm\",\n sm: \"md\",\n md: \"md\",\n lg: \"lg\",\n xl: \"lg\",\n \"2xl\": \"lg\",\n },\n textColor = \"gray.main\",\n ...rest\n}) => {\n const { iconSize, typographyVariant } = useMemo(() => injectCheckboxSize(size), [size]);\n\n return (\n }\n css={css`\n > span:first-of-type {\n box-shadow: unset;\n }\n `}\n data-testid={checkboxTestId}\n {...rest}\n >\n \n {children}\n \n \n );\n};\n","export * from \"./Checkbox\";\nexport * from \"./const\";\n","import { type FC } from \"react\";\nimport { Skeleton as ChakraSkeleton, type SkeletonProps as ChakraSkeleteonProps } from \"@chakra-ui/react\";\nimport { skeletonTestId } from \"./const\";\n\nexport type SkeletonProps = ChakraSkeleteonProps;\nexport const Skeleton: FC = (props) => {\n return ;\n};\n","import { Checkbox } from \"@/components/essentials/checkbox\";\nimport { css } from \"@emotion/react\";\nimport { Box, CheckboxGroup, Flex, Image } from \"@chakra-ui/react\";\nimport { type GraduateServiceDocuments } from \"./types\";\nimport { useController, useFormContext } from \"react-hook-form\";\nimport { type FC } from \"react\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { documentCheckboxFormTestId } from \"./const\";\n\nexport interface DocumentCheckboxFormProps {\n readonly documents: GraduateServiceDocuments[];\n readonly checkboxField?: string;\n readonly isDisabled?: boolean;\n}\n\nexport const DocumentCheckboxForm: FC = ({\n documents,\n checkboxField = \"documentCheckbox\",\n isDisabled = false,\n}) => {\n const { control } = useFormContext();\n\n const { field } = useController({\n name: checkboxField,\n control,\n // デフォルトチェックの場合は設定する\n // defaultValue: documents.map((document) => document.kind),\n });\n\n return (\n \n {documents.map((document, index) => {\n return (\n \n \n {document.image && (\n \n \"\"\n \n )}\n \n {document.title && {document.title}}\n {document.description && (\n \n {document.description}\n \n )}\n \n \n \n );\n })}\n \n );\n};\n","export * from \"./DocumentCheckboxForm\";\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","/** 退会申請中 */\nexport const FAMILY_CUSTOMER_STATUS_QUIT_APPLICATION_SUBMITTED = \"7f5741b7-71d6-451b-8446-0cd53473a360\";\n","// @ts-nocheck\nexport type Maybe = T | null;\nexport type InputMaybe = Maybe;\nexport type Exact = { [K in keyof T]: T[K] };\nexport type MakeOptional = Omit & { [SubKey in K]?: Maybe };\nexport type MakeMaybe = Omit & { [SubKey in K]: Maybe };\nexport type MakeEmpty = { [_ in K]?: never };\nexport type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n /** A date string with format `Y-m-d`, e.g. `2011-05-23`. */\n Date: { input: any; output: any; }\n /** A datetime string with format `Y-m-d H:i:s`, e.g. `2018-05-23 13:43:32`. */\n DateTime: { input: any; output: any; }\n /** uuid format. */\n UUID: { input: any; output: any; }\n};\n\nexport type AccountRole = {\n __typename?: 'AccountRole';\n id: Scalars['Int']['output'];\n name: Scalars['String']['output'];\n};\n\nexport type Address = {\n address1: Scalars['String']['input'];\n address2: Scalars['String']['input'];\n buildingName?: InputMaybe;\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n mail: Scalars['String']['input'];\n phoneNumber: Scalars['String']['input'];\n postalCode: Scalars['String']['input'];\n prefectureCode: Scalars['Int']['input'];\n};\n\nexport type Child = {\n birthDate: Scalars['String']['input'];\n sexCode: Scalars['Int']['input'];\n};\n\nexport type ContractedPlan = {\n __typename?: 'ContractedPlan';\n madrasContractedPlanUuid: Scalars['ID']['output'];\n roles: Array;\n};\n\nexport type CouponStatus = {\n __typename?: 'CouponStatus';\n name: Scalars['String']['output'];\n uuid: Scalars['String']['output'];\n};\n\nexport type CreateCustomerInput = {\n child: Child;\n customerAddress: Address;\n desiredDeliveryMethodTimeUuid?: InputMaybe;\n priceUuid: Scalars['String']['input'];\n promotionCode?: InputMaybe;\n shippingAddress: Address;\n specialNote?: InputMaybe;\n};\n\nexport type CreateCustomerSlotInput = {\n paymentServiceProvider: Scalars['String']['input'];\n};\n\nexport type CreateCustomerSlotResponse = {\n __typename?: 'CreateCustomerSlotResponse';\n clientSecret: Scalars['String']['output'];\n id: Scalars['String']['output'];\n};\n\nexport type CreateFamilyCustomerAddressInput = {\n address1: Scalars['String']['input'];\n address2: Scalars['String']['input'];\n buildingName?: InputMaybe;\n deliveryMethodTime?: InputMaybe;\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n pref: Scalars['String']['input'];\n tel: Scalars['String']['input'];\n zipCode: Scalars['String']['input'];\n};\n\nexport type Customer = {\n __typename?: 'Customer';\n madrasCustomerUuid: Scalars['ID']['output'];\n};\n\nexport type DeliveryMethodTime = {\n __typename?: 'DeliveryMethodTime';\n name: Scalars['String']['output'];\n uuid: Scalars['ID']['output'];\n};\n\nexport type Deposit = {\n __typename?: 'Deposit';\n cardInfoUpdateUrl?: Maybe;\n};\n\nexport type ExchangePreShippingInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=2063%3A23008 */\n shipmentToys: Array;\n};\n\nexport type ExchangePreShippingShipmentToyInput = {\n /**\n * Madras: shipment_toys.uuid, Figma: (none)\n * memo: toys.uuid にするか迷ったが、shipment_toys.uuid のほうが紐付け情報が多く今後の仕様変更に強いと考えた\n */\n shipmentToyUuid: Scalars['ID']['input'];\n /** Madras: (まだない), Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=2063%3A23008 */\n status: ShipmentToyCustomerPreShippingStatus;\n toyMakerName: Scalars['String']['input'];\n toyName: Scalars['String']['input'];\n};\n\nexport type FamilyAccount = {\n __typename?: 'FamilyAccount';\n contractedPlans: Array;\n /** 顧客としての情報 */\n customer: Customer;\n /** 契約者権限を持っているかどうか */\n isContractor: Scalars['Boolean']['output'];\n /** 二段階認証設定が有効かどうか */\n isMfaActive: Scalars['Boolean']['output'];\n /** 配送先権限を持っているかどうか */\n isReceiver: Scalars['Boolean']['output'];\n mail: Scalars['String']['output'];\n /** 紐付いている「おもちゃ買取クーポン」の一覧 */\n toyCoupons: Array;\n uuid: Scalars['ID']['output'];\n};\n\nexport type FamilyChild = {\n __typename?: 'FamilyChild';\n birthday?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type FamilyCustomer = {\n __typename?: 'FamilyCustomer';\n familyChildren?: Maybe>>;\n familyCustomerAddresses?: Maybe>;\n familyCustomerContractedPlans?: Maybe>;\n familyCustomerStatus?: Maybe;\n familyCustomerType?: Maybe;\n firstName?: Maybe;\n firstNameOfPronunciation?: Maybe;\n hasAnsweredSurvey?: Maybe;\n id?: Maybe;\n lastName?: Maybe;\n lastNameOfPronunciation?: Maybe;\n mail?: Maybe;\n primaryFamilyCustomerAddress?: Maybe;\n primaryFamilyCustomerBillingAddress?: Maybe;\n tel?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type FamilyCustomerAddress = {\n __typename?: 'FamilyCustomerAddress';\n address1?: Maybe;\n address2?: Maybe;\n buildingName?: Maybe;\n createdAt?: Maybe;\n deliveryMethodTime?: Maybe;\n familyCustomer?: Maybe;\n familyHouseType?: Maybe;\n firstName?: Maybe;\n firstNameOfPronunciation?: Maybe;\n isPrimary?: Maybe;\n lastName?: Maybe;\n lastNameOfPronunciation?: Maybe;\n mail?: Maybe;\n pref?: Maybe;\n tel?: Maybe;\n uuid: Scalars['ID']['output'];\n zipCode?: Maybe;\n};\n\nexport type FamilyCustomerAddressDeliveryMethodTimeInput = {\n uuid: Scalars['ID']['input'];\n};\n\nexport type FamilyCustomerAddressFamilyCustomerInput = {\n uuid: Scalars['ID']['input'];\n};\n\nexport type FamilyCustomerBillingAddress = {\n __typename?: 'FamilyCustomerBillingAddress';\n address1?: Maybe;\n address2?: Maybe;\n buildingName?: Maybe;\n familyCustomer?: Maybe;\n firstName?: Maybe;\n firstNameOfPronunciation?: Maybe;\n isPrimary?: Maybe;\n lastName?: Maybe;\n lastNameOfPronunciation?: Maybe;\n pref?: Maybe;\n tel?: Maybe;\n uuid: Scalars['ID']['output'];\n zipCode?: Maybe;\n};\n\nexport type FamilyCustomerContractedPlan = {\n __typename?: 'FamilyCustomerContractedPlan';\n contractedAt?: Maybe;\n familyChildren?: Maybe>>;\n familyCustomer?: Maybe;\n familyCustomerBillingAddress?: Maybe;\n isActive?: Maybe;\n paymentType?: Maybe;\n /** サブスクリプション。予約語と被るので適当に info と付けている */\n subscriptionInfo?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type FamilyCustomerStatus = {\n __typename?: 'FamilyCustomerStatus';\n name?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type FamilyCustomerType = {\n __typename?: 'FamilyCustomerType';\n name?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type FamilyHouseType = {\n __typename?: 'FamilyHouseType';\n name: Scalars['String']['output'];\n uuid: Scalars['ID']['output'];\n};\n\nexport type GenerateMfaActivateKeyResult = {\n __typename?: 'GenerateMfaActivateKeyResult';\n otpauthUri: Scalars['String']['output'];\n secretKey: Scalars['String']['output'];\n};\n\nexport enum GraduateServiceCompanies {\n /** \"ドラキッズ */\n Dorakid = 'DORAKID',\n /** \"ディズニー英会話 */\n Dwe = 'DWE',\n /** \"ミキハウス */\n Mikihouse = 'MIKIHOUSE',\n /** 天神 */\n Tao = 'TAO',\n /** ワンダーボックス */\n Wonderbox = 'WONDERBOX'\n}\n\n/** ヘルスチェックAPIのレスポンス */\nexport type Health = {\n __typename?: 'Health';\n /** Gitのコミットハッシュ(取得できない場合はnull) */\n hash?: Maybe;\n};\n\nexport type IndividualToy = {\n __typename?: 'IndividualToy';\n uuid: Scalars['ID']['output'];\n};\n\nexport type LeadChild = {\n birthday?: InputMaybe;\n};\n\nexport type LeadInput = {\n child?: InputMaybe;\n leadSource: LeadSource;\n mail: Scalars['String']['input'];\n promotionCode?: InputMaybe;\n};\n\nexport enum LeadSource {\n /** キャンペーンコードなしの通常申し込み */\n Basic = 'BASIC',\n /** キャンペーンコードありの申し込み */\n Campaign = 'CAMPAIGN',\n /** チャネルトーク */\n ChannelTalk = 'CHANNEL_TALK',\n /** おもちゃ診断 */\n ToyDiagnose = 'TOY_DIAGNOSE',\n /** Zoho Survey */\n ZohoSurvey = 'ZOHO_SURVEY'\n}\n\nexport type LivingEnvironment = {\n uuid: Scalars['String']['input'];\n value: Scalars['Boolean']['input'];\n};\n\nexport type LivingEnvironmentInput = {\n uuid: Scalars['String']['input'];\n value: Scalars['Boolean']['input'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n /** 二段階認証設定を有効化しリカバリーコードを取得する。パスワード検証 API 実行後の一定時間内を前提とする */\n activateMfa: Array;\n /** メールアドレス変更用のメールを送信する */\n applyChangeMail: Scalars['Boolean']['output'];\n /** 二段階認証を行う。サインイン API 実行後の一定時間内を前提とする */\n authorizeMfaCode: Scalars['Boolean']['output'];\n /** リカバリーコードでの認証を行う。使用したリカバリーコードは破棄される。サインイン API 実行後の一定時間内を前提とする */\n authorizeRecoveryCode: Scalars['Boolean']['output'];\n /** 申込み完了 */\n completePlanApplication: Scalars['Boolean']['output'];\n /** 顧客情報を設定する */\n createCustomer: Scalars['Boolean']['output'];\n /** 顧客を作成する(顧客情報は入力しない) */\n createCustomerSlot: CreateCustomerSlotResponse;\n /** お届先情報を新規作成し、規定のお届先住所に設定する */\n createFamilyCustomerAddress: Scalars['Boolean']['output'];\n createLead: Scalars['Boolean']['output'];\n /** 二段階認証設定を無効化する。既存のリカバリーコードは破棄される。パスワード検証 API 実行後の一定時間内を前提とする */\n deactivateMfa: Scalars['Boolean']['output'];\n /** お届先情報を削除する */\n deleteFamilyCustomerAddress: Scalars['Boolean']['output'];\n /** メールアドレスを変更する */\n doChangeMail: Scalars['Boolean']['output'];\n /** パスワードを変更する。パスワード検証 API 実行後の一定時間内を前提とする */\n doRenewPassword: Scalars['Boolean']['output'];\n /** パスワードをリセットする */\n doResetPassword: Scalars['Boolean']['output'];\n /** 交換申請を行い、キャッシュの一時保存内容も更新する。正常終了後、キャッシュの一時保存内容は論理削除する */\n exchangeInventory: Scalars['Boolean']['output'];\n /** 発送前交換申請をする */\n exchangePreShipping: Scalars['Boolean']['output'];\n /** 二段階認証設定のためのアクティベートキーを取得する。パスワード検証 API 実行後の一定時間内を前提とする */\n generateMfaActivateKey: GenerateMfaActivateKeyResult;\n /** 決済プラットフォームのカスタマーURLを発行する */\n generatePaymentCustomerPortalSession: Scalars['String']['output'];\n /** 手持ちおもちゃアンケートの回答を設定する */\n postQuestionnaire: Scalars['Boolean']['output'];\n /** 手持ちおもちゃアンケートの回答を設定する。サインインが必要 */\n postQuestionnaireWithSignIn: Scalars['Boolean']['output'];\n /** 退会申請を行う */\n postQuitApplication: Scalars['Boolean']['output'];\n /** 配送済のおもちゃを買い取る */\n purchaseShipmentToys: Scalars['Boolean']['output'];\n /** 二段階認証用のリカバリーコードを再生成し取得する。既存のリカバリーコードは破棄される。パスワード検証 API 実行後の一定時間内を前提とする */\n regenerateRecoveryCode: Array;\n /** 新規登録する */\n registerFamilyAccount: Scalars['Boolean']['output'];\n /** 新規登録用のメールを送信する */\n requestRegistrationMail: Scalars['Boolean']['output'];\n /** パスワード再設定用のメールを送信する */\n resetPassword: Scalars['Boolean']['output'];\n /** 退会顧客向けの資料送付 */\n sendGraduates: Scalars['Boolean']['output'];\n /** 二段階認証が設定されていない場合はサインインする。二段階認証が設定されている場合は「パスワード認証は済」の状態にするのみで、二段階認証を行うとサインインできる */\n signIn: SignInResult;\n /** サインアウトする */\n signOut: Scalars['Boolean']['output'];\n /** 交換申請フォームの入力内容をキャッシュに一時保存する */\n storeExchangeInventory: Scalars['Boolean']['output'];\n /** 請求先情報を更新し、規定の請求先情報に設定する */\n updateCustomerBillingInfo: Scalars['Boolean']['output'];\n /** お届先情報を更新し、規定のお届先住所に設定する */\n updateFamilyCustomerAddress: Scalars['Boolean']['output'];\n /** 既定の住所を設定する */\n updatePrimaryAddress: Scalars['Boolean']['output'];\n /** パスワードの検証を行い、一定時間一部 API (パスワード変更など)の実行を許容する */\n verifyPassword: Scalars['Boolean']['output'];\n};\n\n\nexport type MutationActivateMfaArgs = {\n mfaCode: Scalars['String']['input'];\n};\n\n\nexport type MutationApplyChangeMailArgs = {\n newMail: Scalars['String']['input'];\n};\n\n\nexport type MutationAuthorizeMfaCodeArgs = {\n mfaCode: Scalars['String']['input'];\n};\n\n\nexport type MutationAuthorizeRecoveryCodeArgs = {\n recoveryCode: Scalars['String']['input'];\n};\n\n\nexport type MutationCompletePlanApplicationArgs = {\n customerId: Scalars['String']['input'];\n};\n\n\nexport type MutationCreateCustomerArgs = {\n customerId: Scalars['String']['input'];\n input: CreateCustomerInput;\n};\n\n\nexport type MutationCreateCustomerSlotArgs = {\n input: CreateCustomerSlotInput;\n};\n\n\nexport type MutationCreateFamilyCustomerAddressArgs = {\n input: CreateFamilyCustomerAddressInput;\n};\n\n\nexport type MutationCreateLeadArgs = {\n input?: InputMaybe;\n};\n\n\nexport type MutationDeleteFamilyCustomerAddressArgs = {\n uuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationDoChangeMailArgs = {\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationDoRenewPasswordArgs = {\n newPassword: Scalars['String']['input'];\n};\n\n\nexport type MutationDoResetPasswordArgs = {\n newPassword: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationExchangeInventoryArgs = {\n input: ReturnInventoryInput;\n shipmentUuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationExchangePreShippingArgs = {\n input: ExchangePreShippingInput;\n shipmentUuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationGeneratePaymentCustomerPortalSessionArgs = {\n familyCustomerContractedPlanUuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationPostQuestionnaireArgs = {\n customerId: Scalars['String']['input'];\n input: PostQuestionnaireInput;\n};\n\n\nexport type MutationPostQuestionnaireWithSignInArgs = {\n input: PostQuestionnaireWithSignInInput;\n};\n\n\nexport type MutationPurchaseShipmentToysArgs = {\n input: PurchaseShipmentToysInput;\n};\n\n\nexport type MutationRegisterFamilyAccountArgs = {\n password: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationRequestRegistrationMailArgs = {\n mail: Scalars['String']['input'];\n};\n\n\nexport type MutationResetPasswordArgs = {\n mail: Scalars['String']['input'];\n};\n\n\nexport type MutationSendGraduatesArgs = {\n referralType?: InputMaybe;\n requestedDocs: Array>;\n};\n\n\nexport type MutationSignInArgs = {\n id: Scalars['String']['input'];\n password: Scalars['String']['input'];\n token: Scalars['String']['input'];\n};\n\n\nexport type MutationStoreExchangeInventoryArgs = {\n input: ReturnInventoryTemporaryInput;\n shipmentUuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationUpdateCustomerBillingInfoArgs = {\n input: UpdateCustomerBillingInfoInput;\n};\n\n\nexport type MutationUpdateFamilyCustomerAddressArgs = {\n input: UpdateFamilyCustomerAddressInput;\n uuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationUpdatePrimaryAddressArgs = {\n familyCustomerAddressUuid: Scalars['ID']['input'];\n};\n\n\nexport type MutationVerifyPasswordArgs = {\n password: Scalars['String']['input'];\n};\n\nexport enum OptionServiceType {\n /** 特急便 */\n ExpressDelivery = 'EXPRESS_DELIVERY',\n /** 特急便(無料版) */\n FreeExpressDelivery = 'FREE_EXPRESS_DELIVERY',\n /** おもちゃチェンジ(無料版) */\n FreeToyChange = 'FREE_TOY_CHANGE',\n /** おもちゃ1点追加 */\n OneAdditionalToy = 'ONE_ADDITIONAL_TOY',\n /** おもちゃチェンジ */\n ToyChange = 'TOY_CHANGE',\n /** 水遊びおもちゃ */\n WaterPlayToy = 'WATER_PLAY_TOY'\n}\n\nexport type PaymentType = {\n __typename?: 'PaymentType';\n uuid: Scalars['String']['output'];\n};\n\nexport type PlanPrice = {\n __typename?: 'PlanPrice';\n couponErrorReason?: Maybe;\n discountedPrice?: Maybe;\n id: Scalars['String']['output'];\n name: Scalars['String']['output'];\n price: Scalars['Int']['output'];\n subscriptionCoupon?: Maybe;\n};\n\nexport type PostQuestionnaireInput = {\n applicationChannel?: InputMaybe;\n childInterest?: InputMaybe;\n livingEnvironments?: InputMaybe>;\n otherToys?: InputMaybe;\n toys?: InputMaybe>;\n};\n\nexport type PostQuestionnaireWithSignInInput = {\n applicationChannel: Scalars['String']['input'];\n childInterest?: InputMaybe;\n livingEnvironments?: InputMaybe>;\n otherToys?: InputMaybe;\n toys?: InputMaybe>;\n};\n\nexport type PostQuestionnaireWithSignInLivingEnvironment = {\n uuid: Scalars['String']['input'];\n value: Scalars['Boolean']['input'];\n};\n\nexport type PurchaseShipmentToysInput = {\n familyCustomerCouponUuids?: InputMaybe>;\n shipmentToyUuids: Array;\n shipmentUuid: Scalars['String']['input'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n /** 配達指定時間帯の一覧を取得する */\n deliveryMethodTimes: Array;\n /** 入金に関しての情報を返す */\n deposit: Deposit;\n /** Madras にある顧客情報を返す */\n familyCustomer: FamilyCustomer;\n /** 資料送付可能な個社を取得する */\n graduateServiceCompanies: Array>;\n health: Health;\n /** 買取処理済みであるか */\n isPurchasedShipmentToys: Scalars['Boolean']['output'];\n /** Ortega にある顧客情報を返す */\n me: FamilyAccount;\n /** おもちゃのプラン情報を取得する */\n planPrice?: Maybe;\n /** 顧客のアンケート回答状況を取得する */\n questionnaire: QuestionnaireResponse;\n /** 退会申請関連の情報を取得する */\n quitApplication: QuitApplication;\n /** キャッシュに一時保存されている交換申請フォームの入力内容を取得する。取得できなかった場合は null を返す */\n restoreExchangeInventory?: Maybe;\n /** 発送を取得する */\n shipment?: Maybe;\n /** 指定された契約に紐づく発送を、発送日時の降順に全件返す。追加発送は親 Shipment の additionalShipments に付与される) */\n shipments: Array;\n /** 「新規登録用トークン」の有効性を検証する */\n verifyRegisterAccountToken: Scalars['Boolean']['output'];\n /** 「パスワードリセット用トークン」の有効性を検証する */\n verifyResetPasswordToken: Scalars['Boolean']['output'];\n};\n\n\nexport type QueryIsPurchasedShipmentToysArgs = {\n shipmentUuid: Scalars['ID']['input'];\n};\n\n\nexport type QueryPlanPriceArgs = {\n id: Scalars['UUID']['input'];\n promotionCode?: InputMaybe;\n};\n\n\nexport type QueryQuestionnaireArgs = {\n customerId: Scalars['String']['input'];\n};\n\n\nexport type QueryRestoreExchangeInventoryArgs = {\n shipmentUuid: Scalars['ID']['input'];\n};\n\n\nexport type QueryShipmentArgs = {\n uuid: Scalars['ID']['input'];\n};\n\n\nexport type QueryShipmentsArgs = {\n familyCustomerContractedPlanUuids?: InputMaybe>;\n filter?: InputMaybe;\n first?: InputMaybe;\n};\n\n\nexport type QueryVerifyRegisterAccountTokenArgs = {\n token: Scalars['String']['input'];\n};\n\n\nexport type QueryVerifyResetPasswordTokenArgs = {\n token: Scalars['String']['input'];\n};\n\nexport type QuestionnaireResponse = {\n __typename?: 'QuestionnaireResponse';\n ageOfChild?: Maybe;\n status: Scalars['String']['output'];\n};\n\nexport type QuitApplication = {\n __typename?: 'QuitApplication';\n /** 退会申請可能であるかどうかのステータス */\n applicableStatus: QuitApplicationApplicableStatus;\n /** 退会申請関連の契約情報を取得する */\n familyCustomerContractedPlan: QuitApplicationFamilyCustomerContractedPlan;\n};\n\nexport enum QuitApplicationApplicableStatus {\n /** イレギュラー */\n Irregular = 'IRREGULAR',\n /** 販促不可 */\n NotEligibleForPromotion = 'NOT_ELIGIBLE_FOR_PROMOTION',\n /** レギュラー */\n Regular = 'REGULAR'\n}\n\nexport type QuitApplicationFamilyCustomerContractedPlan = {\n __typename?: 'QuitApplicationFamilyCustomerContractedPlan';\n contractedAt: Scalars['DateTime']['output'];\n name: Scalars['String']['output'];\n nextBillingAt?: Maybe;\n returnExpiresDate?: Maybe;\n uuid: Scalars['String']['output'];\n};\n\nexport enum ReferralType {\n /** \"交換申請送客 */\n ExchangeToys = 'EXCHANGE_TOYS',\n /** \"卒業生送客 */\n Graduate = 'GRADUATE'\n}\n\nexport type ReturnInventoryInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-17223&mode=design&t=VyQNd7WBQTitGSBL-4 */\n optionServices?: InputMaybe>;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16786 */\n questionnaire: ReturnInventoryQuestionnaireInput;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16770 */\n requests: ReturnInventoryRequestInput;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16628 */\n returnShipments: Array;\n};\n\nexport type ReturnInventoryOptionServiceInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-16787&mode=design&t=8zJPh42sdIkficQW-4 */\n comment?: InputMaybe;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-17223&mode=design&t=8zJPh42sdIkficQW-4 */\n optionServiceType: OptionServiceType;\n};\n\nexport type ReturnInventoryOptionServiceTemporary = {\n __typename?: 'ReturnInventoryOptionServiceTemporary';\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-16787&mode=design&t=8zJPh42sdIkficQW-4 */\n comment?: Maybe;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-17223&mode=design&t=8zJPh42sdIkficQW-4 */\n optionServiceType?: Maybe;\n};\n\nexport type ReturnInventoryOptionServiceTemporaryInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-16787&mode=design&t=8zJPh42sdIkficQW-4 */\n comment?: InputMaybe;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-17223&mode=design&t=8zJPh42sdIkficQW-4 */\n optionServiceType?: InputMaybe;\n};\n\nexport type ReturnInventoryQuestionnaireInput = {\n /** Madras: shipment_evaluations.scores cleaner, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16848 */\n cleanliness: Scalars['Int']['input'];\n /** Madras: shipment_evaluations.plan, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16836 */\n planSatisfaction: Scalars['Int']['input'];\n /** Madras: shipment_evaluations.promoter, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16807 */\n recommendation: Scalars['Int']['input'];\n};\n\nexport type ReturnInventoryQuestionnaireTemporary = {\n __typename?: 'ReturnInventoryQuestionnaireTemporary';\n /** Madras: shipment_evaluations.scores cleaner, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16848 */\n cleanliness?: Maybe;\n /** Madras: shipment_evaluations.plan, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16836 */\n planSatisfaction?: Maybe;\n /** Madras: shipment_evaluations.promoter, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16807 */\n recommendation?: Maybe;\n};\n\nexport type ReturnInventoryQuestionnaireTemporaryInput = {\n /** Madras: shipment_evaluations.scores cleaner, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16848 */\n cleanliness?: InputMaybe;\n /** Madras: shipment_evaluations.plan, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16836 */\n planSatisfaction?: InputMaybe;\n /** Madras: shipment_evaluations.promoter, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16807 */\n recommendation?: InputMaybe;\n};\n\nexport type ReturnInventoryRequestInput = {\n /** Madras: shipments.comment_of_received, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16783 */\n opinionsAndRequests?: InputMaybe;\n /** Madras: shipments.child_interesting_of_received, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16778 */\n requests?: InputMaybe;\n};\n\nexport type ReturnInventoryRequestTemporary = {\n __typename?: 'ReturnInventoryRequestTemporary';\n /** Madras: shipments.comment_of_received, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16783 */\n opinionsAndRequests?: Maybe;\n /** Madras: shipments.child_interesting_of_received, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16778 */\n requests?: Maybe;\n};\n\nexport type ReturnInventoryRequestTemporaryInput = {\n /** Madras: shipments.comment_of_received, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16783 */\n opinionsAndRequests?: InputMaybe;\n /** Madras: shipments.child_interesting_of_received, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16778 */\n requests?: InputMaybe;\n};\n\nexport type ReturnInventoryTemporary = {\n __typename?: 'ReturnInventoryTemporary';\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-17223&mode=design&t=VyQNd7WBQTitGSBL-4 */\n optionServices?: Maybe>;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16786 */\n questionnaire: ReturnInventoryQuestionnaireTemporary;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16770 */\n requests: ReturnInventoryRequestTemporary;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16628 */\n returnShipments: Array;\n};\n\nexport type ReturnInventoryTemporaryInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?type=design&node-id=5516-17223&mode=design&t=VyQNd7WBQTitGSBL-4 */\n optionServices?: InputMaybe>;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16786 */\n questionnaire: ReturnInventoryQuestionnaireTemporaryInput;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16770 */\n requests: ReturnInventoryRequestTemporaryInput;\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16628 */\n returnShipments: Array>;\n};\n\nexport type ReturnShipmentInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16633 */\n returnToys: Array;\n /** Madras: shipments.uuid, Figma: (none) */\n shipmentUuid: Scalars['ID']['input'];\n};\n\nexport type ReturnShipmentTemporary = {\n __typename?: 'ReturnShipmentTemporary';\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16633 */\n returnToys: Array;\n /** Madras: shipments.uuid, Figma: (none) */\n shipmentUuid: Scalars['ID']['output'];\n};\n\nexport type ReturnShipmentTemporaryInput = {\n /** Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16633 */\n returnToys: Array>;\n /** Madras: shipments.uuid, Figma: (none) */\n shipmentUuid: Scalars['ID']['input'];\n};\n\nexport type ReturnToyInput = {\n /** Madras: shipment_toys.survey, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16682 */\n comment?: InputMaybe;\n /** Madras: shipment_toys.evaluation, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16678 */\n evaluation: Scalars['Int']['input'];\n /** Madras: shipment_toys.shipment_toy_status_id, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16667 */\n receiveStatus: ShipmentToyCustomerReceiveStatus;\n /** Madras: shipment_toys.uuid, Figma: (none) */\n shipmentToyUuid: Scalars['ID']['input'];\n};\n\nexport type ReturnToyTemporary = {\n __typename?: 'ReturnToyTemporary';\n /** Madras: shipment_toys.survey, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16682 */\n comment?: Maybe;\n /** Madras: shipment_toys.evaluation, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16678 */\n evaluation?: Maybe;\n /** Madras: shipment_toys.shipment_toy_status_id, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16667 */\n receiveStatus?: Maybe;\n /** Madras: shipment_toys.uuid, figma: (none) */\n shipmentToyUuid: Scalars['ID']['output'];\n};\n\nexport type ReturnToyTemporaryInput = {\n /** Madras: shipment_toys.survey, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16682 */\n comment?: InputMaybe;\n /** Madras: shipment_toys.evaluation, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16678 */\n evaluation?: InputMaybe;\n /** Madras: shipment_toys.shipment_toy_status_id, Figma: https://www.figma.com/file/GqGMRYe7i3et3ESdCoAlkr/mypage?node-id=1327%3A16667 */\n receiveStatus?: InputMaybe;\n /** Madras: shipment_toys.uuid, figma: (none) */\n shipmentToyUuid: Scalars['ID']['input'];\n};\n\n/** Input for the `messages` argument of `@rulesForArray`. */\nexport type RulesForArrayMessage = {\n /** Message to display if the rule fails, e.g. `\"Must be a valid email\"`. */\n message: Scalars['String']['input'];\n /** Name of the rule, e.g. `\"email\"`. */\n rule: Scalars['String']['input'];\n};\n\n/** Input for the `messages` argument of `@rules`. */\nexport type RulesMessage = {\n /** Message to display if the rule fails, e.g. `\"Must be a valid email\"`. */\n message: Scalars['String']['input'];\n /** Name of the rule, e.g. `\"email\"`. */\n rule: Scalars['String']['input'];\n};\n\nexport type Shipment = {\n __typename?: 'Shipment';\n /** この発送に関連付けられた追加発送 */\n additionalShipments: Array;\n applyReturnAt?: Maybe;\n canReturnInventory: Scalars['Boolean']['output'];\n commentOfReceived?: Maybe;\n createdAt?: Maybe;\n deliveryMethodTime?: Maybe;\n expiresAt?: Maybe;\n familyCustomerAddress?: Maybe;\n familyCustomerContractedPlan?: Maybe;\n id: Scalars['ID']['output'];\n isShipped?: Maybe;\n nextAvailableReturnInventoryDate?: Maybe;\n nextAvailableShippingDate?: Maybe;\n /** 保護者の方へ に表示する文言をOrtegaで生成する TODO: #764 将来的にはMadrasから文言を送ってもらいMadrassと文言を同期したい */\n noteOfPlanSheet: Array;\n parentShipment?: Maybe;\n planComment?: Maybe;\n planTitle?: Maybe;\n plannerMessage?: Maybe;\n relatedShipments: Array;\n /** 返却申請フォームのURLを返します。(返却申請が可能でない場合にも値が返ります) */\n returnApplicationFormUrl: Scalars['String']['output'];\n returnedAt?: Maybe;\n shipmentStatus?: Maybe;\n shipmentToys: Array;\n shipmentType?: Maybe;\n shippedAt?: Maybe;\n specifiedDeliveryDate?: Maybe;\n /** 発送前交換申請(チラ見せ)の有効期限日時。「顧客確認中」になる前(=チラ見せ開始前)は null を返す */\n toyExchangePreShippingExpirationDate?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type ShipmentFilterInput = {\n /** 発送日時(shippedAt)の入力有無 */\n isShippedAtFilled?: InputMaybe;\n /** 発送状態(ShipmentStatus) の UUID のリスト */\n statusUuids?: InputMaybe>;\n /** 発送種類(ShipmentType) の UUID のリスト */\n typeUuids?: InputMaybe>;\n};\n\nexport type ShipmentStatus = {\n __typename?: 'ShipmentStatus';\n name: Scalars['String']['output'];\n uuid: Scalars['ID']['output'];\n};\n\nexport type ShipmentToy = {\n __typename?: 'ShipmentToy';\n individualToy?: Maybe;\n shipmentToyCustomerReceiveStatus?: Maybe;\n shipmentToyStatus?: Maybe;\n toy: Toy;\n uuid: Scalars['ID']['output'];\n};\n\nexport enum ShipmentToyCustomerPreShippingStatus {\n /** すでに持っている */\n AlreadyHave = 'ALREADY_HAVE',\n /** \"このままでよい */\n GoodAsItIs = 'GOOD_AS_IT_IS'\n}\n\nexport enum ShipmentToyCustomerReceiveStatus {\n /** 継続 */\n Continuation = 'CONTINUATION',\n /** \"購入 */\n Purchase = 'PURCHASE',\n /** 返却 */\n Return = 'RETURN'\n}\n\nexport type ShipmentToyStatus = {\n __typename?: 'ShipmentToyStatus';\n name: Scalars['String']['output'];\n uuid: Scalars['ID']['output'];\n};\n\nexport type ShipmentType = {\n __typename?: 'ShipmentType';\n name: Scalars['String']['output'];\n uuid: Scalars['ID']['output'];\n};\n\nexport type Shipments = {\n __typename?: 'Shipments';\n familyCustomerContractedPlanUuid: Scalars['ID']['output'];\n shipments: Array;\n};\n\nexport enum SignInResult {\n /** サインイン失敗 ※現時点ではサインイン失敗時は errors で情報を返しているため使われない */\n Fail = 'FAIL',\n /** パスワード認証は成功したが二段階認証が必要 */\n RequireMfa = 'REQUIRE_MFA',\n /** サインイン成功 */\n Success = 'SUCCESS'\n}\n\nexport type SubscriptionCoupon = {\n __typename?: 'SubscriptionCoupon';\n discountAmount: Scalars['Int']['output'];\n duration: Scalars['String']['output'];\n durationInMonths?: Maybe;\n name: Scalars['String']['output'];\n};\n\nexport type SubscriptionInfo = {\n __typename?: 'SubscriptionInfo';\n description: Scalars['String']['output'];\n name: Scalars['String']['output'];\n price: Scalars['Int']['output'];\n uuid: Scalars['ID']['output'];\n};\n\n/** サムネイル画像のURLはルールに従ってOBで生成する(将来的にはサムネイル生成するMBからURLをもらいたい) */\nexport type ThumbnailImage = {\n __typename?: 'ThumbnailImage';\n pathFixed128: Scalars['String']['output'];\n pathFixed256: Scalars['String']['output'];\n pathFixed512: Scalars['String']['output'];\n pathFixed1280: Scalars['String']['output'];\n};\n\nexport type Toy = {\n __typename?: 'Toy';\n /** セット内容 */\n accessories?: Maybe;\n /** おもちゃ説明文 */\n commentOfPlanSheet?: Maybe;\n name: Scalars['String']['output'];\n nameOfPlanSheet?: Maybe;\n /** ご留意事項 Madrasから受信したnoteOfPlanSheetに、バッテリーに関する留意事項を加えてfrontに送る TODO: #764 将来的にはMadrasから文言を送ってもらいMadrassと文言を同期したい */\n noteOfPlanSheet: Array;\n secondHandsPrice?: Maybe;\n toyImages: Array;\n toyMaker?: Maybe;\n toyMakerNameOfPlanSheet?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type ToyCoupon = {\n __typename?: 'ToyCoupon';\n couponNumber: Scalars['String']['output'];\n couponStatus: CouponStatus;\n expiresAt?: Maybe;\n isCombinable: Scalars['Boolean']['output'];\n issuedAt: Scalars['String']['output'];\n price: Scalars['Int']['output'];\n usedAt?: Maybe;\n uuid: Scalars['String']['output'];\n};\n\nexport type ToyImage = {\n __typename?: 'ToyImage';\n path: Scalars['String']['output'];\n thumbnailImage: ThumbnailImage;\n uuid: Scalars['ID']['output'];\n};\n\nexport type ToyMaker = {\n __typename?: 'ToyMaker';\n comment?: Maybe;\n createdAt: Scalars['String']['output'];\n name: Scalars['String']['output'];\n nameOfPronunciation?: Maybe;\n updatedAt: Scalars['String']['output'];\n url?: Maybe;\n uuid: Scalars['ID']['output'];\n};\n\nexport type UpdateCustomerBillingInfoInput = {\n address1: Scalars['String']['input'];\n address2: Scalars['String']['input'];\n buildingName: Scalars['String']['input'];\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n pref: Scalars['String']['input'];\n tel: Scalars['String']['input'];\n zipCode: Scalars['String']['input'];\n};\n\nexport type UpdateFamilyCustomerAddressInput = {\n address1: Scalars['String']['input'];\n address2: Scalars['String']['input'];\n buildingName: Scalars['String']['input'];\n deliveryMethodTime?: InputMaybe;\n firstName: Scalars['String']['input'];\n lastName: Scalars['String']['input'];\n pref: Scalars['String']['input'];\n tel: Scalars['String']['input'];\n zipCode: Scalars['String']['input'];\n};\n\n\n export interface PossibleTypesResultData {\n possibleTypes: {\n [key: string]: string[]\n }\n }\n const result: PossibleTypesResultData = {\n \"possibleTypes\": {}\n};\n export default result;\n ","import { Toast } from \"@/components/essentials/toast\";\nimport { type ApolloError } from \"@apollo/client\";\nimport { type GraphQLError } from \"graphql/error\";\nimport { type GraphQLErrorCode } from \"@/apollo/error-code\";\nimport { type GraphQLSubErrorCode, NO_DETAILED_INFORMATION } from \"@/apollo/sub-error-code\";\nimport { isNonNullable } from \"@/modules/utils/predicate\";\nimport { type FC } from \"react\";\nimport { datadogLogs } from \"@datadog/browser-logs\";\nimport { graphQLErrorsTestId, networkErrorTestId } from \"./const\";\n\nexport interface ApolloErrorProps {\n readonly errors: ApolloError | undefined;\n readonly testid?: string;\n}\n\nconst defaultMessageKey = \"_\";\ntype DefaultMessage = typeof defaultMessageKey;\nconst convertDefaultSubCode = (subCode: string): string =>\n subCode === NO_DETAILED_INFORMATION ? defaultMessageKey : subCode;\n\nexport const constGraphQLErrorMessage = {\n GRAPHQL_PARSE_FAILED: \"エラーが発生しました。\",\n GRAPHQL_VALIDATION_FAILED: \"入力内容に不備があります。\",\n BAD_USER_INPUT: {\n INVALID_TOKEN: null,\n INVALID_PASSWORD_INPUT:\n \"パスワードの強度に問題があります。メールアドレスに類似する文字列がパスワードに含まれている可能性があります。\",\n _: \"入力内容に不備があります。\",\n MFA_INCORRECT_CODE: \"二段階認証コードが無効であるか、期限が切れています。\",\n MFA_VERIFY_PASSWORD_EXPIRED: \"パスワード認証の期限が切れています。\",\n INVALID_RECOVERY_CODE: \"リカバリコードが無効であるか、利用済みです。\",\n },\n UNAUTHENTICATED: {\n FAILED_TO_SIGN_IN: \"サインインに失敗しました。\",\n LOCKED:\n \"試行回数が上限を超えました。ユーザー保護のため、現在サインイン又は新規登録をすることはできません。しばらくしてからもう一度お試しください。\",\n },\n FORBIDDEN: {\n MFA_ALREADY_REGISTERED: \"既に二段階認証はオンです。\",\n MFA_LOCKED:\n \"試行回数が上限を超えました。ユーザー保護のため、現在サインイン又は新規登録をすることはできません。しばらくしてからもう一度お試しください。\",\n _: \"ご利用にはサインインが必要です。\",\n },\n PERSISTED_QUERY_NOT_FOUND: \"エラーが発生しました。\",\n PERSISTED_QUERY_NOT_SUPPORTED: \"エラーが発生しました。\",\n INTERNAL_SERVER_ERROR: \"エラーが発生しました。\",\n NOT_FOUND: \"エラーが発生しました。\",\n} as const;\n\n// to type check\nexport const GraphQLErrorMessage: Record<\n GraphQLErrorCode,\n string | Partial>\n> = constGraphQLErrorMessage;\n\n// to accept other string\ntype AcceptAnyCode = Record>;\nexport const ErrorMessage: AcceptAnyCode = GraphQLErrorMessage;\n\nexport const OTHER_ERROR = \"予期せぬエラーが発生しました。\";\n\nexport const NETWORK_ERROR = \"ネットワークエラーが発生しました。\";\n\nexport const getErrorMessage = ({ extensions: { code, subCode } }: GraphQLError): string | null => {\n if (typeof code !== \"string\") {\n datadogLogs.logger.warn(\"unreachable code: the code is unexpected type at getErrorMessage\", {\n typeofCode: typeof code,\n });\n return OTHER_ERROR;\n }\n\n const messageOrRecord = ErrorMessage[code];\n\n if (messageOrRecord === undefined) {\n datadogLogs.logger.warn(\"unreachable code: the code is not defined at getErrorMessage\", {\n code,\n });\n return OTHER_ERROR;\n }\n\n // return message for code\n // biome-ignore lint/style/useBlockStatements :[AUTOMATICALLY-INSERTED] Block statements are preferred in this position.\n if (typeof messageOrRecord === \"string\") return messageOrRecord;\n\n if (typeof subCode !== \"string\") {\n datadogLogs.logger.warn(\"unreachable code: the sub code is unexpected type at getErrorMessage\", {\n subCode,\n });\n return OTHER_ERROR;\n }\n\n const messageOrNull = messageOrRecord[convertDefaultSubCode(subCode)];\n\n if (messageOrNull === undefined) {\n datadogLogs.logger.warn(\"unreachable code: the sub code not defined at getErrorMessage\", {\n subCode,\n });\n return OTHER_ERROR;\n }\n\n // message or null for the sub code\n return messageOrNull;\n\n /* eslint-enable security/detect-object-injection */\n};\n\nexport const ApolloErrorToast: FC = (props) => {\n const { errors } = props;\n if (errors === undefined) {\n return null;\n }\n\n const { graphQLErrors, networkError } = errors;\n\n if (networkError !== null) {\n datadogLogs.logger.error(\n `Network Error: errorMessage=${networkError.message} errorDetail=${JSON.stringify(networkError)}`,\n );\n\n return (\n \n {NETWORK_ERROR}\n \n );\n }\n\n const shouldRenderErrorMessages = graphQLErrors.map(getErrorMessage).filter(isNonNullable);\n\n // biome-ignore lint/style/useBlockStatements :[AUTOMATICALLY-INSERTED] Block statements are preferred in this position.\n if (shouldRenderErrorMessages.length === 0) return null;\n\n return (\n
\n {shouldRenderErrorMessages.map((message, index) => (\n \n {message}\n \n ))}\n
\n );\n};\n","export * from \"./ApolloError\";\n","import { useToast } from \"@/components/essentials/toast\";\nimport { ApolloErrorToast } from \"@/components/fragments/apollo/error\";\nimport { type ApolloError } from \"@apollo/client\";\nimport { useEffect } from \"react\";\n\ninterface Option {\n testid?: string;\n}\n\nexport const useApolloError = (apolloError: ApolloError | undefined, option?: Option): void => {\n const toast = useToast();\n\n const testid = option?.testid;\n useEffect(() => {\n if (apolloError !== undefined && !toast.isActive(apolloError.message)) {\n toast({\n id: apolloError.message,\n render: () => ,\n });\n }\n }, [apolloError, testid, toast]);\n};\n","export * from \"./useApolloError\";\n","import copyToClipboard from \"copy-to-clipboard\";\n\n// copy-to-clipboard が mock とか spyOn しづらいからラップする\n// module.exports = copy とかどう mock すればいいのプンってなった\nexport const copy = copyToClipboard;\n","import { type GraduateServiceDocuments } from \"@/components/fragments/forms/document-checkbox-form/types\";\nimport { GraduateServiceCompanies } from \"@/gql/generated/graphql.gen\";\n\nexport const confirmScreenTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen\";\nexport const confirmScreenTitleTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen-Title\";\nexport const confirmScreenDescriptionTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen-Description\";\nexport const confirmScreenDocumentsTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen-Documents\";\nexport const confirmScreenDocumentsTitleTestId =\n \"pages/quit/__components__/confirm-screen/ConfirmScreen-DocumentsTitle\";\nexport const confirmScreenDocumentsDescriptionTestId =\n \"pages/quit/__components__/confirm-screen/ConfirmScreen-DocumentsDescription\";\n\nexport const confirmScreenReturnExpiresDateDescriptionTestId =\n \"pages/quit/__components__/confirm-screen/ConfirmScreen-returnExpiresDateDescription\";\nexport const confirmScreenReturnExpiresDateTestId =\n \"pages/quit/__components__/confirm-screen/ConfirmScreen-returnExpiresDate\";\nexport const confirmScreenNoticeTextTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen-noticeText\";\nexport const confirmScreenCheckboxTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen-checkbox\";\nexport const confirmScreenSubmitButtonTestId = \"pages/quit/__components__/confirm-screen/ConfirmScreen-submitButton\";\n\nexport const graduateServiceDocuments: GraduateServiceDocuments[] = [\n {\n kind: GraduateServiceCompanies.Dwe,\n image: \"/images/document_dwe.jpg\",\n title: \"【0-4歳のパパママ必見】ディズニー英語システムの無料サンプル\",\n description:\n \"史上初!6年連続「マザーズセレクション大賞」受賞!\\n※一般社団法人 日本マザーズ協会主催\\n「マザーズセレクション大賞」(2019年〜2024年連続受賞)\",\n },\n {\n kind: GraduateServiceCompanies.Tao,\n image: \"/images/document_tao.jpg\",\n title: \"テレビ番組で話題!0歳~6歳の内容が学べる【天神】\",\n description:\n \"5系統60ジャンル以上収録。乳幼児期のインプットからお受験レベルのアウトプットまで対応の本格タブレット教材\",\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 GetMePagesQuitQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type GetMePagesQuitQuery = { __typename?: 'Query', me: { __typename?: 'FamilyAccount', isContractor: boolean } };\n\n\nexport const GetMePagesQuitDocument = gql`\n query getMePagesQuit {\n me {\n isContractor\n }\n}\n `;\n\n/**\n * __useGetMePagesQuitQuery__\n *\n * To run a query within a React component, call `useGetMePagesQuitQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMePagesQuitQuery` 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 } = useGetMePagesQuitQuery({\n * variables: {\n * },\n * });\n */\nexport function useGetMePagesQuitQuery(baseOptions?: Apollo.QueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useQuery(GetMePagesQuitDocument, options);\n }\nexport function useGetMePagesQuitLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useLazyQuery(GetMePagesQuitDocument, options);\n }\nexport function useGetMePagesQuitSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions) {\n const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return Apollo.useSuspenseQuery(GetMePagesQuitDocument, options);\n }\nexport type GetMePagesQuitQueryHookResult = ReturnType;\nexport type GetMePagesQuitLazyQueryHookResult = ReturnType;\nexport type GetMePagesQuitSuspenseQueryHookResult = ReturnType;\nexport type GetMePagesQuitQueryResult = Apollo.QueryResult;","// @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 GetFamilyCustomerPageQuitQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type GetFamilyCustomerPageQuitQuery = { __typename?: 'Query', familyCustomer: { __typename?: 'FamilyCustomer', uuid: string, familyCustomerStatus?: { __typename?: 'FamilyCustomerStatus', uuid: string, name?: string | null } | null, familyCustomerContractedPlans?: Array<{ __typename?: 'FamilyCustomerContractedPlan', uuid: string, contractedAt?: string | null, isActive?: boolean | null, subscriptionInfo?: { __typename?: 'SubscriptionInfo', name: string } | null }> | null } };\n\n\nexport const GetFamilyCustomerPageQuitDocument = gql`\n query getFamilyCustomerPageQuit {\n familyCustomer {\n uuid\n familyCustomerStatus {\n uuid\n name\n }\n familyCustomerContractedPlans {\n uuid\n contractedAt\n isActive\n subscriptionInfo {\n name\n }\n }\n }\n}\n `;\n\n/**\n * __useGetFamilyCustomerPageQuitQuery__\n *\n * To run a query within a React component, call `useGetFamilyCustomerPageQuitQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetFamilyCustomerPageQuitQuery` 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 } = useGetFamilyCustomerPageQuitQuery({\n * variables: {\n * },\n * });\n */\nexport function useGetFamilyCustomerPageQuitQuery(baseOptions?: Apollo.QueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useQuery(GetFamilyCustomerPageQuitDocument, options);\n }\nexport function useGetFamilyCustomerPageQuitLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useLazyQuery(GetFamilyCustomerPageQuitDocument, options);\n }\nexport function useGetFamilyCustomerPageQuitSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions) {\n const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return Apollo.useSuspenseQuery(GetFamilyCustomerPageQuitDocument, options);\n }\nexport type GetFamilyCustomerPageQuitQueryHookResult = ReturnType;\nexport type GetFamilyCustomerPageQuitLazyQueryHookResult = ReturnType;\nexport type GetFamilyCustomerPageQuitSuspenseQueryHookResult = ReturnType;\nexport type GetFamilyCustomerPageQuitQueryResult = Apollo.QueryResult;","// @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 GetQuitApplicationPagesQuitQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type GetQuitApplicationPagesQuitQuery = { __typename?: 'Query', quitApplication: { __typename?: 'QuitApplication', applicableStatus: Types.QuitApplicationApplicableStatus, familyCustomerContractedPlan: { __typename?: 'QuitApplicationFamilyCustomerContractedPlan', contractedAt: any, name: string, nextBillingAt?: any | null, returnExpiresDate?: any | null, uuid: string } } };\n\n\nexport const GetQuitApplicationPagesQuitDocument = gql`\n query getQuitApplicationPagesQuit {\n quitApplication {\n applicableStatus\n familyCustomerContractedPlan {\n contractedAt\n name\n nextBillingAt\n returnExpiresDate\n uuid\n }\n }\n}\n `;\n\n/**\n * __useGetQuitApplicationPagesQuitQuery__\n *\n * To run a query within a React component, call `useGetQuitApplicationPagesQuitQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetQuitApplicationPagesQuitQuery` 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 } = useGetQuitApplicationPagesQuitQuery({\n * variables: {\n * },\n * });\n */\nexport function useGetQuitApplicationPagesQuitQuery(baseOptions?: Apollo.QueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useQuery(GetQuitApplicationPagesQuitDocument, options);\n }\nexport function useGetQuitApplicationPagesQuitLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useLazyQuery(GetQuitApplicationPagesQuitDocument, options);\n }\nexport function useGetQuitApplicationPagesQuitSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions) {\n const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return Apollo.useSuspenseQuery(GetQuitApplicationPagesQuitDocument, options);\n }\nexport type GetQuitApplicationPagesQuitQueryHookResult = ReturnType;\nexport type GetQuitApplicationPagesQuitLazyQueryHookResult = ReturnType;\nexport type GetQuitApplicationPagesQuitSuspenseQueryHookResult = ReturnType;\nexport type GetQuitApplicationPagesQuitQueryResult = Apollo.QueryResult;","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\";\n\nexport interface PlanDataTableProps {\n readonly planName: string | undefined;\n readonly contractedAt: string | undefined;\n readonly nextBillingAt: string | undefined;\n}\n\nexport const PlanDataTable: FC = memo(({ planName, contractedAt, nextBillingAt }) => {\n const planKeyValueData: KeyValue[] = [\n {\n key: \"プラン名\",\n value: planName,\n },\n {\n key: \"契約日\",\n value: contractedAt,\n },\n {\n key: \"次回課金日\",\n value: nextBillingAt,\n },\n ];\n\n return (\n \n \n ご契約中のプラン\n \n \n \n );\n});\n\nPlanDataTable.displayName = \"PlanDataTable\";\n","import { Box } from \"@/components/essentials/box/Box\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Button } from \"@/components/essentials/button/Button\";\nimport Link from \"next/link\";\nimport { pagesPath } from \"@/pathpida/generated/$path\";\nimport { PlanDataTable } from \"@/pages/quit/__components__/plan-data-table/PlanDataTable\";\nimport { type GetQuitApplicationPagesQuitQuery } from \"@/pages/quit/__gql__/get-quit-application.gen\";\nimport { useState, type FC, useMemo } from \"react\";\nimport { format, parse, sub } from \"date-fns\";\nimport {\n confirmScreenCheckboxTestId,\n confirmScreenDescriptionTestId,\n confirmScreenDocumentsDescriptionTestId,\n confirmScreenDocumentsTestId,\n confirmScreenDocumentsTitleTestId,\n confirmScreenReturnExpiresDateTestId,\n confirmScreenSubmitButtonTestId,\n confirmScreenTestId,\n confirmScreenTitleTestId,\n graduateServiceDocuments,\n} from \"./const\";\nimport { formatAsiaTokyoDateToString, isValidDate } from \"@/modules/utils/date\";\nimport { Checkbox } from \"@/components/essentials/checkbox\";\nimport { DocumentCheckboxForm } from \"@/components/fragments/forms/document-checkbox-form\";\nimport { type SelectDocuments } from \"@/pages/quit/types\";\nimport { FormProvider, useForm } from \"react-hook-form\";\nimport { type GetGraduateServiceCompaniesQuery } from \"@/pages/quit/__gql__/get-graduate-service-companies.gen\";\nimport { type GraduateServiceDocuments } from \"@/components/fragments/forms/document-checkbox-form/types\";\n\nexport interface ConfirmScreenProps {\n readonly familyCustomerContractedPlan:\n | GetQuitApplicationPagesQuitQuery[\"quitApplication\"][\"familyCustomerContractedPlan\"]\n | undefined;\n readonly onSubmit: (selectDocuments: SelectDocuments) => void;\n readonly isSubmitting: boolean;\n readonly graduateServiceCompanies: GetGraduateServiceCompaniesQuery[\"graduateServiceCompanies\"] | undefined;\n}\n\nexport const ConfirmScreen: FC = ({\n familyCustomerContractedPlan,\n onSubmit,\n isSubmitting,\n graduateServiceCompanies,\n}) => {\n const [isCheck, setIsCheck] = useState(false);\n\n const methods = useForm({\n mode: \"all\",\n });\n const { getValues } = methods;\n\n const nextBillingAtDate: Date | undefined = isValidDate(\n familyCustomerContractedPlan?.nextBillingAt,\n \"yyyy-MM-dd HH:mm:ss\",\n )\n ? parse(familyCustomerContractedPlan?.nextBillingAt, \"yyyy-MM-dd HH:mm:ss\", new Date())\n : undefined;\n\n const documents: GraduateServiceDocuments[] | null = useMemo(() => {\n return graduateServiceCompanies\n ? graduateServiceDocuments.filter((document) => graduateServiceCompanies.includes(document.kind))\n : null;\n }, [graduateServiceCompanies]);\n\n return (\n <>\n \n
\n \n \n 退会の最終確認\n \n \n 退会に関するご注意事項を必ずご確認ください。\n
\n ご確認後、同意ボックスにチェックを入れて退会の申請を行ってください。\n \n
\n\n \n \n \n\n {documents && documents.length > 0 && (\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 \n 以下の返却期日までに、おもちゃの返却をお願いいたします。\n \n \n ■おもちゃの返却期限\n
\n {nextBillingAtDate ? (\n \n {format(sub(nextBillingAtDate, { days: 1 }), \"M月d日\")}\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\n \n {\n setIsCheck(e.target.checked);\n }}\n data-testid={confirmScreenCheckboxTestId}\n >\n 上記の注意事項を理解の上、同意する\n \n \n\n \n {\n const selectDocuments: SelectDocuments = getValues();\n onSubmit(selectDocuments);\n }}\n isDisabled={!isCheck || isSubmitting}\n isLoading={isSubmitting}\n data-testid={confirmScreenSubmitButtonTestId}\n >\n 退会を申請する\n \n\n \n \n
\n
\n \n );\n};\n","import { Box } from \"@/components/essentials/box/Box\";\nimport { type NextPage } from \"next\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Button } from \"@/components/essentials/button/Button\";\nimport Link from \"next/link\";\nimport { pagesPath } from \"@/pathpida/generated/$path\";\nimport { successScreenDescriptionTestId, successScreenTestId, successScreenTitleTestId } from \"./const\";\n\nexport const SuccessScreen: NextPage = () => {\n return (\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};\n","import { Box } from \"@/components/essentials/box\";\nimport Link from \"next/link\";\nimport { type FC } from \"react\";\nimport { Flex, Image } from \"@chakra-ui/react\";\nimport { toysubCSQuitApplicationUrl } from \"@/configs/externalUrls\";\nimport error01 from \"~/assets/images/error-01.svg\";\nimport { invalidTestId } from \"./const\";\nimport { Typography } from \"@/components/essentials/typography\";\nimport { Button } from \"@/components/essentials/button\";\n\nexport const InvalidScreen: FC = () => (\n \n \n \"toybox\"\n \n \n \n ページを表示できませんでした。\n \n\n \n 退会を希望される場合は、お問い合わせ下さい。\n \n \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 PostQuitApplicationPagesQuitMutationVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type PostQuitApplicationPagesQuitMutation = { __typename?: 'Mutation', postQuitApplication: boolean };\n\n\nexport const PostQuitApplicationPagesQuitDocument = gql`\n mutation postQuitApplicationPagesQuit {\n postQuitApplication\n}\n `;\nexport type PostQuitApplicationPagesQuitMutationFn = Apollo.MutationFunction;\n\n/**\n * __usePostQuitApplicationPagesQuitMutation__\n *\n * To run a mutation, you first call `usePostQuitApplicationPagesQuitMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `usePostQuitApplicationPagesQuitMutation` 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 [postQuitApplicationPagesQuitMutation, { data, loading, error }] = usePostQuitApplicationPagesQuitMutation({\n * variables: {\n * },\n * });\n */\nexport function usePostQuitApplicationPagesQuitMutation(baseOptions?: Apollo.MutationHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useMutation(PostQuitApplicationPagesQuitDocument, options);\n }\nexport type PostQuitApplicationPagesQuitMutationHookResult = ReturnType;\nexport type PostQuitApplicationPagesQuitMutationResult = Apollo.MutationResult;\nexport type PostQuitApplicationPagesQuitMutationOptions = Apollo.BaseMutationOptions;","// @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 SendGraduatesPagesQuitMutationVariables = Types.Exact<{\n requestedDocs: Array> | Types.InputMaybe;\n referralType?: Types.InputMaybe;\n}>;\n\n\nexport type SendGraduatesPagesQuitMutation = { __typename?: 'Mutation', sendGraduates: boolean };\n\n\nexport const SendGraduatesPagesQuitDocument = gql`\n mutation SendGraduatesPagesQuit($requestedDocs: [GraduateServiceCompanies]!, $referralType: ReferralType) {\n sendGraduates(requestedDocs: $requestedDocs, referralType: $referralType)\n}\n `;\nexport type SendGraduatesPagesQuitMutationFn = Apollo.MutationFunction;\n\n/**\n * __useSendGraduatesPagesQuitMutation__\n *\n * To run a mutation, you first call `useSendGraduatesPagesQuitMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useSendGraduatesPagesQuitMutation` 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 [sendGraduatesPagesQuitMutation, { data, loading, error }] = useSendGraduatesPagesQuitMutation({\n * variables: {\n * requestedDocs: // value for 'requestedDocs'\n * referralType: // value for 'referralType'\n * },\n * });\n */\nexport function useSendGraduatesPagesQuitMutation(baseOptions?: Apollo.MutationHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useMutation(SendGraduatesPagesQuitDocument, options);\n }\nexport type SendGraduatesPagesQuitMutationHookResult = ReturnType;\nexport type SendGraduatesPagesQuitMutationResult = Apollo.MutationResult;\nexport type SendGraduatesPagesQuitMutationOptions = Apollo.BaseMutationOptions;","// @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 GetGraduateServiceCompaniesQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type GetGraduateServiceCompaniesQuery = { __typename?: 'Query', graduateServiceCompanies: Array };\n\n\nexport const GetGraduateServiceCompaniesDocument = gql`\n query getGraduateServiceCompanies {\n graduateServiceCompanies\n}\n `;\n\n/**\n * __useGetGraduateServiceCompaniesQuery__\n *\n * To run a query within a React component, call `useGetGraduateServiceCompaniesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetGraduateServiceCompaniesQuery` 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 } = useGetGraduateServiceCompaniesQuery({\n * variables: {\n * },\n * });\n */\nexport function useGetGraduateServiceCompaniesQuery(baseOptions?: Apollo.QueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useQuery(GetGraduateServiceCompaniesDocument, options);\n }\nexport function useGetGraduateServiceCompaniesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) {\n const options = {...defaultOptions, ...baseOptions}\n return Apollo.useLazyQuery(GetGraduateServiceCompaniesDocument, options);\n }\nexport function useGetGraduateServiceCompaniesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions) {\n const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return Apollo.useSuspenseQuery(GetGraduateServiceCompaniesDocument, options);\n }\nexport type GetGraduateServiceCompaniesQueryHookResult = ReturnType;\nexport type GetGraduateServiceCompaniesLazyQueryHookResult = ReturnType;\nexport type GetGraduateServiceCompaniesSuspenseQueryHookResult = ReturnType;\nexport type GetGraduateServiceCompaniesQueryResult = Apollo.QueryResult;","import { AuthedLayout } from \"@/layouts\";\nimport { type NextPage } from \"next\";\n// biome-ignore lint/correctness/noUnusedImports :[AUTOMATICALLY-INSERTED] This import is unused.\nimport React, { useCallback, useMemo, useState } from \"react\";\nimport { NextSeo } from \"next-seo\";\nimport { useGetMePagesQuitQuery } from \"./__gql__/get-me.gen\";\nimport { useGetFamilyCustomerPageQuitQuery } from \"./__gql__/get-family-customer.gen\";\nimport { useGetQuitApplicationPagesQuitQuery } from \"./__gql__/get-quit-application.gen\";\nimport { QuitApplicationApplicableStatus, ReferralType } from \"@/gql/generated/graphql.gen\";\nimport { Skeleton } from \"@/components/fragments/apollo/loader/skeleton/Skeleton\";\nimport { Center } from \"@chakra-ui/react\";\nimport { ConfirmScreen } from \"./__components__/confirm-screen/ConfirmScreen\";\nimport { SuccessScreen } from \"./__components__/success-screen/SuccessScreen\";\nimport { InvalidScreen } from \"./__components__/invalid-screen/InvalidScreen\";\nimport { usePostQuitApplicationPagesQuitMutation } from \"./__gql__/post-quit-application.gen\";\nimport { useApolloError } from \"@/hooks/useApolloError\";\nimport { FAMILY_CUSTOMER_STATUS_QUIT_APPLICATION_SUBMITTED } from \"@/configs/uuids/family-customer-status/familyCustomerStatus\";\nimport { useSendGraduatesPagesQuitMutation } from \"./__gql__/send-graduates.gen\";\nimport { datadogLogs } from \"@datadog/browser-logs\";\nimport { type SelectDocuments } from \"./types\";\nimport { useGetGraduateServiceCompaniesQuery } from \"./__gql__/get-graduate-service-companies.gen\";\n\nconst QuitPage: NextPage = () => {\n const resultFamilyCustomerQuery = useGetFamilyCustomerPageQuitQuery();\n const resultMeQuery = useGetMePagesQuitQuery();\n\n const isNeedDetailedQuitApplicableCheck = useMemo(() => {\n return !(\n resultMeQuery.data?.me.isContractor === false ||\n resultFamilyCustomerQuery.data?.familyCustomer.familyCustomerStatus?.uuid ===\n FAMILY_CUSTOMER_STATUS_QUIT_APPLICATION_SUBMITTED ||\n !resultFamilyCustomerQuery.data?.familyCustomer.familyCustomerContractedPlans ||\n resultFamilyCustomerQuery.data.familyCustomer.familyCustomerContractedPlans.filter(\n (familyCustomerContractedPlan) => familyCustomerContractedPlan.isActive,\n ).length >= 2\n );\n }, [resultFamilyCustomerQuery.data, resultMeQuery.data]);\n\n const resultQuitApplicationQuery = useGetQuitApplicationPagesQuitQuery({\n skip: !isNeedDetailedQuitApplicableCheck,\n });\n\n const resultGraduateServiceCompaniesQuery = useGetGraduateServiceCompaniesQuery({\n skip: !isNeedDetailedQuitApplicableCheck,\n });\n\n const [isSuccess, setIsSuccess] = useState(false);\n const [isSubmitting, setIsSubmitting] = useState(false);\n\n const isQuitApplicable: boolean | undefined = useMemo(() => {\n // biome-ignore lint/style/useBlockStatements :[AUTOMATICALLY-INSERTED] Block statements are preferred in this position.\n if (!resultMeQuery.data || !resultQuitApplicationQuery.data) return undefined;\n\n return (\n !!resultMeQuery.data.me.isContractor &&\n resultQuitApplicationQuery.data.quitApplication.applicableStatus === QuitApplicationApplicableStatus.Regular\n );\n }, [resultMeQuery.data, resultQuitApplicationQuery.data]);\n\n const isQuitApplicationSubmitted = useMemo(\n () =>\n resultFamilyCustomerQuery.data?.familyCustomer.familyCustomerStatus?.uuid ===\n FAMILY_CUSTOMER_STATUS_QUIT_APPLICATION_SUBMITTED,\n [resultFamilyCustomerQuery.data?.familyCustomer],\n );\n\n const [postQuitApplicationMutation, resultPostQuitApplicationMutation] = usePostQuitApplicationPagesQuitMutation();\n const [sendGraduatesPagesQuitMutation] = useSendGraduatesPagesQuitMutation();\n\n const onSubmit = useCallback(\n async (selectDocuments: SelectDocuments) => {\n setIsSubmitting(true);\n await postQuitApplicationMutation().then(async ({ data }) => {\n if (data?.postQuitApplication === true) {\n window.scrollTo(0, 0);\n\n setIsSuccess(true);\n\n if (selectDocuments.documents) {\n // エラーが発生した場合、datadog への通知だけして、続行\n await sendGraduatesPagesQuitMutation({\n variables: {\n requestedDocs: selectDocuments.documents,\n referralType: ReferralType.Graduate,\n },\n }).catch((error) => {\n datadogLogs.logger.error(`Send graduates is Failed, errorDetail = ${JSON.stringify(error)}`);\n });\n }\n }\n });\n setIsSubmitting(false);\n },\n [postQuitApplicationMutation, sendGraduatesPagesQuitMutation],\n );\n\n useApolloError(\n resultFamilyCustomerQuery.error ??\n resultMeQuery.error ??\n resultQuitApplicationQuery.error ??\n resultPostQuitApplicationMutation.error,\n );\n\n return (\n <>\n \n \n {resultMeQuery.loading || resultFamilyCustomerQuery.loading ? (\n
\n \n
\n ) : (\n <>\n {(isQuitApplicable === false || !isNeedDetailedQuitApplicableCheck || isQuitApplicationSubmitted) && (\n \n )}\n\n {isQuitApplicable &&\n (isSuccess ? (\n \n ) : (\n {\n // biome-ignore lint/complexity/noVoid :[AUTOMATICALLY-INSERTED] The use of void is not allowed.\n void onSubmit(selectDocuments);\n }}\n isSubmitting={isSubmitting}\n graduateServiceCompanies={resultGraduateServiceCompaniesQuery.data?.graduateServiceCompanies}\n />\n ))}\n \n )}\n
\n \n );\n};\n\nexport default QuitPage;\n","module.exports = \"/_next/static/images/error-01-b0f7febf79bec3358a228108bf8b2c72.svg\";","// src/use-is-first-render.ts\nimport { useEffect, useRef } from \"react\";\nfunction useIsFirstRender() {\n const isFirstRender = useRef(true);\n useEffect(() => {\n isFirstRender.current = false;\n }, []);\n return isFirstRender.current;\n}\n\nexport {\n useIsFirstRender\n};\n","// src/index.ts\nimport { useRef, useEffect } from \"react\";\nfunction usePrevious(value) {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n }, [value]);\n return ref.current;\n}\nexport {\n usePrevious\n};\n","import {\n useIsFirstRender\n} from \"./chunk-5L3NXCNX.mjs\";\n\n// src/skeleton.tsx\nimport { usePrevious } from \"@chakra-ui/react-use-previous\";\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport {\n chakra,\n cssVar,\n forwardRef,\n keyframes,\n omitThemingProps,\n useStyleConfig,\n useToken\n} from \"@chakra-ui/system\";\nimport { jsx } from \"react/jsx-runtime\";\nvar StyledSkeleton = chakra(\"div\", {\n baseStyle: {\n boxShadow: \"none\",\n backgroundClip: \"padding-box\",\n cursor: \"default\",\n color: \"transparent\",\n pointerEvents: \"none\",\n userSelect: \"none\",\n \"&::before, &::after, *\": {\n visibility: \"hidden\"\n }\n }\n});\nvar $startColor = cssVar(\"skeleton-start-color\");\nvar $endColor = cssVar(\"skeleton-end-color\");\nvar fade = keyframes({\n from: { opacity: 0 },\n to: { opacity: 1 }\n});\nvar bgFade = keyframes({\n from: {\n borderColor: $startColor.reference,\n background: $startColor.reference\n },\n to: {\n borderColor: $endColor.reference,\n background: $endColor.reference\n }\n});\nvar Skeleton = forwardRef((props, ref) => {\n const skeletonProps = {\n ...props,\n fadeDuration: typeof props.fadeDuration === \"number\" ? props.fadeDuration : 0.4,\n speed: typeof props.speed === \"number\" ? props.speed : 0.8\n };\n const styles = useStyleConfig(\"Skeleton\", skeletonProps);\n const isFirstRender = useIsFirstRender();\n const {\n startColor = \"\",\n endColor = \"\",\n isLoaded,\n fadeDuration,\n speed,\n className,\n fitContent,\n ...rest\n } = omitThemingProps(skeletonProps);\n const [startColorVar, endColorVar] = useToken(\"colors\", [\n startColor,\n endColor\n ]);\n const wasPreviouslyLoaded = usePrevious(isLoaded);\n const _className = cx(\"chakra-skeleton\", className);\n const cssVarStyles = {\n ...startColorVar && { [$startColor.variable]: startColorVar },\n ...endColorVar && { [$endColor.variable]: endColorVar }\n };\n if (isLoaded) {\n const animation = isFirstRender || wasPreviouslyLoaded ? \"none\" : `${fade} ${fadeDuration}s`;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ref,\n className: _className,\n __css: { animation },\n ...rest\n }\n );\n }\n return /* @__PURE__ */ jsx(\n StyledSkeleton,\n {\n ref,\n className: _className,\n ...rest,\n __css: {\n width: fitContent ? \"fit-content\" : void 0,\n ...styles,\n ...cssVarStyles,\n _dark: { ...styles[\"_dark\"], ...cssVarStyles },\n animation: `${speed}s linear infinite alternate ${bgFade}`\n }\n }\n );\n});\nSkeleton.displayName = \"Skeleton\";\n\nexport {\n Skeleton\n};\n"],"names":["sub","date","duration","requiredArgs","Z","arguments","esm_typeof","Date","NaN","years","toInteger","months","weeks","days","hours","minutes","seconds","dateWithoutDays","subDays","dirtyDate","dirtyAmount","amount","addDays","subMonths","addMonths","getTime","secondstoSub","minutestoSub","window","__NEXT_P","push","__webpack_require__","checkboxSize","sm","iconSize","typographyVariant","md","lg","switchCheckboxSize","safeGet","size","injectCheckboxSize","base","xl","Checkbox","children","colorScheme","textColor","rest","param","useMemo","emotion_react_jsx_runtime_browser_esm","tZ","ChakraCheckbox","borderRadius","icon","Icon","fontSize","as","FaCheck","css","Typography","variant","color","Skeleton","_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","ChakraSkeleton","fadeDuration","speed","props","DocumentCheckboxForm","documents","checkboxField","isDisabled","control","useFormContext","field","useController","name","CheckboxGroup","map","document","index","value","kind","mt","px","py","w","textAlign","alignItems","BX","Flex","width","gap","image","Box","display","justifyContent","Image","maxW","flexBasis","src","alt","whiteSpace","title","description","CopyClipboardButton","copyValue","successMessage","defaultSuccessMessage","failMessage","defaultFailMessage","restProps","toast","useToast","handleClick","result","copy","position","render","Toast","TextButton","onClick","KeyValueTable","memo","data","dataTestid","columns","Header","accessor","Cell","row","original","isImagePathKey","margin","HY","isCopyableValue","fontWeight","isStrongValue","isAttentionValue","wordBreak","getTableProps","getTableBodyProps","rows","prepareRow","useTable","Table","border","borderWidth","borderColor","overflow","Tbody","rowKey","rowArray","key","rowProps","getRowProps","Tr","cells","cellProps","cell","getCellProps","Td","pl","pr","column","borderBottomWidth","length","bgColor","displayName","FAMILY_CUSTOMER_STATUS_QUIT_APPLICATION_SUBMITTED","GraduateServiceCompanies","LeadSource","OptionServiceType","QuitApplicationApplicableStatus","ReferralType","ShipmentToyCustomerPreShippingStatus","ShipmentToyCustomerReceiveStatus","SignInResult","Dorakid","Dwe","Mikihouse","Tao","Wonderbox","Basic","Campaign","ChannelTalk","ToyDiagnose","ZohoSurvey","ExpressDelivery","FreeExpressDelivery","FreeToyChange","OneAdditionalToy","ToyChange","WaterPlayToy","Irregular","NotEligibleForPromotion","Regular","ExchangeToys","Graduate","AlreadyHave","GoodAsItIs","Continuation","Purchase","Return","Fail","RequireMfa","Success","convertDefaultSubCode","subCode","NO_DETAILED_INFORMATION","ErrorMessage","GRAPHQL_PARSE_FAILED","GRAPHQL_VALIDATION_FAILED","BAD_USER_INPUT","INVALID_TOKEN","INVALID_PASSWORD_INPUT","_","MFA_INCORRECT_CODE","MFA_VERIFY_PASSWORD_EXPIRED","INVALID_RECOVERY_CODE","UNAUTHENTICATED","FAILED_TO_SIGN_IN","LOCKED","FORBIDDEN","MFA_ALREADY_REGISTERED","MFA_LOCKED","PERSISTED_QUERY_NOT_FOUND","PERSISTED_QUERY_NOT_SUPPORTED","INTERNAL_SERVER_ERROR","NOT_FOUND","OTHER_ERROR","getErrorMessage","extensions","code","datadogLogs","typeofCode","messageOrRecord","undefined","messageOrNull","ApolloErrorToast","errors","graphQLErrors","networkError","JSON","message","concat","stringify","shouldRenderErrorMessages","filter","isNonNullable","div","useApolloError","apolloError","option","testid","useEffect","isActive","id","copyToClipboard","graduateServiceDocuments","defaultOptions","GetMePagesQuitDocument","gql","GetFamilyCustomerPageQuitDocument","GetQuitApplicationPagesQuitDocument","PlanDataTable","planName","contractedAt","nextBillingAt","mb","ConfirmScreen","familyCustomerContractedPlan","onSubmit","isSubmitting","graduateServiceCompanies","isCheck","setIsCheck","useState","methods","useForm","mode","getValues","nextBillingAtDate","isValidDate","parse","includes","FormProvider","form","br","formatAsiaTokyoDateToString","Link","href","target","rel","textDecorationLine","background","p","strong","span","format","pt","onChange","e","checked","my","Button","styleVariant","selectDocuments","isLoading","pagesPath","SuccessScreen","InvalidScreen","flexDir","error01","height","toysubCSQuitApplicationUrl","PostQuitApplicationPagesQuitDocument","SendGraduatesPagesQuitDocument","GetGraduateServiceCompaniesDocument","QuitPage","resultFamilyCustomerQuery","resultQuitApplicationQuery","resultGraduateServiceCompaniesQuery","useGetFamilyCustomerPageQuitQuery","baseOptions","options","Apollo","resultMeQuery","useGetMePagesQuitQuery","isNeedDetailedQuitApplicableCheck","me","isContractor","familyCustomer","familyCustomerStatus","uuid","familyCustomerContractedPlans","useGetQuitApplicationPagesQuitQuery","skip","useGetGraduateServiceCompaniesQuery","isSuccess","setIsSuccess","setIsSubmitting","isQuitApplicable","quitApplication","applicableStatus","isQuitApplicationSubmitted","postQuitApplicationMutation","resultPostQuitApplicationMutation","usePostQuitApplicationPagesQuitMutation","sendGraduatesPagesQuitMutation","useSendGraduatesPagesQuitMutation","useCallback","then","postQuitApplication","scrollTo","variables","requestedDocs","referralType","catch","error","NextSeo","AuthedLayout","loading","Center","h","index_page","module","exports","StyledSkeleton","chunk_3LE6AY5Q","m","baseStyle","boxShadow","backgroundClip","cursor","pointerEvents","userSelect","visibility","$startColor","styled_system_dist","gJ","$endColor","fade","emotion_react_browser_esm","F4","from","opacity","to","bgFade","reference","chunk_QEVFQ4EU","G","ref","skeletonProps","styles","chunk_T2VHL7RE","mq","isFirstRender","useIsFirstRender","react","useRef","current","startColor","endColor","isLoaded","className","fitContent","Lr","startColorVar","endColorVar","chunk_7V3ZYTH7","dQ","wasPreviouslyLoaded","usePrevious","_className","dist","cx","cssVarStyles","variable","animation","jsx_runtime","jsx","__css","_dark"],"sourceRoot":""}