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ack://_N_E/./components/HomeScreen/UpcomingRaces.tsx","webpack://_N_E/./components/HomeScreen/TheMarket.tsx","webpack://_N_E/./components/HomeScreen/MyGarage.tsx","webpack://_N_E/./components/HomeScreen/FeaturedRaceBanner.tsx","webpack://_N_E/./components/HomeScreen/MyTickets.tsx","webpack://_N_E/./components/HomeScreen/Activity.tsx","webpack://_N_E/./components/RewardsModal/RewardsModal.tsx","webpack://_N_E/./pages/index.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import { Flex, Show, Text } from \"@chakra-ui/react\"\nimport { IconArrow } from \"icons\"\nimport Image from \"next/image\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport router from \"next/router\"\n\nexport const FirstRace = () => {\n return (\n {\n router.push('/races')\n }}\n >\n \n \n \n \n \n START\n \n \n \n Your 1st FREE Race\n \n \n \n \n \n \n )\n}","import { Flex, Text } from \"@chakra-ui/react\"\nimport Image from \"next/image\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport router from \"next/router\"\n\nexport const BuyTickets = () => {\n return (\n {\n router.push('/marketplace/tickets');\n }}\n >\n \n \n \"First\n \n {/* \"Buy */}\n \n \n BUY\n \n \n Tickets\n \n \n \n \n )\n}","import { Flex, Show, Text } from \"@chakra-ui/react\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport router from \"next/router\"\n\nexport const UpcomingRaces = () => {\n return (\n {\n router.push('/races');\n }}\n >\n \n \n \n \n \n JOIN A\n \n \n Race\n \n \n \n \n )\n}","import { Flex, Show, Text } from \"@chakra-ui/react\"\nimport { IconArrow } from \"icons\"\nimport Image from \"next/image\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport router from \"next/router\"\n\nexport const TheMarket = () => {\n return (\n {\n router.push('/marketplace');\n }}\n >\n \n \n \n \n \n THE\n \n \n Market\n \n \n \n \n )\n}","import { Flex, Show, Text } from \"@chakra-ui/react\"\nimport { IconArrow } from \"icons\"\nimport Image from \"next/image\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport router from \"next/router\"\n\nexport const MyGarage = () => {\n return (\n {\n router.push('/garage');\n }}\n >\n \n \n \n \n \n MY\n \n \n Garage\n \n \n \n \n )\n}","import { Box, Flex, Show, Text, useDisclosure } from \"@chakra-ui/react\"\nimport RaceCountdown from \"components/HomeScreen/RaceCountdown/RaceCountdown\"\nimport Image from 'next/image';\nimport { RacesBackground, RaceMinimap } from \"components/RaceCard/RaceCard\"\nimport overlayGradient from 'public/images/races/race-thumb-overlay.png';\nimport RImage from \"components/Image/Image\";\nimport useGetFeaturedRaces from \"hooks/HomeScreen/useGetFeaturedRaces\";\nimport { useGetTicketsAvailable } from \"hooks\";\nimport { RLoadingAnimation, RRacePreviewDrawer } from \"components\";\nimport router from \"next/router\";\nimport routes from \"routes\";\nimport { useState } from \"react\";\n\nexport const FeaturedRaceBanner = () => {\n const { data: queryResult, isLoading } = useGetFeaturedRaces();\n const { data: ticketsAvailable } = useGetTicketsAvailable();\n const { isOpen, onOpen, onClose } = useDisclosure();\n const featuredRace = queryResult?.getRaces?.[0];\n const trackName = featuredRace?.track?.frontendName || 'Bahrain';\n\n const [isLoadingTimer, setIsLoadingTimer] = useState(true);\n\n\n const TrackMinimapIcon =\n trackName && trackName in RaceMinimap ? RaceMinimap[trackName] : null;\n \n return (\n {\n event.stopPropagation();\n if ((featuredRace?.tier.name.toLowerCase() === 'tournament' || featuredRace?.tier.name.toLowerCase() === 'weeklytournament') && ticketsAvailable?.ticketsAvailable.tournamentTicketsAvailable === 0) {\n router.push(`/races/${featuredRace?.id}`)\n return\n }\n if (featuredRace?.status === \"open\") {\n onOpen()\n } else {\n if (featuredRace?.id) {\n router.push(routes.race(featuredRace.id));\n }\n }\n }}\n cursor=\"pointer\"\n >\n {isLoading ? (\n \n \n \n ) : (\n <>\n \n \n {/* */}\n \n \n \n {TrackMinimapIcon && (\n \n \n \n )}\n \n \n {trackName}\n \n \n {featuredRace && (\n \n \n \n )}\n \n \n PRIZE POOL\n \n \n {new Intl.NumberFormat('en-US', {\n style: 'currency',\n currency: 'USD',\n }).format(Number(featuredRace?.prizePool) / 100)}\n \n \n \n \n )}\n \n )\n}","import { Flex, Text } from \"@chakra-ui/react\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport { IconTicketTournament } from \"icons\"\nimport IconSilverTicket from \"components/IconSilverTicket/IconSilverTicket\"\nimport { useGetTicketsAvailable } from \"hooks\"\nimport IconTicket from \"components/IconTicket/IconTicket\"\nimport { CountdownTimer } from \"components/CountdownTimer/CountdownTimer\"\nimport { getNextDay3PMEST, getNextSaturday3PMEST } from \"utils/helpers\"\n\nexport const MyTickets = () => {\n const { data: ticketsAvailable } = useGetTicketsAvailable();\n const nextSaturday = getNextSaturday3PMEST();\n\n return (\n \n \n \n \n \n MY\n \n \n Tickets\n \n \n \n \n \n \n {ticketsAvailable?.ticketsAvailable.ticketsAvailable}\n \n \n \n {ticketsAvailable && ticketsAvailable?.ticketsAvailable.weeklyTournamentTicketsAvailable > 0 && (\n \n \n \n )}\n \n \n {ticketsAvailable?.ticketsAvailable.weeklyTournamentTicketsAvailable}\n \n \n \n {ticketsAvailable && ticketsAvailable?.ticketsAvailable.tournamentTicketsAvailable > 0 && (\n \n \n \n )}\n \n \n {ticketsAvailable?.ticketsAvailable.tournamentTicketsAvailable}\n \n \n \n \n\n \n \n )\n}","import { Flex, Skeleton, Stack, Text, useDisclosure } from \"@chakra-ui/react\"\nimport { BottomBarLine } from \"./FeaturedRace\"\nimport { IconTicket, IconTicketTournament } from \"icons\"\nimport useUserActivity from \"hooks/useUserActivity\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport { Title } from './Blocks/Title';\nimport { useEffect } from \"react\";\nimport { ActivityItem } from \"components/UserActivity/ActivityItem\";\nimport { EmptyState } from \"components/Hub/EmptyState\";\n\nexport const Activity = () => {\n const { data: activities, isLoading, isRefetching } = useUserActivity({});\n\n const queryClient = useQueryClient();\n const { isOpen, onOpen, onClose } = useDisclosure();\n\n useEffect(() => {\n queryClient.invalidateQueries(['userActivity']);\n }, []);\n \n return (\n \n \n \n \n \n RECENT\n \n \n Activity\n \n \n \n \n {(isLoading || isRefetching) && }\n\n {!isLoading &&\n !isRefetching &&\n activities?.getUserActivity.map((item, index) => (\n \n ))}\n\n {!isLoading &&\n !isRefetching &&\n activities?.getUserActivity.length === 0 && (\n \n )}\n \n \n \n \n \n )\n}","import {\n Box,\n Modal as ChakraModal,\n Flex,\n Text,\n ModalBody,\n ModalCloseButton,\n ModalContent,\n ModalHeader,\n ModalOverlay,\n ModalFooter,\n Image,\n Button,\n} from '@chakra-ui/react';\nimport TournamentBadge from 'components/Tiers/TournamentBadge';\nimport { IconGoldenModal } from 'icons';\nimport { useEffect, useRef } from 'react';\n\ninterface RewardsModalProps {\n isOpen: boolean;\n onClose: () => void;\n}\n\nconst RewardsModal = ({\n isOpen,\n onClose,\n}: RewardsModalProps) => {\n\n return (\n \n \n \n \n \n \n \n \n \n New Reward\n \n \n \n \n \n \n \n \n TRIAL CAR\n \n\n \n \n \n \n \n \n \n \n OK\n \n \n \n \n );\n};\n\nexport default RewardsModal;\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport Head from 'next/head';\nimport { Flex, Heading, Grid, GridItem, useDisclosure, Text } from '@chakra-ui/react';\nimport LogRocket from 'logrocket';\n\nimport {\n RGlobalLayout,\n RPageHeading,\n RLoadingAnimation,\n RGarageEmptyAlert,\n RModal,\n} from 'components';\nimport routes from 'routes';\nimport { useGetGarage, useSessionData, useUserSettings } from 'hooks';\nimport { useEffect } from 'react';\nimport { useRouter } from 'next/router';\nimport { useUser } from 'context';\nimport { Users } from 'api/generated/graphql';\nimport { FirstRace } from 'components/HomeScreen/FirstRace';\nimport { BuyTickets } from 'components/HomeScreen/BuyTickets';\nimport { UpcomingRaces } from 'components/HomeScreen/UpcomingRaces';\nimport { TheMarket } from 'components/HomeScreen/TheMarket';\nimport { MyGarage } from 'components/HomeScreen/MyGarage';\nimport { FeaturedRaceBanner } from 'components/HomeScreen/FeaturedRaceBanner';\nimport { MyTickets } from 'components/HomeScreen/MyTickets';\nimport { Activity } from 'components/HomeScreen/Activity';\nimport RewardsModal from 'components/RewardsModal/RewardsModal';\n\nexport const DefaultPage = () => {\n const router = useRouter();\n const { data, isLoading } = useGetGarage();\n const needsCar =\n !isLoading && (data?.getGarage.length === 0 || !data?.getGarage.length);\n\n const { tierUpdatedCars } = useUser();\n const { getUserSettings } = useUserSettings();\n const { sessionData } = useSessionData();\n\n const { isOpen, onOpen, onClose } = useDisclosure();\n\n const { isOpen: isRewardsModalOpen, onOpen: onRewardsModalOpen, onClose: onRewardsModalClose } = useDisclosure();\n\n const hasRaces = getUserSettings.data?.getUser?.totalRaces && getUserSettings.data?.getUser?.totalRaces > 0;\n\n useEffect(() => {\n if (tierUpdatedCars && tierUpdatedCars.length > 0) {\n router.push(routes.rewards());\n }\n }, [tierUpdatedCars]);\n\n useEffect(() => {\n const user = getUserSettings.data?.getUser as Users | undefined;\n\n if (!user || process.env.NEXT_PUBLIC_ENV !== 'prod') return;\n\n LogRocket.identify(user.id, {\n name: user.playerName || '',\n email: user.email,\n // Custom user variables\n country: user.countryFlag || '',\n totalEarnings: user.totalEarnings || 0,\n totalRaces: user.totalRaces || 0,\n walletChain: user.walletChain || '',\n blockPaidRaces: user.blockPaidRaces || false,\n testRacesAllowed: user.testRacesAllowed || false,\n });\n }, [getUserSettings.data]);\n\n useEffect(() => {\n const hasSeenRewardsModal = localStorage.getItem('hasSeenRewardsModal');\n \n if (!getUserSettings.data?.getUser?.loginVerified && !hasSeenRewardsModal) {\n localStorage.setItem('hasSeenRewardsModal', 'true');\n onRewardsModalOpen();\n }\n }, [getUserSettings.data, sessionData]);\n\n return (\n <>\n \n \n Racino.io\n \n\n {/* */}\n \n \n {isLoading && (\n \n \n \n )}\n\n \n\n \n\n {!isLoading && (\n <>\n \n \n {/* FIRST RACE - Only show if user has no races */}\n {!hasRaces && (\n \n \n \n )}\n\n {/* BUY TICKETS */}\n \n \n \n\n {/* MARKETPLACE LINK */}\n \n \n \n\n {/* TICKETS */}\n \n \n \n\n {/* FEATURED RACE */}\n \n \n \n\n \n \n \n \n \n \n \n \n )}\n\n \n \n \n \n );\n};\n\nexport default DefaultPage;\n"],"names":["window","__NEXT_P","push","__webpack_require__","FirstRace","jsx_runtime","jsxs","Flex","w","h","role","position","borderRadius","background","border","backdropFilter","backdropBlur","cursor","backgroundImage","backgroundSize","backgroundPosition","base","md","backgroundRepeat","onClick","router","jsx","Show","below","top","left","zIndex","flexDir","alignItems","justifyContent","p","boxShadow","bgGradient","_hover","Text","fontStyle","fontSize","lineHeight","fontWeight","bgClip","gap","color","IconArrow","transform","BottomBarLine","BuyTickets","style","backgroundOrigin","overflow","bottom","right","Image","src","alt","fill","UpcomingRaces","TheMarket","MyGarage","FeaturedRaceBanner","queryResult","featuredRace","data","isLoading","useGetFeaturedRaces","ticketsAvailable","useGetTicketsAvailable","isOpen","onOpen","onClose","useDisclosure","getRaces","trackName","track","frontendName","isLoadingTimer","setIsLoadingTimer","useState","TrackMinimapIcon","RaceMinimap","px","mb","event","stopPropagation","tier","name","toLowerCase","tournamentTicketsAvailable","concat","id","status","routes","RLoadingAnimation","Fragment","RImage","overlayGradient","width","height","objectFit","objectPosition","blendMode","RacesBackground","opacity","Box","pos","margin","fontFamily","RaceCountdown","startTime","Date","toISOString","setIsLoading","Intl","NumberFormat","currency","format","Number","prizePool","RRacePreviewDrawer","raceId","MyTickets","nextSaturday","getNextSaturday3PMEST","flexDirection","mr","sm","lg","xl","pt","IconTicket","weeklyTournamentTicketsAvailable","justify","CountdownTimer","timeLeft","IconTicketTournament","getNextDay3PMEST","IconSilverTicket","Activity","activities","isRefetching","useUserActivity","queryClient","useQueryClient","useEffect","invalidateQueries","minW","flex","py","Stack","overflowY","className","Skeleton","getUserActivity","map","item","index","ActivityItem","message","timestamp","value","action","length","EmptyState","title","textAlign","mt","RewardsModal","param","ChakraModal","size","variant","isCentered","ModalOverlay","ModalContent","as","autoPlay","loop","muted","playsInline","sx","source","type","ModalHeader","borderTopLeftRadius","borderTopRightRadius","pl","textTransform","ModalBody","borderBottomLeftRadius","borderBottomRightRadius","ModalFooter","Button","DefaultPage","getUserSettings","useRouter","useGetGarage","needsCar","getGarage","tierUpdatedCars","useUser","useUserSettings","sessionData","useSessionData","isRewardsModalOpen","onRewardsModalOpen","onRewardsModalClose","hasRaces","getUser","totalRaces","user","LogRocket","playerName","email","country","countryFlag","totalEarnings","walletChain","blockPaidRaces","testRacesAllowed","hasSeenRewardsModal","localStorage","getItem","loginVerified","setItem","RGlobalLayout","onOpenAnyDrawer","Head","pb","RGarageEmptyAlert","show","Grid","templateRows","templateColumns","GridItem","colSpan","pages"],"sourceRoot":""}