{"version":3,"file":"static/chunks/pages/casino/hilo-a2bec47d5e205400.js","sources":["webpack://_N_E/./src/LegacyApp/client/components/carousel/Carousel.styled.ts","webpack://_N_E/./src/LegacyApp/client/components/carousel/Carousel.global.styled.ts","webpack://_N_E/./src/LegacyApp/client/components/carousel/Carousel.tsx","webpack://_N_E/./src/LegacyApp/client/components/tooltip/tooltip.jsx","webpack://_N_E/./src/modules/games/Game/components/Game.components/GamePanel/gamePanel.styled.ts","webpack://_N_E/./src/modules/games/Game/store/hilo/hilo.actions.js","webpack://_N_E/./src/modules/games/Game/store/hilo/hilo.constants.js","webpack://_N_E/./src/modules/games/Game/store/hilo/thunks/hiloClearSession.thunk.ts","webpack://_N_E/./src/modules/games/Game/types/RollRule.ts","webpack://_N_E/./src/modules/games/HiloGame/CardsTile/CardsTile.styled.js","webpack://_N_E/./src/modules/games/HiloGame/CardsTile/cardsTile.jsx","webpack://_N_E/./src/modules/games/HiloGame/CardsTile/cardsTile.container.js","webpack://_N_E/./src/modules/games/Game/store/hilo/hilo.selectors.ts","webpack://_N_E/./src/modules/games/HiloGame/DecisionButton/getName.ts","webpack://_N_E/./src/modules/games/HiloGame/DecisionButton/DecisionButton.styled.ts","webpack://_N_E/./src/modules/games/HiloGame/DecisionButton/DecisionButton.tsx","webpack://_N_E/./src/modules/games/HiloGame/DecisionButtons.tsx","webpack://_N_E/./src/modules/games/HiloGame/HiloGame.styled.js","webpack://_N_E/./src/modules/games/HiloGame/HiloController/hiloController.styled.js","webpack://_N_E/./src/modules/games/HiloGame/HiloController/HiloBetButton.tsx","webpack://_N_E/./node_modules/rooks/dist/esm/hooks/useOutsideClick.js","webpack://_N_E/./public/img/main/cashout.svg","webpack://_N_E/./src/modules/games/HiloGame/HiloController/hiloController.jsx","webpack://_N_E/./src/modules/games/HiloGame/HiloController/hiloController.container.js","webpack://_N_E/./src/modules/games/HiloGame/HiloSession/hiloSession.container.js","webpack://_N_E/./src/modules/games/HiloGame/HiloSummary/HiloSummary.styled.js","webpack://_N_E/./src/modules/games/HiloGame/HiloSummary/hiloSummary.jsx","webpack://_N_E/./src/modules/games/HiloGame/HiloSummary/hiloSummary.container.js","webpack://_N_E/./src/modules/games/HiloGame/HiloGame.jsx","webpack://_N_E/./src/modules/games/HiloGame/HiloGame.container.js","webpack://_N_E/./src/pages/casino/hilo.tsx","webpack://_N_E/?1988","webpack://_N_E/./node_modules/rooks/dist/esm/utils/noop.js"],"sourceRoot":"","sourcesContent":["import styled, { css } from 'styled-components';\nimport { Carousel } from 'react-responsive-carousel-2';\nimport { controlArrow } from '@common/components/layout/ScrollCards/ScrollCards.styled';\nimport { CarouselProps } from './Carousel.type';\n\nexport const StyledCarousel = styled(Carousel)`\n\t${(props) =>\n\t\tprops.autoHeight\n\t\t\t? css`\n\t\t\t\t\t.slider-wrapper,\n\t\t\t\t\t.slider {\n\t\t\t\t\t\theight: auto !important;\n\t\t\t\t\t}\n\t\t\t `\n\t\t\t: ''}\n\n\t.carousel-slider {\n\t\toverflow: unset !important;\n\t}\n\n\t.slide {\n\t\tbackground-color: transparent !important;\n\t}\n\n\t.control-dots {\n\t\tbottom: -26px !important;\n\t\tfont-size: 0 !important;\n\n\t\t.dot {\n\t\t\tbackground-color: ${(props) => props.theme.colors.active} !important;\n\t\t\tborder-radius: 10px !important;\n\t\t\tbox-shadow: 0 0 5px ${(props) => props.theme.colors.inputBackgroundSolid} !important;\n\t\t\theight: 5px !important;\n\t\t\tmargin: 0 3px !important;\n\t\t\topacity: 1;\n\t\t\toverflow: hidden !important;\n\t\t\twidth: 35px !important;\n\n\t\t\t&.selected {\n\t\t\t\topacity: 0.3;\n\t\t\t}\n\t\t}\n\t}\n\n\t.control-arrow {\n\t\t${controlArrow};\n\t}\n`;\n","import { createGlobalStyle } from 'styled-components';\n// import 'react-responsive-carousel/lib/styles/carousel.min.css';\nimport { ThemeType } from '../../modules/style/theme';\n\nexport const StyledCarouselGlobal = createGlobalStyle<{ theme: ThemeType }>`\n\t/********************************************\n\tBREAKPOINT WIDTHS\n********************************************/\n\t/********************************************\n\t\tFONTS\n\t********************************************/\n\t/********************************************\n\t\tCOLOURS\n\t********************************************/\n\t.carousel .control-arrow, .carousel.carousel-slider .control-arrow {\n\t\t-webkit-transition: all 0.25s ease-in;\n\t\t-moz-transition: all 0.25s ease-in;\n\t\t-ms-transition: all 0.25s ease-in;\n\t\t-o-transition: all 0.25s ease-in;\n\t\ttransition: all 0.25s ease-in;\n\t\topacity: 0.4;\n\t\tfilter: alpha(opacity=40);\n\t\tposition: absolute;\n\t\tz-index: 2;\n\t\ttop: 20px;\n\t\tbackground: none;\n\t\tborder: 0;\n\t\tfont-size: 32px;\n\t\tcursor: pointer; }\n\t.carousel .control-arrow:focus, .carousel .control-arrow:hover {\n\t\topacity: 1;\n\t\tfilter: alpha(opacity=100); }\n\t.carousel .control-arrow:before, .carousel.carousel-slider .control-arrow:before {\n\t\tmargin: 0 5px;\n\t\tdisplay: inline-block;\n\t\tborder-top: 8px solid transparent;\n\t\tborder-bottom: 8px solid transparent;\n\t\tcontent: ''; }\n\t.carousel .control-disabled.control-arrow {\n\t\topacity: 0;\n\t\tfilter: alpha(opacity=0);\n\t\tcursor: inherit;\n\t\tdisplay: none; }\n\t.carousel .control-prev.control-arrow {\n\t\tleft: 0; }\n\t.carousel .control-prev.control-arrow:before {\n\t\tborder-right: 8px solid #fff; }\n\t.carousel .control-next.control-arrow {\n\t\tright: 0; }\n\t.carousel .control-next.control-arrow:before {\n\t\tborder-left: 8px solid #fff; }\n\n\t.carousel-root {\n\t\toutline: none; }\n\n\t.carousel {\n\t\tposition: relative;\n\t\twidth: 100%; }\n\t.carousel * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box; }\n\t.carousel img {\n\t\twidth: 100%;\n\t\tdisplay: inline-block;\n\t\tpointer-events: none; }\n\t.carousel .carousel {\n\t\tposition: relative; }\n\t.carousel .control-arrow {\n\t\toutline: 0;\n\t\tborder: 0;\n\t\tbackground: none;\n\t\ttop: 50%;\n\t\tmargin-top: -13px;\n\t\tfont-size: 18px; }\n\t.carousel .thumbs-wrapper {\n\t\tmargin: 20px;\n\t\toverflow: hidden; }\n\t.carousel .thumbs {\n\t\t-webkit-transition: all 0.15s ease-in;\n\t\t-moz-transition: all 0.15s ease-in;\n\t\t-ms-transition: all 0.15s ease-in;\n\t\t-o-transition: all 0.15s ease-in;\n\t\ttransition: all 0.15s ease-in;\n\t\t-webkit-transform: translate3d(0, 0, 0);\n\t\t-moz-transform: translate3d(0, 0, 0);\n\t\t-ms-transform: translate3d(0, 0, 0);\n\t\t-o-transform: translate3d(0, 0, 0);\n\t\ttransform: translate3d(0, 0, 0);\n\t\tposition: relative;\n\t\tlist-style: none;\n\t\twhite-space: nowrap; }\n\t.carousel .thumb {\n\t\t-webkit-transition: border 0.15s ease-in;\n\t\t-moz-transition: border 0.15s ease-in;\n\t\t-ms-transition: border 0.15s ease-in;\n\t\t-o-transition: border 0.15s ease-in;\n\t\ttransition: border 0.15s ease-in;\n\t\tdisplay: inline-block;\n\t\tmargin-right: 6px;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\tborder: 3px solid #fff;\n\t\tpadding: 2px; }\n\t.carousel .thumb:focus {\n\t\tborder: 3px solid #ccc;\n\t\toutline: none; }\n\t.carousel .thumb.selected, .carousel .thumb:hover {\n\t\tborder: 3px solid #333; }\n\t.carousel .thumb img {\n\t\tvertical-align: top; }\n\t.carousel.carousel-slider {\n\t\tposition: relative;\n\t\tmargin: 0;\n\t\toverflow: hidden; }\n\t.carousel.carousel-slider .control-arrow {\n\t\ttop: 0;\n\t\tcolor: #fff;\n\t\tfont-size: 26px;\n\t\tbottom: 0;\n\t\tmargin-top: 0;\n\t\tpadding: 5px; }\n\t.carousel.carousel-slider .control-arrow:hover {\n\t\tbackground: rgba(0, 0, 0, 0.2); }\n\t.carousel .slider-wrapper {\n\t\toverflow: hidden;\n\t\tmargin: auto;\n\t\twidth: 100%;\n\t\t-webkit-transition: height 0.15s ease-in;\n\t\t-moz-transition: height 0.15s ease-in;\n\t\t-ms-transition: height 0.15s ease-in;\n\t\t-o-transition: height 0.15s ease-in;\n\t\ttransition: height 0.15s ease-in; }\n\t.carousel .slider-wrapper.axis-horizontal .slider {\n\t\t-ms-box-orient: horizontal;\n\t\tdisplay: -webkit-box;\n\t\tdisplay: -moz-box;\n\t\tdisplay: -ms-flexbox;\n\t\tdisplay: -moz-flex;\n\t\tdisplay: -webkit-flex;\n\t\tdisplay: flex; }\n\t.carousel .slider-wrapper.axis-horizontal .slider .slide {\n\t\tflex-direction: column;\n\t\tflex-flow: column; }\n\t.carousel .slider-wrapper.axis-vertical {\n\t\t-ms-box-orient: horizontal;\n\t\tdisplay: -webkit-box;\n\t\tdisplay: -moz-box;\n\t\tdisplay: -ms-flexbox;\n\t\tdisplay: -moz-flex;\n\t\tdisplay: -webkit-flex;\n\t\tdisplay: flex; }\n\t.carousel .slider-wrapper.axis-vertical .slider {\n\t\t-webkit-flex-direction: column;\n\t\tflex-direction: column; }\n\t.carousel .slider {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tposition: relative;\n\t\tlist-style: none;\n\t\twidth: 100%; }\n\t.carousel .slider.animated {\n\t\t-webkit-transition: all 0.35s ease-in-out;\n\t\t-moz-transition: all 0.35s ease-in-out;\n\t\t-ms-transition: all 0.35s ease-in-out;\n\t\t-o-transition: all 0.35s ease-in-out;\n\t\ttransition: all 0.35s ease-in-out; }\n\t.carousel .slide {\n\t\tmin-width: 100%;\n\t\tmargin: 0;\n\t\tposition: relative;\n\t\ttext-align: center; }\n\t.carousel .slide img {\n\t\twidth: 100%;\n\t\tvertical-align: top;\n\t\tborder: 0; }\n\t.carousel .slide iframe {\n\t\tdisplay: inline-block;\n\t\twidth: calc(100% - 80px);\n\t\tmargin: 0 40px 40px;\n\t\tborder: 0; }\n\t.carousel .slide .legend {\n\t\t-webkit-transition: all 0.5s ease-in-out;\n\t\t-moz-transition: all 0.5s ease-in-out;\n\t\t-ms-transition: all 0.5s ease-in-out;\n\t\t-o-transition: all 0.5s ease-in-out;\n\t\ttransition: all 0.5s ease-in-out;\n\t\tposition: absolute;\n\t\tbottom: 40px;\n\t\tleft: 50%;\n\t\tmargin-left: -45%;\n\t\twidth: 90%;\n\t\tborder-radius: 10px;\n\t\tbackground: #000;\n\t\tcolor: #fff;\n\t\tpadding: 10px;\n\t\tfont-size: 12px;\n\t\ttext-align: center;\n\t\topacity: 0.25;\n\t\t-webkit-transition: opacity 0.35s ease-in-out;\n\t\t-moz-transition: opacity 0.35s ease-in-out;\n\t\t-ms-transition: opacity 0.35s ease-in-out;\n\t\t-o-transition: opacity 0.35s ease-in-out;\n\t\ttransition: opacity 0.35s ease-in-out; }\n\t.carousel .control-dots {\n\t\tposition: absolute;\n\t\tbottom: 0;\n\t\tmargin: 10px 0;\n\t\tpadding: 0;\n\t\ttext-align: center;\n\t\twidth: 100%;\n\t\tz-index: 1; }\n\t@media (min-width: 960px) {\n\t\t.carousel .control-dots {\n\t\t\tbottom: 0; } }\n\t.carousel .control-dots .dot {\n\t\t-webkit-transition: opacity 0.25s ease-in;\n\t\t-moz-transition: opacity 0.25s ease-in;\n\t\t-ms-transition: opacity 0.25s ease-in;\n\t\t-o-transition: opacity 0.25s ease-in;\n\t\ttransition: opacity 0.25s ease-in;\n\t\topacity: 0.3;\n\t\tfilter: alpha(opacity=30);\n\t\tbox-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);\n\t\tbackground: #fff;\n\t\tborder-radius: 50%;\n\t\twidth: 8px;\n\t\theight: 8px;\n\t\tcursor: pointer;\n\t\tdisplay: inline-block;\n\t\tmargin: 0 8px; }\n\t.carousel .control-dots .dot.selected, .carousel .control-dots .dot:hover {\n\t\topacity: 1;\n\t\tfilter: alpha(opacity=100); }\n\t.carousel .carousel-status {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t\tpadding: 5px;\n\t\tfont-size: 10px;\n\t\ttext-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);\n\t\tcolor: #fff; }\n\t.carousel:hover .slide .legend {\n\t\topacity: 1; }\n\n`;\n","import { FC, Fragment } from 'react';\nimport { StyledCarousel } from './Carousel.styled';\nimport { StyledCarouselGlobal } from './Carousel.global.styled';\nimport { CarouselProps } from './Carousel.type';\n\n// https://github.com/leandrowd/react-responsive-carousel\n\nconst defaultProps: CarouselProps = {\n\tshowArrows: true,\n\tshowStatus: false,\n\tshowIndicators: true,\n\tinfiniteLoop: true,\n\tshowThumbs: false,\n\tuseKeyboardArrows: true,\n\tautoPlay: false,\n\tstopOnHover: true,\n\tswipeable: true,\n\tdynamicHeight: true,\n\temulateTouch: true,\n\tautoFocus: false,\n\tthumbWidth: 100,\n\tselectedItem: 0,\n\tinterval: 5000,\n\ttransitionTime: 300,\n\tswipeScrollTolerance: 100,\n\tautoHeight: true,\n};\n\ninterface Props extends CarouselProps {\n\tsections: ReadonlyArray<{\n\t\tid: string;\n\t\tel: JSX.Element;\n\t}>;\n}\n\nexport const Carousel: FC = ({ sections, ...props }) => {\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\n\t\t\t\t{sections.map((el) => (\n\t\t\t\t\t{el.el}\n\t\t\t\t))}\n\t\t\t\n\t\t\n\t);\n};\n","import 'tippy.js/dist/tippy.css';\n\nimport React, { Children } from 'react';\nimport PropTypes from 'prop-types';\nimport Tippy from '@tippyjs/react';\nimport { connect } from 'react-redux';\nimport ResizeObserver from 'resize-observer-polyfill';\nimport classnames from 'classnames';\n\nimport { isFunction } from '@common/methods/isFunction';\nimport { trans } from '@legacyApp/client/modules/translation/translate';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\n\nTippy.defaultProps = {\n\t...Tippy.defaultProps,\n\tarrow: true,\n};\n\nclass ChildrenWithInstance extends React.PureComponent {\n\tstatic propTypes = {\n\t\tchildren: PropTypes.any,\n\t\tinstance: PropTypes.any,\n\t};\n\n\trender() {\n\t\treturn Children.map(this.props.children, (child) => {\n\t\t\t// console.log({child, instance: this.props.instance});\n\t\t\treturn React.cloneElement(child, {\n\t\t\t\ttippyinstance: this.props.instance,\n\t\t\t\t...child.props,\n\t\t\t});\n\t\t});\n\t}\n}\n\nclass Tooltip extends React.PureComponent {\n\tstatic propTypes = {\n\t\tlocalTheme: PropTypes.any,\n\t\tcontent: PropTypes.any,\n\t\tisVisible: PropTypes.any,\n\t\tvisible: PropTypes.any,\n\t\tenabled: PropTypes.bool,\n\t\thideOnClick: PropTypes.any,\n\t\tchildren: PropTypes.any,\n\t\tpassInstance: PropTypes.bool,\n\t\thandleComponentError: PropTypes.func,\n\t\tmodal: PropTypes.any,\n\t\tonModal: PropTypes.bool,\n\t\tdispatch: PropTypes.func,\n\t\tmobile: PropTypes.bool,\n\t\tmobileEnable: PropTypes.bool,\n\t\tnamespace: PropTypes.string,\n\t\tchatVisible: PropTypes.bool,\n\t\tsideMenuVisible: PropTypes.bool,\n\t\tzIndex: PropTypes.number,\n\t\tclassName: PropTypes.string,\n\t\tcloseOnScrollElemClass: PropTypes.string,\n\t};\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tinstance: '',\n\t\t\tforceHide: false,\n\t\t};\n\t\tthis.modalResizeObserver =\n\t\t\tprocess.browser && ResizeObserver\n\t\t\t\t? new ResizeObserver(() => {\n\t\t\t\t\t\tthis.popperForceUpdate();\n\t\t\t\t })\n\t\t\t\t: null;\n\t\tthis.strategy = React.createRef();\n\t\tthis.element = React.createRef();\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.setForceHide();\n\t\tthis.setOnModalResize();\n\t\tthis.closeOnScrollEventAdd();\n\t}\n\n\tcomponentWillUnmount() {\n\t\tconst modalElement = this.getModalElement();\n\t\tif (modalElement && isFunction(this.modalResizeObserver?.unobserve)) {\n\t\t\tthis.modalResizeObserver.unobserve(modalElement);\n\t\t}\n\n\t\tthis.closeOnScrollEventRemove();\n\t}\n\n\tsetInstance = (instance) => {\n\t\tthis.setState({\n\t\t\tinstance,\n\t\t});\n\t};\n\n\tcomponentDidUpdate(prevProps) {\n\t\tif (\n\t\t\tprevProps.modal !== this.props.modal ||\n\t\t\tprevProps.mobile !== this.props.mobile ||\n\t\t\tprevProps.chatVisible !== this.props.chatVisible ||\n\t\t\tprevProps.sideMenuVisible !== this.props.sideMenuVisible\n\t\t) {\n\t\t\tthis.popperForceUpdate();\n\t\t\tthis.setForceHide();\n\t\t}\n\n\t\tif (\n\t\t\tprevProps.content !== this.props.content ||\n\t\t\t!!prevProps.visible !== !!this.props.visible\n\t\t) {\n\t\t\tthis.setOnModalResize();\n\t\t}\n\t}\n\n\tisOnModal = () => {\n\t\treturn typeof this.props.onModal === 'boolean'\n\t\t\t? this.props.onModal\n\t\t\t: this.getModalElement();\n\t};\n\n\tgetModalElement = () => {\n\t\treturn this.element.current ? this.element.current.closest('.modal') : null;\n\t};\n\n\tpopperForceUpdate = () => {\n\t\tsetTimeout(() => {\n\t\t\tif (isFunction(this.state.instance?.popperInstance?.forceUpdate)) {\n\t\t\t\tthis.state.instance.popperInstance.forceUpdate();\n\t\t\t}\n\t\t}, 300);\n\t};\n\n\tsetOnModalResize = () => {\n\t\tconst modalElement = this.getModalElement();\n\t\tif (modalElement && isFunction(this.modalResizeObserver?.observe)) {\n\t\t\tthis.modalResizeObserver.observe(modalElement);\n\t\t}\n\t};\n\n\tsetForceHide = () => {\n\t\tconst onModal = this.isOnModal();\n\t\tthis.setState({\n\t\t\tforceHide:\n\t\t\t\t(this.props.modal && !onModal) ||\n\t\t\t\t(!onModal &&\n\t\t\t\t\tthis.props.mobile &&\n\t\t\t\t\t(this.props.chatVisible || this.props.sideMenuVisible)),\n\t\t});\n\t};\n\n\tonShown = () => {\n\t\tconst input = this.element?.current?.querySelector?.('input');\n\t\tif (!input) {\n\t\t\treturn;\n\t\t}\n\t\tconst isInputFocus = document.activeElement === input;\n\t\tif (!isInputFocus) {\n\t\t\tinput.focus();\n\t\t}\n\t};\n\n\tcloseOnScroll = () => {\n\t\tif (this.state.instance.state.isVisible) {\n\t\t\tthis.state.instance.hide();\n\t\t}\n\t};\n\n\tcloseOnScrollEventAdd = () => {\n\t\tif (!this.props.closeOnScrollElemClass) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst elem = document.querySelector(\n\t\t\t`.${this.props.closeOnScrollElemClass}`,\n\t\t);\n\n\t\telem?.addEventListener('scroll', this.closeOnScroll, false);\n\t};\n\n\tcloseOnScrollEventRemove = () => {\n\t\tif (!this.props.closeOnScrollElemClass) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst elem = document.querySelector(\n\t\t\t`.${this.props.closeOnScrollElemClass}`,\n\t\t);\n\n\t\telem?.removeEventListener('scroll', this.closeOnScroll, false);\n\t};\n\n\trender() {\n\t\tconst {\n\t\t\tchildren,\n\t\t\tpassInstance,\n\t\t\tlocalTheme,\n\t\t\tnamespace,\n\t\t\tclassName,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tdelete props.handleComponentError;\n\t\tdelete props.modal;\n\t\tdelete props.className;\n\t\tdelete props.dispatch;\n\t\tdelete props.onModal;\n\t\tdelete props.mobile;\n\t\tdelete props.mobileEnable;\n\t\tdelete props.chatVisible;\n\t\tdelete props.sideMenuVisible;\n\t\tdelete props.closeOnScrollElemClass;\n\n\t\tif (!children) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!props.content || typeof props.content === 'boolean') {\n\t\t\treturn children;\n\t\t}\n\n\t\tif (\n\t\t\t(props.content &&\n\t\t\t\ttypeof props.content === 'object' &&\n\t\t\t\t('message' in props.content || 'values' in props.content)) ||\n\t\t\tnamespace\n\t\t) {\n\t\t\tprops.content = trans({ label: props.content, namespace });\n\t\t}\n\n\t\tconst content = (\n\t\t\t
\n\t\t\t\t{passInstance && (\n\t\t\t\t\t\n\t\t\t\t\t\t{children}\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\t{!passInstance && children}\n\t\t\t
\n\t\t);\n\n\t\tif (\n\t\t\tthis.state.forceHide ||\n\t\t\t(this.props.mobile &&\n\t\t\t\tthis.props.localTheme !== 'error' &&\n\t\t\t\t!this.props.mobileEnable &&\n\t\t\t\t!passInstance)\n\t\t) {\n\t\t\treturn content;\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{content}\n\t\t\t\n\t\t);\n\t}\n}\n\nTooltip = enhanceComponent({\n\tTooltip,\n});\n\nconst mapStateToProps = (state) => {\n\treturn {\n\t\tmodal: !!state.modal?.id,\n\t\tmobile: state.app.mobile,\n\t\t// TODO: chat store usage\n\t\tchatVisible: state?.chat?.visible,\n\t\tsideMenuVisible: state?.app?.isSideMenuVisible,\n\t};\n};\n//\n// const mapDispatchToProps = (dispatch) => {\n// return {\n// };\n// };\n\nTooltip = connect(mapStateToProps, null)(Tooltip);\n\nexport default Tooltip;\n","import styled, { css } from 'styled-components';\nimport { box, noclick } from '@legacyApp/client/modules/style/defaults';\nimport { LoadingLogo } from '@legacyApp/client/components/loadingLogo/loading';\n\nexport const StyledGamePanel = styled.div<{\n\t$settingsAsList?: boolean;\n}>`\n\t${box};\n\talign-items: center;\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 24px;\n\tjustify-content: center;\n\tposition: relative;\n`;\n\nexport const StyledGamePanelButton = css`\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: flex;\n\tjustify-content: center;\n`;\n\nexport const StyledGamePanelButtonMain = styled.div<{\n\t$clicked?: boolean;\n\tname?: string;\n\t$isDisabled?: boolean;\n\t$isNoClick?: boolean;\n\t$isAutoBetRolling?: boolean;\n\tonClick: any;\n}>`\n\t${StyledGamePanelButton};\n\tbackground: linear-gradient(55deg, #4dca77 6.79%, #18d458 94.06%);\n\tborder: 1px solid var(--misc-border, #406aa3);\n\tborder-radius: 64px;\n\tcolor: var(--White, #fff);\n\tfont-family: Maven Pro, sans-serif;\n\tfont-size: 20px;\n\tfont-style: normal;\n\tfont-weight: 700;\n\theight: 15vw;\n\tletter-spacing: 0.3px;\n\tline-height: 30px;\n\tmax-height: 55px;\n\tmax-width: 150px; /* 150% */\n\tposition: relative;\n\ttext-align: center;\n\ttext-transform: uppercase;\n\twidth: 40vw;\n\tz-index: 2;\n\n\t${(props) =>\n\t\tprops.$isDisabled\n\t\t\t? css`\n\t\t\t\t\tbackground: linear-gradient(55deg, #3b9b5b 6.79%, #11963e 94.06%);\n\t\t\t\t\tcolor: var(--color-white-white-50);\n\t\t\t\t\tcursor: default;\n\t\t\t `\n\t\t\t: ''};\n\n\t${(props) =>\n\t\tprops.$isAutoBetRolling\n\t\t\t? css`\n\t\t\t\t\tposition: relative;\n\t\t\t `\n\t\t\t: ''};\n\n\t${(props) =>\n\t\tprops.$isNoClick\n\t\t\t? css`\n\t\t\t\t\t${noclick}\n\t\t\t `\n\t\t\t: ''};\n\n\t@media (min-width: ${(props) => props.theme.media.minWidthDesktop}) {\n\t\tmax-height: 64px;\n\t\tmax-width: 175px;\n\t}\n\n\t@media (min-width: ${(props) => props.theme.media.minWidthBigDesktop}) {\n\t\tmax-height: 75px;\n\t\tmax-width: 205px;\n\t}\n`;\n\nexport const StyledGamePanelLoadingLogo = styled(LoadingLogo)`\n\t${(props) =>\n\t\tprops.$isHidden\n\t\t\t? css`\n\t\t\t\t\tdisplay: none !important;\n\t\t\t `\n\t\t\t: ''};\n`;\n","import { Sounds } from '@common/constants/config/sounds';\nimport audioService from '../../../../../LegacyApp/client/modules/app/audioService';\nimport {\n\tHILO_ADD_TO_MY_BETS,\n\tHILO_CASHOUT,\n\tHILO_DRAW_CARD,\n\tHILO_GET_SESSION,\n\tHILO_LOCKED,\n\tHILO_PLACE_BET,\n\tHILO_SET_ACTIVE_CARD,\n\tHILO_SET_SESSION,\n\tHILO_SET_SESSION_ACTIVE,\n\tHILO_SET_SUMMARY,\n\tHILO_SKIP_ACTIVE,\n\tHILO_UPDATE_ACTIVE_CARD,\n\tHILO_UPDATE_SESSION,\n\tHILO_VALID_SESSION,\n} from './hilo.constants';\n\nconst hiloDrawCard = () => ({\n\ttype: HILO_DRAW_CARD,\n});\n\nconst hiloSetActiveCard = (payload) => ({\n\ttype: HILO_SET_ACTIVE_CARD,\n\tpayload,\n});\n\nconst hiloUpdateActiveCard = (payload, flipCard) => ({\n\ttype: HILO_UPDATE_ACTIVE_CARD,\n\tpayload,\n\tflipCard,\n});\n\nconst hiloGetSession = () => ({\n\ttype: HILO_GET_SESSION,\n});\n\nconst hiloSetSession = (payload) => ({\n\ttype: HILO_SET_SESSION,\n\tpayload,\n});\n\nconst hiloUpdateSession = (payload, flipCard) => ({\n\ttype: HILO_UPDATE_SESSION,\n\tpayload,\n\tflipCard,\n});\n\nconst hiloSetSessionActive = (payload) => ({\n\ttype: HILO_SET_SESSION_ACTIVE,\n\tpayload,\n});\n\nconst hiloSkipActive = (payload) => ({\n\ttype: HILO_SKIP_ACTIVE,\n\tpayload,\n});\n\nconst hiloSetSummary = (payload) => ({\n\ttype: HILO_SET_SUMMARY,\n\tpayload,\n});\n\nconst initNextCard = (callback, noAnimation) => {\n\treturn (dispatch, getState) => {\n\t\tif (getState().hilo.skipActive) {\n\t\t\treturn;\n\t\t}\n\t\tnew Promise((resolve) => {\n\t\t\t// console.log('skip');\n\t\t\tdispatch(hiloSkipActive(true));\n\t\t\treturn setTimeout(resolve, noAnimation ? 0 : 600);\n\t\t}).then(() => {\n\t\t\t// console.log('skipped');\n\t\t\taudioService.play(Sounds.card);\n\t\t\tconst actions = [hiloSkipActive(false)];\n\t\t\tif (!noAnimation) {\n\t\t\t\tactions.push(hiloSetActiveCard(false));\n\t\t\t}\n\t\t\tdispatch(actions);\n\t\t\tcallback(dispatch);\n\t\t});\n\t};\n};\n\nconst hiloPlaceBet = (payload) => ({\n\ttype: HILO_PLACE_BET,\n\tpayload,\n});\n\nconst hiloCashout = (payload) => ({\n\ttype: HILO_CASHOUT,\n\tpayload,\n});\n\nconst hiloAddToMyBets = (payload) => ({\n\ttype: HILO_ADD_TO_MY_BETS,\n\tpayload,\n});\n\nconst hiloVaildSession = (payload) => ({\n\ttype: HILO_VALID_SESSION,\n\tpayload,\n});\n\nconst hiloLocked = (payload) => ({\n\ttype: HILO_LOCKED,\n\tpayload,\n});\n\nexport {\n\thiloDrawCard,\n\thiloSetActiveCard,\n\thiloSetSession,\n\thiloGetSession,\n\thiloSkipActive,\n\tinitNextCard,\n\thiloPlaceBet,\n\thiloCashout,\n\thiloSetSessionActive,\n\thiloUpdateActiveCard,\n\thiloUpdateSession,\n\thiloSetSummary,\n\thiloAddToMyBets,\n\thiloVaildSession,\n\thiloLocked,\n};\n","export const HILO_DRAW_CARD = 'HILO_DRAW_CARD';\nexport const HILO_SET_ACTIVE_CARD = 'HILO_SET_ACTIVE_CARD';\nexport const HILO_UPDATE_ACTIVE_CARD = 'HILO_UPDATE_ACTIVE_CARD';\nexport const HILO_SET_SESSION = 'HILO_SET_SESSION';\nexport const HILO_UPDATE_SESSION = 'HILO_UPDATE_SESSION';\nexport const HILO_SET_SESSION_ACTIVE = 'HILO_SET_SESSION_ACTIVE';\nexport const HILO_GET_SESSION = 'HILO_GET_SESSION';\nexport const HILO_DECISION = 'HILO_DECISION';\nexport const HILO_SKIP_ACTIVE = 'HILO_SKIP_ACTIVE';\nexport const HILO_SET_SUMMARY = 'HILO_SET_SUMMARY';\nexport const HILO_ADD_TO_MY_BETS = 'HILO_ADD_TO_MY_BETS';\nexport const HILO_PLACE_BET = 'HILO_PLACE_BET';\nexport const HILO_CASHOUT = 'HILO_CASHOUT';\nexport const HILO_VALID_SESSION = 'HILO_VALID_SESSION';\nexport const HILO_LOCKED = 'HILO_LOCKED';\n","import { AppThunk } from '@legacyApp/types/store/ThunkAction';\nimport { hiloSetSummary, hiloUpdateSession } from '../hilo.actions';\n\nexport const hiloClearSessionThunk = (): AppThunk => {\n\treturn (dispatch, getState) => {\n\t\tconst state = getState();\n\t\tif (state.hilo.summary) {\n\t\t\tdispatch(hiloSetSummary(false));\n\t\t}\n\t\tdispatch(hiloUpdateSession(false, true));\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 styled, { css } from 'styled-components';\nimport { borderRadius } from '../../../../LegacyApp/client/modules/style/defaults';\n\nexport const StyledCardsTile = styled.div.attrs(() => ({\n\tclassName: 'cards-tile',\n}))`\n\tposition: relative;\n\tbackground-color: ${(props) => props.theme.colors.grey};\n\tpadding-bottom: 5px;\n\tfloat: left;\n\t${borderRadius};\n\n\t> * {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t}\n\n\t.card {\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\tleft: 0;\n\n\t\t${(props) =>\n\t\t\tprops.skip\n\t\t\t\t? css`\n\t\t\t\t\t\t&:first-of-type {\n\t\t\t\t\t\t\tanimation: SwipeCardUp 0.4s ease-in 1 0.3s;\n\t\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t\t\tposition: relative;\n\t\t\t\t\t\t}\n\t\t\t\t `\n\t\t\t\t: ''}\n\n\t\t&:nth-of-type(2) {\n\t\t\tposition: absolute;\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\tbutton {\n\t\tposition: absolute;\n\t\tright: -10px;\n\t\ttop: -10px;\n\t\tz-index: 2;\n\t\theight: unset;\n\t\tmargin: unset;\n\t}\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Card from '../../../../LegacyApp/client/components/card/card';\nimport skipImg from '../../../../../public/img/hilo/skip.svg';\nimport { enhanceComponent } from '../../../../LegacyApp/client/wrappers/enhanceComponent';\nimport { CardStyle } from '../../../../LegacyApp/client/components/card/card.style';\nimport { Image } from '../../../../common/components/default/Image/Image';\nimport { Button } from '../../../../ui/components/button';\nimport { ButtonStyleType } from '../../../../ui/types/ButtonStyleType';\nimport { checkHotkeysAllowed } from '../../../../LegacyApp/client/modules/app/checkHotkeysAllowed';\nimport { StyledCardsTile } from './CardsTile.styled';\n\nclass CardsTile extends React.PureComponent {\n\tstatic propTypes = {\n\t\tskipActive: PropTypes.bool,\n\t\tactiveCard: PropTypes.any,\n\t\tdrawCard: PropTypes.func,\n\t\tdisableHotkeys: PropTypes.bool,\n\t\tonSkipCard: PropTypes.func,\n\t\tskipStart: PropTypes.func,\n\t\tskipStop: PropTypes.func,\n\t\tinitNextCard: PropTypes.func,\n\t\tgame: PropTypes.string,\n\t\tcardClass: PropTypes.string,\n\t\tgetHotkey: PropTypes.func,\n\t\tsessionActive: PropTypes.bool,\n\t\tnoAnimations: PropTypes.bool,\n\t};\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.el = React.createRef();\n\t\tthis.state = {\n\t\t\tallowSkip: true,\n\t\t};\n\t\tthis.timeout = null;\n\t}\n\n\tcomponentWillUnmount() {\n\t\twindow.removeEventListener('keydown', this.handleKeyboard);\n\t\tif (this.timeout) {\n\t\t\tclearTimeout(this.timeout);\n\t\t}\n\t}\n\n\tcomponentDidMount() {\n\t\twindow.addEventListener('keydown', this.handleKeyboard);\n\t}\n\n\thandleKeyboard = (obj) => {\n\t\tif (!this.el || !checkHotkeysAllowed(this.props.disableHotkeys)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (obj.keyCode === this.props.getHotkey('draw', this.props.game).keyCode) {\n\t\t\tobj.preventDefault();\n\t\t\tthis.handleSkipCard();\n\t\t}\n\t};\n\n\thandleSkipCard = () => {\n\t\tif (!this.props.activeCard || this.props.skipActive) {\n\t\t\treturn;\n\t\t}\n\t\tif (this.props.sessionActive) {\n\t\t\tthis.skipCard();\n\t\t\treturn;\n\t\t}\n\t\tthis.props.initNextCard(() => {\n\t\t\treturn setTimeout(\n\t\t\t\t() => {\n\t\t\t\t\t// console.log('draw');\n\t\t\t\t\tthis.props.drawCard();\n\t\t\t\t\tthis.skipCard();\n\t\t\t\t},\n\t\t\t\tthis.props.noAnimations ? 0 : 100,\n\t\t\t);\n\t\t}, this.props.noAnimations);\n\t};\n\n\tskipCard = () => {\n\t\tif (!this.state.allowSkip) {\n\t\t\treturn;\n\t\t}\n\t\tthis.lockSkip();\n\t\tif (this.props.onSkipCard) {\n\t\t\tthis.props.onSkipCard();\n\t\t}\n\t};\n\n\tlockSkip = () => {\n\t\tthis.setState(\n\t\t\t(state) => ({\n\t\t\t\t...state,\n\t\t\t\tallowSkip: false,\n\t\t\t}),\n\t\t\t() => {\n\t\t\t\tif (this.timeout) {\n\t\t\t\t\tclearTimeout(this.timeout);\n\t\t\t\t}\n\t\t\t\tthis.timeout = setTimeout(\n\t\t\t\t\t() =>\n\t\t\t\t\t\tthis.setState({\n\t\t\t\t\t\t\tallowSkip: true,\n\t\t\t\t\t\t}),\n\t\t\t\t\t300,\n\t\t\t\t);\n\t\t\t},\n\t\t);\n\t};\n\n\trefEl = (el) => (this.el = el);\n\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t}\n\t\t\t\t\tname={`skip-${this.props.game}-card`}\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nCardsTile = enhanceComponent({\n\tCardsTile,\n});\n\nexport { CardsTile };\n","import { connect } from 'react-redux';\nimport { hiloDrawCard, initNextCard } from '../../Game/store/hilo/hilo.actions';\nimport { OPTIONS } from '../../../../LegacyApp/client/store/options/options.constants';\nimport { getHotkeyThunk } from '../../Game/store/game/thunks/getHotkey.thunk';\nimport { CardsTile } from './cardsTile';\n\nconst mapStateToProps = (state, props) => {\n\treturn {\n\t\tactiveCard: state[props.game]?.activeCard,\n\t\tdisableHotkeys: !state.options[OPTIONS.HOTKEYS],\n\t\tskipActive: state[props.game]?.skipActive,\n\t\tsessionActive: state[props.game]?.sessionActive,\n\t};\n};\n\nconst mapDispatchToProps = (dispatch) => {\n\treturn {\n\t\tdrawCard: () => dispatch(hiloDrawCard()),\n\t\tinitNextCard: (callback, noAnimations) =>\n\t\t\tdispatch(initNextCard(callback, noAnimations)),\n\t\tgetHotkey: (id, game) => dispatch(getHotkeyThunk(id, game)),\n\t};\n};\n\nconst CardsTileContainer = connect(\n\tmapStateToProps,\n\tmapDispatchToProps,\n)(CardsTile);\n\nexport { CardsTileContainer };\n","import { shallowEqual } from 'react-redux';\nimport { useAppSelector } from '@legacyApp/hooks/store/useAppSelector';\nimport transactionService from '../../../../transactions/transactionsService';\n\nexport const useHiloActiveCard = () =>\n\tuseAppSelector((state) => state.hilo?.activeCard, shallowEqual);\nexport const useHiloSessionActive = () =>\n\tuseAppSelector((state) => state.hilo?.sessionActive, shallowEqual);\nexport const useHiloSession = () =>\n\tuseAppSelector(\n\t\t(state) => state.hilo?.session,\n\t\t(prev, next) => !transactionService.isListDifferent(prev, next),\n\t);\nexport const useHiloSkipActive = () =>\n\tuseAppSelector((state) => state.hilo?.skipActive, shallowEqual);\nexport const useHiloLocked = () =>\n\tuseAppSelector((state) => state.hilo?.locked, shallowEqual);\n\nexport const useHiloSessionCurrency = () =>\n\tuseAppSelector(\n\t\t(state) =>\n\t\t\tstate.hilo?.session\n\t\t\t\t? state.hilo?.session.currency\n\t\t\t\t: state.user.activeCurrency,\n\t\tshallowEqual,\n\t);\nexport const useHiloSessionBets = () =>\n\tuseAppSelector(\n\t\t(state) => !!(state.hilo?.session && state.hilo?.session.bets.length),\n\t\tshallowEqual,\n\t);\nexport const useHiloValidSession = () =>\n\tuseAppSelector((state) => state.hilo?.validSession, shallowEqual);\nexport const useHiloLoading = () =>\n\tuseAppSelector(\n\t\t(state) =>\n\t\t\tstate.loader.modules['placeHiloBet'] ||\n\t\t\tstate.loader.modules['cashoutHiloBet'] ||\n\t\t\tstate.loader.modules['getHiloSession'],\n\t\tshallowEqual,\n\t);\n","import { TransProps } from '@legacyApp/client/modules/translation/translate';\nimport { capitalize } from '@legacyApp/client/modules/app/appService';\n\nexport const getName = (\n\ttype: string,\n\tactiveCard: string,\n): string | TransProps => {\n\tswitch (type) {\n\t\tcase 'number': {\n\t\t\treturn '2-10';\n\t\t}\n\t\tcase 'letter': {\n\t\t\treturn 'JQKA';\n\t\t}\n\t\tcase 'high': {\n\t\t\tif (!activeCard) {\n\t\t\t\treturn '-';\n\t\t\t}\n\t\t\tif (activeCard.indexOf('A') > -1) {\n\t\t\t\treturn { label: 'Higher' };\n\t\t\t}\n\t\t\tif (activeCard.indexOf('K') > -1) {\n\t\t\t\treturn { label: 'Same' };\n\t\t\t}\n\t\t\treturn { label: 'Higher or same' };\n\t\t}\n\t\tcase 'low': {\n\t\t\tif (!activeCard) {\n\t\t\t\treturn '-';\n\t\t\t}\n\t\t\tif (activeCard.indexOf('A') > -1) {\n\t\t\t\treturn { label: 'Same' };\n\t\t\t}\n\t\t\tif (activeCard.indexOf('K') > -1) {\n\t\t\t\treturn { label: 'Lower' };\n\t\t\t}\n\t\t\treturn { label: 'Lower or same' };\n\t\t}\n\t\tdefault: {\n\t\t\treturn { label: capitalize(type) };\n\t\t}\n\t}\n};\n","import styled, { css } from 'styled-components';\nimport { Button } from '@legacyApp/client/components/button';\nimport { cutTextStyle } from '@legacyApp/client/modules/style/defaults';\nimport { fontSize } from '@legacyApp/client/modules/style/mixins/fontSize';\n\nexport const StyledDecisionButtonNameName = styled.div``;\n\nexport const StyledDecisionButtonNamePayload = styled.div``;\n\nexport const StyledDecisionButtonNameWinChance = styled.div``;\n\nexport const StyledDecisionButtonName = styled.span.attrs<{\n\t$type: string;\n}>({\n\tclassName: 'decision-button__name text-style-md-semibold',\n})<{\n\t$type: string;\n}>`\n\twhite-space: nowrap;\n\tmargin-left: 3px;\n\tline-height: ${(props) => props.theme.text.height.regular};\n\twidth: 100%;\n\ttext-align: left;\n\tposition: relative;\n\tz-index: 1;\n\tpadding: 5px 0;\n\n\t${StyledDecisionButtonNamePayload},\n\t${StyledDecisionButtonNameWinChance} {\n\t\t${fontSize({\n\t\t\tsize: '9px',\n\t\t\tsizeDesktop: '11px',\n\t\t\timportant: true,\n\t\t})};\n\t}\n\n\t${StyledDecisionButtonNamePayload} {\n\t\tcolor: #c7dffc;\n\t}\n\n\t${StyledDecisionButtonNameWinChance} {\n\t\tcolor: #b4d1ff;\n\t}\n\n\t> div {\n\t\t${cutTextStyle};\n\t\ttext-shadow: 0 0 2px black;\n\t}\n`;\n\nexport const StyledDecisionButton = styled(Button).attrs({\n\tclassName: 'decision-button',\n})`\n\tpadding: 5px 7px !important;\n\ttext-align: left;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\toverflow: hidden;\n\tposition: relative;\n\tbackground: var(--color-misc-primary-button);\n\n\t&:before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t\twidth: calc(100% - 15px);\n\t\theight: calc(100% - 15px);\n\t\tbackground-image: ${(props) => `url('/img/hilo/${props.$type}-color.svg')`};\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-size: auto 90%;\n\t\tbackground-position: 100%;\n\t\tz-index: 0;\n\t\topacity: 0.5;\n\t}\n\n\t${(props) =>\n\t\tprops.$isDisabled\n\t\t\t? css`\n\t\t\t\t\tborder: transparent;\n\t\t\t\t\tcursor: not-allowed;\n\t\t\t\t\topacity: 0.6;\n\t\t\t `\n\t\t\t: ''};\n\n\t${(props) =>\n\t\tprops.$type === 'red'\n\t\t\t? css`\n\t\t\t\t\tbackground: var(--color-other-red);\n\n\t\t\t\t\t${StyledDecisionButtonName} {\n\t\t\t\t\t\t${StyledDecisionButtonNamePayload} {\n\t\t\t\t\t\t\tcolor: #ffbec5;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t${StyledDecisionButtonNameWinChance} {\n\t\t\t\t\t\t\tcolor: #e1a2a3;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t `\n\t\t\t: ''};\n\n\t${(props) =>\n\t\tprops.$type === 'black'\n\t\t\t? css`\n\t\t\t\t\tbackground: #000000;\n\t\t\t\t\tborder: 1px solid #2d2d2d;\n\n\t\t\t\t\t${StyledDecisionButtonName} {\n\t\t\t\t\t\t${StyledDecisionButtonNamePayload} {\n\t\t\t\t\t\t\tcolor: ${props.theme.colors.grey};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t${StyledDecisionButtonNameWinChance} {\n\t\t\t\t\t\t\tcolor: #727272;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t `\n\t\t\t: ''};\n`;\n","import { FC, useCallback, useEffect, useRef, useState } from 'react';\nimport {\n\tgetPayout,\n\tgetProfit,\n} from '@legacyApp/client/modules/app/gameService';\nimport { getLimits } from '@legacyApp/methods/currency/getLimits';\nimport { getHiloWinChance } from '@legacyApp/client/modules/app/hiloService';\nimport {\n\ttrans,\n\tTransProps,\n} from '@legacyApp/client/modules/translation/translate';\nimport { useAppDispatch } from '@legacyApp/hooks/store/useAppDispatch';\nimport { useOptionEnabled } from '@common/selectors/options.selectors';\nimport { OPTIONS } from '@legacyApp/client/store/options/options.constants';\nimport { showAlert } from '@legacyApp/client/store/alerts/alerts.actions';\nimport { useOnMount } from '@common/hooks/useOnMount';\nimport { checkHotkeysAllowed } from '@legacyApp/client/modules/app/checkHotkeysAllowed';\nimport { Sounds } from '@common/constants/config/sounds';\nimport { useWindowEventListener } from '@common/hooks/useEventListener';\nimport { getHotkeyThunk } from '../../Game/store/game/thunks/getHotkey.thunk';\nimport Tooltip from '../../../../LegacyApp/client/components/tooltip/tooltip';\nimport { hiloLocked, hiloPlaceBet } from '../../Game/store/hilo/hilo.actions';\nimport { useGameBetAmount } from '../../Game/store/game/game.selectors';\nimport {\n\tuseHiloActiveCard,\n\tuseHiloLocked,\n\tuseHiloSession,\n\tuseHiloSessionActive,\n\tuseHiloSessionCurrency,\n\tuseHiloSkipActive,\n} from '../../Game/store/hilo/hilo.selectors';\nimport audioService from '../../../../LegacyApp/client/modules/app/audioService';\nimport { GameType } from '../../Game/constants/availableGames';\nimport { getName } from './getName';\nimport {\n\tStyledDecisionButton,\n\tStyledDecisionButtonName,\n\tStyledDecisionButtonNameName,\n\tStyledDecisionButtonNamePayload,\n\tStyledDecisionButtonNameWinChance,\n} from './DecisionButton.styled';\n\nexport interface DecisionButtonProps {\n\ttype: string;\n}\n\nexport const DecisionButton: FC = (props) => {\n\tconst { type } = props;\n\n\tconst elementRef = useRef(null);\n\tconst timeoutRef = useRef(null);\n\n\tconst dispatch = useAppDispatch();\n\n\tconst activeCard = useHiloActiveCard();\n\tconst disableHotkeys = !useOptionEnabled(OPTIONS.HOTKEYS);\n\tconst sessionActive = useHiloSessionActive();\n\tconst session = useHiloSession();\n\tconst skipActive = useHiloSkipActive();\n\tconst locked = useHiloLocked();\n\tconst betAmount = useGameBetAmount(GameType.HILO);\n\tconst currency = useHiloSessionCurrency();\n\tconst setLocked = useCallback(\n\t\t(bool) => dispatch(hiloLocked(bool)),\n\t\t[dispatch],\n\t);\n\tconst showAlert_ = useCallback(\n\t\t(type, message) => dispatch(showAlert(type, message)),\n\t\t[dispatch],\n\t);\n\tconst makeDecision = useCallback(\n\t\t() => dispatch(hiloPlaceBet(type)),\n\t\t[dispatch, type],\n\t);\n\tconst getHotkey = useCallback(\n\t\t(id, game) => dispatch(getHotkeyThunk(id, game)),\n\t\t[dispatch],\n\t);\n\n\tconst [winChance, setWinChance] = useState(\n\t\tgetHiloWinChance(type, activeCard),\n\t);\n\tconst [payout, setPayout] = useState(getPayout(winChance, GameType.HILO));\n\tconst [name, setName] = useState(getName(type, activeCard));\n\tconst [lockAction, setLockAction] = useState(false);\n\tconst [isAvailable, setIsAvailable] = useState(true);\n\tconst [disabled, setDisabled] = useState(false);\n\tconst [disabledTypes] = useState>([]);\n\tconst [alertLabel, setAlertLabel] = useState<{\n\t\ttype: string;\n\t\tlabel: TransProps;\n\t}>(null);\n\n\tconst handleLockAction = useCallback(() => {\n\t\tif (lockAction) {\n\t\t\treturn;\n\t\t}\n\t\tsetLockAction(true);\n\t\tif (timeoutRef.current) {\n\t\t\tclearTimeout(timeoutRef.current);\n\t\t}\n\t\ttimeoutRef.current = setTimeout(() => setLockAction(false), 300);\n\t}, [lockAction]);\n\n\tconst checkIsAvailable = useCallback(() => {\n\t\tconst predictedProfit =\n\t\t\tparseFloat(\n\t\t\t\tsession && session.profit && sessionActive ? session.profit : 0,\n\t\t\t) + getProfit(betAmount, payout);\n\t\t// console.log('isFeatureAvailable', type, {\n\t\t// \tpredictedProfit,\n\t\t// \tbetAmount: betAmount,\n\t\t// \tpayout: payout,\n\t\t// \tprofit: getProfit(betAmount, getPayout(winChance, GameType.HILO)),\n\t\t// \tmaxProfit: getLimits({ currency: currency, game: GameType.HILO }).profit_maximum,\n\t\t// });\n\t\treturn (\n\t\t\tpredictedProfit <=\n\t\t\tgetLimits({ currency: currency, game: GameType.HILO }).profit_maximum\n\t\t);\n\t}, [betAmount, currency, payout, session, sessionActive]);\n\n\tconst getAlertLabel = useCallback(() => {\n\t\tif (locked) {\n\t\t\treturn null;\n\t\t}\n\t\tif (disabled) {\n\t\t\treturn {\n\t\t\t\ttype: 'info',\n\t\t\t\tlabel: {\n\t\t\t\t\tlabel: 'This action is temporary disabled',\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\tif (!checkIsAvailable()) {\n\t\t\treturn {\n\t\t\t\ttype: 'error',\n\t\t\t\tlabel: {\n\t\t\t\t\tlabel:\n\t\t\t\t\t\t'Option unavailable, max profit {{value}} {{currency}} will be exceeded',\n\t\t\t\t\toptions: {\n\t\t\t\t\t\tvalue: getLimits({ currency: currency, game: GameType.HILO })\n\t\t\t\t\t\t\t.profit_maximum,\n\t\t\t\t\t\tcurrency: currency.toUpperCase(),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\tif (!sessionActive || skipActive || !activeCard) {\n\t\t\treturn {\n\t\t\t\ttype: 'info',\n\t\t\t\tlabel: {\n\t\t\t\t\tlabel: 'Place bet before choosing an option',\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\treturn null;\n\t}, [\n\t\tactiveCard,\n\t\tcheckIsAvailable,\n\t\tcurrency,\n\t\tdisabled,\n\t\tlocked,\n\t\tsessionActive,\n\t\tskipActive,\n\t]);\n\n\tconst handleDecision = useCallback(() => {\n\t\tif (alertLabel) {\n\t\t\treturn showAlert_(alertLabel.type, trans(alertLabel.label));\n\t\t}\n\t\tif (lockAction) {\n\t\t\treturn;\n\t\t}\n\t\thandleLockAction();\n\t\tif (locked) {\n\t\t\treturn;\n\t\t}\n\t\tsetLocked(true);\n\t\taudioService.play(Sounds.click, false, 0.6);\n\t\tmakeDecision();\n\t}, [\n\t\talertLabel,\n\t\thandleLockAction,\n\t\tlockAction,\n\t\tlocked,\n\t\tmakeDecision,\n\t\tsetLocked,\n\t\tshowAlert_,\n\t]);\n\n\tconst handleKeyboard = useCallback(\n\t\t(obj) => {\n\t\t\tif (!elementRef.current || !checkHotkeysAllowed(disableHotkeys)) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (obj.keyCode === getHotkey(type, GameType.HILO).keyCode) {\n\t\t\t\tobj.preventDefault();\n\t\t\t\thandleDecision();\n\t\t\t}\n\t\t},\n\t\t[disableHotkeys, getHotkey, handleDecision, type],\n\t);\n\n\tuseWindowEventListener('keydown', handleKeyboard);\n\n\tuseOnMount(() => {\n\t\tif (disabledTypes && disabledTypes.indexOf(type) > -1) {\n\t\t\tif (!disabled) {\n\t\t\t\tsetDisabled(true);\n\t\t\t}\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (timeoutRef.current) {\n\t\t\t\tclearTimeout(timeoutRef.current);\n\t\t\t}\n\t\t};\n\t});\n\n\tuseEffect(() => {\n\t\tconst name_ = getName(type, activeCard);\n\t\tconst nameCompare = typeof name === 'string' ? name : name?.label;\n\t\tconst nameCompare_ = typeof name_ === 'string' ? name_ : name_?.label;\n\t\tif (nameCompare_ !== nameCompare) {\n\t\t\tsetName(name_);\n\t\t}\n\t}, [activeCard, name, type]);\n\n\tuseEffect(() => {\n\t\tconst alertLabel_ = getAlertLabel();\n\t\tif (alertLabel?.label?.label !== alertLabel_?.label?.label) {\n\t\t\tsetAlertLabel(alertLabel_);\n\t\t}\n\t}, [activeCard, alertLabel?.label?.label, getAlertLabel, name, type]);\n\n\tuseEffect(() => {\n\t\tconst payout_ = getPayout(winChance, GameType.HILO);\n\t\tif (payout_ !== payout) {\n\t\t\tsetPayout(payout_);\n\t\t}\n\t}, [payout, winChance]);\n\n\tuseEffect(() => {\n\t\tconst isAvailable_ = checkIsAvailable();\n\t\tif (isAvailable_ !== isAvailable) {\n\t\t\tsetIsAvailable(isAvailable_);\n\t\t}\n\t}, [checkIsAvailable, isAvailable]);\n\n\tuseEffect(() => {\n\t\tconst winChance_ = getHiloWinChance(type, activeCard);\n\t\tif (winChance_ !== winChance) {\n\t\t\tsetWinChance(winChance_);\n\t\t}\n\t}, [activeCard, type, winChance]);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{typeof name === 'string' ? name : trans(name)}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\tx{payout}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{winChance}%\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n","import React, { FC } from 'react';\nimport styled from 'styled-components';\nimport { DecisionButton } from './DecisionButton/DecisionButton';\n\nexport const DecisionButtonsBox: FC<{\n\ttype: string;\n\tlist: ReadonlyArray;\n}> = ({ list, type }) => {\n\tif (!list?.length) {\n\t\treturn null;\n\t}\n\treturn (\n\t\t\n\t\t\t{list.map((type) => (\n\t\t\t\t\n\t\t\t))}\n\t\t\n\t);\n};\n\nexport const StyledDecisionButtons = styled.div``;\n","import classnames from 'classnames';\nimport styled from 'styled-components';\n\nexport const StyledGameBoardSlider = styled.div.attrs((props) => ({\n\tclassName: classnames('game-board__slider', {\n\t\t'game-board__slider--active': props.$active,\n\t}),\n}))``;\n\nexport const StyledHiloGame = styled.div.attrs((props) => ({\n\tclassName: classnames('game game--hilo', {\n\t\t'game--hilo__disabled-animations': props.$disabledAnimations,\n\t}),\n}))``;\n","import styled from 'styled-components';\nimport {\n\tStyledGamePanel,\n\tStyledGamePanelButtonMain,\n\tStyledGamePanelLoadingLogo,\n} from '../../Game/components/Game.components/GamePanel/gamePanel.styled';\n\nexport const StyledHiloController = styled(StyledGamePanel).attrs({\n\tclassName: 'game-controller',\n})`\n\twidth: auto;\n\tmargin-top: 0;\n\tpadding: 0 15px !important;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\n\t${StyledGamePanelButtonMain} {\n\t\timg {\n\t\t\twidth: 20%;\n\t\t\ttop: 2px;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t> div {\n\t\t\timg {\n\t\t\t\theight: 90%;\n\t\t\t\twidth: unset;\n\t\t\t}\n\t\t}\n\t}\n\n\t${StyledGamePanelLoadingLogo} {\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t}\n\n\t@media (min-width: ${(props) => props.theme.media.minWidthDesktop}) {\n\t\tmargin-top: 0;\n\t}\n\n\t@media (min-width: ${(props) => props.theme.media.minWidthBigDesktop}) {\n\t\tmargin-top: 0;\n\t}\n`;\n","import { FC, useCallback, useRef } from 'react';\nimport { useOutsideClick } from 'rooks';\nimport { useDispatch } from 'react-redux';\nimport { trans } from '@legacyApp/client/modules/translation/translate';\nimport { Image } from '@common/components/default/Image/Image';\nimport { checkMobileType } from '@legacyApp/client/modules/app/appService';\nimport { useOptionEnabled } from '@common/selectors/options.selectors';\nimport { OPTIONS } from '@legacyApp/client/store/options/options.constants';\nimport { useAppDeviceType } from '@common/selectors/app.selectors';\nimport { checkHotkeysAllowed } from '@legacyApp/client/modules/app/checkHotkeysAllowed';\nimport { useWindowEventListener } from '@common/hooks/useEventListener';\nimport cashoutImg from '../../../../../public/img/main/cashout.svg';\nimport {\n\tStyledGamePanelButtonMain,\n\tStyledGamePanelLoadingLogo,\n} from '../../Game/components/Game.components/GamePanel/gamePanel.styled';\nimport {\n\tuseHiloLoading,\n\tuseHiloLocked,\n\tuseHiloSessionActive,\n\tuseHiloSessionBets,\n\tuseHiloValidSession,\n} from '../../Game/store/hilo/hilo.selectors';\nimport {\n\thiloCashout,\n\thiloLocked,\n\thiloPlaceBet,\n} from '../../Game/store/hilo/hilo.actions';\nimport { useGameValidationFormError } from '../../Game/store/gameValidation/gameValidation.selectors';\nimport { GameType } from '../../Game/constants/availableGames';\nimport { hiloClearSessionThunk } from '../../Game/store/hilo/thunks/hiloClearSession.thunk';\nimport { getHotkeyThunk } from '../../Game/store/game/thunks/getHotkey.thunk';\nimport { StyledHiloController } from './hiloController.styled';\n\nexport const HiloBetButton: FC = () => {\n\tconst elementRef = useRef(null);\n\n\tconst dispatch = useDispatch();\n\tconst sessionActive = useHiloSessionActive();\n\tconst sessionBets = useHiloSessionBets();\n\tconst locked = useHiloLocked();\n\tconst validSession = useHiloValidSession();\n\tconst deviceType = useAppDeviceType();\n\tconst isLoading = useHiloLoading();\n\tconst formError = useGameValidationFormError(GameType.HILO);\n\tconst disableHotkeys = !useOptionEnabled(OPTIONS.HOTKEYS);\n\n\tuseOutsideClick(elementRef, () => {\n\t\tif (!sessionActive && sessionBets) {\n\t\t\tdispatch(hiloClearSessionThunk());\n\t\t}\n\t});\n\n\tconst onClick = useCallback(() => {\n\t\tif (\n\t\t\t(sessionActive && !sessionBets) ||\n\t\t\t!validSession ||\n\t\t\tisLoading ||\n\t\t\tlocked\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\t// console.log(sessionActive ? 'cashout' : 'bet', locked);\n\t\tdispatch(hiloLocked(true));\n\t\tsessionActive ? dispatch(hiloCashout()) : dispatch(hiloPlaceBet());\n\t}, [dispatch, isLoading, locked, sessionActive, sessionBets, validSession]);\n\n\tconst handleKeyboard = useCallback(\n\t\t(obj) => {\n\t\t\tif (!elementRef || !checkHotkeysAllowed(disableHotkeys)) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst type = sessionActive ? 'cashout' : 'bet';\n\n\t\t\tif (\n\t\t\t\t// @ts-expect-error invalid type\n\t\t\t\tobj.keyCode === dispatch(getHotkeyThunk('bet', 'hilo')).keyCode ||\n\t\t\t\t// @ts-expect-error invalid type\n\t\t\t\tobj.keyCode === dispatch(getHotkeyThunk('cashout', 'hilo')).keyCode\n\t\t\t) {\n\t\t\t\tobj.preventDefault();\n\t\t\t}\n\n\t\t\t// @ts-expect-error invalid type\n\t\t\tif (obj.keyCode === dispatch(getHotkeyThunk(type, 'hilo')).keyCode) {\n\t\t\t\tonClick();\n\t\t\t}\n\t\t},\n\t\t[disableHotkeys, dispatch, onClick, sessionActive],\n\t);\n\n\tuseWindowEventListener('keydown', handleKeyboard);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t{isLoading ? null : !sessionActive ? (\n\t\t\t\t\t{trans({ label: 'Bet' })}\n\t\t\t\t) : (\n\t\t\t\t\t\"cashout\"\n\t\t\t\t)}\n\t\t\t\n\t\t\n\t);\n};\n","import { noop } from \"../utils/noop\";\nimport { useEffect, useRef, useCallback } from \"react\";\n/**\n * useOutsideClick hook\n * Checks if a click happened outside a Ref. Handy for dropdowns, modals and popups etc.\n *\n * @param ref Ref whose outside click needs to be listened to\n * @param handler Callback to fire on outside click\n * @param when A boolean which which activates the hook only when it is true. Useful for conditionally enable the outside click\n */\nfunction useOutsideClick(ref, handler, when) {\n if (when === void 0) { when = true; }\n var savedHandler = useRef(handler);\n var memoizedCallback = useCallback(function (e) {\n if (ref && ref.current && !ref.current.contains(e.target)) {\n savedHandler.current(e);\n }\n }, []);\n useEffect(function () {\n savedHandler.current = handler;\n });\n useEffect(function () {\n if (when) {\n document.addEventListener(\"click\", memoizedCallback, true);\n document.addEventListener(\"ontouchstart\", memoizedCallback, true);\n return function () {\n document.removeEventListener(\"click\", memoizedCallback, true);\n document.removeEventListener(\"ontouchstart\", memoizedCallback, true);\n };\n }\n return noop;\n }, [ref, handler, when]);\n}\nexport { useOutsideClick };\n","export default \"data:image/svg+x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TEzMTMuOSwwLTI0MDMuNCw4LjctMjQxOC43LDE5LjZjLTE3LjQsOC43LTM0LjksNTguOC00MS40LDEwOC45bC0xMy4xLDg5LjNoMjQ2Ni42aDI0NjQuNFYtMjgzOC4zeiBNNzQ2Mi4yLTM1MTMuOGMwLTMyLjctMTUuMy04Mi44LTM0LjktMTA4LjlsLTMyLjctNDcuOUg1MDAwSDI2MDUuM2wtMzIuNyw0Ny45Yy0xOS42LDI2LjItMzQuOSw3Ni4zLTM0LjksMTA4Ljl2NjFINTAwMGgyNDYyLjJWLTM1MTMuOHoiLz4KCQkJPHBhdGggZmlsbD0id2hpdGUiCgkJCQkJCWQ9Ik00NzgyLjEsMjc5Ljh2LTE0MTJsLTQ3OS40LDQ3OS40bC00NzkuNCw0NzkuNGwtMTU2LjktMTU5LjFsLTE1OS4xLTE1Ni45bDc0Ny40LTc0Ny40TDUwMDAtMTk4Mmw3NDUuMiw3NDUuMmw3NDcuNCw3NDcuNGwtMTU5LjEsMTU2LjlsLTE1Ni45LDE1OS4xbC00NzkuNC00NzkuNGwtNDc5LjQtNDc5LjR2MTQxMnYxNDA5LjhINTAwMGgtMjE3LjlWMjc5Ljh6Ii8+CgkJPC9nPgoJPC9nPgo8L3N2Zz4K\"","import React, { PureComponent, createRef } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { checkMobileType } from '@legacyApp/client/modules/app/appService';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\n\nimport { BetAmountInputContainer } from '@legacyApp/client/components/betAmountInput';\nimport { ProfitInputContainer } from '@legacyApp/client/components/profitInput';\nimport { StyledGameForm } from '@legacyApp/client/modules/style/components/GameForm.styled';\nimport { HiloBetButton } from '@modules/games/HiloGame/HiloController/HiloBetButton';\n\nclass HiloController extends PureComponent {\n\tstatic propTypes = {\n\t\tsessionActive: PropTypes.bool,\n\t\tdeviceType: PropTypes.string,\n\t\tcurrency: PropTypes.any,\n\t\tamount: PropTypes.any,\n\t\tprofit: PropTypes.any,\n\t\tupdatePayout: PropTypes.func,\n\t\tisMobile: PropTypes.bool,\n\t};\n\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.el = createRef();\n\n\t\tthis.state = {\n\t\t\tisMobile: false,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.updateIsMobile();\n\t}\n\n\tupdateIsMobile = () => {\n\t\tthis.setState({\n\t\t\tisMobile:\n\t\t\t\tthis.props.deviceType === 'tabletSmall' ||\n\t\t\t\tcheckMobileType(this.props.deviceType),\n\t\t});\n\t};\n\n\tcomponentDidUpdate(prevProps) {\n\t\tif (this.props.deviceType !== prevProps.deviceType) {\n\t\t\tthis.updateIsMobile();\n\t\t}\n\n\t\tif (this.props.currency !== prevProps.currency) {\n\t\t\tthis.props.updatePayout(1);\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t{(!this.state.isMobile || !this.props.sessionActive) && (\n\t\t\t\t\t\n\t\t\t\t)}\n\n\t\t\t\t{this.state.isMobile && this.props.sessionActive && (\n\t\t\t\t\t\n\t\t\t\t)}\n\n\t\t\t\t\n\n\t\t\t\t{!this.state.isMobile && (\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\t\t);\n\t}\n}\n\nHiloController = enhanceComponent({\n\tHiloController,\n\tprops: {\n\t\tclickOutside: true,\n\t},\n});\n\nexport { HiloController };\n","import { connect } from 'react-redux';\nimport { updatePayoutThunk } from '../../Game/store/game/thunks/updatePayout.thunk';\nimport { HiloController } from './hiloController';\n\nconst mapStateToProps = (state) => {\n\treturn {\n\t\tsessionActive: state.hilo?.sessionActive,\n\t\tcurrency:\n\t\t\tstate.hilo?.session && state.hilo?.sessionActive\n\t\t\t\t? state.hilo?.session.currency\n\t\t\t\t: state.user.activeCurrency,\n\t\tamount:\n\t\t\tstate.hilo?.session && state.hilo?.sessionActive\n\t\t\t\t? state.hilo?.session.amount\n\t\t\t\t: undefined,\n\t\tprofit:\n\t\t\tstate.hilo?.session && state.hilo?.sessionActive\n\t\t\t\t? state.hilo?.session.profit\n\t\t\t\t: undefined,\n\t\tdeviceType: state.app.contentDeviceType,\n\t};\n};\n\nconst mapDispatchToProps = (dispatch) => {\n\treturn {\n\t\tupdatePayout: (value) => dispatch(updatePayoutThunk(value, 'hilo')),\n\t};\n};\n\nconst HiloControllerContainer = connect(\n\tmapStateToProps,\n\tmapDispatchToProps,\n)(HiloController);\n\nexport { HiloControllerContainer };\n","import { connect } from 'react-redux';\nimport { OPTIONS } from '../../../../LegacyApp/client/store/options/options.constants';\nimport HiloSession from './hiloSession';\n\nconst mapStateToProps = (state) => {\n\treturn {\n\t\tsession: state.hilo?.session ? state.hilo?.session.bets : false,\n\t\tactiveCard: state.hilo?.activeCard,\n\t\tinitial: state.hilo?.session\n\t\t\t? state.hilo?.session.initial_bet_value\n\t\t\t: false,\n\t\tdisabledAnimations: !state.options[OPTIONS.ANIMATION],\n\t};\n};\n\nconst HiloSessionContainer = connect(mapStateToProps, null)(HiloSession);\n\nexport default HiloSessionContainer;\n","import styled from 'styled-components';\nimport { borderRadius } from '@legacyApp/client/modules/style/defaults';\n\nexport const StyledHiloSummary = styled.div`\n\talign-items: center;\n\tbackground: ${(props) => props.theme.colors.inputBackgroundSolid};\n\tborder: 3px solid ${(props) => props.theme.colors.positive};\n\tbox-shadow: 0 0 45px 5px #000000;\n\tcolor: ${(props) => props.theme.colors.positive};\n\tdisplay: flex;\n\tflex-direction: column;\n\t${borderRadius};\n\tjustify-content: center;\n\tleft: 50%;\n\tpadding: 15px 25px;\n\tposition: absolute;\n\ttop: 45%;\n\ttransform: translate(-50%, -50%);\n\tz-index: 2;\n`;\n\nexport const StyledHiloSummaryPayout = styled.div`\n\t&:after {\n\t\tbackground-color: ${(props) => props.theme.colors.tableBorder};\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: 2px;\n\t\tmargin: 14px auto 10px;\n\t\t${borderRadius};\n\t\twidth: 80%;\n\t}\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { BalanceAmount } from '@common/components/number/balanceAmount';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\nimport {\n\tStyledHiloSummary,\n\tStyledHiloSummaryPayout,\n} from './HiloSummary.styled';\n\nclass HiloSummary extends React.PureComponent {\n\tstatic propTypes = {\n\t\tsummary: PropTypes.any,\n\t\tclear: PropTypes.func,\n\t};\n\n\thandleClickOutside = () => {\n\t\tif (!this.props.summary) {\n\t\t\treturn;\n\t\t}\n\t\tthis.props.clear();\n\t};\n\n\trender() {\n\t\tif (!this.props.summary) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tx{this.props.summary.payout}\n\t\t\t\t\n\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\nHiloSummary = enhanceComponent({\n\tHiloSummary,\n\tprops: {\n\t\tclickOutside: true,\n\t},\n});\n\nexport default HiloSummary;\n","import { connect } from 'react-redux';\nimport { hiloClearSessionThunk } from '../../Game/store/hilo/thunks/hiloClearSession.thunk';\nimport HiloSummary from './hiloSummary';\n\nconst mapStateToProps = (state) => {\n\treturn {\n\t\tsummary: state.hilo?.summary,\n\t};\n};\n\nconst mapDispatchToProps = (dispatch) => {\n\treturn {\n\t\tclear: () => dispatch(hiloClearSessionThunk()),\n\t};\n};\n\nconst HiloSummaryContainer = connect(\n\tmapStateToProps,\n\tmapDispatchToProps,\n)(HiloSummary);\n\nexport default HiloSummaryContainer;\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nimport { checkMobileType } from '@legacyApp/client/modules/app/appService';\nimport { getHiloStatus } from '@legacyApp/client/modules/app/hiloService';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\nimport { GameType } from '@modules/games/Game/constants/availableGames';\n\nimport { Carousel } from '@legacyApp/client/components/carousel/Carousel';\nimport { GameSettingsContainer } from '@modules/games/Game/components/Game.components/gameSettings';\nimport { GameStats } from '@modules/games/Game/components/Game.components/GameStats';\nimport { CardsTileContainer } from '@modules/games/HiloGame/CardsTile';\nimport { DecisionButtonsBox } from '@modules/games/HiloGame/DecisionButtons';\nimport { StyledGameBoardSlider, StyledHiloGame } from '@modules/games/HiloGame/HiloGame.styled';\nimport { HiloControllerContainer } from '@modules/games/HiloGame/HiloController';\nimport { HiloSessionContainer } from '@modules/games/HiloGame/HiloSession';\nimport HiloSummaryContainer from '@modules/games/HiloGame/HiloSummary/hiloSummary.container';\n\nclass HiloGame extends PureComponent {\n\tstatic propTypes = {\n\t\tskipActive: PropTypes.bool,\n\t\tgetSession: PropTypes.func,\n\t\tisSession: PropTypes.bool,\n\t\tsession: PropTypes.any,\n\t\tsessionActive: PropTypes.bool,\n\t\tisLogged: PropTypes.bool,\n\t\tplaceBet: PropTypes.func,\n\t\tdeviceType: PropTypes.string,\n\t\tupdateSession: PropTypes.func,\n\t\tisMobile: PropTypes.bool,\n\t\tdisabledAnimations: PropTypes.bool,\n\t\tsetLocked: PropTypes.func,\n\t\tlocked: PropTypes.bool,\n\t};\n\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\tisMobile: false,\n\t\t\tisLost: false,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.getSession();\n\n\t\tthis.setState((state) => ({\n\t\t\t...state,\n\t\t\tisLost: this.isLost(this.props),\n\t\t\tisMobile:\n\t\t\t\tthis.props.deviceType === 'tabletSmall' ||\n\t\t\t\tcheckMobileType(this.props.deviceType),\n\t\t}));\n\t}\n\n\tcomponentDidUpdate(prevProps) {\n\t\tif (this.props.isLogged && !prevProps.isLogged) {\n\t\t\tthis.getSession();\n\t\t}\n\n\t\tif (\n\t\t\tthis.props.session !== prevProps.session ||\n\t\t\t(this.props.session &&\n\t\t\t\tthis.props.session.bets.length &&\n\t\t\t\tthis.props.session.bets[this.props.session.bets.length - 1]\n\t\t\t\t\t.sub_nonce !==\n\t\t\t\tprevProps.session.bets[prevProps.session.bets.length - 1].status)\n\t\t) {\n\t\t\tthis.setState({\n\t\t\t\tisLost: this.isLost(),\n\t\t\t});\n\t\t}\n\n\t\tif (this.props.deviceType !== prevProps.deviceType) {\n\t\t\tthis.setState({\n\t\t\t\tisMobile:\n\t\t\t\t\tthis.props.deviceType === 'tabletSmall' ||\n\t\t\t\t\tcheckMobileType(this.props.deviceType),\n\t\t\t});\n\t\t}\n\t}\n\n\tisLost = (props = this.props) => {\n\t\tif (!props.session || !props.session.bets.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn (\n\t\t\tgetHiloStatus(\n\t\t\t\tprops.session.bets[props.session.bets.length - 1].status,\n\t\t\t) === 'lose'\n\t\t);\n\t};\n\n\tgetSession() {\n\t\tif (!this.props.isLogged || this.props.isSession) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.props.getSession();\n\t}\n\n\tplaceBetSkip = () => {\n\t\tif (this.props.locked) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.props.setLocked(true);\n\n\t\tif (this.props.sessionActive) {\n\t\t\treturn setTimeout(\n\t\t\t\t() => {\n\t\t\t\t\tthis.props.placeBet('skip');\n\t\t\t\t},\n\t\t\t\tthis.props.disabledAnimations ? 0 : 100,\n\t\t\t);\n\t\t}\n\n\t\tthis.props.updateSession(false, true);\n\t};\n\n\trender() {\n\t\tconst Slider = this.state.isMobile ? null : (\n\t\t\t\n\t\t);\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\n\t\t\t\t
\n\t\t\t\t\t{!this.state.isMobile && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t{Slider}\n\n\t\t\t\t\t\n\n\t\t\t\t\t{Slider}\n\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t{!this.state.isMobile ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tid: 'extended',\n\t\t\t\t\t\t\t\t\tel: (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t\n\n\t\t\t\t{!this.props.isMobile && (\n\t\t\t\t\t\n\t\t\t\t)}\n\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nHiloGame = enhanceComponent({\n\tHiloGame,\n});\n\nexport { HiloGame };\n","import { connect } from 'react-redux';\n\nimport { OPTIONS } from '@legacyApp/client/store/options/options.constants';\nimport {\n\thiloGetSession,\n\thiloLocked,\n\thiloPlaceBet,\n\thiloUpdateSession,\n} from '@modules/games/Game/store/hilo/hilo.actions';\n\nimport { HiloGame } from '@modules/games/HiloGame/HiloGame';\n\nconst mapStateToProps = (state) => {\n\treturn {\n\t\tskipActive: state.hilo?.skipActive,\n\t\tisSession: state.hilo?.isSession,\n\t\tsession: state.hilo?.session,\n\t\tsessionActive: state.hilo?.sessionActive,\n\t\tisLogged: state.user.isLogged,\n\t\tdeviceType: state.app.contentDeviceType,\n\t\tisMobile: state.app.mobile,\n\t\tdisabledAnimations: !state.options[OPTIONS.ANIMATION],\n\t\tlocked: state.hilo?.locked,\n\t};\n};\n\nconst mapDispatchToProps = (dispatch) => {\n\treturn {\n\t\tgetSession: () => dispatch(hiloGetSession()),\n\t\tplaceBet: (type) => dispatch(hiloPlaceBet(type)),\n\t\tupdateSession: (data, bool) => dispatch(hiloUpdateSession(data, bool)),\n\t\tsetLocked: (bool) => dispatch(hiloLocked(bool)),\n\t};\n};\n\nconst HiloGameContainer = connect(\n\tmapStateToProps,\n\tmapDispatchToProps,\n)(HiloGame);\n\nexport default HiloGameContainer;\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 { 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 HiloGameContainer from '@modules/games/HiloGame/HiloGame.container';\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: 'Hilo Crypto Game',\n\tnamespace: 'hiloPageContent',\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['answer2-2'],\n\t\t\t\t['answer2-3'],\n\t\t\t\t{\n\t\t\t\t\ttitle: 'answer2-4-title',\n\t\t\t\t\tlist: ['answer2-4-list1', 'answer2-4-list2', 'answer2-4-list3'],\n\t\t\t\t},\n\t\t\t\t[\n\t\t\t\t\t{\n\t\t\t\t\t\tmessage: 'answer2-5',\n\t\t\t\t\t\tcomponents: (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tIf you need additional guidance to play this game,\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<>check the simple video\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\twe created explaining how to play the Hi-lo game.\n\t\t\t\t\t\t\t\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{\n\t\t\t\t\ttitle: 'answer3-2-title',\n\t\t\t\t\tlist: [\n\t\t\t\t\t\t'answer3-2-list1',\n\t\t\t\t\t\t'answer3-2-list2',\n\t\t\t\t\t\t'answer3-2-list3',\n\t\t\t\t\t\t'answer3-2-list4',\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t['answer3-3'],\n\t\t\t\t['answer3-4'],\n\t\t\t\t['answer3-5'],\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.HILO),\n];\n\nexport async function getStaticProps(props) {\n\tconst { page_content } = await getPageData(\n\t\t`${PAGE_ID}/${GameType.HILO}`,\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.HILO_PAGE_CONTENT],\n\t);\n}\n\nexport default pageEnhancer(\n\t({ params }) => (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t),\n\t{\n\t\tid: PAGE_ID,\n\t\tpageDescription,\n\t\tnoSeo: true,\n\t\tstructuredData: (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/hilo\",\n function () {\n return require(\"private-next-pages/casino/hilo.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/casino/hilo\"])\n });\n }\n ","export var noop = function () { };\n"],"names":["StyledCarousel","styled","Carousel","props","autoHeight","css","theme","colors","active","inputBackgroundSolid","controlArrow","StyledCarouselGlobal","createGlobalStyle","defaultProps","showArrows","showStatus","showIndicators","infiniteLoop","showThumbs","useKeyboardArrows","autoPlay","stopOnHover","swipeable","dynamicHeight","emulateTouch","autoFocus","thumbWidth","selectedItem","interval","transitionTime","swipeScrollTolerance","sections","map","el","Fragment","id","Tippy","arrow","ChildrenWithInstance","Children","this","children","child","React","tippyinstance","instance","Tooltip","setState","onModal","getModalElement","element","current","closest","setTimeout","isFunction","state","popperInstance","forceUpdate","modalElement","modalResizeObserver","observe","isOnModal","forceHide","modal","mobile","chatVisible","sideMenuVisible","input","querySelector","document","activeElement","focus","isVisible","hide","closeOnScrollElemClass","elem","addEventListener","closeOnScroll","removeEventListener","ResizeObserver","popperForceUpdate","strategy","setForceHide","setOnModalResize","closeOnScrollEventAdd","unobserve","closeOnScrollEventRemove","prevProps","content","visible","passInstance","localTheme","namespace","className","handleComponentError","dispatch","mobileEnable","trans","label","onMouseEnter","ref","interactive","zIndex","classnames","onShown","onCreate","setInstance","enhanceComponent","connect","app","chat","isSideMenuVisible","StyledGamePanel","box","StyledGamePanelButton","StyledGamePanelButtonMain","$isDisabled","$isAutoBetRolling","$isNoClick","noclick","media","minWidthDesktop","minWidthBigDesktop","StyledGamePanelLoadingLogo","LoadingLogo","$isHidden","hiloDrawCard","type","HILO_DRAW_CARD","hiloSetActiveCard","payload","HILO_SET_ACTIVE_CARD","hiloUpdateActiveCard","flipCard","HILO_UPDATE_ACTIVE_CARD","hiloGetSession","HILO_GET_SESSION","hiloSetSession","HILO_SET_SESSION","hiloUpdateSession","HILO_UPDATE_SESSION","hiloSetSessionActive","HILO_SET_SESSION_ACTIVE","hiloSkipActive","HILO_SKIP_ACTIVE","hiloSetSummary","HILO_SET_SUMMARY","initNextCard","callback","noAnimation","getState","hilo","skipActive","Promise","resolve","then","audioService","Sounds","actions","push","hiloPlaceBet","HILO_PLACE_BET","hiloCashout","HILO_CASHOUT","hiloAddToMyBets","HILO_ADD_TO_MY_BETS","hiloVaildSession","HILO_VALID_SESSION","hiloLocked","HILO_LOCKED","hiloClearSessionThunk","summary","RollRule","StyledCardsTile","grey","borderRadius","skip","CardsTile","obj","checkHotkeysAllowed","disableHotkeys","keyCode","getHotkey","game","preventDefault","handleSkipCard","activeCard","sessionActive","skipCard","drawCard","noAnimations","allowSkip","lockSkip","onSkipCard","timeout","clearTimeout","window","handleKeyboard","refEl","onClick","disabled","styleType","ButtonStyleType","iconBefore","Image","src","skipImg","alt","name","cardClass","code","back","CardsTileContainer","options","OPTIONS","getHotkeyThunk","useHiloSessionActive","useAppSelector","shallowEqual","useHiloLocked","locked","getName","indexOf","capitalize","StyledDecisionButtonNameName","StyledDecisionButtonNamePayload","StyledDecisionButtonNameWinChance","StyledDecisionButtonName","text","height","regular","fontSize","size","sizeDesktop","important","cutTextStyle","StyledDecisionButton","Button","attrs","$type","DecisionButton","elementRef","useRef","timeoutRef","useAppDispatch","useOptionEnabled","session","prev","next","transactionService","betAmount","useGameBetAmount","GameType","currency","user","activeCurrency","setLocked","useCallback","bool","showAlert_","message","showAlert","makeDecision","useState","getHiloWinChance","winChance","setWinChance","getPayout","payout","setPayout","setName","lockAction","setLockAction","isAvailable","setIsAvailable","setDisabled","disabledTypes","alertLabel","setAlertLabel","handleLockAction","checkIsAvailable","parseFloat","profit","getProfit","getLimits","profit_maximum","getAlertLabel","value","toUpperCase","handleDecision","useWindowEventListener","useOnMount","useEffect","name_","nameCompare","alertLabel_","payout_","isAvailable_","winChance_","DecisionButtonsBox","list","length","StyledDecisionButtons","StyledGameBoardSlider","$active","StyledHiloGame","$disabledAnimations","StyledHiloController","HiloBetButton","useDispatch","sessionBets","bets","validSession","deviceType","useAppDeviceType","isLoading","loader","modules","formError","useGameValidationFormError","handler","when","savedHandler","memoizedCallback","e","contains","target","noop","useOutsideClick","checkMobileType","HiloController","isMobile","createRef","updateIsMobile","updatePayout","as","autoBetRolling","amount","disableButtons","classNames","withPayoutLabel","noUpdate","PureComponent","clickOutside","HiloControllerContainer","undefined","contentDeviceType","updatePayoutThunk","initial","initial_bet_value","disabledAnimations","HiloSession","StyledHiloSummary","positive","StyledHiloSummaryPayout","tableBorder","HiloSummary","clear","handleClickOutside","currencyInFront","HiloGame","getHiloStatus","status","placeBet","updateSession","isLost","getSession","isLogged","sub_nonce","isSession","Slider","$isMobile","placeBetSkip","horizontal","GameStats","toggleLayoutHeightThreshold","data","pageDescription","noParagraphTranslate","noTitleIndex","noParagraphIndex","toggle","title","paragraphs","components","Redirect","rel","href","PAGE_ID","ROUTING_ID","getBreadcrumbs","locale","getBreadcrumbsCasino","getBreadcrumbsCasinoGame","pageEnhancer","params","seoProps","noindex","nofollow","pageParams","GameLoaded","loaded","noSeo","structuredData","GameJsonLd","itemListElements","__NEXT_P"],"mappings":";;iNAKaA,GAAiBC,EAAAA,EAAAA,IAAOC,EAAAA,IAAV,qEAAGD,CAAH,+ZACxB,SAACE,GAAD,OACDA,EAAMC,YACHC,EAAAA,EAAAA,IADH,sDAOG,MAekB,SAACF,GAAD,OAAWA,EAAMG,MAAMC,OAAOC,UAE5B,SAACL,GAAD,OAAWA,EAAMG,MAAMC,OAAOE,uBAcnDC,EAAAA,G,WCzCSC,GAAuBC,EAAAA,EAAAA,IAAH,unO,+lBCGjC,IAAMC,EAA8B,CACnCC,YAAY,EACZC,YAAY,EACZC,gBAAgB,EAChBC,cAAc,EACdC,YAAY,EACZC,mBAAmB,EACnBC,UAAU,EACVC,aAAa,EACbC,WAAW,EACXC,eAAe,EACfC,cAAc,EACdC,WAAW,EACXC,WAAY,IACZC,aAAc,EACdC,SAAU,IACVC,eAAgB,IAChBC,qBAAs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