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EAAAC,OAAA,EAAkB,kKCAlBD,EAAAC,OAAA,EAAkB,kKCAlBD,EAAAC,OAAA,EAAkB,0WCAlBD,EAAAC,OAAA,EAAkB,wNCAlBD,EAAAC,OAAA,EAAkB,8OCAlBD,EAAAC,OAAA,EAAkB,oICAlBD,EAAAC,OAAA,EAAkB,glBCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Lottie/helper.ts","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Lottie/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Description/helpers.ts","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Description/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Renderer/CoinValueItem/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Renderer/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Amount/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Duration/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Category/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Renderer/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/index.tsx","webpack://_N_E/./src/models/restriction/category/id/index.ts","webpack://_N_E/../../packages/common/src/components/Counter/Skeleton/index.tsx","webpack://_N_E/../../packages/common/src/components/Counter/index.tsx","webpack://_N_E/../../packages/common/src/components/Progress/index.tsx","webpack://_N_E/../../packages/common/src/components/TransWithDefault/index.tsx","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Description/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Lottie/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Amount/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Category/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Duration/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/Renderer/CoinValueItem/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/Restrictions/Details/styles.module.scss","webpack://_N_E/./src/components/Restrictions/DetailsModal/Content/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Counter/Skeleton/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Counter/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Progress/styles.module.scss"],"sourcesContent":["import { UserRestriction } from '@/models/user-restriction';\nimport { Restriction } from '@/models/restriction';\nimport { Nullable } from '@starsoft/common/interfaces';\n\nexport function getLottie(\n userRestrictions: Array,\n restriction: Nullable,\n) {\n return userRestrictions.length > 0 || !!restriction\n ? 'restricitons.json'\n : 'celebration.json';\n}\n","import { RootState } from '@/lib/store';\nimport { UserRestriction } from '@/models/user-restriction';\nimport { useSelector } from 'react-redux';\nimport styles from './styles.module.scss';\nimport { useLottiePlayer } from '@starsoft/common/hooks';\nimport { getLottie } from './helper';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { Restriction } from '@/models/restriction';\n\nexport default function RestrictionDetailsModalLottie() {\n const userRestrictions: UserRestriction[] = useSelector(\n (state: RootState) => state.userRestrictions.userRestrictions,\n );\n\n const restriction: Nullable = useSelector(\n (state: RootState) => state.userRestrictions.restriction,\n );\n\n const { lottieAnimationRef } = useLottiePlayer({\n path: getLottie(userRestrictions, restriction),\n autoplay: true,\n loop: true,\n dependecyArray: [userRestrictions, restriction],\n });\n\n return (\n
\n
\n
\n );\n}\n","import { UserRestriction } from '@/models/user-restriction';\n\nexport function getDescription(userRestrictions: UserRestriction[]) {\n if (userRestrictions.length === 0) {\n return 'no_restrictions_label';\n }\n\n return 'restrictions_label';\n}\n","import useTranslation from 'next-translate/useTranslation';\nimport styles from './styles.module.scss';\nimport { RootState } from '@/lib/store';\nimport { UserRestriction } from '@/models/user-restriction';\nimport { useSelector } from 'react-redux';\nimport { getDescription } from './helpers';\nimport { TransWithDefault } from '@starsoft/common/components';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { Restriction } from '@/models/restriction';\n\nexport default function RestrictionDetailsModalDescription() {\n const userRestrictions: UserRestriction[] = useSelector(\n (state: RootState) => state.userRestrictions.userRestrictions,\n );\n const restriction: Nullable = useSelector(\n (state: RootState) => state.userRestrictions.restriction,\n );\n\n const description = getDescription(userRestrictions);\n\n if (!!restriction) {\n return null;\n }\n\n return (\n
\n

\n \n

\n
\n );\n}\n","import { FormGroup, Image, Progress } from '@starsoft/common/components';\nimport { RestrictionDetailsModalRestrictionsDetailsRendererCoinValueItemProps } from './props';\nimport styles from './styles.module.scss';\nimport { WalletService } from '@starsoft/common/services';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\nimport useTranslation from 'next-translate/useTranslation';\n\nexport default function RestrictionDetailsModalRestrictionsDetailsRendererCoinValueItem({\n restriction,\n userRestriction,\n}: RestrictionDetailsModalRestrictionsDetailsRendererCoinValueItemProps) {\n const { t } = useTranslation('common');\n\n return (\n \n
\n
\n \n
\n \n {WalletService.maskCurrency({\n amount: getMoneyOrAmount(userRestriction?.value),\n coin: userRestriction?.restriction?.coin,\n hideSymbol: true,\n })}\n

\n /\n
\n \n
\n

\n {WalletService.maskCurrency({\n amount: getMoneyOrAmount(userRestriction?.restriction?.maxValue),\n coin: userRestriction?.restriction?.coin,\n hideSymbol: true,\n })}\n

\n
\n \n \n );\n}\n","import RestrictionDetailsModalRestrictionsDetailsRendererCoinValueItem from './CoinValueItem';\nimport { RestrictionDetailsModalRestrictionsDetailsRendererProps } from './props';\nimport { RestrictionCategoryId } from '@/models/restriction/category/id';\n\nexport default function RestrictionDetailsModalRestrictionsDetailsRenderer({\n userRestriction,\n restriction,\n}: RestrictionDetailsModalRestrictionsDetailsRendererProps) {\n switch (\n userRestriction.restriction?.categoryId?.toString() ||\n restriction?.categoryId?.toString()\n ) {\n case RestrictionCategoryId.Deposit?.toString():\n case RestrictionCategoryId.Withdrawal?.toString():\n case RestrictionCategoryId.Spend?.toString():\n case RestrictionCategoryId.Stake?.toString():\n return (\n \n );\n default:\n return null;\n }\n}\n","import { RestrictionCategoryId } from '@/models/restriction/category/id';\nimport { RestrictionDetailsModalRestrictionsDetailsCardsProps } from '../props';\nimport styles from './styles.module.scss';\nimport { FormGroup, Image, ToolTip } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\nimport { WalletService } from '@starsoft/common/services';\n\nexport default function RestrictionDetailsModalRestrictionsDetailsAmount({\n restriction,\n}: RestrictionDetailsModalRestrictionsDetailsCardsProps) {\n const { t } = useTranslation('common');\n return (\n {t(`common:${restriction?.categoryId}_category_description`)}

\n }\n >\n \n \n }\n >\n

