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,EAAAC,GAAA,EAACI,MAAAA,CAAIuE,IAAKA,EAAKtE,UAAWC,IAAAA,kBAAyB,UAChDoE,EAAW,GAAA3E,EAAAC,GAAA,EAACyE,EAAAA,CAAkB,GAAGG,CAAK,GAAO,SAItD,CACF,qBCxCAC,EAAAC,OAAA,EAAkB,gdCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?f777","webpack://_N_E/./src/constants/banners-casino.ts","webpack://_N_E/./src/components/Home/Casino/Banners/Banner/index.tsx","webpack://_N_E/./src/components/Home/Casino/Banners/index.tsx","webpack://_N_E/./src/components/Home/V2/ProvidersSection/index.tsx","webpack://_N_E/./src/pages/casino/index.tsx","webpack://_N_E/../../packages/common/src/hooks/useIntersectionObserver/index.ts","webpack://_N_E/../../packages/common/src/hoc/WithLazyLoading/index.tsx","webpack://_N_E/./src/components/Home/Casino/Banners/Banner/styles.module.scss","webpack://_N_E/../../packages/common/src/hoc/WithLazyLoading/styles.module.scss"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/casino\",\n function () {\n return require(\"private-next-pages/casino/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/casino\"])\n });\n }\n ","import { GameProviderId } from '@/enums/gameProviderId';\nimport { CasinoBannerItemProps } from '@/interfaces/casinoBanner';\n\nexport const banners: CasinoBannerItemProps[] = [\n // {\n // id: 1,\n // image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/1.webp`,\n // link: '/bonus',\n // title: 'free_spin_title',\n // description: 'free_spin_description',\n // provider: GameProviderId.Originals,\n // color: '#855BE9',\n // },\n {\n id: 2,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/6.webp`,\n link: '/bonus',\n title: 'lucky_wheel_title',\n description: 'lucky_wheel_description',\n provider: GameProviderId.Originals,\n color: '#E7C4D5',\n },\n {\n id: 3,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/8.webp`,\n link: '/bonus',\n title: 'rakeback_title',\n description: 'rakeback_description',\n provider: GameProviderId.PragmaticPlay,\n color: '#474DBD',\n },\n {\n id: 4,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/4.webp`,\n link: '/bonus',\n title: 'cashback_title',\n description: 'cashback_description',\n provider: GameProviderId.PGSoft,\n color: '#68B6F8',\n },\n {\n id: 5,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/5.webp`,\n link: '/sports?bt-path=%2Flive',\n title: 'sports_cashback_title',\n description: 'sports_cashback_description',\n provider: GameProviderId.Originals,\n color: '#83EFF8',\n },\n {\n id: 6,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/3.webp`,\n link: '/vip-club',\n title: 'vip_club_title',\n description: 'vip_club_description',\n provider: GameProviderId.PragmaticPlay,\n color: '#18C2BC',\n },\n /* {\n id: 7,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/7.webp`,\n link: '/sports?bt-path=%2F2',\n title: 'basketball_title_label',\n description: 'basketball_description_label',\n provider: GameProviderId.Originals,\n color: '#42DFEE',\n },\n {\n id: 8,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/8.webp`,\n link: '/games/tag/live_casino',\n title: 'live_casino_title_label',\n description: 'live_casino_description_label',\n provider: GameProviderId.Skywind,\n color: '#474DBD',\n },\n {\n id: 9,\n image: `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/artworks/banners/home/desk/2.webp`,\n link: '/sports?bt-path=%2Fsoccer-1',\n title: 'soccer_title_label',\n description: 'soccer_description_label',\n provider: GameProviderId.Originals,\n color: '#68B6F8',\n }, */\n];\n","import Link from '@/components/core/Link';\nimport { CasinoBannerProps } from './props';\nimport styles from './styles.module.scss';\nimport { Image } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\nimport { memo } from 'react';\nimport Color from 'color';\n\nfunction CasinoBanner({ item }: CasinoBannerProps) {\n const { t } = useTranslation('common');\n\n return (\n \n