{"version":3,"file":"static/chunks/pages/casino/dice-d91ea9506cbd36a6.js","sources":["webpack://_N_E/./src/modules/games/DiceGame/components/GameSlider/index.ts","webpack://_N_E/./src/modules/games/DiceGame/components/RulesSwitch/RulesSwitch.container.tsx","webpack://_N_E/./src/modules/games/DiceGame/components/RulesSwitch/RulesSwitch.tsx","webpack://_N_E/./src/modules/games/Game/types/RollRule.ts","webpack://_N_E/./src/modules/games/DiceGame/components/GameSlider/GameSlider.container.tsx","webpack://_N_E/./src/modules/games/Game/hooks/useDiceGameSliderValues.ts","webpack://_N_E/./src/modules/games/DiceGame/components/DiceGame.tsx","webpack://_N_E/./src/modules/games/Game/hooks/useIsDiceSingleValue.ts","webpack://_N_E/./src/pages/casino/dice.tsx","webpack://_N_E/?d69e"],"sourceRoot":"","sourcesContent":["import { Loadable } from '@legacyApp/client/components/loader/loadable/loadable';\nimport { GameSliderProps } from './GameSlider';\n\nexport const GameSlider = Loadable<GameSliderProps>(\n\t{\n\t\tloader: () => import(/* webpackChunkName: \"gameSlider\" */ './GameSlider'),\n\t},\n\t'./gameSlider',\n);\n","import { FC, useCallback } from 'react';\nimport { useAppDispatch } from '@legacyApp/hooks/store/useAppDispatch';\nimport { RollRule } from '../../../Game/types/RollRule';\nimport { updateRuleThunk } from '../../../Game/store/dice/thunks/updateRuleThunk';\nimport { useDiceRollRuleSelector } from '../../../Game/store/dice/selectors/useDiceRollRuleSelector';\nimport { RulesSwitch } from './RulesSwitch';\n\nexport const RulesSwitchContainer: FC = () => {\n\tconst dispatch = useAppDispatch();\n\tconst rule = useDiceRollRuleSelector();\n\n\tconst setRule = useCallback(\n\t\t(rule: RollRule) => {\n\t\t\tdispatch(updateRuleThunk(rule));\n\t\t},\n\t\t[dispatch],\n\t);\n\n\treturn <RulesSwitch rule={rule} setRule={setRule} />;\n};\n","import { FC } from 'react';\nimport { Button, CSSClassNameButton, CSSClassNameIcon } from '@ui/button';\nimport styled, { css } from 'styled-components';\nimport { ButtonStyleType } from '@uiTypes/ButtonStyleType';\nimport { Icon } from '@common/components/icons';\nimport { chatViewport } from '@legacyApp/client/modules/style/methods/chatViewport';\nimport { calcStyle } from '@legacyApp/client/modules/style/methods/calcStyle';\nimport { RollRule } from '../../../Game/types/RollRule';\n\nconst rules = Object.keys(RollRule).map((key) => {\n\treturn RollRule[key];\n});\n\nexport const RulesSwitch: FC<{\n\trule: RollRule;\n\tsetRule: (rule: RollRule) => void;\n}> = ({ rule, setRule }) => {\n\treturn (\n\t\t<RulesSwitchStyled>\n\t\t\t{rules.map((rule_) => {\n\t\t\t\treturn (\n\t\t\t\t\t<Button\n\t\t\t\t\t\tdata-mode={rule_}\n\t\t\t\t\t\tkey={rule_}\n\t\t\t\t\t\tstyleType={\n\t\t\t\t\t\t\trule === rule_\n\t\t\t\t\t\t\t\t? ButtonStyleType.PRIMARY\n\t\t\t\t\t\t\t\t: ButtonStyleType.SECONDARY\n\t\t\t\t\t\t}\n\t\t\t\t\t\tonClick={() => setRule(rule_)}\n\t\t\t\t\t\ticonBefore={<Icon id={`dice-rule/${rule_}`} />}\n\t\t\t\t\t\tlabel={<></>}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\t})}\n\t\t</RulesSwitchStyled>\n\t);\n};\n\nexport const RulesSwitchStyled = styled.div`\n\tdisplay: block;\n\tfloat: left;\n\tpadding: 0 15px;\n\twidth: 100%;\n\n\t.${CSSClassNameButton} {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tfloat: left;\n\t\theight: 30px;\n\t\tjustify-content: center;\n\t\tmargin-bottom: 5px;\n\t\tmargin-right: 5px;\n\t\tpadding-left: 10px;\n\t\tpadding-right: 10px;\n\t\ttext-transform: capitalize;\n\t\twidth: 65px;\n\n\t\t.${CSSClassNameIcon} {\n\t\t\tmargin: 0 !important;\n\t\t}\n\n\t\tsvg {\n\t\t\theight: 8px !important;\n\t\t\tmin-height: unset !important;\n\t\t\tmin-width: unset !important;\n\t\t\twidth: 100% !important;\n\t\t}\n\n\t\t&[data-mode='${RollRule.DIRECT}'] {\n\t\t\tsvg {\n\t\t\t\theight: 15px !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t${chatViewport(\n\t\t(viewportPadding) => css`\n\t\t\t@media (max-width: ${(props) =>\n\t\t\t\t\tcalcStyle({\n\t\t\t\t\t\ta: props.theme.media.maxWidthTablet,\n\t\t\t\t\t\tb: viewportPadding,\n\t\t\t\t\t})}) {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t@media (max-width: ${(props) =>\n\t\t\t\t\tcalcStyle({\n\t\t\t\t\t\ta: props.theme.media.maxWidthSmallTablet,\n\t\t\t\t\t\tb: viewportPadding,\n\t\t\t\t\t})}) {\n\t\t\t\t.${CSSClassNameButton} {\n\t\t\t\t\theight: 25px;\n\t\t\t\t\tpadding-left: 5px;\n\t\t\t\t\tpadding-right: 5px;\n\t\t\t\t\twidth: 40px;\n\n\t\t\t\t\tsvg {\n\t\t\t\t\t\theight: 6px !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t&[data-mode='${RollRule.DIRECT}'] {\n\t\t\t\t\t\tsvg {\n\t\t\t\t\t\t\theight: 12px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t`,\n\t)}\n`;\n","export enum RollRule {\n\tDIRECT = 'direct',\n\tUNDER = 'under',\n\tOVER = 'over',\n\tBETWEEN = 'between',\n\tOUTSIDE = 'outside',\n\tTWO_RANGE = 'two_ranges',\n}\n","import React, { FC, useCallback } from 'react';\nimport { useAppDispatch } from '@legacyApp/hooks/store/useAppDispatch';\nimport { useOptionEnabled } from '@common/selectors/options.selectors';\nimport { OPTIONS } from '@legacyApp/client/store/options/options.constants';\nimport { useDiceRollRuleSelector } from '../../../Game/store/dice/selectors/useDiceRollRuleSelector';\nimport { useGameInputDisabled } from '../../../Game/store/game/game.selectors';\nimport { GameType } from '../../../Game/constants/availableGames';\nimport { useDiceGameSliderValues } from '../../../Game/hooks/useDiceGameSliderValues';\nimport { updateBetValueThunk } from '../../../Game/store/dice/thunks/updateBetValue.thunk';\nimport { updatePayoutThunk } from '../../../Game/store/game/thunks/updatePayout.thunk';\nimport { updateWinChanceThunk } from '../../../Game/store/game/thunks/updateWinChance.thunk';\nimport { GameSliderBaseProps } from './GameSlider';\nimport { GameSlider } from './index';\n\nexport const GameSliderContainer: FC<GameSliderBaseProps> = (props) => {\n\tconst { result, className, game, message } = props;\n\n\tconst dispatch = useAppDispatch();\n\n\tconst rule = useDiceRollRuleSelector();\n\tconst disable = useGameInputDisabled(GameType.DICE);\n\tconst disableHotkeys = !useOptionEnabled(OPTIONS.HOTKEYS);\n\tconst animation = useOptionEnabled(OPTIONS.ANIMATION);\n\tconst betValues = useDiceGameSliderValues();\n\n\tconst updateWinChance = useCallback(\n\t\t(winChance, game) => {\n\t\t\tdispatch(updateWinChanceThunk(winChance, game));\n\t\t},\n\t\t[dispatch],\n\t);\n\n\tconst updatePayout = useCallback(\n\t\t(payout, game) => {\n\t\t\tdispatch(updatePayoutThunk(payout, game));\n\t\t},\n\t\t[dispatch],\n\t);\n\n\tconst updateBetValue = useCallback(\n\t\t(valuesArray, rule) => {\n\t\t\tdispatch(updateBetValueThunk(valuesArray, rule));\n\t\t},\n\t\t[dispatch],\n\t);\n\n\treturn (\n\t\t<GameSlider\n\t\t\tupdateWinChance={updateWinChance}\n\t\t\tupdatePayout={updatePayout}\n\t\t\tupdateBetValue={updateBetValue}\n\t\t\tgame={game}\n\t\t\trule={rule}\n\t\t\tbetValues={betValues}\n\t\t\tanimation={animation}\n\t\t\tdisableHotkeys={disableHotkeys}\n\t\t\tdisable={disable}\n\t\t\tresult={result}\n\t\t\tclassName={className}\n\t\t\tmessage={message}\n\t\t/>\n\t);\n};\n","import { useDiceBetValue } from './useDiceBetValue';\n\nexport const useDiceGameSliderValues = (): ReadonlyArray<number> => {\n\tconst betValue = useDiceBetValue();\n\n\tif (typeof betValue === 'number') {\n\t\treturn [betValue];\n\t}\n\n\tif (!betValue) {\n\t\treturn [];\n\t}\n\n\treturn betValue;\n};\n","import React, { FC } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { preventDefault } from '@common/methods/preventDefault';\nimport { calcStyle } from '@legacyApp/client/modules/style/methods/calcStyle';\nimport { chatViewport } from '@legacyApp/client/modules/style/methods/chatViewport';\nimport { GameType } from '@modules/games/Game/constants/availableGames';\nimport {\n\tuseIsDiceDoubleValue,\n\tuseIsDiceSingleValue,\n} from '@modules/games/Game/hooks/useIsDiceSingleValue';\nimport { checkIsWinChanceDisabled } from '@modules/games/Game/methods/checkIsWinChanceDisabled';\nimport { useDiceRollRuleSelector } from '@modules/games/Game/store/dice/selectors/useDiceRollRuleSelector';\nimport { useGameAutoBetIsRolling } from '@modules/games/Game/store/gameAutobet/gameAutobet.selectors';\n\nimport { BetAmountInputContainer } from '@legacyApp/client/components/betAmountInput';\nimport { BetAmountInputWrapper } from '@legacyApp/client/components/betAmountInput/betAmountInput';\nimport { InputWrapperStyle } from '@legacyApp/client/components/input/styled/inputWrapper.style';\nimport {\n\tCSSClassNameLastBetsWrapper,\n\tLastBets,\n} from '@legacyApp/client/components/lastBets/LastBets';\nimport { PayoutInputWrapper } from '@legacyApp/client/components/payoutInput/payoutInput';\nimport { PayoutInputContainer } from '@legacyApp/client/components/payoutInput/payoutInput.container';\nimport { ProfitInputContainer } from '@legacyApp/client/components/profitInput';\nimport { ProfitInputWrapper } from '@legacyApp/client/components/profitInput/profitInput';\nimport { WinChanceInputContainer } from '@legacyApp/client/components/winChanceInput';\nimport { WinChanceInputWrapper } from '@legacyApp/client/components/winChanceInput/winChanceInput';\nimport { StyledGameForm } from '@legacyApp/client/modules/style/components/GameForm.styled';\nimport { BetValueContainer } from '@modules/games/DiceGame/components/BetValue/BetValue.container';\nimport { BetValueInputWrapper } from '@modules/games/DiceGame/components/BetValue/BetValue.styled';\nimport { GameSliderContainer } from '@modules/games/DiceGame/components/GameSlider/GameSlider.container';\nimport { RulesSwitchStyled } from '@modules/games/DiceGame/components/RulesSwitch/RulesSwitch';\nimport { RulesSwitchContainer } from '@modules/games/DiceGame/components/RulesSwitch/RulesSwitch.container';\nimport { AutoBetLayout } from '@modules/games/Game/components/Autobet/AutobetLayout';\nimport { GamePanel } from '@modules/games/Game/components/Game.components/GamePanel/GamePanel';\nimport { GameStats } from '@modules/games/Game/components/Game.components/GameStats';\n\nconst GAME = GameType.DICE;\n\nexport const DiceGame: FC = () => {\n\tconst isAutoBetRolling = useGameAutoBetIsRolling(GAME);\n\n\tconst isSingleValue = useIsDiceSingleValue();\n\n\tconst isDoubleValue = useIsDiceDoubleValue();\n\n\tconst rule = useDiceRollRuleSelector();\n\n\tif (isAutoBetRolling) {\n\t\treturn (\n\t\t\t<AutoBetLayout game={GAME}>\n\t\t\t\t<WinChanceInputContainer\n\t\t\t\t\tisDisabled\n\t\t\t\t\tgame={GAME}\n\t\t\t\t\tlocalTheme={{\n\t\t\t\t\t\twidth: 25,\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t</AutoBetLayout>\n\t\t);\n\t}\n\n\tconst isWinChanceDisabled = checkIsWinChanceDisabled(rule, GAME);\n\n\treturn (\n\t\t<DiceGameStyled className={`game game--${GAME}`}>\n\t\t\t<RulesSwitchContainer />\n\n\t\t\t<LastBets game={GAME} />\n\n\t\t\t<GameSliderContainer game={GAME} />\n\n\t\t\t<DiceGameForm\n\t\t\t\t$isSingleValue={isSingleValue}\n\t\t\t\t$isDoubleValue={isDoubleValue}\n\t\t\t\tnoValidate={true}\n\t\t\t\tonSubmit={preventDefault}\n\t\t\t>\n\t\t\t\t<BetAmountInputContainer game={GAME} />\n\n\t\t\t\t<ProfitInputContainer game={GAME} />\n\n\t\t\t\t<BetValueContainer />\n\n\t\t\t\t<PayoutInputContainer isDisabled={isWinChanceDisabled} game={GAME} />\n\n\t\t\t\t<WinChanceInputContainer isDisabled={isWinChanceDisabled} game={GAME} />\n\t\t\t</DiceGameForm>\n\n\t\t\t<GamePanel game={GAME} />\n\n\t\t\t<GameStats game={GAME} toggleLayoutHeightThreshold={590} />\n\t\t</DiceGameStyled>\n\t);\n};\n\ninterface DiceGameFormProps {\n\t$isSingleValue: boolean;\n\t$isDoubleValue: boolean;\n}\n\nexport const DiceGameForm = styled(StyledGameForm)<DiceGameFormProps>`\n\tdisplay: grid;\n\tgrid-auto-flow: column;\n\tgrid-template-columns: repeat(20, 5%);\n\n\t${InputWrapperStyle} {\n\t\tdisplay: grid;\n\n\t\tinput {\n\t\t\tbox-shadow: 0 0 13px -5px #051a34;\n\t\t}\n\t}\n\n\t${BetAmountInputWrapper} {\n\t\tgrid-column: 1/13;\n\t}\n\n\t${ProfitInputWrapper} {\n\t\tgrid-column: 13/21;\n\t}\n\n\t${PayoutInputWrapper} {\n\t\tgrid-column: ${(props) =>\n\t\t\tprops.$isSingleValue ? '1/7' : props.$isDoubleValue ? '1/6' : '17/21'};\n\t}\n\n\t${WinChanceInputWrapper} {\n\t\tgrid-column: ${(props) =>\n\t\t\tprops.$isSingleValue\n\t\t\t\t? '14/21'\n\t\t\t\t: props.$isDoubleValue\n\t\t\t\t? '16/21'\n\t\t\t\t: '17/21'};\n\t}\n\n\t${BetValueInputWrapper} {\n\t\tgrid-column: ${(props) =>\n\t\t\tprops.$isSingleValue ? '7/14' : props.$isDoubleValue ? '6/16' : '1/17'};\n\t}\n\n\t@media (min-width: ${(props) => props.theme.media.minWidthDesktop}) {\n\t\t${BetAmountInputWrapper} {\n\t\t\tgrid-column: ${(props) =>\n\t\t\t\tprops.$isSingleValue || props.$isDoubleValue ? '1/13' : '1/11'};\n\t\t}\n\n\t\t${ProfitInputWrapper} {\n\t\t\tgrid-column: ${(props) =>\n\t\t\t\tprops.$isSingleValue || props.$isDoubleValue ? '13/21' : '11/17'};\n\t\t}\n\t}\n\n\t@media (max-width: ${(props) => props.theme.media.maxWidthTablet}) {\n\t\t${BetAmountInputWrapper} {\n\t\t\tgrid-column-end: 14;\n\t\t}\n\n\t\t${ProfitInputWrapper} {\n\t\t\tgrid-column: 14/21;\n\t\t}\n\n\t\t${PayoutInputWrapper} {\n\t\t\tgrid-column: ${(props) => (props.$isSingleValue ? '1/7' : '1/11')};\n\t\t}\n\n\t\t${WinChanceInputWrapper} {\n\t\t\tgrid-column: ${(props) => (props.$isSingleValue ? '14/21' : '11/21')};\n\t\t}\n\n\t\t${BetValueInputWrapper} {\n\t\t\tgrid-column: ${(props) => (props.$isSingleValue ? '7/14' : '1/21')};\n\t\t}\n\t}\n`;\n\nexport const DiceGameStyled = styled.div`\n\tpadding-top: 40px !important;\n\n\t${RulesSwitchStyled} {\n\t\tposition: absolute;\n\t\ttop: 15px;\n\t\tz-index: 2;\n\t}\n\n\t@media (min-width: ${(props) => props.theme.media.minWidthDesktop}) {\n\t\t.${CSSClassNameLastBetsWrapper} {\n\t\t\tmargin-bottom: 32px;\n\t\t\tmargin-top: -28px;\n\t\t}\n\t}\n\n\t${chatViewport(\n\t\t(viewportPadding) => css`\n\t\t\t@media (max-width: ${(props) =>\n\t\t\t\t\tcalcStyle({\n\t\t\t\t\t\ta: props.theme.media.maxWidthTablet,\n\t\t\t\t\t\tb: viewportPadding,\n\t\t\t\t\t})}) {\n\t\t\t\t${RulesSwitchStyled} {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tpadding: 0;\n\t\t\t\t\ttop: 0;\n\t\t\t\t\tmargin-bottom: 20px;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@media (max-width: ${(props) =>\n\t\t\t\t\tcalcStyle({\n\t\t\t\t\t\ta: props.theme.media.maxWidthMobile,\n\t\t\t\t\t\tb: viewportPadding,\n\t\t\t\t\t})}) {\n\t\t\t\t${RulesSwitchStyled} {\n\t\t\t\t\tmargin-bottom: 10px;\n\t\t\t\t}\n\t\t\t}\n\t\t`,\n\t)}\n`;\n","import { checkIsSingleValue } from '../methods/checkIsSingleValue';\nimport { useDiceRollRuleSelector } from '../store/dice/selectors/useDiceRollRuleSelector';\nimport { checkIsDoubleValue } from '../methods/checkIsDoubleValue';\n\nexport const useIsDiceSingleValue = (): boolean => {\n\tconst rule = useDiceRollRuleSelector();\n\n\treturn checkIsSingleValue(rule);\n};\n\nexport const useIsDiceDoubleValue = (): boolean => {\n\tconst rule = useDiceRollRuleSelector();\n\n\treturn checkIsDoubleValue(rule);\n};\n","import { Fragment } from 'react';\n\nimport { pageEnhancer } from '@common/hoc/pageEnhancer';\nimport { handleGetStaticProps } from '@legacyApp/methods/router/handleGetStaticProps';\nimport { Redirect } from '@common/components/default/Redirect/Redirect';\nimport { GameJsonLd } from '@common/components/seo/GameJsonLd';\nimport { DiceGame } from '@modules/games/DiceGame/components/DiceGame';\nimport { ROUTING_ID } from '@common/constants/routing/ids.routing.constants';\nimport { TransNamespace } from '@legacyApp/client/modules/translation/TransNamespace';\nimport { DEFAULT_NAMESPACE } from '@legacyApp/client/modules/translation/translate.constants';\nimport { GameType } from '@modules/games/Game/constants/availableGames';\nimport { GameLoaded } from '@modules/games/Game/components/GameLoaded';\nimport GameLayout from '@common/components/games/GameWrapper/GameWrapper';\nimport { getPageData } from '@modules/cmsHandler/methods/getPageData';\nimport { getBreadcrumbsCasino, getBreadcrumbsCasinoGame } from '@pages/casino';\n\nconst pageDescription = {\n\toptions: {\n\t\tnoParagraphTranslate: true,\n\t\tnoTitleIndex: true,\n\t\tnoParagraphIndex: true,\n\t\ttoggle: true,\n\t},\n\ttitle: 'Bitcoin Dice Game',\n\tnamespace: 'dicePageContent',\n\tcontent: [\n\t\t{\n\t\t\ttitle: 'question1',\n\t\t\tparagraphs: [['answer1-1'], ['answer1-2'], ['answer1-3'], ['answer1-4']],\n\t\t},\n\t\t{\n\t\t\ttitle: 'question2',\n\t\t\tparagraphs: [\n\t\t\t\t['answer2-1'],\n\t\t\t\t[\n\t\t\t\t\t{\n\t\t\t\t\t\tmessage: 'answer2-2',\n\t\t\t\t\t\tcomponents: (\n\t\t\t\t\t\t\t<Fragment key={'youtube-link'}>\n\t\t\t\t\t\t\t\tWe have also made a video quickly explaining how to play Bitcoin\n\t\t\t\t\t\t\t\tdice, you can\n\t\t\t\t\t\t\t\t<Redirect\n\t\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\t\trel=\"noreferrer\"\n\t\t\t\t\t\t\t\t\tclassName=\"text-underline\"\n\t\t\t\t\t\t\t\t\thref=\"https://youtu.be/mrxa0jJrHEQ\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<>check it here</>\n\t\t\t\t\t\t\t\t</Redirect>\n\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t),\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t],\n\t\t},\n\t\t{\n\t\t\ttitle: 'question3',\n\t\t\tparagraphs: [\n\t\t\t\t['answer3-1'],\n\t\t\t\t['answer3-2'],\n\t\t\t\t{\n\t\t\t\t\ttitle: 'answer3-3-title',\n\t\t\t\t\tlist: ['answer3-3-list1', 'answer3-3-list2'],\n\t\t\t\t},\n\t\t\t\t['answer3-4'],\n\t\t\t],\n\t\t},\n\t],\n};\n\nconst PAGE_ID = ROUTING_ID.GAME;\nconst NO_INDEX = false;\n\nconst getBreadcrumbs = (locale) => [\n\t...getBreadcrumbsCasino(locale),\n\tgetBreadcrumbsCasinoGame(locale, GameType.DICE),\n];\n\nexport async function getStaticProps(props) {\n\tconst { page_content } = await getPageData(\n\t\t`${PAGE_ID}/${GameType.DICE}`,\n\t\tprops.locale,\n\t);\n\n\treturn await handleGetStaticProps(\n\t\t{\n\t\t\tlocale: props.locale,\n\t\t\tparams: {\n\t\t\t\t...props.params,\n\t\t\t\tpage_content,\n\t\t\t},\n\t\t},\n\t\t[DEFAULT_NAMESPACE, TransNamespace.DICE_PAGE_CONTENT],\n\t);\n}\n\nexport default pageEnhancer(\n\t({ params }) => (\n\t\t<GameLayout\n\t\t\ttitle={'Bitcoin Dice - BTC & Crypto Dice Game'}\n\t\t\tseoProps={{\n\t\t\t\tnoindex: NO_INDEX,\n\t\t\t\tnofollow: NO_INDEX,\n\t\t\t}}\n\t\t\tpageParams={params}\n\t\t>\n\t\t\t<GameLoaded loaded={true}>\n\t\t\t\t<DiceGame />\n\t\t\t</GameLoaded>\n\t\t</GameLayout>\n\t),\n\t{\n\t\tid: PAGE_ID,\n\t\tpageDescription,\n\t\tnoSeo: true,\n\t\tstructuredData: (locale) => (\n\t\t\t<GameJsonLd\n\t\t\t\tid={GameType.DICE}\n\t\t\t\titemListElements={getBreadcrumbs(locale)}\n\t\t\t/>\n\t\t),\n\t\tgetBreadcrumbs,\n\t},\n);\n","\n    (window.__NEXT_P = window.__NEXT_P || []).push([\n      \"/casino/dice\",\n      function () {\n        return require(\"private-next-pages/casino/dice.tsx\");\n      }\n    ]);\n    if(module.hot) {\n      module.hot.dispose(function () {\n        window.__NEXT_P.push([\"/casino/dice\"])\n      });\n    }\n  "],"names":["GameSlider","Loadable","loader","RulesSwitchContainer","dispatch","useAppDispatch","rule","useDiceRollRuleSelector","setRule","useCallback","updateRuleThunk","rules","Object","keys","RollRule","map","key","RulesSwitch","RulesSwitchStyled","rule_","styleType","ButtonStyleType","onClick","iconBefore","id","label","styled","CSSClassNameButton","CSSClassNameIcon","chatViewport","viewportPadding","css","props","calcStyle","a","theme","media","maxWidthTablet","b","maxWidthSmallTablet","GameSliderContainer","result","className","game","message","disable","useGameInputDisabled","GameType","disableHotkeys","useOptionEnabled","OPTIONS","animation","betValues","betValue","useDiceBetValue","useDiceGameSliderValues","updateWinChance","winChance","updateWinChanceThunk","updatePayout","payout","updatePayoutThunk","updateBetValue","valuesArray","updateBetValueThunk","GAME","DiceGame","isAutoBetRolling","useGameAutoBetIsRolling","isSingleValue","checkIsSingleValue","useIsDiceSingleValue","isDoubleValue","checkIsDoubleValue","useIsDiceDoubleValue","isDisabled","localTheme","width","isWinChanceDisabled","checkIsWinChanceDisabled","DiceGameStyled","LastBets","DiceGameForm","$isSingleValue","$isDoubleValue","noValidate","onSubmit","preventDefault","GamePanel","GameStats","toggleLayoutHeightThreshold","StyledGameForm","InputWrapperStyle","BetAmountInputWrapper","ProfitInputWrapper","PayoutInputWrapper","WinChanceInputWrapper","BetValueInputWrapper","minWidthDesktop","CSSClassNameLastBetsWrapper","maxWidthMobile","pageDescription","options","noParagraphTranslate","noTitleIndex","noParagraphIndex","toggle","title","namespace","content","paragraphs","components","Fragment","Redirect","target","rel","href","list","PAGE_ID","ROUTING_ID","getBreadcrumbs","locale","getBreadcrumbsCasino","getBreadcrumbsCasinoGame","pageEnhancer","params","seoProps","noindex","nofollow","pageParams","GameLoaded","loaded","noSeo","structuredData","GameJsonLd","itemListElements","window","__NEXT_P","push"],"mappings":";;wIAGaA,GAAaC,E,SAAAA,GACzB,CACCC,OAAQ,kBAAM,wEAEf,iB,yICAYC,EAA2B,WACvC,IAAMC,GAAWC,EAAAA,EAAAA,KACXC,GAAOC,EAAAA,EAAAA,KAEPC,GAAUC,EAAAA,EAAAA,cACf,SAACH,GACAF,GAASM,EAAAA,EAAAA,GAAgBJ,MAE1B,CAACF,IAGF,OAAO,SAAC,IAAD,CAAaE,KAAMA,EAAME,QAASA,M,oLCTpCG,EAAQC,OAAOC,KAAKC,EAAAA,GAAUC,KAAI,SAACC,GACxC,OAAOF,EAAAA,EAASE,MAGJC,EAGR,SAAC,GAAsB,IAApBX,EAAoB,EAApBA,KAAME,EAAc,EAAdA,QACb,OACC,SAACU,EAAD,UACEP,EAAMI,KAAI,SAACI,GACX,OACC,SAAC,KAAD,CACC,YAAWA,EAEXC,UACCd,IAASa,EACNE,EAAAA,EAAAA,QACAA,EAAAA,EAAAA,UAEJC,QAAS,kBAAMd,EAAQW,IACvBI,YAAY,SAAC,IAAD,CAAMC,GAAE,oBAAeL,KACnCM,OAAO,yBARFN,SAgBED,EAAoBQ,EAAAA,GAAAA,IAAAA,WAAH,4DAAGA,CAAH,8aAM1BC,EAAAA,GAaCC,EAAAA,GAWYd,EAAAA,EAAAA,QAOde,EAAAA,EAAAA,IAC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