\n {([\n RestrictionCategoryId.Deposit?.toString(),\n RestrictionCategoryId.Withdrawal?.toString(),\n RestrictionCategoryId.Spend?.toString(),\n RestrictionCategoryId.Stake?.toString(),\n ].includes(restriction?.categoryId?.toString()) && (\n

\n \n

\n {WalletService.maskCurrency({\n amount: restriction?.maxValue,\n coin: restriction?.coin,\n })}\n

\n
\n )) || (\n

\n {WalletService.maskCurrency({\n amount: restriction?.maxValue,\n hideSymbol: true,\n })}\n

\n )}\n

\n \n );\n}\n","import { RestrictionDetailsModalRestrictionsDetailsCardsProps } from '../props';\nimport styles from './styles.module.scss';\nimport { FormGroup } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\n\nexport default function RestrictionDetailsModalRestrictionsDetailsDuration({\n restriction,\n}: RestrictionDetailsModalRestrictionsDetailsCardsProps) {\n const { t } = useTranslation('common');\n return (\n \n
\n \n

\n {restriction?.duration}{' '}\n {t(\n `account:${restriction?.frameId}_frame_label${restriction?.duration > 1 ? '_plural' : ''}`,\n )}\n

\n
\n
\n );\n}\n","import { RestrictionCategoryId } from '@/models/restriction/category/id';\nimport { RestrictionDetailsModalRestrictionsDetailsCardsProps } from '../props';\nimport styles from './styles.module.scss';\nimport { FormGroup } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\nimport { useMemo } from 'react';\n\nexport default function RestrictionDetailsModalRestrictionsDetailsCategory({\n restriction,\n}: RestrictionDetailsModalRestrictionsDetailsCardsProps) {\n const { t } = useTranslation('common');\n const icon = useMemo(() => {\n switch (restriction?.categoryId?.toString()) {\n case RestrictionCategoryId.Deposit?.toString():\n return 'fa-solid fa-piggy-bank';\n case RestrictionCategoryId.Withdrawal?.toString():\n return 'fa-solid fa-wallet';\n case RestrictionCategoryId.Spend?.toString():\n return 'fa-solid fa-hand-holding-dollar';\n case RestrictionCategoryId.Stake?.toString():\n return 'fa-solid fa-coins';\n default:\n return 'fa-solid fa-hourglass-start';\n }\n }, [restriction?.categoryId]);\n\n return (\n \n
\n \n

\n {t(`account:${restriction?.categoryId}_category_label`)}\n

\n
\n
\n );\n}\n","import useTranslation from 'next-translate/useTranslation';\nimport { RestrictionDetailsModalRestrictionsDetailsProps } from './props';\nimport styles from './styles.module.scss';\nimport RestrictionDetailsModalRestrictionsDetailsRenderer from './Renderer';\nimport { useCountdown } from '@starsoft/common/hooks';\nimport { useDispatch } from 'react-redux';\nimport { setUserRestrictions } from '@/lib/store/user-restrictions/actions';\nimport {\n Counter,\n FormGroup,\n TransWithDefault,\n} from '@starsoft/common/components';\nimport { memo, useMemo } from 'react';\nimport RestrictionDetailsModalRestrictionsDetailsAmount from './Amount';\nimport RestrictionDetailsModalRestrictionsDetailsDuration from './Duration';\nimport RestrictionDetailsModalRestrictionsDetailsCategory from './Category';\nfunction RestrictionDetailsModalRestrictionsDetails({\n restriction,\n userRestriction,\n}: RestrictionDetailsModalRestrictionsDetailsProps) {\n const { t } = useTranslation('common');\n const dispatch = useDispatch();\n\n const resolvedRestriction = useMemo(() => {\n return restriction ?? userRestriction.restriction;\n }, [restriction, userRestriction]);\n\n function handleCountdownComplete() {\n dispatch(setUserRestrictions(userRestriction));\n }\n\n const countdouwn = useCountdown({\n targetDate: new Date(userRestriction?.cycleEndAt ?? new Date()).toString(),\n disabled: !userRestriction?.cycleEndAt,\n onCountdownComplete: handleCountdownComplete,\n });\n\n return (\n
\n

\n {!!restriction && (\n \n )}\n {!!userRestriction &&\n t('restriction_details_label', {\n timeFrame: `${resolvedRestriction?.duration} ${t(`account:${resolvedRestriction?.frameId}_frame_label${resolvedRestriction?.duration > 1 ? '_plural' : ''}`)?.toLowerCase?.()}`,\n type: `${t(`account:${resolvedRestriction?.categoryId}_category_label`)?.toLowerCase?.()}`,\n })}\n

\n
\n \n \n \n {!!userRestriction && (\n \n )}\n {!!userRestriction?.cycleEndAt && (\n \n \n \n )}\n
\n
\n );\n}\n\nexport default memo(RestrictionDetailsModalRestrictionsDetails);\n","import { useSelector } from 'react-redux';\nimport { RootState } from '@/lib/store';\nimport { UserRestriction } from '@/models/user-restriction';\nimport { useMemo } from 'react';\nimport RestrictionDetailsModalRestrictionsDetails from './Details';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { Restriction } from '@/models/restriction';\n\nexport default function RestrictionDetailsModalRestrictions() {\n const userRestrictions: UserRestriction[] = useSelector(\n (state: RootState) => state.userRestrictions.userRestrictions,\n );\n\n const restriction: Nullable = useSelector(\n (state: RootState) => state.userRestrictions.restriction,\n );\n\n if (!!restriction) {\n return (\n userRestriction?.id === restriction?.id,\n )}\n />\n );\n }\n\n const Restrictions = useMemo(\n () =>\n userRestrictions?.map(userRestriction => {\n return (\n \n );\n }),\n [userRestrictions],\n );\n\n return <>{Restrictions};\n}\n","import { RootState } from '@/lib/store';\nimport { Restriction } from '@/models/restriction';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { useSelector } from 'react-redux';\nimport RestrictionDetailsModalRestrictions from '../Restrictions';\nimport RestrictionDetailsModalUnreachableRestriction from '../Unreacheble';\nimport { memo } from 'react';\n\nfunction RestrictionDetailsModalRenderer() {\n return ;\n}\n\nexport default memo(RestrictionDetailsModalRenderer);\n","import styles from './styles.module.scss';\nimport RestrictionDetailsModalLottie from './Lottie';\nimport RestrictionDetailsModalDescription from './Description';\nimport { Button, StaggerAnimation } from '@starsoft/common/components';\nimport { useModal, useTranslation } from '@starsoft/common/hooks';\nimport { ModalsKey } from '@/enums/modalsKey';\nimport { useRouter } from 'next/router';\nimport { AnimatePresence } from 'framer-motion';\nimport RestrictionDetailsModalRestrictions from './Restrictions';\nimport RestrictionDetailsModalRenderer from './Renderer';\nimport { unsetUserRestrictions } from '@/lib/store/user-restrictions/actions';\nimport { useDispatch } from 'react-redux';\nimport { useEffect } from 'react';\n\nexport default function RestrictionDetailsModalContent() {\n const { t } = useTranslation('common');\n const { onClose } = useModal(ModalsKey.UserRestrictionsDetails);\n const { push } = useRouter();\n\n function handleCloseModal() {\n onClose();\n }\n\n function handleManageRestrictions() {\n push('/account/restrictions');\n }\n\n return (\n
\n
\n \n \n \n \n \n \n \n
\n
\n \n \n
\n
\n );\n}\n","import { ModalsKey } from '@/enums/modalsKey';\nimport useTranslation from 'next-translate/useTranslation';\nimport RestrictionDetailsModalContent from './Content';\nimport { ModalWithVersion } from '@/components/core/Modal/WithVersion';\n\nexport default function RestrictionDetailsModal() {\n const { t } = useTranslation('common');\n\n return (\n \n \n \n );\n}\n","export namespace RestrictionCategoryId {\n export const Deposit = 1n; // DepĆ³sito\n export const Withdrawal = 2n; // Saque\n export const Stake = 3n; // Aposta\n export const Spend = 4n; // Perda\n export const TimePlayed = 5n; // Tempo jogado\n}\n\nexport type RestrictionCategoryType =\n (typeof RestrictionCategoryId)[keyof typeof RestrictionCategoryId];\n","import styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function CounterSkeleton() {\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
\n
\n
\n
\n
\n
\n
\n );\n}\n","import styles from './styles.module.scss';\nimport { CounterProps } from './props';\nimport CounterSekeleton from './Skeleton';\nimport { useTranslation } from '../../hooks';\n\n/**\n * Component that renders a countdown timer with days, hours, minutes and seconds\n * Can be customized to show/hide days and hours, use smaller size, and different background color\n *\n * @component\n * @param {Object} props - Component props\n * @param {boolean} props.isLoading - Whether to show loading skeleton state\n * @param {Object} props.countdown - Object containing countdown values\n * @param {number} props.countdown.days - Number of days remaining\n * @param {number} props.countdown.hours - Number of hours remaining\n * @param {number} props.countdown.minutes - Number of minutes remaining\n * @param {number} props.countdown.seconds - Number of seconds remaining\n * @param {boolean} props.isSmall - Whether to use smaller size styling\n * @param {boolean} props.hideDays - Whether to hide the days counter\n * @param {boolean} props.hideHours - Whether to hide the hours counter\n * @param {boolean} props.isContainerColor - Whether to use container background color\n * @returns {JSX.Element} Countdown timer display with configurable units\n */\nexport function Counter({\n isLoading,\n countdown,\n isSmall,\n hideDays,\n hideHours,\n isContainerColor,\n}: CounterProps) {\n const { t } = useTranslation('tournaments');\n const { days, hours, minutes, seconds } = countdown;\n\n // Show loading skeleton if isLoading is true\n if (isLoading) {\n return ;\n }\n\n return (\n \n {!hideDays && (\n
\n \n {days}\n
\n \n {t('tournaments:days')}\n
\n
\n )}\n {!hideHours && (\n
\n \n {hours}\n
\n \n {t('tournaments:hours')}\n
\n
\n )}\n
\n \n {minutes}\n
\n \n {t('tournaments:minutes')}\n
\n
\n
\n \n {seconds}\n
\n \n {t('tournaments:seconds')}\n
\n
\n
\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","import { useSettingsStore } from '@starsoft/common/hooks/useSettingsStore';\nimport { CommonSettings } from '@starsoft/common/interfaces';\nimport { Trans as ITrans } from '@starsoft/common/interfaces/trans';\nimport { ComponentType } from 'react';\n\n/**\n * TransWithDefault Component\n * This component is responsible for rendering a translation component with default fallback.\n * It utilizes the settings store to determine the appropriate translation component to use.\n *\n * @param {ITrans} props - The properties for the component.\n * @param {object} props.components - Custom components to be used within the translation text.\n * @param {string} props.i18nKey - The internationalization key for the translation.\n * @param {object} props.values - The values to be interpolated in the translation string.\n *\n * @returns {JSX.Element} The rendered translation component with provided components and props.\n *\n * @example\n * // Usage example:\n * , br:
}}\n * i18nKey=\"example_key\"\n * values={{ name: 'John' }}\n * />\n */\nexport function TransWithDefault({ components, ...props }: ITrans) {\n const { state } = useSettingsStore();\n const settings: CommonSettings = state.settings;\n const Trans: ComponentType = settings.translationComponents.Trans;\n\n // Render the Trans component with provided components and props\n return (\n ,\n br:
,\n p:

,\n ul:

    ,\n li:
  • ,\n ...components,\n }}\n {...props}\n />\n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__QqOOm\",\"container__description\":\"styles_container__description__U5sdW\",\"skeleton-animation\":\"styles_skeleton-animation__kgEi9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"lottie\":\"styles_lottie__ZZB5X\",\"skeleton-animation\":\"styles_skeleton-animation__5B_4O\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__LlSb0\",\"container__image\":\"styles_container__image__y5ZEt\",\"skeleton-animation\":\"styles_skeleton-animation__y1BGx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__cLqj2\",\"container__label\":\"styles_container__label__jIMf2\",\"skeleton-animation\":\"styles_skeleton-animation__d74MC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__9JtLU\",\"container__label\":\"styles_container__label__ZVssQ\",\"skeleton-animation\":\"styles_skeleton-animation__oh9ck\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__GiF5_\",\"container__row\":\"styles_container__row__i7N2W\",\"container__row__image\":\"styles_container__row__image__rT_F4\",\"container__row__label\":\"styles_container__row__label__n_iIq\",\"container__row__label--secondary\":\"styles_container__row__label--secondary__t9xF3\",\"skeleton-animation\":\"styles_skeleton-animation__0CIz_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__v0WlU\",\"container__label\":\"styles_container__label__mSqh8\",\"container__wrapper\":\"styles_container__wrapper__vq2b9\",\"skeleton-animation\":\"styles_skeleton-animation__rNafP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__ERXY2\",\"container__content\":\"styles_container__content__cRpgM\",\"container__content__wrapper\":\"styles_container__content__wrapper__ElSM6\",\"skeleton-animation\":\"styles_skeleton-animation__f6lK0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"styles_label__Gcci0\",\"value\":\"styles_value__so5Ue\",\"skeleton-animation\":\"styles_skeleton-animation__RQcPX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"row\":\"styles_row__OnWJ6\",\"row__wrapper\":\"styles_row__wrapper__32m8q\",\"row__wrapper__card\":\"styles_row__wrapper__card__23V0j\",\"row--container-color\":\"styles_row--container-color__Fv6qc\",\"row--small\":\"styles_row--small__hKrLW\",\"row--hide-days\":\"styles_row--hide-days__VgYT_\",\"row--hide-hours\":\"styles_row--hide-hours__qOCUf\",\"row__wrapper__card--small\":\"styles_row__wrapper__card--small__VQFdA\",\"row__wrapper__label\":\"styles_row__wrapper__label__6J2Uo\",\"row__wrapper__label--small\":\"styles_row__wrapper__label--small__HFGhz\",\"skeleton-animation\":\"styles_skeleton-animation__KCvR0\"};","// 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":["RestrictionDetailsModalLottie","userRestrictions","useSelector","state","restriction","lottieAnimationRef","useLottiePlayer","path","length","autoplay","loop","dependecyArray","jsx_runtime","jsx","div","className","styles","ref","RestrictionDetailsModalDescription","description","p","TransWithDefault","i18nKey","concat","RestrictionDetailsModalRestrictionsDetailsRendererCoinValueItem","param","userRestriction","t","useTranslation","jsxs","FormGroup","label","Image","alt","coin","name","width","height","src","process","image","WalletService","maskCurrency","amount","getMoneyOrAmount","value","hideSymbol","maxValue","Progress","progress","w","size","RestrictionDetailsModalRestrictionsDetailsRenderer","RestrictionCategoryId","categoryId","toString","Deposit","Withdrawal","Spend","Stake","RestrictionDetailsModalRestrictionsDetailsAmount","action","ToolTip","titleComponent","i","includes","RestrictionDetailsModalRestrictionsDetailsDuration","duration","frameId","RestrictionDetailsModalRestrictionsDetailsCategory","icon","useMemo","Details","memo","dispatch","useDispatch","resolvedRestriction","countdouwn","useCountdown","targetDate","Date","cycleEndAt","disabled","onCountdownComplete","setUserRestrictions","values","category","timeFrame","toLowerCase","type","secondary","Counter","countdown","hideDays","days","hideHours","hours","isSmall","isContainerColor","RestrictionDetailsModalRestrictions","RestrictionDetailsModalRestrictionsDetails","find","id","Restrictions","map","Fragment","Renderer","RestrictionDetailsModalContent","onClose","useModal","ModalsKey","UserRestrictionsDetails","push","useRouter","AnimatePresence","presenceAffectsLayout","StaggerAnimation","direction","stagger","staggerDirection","RestrictionDetailsModalRenderer","Button","isSecondary","onClick","RestrictionDetailsModal","ModalWithVersion","title","modal","clearParams","TimePlayed","CounterSkeleton","skeleton","isLoading","minutes","seconds","CounterSekeleton","color","useCardColor","useContainerColor","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","style","components","props","useSettingsStore","Trans","settings","translationComponents","strong","br","ul","li","module","exports"],"sourceRoot":""}