{"version":3,"file":"static/chunks/31520-9cbf0c743bdfb994.js","sources":["webpack://_N_E/./src/LegacyApp/client/components/transactionsTable/myBets/myBetsTable.tsx","webpack://_N_E/./src/LegacyApp/client/components/transactionsHistory/TransactionsHistory.tsx","webpack://_N_E/./src/LegacyApp/client/components/mainLayout/index.tsx","webpack://_N_E/./src/common/icons/all-bets.tsx","webpack://_N_E/./src/common/icons/highroll.tsx","webpack://_N_E/./src/common/icons/my-bets.tsx","webpack://_N_E/./src/common/icons/wolf-race.tsx","webpack://_N_E/./src/modules/games/Game/store/gameAutobet/gameAutobet.actions.ts","webpack://_N_E/./src/modules/race/components/raceResults/index.ts"],"sourceRoot":"","sourcesContent":["import { FC } from 'react';\n\nimport { LOADING_IDS } from '@common/constants/fetch/loading.ids';\nimport { useOnMount } from '@common/hooks/useOnMount';\nimport { getTransactionsThunk } from '@legacyApp/client/store/transactions/thunks/getTransactions.thunk';\nimport { useTransactionsAnimation, useTransactionsMeta } from '@legacyApp/client/store/transactions/transactions.selectors';\nimport { useAppDispatch } from '@legacyApp/hooks/store/useAppDispatch';\nimport { columnsService } from '@modules/table/columnsService';\nimport { TABLE_ID } from '@modules/transactions/constants/TableId';\nimport transactionService from '@modules/transactions/transactionsService';\n\nimport { NoResultsElement } from '@common/components/layout/Table/components/noResultsElement';\nimport { TableLoadingRow } from '@common/components/layout/Table/components/tableLoadingRow';\nimport { TableRow } from '@common/components/layout/Table/components/tableRow';\nimport { TableRowContent } from '@common/components/layout/Table/components/tableRowContent';\nimport { StyledTableNoScroll, StyledTableRow, StyledTBody, StyledTHead } from '@common/components/layout/Table/components/Table.styled';\n\nconst COLUMNS = columnsService.getColumns(TABLE_ID.myBets);\n\nconst ROW_COMPARE_KEYS = transactionService.getRowCompareKeys(TABLE_ID.myBets);\n\nconst MyBetsTable: FC<{\n\tlimit?: number;\n}> = ({ limit }) => {\n\tconst dispatch = useAppDispatch();\n\n\tconst meta = useTransactionsMeta(TABLE_ID.myBets);\n\tconst data = useTransactionsAnimation(TABLE_ID.myBets);\n\n\tuseOnMount(() => {\n\t\tif (!meta?.current_page || (meta?.current_page && meta?.current_page > 1)) {\n\t\t\tdispatch(\n\t\t\t\tgetTransactionsThunk({\n\t\t\t\t\tid: TABLE_ID.myBets,\n\t\t\t\t\tpage: 1,\n\t\t\t\t\tdisable: false,\n\t\t\t\t\trefresh: true,\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t});\n\n\tconst dataSliced = data.slice(0, limit || data?.length);\n\n\treturn (\n\t\t<StyledTableNoScroll\n\t\t\tas=\"div\"\n\t\t\tname={`table-${TABLE_ID.myBets}`}\n\t\t\t$noResults={!data.length}\n\t\t\tclassName={`table-${TABLE_ID.myBets}`}\n\t\t>\n\t\t\t<>\n\t\t\t\t<StyledTHead as=\"div\">\n\t\t\t\t\t<StyledTableRow as=\"div\">\n\t\t\t\t\t\t<TableRowContent columns={COLUMNS} />\n\t\t\t\t\t</StyledTableRow>\n\t\t\t\t</StyledTHead>\n\n\t\t\t\t<StyledTBody $length={dataSliced?.length || 1} as=\"div\">\n\t\t\t\t\t<>\n\t\t\t\t\t\t{!!dataSliced.length &&\n\t\t\t\t\t\t\tdataSliced.map((el, index) => (\n\t\t\t\t\t\t\t\t<TableRow\n\t\t\t\t\t\t\t\t\trowClass=\"initial-blink\"\n\t\t\t\t\t\t\t\t\tkey={`${TABLE_ID.myBets}_${el.hash}`}\n\t\t\t\t\t\t\t\t\tel={el}\n\t\t\t\t\t\t\t\t\tindex={index}\n\t\t\t\t\t\t\t\t\tcolumns={COLUMNS}\n\t\t\t\t\t\t\t\t\tcompareKeys={ROW_COMPARE_KEYS}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t))}\n\n\t\t\t\t\t\t<TableLoadingRow\n\t\t\t\t\t\t\tid={LOADING_IDS.GET_USER_BETS}\n\t\t\t\t\t\t\tisData={!!dataSliced.length && dataSliced.length > 4}\n\t\t\t\t\t\t\tmessage={\n\t\t\t\t\t\t\t\t!dataSliced.length && (\n\t\t\t\t\t\t\t\t\t<NoResultsElement\n\t\t\t\t\t\t\t\t\t\tnoResultsText={'Your bets history is empty'}\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\t\t\t\t</StyledTBody>\n\t\t\t</>\n\t\t</StyledTableNoScroll>\n\t);\n};\n\nexport { MyBetsTable };\n","import React, { ComponentType, FC, useCallback, useState } from 'react';\nimport styled from 'styled-components';\nimport { useDispatch } from 'react-redux';\nimport { TabNavigation } from '@ui/tab-navigation';\nimport { TabButtonProps } from '@ui/tab-button';\nimport { TabNavigationWrapperStyled } from '@ui/tab-navigation/TabNavigation.styled';\nimport { CSSClassNameButton } from '@ui/button';\nimport { AllBets } from '@icons/all-bets';\nimport { WolfRace } from '@icons/wolf-race';\nimport { Highroll } from '@icons/highroll';\nimport { MyBets } from '@icons/my-bets';\nimport { RaceResults } from '@modules/race/components/raceResults';\nimport { useUserIsLogged } from '@common/selectors/user.selectors';\nimport { useRouterQueryKey } from '@common/selectors/router.selectors';\nimport { TABLE_ID, TableIdType } from '@modules/transactions/constants/TableId';\nimport { useStateEffect } from '@common/hooks/useStateEffect';\nimport { useOnMount } from '@common/hooks/useOnMount';\nimport transactionService from '@modules/transactions/transactionsService';\nimport { updateUrlQuery } from '@legacyApp/client/store/app/app.actions';\nimport { TransactionsTable } from '@legacyApp/client/components/transactionsTable/transactionsTable';\nimport { MyBetsTable } from '@legacyApp/client/components/transactionsTable/myBets/myBetsTable';\n\nconst DEFAULT_LIMIT = 10;\n\nexport interface Table {\n\tid: TableIdType;\n\tname: TabButtonProps['label'];\n\tisLogged?: boolean;\n\tcomponent?:\n\t\t| FC<{\n\t\t\t\tlimit?: number;\n\t\t\t\tpagination?: boolean;\n\t\t  }>\n\t\t| ComponentType<{\n\t\t\t\tlimit?: number;\n\t\t\t\tpagination?: boolean;\n\t\t  }>;\n\tloadingId?: string;\n\tnoWrap?: boolean;\n\tdisabled?: boolean;\n\ticon: TabButtonProps['icon'];\n}\n\nconst TABLES: Array<Table> = [\n\t{\n\t\tid: TABLE_ID.myBets,\n\t\tname: {\n\t\t\tlabel: 'My bets',\n\t\t},\n\t\tisLogged: true,\n\t\ticon: MyBets,\n\t\tcomponent: (props) => <MyBetsTable limit={props.limit} />,\n\t},\n\t{\n\t\tid: TABLE_ID.allBets,\n\t\tname: {\n\t\t\tlabel: 'All bets',\n\t\t},\n\t\tloadingId: 'GetTransactions',\n\t\ticon: AllBets,\n\t},\n\t{\n\t\tid: TABLE_ID.highRolls,\n\t\tname: {\n\t\t\tlabel: 'High Rollers',\n\t\t},\n\t\tloadingId: 'highGetTransactions',\n\t\ticon: Highroll,\n\t},\n\t{\n\t\tid: TABLE_ID.raceResults,\n\t\ticon: WolfRace,\n\t\tname: {\n\t\t\tlabel: 'Wolf Race',\n\t\t},\n\t\tcomponent: () => <RaceResults />,\n\t\tnoWrap: true,\n\t},\n];\n\nconst getTableContent = (table) => {\n\treturn table?.component ? (\n\t\ttable.component({\n\t\t\tlimit: DEFAULT_LIMIT,\n\t\t\tpagination: false,\n\t\t})\n\t) : (\n\t\t<TransactionsTable\n\t\t\tid={table?.id}\n\t\t\tlimit={DEFAULT_LIMIT}\n\t\t\tnoResultsText={'No bets'}\n\t\t\tloadingId={table && table.loadingId}\n\t\t/>\n\t);\n};\n\nconst useAvailableTables = () => {\n\tconst isLogged = useUserIsLogged();\n\tconst getTables = useCallback(() => {\n\t\treturn TABLES.filter((table) => {\n\t\t\tif (table.disabled) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (!isLogged) {\n\t\t\t\treturn !table.isLogged;\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\t}, [isLogged]);\n\treturn useStateEffect(getTables, (a, b) =>\n\t\ttransactionService.isListDifferent(a, b, ['id']),\n\t);\n};\n\nconst useActiveTableContent = (activeTable: Table) => {\n\tconst getActiveTableContent = useCallback(() => {\n\t\treturn {\n\t\t\tid: activeTable.id,\n\t\t\tcontent: getTableContent(activeTable),\n\t\t};\n\t}, [activeTable]);\n\treturn useStateEffect(getActiveTableContent, (a, b) => a.id !== b.id);\n};\n\nconst useTabs = (availableTables: Array<Table>) => {\n\tconst getTabs = useCallback(() => {\n\t\treturn availableTables.map(\n\t\t\t(table): TabButtonProps => ({\n\t\t\t\tid: table.id,\n\t\t\t\tlabel: table.name,\n\t\t\t\ticon: table.icon,\n\t\t\t}),\n\t\t);\n\t}, [availableTables]);\n\treturn useStateEffect(getTabs, (a, b) =>\n\t\ttransactionService.isListDifferent(a, b, ['id']),\n\t);\n};\n\nexport const TransactionsHistory: FC = () => {\n\tconst dispatch = useDispatch();\n\tconst queryTable = useRouterQueryKey('table');\n\tconst availableTables = useAvailableTables();\n\tconst tabs = useTabs(availableTables);\n\tconst [activeTable, setActiveTable_] = useState<Table>(availableTables[0]);\n\tconst activeTableContent = useActiveTableContent(activeTable);\n\n\tconst handleChangeTable = useCallback(\n\t\t(table: Table = null) => {\n\t\t\tconst table_: Table = table || activeTable;\n\t\t\tif (table_.id === activeTable?.id) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// console.log('handleChangeTable', {\n\t\t\t// \ttable,\n\t\t\t// \tactiveTable,\n\t\t\t// \ttable_,\n\t\t\t// \tavailableTables,\n\t\t\t// });\n\t\t\tconst tableId = table_?.id === availableTables[0].id ? null : table_?.id;\n\t\t\tif ((tableId || (!tableId && queryTable)) && queryTable !== tableId) {\n\t\t\t\tdispatch(updateUrlQuery({ table: tableId }));\n\t\t\t}\n\t\t\tsetActiveTable_(table_);\n\t\t},\n\t\t[activeTable, availableTables, queryTable, dispatch],\n\t);\n\n\tconst handleChangeTableId = useCallback(\n\t\t(event, { id: tableId }) => {\n\t\t\tconst table = availableTables.find((table) => table.id === tableId);\n\t\t\thandleChangeTable(table);\n\t\t},\n\t\t[availableTables, handleChangeTable],\n\t);\n\n\tuseOnMount(() => {\n\t\tif (queryTable) {\n\t\t\tconst table = availableTables.find((el) => el.id === queryTable) || null;\n\t\t\tif (table) {\n\t\t\t\thandleChangeTable(table);\n\t\t\t}\n\t\t}\n\t});\n\n\treturn (\n\t\t<TransactionsHistoryWrapper>\n\t\t\t<TabNavigation\n\t\t\t\ttabs={tabs}\n\t\t\t\tonClick={handleChangeTableId}\n\t\t\t\tactiveTabId={activeTable?.id}\n\t\t\t/>\n\t\t\t{activeTableContent.content}\n\t\t</TransactionsHistoryWrapper>\n\t);\n};\n\nconst TransactionsHistoryWrapper = styled.div`\n\tfloat: left;\n\twidth: 100%;\n\n\t${TabNavigationWrapperStyled} {\n\t\tmargin-bottom: 36px;\n\t}\n\n\t.${CSSClassNameButton} {\n\t\ttext-transform: capitalize;\n\t}\n\n\t@media (max-width: ${(props) => props.theme.media_v2.max_mobile_medium}) {\n\t\t${TabNavigationWrapperStyled} {\n\t\t\tmargin-bottom: 24px;\n\t\t}\n\t}\n`;\n","import { FC, PropsWithChildren, useCallback, useEffect } from 'react';\n\nimport {\n\tuseAppIsViewLocked,\n\tuseAppMobile,\n} from '@common/selectors/app.selectors';\nimport { setLockedView } from '@legacyApp/client/store/app/app.actions';\nimport { useAppDispatch } from '@legacyApp/hooks/store/useAppDispatch';\n\nimport {\n\tStyledMainDashboard,\n\tStyledMainDashboardProps,\n\tStyledMainDashboardV2,\n} from '@legacyApp/client/modules/style/components/MainDashboard.styled';\nimport { TransactionsHistory } from '@legacyApp/client/components/transactionsHistory/TransactionsHistory';\n\nexport interface MainLayoutProps extends StyledMainDashboardProps {\n\tlockView?: boolean;\n\tv2?: boolean;\n\tshowTransactions?: boolean;\n\tdisableTransactions?: boolean;\n}\n\nexport const MainLayout: FC<PropsWithChildren<MainLayoutProps>> = ({\n\tchildren,\n\tlockView,\n\tv2,\n\tshowTransactions,\n\tdisableTransactions,\n\t...props\n}) => {\n\tconst isMobile = useAppMobile();\n\n\tconst locked = useAppIsViewLocked();\n\n\tconst dispatch = useAppDispatch();\n\n\tconst Dashboard = v2 ? StyledMainDashboardV2 : StyledMainDashboard;\n\n\tconst setLockedView_ = useCallback(\n\t\t(isLockedView: boolean) => {\n\t\t\tif (!lockView) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (isLockedView !== locked) {\n\t\t\t\tdispatch(setLockedView('mainLayout', isLockedView));\n\t\t\t}\n\t\t},\n\t\t[dispatch, lockView, locked],\n\t);\n\n\tuseEffect(() => {\n\t\tsetLockedView_(true);\n\n\t\treturn () => {\n\t\t\tsetLockedView_(false);\n\t\t};\n\t}, [setLockedView_]);\n\n\treturn (\n\t\t<Dashboard {...props}>\n\t\t\t{children}\n\n\t\t\t{(!isMobile || showTransactions) && !disableTransactions && (\n\t\t\t\t<TransactionsHistory />\n\t\t\t)}\n\t\t</Dashboard>\n\t);\n};\n","import { CSSProperties } from 'react';\nimport { Svg } from '@legacyApp/client/components/svg/Svg';\nimport { useId } from '../hooks/useId';\n\nexport interface IconProps {\n\tfill?: string;\n\tfillStop?: string;\n\tfillMiddle?: string;\n\twidth?: number;\n\theight?: number;\n\tactive?: boolean;\n\tclassName?: string;\n\tstyle?: CSSProperties;\n}\n\nexport const AllBets = ({ fill, fillStop }: IconProps) => {\n\tconst { get } = useId({ id: 'all_bets' });\n\tconst color = fill || 'white';\n\treturn Svg({\n\t\tcontent: (\n\t\t\t<>\n\t\t\t\t<mask\n\t\t\t\t\tid={get(1).id}\n\t\t\t\t\tstyle={{ maskType: 'alpha' }}\n\t\t\t\t\tmaskUnits=\"userSpaceOnUse\"\n\t\t\t\t\tx=\"0\"\n\t\t\t\t\ty=\"3\"\n\t\t\t\t\twidth=\"20\"\n\t\t\t\t\theight=\"14\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M7.5 9.375C10.9518 9.375 13.75 8.1158 13.75 6.5625C13.75 5.0092 10.9518 3.75 7.5 3.75C4.04822 3.75 1.25 5.0092 1.25 6.5625C1.25 8.1158 4.04822 9.375 7.5 9.375Z\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M1.25 6.5625V9.6875C1.25 11.2422 4.04687 12.5 7.5 12.5C10.9531 12.5 13.75 11.2422 13.75 9.6875V6.5625\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M5 9.14062V12.2656\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M13.75 7.55469C16.6016 7.82031 18.75 8.95313 18.75 10.3125C18.75 11.8672 15.9531 13.125 12.5 13.125C10.9687 13.125 9.5625 12.875 8.47656 12.4688\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M6.25 12.4453V13.4375C6.25 14.9922 9.04687 16.25 12.5 16.25C15.9531 16.25 18.75 14.9922 18.75 13.4375V10.3125\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M15 12.8906V16.0156\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 9.14062V16.0156\"\n\t\t\t\t\t\tstroke=\"black\"\n\t\t\t\t\t\tfill=\"transparent\"\n\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t/>\n\t\t\t\t</mask>\n\t\t\t\t<g mask={get(1).url}>\n\t\t\t\t\t<rect y=\"-1\" width=\"20\" height=\"20\" fill={get().url} />\n\t\t\t\t</g>\n\t\t\t\t<defs>\n\t\t\t\t\t<linearGradient\n\t\t\t\t\t\tid={get().id}\n\t\t\t\t\t\tx1=\"20\"\n\t\t\t\t\t\ty1=\"-1\"\n\t\t\t\t\t\tx2=\"-1.78814e-06\"\n\t\t\t\t\t\ty2=\"19\"\n\t\t\t\t\t\tgradientUnits=\"userSpaceOnUse\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<stop stopColor={fillStop || color} />\n\t\t\t\t\t\t<stop offset=\"1\" stopColor={color} />\n\t\t\t\t\t</linearGradient>\n\t\t\t\t</defs>\n\t\t\t</>\n\t\t),\n\t\twidth: 20,\n\t\theight: 20,\n\t});\n};\n","import { FC } from 'react';\nimport { IconProps } from '@icons/all-bets';\nimport { Svg } from '@legacyApp/client/components/svg/Svg';\nimport { useId } from '../hooks/useId';\n\nexport const Highroll: FC<IconProps> = ({ fill, fillStop }) => {\n\tconst { get } = useId({ id: 'highroll' });\n\tconst fill_ = fill || 'white';\n\tconst fillStop_ = fillStop || fill;\n\treturn (\n\t\t<Svg\n\t\t\tcontent={\n\t\t\t\t<>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M7.1875 7.5C7.70527 7.5 8.125 7.08027 8.125 6.5625C8.125 6.04473 7.70527 5.625 7.1875 5.625C6.66973 5.625 6.25 6.04473 6.25 6.5625C6.25 7.08027 6.66973 7.5 7.1875 7.5Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M12.8125 7.5C13.3303 7.5 13.75 7.08027 13.75 6.5625C13.75 6.04473 13.3303 5.625 12.8125 5.625C12.2947 5.625 11.875 6.04473 11.875 6.5625C11.875 7.08027 12.2947 7.5 12.8125 7.5Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M8.125 10C8.125 10.5178 7.70527 10.9375 7.1875 10.9375C6.66973 10.9375 6.25 10.5178 6.25 10C6.25 9.48223 6.66973 9.0625 7.1875 9.0625C7.70527 9.0625 8.125 9.48223 8.125 10Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M12.8125 10.9375C13.3303 10.9375 13.75 10.5178 13.75 10C13.75 9.48223 13.3303 9.0625 12.8125 9.0625C12.2947 9.0625 11.875 9.48223 11.875 10C11.875 10.5178 12.2947 10.9375 12.8125 10.9375Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M8.125 13.4375C8.125 13.9553 7.70527 14.375 7.1875 14.375C6.66973 14.375 6.25 13.9553 6.25 13.4375C6.25 12.9197 6.66973 12.5 7.1875 12.5C7.70527 12.5 8.125 12.9197 8.125 13.4375Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M12.8125 14.375C13.3303 14.375 13.75 13.9553 13.75 13.4375C13.75 12.9197 13.3303 12.5 12.8125 12.5C12.2947 12.5 11.875 12.9197 11.875 13.4375C11.875 13.9553 12.2947 14.375 12.8125 14.375Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\t\t\td=\"M5 2.625C3.68832 2.625 2.625 3.68832 2.625 5V15C2.625 16.3117 3.68832 17.375 5 17.375H15C16.3117 17.375 17.375 16.3117 17.375 15V5C17.375 3.68832 16.3117 2.625 15 2.625H5ZM3.625 5C3.625 4.24061 4.24061 3.625 5 3.625H15C15.7594 3.625 16.375 4.24061 16.375 5V15C16.375 15.7594 15.7594 16.375 15 16.375H5C4.24061 16.375 3.625 15.7594 3.625 15V5Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<defs>\n\t\t\t\t\t\t<linearGradient\n\t\t\t\t\t\t\tid={get().id}\n\t\t\t\t\t\t\tx1=\"17.375\"\n\t\t\t\t\t\t\ty1=\"2.625\"\n\t\t\t\t\t\t\tx2=\"2.625\"\n\t\t\t\t\t\t\ty2=\"17.375\"\n\t\t\t\t\t\t\tgradientUnits=\"userSpaceOnUse\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<stop stopColor={fill_} />\n\t\t\t\t\t\t\t<stop offset=\"1\" stopColor={fillStop_} />\n\t\t\t\t\t\t</linearGradient>\n\t\t\t\t\t</defs>\n\t\t\t\t</>\n\t\t\t}\n\t\t\twidth={20}\n\t\t\theight={20}\n\t\t/>\n\t);\n};\n","import { IconProps } from '@icons/all-bets';\nimport { FC } from 'react';\nimport { Svg } from '@legacyApp/client/components/svg/Svg';\nimport { useId } from '../hooks/useId';\n\nexport const MyBets: FC<IconProps> = ({ fill, fillStop }) => {\n\tconst { get } = useId({ id: 'mybets' });\n\tconst color = fill || 'white';\n\treturn (\n\t\t<Svg\n\t\t\tcontent={\n\t\t\t\t<>\n\t\t\t\t\t<path\n\t\t\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\t\t\td=\"M9.00084 5.60693L11.9094 9.00025L9.00084 12.3936L6.09229 9.00025L9.00084 5.60693ZM7.40936 9.00025L9.00084 10.857L10.5923 9.00025L9.00084 7.14352L7.40936 9.00025Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<path\n\t\t\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\t\t\td=\"M0.25 9.00007C0.25 4.16754 4.16754 0.25 9.00007 0.25C13.8326 0.25 17.7501 4.16754 17.7501 9.00007C17.7501 13.8326 13.8326 17.7501 9.00007 17.7501C4.16754 17.7501 0.25 13.8326 0.25 9.00007ZM5.5782 2.04441C4.96331 2.34748 4.39442 2.72969 3.88484 3.17774L4.05084 3.34373C4.2461 3.53899 4.2461 3.85558 4.05084 4.05084C3.85558 4.2461 3.53899 4.2461 3.34373 4.05084L3.17774 3.88484C2.72969 4.39442 2.34748 4.96331 2.04441 5.5782L3.89755 6.34653C4.44275 5.30029 5.30029 4.44275 6.34653 3.89755L5.5782 2.04441ZM1.25 9.00007C1.25 8.12602 1.39469 7.28577 1.66143 6.50195L3.51471 7.27035C3.34273 7.81626 3.25 8.39733 3.25 9.00005C3.25 9.60317 3.34286 10.1846 3.51505 10.7308L1.66178 11.4992C1.39482 10.7151 1.25 9.87451 1.25 9.00007ZM2.04489 12.4229C2.34798 13.0376 2.73015 13.6063 3.17813 14.1158L3.34373 13.9502C3.53899 13.7549 3.85558 13.7549 4.05084 13.9502C4.2461 14.1454 4.2461 14.462 4.05084 14.6573L3.8853 14.8228C4.39484 15.2708 4.96368 15.6529 5.5785 15.9559L6.34685 14.1027C5.3008 13.5577 4.44335 12.7005 3.89807 11.6546L2.04489 12.4229ZM4.62467 10.8523C5.10615 11.9882 6.0171 12.898 7.15387 13.378C7.16393 13.3814 7.17394 13.3852 7.1839 13.3893C7.18575 13.3901 7.18943 13.3917 7.18943 13.3917C7.19738 13.3951 7.2052 13.3987 7.21289 13.4024C7.76456 13.6266 8.36788 13.7501 9.00005 13.7501C9.63529 13.7501 10.2414 13.6254 10.7953 13.3991L10.8044 13.3949L10.8174 13.3893L10.8255 13.3861L10.8401 13.3806C11.9838 12.8996 12.8996 11.9838 13.3806 10.8401C13.3814 10.8377 13.3823 10.8354 13.3832 10.833C13.3851 10.8278 13.3872 10.8226 13.3893 10.8174L13.3943 10.8058L13.3991 10.7953C13.6254 10.2414 13.7501 9.63529 13.7501 9.00005C13.7501 8.36788 13.6266 7.76456 13.4024 7.21289C13.3978 7.20343 13.3934 7.19377 13.3893 7.1839C13.3852 7.17394 13.3814 7.16393 13.378 7.15387C12.898 6.0171 11.9882 5.10615 10.8523 4.62467C10.8406 4.6208 10.829 4.61648 10.8174 4.6117L10.8131 4.60989C10.8031 4.60562 10.7932 4.60106 10.7836 4.59622C10.2329 4.37296 9.63085 4.25 9.00005 4.25C8.37152 4.25 7.7715 4.37208 7.22241 4.59381C7.20994 4.60025 7.1971 4.60623 7.1839 4.6117C7.17063 4.6172 7.15726 4.62209 7.14382 4.62638C6.01307 5.10688 5.10688 6.01307 4.62638 7.14382L4.62474 7.14885C4.62086 7.1606 4.61651 7.17229 4.6117 7.1839C4.60623 7.1971 4.60025 7.20994 4.59381 7.22241C4.37208 7.7715 4.25 8.37152 4.25 9.00005C4.25 9.63085 4.37296 10.2329 4.59622 10.7836C4.60175 10.7946 4.60691 10.8059 4.6117 10.8174C4.61648 10.829 4.62081 10.8406 4.62467 10.8523ZM9.00007 16.7501C8.12614 16.7501 7.286 16.6055 6.50227 16.3388L7.27069 14.4855C7.81651 14.6574 8.39745 14.7501 9.00005 14.7501C9.60304 14.7501 10.1844 14.6573 10.7305 14.4851L11.4989 16.3385C10.7149 16.6054 9.87439 16.7501 9.00007 16.7501ZM12.4226 15.9554C13.0373 15.6524 13.6059 15.2703 14.1153 14.8224L13.9502 14.6573C13.7549 14.462 13.7549 14.1454 13.9502 13.9502C14.1454 13.7549 14.462 13.7549 14.6573 13.9502L14.8224 14.1153C15.2703 13.6059 15.6524 13.0373 15.9554 12.4226L14.1022 11.6543C13.5571 12.6999 12.6999 13.5571 11.6543 14.1022L12.4226 15.9554ZM16.7501 9.00007C16.7501 9.87439 16.6054 10.7149 16.3385 11.4989L14.4851 10.7305C14.6573 10.1844 14.7501 9.60304 14.7501 9.00005C14.7501 8.39745 14.6574 7.81651 14.4855 7.27069L16.3388 6.50227C16.6055 7.286 16.7501 8.12614 16.7501 9.00007ZM15.9559 5.5785C15.6529 4.96368 15.2708 4.39484 14.8228 3.8853L14.6573 4.05084C14.462 4.2461 14.1454 4.2461 13.9502 4.05084C13.7549 3.85558 13.7549 3.53899 13.9502 3.34373L14.1158 3.17813C13.6063 2.73015 13.0376 2.34798 12.4229 2.04489L11.6546 3.89807C12.7005 4.44335 13.5577 5.3008 14.1027 6.34685L15.9559 5.5785ZM6.50195 1.66143L7.27035 3.51471C7.81626 3.34273 8.39733 3.25 9.00005 3.25C9.60317 3.25 10.1846 3.34286 10.7308 3.51505L11.4992 1.66178C10.7151 1.39482 9.87451 1.25 9.00007 1.25C8.12602 1.25 7.28577 1.39469 6.50195 1.66143Z\"\n\t\t\t\t\t\tfill={get().url}\n\t\t\t\t\t/>\n\t\t\t\t\t<defs>\n\t\t\t\t\t\t<linearGradient\n\t\t\t\t\t\t\tid={get().id}\n\t\t\t\t\t\t\tx1=\"17.7501\"\n\t\t\t\t\t\t\ty1=\"0.249999\"\n\t\t\t\t\t\t\tx2=\"0.249998\"\n\t\t\t\t\t\t\ty2=\"17.7501\"\n\t\t\t\t\t\t\tgradientUnits=\"userSpaceOnUse\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<stop stopColor={fillStop || color} />\n\t\t\t\t\t\t\t<stop offset=\"1\" stopColor={color} />\n\t\t\t\t\t\t</linearGradient>\n\t\t\t\t\t</defs>\n\t\t\t\t</>\n\t\t\t}\n\t\t\twidth={18}\n\t\t\theight={18}\n\t\t/>\n\t);\n};\n","import { FC } from 'react';\nimport { IconProps } from '@icons/all-bets';\nimport { Svg } from '@legacyApp/client/components/svg/Svg';\nimport { useId } from '../hooks/useId';\n\nexport const WolfRace: FC<IconProps> = ({ fill, fillStop }) => {\n\tconst { get } = useId({ id: 'wolfrace' });\n\tconst fill_ = fill || 'white';\n\tconst fillStop_ = fillStop || fill;\n\treturn (\n\t\t<Svg\n\t\t\tcontent={\n\t\t\t\t<>\n\t\t\t\t\t<g clipPath={get().url}>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\t\t\t\td=\"M16.3708 2.41176C16.3507 2.41041 16.3274 2.41792 16.3087 2.44032C15.9179 2.90719 15.2604 3.68394 14.6496 4.36498C14.3446 4.70509 14.0482 5.02467 13.801 5.27077C13.6777 5.39354 13.5631 5.50158 13.4636 5.58584C13.3742 5.66149 13.2659 5.7455 13.1614 5.7873C12.8258 5.92153 12.576 5.89339 12.3713 5.8493C12.3379 5.84212 12.3082 5.83541 12.2812 5.82932C12.1467 5.79896 12.0814 5.78421 11.9808 5.80433C11.9814 5.80421 11.9808 5.80431 11.9808 5.80433C11.9809 5.80451 11.9593 5.81119 11.9118 5.84793C11.8617 5.88674 11.8005 5.94586 11.7284 6.02807C11.5838 6.19287 11.4214 6.42033 11.2441 6.68633C11.1403 6.84198 11.0312 7.01154 10.9193 7.18541C10.6611 7.58654 10.3882 8.01057 10.1323 8.33955C9.73172 8.85464 9.06074 9.30635 8.40629 9.65308C8.00129 9.86765 7.58679 10.0502 7.21859 10.1885C7.40663 10.2894 7.62963 10.3954 7.85869 10.4936C8.3579 10.7076 8.98114 10.7039 9.22118 10.6739C9.35015 10.6578 9.4764 10.7197 9.54273 10.8314C9.60906 10.9432 9.60284 11.0837 9.5269 11.1891C8.91431 12.0399 7.40657 14.0115 6.31775 15.0166C5.2223 16.0278 3.56328 16.9699 2.8724 17.3153C2.71098 17.396 2.51469 17.3306 2.43398 17.1692C2.35327 17.0078 2.4187 16.8115 2.58012 16.7308C3.25079 16.3955 4.84588 15.4858 5.87446 14.5364C6.73224 13.7446 7.89133 12.2889 8.61209 11.329C8.29771 11.3037 7.93507 11.2374 7.60124 11.0943C7.30739 10.9684 7.01483 10.8268 6.77911 10.6923C6.66162 10.6252 6.55294 10.5568 6.46353 10.4903C6.3835 10.4307 6.28494 10.3482 6.22436 10.2473C6.17163 10.1594 6.16319 10.0519 6.20156 9.95682C6.23992 9.86178 6.32065 9.79025 6.41962 9.7636C6.83555 9.65162 7.47656 9.40605 8.10033 9.07557C8.73085 8.74152 9.30228 8.34227 9.61647 7.93831C9.85398 7.63294 10.099 7.25209 10.3487 6.86382C10.465 6.68314 10.5822 6.50084 10.7003 6.3238C10.8803 6.05369 11.0625 5.7961 11.2371 5.5971C11.3245 5.49742 11.4165 5.40496 11.5116 5.33129C11.6039 5.25978 11.7192 5.19017 11.8527 5.16347C12.1016 5.11368 12.3122 5.1639 12.45 5.19676C12.4714 5.20188 12.4911 5.20657 12.5089 5.21041C12.6361 5.2378 12.7437 5.2505 12.9187 5.1805C12.9178 5.18085 12.9184 5.18047 12.9206 5.1791C12.9298 5.17324 12.9678 5.14929 13.0413 5.08704C13.1218 5.01887 13.2225 4.92453 13.3399 4.80763C13.5742 4.57438 13.8611 4.26537 14.1631 3.92863C14.7664 3.25597 15.4182 2.48597 15.8075 2.02081C16.1189 1.64888 16.7238 1.66521 16.9811 2.11434C17.0961 2.31505 17.2262 2.55999 17.3205 2.79156C17.3676 2.90714 17.4091 3.02743 17.4343 3.14236C17.4579 3.25057 17.475 3.38776 17.4417 3.52082C17.4042 3.67063 17.3202 3.82798 17.2501 3.95513C17.2327 3.98664 17.2155 4.01744 17.1986 4.04775C17.1393 4.1541 17.0832 4.25449 17.0346 4.35857C16.922 4.5994 16.9083 4.73828 16.9501 4.83268C16.9573 4.82906 16.9655 4.82469 16.9745 4.81944C17.0954 4.74954 17.2542 4.60151 17.4312 4.40441C17.6066 4.20905 17.8628 4.18499 18.0556 4.26763C18.2505 4.3512 18.4121 4.55877 18.3785 4.82774C18.366 4.9273 18.334 5.0194 18.2893 5.10127C17.9125 5.79127 17.1583 7.66639 16.9271 8.43706C16.7874 8.9026 16.737 9.50326 16.7493 10.0591C16.7619 10.6239 16.8379 11.0862 16.9175 11.2853C17.0931 11.7242 17.2068 12.2603 17.2428 12.4762C17.2586 12.571 17.2319 12.6679 17.1698 12.7412C17.1116 12.8099 17.0278 12.8513 16.9383 12.8562L17.5191 14.0177C17.5792 14.1378 17.5596 14.2826 17.4697 14.3824C17.3797 14.4823 17.2379 14.5169 17.1121 14.4698L17.0251 14.4372L17.5254 15.5628C17.5789 15.6832 17.5549 15.8238 17.4646 15.9196C17.3743 16.0155 17.2353 16.0477 17.1121 16.0015L16.895 15.9201C16.9227 16.095 16.9409 16.2943 16.9409 16.5125V17.4315C16.9409 17.612 16.7946 17.7583 16.6141 17.7583C16.4336 17.7583 16.2873 17.612 16.2873 17.4315V16.5125C16.2873 15.9849 16.1602 15.6206 16.1176 15.5353C16.0575 15.4152 16.0771 15.2704 16.167 15.1706C16.2569 15.0707 16.3988 15.0361 16.5246 15.0832L16.6116 15.1158L16.1113 13.9902C16.0578 13.8698 16.0817 13.7292 16.172 13.6334C16.2623 13.5375 16.4013 13.5053 16.5246 13.5515L16.5624 13.5657L16.1176 12.6761C16.0669 12.5748 16.0724 12.4545 16.1319 12.3581C16.1914 12.2618 16.2966 12.2032 16.4099 12.2032H16.5184C16.4674 11.9925 16.3967 11.7429 16.3107 11.528C16.1861 11.2165 16.1089 10.6577 16.0959 10.0736C16.0828 9.48069 16.1344 8.80488 16.3011 8.24926C16.501 7.58297 17.0626 6.15516 17.4786 5.26432C17.4201 5.30995 17.3609 5.35094 17.3018 5.38517C17.1934 5.44785 17.0521 5.50758 16.8948 5.50383C16.7169 5.49959 16.5626 5.41521 16.4548 5.2715C16.1429 4.85562 16.3008 4.38514 16.4425 4.08185C16.5022 3.95417 16.5734 3.82667 16.6342 3.71793C16.6495 3.69054 16.6641 3.66435 16.6777 3.63964C16.7522 3.50451 16.7925 3.41997 16.8069 3.36542C16.8069 3.36543 16.8069 3.36542 16.8069 3.36542C16.8064 3.36537 16.8088 3.34127 16.7958 3.28203C16.7816 3.21692 16.7545 3.13452 16.7153 3.03813C16.6369 2.84574 16.5231 2.62964 16.414 2.43925C16.4077 2.42817 16.4011 2.42253 16.3955 2.41912C16.3892 2.41534 16.3809 2.41244 16.3708 2.41176Z\"\n\t\t\t\t\t\t\tfill={get(1).url}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t\t<defs>\n\t\t\t\t\t\t<linearGradient\n\t\t\t\t\t\t\tid={get(1).id}\n\t\t\t\t\t\t\tx1=\"18.3829\"\n\t\t\t\t\t\t\ty1=\"1.7583\"\n\t\t\t\t\t\t\tx2=\"2.38294\"\n\t\t\t\t\t\t\ty2=\"17.7418\"\n\t\t\t\t\t\t\tgradientUnits=\"userSpaceOnUse\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<stop stopColor={fill_} />\n\t\t\t\t\t\t\t<stop offset=\"1\" stopColor={fillStop_} />\n\t\t\t\t\t\t</linearGradient>\n\t\t\t\t\t\t<clipPath id={get().id}>\n\t\t\t\t\t\t\t<rect width=\"20\" height=\"20\" fill=\"white\" />\n\t\t\t\t\t\t</clipPath>\n\t\t\t\t\t</defs>\n\t\t\t\t</>\n\t\t\t}\n\t\t\twidth={20}\n\t\t\theight={20}\n\t\t/>\n\t);\n};\n","import { actionSimple } from '@legacyApp/client/modules/app/actionService';\nimport { CurrencyType } from '@legacyApp/types/wallet/CurrencyType';\nimport { roundNumber } from '@common/methods/roundNumber/roundNumber';\nimport { LocalStorageKeys } from '@modules/localStorage/types/localStorageKeys.type';\nimport { GameType } from '../../constants/availableGames';\nimport { RollRule } from '../../types/RollRule';\nimport { AutoBetMode } from '../game/thunks/handleBet.thunk';\nimport {\n\tAUTOBET,\n\tAUTOBET_CLEAR,\n\tAUTOBET_PAUSE,\n\tAUTOBET_PLAY,\n\tAUTOBET_RESET_TO_DEFAULT,\n\tAUTOBET_ROLLING,\n\tAUTOBET_SET_ACTIVE,\n\tAUTOBET_SET_AUTO_STATS,\n\tAUTOBET_SET_CONFIG,\n\tAUTOBET_SET_CONFIG_EASY,\n\tAUTOBET_SET_CURRENCY,\n\tAUTOBET_SET_DEFAULTS,\n\tAUTOBET_SET_EDIT_MODAL,\n\tAUTOBET_SET_ID,\n\tAUTOBET_SET_MANUAL,\n\tAUTOBET_SET_MODE,\n\tAUTOBET_SET_PAUSE,\n\tAUTOBET_SET_PAUSE_DATA,\n\tAUTOBET_SET_ROLLS,\n\tAUTOBET_SET_ROLLS_COUNTER,\n\tAUTOBET_STOP,\n\tAUTOBET_STOPPED,\n\tAUTOBET_SUMMARY_CONNECTION_ERROR,\n\tAUTOBET_UPDATE_CONFIG_EASY,\n\tDELETE_AUTOBET_STRATEGY,\n\tDISABLE_CHECK_AUTOBET_STRATEGY,\n\tEDIT_AUTOBET_STRATEGY,\n\tGET_AUTOBET_STRATEGIES,\n\tSAVE_AUTOBET_STRATEGY,\n\tSET_ACTIVE_AUTOBET_STRATEGY,\n\tSET_AUTOBET_STRATEGIES,\n} from './gameAutobet.constants';\n\nexport const autobet = actionSimple(AUTOBET);\n\nexport const autobetPause = actionSimple(AUTOBET_PAUSE);\n\nexport const autobetSetPause = actionSimple(AUTOBET_SET_PAUSE);\n\nexport const autobetSetPauseData = actionSimple(AUTOBET_SET_PAUSE_DATA);\n\nexport const saveAutobetStrategy = (payload, setActive) => ({\n\ttype: SAVE_AUTOBET_STRATEGY,\n\tpayload,\n\tsetActive,\n});\n\nexport const editAutobetStrategy = actionSimple(EDIT_AUTOBET_STRATEGY);\n\nexport const setAutobetStrategies = actionSimple(SET_AUTOBET_STRATEGIES);\n\nexport const getAutobetStrategies = actionSimple(GET_AUTOBET_STRATEGIES);\n\nexport const deleteAutobetStrategy = actionSimple(DELETE_AUTOBET_STRATEGY);\n\nexport const setActiveAutobetStrategy = actionSimple(\n\tSET_ACTIVE_AUTOBET_STRATEGY,\n);\n\nexport const disableCheckAutobetStrategy = actionSimple(\n\tDISABLE_CHECK_AUTOBET_STRATEGY,\n);\n\nexport const getAutobetSessionLength = (game) => {\n\treturn (dispatch, getState) => {\n\t\tconst gameSession = getState().gameSession;\n\t\treturn roundNumber(\n\t\t\tparseFloat(gameSession.lostAuto[game]) +\n\t\t\t\tparseFloat(gameSession.wonAuto[game]),\n\t\t\t0,\n\t\t);\n\t};\n};\n\nexport const autobetSummaryConnectionError = (\n\tbet,\n\tdata = null,\n\tonlyAlert = false,\n) => ({\n\ttype: AUTOBET_SUMMARY_CONNECTION_ERROR,\n\tbet,\n\tdata,\n\tonlyAlert,\n});\n\nexport const autobetSetRolls = actionSimple(AUTOBET_SET_ROLLS);\n\nexport const autobetSetRollsCounter = actionSimple(AUTOBET_SET_ROLLS_COUNTER);\n\nexport const autobetSetActive = actionSimple<{\n\tgame: GameType;\n\tvalue: AutoBetMode | boolean;\n}>(AUTOBET_SET_ACTIVE);\n\nexport const autoBetRolling = actionSimple(AUTOBET_ROLLING);\n\nexport interface AutobetPlayProps {\n\tgame: GameType;\n\tcurrency: CurrencyType;\n\trule?: RollRule;\n\tstopped?: boolean;\n\tmanualConfirmed?: boolean;\n}\n\nexport const autobetPlay = actionSimple<AutobetPlayProps>(AUTOBET_PLAY);\n\nexport const autobetStop = actionSimple(AUTOBET_STOP);\n\nexport const autobetStopped = actionSimple(AUTOBET_STOPPED);\n\nexport const autobetClear = actionSimple(AUTOBET_CLEAR);\n\nexport const autobetSetMode = actionSimple(AUTOBET_SET_MODE, {\n\tlsKey: LocalStorageKeys.AUTOBET_MODE,\n});\n\nexport const autobetSetConfig = actionSimple(AUTOBET_SET_CONFIG);\n\nexport const autobetSetEditModal = actionSimple(AUTOBET_SET_EDIT_MODAL);\n\nexport const autobetSetConfigEasy = actionSimple(AUTOBET_SET_CONFIG_EASY);\n\nexport const autobetUpdateConfigEasy = actionSimple(AUTOBET_UPDATE_CONFIG_EASY);\n\nexport const autobetSetAutoStats = actionSimple(AUTOBET_SET_AUTO_STATS);\n\nexport const autobetSetId = (game, id) => ({\n\ttype: AUTOBET_SET_ID,\n\tgame,\n\tid,\n});\n\nexport const autobetSetCurrency = (game, payload) => ({\n\ttype: AUTOBET_SET_CURRENCY,\n\tgame,\n\tpayload,\n});\n\nexport const autobetSetManual = actionSimple(AUTOBET_SET_MANUAL);\n\nexport const autobetResetToDefault = actionSimple(AUTOBET_RESET_TO_DEFAULT);\nexport const autobetSetDefaults = actionSimple(AUTOBET_SET_DEFAULTS);\n","import { Loadable } from '@legacyApp/client/components/loader/loadable/loadable';\n\nexport const RaceResults = Loadable(\n\t{\n\t\tloader: () => import(/* webpackChunkName: \"RaceResults\" */ './RaceResults'),\n\t},\n\t'./RaceResults',\n);\n"],"names":["COLUMNS","columnsService","TABLE_ID","ROW_COMPARE_KEYS","transactionService","MyBetsTable","limit","dispatch","useAppDispatch","meta","useTransactionsMeta","data","useTransactionsAnimation","useOnMount","current_page","getTransactionsThunk","id","page","disable","refresh","dataSliced","slice","length","as","name","$noResults","className","columns","$length","map","el","index","rowClass","compareKeys","hash","LOADING_IDS","isData","message","noResultsText","TABLES","label","isLogged","icon","MyBets","component","props","loadingId","AllBets","Highroll","WolfRace","noWrap","TransactionsHistory","useDispatch","queryTable","useRouterQueryKey","availableTables","useUserIsLogged","getTables","useCallback","filter","table","disabled","useStateEffect","a","b","useAvailableTables","tabs","getTabs","useTabs","useState","activeTable","setActiveTable_","activeTableContent","getActiveTableContent","content","pagination","useActiveTableContent","handleChangeTable","table_","tableId","updateUrlQuery","handleChangeTableId","event","find","TransactionsHistoryWrapper","onClick","activeTabId","styled","TabNavigationWrapperStyled","CSSClassNameButton","theme","media_v2","max_mobile_medium","MainLayout","children","lockView","v2","showTransactions","disableTransactions","isMobile","useAppMobile","locked","useAppIsViewLocked","Dashboard","StyledMainDashboardV2","StyledMainDashboard","setLockedView_","isLockedView","setLockedView","useEffect","fill","fillStop","get","useId","color","Svg","style","maskType","maskUnits","x","y","width","height","d","stroke","strokeLinecap","strokeLinejoin","mask","url","x1","y1","x2","y2","gradientUnits","stopColor","offset","fill_","fillStop_","fillRule","clipRule","clipPath","autobet","actionSimple","AUTOBET","autobetPause","AUTOBET_PAUSE","autobetSetPause","AUTOBET_SET_PAUSE","autobetSetPauseData","AUTOBET_SET_PAUSE_DATA","saveAutobetStrategy","payload","setActive","type","SAVE_AUTOBET_STRATEGY","editAutobetStrategy","EDIT_AUTOBET_STRATEGY","setAutobetStrategies","SET_AUTOBET_STRATEGIES","getAutobetStrategies","GET_AUTOBET_STRATEGIES","deleteAutobetStrategy","DELETE_AUTOBET_STRATEGY","setActiveAutobetStrategy","SET_ACTIVE_AUTOBET_STRATEGY","disableCheckAutobetStrategy","DISABLE_CHECK_AUTOBET_STRATEGY","autobetSummaryConnectionError","bet","onlyAlert","AUTOBET_SUMMARY_CONNECTION_ERROR","autobetSetRolls","AUTOBET_SET_ROLLS","autobetSetRollsCounter","AUTOBET_SET_ROLLS_COUNTER","autobetSetActive","AUTOBET_SET_ACTIVE","autoBetRolling","AUTOBET_ROLLING","autobetPlay","AUTOBET_PLAY","autobetStop","AUTOBET_STOP","autobetStopped","AUTOBET_STOPPED","autobetClear","AUTOBET_CLEAR","autobetSetMode","AUTOBET_SET_MODE","lsKey","LocalStorageKeys","autobetSetConfig","AUTOBET_SET_CONFIG","autobetSetEditModal","AUTOBET_SET_EDIT_MODAL","autobetSetConfigEasy","AUTOBET_SET_CONFIG_EASY","autobetUpdateConfigEasy","AUTOBET_UPDATE_CONFIG_EASY","autobetSetAutoStats","AUTOBET_SET_AUTO_STATS","autobetSetId","game","AUTOBET_SET_ID","autobetSetCurrency","AUTOBET_SET_CURRENCY","autobetSetManual","AUTOBET_SET_MANUAL","autobetResetToDefault","AUTOBET_RESET_TO_DEFAULT","autobetSetDefaults","AUTOBET_SET_DEFAULTS","RaceResults","Loadable","loader"],"mappings":";;ogBAiBMA,EAAUC,EAAA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