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M,IAAAA,CAAEmB,UAAU,eAAeF,QAAS,IAAMP,SAE7C,GAAAjB,EAAAC,GAAA,EAACX,EAAOA,UACN,GAAAU,EAAAC,GAAA,EAACJ,EAAYA,CAAAA,SAKvB","sources":["webpack://_N_E/./src/components/Refer/TermsModal/style.ts","webpack://_N_E/./src/components/Refer/TermsModal/Content/styles.ts","webpack://_N_E/./src/components/Refer/TermsModal/Content/index.tsx","webpack://_N_E/./src/components/Refer/TermsModal/index.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nexport const ModalHeader = styled.div`\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n & h3 {\n font-size: 18px;\n font-weight: 600;\n color: ${({ theme }) => theme.vars.palette.text.primary};\n }\n\n & i {\n display: flex;\n justify-content: center;\n cursor: pointer;\n width: 24px;\n height: 24px;\n align-items: center;\n font-size: 16px;\n border-radius: 50%;\n background-color: ${({ theme }) => theme.vars.palette.background.default};\n color: ${({ theme }) => theme.vars.palette.text.secondary};\n transition: opacity 0.25s ease-in-out;\n\n &:hover {\n opacity: 0.8;\n }\n }\n`;\n\nexport const Container = styled.div`\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n max-width: 450px;\n background-color: ${({ theme }) => theme.vars.palette.background.paper};\n border-radius: ${({ theme }) => theme.vars.shape.borderRadius};\n display: flex;\n height: 100dvh;\n max-height: 600px;\n flex-direction: column;\n gap: 1rem;\n padding: 24px;\n\n @media (max-width: 768px) {\n max-width: calc(100% - 40px);\n padding: 24px 16px;\n }\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n display: none;\n }\n\n &::-webkit-scrollbar-thumb {\n display: none;\n }\n`;\n\nexport const Content = styled.div`\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n display: none;\n }\n\n &::-webkit-scrollbar-thumb {\n display: none;\n }\n`;\n","import Link from '@/components/core/Link';\nimport styled from 'styled-components';\n\nexport const List = styled.ol`\n width: 100%;\n display: flex;\n flex-direction: column;\n padding-left: 16px;\n gap: 8px;\n counter-reset: rules;\n`;\n\nexport const ListItem = styled.li`\n width: 100%;\n color: ${({ theme }) => theme.vars.palette.text.secondary};\n font-size: 16px;\n font-weight: 400;\n`;\n\nexport const StyledLink = styled(Link)`\n all: unset;\n box-sizing: border-box;\n font-size: 16px;\n font-weight: 400;\n transition: color 0.25s ease-in-out;\n color: ${({ theme }) => theme.vars.palette.text.secondary} !important;\n cursor: pointer;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 1px;\n transition: background-color 0.25s ease-in-out;\n background-color: ${({ theme }) => theme.vars.palette.text.secondary};\n }\n\n &:hover {\n color: ${({ theme }) => theme.vars.palette.text.primary} !important;\n\n &::before {\n background-color: ${({ theme }) =>\n theme.vars.palette.text.primary} !important;\n }\n }\n`;\n","import useTranslation from 'next-translate/useTranslation';\nimport { List, ListItem, StyledLink } from './styles';\nimport TransText from 'next-translate/TransText';\n\nexport default function TermsContent() {\n const { t } = useTranslation('refer');\n\n return (\n \n {Array.from({ length: 5 }).map((_, i) => (\n \n ]}\n text={t(`refer_terms.${i + 1}`, {\n app_provider: process.env.NEXT_PUBLIC_BET_NAME,\n })}\n />\n \n ))}\n \n );\n}\n","import useTranslation from 'next-translate/useTranslation';\nimport { Container, Content, ModalHeader } from './style';\nimport TermsContent from './Content';\nimport { Modal } from '@starsoft/common/components';\nimport { useModal } from '@/hooks/modals/useModal';\nimport { ModalsKey } from '@/enums/modalsKey';\n\nexport default function TermsModal() {\n const { t } = useTranslation('common');\n const { handleContainer, isOpen, onClose } = useModal(ModalsKey.Terms);\n\n return (\n \n \n \n

{t('terms_title')}

\n onClose()} />\n
\n \n \n \n
\n
\n );\n}\n"],"names":["ModalHeader","styled","div","withConfig","theme","param","vars","palette","text","primary","background","default","secondary","Container","paper","shape","borderRadius","Content","List","ol","ListItem","li","StyledLink","Link","TermsContent","t","useTranslation","jsx_runtime","jsx","Array","from","length","map","_","i","TransText","components","href","concat","app_provider","process","TermsModal","handleContainer","isOpen","onClose","useModal","ModalsKey","Terms","Modal","open","jsxs","onClick","h3","className"],"sourceRoot":""}