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,MAAA,CAA7BF,GAAM,CAAC,cAAmBE,MAAA,CAALG,GAAO,WAEjI,GAAAkF,EAAAtF,GAAA,EAACH,MAAAA,CAAIC,UAAWC,IAAAA,6BAAAA,KAKpB,GAAAuF,EAAAtF,GAAA,EAACH,MAAAA,CACCC,UAAW,GAAuBuF,MAAAA,CAApBtF,IAAAA,SAAAA,CAAiB,KAAsEqF,MAAAA,CAAnEC,EAAoBtF,GAAAA,CAAAA,+BAAAA,CAAyC,GAAG,KAA0DA,MAAAA,CAAvDqF,EAAerF,GAAAA,CAAAA,wBAAAA,CAAkC,GAAG,KAAgCE,MAAA,CAA7BF,GAAM,CAAC,cAAmBE,MAAA,CAALG,GAAO,WAExL,GAAAkF,EAAAtF,GAAA,EAACH,MAAAA,CACCC,UAAW,GAAiCqF,MAAAA,CAA9BpF,IAAAA,mBAAAA,CAA2B,KAA2DE,MAAA,CAAxDkF,EAAQpF,GAAAA,CAAAA,mCAAAA,CAA6C,IACjGwF,MACEJ,EAEI,CAAE,gBAAiBA,EAAOK,MAAO,GAAYvF,MAAA,CAATK,EAAS,IAAG,EAChD,CAAEkF,MAAO,GAAYvF,MAAA,CAATK,EAAS,IAAG,KAKtC,qBC9DAmF,EAAAC,OAAA,EAAkB,oTCAlBD,EAAAC,OAAA,EAAkB,obCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/Withdrawal/RolloverRequired/Skeleton/index.tsx","webpack://_N_E/./src/api/rollover/queries/useVerifyRolloverByCoinId/service.ts","webpack://_N_E/./src/api/rollover/queryKeys.ts","webpack://_N_E/./src/api/rollover/queries/useVerifyRolloverByCoinId/index.ts","webpack://_N_E/./src/components/Withdrawal/RolloverRequired/index.tsx","webpack://_N_E/./src/components/Withdrawal/VerifyModal/index.tsx","webpack://_N_E/../../packages/common/src/api/account/queries/useAccountByCoin/service.ts","webpack://_N_E/../../packages/common/src/api/account/queries/useAccountByCoin/index.ts","webpack://_N_E/../../packages/common/src/components/Progress/index.tsx","webpack://_N_E/./src/components/Withdrawal/RolloverRequired/Skeleton/styles.module.scss","webpack://_N_E/./src/components/Withdrawal/RolloverRequired/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Progress/styles.module.scss"],"sourcesContent":["import { Button, Progress } from '@starsoft/common/components';\n\nimport styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function WithdrawRolloverRequiredSkeleton() {\n return (\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n );\n}\n","import baseAPI from '@/api';\nimport { VerifyRolloverByCoinIdRequestDto } from '@/services/dto/withdraw/verify-rollover-by-coin-request.dto';\nimport { WithdrawVerifyResponseDto } from '@/services/dto/withdraw/withdraw-verify-request.dto';\nimport { QueryFunctionContext } from '@tanstack/react-query';\n\nexport async function verifyRolloverByCoinId({\n queryKey,\n}: QueryFunctionContext) {\n const params = queryKey[1] as VerifyRolloverByCoinIdRequestDto;\n const response = await baseAPI.get(\n `rollover/verify/${params?.coinId}`,\n );\n\n return response.data;\n}\n","export enum RolloverQueryKeys {\n Primary = 'rollover/',\n VerifyByCoinId = 'rollover/verify-rollover-by-coin-id',\n}\n","import { useQuery } from '@tanstack/react-query';\nimport { verifyRolloverByCoinId } from './service';\nimport { RolloverQueryKeys } from '../../queryKeys';\nimport { UseVerifyRolloverByCoinIdProps } from './props';\nimport { VerifyRolloverByCoinIdRequestDto } from '@/services/dto/withdraw/verify-rollover-by-coin-request.dto';\nimport { WithdrawVerifyResponseDto } from '@/services/dto/withdraw/withdraw-verify-request.dto';\nimport { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\n\nexport function useVerifyRolloverByCoinId({\n coinId,\n enabled = true,\n}: UseVerifyRolloverByCoinIdProps) {\n const params: VerifyRolloverByCoinIdRequestDto = {\n coinId,\n };\n const { data, isPending, isError, error, refetch } = useQuery<\n WithdrawVerifyResponseDto,\n AxiosError\n >({\n queryKey: [RolloverQueryKeys.VerifyByCoinId, params],\n queryFn: verifyRolloverByCoinId,\n enabled: enabled && !!coinId,\n });\n\n return {\n data,\n isLoading: isPending,\n isError,\n error,\n refetch,\n };\n}\n","import { useLottiePlayer, useSearchParams } from '@starsoft/common/hooks';\nimport styles from './styles.module.scss';\nimport useTranslation from 'next-translate/useTranslation';\nimport { Button, ErrorCard, Progress } from '@starsoft/common/components';\nimport Link from '@/components/core/Link';\nimport { AxiosError } from 'axios';\nimport { GenericError } from '@starsoft/common/models';\nimport WithdrawRolloverRequiredSkeleton from './Skeleton';\nimport { WalletService } from '@starsoft/common/services';\nimport { useAccountByCoin } from '@starsoft/common/api/account/queries';\nimport { useVerifyRolloverByCoinId } from '@/api/rollover/queries/useVerifyRolloverByCoinId';\nimport { parseToBigInt } from '@starsoft/common/utils/parsers';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\n\nexport default function WithdrawRolloverRequired() {\n const { t } = useTranslation('common');\n const params = useSearchParams();\n const coinId = params.get('coin_id');\n\n const {\n data: account,\n isLoading: isLoadingCoin,\n error: errorCoin,\n refetch: refetchCoin,\n } = useAccountByCoin({\n coinId: coinId ? (parseToBigInt(coinId) as string) : undefined,\n enabled: !!coinId,\n });\n const {\n data: withDrawVerify,\n isLoading,\n error,\n refetch,\n } = useVerifyRolloverByCoinId({\n coinId: coinId ? (parseToBigInt(coinId) as bigint) : undefined,\n enabled: !!coinId,\n });\n\n const { lottieAnimationRef } = useLottiePlayer({\n path: '/pig.json',\n dependecyArray: [isLoadingCoin, isLoading],\n });\n\n const currentError = (error ?? errorCoin) as AxiosError;\n\n function handleError() {\n if (errorCoin) {\n refetchCoin();\n }\n\n if (error) {\n refetch();\n }\n }\n\n if (currentError) {\n return (\n
\n \n
\n );\n }\n\n if (isLoadingCoin || isLoading) {\n return ;\n }\n\n return (\n
\n
\n
\n
\n {t('cant_withdraw_label')}\n
\n
\n {t('cant_withdraw_description')}\n
\n
\n
\n {WalletService.maskCurrency({\n amount: getMoneyOrAmount(withDrawVerify?.betAmount),\n coin: account?.coin,\n })}\n /\n {WalletService.maskCurrency({\n amount: getMoneyOrAmount(withDrawVerify?.neededAmount),\n coin: account?.coin,\n })}\n
\n \n \n \n \n
\n );\n}\n","import { ModalLayout } from '@starsoft/common/components';\nimport { ModalsKey } from '@/enums/modalsKey';\nimport { useUserAccount } from '@/api/user/queries';\nimport useTranslation from 'next-translate/useTranslation';\nimport WithdrawRolloverRequired from '../RolloverRequired';\nimport { useSearchParams } from '@starsoft/common/hooks';\nimport { ModalWithVersion } from '@/components/core/Modal/WithVersion';\n\nexport default function WithdrawVerifyModal() {\n const { t } = useTranslation('common');\n const { isAuthorized } = useUserAccount();\n const searchParams: URLSearchParams = useSearchParams();\n const coinId: string | null = searchParams.get('coin_id');\n\n return (\n \n \n \n );\n}\n","import { QueryFunctionContext } from '@tanstack/react-query';\nimport { UseAccountByCoinQueryKey } from './props';\nimport { AxiosInstance, AxiosResponse } from 'axios';\nimport { AccountByCoinInputDto } from '@starsoft/common/dto';\nimport { Account } from '@starsoft/common/models';\n\nexport async function fetchAccountByCoin(\n { queryKey }: QueryFunctionContext,\n axiosInstance: AxiosInstance,\n): Promise {\n const { coinId }: AccountByCoinInputDto = queryKey[1];\n\n const response: AxiosResponse = await axiosInstance.get(\n `/accounts/by-coin/${coinId}`,\n );\n\n return response.data;\n}\n","import { AccountQueryKeys } from '../../queryKeys';\nimport { fetchAccountByCoin } from './service';\nimport { UseAccountByCoinProps, UseAccountByCoinQueryKey } from './props';\nimport { useEffect } from 'react';\nimport { Account, GenericError } from '@starsoft/common/models';\nimport { AxiosError, AxiosInstance } from 'axios';\nimport { AccountByCoinInputDto } from '@starsoft/common/dto';\nimport { useAxiosInstance } from '@starsoft/common/hooks';\nimport { useQuery } from '@tanstack/react-query';\n\n/**\n * Custom hook to fetch account details by coin ID.\n *\n * @param {UseAccountByCoinProps} options - Configuration options for the query.\n * @param {string} options.coinId - The ID of the coin to fetch account details for.\n * @param {Function} [options.customOnSuccess] - Optional callback function to execute on successful data fetch.\n * @param {boolean} [options.enabled=true] - Flag to enable or disable the query.\n * @param {boolean} [options.refetchOnMount=true] - Flag to refetch data when the component mounts.\n *\n * @returns {Object} - Returns an object containing the query state and functions.\n * @returns {boolean} return.isLoading - Indicates if the query is currently loading.\n * @returns {Account} return.data - The fetched account data.\n * @returns {AxiosError} return.error - Error object if the query fails.\n * @returns {Function} return.refetch - Function to manually refetch the data.\n * @returns {boolean} return.isRefetching - Indicates if the query is currently refetching.\n */\nexport function useAccountByCoin(options?: UseAccountByCoinProps) {\n const {\n coinId,\n customOnSuccess,\n enabled = true,\n refetchOnMount = true,\n } = options ?? {};\n\n // Get an Axios instance for making HTTP requests\n const axiosInstance: AxiosInstance = useAxiosInstance();\n\n // Define the query key for caching and refetching purposes\n const queryKey: UseAccountByCoinQueryKey = [\n AccountQueryKeys.ByCoin,\n { coinId } as AccountByCoinInputDto,\n ];\n\n // Use the useQuery hook to fetch account data\n const { isPending, data, error, refetch, fetchStatus, isRefetching } =\n useQuery<\n Account,\n AxiosError,\n Account,\n UseAccountByCoinQueryKey\n >({\n queryKey,\n queryFn: queryContext => fetchAccountByCoin(queryContext, axiosInstance),\n enabled: !!coinId && enabled,\n refetchOnWindowFocus: false,\n refetchOnMount,\n staleTime: 5 * 1000, // Data is considered fresh for 5 seconds\n });\n\n // Function to handle successful data fetch\n function onSuccess() {\n if (!data || !customOnSuccess) {\n return;\n }\n customOnSuccess(data);\n }\n\n // Use useEffect to trigger onSuccess when data changes\n //eslint-disable-next-line\n useEffect(onSuccess, [data]);\n\n return {\n isLoading: isPending && fetchStatus !== 'idle',\n data,\n error,\n refetch,\n isRefetching,\n };\n}\n","import { ProgressProps } from './props';\nimport styles from './styles.module.scss';\n\n/**\n * Progress Component\n * A customizable progress bar component that can show loading state and different visual styles.\n *\n * @component\n * @param {Object} props - Component props\n * @param {number} props.progress - The progress value as a percentage (0-100)\n * @param {string} [props.color] - Custom color for the progress bar\n * @param {boolean} [props.isLoading] - Whether to show loading skeleton state\n * @param {string} [props.size] - Size variant of the progress bar\n * @param {boolean} [props.useCardColor] - Whether to use card background color\n * @param {boolean} [props.useContainerColor] - Whether to use container background color\n * @returns {JSX.Element} The rendered progress bar component\n *\n * @example\n * // Basic usage\n * \n *\n * // With custom styling\n * \n */\nexport function Progress({\n progress,\n color,\n isLoading,\n size,\n useCardColor,\n useContainerColor,\n}: ProgressProps) {\n if (isLoading) {\n return (\n \n
\n
\n );\n }\n return (\n \n \n
\n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"styles_title__xj7CS\",\"description\":\"styles_description__Je1T_\",\"factor\":\"styles_factor__p4BDt\",\"skeleton-animation\":\"styles_skeleton-animation__W_tEb\",\"wrapper\":\"styles_wrapper__EniX3\",\"description--half\":\"styles_description--half__uI_lN\",\"factor__wrapper\":\"styles_factor__wrapper__qrFEl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__Kefhe\",\"container__lottie\":\"styles_container__lottie__BMIuC\",\"container__wrapper\":\"styles_container__wrapper__lYrwo\",\"container__wrapper__title\":\"styles_container__wrapper__title__Qw4AQ\",\"container__wrapper__description\":\"styles_container__wrapper__description__u6_62\",\"container__wrapper__factor\":\"styles_container__wrapper__factor__GCW2u\",\"skeleton-animation\":\"styles_skeleton-animation__qILLZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container__progress__skeleton\":\"styles_container__progress__skeleton__nK9bT\",\"skeleton-animation\":\"styles_skeleton-animation__Q2aZi\",\"container\":\"styles_container__b1jzK\",\"spin\":\"styles_spin__jGX60\",\"container__progress\":\"styles_container__progress__WKWfi\",\"container__progress--customColor\":\"styles_container__progress--customColor__N_V8R\",\"container--useContainerColor\":\"styles_container--useContainerColor__oyXPv\",\"container--card-color\":\"styles_container--card-color__iP1RJ\",\"container--tiny\":\"styles_container--tiny__glbXu\",\"container--small\":\"styles_container--small__7vLBo\",\"container--medium\":\"styles_container--medium__rJkPd\",\"container--large\":\"styles_container--large__yhP7Y\"};"],"names":["RolloverQueryKeys","WithdrawRolloverRequiredSkeleton","jsx_runtime","jsxs","div","className","styles","jsx","concat","skeleton","Progress","size","isLoading","progress","Button","isSkeleton","verifyRolloverByCoinId","param","queryKey","params","response","baseAPI","get","coinId","data","WithdrawRolloverRequired","withDrawVerify","t","useTranslation","useSearchParams","account","isLoadingCoin","error","errorCoin","refetch","refetchCoin","useAccountByCoin","parseToBigInt","undefined","enabled","useVerifyRolloverByCoinId","isPending","isError","useQuery","VerifyByCoinId","queryFn","lottieAnimationRef","useLottiePlayer","path","dependecyArray","currentError","ErrorCard","ref","WalletService","maskCurrency","amount","getMoneyOrAmount","betAmount","coin","neededAmount","percentage","toNumber","Link","href","WithdrawVerifyModal","isAuthorized","useUserAccount","searchParams","ModalWithVersion","modal","ModalsKey","RolloverRequired","title","condition","fitContent","smallMobilePadding","fetchAccountByCoin","axiosInstance","options","customOnSuccess","refetchOnMount","useAxiosInstance","AccountQueryKeys","ByCoin","fetchStatus","isRefetching","queryContext","refetchOnWindowFocus","staleTime","useEffect","color","useCardColor","useContainerColor","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","style","width","module","exports"],"sourceRoot":""}