{"version":3,"sources":["common/seo.jsx","home/apis.js","../../../../src/lib/helpers/getTimeParts.ts","../../../../src/lib/models/TimerModel.ts","../../src/index.ts","common/loader.jsx","../../../../src/components/Timer/Timer.tsx","../../../../src/lib/helpers/now.ts","../../../../src/lib/models/TimerState.ts","../../hook/useTimer.ts","common/alert/alertSuccess.jsx","common/viewWinnerModal.jsx","common/genesisErrorPopup.jsx","profile/redeemReward.jsx","common/modals/purchaseCoins/coinsLists.jsx","common/modals/purchaseCoins/stripeCheckout.jsx","common/modals/purchaseCoins/stripeSection.jsx","common/modals/purchaseCoins/addressSection.jsx","common/modals/purchaseCoins/transaction.jsx","common/modals/purchaseCoins/success.jsx","common/modals/purchaseCoins/paymentMethod.jsx","common/modals/purchaseCoins/purchaseCoinsModal.jsx","utils/externalApiCaller.js","contests/components/common/leaderboardCard.jsx","common/buttonComponents/ButtonRoundedSquare.jsx","contests/components/modals/leaderboardModal.jsx","contests/components/layouts/accordionItems/contestLeaderboard.jsx","contests/components/layouts/accordionItems/gameStats.jsx","contests/components/layouts/accordionItems/practiceGameStats.jsx","contests/components/layouts/accordionItems/rulesAndRegulations.jsx","contests/components/layouts/contestInfo.jsx","contests/components/modals/confirmEntryPopup.jsx","iframeGame/iframeGame.jsx","iframeGame/iframePracticeGame.jsx","contests/components/common/detailsContestCard.jsx","contests/components/layouts/accordionItems/lootArcadeToggler.jsx","contests/components/layouts/gameScore.jsx","contests/components/layouts/practiceGameScore.jsx","contests/components/common/pastDetailsContestCard.jsx","contests/components/layouts/gameSections.jsx","contests/contestDetails.jsx"],"names":["SEO","_ref","_window","_window$location","title","description","image","keywords","ogTitle","ogDescription","ogUrl","ogImageAlt","twitterCard","twitterTitle","twitterDescription","_jsxs","Helmet","children","_jsx","name","content","property","concat","window","location","origin","loadContests","async","headers","process","response","axios","method","params","url","jwt","data","e","loadGameCounts","id","fetchNFT","tokenId","address","callback","then","nftResponse","catch","err","subscribeNewsLetter","email","context","exports","default","time","lastUnit","units","lastUnitIndex","findIndex","unit","dividers","dividersAcc","reduce","obj","index","Math","floor","ms","s","m","h","d","getTimeParts_1","__importDefault","require","now_1","TimerState_1","TimerModel","_a","initialTime","direction","timeToUpdate","checkpoints","onChange","internalTime","innerState","timerId","Object","defineProperty","prototype","getState","getTimeParts","computeTime","setTime","getTime","setLastUnit","isPlaying","pause","resume","setTimeToUpdate","interval","setDirection","setCheckpoints","start","setPlaying","setTimerInterval","callImmediately","isStopped","setPaused","clearInterval","stop","setStopped","reset","_this","setInterval","oldTime","updatedTime","map","checkForForward","checkForBackward","currentInternalTime","delta","abs","Timer_1","useTimer_1","useTimer","React","Component","react_1","TimerModel_1","TimerContext","createContext","formatValue","value","String","TimerValue","createElement","Timer","Consumer","props","Milliseconds","__assign","Seconds","Minutes","Hours","Days","_super","call","timer","setState","bind","state","timeParts","timerState","getTimerState","__extends","getUI","renderProps","Array","isArray","isValidElement","isReactComponent","Error","componentDidMount","startImmediately","componentWillUnmount","render","_b","_c","Provider","onStart","onStop","onPause","onReset","onResume","defaultProps","PureComponent","performance","now","Date","INITED","PLAYING","PAUSED","STOPPED","TimerState","onChangeStatus","setInited","isInited","isPaused","_d","_e","_f","_g","_h","_j","useState","timerValues","setTimerValues","useMemo","timerValue","useCallback","controls","useEffect","AlertSuccess","_Fragment","className","src","alt","message","withRouter","connect","getUser","dispatch","contestEntry","loadProfile","winner","showModal","toggleModal","themeMode","getCookie","Modal","dialogClassName","tabindex","ErrorPopup","constructor","arguments","show","this","error","onHide","setError","HtmlParser","href","target","rel","onClick","preventDefault","RedeemReward","showPopup","availableOption","selected","loading","componentDidUpdate","prevProps","prevState","newData","filter","ed","profile","find","eds","creditAmount","length","push","redeemReward","redeemToken","token","res","togglePopup","status","loadTransactions","slice","item","type","checked","for","LoaderImg","updateProfile","updateImage","CoinItem","_ref2","_packageItem$arcadeCo","_packageItem$lootBonu","_packageItem$price2","setTab","packageItem","setSelectPackage","fullWidth","creditPriceBonusPercent","bonus","parseInt","packageOriginalLoots","lootBonusCoins","toFixed","packageOriginalArcades","round","arcadeCoins","_packageItem$price","mixpanel","track","price","toLocaleString","undefined","minimumFractionDigits","maximumFractionDigits","togglePurchaseCoinsRedux","packages","evenLength","Skeleton","height","borderRadius","addressData","setDetailsTab","stripe","useStripe","elements","useElements","setLoading","errorMessage","setErrorMessage","onSubmit","_addressData$address","event","submitError","submit","result","confirmPayment","confirmParams","return_url","payment_method_data","billing_details","country","redirect","_result$error","PaymentElement","options","fields","billingDetails","defaultValues","disabled","style","color","textAlign","StripeSection","clientSecret","stripePromise","setStripePromise","loadStripe","appearance","STRIP_APPEARANCE","loader","Elements","StripeCheckout","AddressForm","_addressData$name","_addressData$address$","_addressData$address$2","_addressData$address2","_addressData$address$3","_addressData$address3","_addressData$address$4","_addressData$address4","_addressData$address$5","_addressData$address5","_addressData$address$6","_addressData$address6","selectPackageId","setClientSecret","setAddressData","createPaymentIntent","loadingComponent","setLoadingComponent","addressElement","getElement","complete","getValue","_value$address$line","_value$address","_value$address$line2","_value$address2","_value$address$postal","_value$address3","_value$address$state","_value$address4","_value$address$countr","_value$address5","_value$address$city","_value$address6","line1","line2","postal_code","city","addr","_","pickBy","key","isEmpty","payLoad","paymentRes","_paymentRes$data","_paymentRes$data2","AddressElement","onLoaderStart","onReady","mode","autocomplete","purchaseCoins","_profile$userProfile","_addr$address","_addr$address2","_addr$address3","_addr$address4","_addr$address5","_addr$address6","_selectPackage$price","_selectPackage$arcade","_selectPackage$lootBo","selectPackage","userProfile","stripeCustomer","detailsTab","AddressSection","ethIcon","loadingIcon","pusher","Pusher","cluster","processTransactionCall","processTransaction","createChargeCall","createCharge","_selectPackage$price2","ethdata","ethValue","loadingData","setLoadingData","waitingForTransaction","setWaitingForTransaction","initiatePusher","setInitiatePusher","errors","subscribe","width","role","connectedWallet","ethereum","open","provider","ethers","providers","Web3Provider","accounts","request","chainId","getNetwork","from","to","ethAddress","utils","parseUnits","amount","toHexString","send","creatingCharge","loadCreditPrices","tab","setethdata","searchParams","setSearchParams","useSearchParams","showPurchaseCoins","loadingPrice","creditPrices","creditRes","usdValue","_usdValue$rates","rates","USD","ethRes","get","delete","replace","centered","CoinsLists","PaymentMethod","Transaction","Success","LeaderboardCard","_player$user","_player$user2","_player$totalScore$to","_player$totalScore","_player$ticketsAwarde","_player$ticketsAwarde2","_player$xPAwarded$toL","_player$xPAwarded","_player$arcadeCoinsAw","_player$arcadeCoinsAw2","player","empty","xPToBeAwarded","setShowModal","rank","user","small","userName","totalScore","ticketsAwarded","xPAwarded","arcadeCoinsAwarded","ViewWinnerModal","userId","Button","LeaderboardModal","players","showUserModal","setShowUserModal","userPlayer","toggleVisibility","setVisibility","contentClassName","Leaderboard","ref","createRef","changeTab","_Array$fill","allPlayers","fewPlayers","showLeaderboardModal","toggleLeaderModal","contest","pendingCards","fill","pending","getContests","loadLeaderBoard","musicIcon","mutedIcon","sounds","musicMuted","accorIcon01","accorIcon02","getGameData","getGame","getContestData","bgPracticeGameScoreUpdateRedux","_getContestData$conte","_getContestData$conte2","_getContestData$conte3","_getContestData$conte4","_getContestData$conte5","_getContestData$conte6","_getContestData$conte7","_getContestData$conte8","_getContestData$conte9","_getContestData$conte10","muted","toggleMute","toggleMusic","music","navigate","useNavigate","formatTime","seconds","minutes","remainingSeconds","setTimer","setTimerId","startTimer","maxTimeSpan","contestDetails","bgGame","gameScore","otherGameDetails","score","toString","maxWidth","marginTop","bgPracticeGameGameScore","nav1","setNav1","nav2","setNav2","_createElement","Slider","slider","slidesToShow","slidesToScroll","arrows","fade","dots","adaptiveHeight","asNavFor","objectFit","fontSize","lineHeight","textDecoration","dataLayer","prepareData","section","advanmcement","step","ContestInfo","_contest$ticketsToBeA","_contest$xPToBeAwarde","_contest$xPToBeAwarde2","_contest$arcadeCoinTo","_contest$arcadeCoinTo2","isEnded","ticketsToBeAwarded","arcadeCoinToBeAwarded","formatDate","startDate","endDate","closeIcon","requestCredits","togglePopupRedux","toggleConnectWalletRedux","page","error2","setError2","error3","setError3","error4","setError4","genesisError","setGenesisError","showLoginPopup","setShowLoginPopup","showRewardPopup","setShowRewardPopup","setTokenId","loadingRequest","setLoadingRequest","errorHeader","setErrorHeader","showEmailModal","setShowEmailModal","requestSent","setRequestSent","setEmail","toggleRewardPopup","toggleEmailPopup","contestEntryHandler","contestId","slug","_res$data","_res$data$data","_res$data2","localStorage","setItem","JSON","stringify","roundGames","_res$data3","_res$data3$data","_res$data4","_res$data4$data","_res$data5","slickNext","errorTitle","GenesisErrorPopup","Link","walletAddress","createNewGame","saveBreadcrumb","saveFinalScore","saveScoreStatusRedux","gameScoreUpdateRedux","startTimerRedux","showScore","setShowScore","iframeRef","useRef","processing","setProcessing","apiMessageQueue","pushToQueue","processQueue","setTimeout","GC_API","BreadCrumb","Promise","resolve","savingBreadcrumb","FinalScores","gameEndDelay","caches","keys","names","GameLoaded","NewGame","GoHome","MuteState","Score","MuteMusic","MuteSounds","GameStart","CG_API","InitGame","MESSAGE_FACTORY","eventListener","parse","gameScoreUpdating","contestEntryCall","router","initialGameDataCall","creatingGame","updateSoundSettings","soundMuted","addEventListener","queueTimer","clearTimeout","removeEventListener","border","gameUrl","bgPracticeSaveBreadcrumb","bgPracticeSaveFinalScore","bgPracticeSaveScoreStatusRedux","_props$bgGame","gameId","DetailsContestCard","_contest$image","active","loadDetails","timeLeft","moment","diff","bgGameSlug","max","control","LootArcadeToggler","contestType","gcardBG","ScoreProcessingImg","shareGameScore","_userProfile$image","_shareGameScoreDetail","_shareGameScoreDetail2","_shareGameScoreDetail3","_contestDetails$bgGam","_contestDetails$bgGam2","_contestDetails$entry","restartGame","resetStates","loadingContest","gametype","finalScore","finalScoreResponseStatus","shareScoreLoading","shareGameScoreDetails","showShareButtons","highScore","PurchaseCoinsModal","states","myPosition","getNumberWithOrdinal","openTwitterIntent","_getContests$contestD","_getContests$contestD2","_getGame$shareGameSco","_getGame$shareGameSco2","_getGame$shareGameSco3","_getGame$shareGameSco4","_bgGame$name","text","toLowerCase","replaceAll","tweetUrl","encodeURIComponent","_getUser$profile","_getUser$profile$user","_getContests$contestD3","_getContests$contestD4","_getGame$shareGameSco5","_getGame$shareGameSco6","_getGame$shareGameSco7","_getGame$shareGameSco8","payload","embeds","post","toast","shareOnDiscord","iframe","document","getElementById","entryFeeArcadeCoins","entryFeeLootBonusCoins","_bgPracticeGameFinalS","bgPracticeGameFinalScore","bgPracticeGameFinalScoreResponseStatus","PastDetailsContestCard","EnterButton","_contest$entryFeeLoot3","_contest$entryFeeLoot4","_contest$entryFeeArca3","_contest$entryFeeArca4","loadingUser","loadContestsStatsArcade","loadAllContests","loadContestsStatsLoot","initialGameData","bgPracticeCreateNewGame","bgPracticeGameInitialGameData","loadBgGames","toggleBountyBoxRedux","_allContestsArray","_contest$lootTitle","_contest$arcadeTitle","_contest$lootDescript","_contest$arcadeDescri","_allContestsArray2","_contestBgGame","_contestBgGame$privat","_contestBgGame$privat2","_allContestsArray3","toggleSignup","setIsPracticeGame","isPractiGame","contestBgGame","toggleGameScreen","togglePracticeGameScreen","toggleResultsScreen","gameSetTab","gameTab","loadingStats","loadingGameContests","showGameScreen","toggleHowItWorks","toggleRulesRegulation","useParams","playGame","setPlayGame","setGameUrl","errorType","setErrorType","setLoadingContest","setGameType","loadingPracticeContest","setLoadingPracticeContest","practiceGameUrl","setPracticeGameUrl","toggleModalHandle","_contest$bgGame3","_contest$bgGame4","_contest$entryFeeLoot","amountType","_contest$bgGame","_contest$bgGame2","_contest$entryFeeArca","Duration","Game","_hsq","properties","contest_type","_contest$bgGame7","_contest$bgGame8","_contest$entryFeeLoot2","_contest$bgGame9","_contest$bgGame5","_contest$bgGame6","_contest$entryFeeArca2","_res$data2$data","_getUser$bountyBoxesT","bountyBoxesTotal","bountyBox","gameLoaded","iFrame","muteStateData","getItem","soundsMuted","mutedMessage","contentWindow","postMessage","practiceGameEntry","_contest$bgGame10","gameRes","arcadeCoinsTab","statRes","bgGamesLoading","bgGames","contestEntryButton","click_text","game_name","stopPropagation","isWalletRestrictionEnabled","_contest$bgGame13","allContestsArray","structuredClone","allContests","singleContest","allGames","g","isActive","isCommingSoon","bgGameId","splice","contestTypeTitle","lootTitle","arcadeTitle","contestTypeDescription","lootDescription","arcadeDescription","cont","contestSlug","innerWidth","isPrivate","privateDesktopImage","original","privateMobileImage","ContestLeaderboard","Accordion","defaultActiveKey","DetailsModalCard","subTitle","icon","game","thumbnailImage","_game$contests","_game$contests$","gameType","contests","PracticeGameStats","IframePracticeGameComponent","creatingPracticeGame","_contest$bgGame12","val","initiatePracticeGameDataCall","_contest$bgGame11","gameData","PracticeGameScore","GameStats","IframeComponent","GameScore","ConfirmEntryModal","ContestDetails","videoRef","keyword","loadingEth","loadingContests","nftInfo","slideIndex","showAllTraits","arcadeStats","lootStats","showHowItWorks","showResults","currRound","showPracticeGameScreen","showResultScreen","showRulesRegulation","showSignupModal","changeRound","updateSound","focus","toggleUserModal","scrollTo","loadData","element","getElementsByClassName","ul","append","childNodes","i","removeChild","toggleDiscordModalRedux","gameSlug","order","sort","loadingStatsLoot","loadingStatsArcade","loadContestDetails","rewardType","rewardNftContractAddress","rewardNftTokenNumber","toggleResults","getAllPlayers","stats","_stats$players","_stats$players2","myGame","take","a","b","_contest$bgGame$descr","_contest$bgGame$name","_contest$bgGame$name2","_contest$bgGame$name3","_contest$bgGame$name4","_contest$bgGame$name5","contestStatsArcade","contestStatsLoot","desc","split","contestResult","loadingContestResult","showDiscordModal","Header","isMobile","Item","eventKey","marginBottom","GameSections","toggleBuyCreditsModal","DiscordChatModal","HowItWorks","ContestRulesAndRegulations","OnboardingModal","showConnect"],"mappings":"qHAAA,gCAmCeA,UAhCHC,IAYL,IAADC,EAAAC,EAAA,IAZO,MACXC,EAAK,YACLC,EAAW,MACXC,EAAK,SACLC,EAAQ,QACRC,EAAO,cACPC,EAAa,MACbC,EAAK,WACLC,EAAU,YACVC,EAAW,aACXC,EAAY,mBACZC,GACDb,EACC,OACEc,eAACC,IAAM,CAAAC,SAAA,CACLC,cAAA,SAAAD,SAAQb,IACRc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,UAAWoB,YAAa/B,KAAK+B,YAAaxN,QAASyL,KAAK5E,MAAM7G,UAClGvB,cAACg9B,KAAU,CACT3wB,UAAWW,KAAK5E,MAAMgxB,eACtB9sB,YAAaU,KAAK+kB,iBAClBjQ,OAAuB,QAAjBqW,EAAS,OAAP9Y,QAAO,IAAPA,OAAO,EAAPA,EAASyC,cAAM,IAAAqW,IAAI,CAAC,IAE9Bn4B,cAACy4B,GAAiB,CAChBpsB,UAAWW,KAAK5E,MAAMiE,UACtBC,YAAaU,KAAKV,YAClB+S,QAASA,EACTtQ,YAAa/B,KAAK+B,cAEpB/O,cAACi9B,EAA0B,CACzB5wB,UAAWW,KAAK5E,MAAMqxB,oBACtBntB,YAAaU,KAAKglB,wBAGpBhyB,cAACk9B,UAAe,CAAC7wB,UAAWW,KAAK5E,MAAMsxB,gBAAiBptB,YAAaU,KAAKmkB,aAAcgM,aAAa,MAG3G,EAcarxB,sBAAWC,aAJD3D,IAAK,CAC5BqX,YAAaA,YAAYrX,GACzB4D,QAASA,YAAQ5D,OATS6D,IAAQ,CAClCgkB,wBAAyBA,CAAC5uB,EAAII,IAAawK,EAASgkB,YAAwB5uB,EAAII,IAChF0uB,sBAAuBA,CAAC9uB,EAAII,IAAawK,EAASkkB,YAAsB9uB,EAAII,IAC5E+4B,wBAA0Bt5B,GAAS+K,EAASuuB,aAAwBt5B,IACpE45B,mBAAoBA,CAACz5B,EAAII,IAAawK,EAAS6uB,YAAmBz5B,EAAII,IACtEyuB,gBAAiBA,CAACnvB,EAAQU,IAAawK,EAASikB,YAAgBnvB,EAAQU,OAMhDsK,CAA6C2sB,I","file":"static/js/10.71a8a3a8.chunk.js","sourcesContent":["import React from \"react\";\r\nimport { Helmet } from \"react-helmet\";\r\n\r\nconst SEO = ({\r\n title,\r\n description,\r\n image,\r\n keywords,\r\n ogTitle,\r\n ogDescription,\r\n ogUrl,\r\n ogImageAlt,\r\n twitterCard,\r\n twitterTitle,\r\n twitterDescription,\r\n}) => {\r\n return (\r\n \r\n {title}\r\n \r\n {image && }\r\n {keywords && }\r\n\r\n {ogImageAlt && }\r\n {ogTitle && }\r\n {ogDescription && }\r\n {ogUrl && }\r\n \r\n {twitterCard && }\r\n {twitterTitle && }\r\n {twitterDescription && }\r\n \r\n );\r\n};\r\n\r\nexport default SEO;\r\n","import axios from \"axios\";\nimport jwt from \"jwt-decode\";\n\nexport const loadContests = async (params) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n params,\n headers,\n url: `${process.env.REACT_APP_APIURL}contest/`,\n });\n return jwt(response.data).data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadGames = async (params) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n params,\n headers,\n url: `${process.env.REACT_APP_APIURL}game/`,\n });\n return response.data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadActiveContests = async (params) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n Authorization: localStorage.getItem(\"x-auth-token\"),\n };\n const response = await axios({\n method: \"get\",\n params,\n headers,\n url: `${process.env.REACT_APP_APIURL}game/active`,\n });\n return response.data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadGameCounts = async (id) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n headers,\n url: `${process.env.REACT_APP_APIURL}gameCount/${id}`,\n });\n return response.data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadContestDetails = async (slug) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n headers,\n url: `${process.env.REACT_APP_APIURL}contest/${slug}`,\n });\n return response;\n } catch (e) {\n return e.response;\n throw e;\n }\n};\nexport const loadSlides = async () => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n headers,\n url: `${process.env.REACT_APP_APIURL}slider/`,\n });\n return response.data.data;\n } catch (e) {\n throw e;\n }\n};\nexport const fetchNFT = (tokenId, address, callback) => {\n axios({\n method: \"get\",\n url: `https://api.opensea.io/api/v1/asset/${address}/${tokenId}`,\n headers: { \"X-API-KEY\": process.env.REACT_APP_OPEN_SEA_API_KEY },\n })\n .then((nftResponse) => {\n callback(nftResponse);\n })\n .catch((err) => {\n callback(err.response.data);\n });\n};\nexport const subscribeNewsLetter = async (email, context) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"post\",\n headers,\n url: `${process.env.REACT_APP_APIURL}newsletter/subscribe/${email}`,\n data: { context },\n });\n return response;\n } catch (e) {\n throw e;\n }\n};\n",null,null,null,"import React from \"react\";\n// import LoadingBar from \"react-top-loading-bar\";\nclass Loader extends React.Component {\n render() {\n return (\n <>\n // \n );\n }\n}\n\nexport default Loader;\n",null,null,null,null,"import React from \"react\";\n\n//Images\nconst statusIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/green-tick-icon.svg\";\nconst AlertSuccess = (props) => {\n return (\n <>\n
\n \"\"\n
\n
{props.message}
\n \n );\n};\n\nexport default AlertSuccess;\n","import React from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { getCookie } from \"../utils/cookiesUtilities\";\nimport { connect } from \"react-redux\";\n\nimport { contestEntry, getUser, loadProfile } from \"../store/user\";\nimport { withRouter } from \"../utils/withRouter\";\n\nconst ViewWinner = ({ winner, showModal, toggleModal }) => {\n const themeMode = getCookie(\"themeMode\");\n return (\n <>\n \n {/* {winner && (\n
\n
\n {\" \"}\n
\n \"\"\n
\n
\n
Player Profile
\n
\n {winner.image ? (\n \"\"\n ) : (\n \"\"\n )}\n
\n\n {winner.userName &&
{winner.userName}
}\n\n {winner.description &&
{winner.description}
}\n
\n {winner.twitter && (\n {\n e.preventDefault();\n await setLink(`https://twitter.com/${winner.twitter}`);\n setShowFullModal(true);\n }}\n >\n \n {winner.twitter}\n \n )}\n {winner.instagram && (\n {\n e.preventDefault();\n await setLink(`https://instagram.com/${winner.instagram}`);\n setShowFullModal(true);\n }}\n target=\"_blank\"\n className=\"np-social-links-box d-flex align-items-center ellipsis\"\n rel=\"noreferrer\"\n >\n {winner.instagram}\n \n )}\n {winner.website && (\n {\n e.preventDefault();\n navigator.clipboard.writeText(winner.website);\n toast();\n }}\n rel=\"noreferrer\"\n >\n Discord\n \n )}\n
\n
\n
\n {loading || !counts ? : counts.played}\n

{loading || !counts ? : \"GAMES PLAYED\"}

\n
\n
\n {loading || !counts ? : counts.ticketsWon}\n

{loading || !counts ? : \"TICKETS WON\"}

\n
\n
\n {loading || !counts ? : counts.sweepsStakesEntries}\n

{loading || !counts ? : \"SWEEPSTAKES\"}

\n
\n
\n {loading || !counts ? : counts.sweepsStakesWon}\n

{loading || !counts ? : \"SWEEPSTAKES WON\"}

\n
\n
\n
\n
\n
\n )} */}\n \n\n {/* {\n setShowFullModal(!showFullModal);\n }}\n link={link}\n /> */}\n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n contestEntry: (data, callback) => dispatch(contestEntry(data, callback)),\n loadProfile: () => dispatch(loadProfile()),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(ViewWinner));\n","import React, { Component } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { getCookie } from \"../utils/cookiesUtilities\";\n\nimport HtmlParser from \"react-html-parser\";\nconst genesisIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/genesis-pass-purchase.svg\";\n\nclass ErrorPopup extends Component {\n state = {};\n render() {\n const themeMode = getCookie(\"themeMode\");\n return (\n this.props.setError(false)}\n id=\"darkerrorModal\"\n >\n
\n
\n
\n
\n \"\"\n
\n
\n
\n
\n
\n
\n

You Need a Pass to Play!

\n {HtmlParser(this.props.error)}\n

\n
\n \n Purchase On OpenSea\n \n {\n e.preventDefault();\n this.props.setError(\"\");\n }}\n >\n No Thanks!\n \n
\n
\n
\n
\n
\n \n );\n }\n}\n\nexport default ErrorPopup;\n","import React, { Component } from \"react\";\nimport { getCookie } from \"../utils/cookiesUtilities\";\nimport Modal from \"react-bootstrap/Modal\";\nimport { getUser, loadProfile, loadTransactions, redeemToken, updateImage, updateProfile } from \"../store/user\";\nimport { connect } from \"react-redux\";\nimport { withRouter } from \"../utils/withRouter\";\nimport ErrorPopup from \"../common/errorPopup\";\nimport LoaderImg from \"../common/loaderImag\";\n\n//Images\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/close-icon.svg\";\nconst creditIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/credit-icon.svg\";\n\nclass RedeemReward extends Component {\n state = {\n showPopup: true,\n error: \"\",\n availableOption: [],\n selected: \"\",\n loading: false,\n };\n availableOption = [5000, 4000, 3000, 2000, 1000, 750, 500, 250, 100];\n setError = (error) => this.setState({ error });\n componentDidUpdate = (prevProps, prevState) => {\n if (this.props.tokenId && this.props.tokenId !== prevProps.tokenId) {\n var newData = this.availableOption.filter(\n (ed) => ed <= this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId).creditAmount,\n );\n\n if (newData.length === 1) {\n if (this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId).creditAmount > 100)\n newData = [\n this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId).creditAmount,\n newData[0],\n ];\n }\n if (newData.length === 0) {\n if (this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId).creditAmount > 0)\n newData.push(this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId).creditAmount);\n }\n\n this.setState({ availableOption: newData, selected: newData[0] });\n }\n };\n\n // Redeem reward function\n redeemReward = (e) => {\n e.preventDefault();\n this.setState({ loading: true });\n this.props.redeemToken({ token: this.state.selected, tokenId: this.props.tokenId }, (res) => {\n this.setState({ loading: false });\n this.props.togglePopup();\n if (res.status !== 200) {\n this.setError(res.data.message);\n }\n // GET API's for loading all the transactions and profile\n this.props.loadTransactions();\n this.props.loadProfile();\n });\n };\n render() {\n const themeMode = getCookie(\"themeMode\");\n return (\n <>\n \n
\n
\n
ADVANCED REDEMPTION
\n
\n \"\"\n
\n
\n\n
\n

\n \"\" {this.state.selected}\n

\n GAME CREDITS\n
\n
\n {this.state.availableOption.slice(0, 4).map((item, index) => (\n
this.setState({ selected: item })}>\n \n \n
\n ))}\n
\n {this.state.loading ? (\n
\n \n \n \n

\n REDEEM {this.state.selected}/\n {this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId) &&\n this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId).creditAmount}{\" \"}\n CREDITS\n

\n
\n ) : (\n this.props.tokenId &&\n this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId) && (\n
\n \n REDEEM\n \n

\n REDEEM {this.state.selected}/\n {this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId) &&\n this.props.getUser.profile.data.find((eds) => eds.tokenId === this.props.tokenId)\n .creditAmount}{\" \"}\n CREDITS\n

\n
\n )\n )}\n
\n \n {this.state.error && }\n \n );\n }\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n updateProfile: (data, callback) => dispatch(updateProfile(data, callback)),\n loadTransactions: () => dispatch(loadTransactions()),\n updateImage: (data, callback) => dispatch(updateImage(data, callback)),\n loadProfile: () => dispatch(loadProfile()),\n redeemToken: (data, callback) => dispatch(redeemToken(data, callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(RedeemReward));\n","import React from \"react\";\nimport { togglePurchaseCoinsRedux, getUser } from \"store/user\";\nimport { connect } from \"react-redux\";\n\nimport Skeleton from \"react-loading-skeleton\";\nimport mixpanel from \"mixpanel-browser\";\n// Images\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/coins-close-icon.svg\";\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large-white.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo-large-white.svg\";\nfunction CoinsLists({ setTab, onHide, loading, packages, setSelectPackage, creditPriceBonusPercent }) {\n const evenLength = packages?.length % 2 === 0;\n return (\n <>\n
\n \n
PURCHASE COINS
\n
\n
\n
\n {loading ? (\n <>\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n \n ) : (\n <>\n {packages?.map((packageItem, index) => (\n \n ))}\n \n )}\n
\n
\n \n );\n}\n\nconst CoinItem = ({ setTab, packageItem, setSelectPackage, fullWidth, creditPriceBonusPercent }) => {\n const bonus = parseInt(creditPriceBonusPercent);\n const packageOriginalLoots = ((packageItem?.lootBonusCoins * 100) / (100 + bonus)).toFixed(2);\n const packageOriginalArcades = Math.round((packageItem?.arcadeCoins * 100) / (100 + bonus));\n return (\n <>\n
\n {\n e.preventDefault();\n setSelectPackage(packageItem);\n setTab(2);\n if (process.env.REACT_APP_MIXPANEL === \"1\") {\n mixpanel?.track(\"Credit package purchase selection\");\n mixpanel?.track(\"Select coin package\", {\n \"Credit Package\": `$${packageItem?.price?.toLocaleString(\"en-us\")}`,\n });\n }\n }}\n >\n
\n
\n
\n
\n
\n \"coins\n
\n
\n
\n
\n {packageItem?.arcadeCoins?.toLocaleString(\"en-us\")}\n
\n {bonus > 0 && (\n
\n
+{bonus}%
\n
\n {packageOriginalArcades?.toLocaleString()}\n
\n
\n )}\n
\n
ARCADE COINS
\n
\n
\n
\n
\n
\n
\n
\n
\n \"coins\n
\n
\n
\n
\n {packageItem?.lootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
\n {bonus > 0 && (\n
\n
+{bonus}%
\n
\n {packageOriginalLoots?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
\n
\n )}\n
\n
FREE Loot Bucks
\n
\n
\n
\n
\n
\n \n
\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n togglePurchaseCoinsRedux: (data) => dispatch(togglePurchaseCoinsRedux(data)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CoinsLists);\n","import React, { useState } from \"react\";\n\n// Stripe\nimport { PaymentElement, useStripe, useElements } from \"@stripe/react-stripe-js\";\n\n// Redux\nimport { getUser, loadProfile } from \"store/user\";\nimport { connect } from \"react-redux\";\n\n// Images\nconst loadingIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loading-icon.svg\";\n\nconst StripeCheckout = ({ getUser, addressData, setTab, loadProfile, setDetailsTab }) => {\n // Stripe Methods\n const stripe = useStripe();\n const elements = useElements();\n\n // Component States\n const [loading, setLoading] = useState(false);\n const [errorMessage, setErrorMessage] = useState(null);\n\n const handleSubmit = async (event) => {\n event.preventDefault();\n setLoading(true);\n if (!stripe || !elements) {\n // Stripe.js hasn't yet loaded.\n // Make sure to disable form submission until Stripe.js has loaded.\n return;\n }\n\n const { error: submitError } = await elements.submit();\n if (submitError) {\n // Show error to user\n setErrorMessage(submitError.message);\n setLoading(false);\n return;\n }\n\n const result = await stripe.confirmPayment({\n //`Elements` instance that was used to create the Payment Element\n elements,\n confirmParams: {\n return_url: `${window.location.origin}/`,\n payment_method_data: {\n billing_details: {\n address: {\n country: addressData?.address?.country,\n },\n },\n },\n },\n redirect: \"if_required\",\n });\n\n if (result.error) {\n // Show error to your customer (for example, payment details incomplete)\n setErrorMessage(result?.error?.message);\n } else {\n loadProfile();\n setTab(4);\n }\n setLoading(false);\n };\n return (\n
\n setErrorMessage(null)}\n />\n
\n \n {loading ? : \"Confirm Purchase\"}\n \n\n \n {\n e.preventDefault();\n setDetailsTab(1);\n }}\n >\n Change Billing Address\n {\" \"}\n \n
\n {errorMessage &&
{errorMessage}
}\n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n loadProfile: (callback) => dispatch(loadProfile(callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(StripeCheckout);\n","import React, { useEffect, useState } from \"react\";\n\n// Stripe\nimport { Elements } from \"@stripe/react-stripe-js\";\nimport { loadStripe } from \"@stripe/stripe-js\";\n\nimport StripeCheckout from \"./stripeCheckout\";\nimport { STRIP_APPEARANCE } from \"utils/misc\";\nconst cardIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/cradit-card-icon-c.svg\";\n\nconst StripeSection = ({ clientSecret, addressData, setTab, setDetailsTab }) => {\n const [stripePromise, setStripePromise] = useState(null);\n\n useEffect(() => {\n setStripePromise(loadStripe(process.env.REACT_APP_STRIPE_PUBLISHABLE_KEY));\n }, []);\n\n const options = {\n clientSecret: clientSecret,\n appearance: STRIP_APPEARANCE,\n loader: \"always\",\n };\n\n return (\n <>\n
\n
\n \"\"\n
\n
\n

Payment Details

\n

Enter payment details to complete your purchase.

\n
\n
\n {stripePromise && clientSecret && (\n \n \n \n )}\n \n );\n};\n\nexport default StripeSection;\n","import React, { useState } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport _ from \"lodash\";\n\n// Stripe\nimport { Elements, useStripe, useElements, AddressElement } from \"@stripe/react-stripe-js\";\nimport { loadStripe } from \"@stripe/stripe-js\";\n\n// Redux\nimport { getUser, createPaymentIntent } from \"store/user\";\nimport { connect } from \"react-redux\";\nimport { STRIP_APPEARANCE } from \"utils/misc\";\n\nconst stripePromise = loadStripe(process.env.REACT_APP_STRIPE_PUBLISHABLE_KEY);\n// Images\nconst cardIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/cradit-card-icon-c.svg\";\nconst loadingIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loading-icon.svg\";\nconst AddressSection = ({ createPaymentIntent, selectPackageId, setClientSecret, setAddressData, addressData }) => {\n const options = {\n appearance: STRIP_APPEARANCE,\n loader: \"always\",\n };\n\n return (\n <>\n {stripePromise && (\n \n \n \n )}\n \n );\n};\n\nconst AddressForm = ({ selectPackageId, setClientSecret, setAddressData, createPaymentIntent, addressData }) => {\n const [loading, setLoading] = useState(false);\n const [loadingComponent, setLoadingComponent] = useState(true);\n const [errorMessage, setErrorMessage] = useState(null);\n\n const stripe = useStripe();\n const elements = useElements();\n\n const handleSubmit = async (event) => {\n if (event) event.preventDefault();\n setLoading(true);\n const addressElement = elements.getElement(\"address\");\n const { complete, value } = await addressElement.getValue();\n if (complete) {\n const params = {\n line1: value?.address?.line1 ?? \"\",\n line2: value?.address?.line2 ?? \"\",\n postal_code: value?.address?.postal_code ?? \"\",\n state: value?.address?.state ?? \"\",\n country: value?.address?.country ?? \"\",\n city: value?.address?.city ?? \"\",\n };\n var addr = _.pickBy(params, function (value, key) {\n return !_.isEmpty(value);\n });\n\n const payLoad = {\n name: value?.name,\n address: addr,\n };\n\n setAddressData(payLoad);\n createPaymentIntent(payLoad, selectPackageId, (paymentRes) => {\n setLoading(false);\n if (paymentRes?.status === 200) setClientSecret(paymentRes?.data?.clientSecret);\n else {\n setErrorMessage(paymentRes?.data?.message);\n }\n });\n } else {\n setLoading(false);\n }\n };\n\n return (\n <>\n
\n
\n \"\"\n
\n
\n

Billing Address

\n

Enter your billing address to complete your purchase

\n
\n
\n
\n setLoadingComponent(false)}\n onReady={(e) => setLoadingComponent(false)}\n options={{\n mode: \"shipping\",\n autocomplete: { mode: \"automatic\" },\n defaultValues: {\n name: addressData?.name ?? \"\",\n address: {\n country: addressData?.address?.country ?? \"\",\n city: addressData?.address?.city ?? \"\",\n state: addressData?.address?.state ?? \"\",\n line1: addressData?.address?.line1 ?? \"\",\n line2: addressData?.address?.line2 ?? \"\",\n postal_code: addressData?.address?.postal_code ?? \"\",\n },\n },\n }}\n />\n {loadingComponent && }\n
\n \n {loading ? : \"Make Payment\"}\n \n
\n {errorMessage &&
{errorMessage}
}\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n createPaymentIntent: (data, id, callback) => dispatch(createPaymentIntent(data, id, callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddressSection);\n","import React, { useEffect, useState } from \"react\";\nimport { getUser, purchaseCoins } from \"store/user\";\nimport { connect } from \"react-redux\";\n\n// Components\nimport StripeSection from \"./stripeSection\";\nimport AddressSection from \"./addressSection\";\n\n// Images\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/coins-close-icon.svg\";\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo-large.svg\";\n\nfunction Transaction({ setTab, onHide, selectPackage, getUser }) {\n const { profile } = getUser;\n const addr = profile?.userProfile?.stripeCustomer;\n\n // States\n const [detailsTab, setDetailsTab] = useState(1);\n const [clientSecret, setClientSecret] = useState(\"\");\n const [addressData, setAddressData] = useState({\n name: addr?.name,\n address: {\n line1: addr?.address?.line1,\n line2: addr?.address?.line2,\n postal_code: addr?.address?.postal_code,\n state: addr?.address?.state,\n country: addr?.address?.country,\n city: addr?.address?.city,\n },\n });\n\n useEffect(() => {\n if (clientSecret) setDetailsTab(2);\n }, [clientSecret]);\n\n return (\n <>\n
\n
Checkout
\n \n
\n
\n
\n
\n $\n {selectPackage?.price?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
\n
TOTAL DUE
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
{selectPackage?.arcadeCoins?.toLocaleString(\"en-us\")}
\n
ARCADE COINS
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
\n {selectPackage?.lootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
\n
FREE LOOT BUCKS
\n
\n
\n
\n
\n
\n {detailsTab == 1 ? (\n \n ) : (\n \n )}\n
\n
\n \n );\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n purchaseCoins: (id, data, callback) => dispatch(purchaseCoins(id, data, callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Transaction);\n","import React, { useEffect } from \"react\";\nimport { togglePurchaseCoinsRedux, getUser, loadProfile } from \"store/user\";\nimport { connect } from \"react-redux\";\n\nimport mixpanel from \"mixpanel-browser\";\n// Images\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/coins-close-icon.svg\";\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo-large.svg\";\nconst successImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/row-image-row-00.png\";\nfunction CoinsLists({ setTab, onHide, selectPackage, loadProfile }) {\n useEffect(() => {\n if (process.env.REACT_APP_MIXPANEL == 1)\n mixpanel?.track(\"Credit package purchase confirmation - wallet\", { \"Package Price\": selectPackage?.price });\n }, []);\n return (\n <>\n
\n

Transaction Successful

\n {\n setTab(1);\n onHide(e);\n }}\n >\n \"coins\n \n
\n
\n
\n
Congrats!
\n
Your coins are delivered
\n
\n
\n
\n \"\"\n
\n
\n\n
\n
\n
\n
\n \"\"\n
\n
\n
{selectPackage?.arcadeCoins?.toLocaleString(\"en-us\")}
\n
ARCADE COINS
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
\n {\" \"}\n {selectPackage?.lootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
\n
FREE LOOT BUCKS
\n
\n
\n
\n
\n
\n
\n {\n e.preventDefault();\n onHide(e);\n setTab(1);\n loadProfile();\n }}\n >\n Enter Contest\n \n
\n \n );\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n loadProfile: (callback) => dispatch(loadProfile(callback)),\n togglePurchaseCoinsRedux: (data) => dispatch(togglePurchaseCoinsRedux(data)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CoinsLists);\n","import React, { useEffect, useState } from \"react\";\nimport { getUser, purchaseCoins, createCharge, processTransaction, loadProfile } from \"store/user\";\nimport { connect } from \"react-redux\";\nimport { errors, ethers } from \"ethers\";\n\nimport Pusher from \"pusher-js\";\nimport mixpanel from \"mixpanel-browser\";\n\n// Images\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/coins-close-icon.svg\";\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo-large.svg\";\nconst ethIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ethereumlogo-01.svg\";\nconst cardIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/paywithcard.png\";\nconst loadingIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loader-svg.svg\";\nconst pusher = new Pusher(process.env.REACT_APP_PUSHER_KEY, {\n cluster: process.env.REACT_APP_PUSHER_CLUSTER,\n});\nfunction PaymentMethod({ setTab, onHide, selectPackage, ethdata, getUser, createChargeCall, loadProfile }) {\n const [ethValue] = useState(selectPackage?.price / ethdata);\n const [loadingData, setLoadingData] = useState(false);\n const [waitingForTransaction, setWaitingForTransaction] = useState(false);\n const [initiatePusher, setInitiatePusher] = useState(false);\n const [error, setError] = useState(false);\n\n //Create charge\n const creatingCharge = async () => {\n const { connectedWallet } = getUser.profile;\n\n // Display error if wallet is not connected\n if (!connectedWallet) {\n setError(\"Please connect or create your wallet to buy credits\");\n setLoadingData(false);\n return;\n }\n setLoadingData(true);\n\n let ethereum = window.ethereum;\n if (!ethereum) return window.open(\"https://metamask.app.link/dapp/\" + process.env.REACT_APP_SITE_URL, \"_blank\");\n let provider = new ethers.providers.Web3Provider(ethereum);\n const accounts = await ethereum.request({\n method: \"eth_requestAccounts\",\n });\n const { chainId } = await provider.getNetwork();\n\n if (process.env.REACT_APP_MODE === \"prod\") {\n if (chainId !== 1) {\n setError(\"Please connect to Ethereum Mainnet\");\n setLoadingData(false);\n return;\n }\n } else {\n if (chainId !== 80002) {\n setError(\"Please connect to Polygon Amoy Testnet\");\n setLoadingData(false);\n return;\n }\n }\n\n createChargeCall(selectPackage?.id, async (res) => {\n if (res.status === 200) {\n setWaitingForTransaction(true);\n const params = [\n {\n from: accounts[0],\n to: res.data.data.ethAddress,\n value: ethers.utils.parseUnits(res.data.data.amount, \"ether\").toHexString(),\n },\n ];\n try {\n const transactionHash = await provider.send(\"eth_sendTransaction\", params);\n } catch (error) {\n setError(\n error.message === \"MetaMask Tx Signature: User denied transaction signature.\"\n ? \"Transaction rejected\"\n : error.message,\n );\n setLoadingData(false);\n setWaitingForTransaction(false);\n }\n } else if (res.status === 201) {\n loadProfile();\n setWaitingForTransaction(false);\n setLoadingData(false);\n } else if (res.status === 402) {\n setLoadingData(false);\n setWaitingForTransaction(false);\n } else {\n setError(res.data.message);\n setLoadingData(false);\n return;\n }\n });\n };\n // If user is changed then initialized pusher\n useEffect(() => {\n if (getUser.profile.userProfile.id) {\n setInitiatePusher(true);\n }\n }, [getUser]);\n\n useEffect(() => {\n if (errors && process.env.REACT_APP_MIXPANEL === \"1\")\n mixpanel?.track(\"Credit package purchase prompt - insufficient funds\");\n }, [errors]);\n\n // If initialized Puhser is changed sucscribe to the channel & listen for the event\n useEffect(() => {\n if (initiatePusher) {\n const channel = pusher.subscribe(getUser.profile.userProfile.id);\n channel.bind(\"transaction\", function (data) {\n setTab(4);\n loadProfile();\n setWaitingForTransaction(false);\n setLoadingData(false);\n });\n }\n }, [initiatePusher]);\n return (\n <>\n
\n
Checkout
\n \n
\n
\n
\n
\n $\n {selectPackage?.price?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}{\" \"}\n
\n
TOTAL DUE
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
{selectPackage?.arcadeCoins?.toLocaleString(\"en-us\")}
\n
ARCADE COINS
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
\n {selectPackage?.lootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
\n
FREE LOOT BUCKS
\n
\n
\n
\n
\n
\n
Select Payment Method
\n\n {waitingForTransaction ? (\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n {\n if (error || loadingData) return;\n creatingCharge();\n }}\n disabled={error || loadingData}\n />\n \n \"\"\n
\n
\n
\n
\n )}\n\n
\n
\n
\n
\n {\n setTab(3);\n }}\n checked={false}\n />\n \n \"\"\n
\n
\n
\n
\n
\n \n \n );\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n purchaseCoins: (id, data, callback) => dispatch(purchaseCoins(id, data, callback)),\n processTransactionCall: (data, callback) => dispatch(processTransaction(data, callback)),\n createChargeCall: (id, callback) => dispatch(createCharge(id, callback)),\n loadProfile: (callback) => dispatch(loadProfile(callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PaymentMethod);\n","import React, { useEffect, useState } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { togglePurchaseCoinsRedux, getUser, loadCreditPrices } from \"store/user\";\nimport { connect } from \"react-redux\";\nimport { ethToUSD } from \"utils/externalApiCaller\";\n\n// Components\nimport CoinsLists from \"./coinsLists\";\nimport Transaction from \"./transaction\";\nimport Success from \"./success\";\nimport PaymentMethod from \"./paymentMethod\";\nimport mixpanel from \"mixpanel-browser\";\nimport { useSearchParams } from \"react-router-dom\";\n\nfunction PurchaseCoinsModal({ getUser, togglePurchaseCoinsRedux, loadCreditPrices }) {\n const [tab, setTab] = useState(3);\n const [selectPackage, setSelectPackage] = useState(null);\n const [ethdata, setethdata] = useState(1);\n const [searchParams, setSearchParams] = useSearchParams();\n\n // Redux states\n const { showPurchaseCoins, loadingPrice, creditPrices, creditPriceBonusPercent } = getUser;\n\n // Call Package listing GET API when modal opens\n useEffect(() => {\n if (!showPurchaseCoins) {\n setTab(1);\n } else {\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"Credit package purchase prompt\");\n\n loadCreditPrices((creditRes) => {});\n ethToUSD((usdValue) => {\n setethdata(usdValue?.rates?.USD);\n });\n }\n\n const purchaseParam = searchParams.get(\"purchase\");\n if (purchaseParam) {\n searchParams.delete(\"purchase\");\n setSearchParams(searchParams, { replace: true });\n }\n }, [showPurchaseCoins]);\n\n return (\n \n <>\n {tab === 1 ? (\n {\n setTab(1);\n togglePurchaseCoinsRedux(false);\n }}\n loading={loadingPrice}\n packages={creditPrices}\n creditPriceBonusPercent={creditPriceBonusPercent}\n setSelectPackage={setSelectPackage}\n />\n ) : tab === 2 ? (\n {\n setTab(1);\n togglePurchaseCoinsRedux(false);\n }}\n selectPackage={selectPackage}\n togglePurchaseCoinsRedux={togglePurchaseCoinsRedux}\n ethdata={ethdata}\n />\n ) : tab == 3 ? (\n {\n setTab(1);\n togglePurchaseCoinsRedux(false);\n }}\n selectPackage={selectPackage}\n togglePurchaseCoinsRedux={togglePurchaseCoinsRedux}\n ethdata={ethdata}\n />\n ) : (\n {\n setTab(1);\n togglePurchaseCoinsRedux(false);\n }}\n togglePurchaseCoinsRedux={togglePurchaseCoinsRedux}\n selectPackage={selectPackage}\n />\n )}\n \n \n );\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n togglePurchaseCoinsRedux: (data) => dispatch(togglePurchaseCoinsRedux(data)),\n loadCreditPrices: (callback) => dispatch(loadCreditPrices(callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PurchaseCoinsModal);\n","import axios from \"axios\";\n\nexport const fetchNFT = (tokenId, address, callback) => {\n axios({\n method: \"get\",\n url: `https://api.opensea.io/api/v1/asset/${address}/${tokenId}`,\n headers: { \"X-API-KEY\": process.env.REACT_APP_OPEN_SEA_API_KEY },\n })\n .then((nftResponse) => {\n callback(nftResponse);\n })\n .catch((err) => {\n callback(err.response.data);\n });\n};\nexport const ethToUSD = (callback) => {\n axios({\n method: \"get\",\n url: `https://api.coinbase.com/v2/exchange-rates?currency=ETH`,\n }).then((ethRes) => {\n callback(ethRes.data.data);\n });\n};\n","import React, { useState } from \"react\";\nimport ViewWinnerModal from \"common/viewWinnerModal\";\n\n// Images\nconst userImage = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/user.png\";\nconst arcadeCoinIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/pink-arcade-logo.svg\";\nconst ticketCountIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/green-card-logo.svg\";\nconst xpIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/xp_noborder.svg\";\n\n// Components\n\nconst LeaderboardCard = ({ player, type, empty, xPToBeAwarded }) => {\n const [showModal, setShowModal] = useState(false);\n return (\n <>\n {\n // if (empty) return;\n // if (process.env.REACT_APP_MIXPANEL == 1)\n // mixpanel?.track(`View contest leaderboard_${type === 1 ? \"lootbucks\" : \"arcade\"}`);\n\n // setShowModal(true);\n // }}\n >\n
\n
\n {player?.rank &&
{player?.rank}
}\n
\n
\n
\n
\n \n
\n
{empty ? \"Pending...\" : player?.user?.userName}
\n
\n
{player?.totalScore?.toLocaleString() ?? \"00\"}
\n
\n \n
\n {type === 1 ? (\n \"\"\n ) : (\n \"\"\n )}\n\n {/* \"\" */}\n \n {empty\n ? 0\n : \"ticketsAwarded\" in player\n ? player?.ticketsAwarded?.toLocaleString() ?? 0\n : xPToBeAwarded\n ? player?.xPAwarded?.toLocaleString() ?? 0\n : player?.arcadeCoinsAwarded?.toLocaleString() ?? 0}\n \n
\n
\n \n \n\n {\n setShowModal(!showModal);\n }}\n winner={{ ...player.user, ...{ userId: player.userId } }}\n />\n \n );\n};\nexport default LeaderboardCard;\n","const Button = ({ classes, onClick, title }) => {\n return (\n \n );\n};\nexport default Button;\n","import React, { useState } from \"react\";\r\nimport { Modal } from \"react-bootstrap\";\r\n\r\nimport ViewWinnerModal from \"common/viewWinnerModal\";\r\nimport LeaderboardCard from \"../common/leaderboardCard\";\r\n\r\n// Images\r\nconst pageIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/page-icon-001.svg\";\r\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/all-e-close-icon.svg\";\r\nconst LeaderboardModal = ({ players, xPToBeAwarded, showModal, toggleModal, tab }) => {\r\n const [showUserModal, setShowUserModal] = useState(false);\r\n const [userPlayer] = useState(null);\r\n const [toggleVisibility, setVisibility] = useState(false);\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \"\"\r\n
\r\n
leaderboard
\r\n
\r\n \r\n
\r\n
\r\n {players?.map((player, index) => (\r\n \r\n ))}\r\n
\r\n \r\n {\r\n setVisibility(!toggleVisibility);\r\n setShowUserModal(!showUserModal);\r\n }}\r\n winner={userPlayer}\r\n />\r\n \r\n );\r\n};\r\n\r\nexport default LeaderboardModal;\r\n","import React, { createRef, Component } from \"react\";\nimport { setCookie, getCookie } from \"utils/cookiesUtilities\";\nimport { withRouter } from \"utils/withRouter\";\nimport { connect } from \"react-redux\";\nimport { loadLeaderBoard, getContests } from \"store/contest\";\nimport { getUser } from \"store/user\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { Accordion } from \"react-bootstrap\";\n\n// Components\nimport LeaderboardCard from \"../../common/leaderboardCard\";\nimport Button from \"common/buttonComponents/ButtonRoundedSquare\";\n\nimport _ from \"lodash\";\nimport LeaderboardModal from \"../../modals/leaderboardModal\";\n\nclass Leaderboard extends Component {\n ref = createRef(null);\n state = {\n tab: 1,\n };\n\n changeTab = (tab) => {\n this.setState({ tab });\n };\n\n render() {\n const { allPlayers, fewPlayers, showLeaderboardModal, toggleLeaderModal, tab, setTab, contest } = this.props;\n const pendingCards = new Array(8 - fewPlayers?.length).fill(fewPlayers?.length) ?? 0;\n return (\n <>\n
\n {fewPlayers?.map((player, index) => (\n \n ))}\n {pendingCards?.map((pending, index) => (\n \n ))}\n
\n {allPlayers?.length > fewPlayers?.length && (\n
\n \n
\n )}\n\n \n \n );\n }\n}\nconst mapDispatchToProps = (dispatch) => ({\n loadLeaderBoard: (params, callback) => dispatch(loadLeaderBoard(params, callback)),\n});\nconst mapStateToProps = (state) => ({\n getContests: getContests(state),\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(Leaderboard));\n","import React, { useEffect } from \"react\";\nimport _ from \"lodash\";\n\nimport { useNavigate } from \"react-router-dom\";\nimport { bgPracticeGameScoreUpdateRedux, getGame } from \"store/game\";\nimport { connect } from \"react-redux\";\nimport { getContests } from \"store/contest\";\n// Images\nconst logo = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/burnghostHorizontal.png\";\nconst musicIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/music-000.png\";\nconst mutedIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/mute-icon-001.png\";\nconst sounds = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/Sound.svg\";\nconst musicMuted = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/Vector.svg\";\nconst accorIcon01 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/accor-icon-01.svg\";\nconst accorIcon02 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/accor-icon-02.svg\";\nconst GameStats = ({\n muted,\n toggleMute,\n toggleMusic,\n music,\n getContestData,\n getGameData,\n bgPracticeGameScoreUpdateRedux,\n}) => {\n const navigate = useNavigate();\n\n const formatTime = (seconds) => {\n var minutes = Math.floor((seconds % 3600) / 60);\n var remainingSeconds = seconds % 60;\n\n var formattedTime =\n (minutes < 10 ? \"0\" : \"\") + minutes + \":\" + (remainingSeconds < 10 ? \"0\" : \"\") + remainingSeconds;\n\n return formattedTime;\n };\n\n const [timer, setTimer] = React.useState(0);\n const [timerId, setTimerId] = React.useState(null);\n\n useEffect(() => {\n if (getGameData.startTimer) {\n setTimer(0);\n bgPracticeGameScoreUpdateRedux(0);\n const maxTimeSpan = getContestData.contestDetails.bgGame.maxTimeSpan - 10; // in seconds, for example 180\n const timerId = setInterval(() => {\n setTimer((timer) => {\n if (timer >= maxTimeSpan) {\n clearInterval(timer);\n return maxTimeSpan;\n }\n return timer + 1;\n });\n }, 1000);\n setTimerId(timerId);\n\n //Clear this interval on component unmount\n } else {\n if (timerId) clearInterval(timerId);\n setTimerId(null);\n }\n }, [getGameData.startTimer]);\n\n useEffect(() => {\n if (!getGameData.gameScore) {\n setTimer(getContestData.contestDetails.bgGame.maxTimeSpan - 10);\n }\n }, [getGameData.gameScore]);\n\n return (\n <>\n
\n
\n
\n {getContestData.contestDetails.bgGame?.otherGameDetails?.timer && (\n
\n
\n \"\"\n
\n
\n {formatTime(getContestData.contestDetails.bgGame.maxTimeSpan - 10 - timer)}\n
\n
\n )}\n {getContestData.contestDetails.bgGame?.otherGameDetails?.score && (\n
\n
\n \"\"\n
\n
\n {getGameData.gameScore.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")} pts\n
\n
\n )}\n
\n
\n
\n \n \"music\"\n {\" \"}\n
\n
\n \n \"music\"\n \n
\n
\n
\n
\n
\n
\n {\n navigate(\"/\");\n }}\n alt=\"\"\n />\n
\n
\n
\n \n \"music\"\n {\" \"}\n
\n
\n \n \"music\"\n \n
\n
\n
\n {getContestData.contestDetails.bgGame?.otherGameDetails?.timer && (\n
\n {getContestData.contestDetails.bgGame?.otherGameDetails?.timer && (\n
\n
\n \"\"\n
\n
\n {formatTime(getContestData.contestDetails.bgGame.maxTimeSpan - 10 - timer)}\n
\n
\n )}\n\n {getContestData.contestDetails.bgGame?.otherGameDetails?.score && (\n
\n
\n \"\"\n
\n
\n {getGameData.gameScore.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")} pts\n
\n
\n )}\n
\n )}\n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n bgPracticeGameScoreUpdateRedux: (payLoad) => dispatch(bgPracticeGameScoreUpdateRedux(payLoad)),\n});\n\nconst mapStateToProps = (state) => ({\n getGameData: getGame(state),\n getContestData: getContests(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(GameStats);\n","import React, { useEffect } from \"react\";\nimport _ from \"lodash\";\n\nimport { useNavigate } from \"react-router-dom\";\nimport { getGame } from \"store/game\";\nimport { connect } from \"react-redux\";\nimport { getContests } from \"store/contest\";\n\n// Images\nconst logo = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/logo-29.svg\";\nconst musicIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/music-000.png\";\nconst mutedIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/mute-icon-001.png\";\nconst sounds = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/Sound.svg\";\nconst musicMuted = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/Vector.svg\";\nconst accorIcon01 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/accor-icon-01.svg\";\nconst accorIcon02 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/accor-icon-02.svg\";\n\nconst GameStats = ({ muted, toggleMute, toggleMusic, music, getContestData, getGameData }) => {\n const navigate = useNavigate();\n\n const formatTime = (seconds) => {\n var minutes = Math.floor((seconds % 3600) / 60);\n var remainingSeconds = seconds % 60;\n\n var formattedTime =\n (minutes < 10 ? \"0\" : \"\") + minutes + \":\" + (remainingSeconds < 10 ? \"0\" : \"\") + remainingSeconds;\n\n return formattedTime;\n };\n\n const [timer, setTimer] = React.useState(0);\n const [timerId, setTimerId] = React.useState(null);\n\n useEffect(() => {\n if (getGameData.startTimer) {\n setTimer(0);\n const maxTimeSpan = getContestData.contestDetails.bgGame.maxTimeSpan - 10; // in seconds, for example 180\n const timerId = setInterval(() => {\n setTimer((timer) => {\n if (timer >= maxTimeSpan) {\n clearInterval(timer);\n return maxTimeSpan;\n }\n return timer + 1;\n });\n }, 1000);\n setTimerId(timerId);\n\n //Clear this interval on component unmount\n } else {\n if (timerId) clearInterval(timerId);\n setTimerId(null);\n setTimer(getContestData.contestDetails.bgGame.maxTimeSpan - 10);\n }\n }, [getGameData.startTimer]);\n useEffect(() => {\n if (!getGameData.bgPracticeGameGameScore) {\n setTimer(getContestData.contestDetails.bgGame.maxTimeSpan - 10);\n }\n }, [getGameData.bgPracticeGameGameScore]);\n return (\n <>\n
\n
\n
\n {getContestData.contestDetails.bgGame?.otherGameDetails?.timer && (\n
\n
\n \"\"\n
\n
\n {formatTime(getContestData.contestDetails.bgGame.maxTimeSpan - 10 - timer)}\n
\n
\n )}\n {getContestData.contestDetails.bgGame?.otherGameDetails?.score && (\n
\n
\n \"\"\n
\n
\n {getGameData.bgPracticeGameGameScore.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")} pts\n
\n
\n )}\n
\n
\n
\n \n \"music\"\n {\" \"}\n
\n
\n \n \"music\"\n \n
\n
\n
\n
\n
\n
\n {\n navigate(\"/\");\n }}\n alt=\"\"\n />\n
\n
\n
\n \n \"music\"\n {\" \"}\n
\n
\n \n \"music\"\n \n
\n
\n
\n
\n {getContestData.contestDetails.bgGame?.otherGameDetails?.timer && (\n
\n
\n \"\"\n
\n
\n {formatTime(getContestData.contestDetails.bgGame.maxTimeSpan - 10 - timer)}\n
\n
\n )}\n\n {getContestData.contestDetails.bgGame?.otherGameDetails?.score && (\n
\n
\n \"\"\n
\n
\n {getGameData.bgPracticeGameGameScore.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")} pts\n
\n
\n )}\n
\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n getGameData: getGame(state),\n getContestData: getContests(state),\n});\n\nexport default connect(mapStateToProps, null)(GameStats);\n","import React, { useState } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { getCookie } from \"utils/cookiesUtilities\";\nimport { connect } from \"react-redux\";\nimport Slider from \"react-slick\";\n\n// Images\nimport { contestEntry, getUser, loadProfile } from \"store/user\";\nimport { withRouter } from \"utils/withRouter\";\nimport { prepareData } from \"common/gtmDatalayer\";\nconst cardIcon2 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/rNr.svg\";\n\nconst HowItWorks = ({ showModal, toggleModal }) => {\n const themeMode = getCookie(\"themeMode\");\n const [nav1, setNav1] = useState(null);\n const [nav2, setNav2] = useState(null);\n\n const options1 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n arrows: false,\n fade: true,\n dots: true,\n adaptiveHeight: true,\n asNavFor: \".tuts-text-slider\",\n };\n const options2 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n asNavFor: \".tuts-thumbnail-slider\",\n dots: false,\n arrows: false,\n adaptiveHeight: true,\n };\n return (\n <>\n \n
\n setNav1(slider)}\n className=\"pb-0 tuts-thumbnail-slider w-50 justify-cente\"\n {...options1}\n asNavFor={nav2}\n key=\"rules-regulation-slider\"\n >\n
\n
\n \"\"\n
\n
\n \n
\n setNav2(slider)}\n {...options2}\n asNavFor={nav1}\n className=\"pb-0 text-left tuts-text-slider w-100\"\n key=\"rules-regulation-slider-1\"\n >\n
\n

Rules & Regulations

\n

\n NO PURCHASE NECESSARY TO ENTER OR WIN. PURCHASE WILL NOT INCREASE THE ODDS OF WINNING. Sweepstakes are\n open only to legal residents of the United States and the District of Columbia, who are living in the\n United States and the District of Columbia and who are at least 18 years of age. Sweepstakes are void\n in HI, ID, MI, MN, VT, WA, PR and where otherwise prohibited by law. Winners are responsible for all\n taxes associated with the prizes. Odds of winning depend on the number of entries received during the\n sweepstakes period. For Alternative Method of Entry,{\" \"}\n \n click here\n \n
\n
\n \n Sponsor: Burn Ghost Inc., PO Box 384, Canandaigua NY, 14424. For Sweepstakes end dates and detailed\n rules,{\" \"}\n \n click here\n \n \n
\n
\n © 2023 Copyright Burn Ghost, Inc. ALL RIGHTS RESERVED.\n

\n\n

\n {\n e.preventDefault();\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n toggleModal();\n }}\n >\n DISMISS\n \n
\n \n
\n
\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n contestEntry: (data, callback) => dispatch(contestEntry(data, callback)),\n loadProfile: () => dispatch(loadProfile()),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(HowItWorks));\n","import { formatDate } from \"utils/dateConversion\";\n\n//Images\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large-black.png\";\nconst arcadeIcon1 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/new-arcade-logo.svg\";\nconst startDateIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/row-grid-icon-1.svg\";\nconst endDateIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/row-grid-icon-2.svg\";\nconst ticketIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ticketlogo-dark-1.svg\";\nconst xpDarkIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/xpLogoDark.svg\";\n\nfunction ContestInfo({ contest, tab }) {\n const isEnded =\n contest?.status === \"Completed\" ||\n contest?.status === \"Ended\" ||\n (contest?.status === \"Running\" && contest?.isEnded) ||\n contest?.status !== \"Running\";\n return (\n <>\n
\n
\n
\n
\n \"\"\n \"\"\n
\n
\n
\n {tab === 1\n ? contest?.ticketsToBeAwarded?.toLocaleString(\"en-us\")\n : contest?.xPToBeAwarded\n ? contest?.xPToBeAwarded?.toLocaleString(\"en-us\") ?? 0\n : contest?.arcadeCoinToBeAwarded?.toLocaleString(\"en-us\") ?? 0}\n
\n
\n {tab === 1 ? \"TICKET\" : contest?.xPToBeAwarded ? \"XP\" : \"ARCADE\"} PRIZE POOL\n
\n
\n
\n
\n
\n {isEnded && (\n
\n
\n
\n
\n \"\"\n
\n
\n
{formatDate(contest?.startDate, \"MM/DD/YY\")}
\n
{formatDate(contest?.startDate, \"hh:mm A\")} EST
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
{formatDate(contest?.endDate, \"MM/DD/YY\")}
\n
{formatDate(contest?.endDate, \"hh:mm A\")} EST
\n
\n
\n
\n
\n )}\n \n );\n}\n\nexport default ContestInfo;\n","import { useEffect, useState } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { connect } from \"react-redux\";\nimport Slider from \"react-slick\";\nimport { getCookie } from \"utils/cookiesUtilities\";\nimport RedeemReward from \"profile/redeemReward\";\nimport ErrorPopup from \"common/errorPopup\";\nimport GenesisErrorPopup from \"common/genesisErrorPopup\";\nimport { Link, useNavigate } from \"react-router-dom\";\nimport {\n contestEntry,\n getUser,\n loadProfile,\n requestCredits,\n toggleConnectWalletRedux,\n togglePopupRedux,\n} from \"store/user\";\n\nimport { prepareData } from \"common/gtmDatalayer\";\nimport { withRouter } from \"utils/withRouter\";\n\n// Images\nconst closeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/close-icon.svg\";\nconst img1 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/confirm-img-1.png\";\nconst img2 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/confirm-img-2.png\";\nconst img3 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/confirm-img-3.png\";\nconst img4 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/confirm-img-4.png\";\nconst img5 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/confirm-img-5.png\";\nconst errorIconDark = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/cradit1-icon-dark.svg\";\nconst errorIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/cradit1-icon.svg\";\nconst greyCheckIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/grey-check1.svg\";\nconst loadingIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loading-icon.svg\";\nconst locationIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/location-not-found.png\";\nconst ContestModal = ({\n contest,\n showModal,\n toggleModal,\n page,\n getUser,\n contestEntry,\n togglePopup,\n loadProfile,\n requestCredits,\n togglePopupRedux,\n toggleConnectWalletRedux,\n}) => {\n const navigate = useNavigate();\n const [error, setError] = useState(false);\n const [error2, setError2] = useState(false);\n const [error3, setError3] = useState(false);\n const [error4, setError4] = useState(false);\n const [genesisError, setGenesisError] = useState(false);\n const [showLoginPopup, setShowLoginPopup] = useState(false);\n const [showRewardPopup, setShowRewardPopup] = useState(false);\n const [tokenId, setTokenId] = useState(false);\n const [loadingRequest, setLoadingRequest] = useState(false);\n const [loading, setLoading] = useState(false);\n const [errorHeader, setErrorHeader] = useState(\"\");\n const [nav1, setNav1] = useState(null);\n const [nav2, setNav2] = useState(null);\n\n const [showEmailModal, setShowEmailModal] = useState(false);\n const [requestSent, setRequestSent] = useState(false);\n const [email, setEmail] = useState(\"\");\n\n // Slider Options\n const options1 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n arrows: false,\n fade: true,\n dots: true,\n adaptiveHeight: true,\n asNavFor: \".tuts-text-slider\",\n };\n const options2 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n asNavFor: \".tuts-thumbnail-slider\",\n dots: false,\n arrows: false,\n adaptiveHeight: true,\n };\n\n // Toggle Modals\n const toggleRewardPopup = (e, tokenId) => {\n setShowRewardPopup(!showRewardPopup);\n setTokenId(tokenId ? tokenId : 0);\n };\n const toggleEmailPopup = (e) => {\n setRequestSent(false);\n setShowEmailModal(!showEmailModal);\n };\n\n const { data, userProfile } = getUser.profile;\n const contestEntryHandler = (e) => {\n setErrorHeader(\"\");\n setLoading(true);\n e.preventDefault();\n // POST API for contest entry\n contestEntry({ contestId: contest.slug }, (res) => {\n setLoading(false);\n if (res.status === 200) {\n localStorage.setItem(\"transactionId\", res.data.data.id);\n localStorage.setItem(\"contest\", JSON.stringify(contest));\n if (page === \"game\") {\n navigate(`/start-game`, {\n state: { id: res.data.data.id, slug: contest.slug, roundGames: res.data.roundGames, contest },\n });\n navigate(0);\n } else {\n navigate(`/start-game`, {\n state: { id: res.data.data.id, roundGames: res.data.roundGames, contest },\n });\n }\n toggleModal();\n } else {\n toggleModal();\n if (res.data?.data?.type === \"Genesis pass Not detected\") {\n setGenesisError(res.data?.message);\n } else if (res.status === 417) {\n setError3(res.data.message);\n } else if (res.status === 418) {\n setError4(true);\n } else if (res.status === 400) {\n setErrorHeader(res.data?.data?.type);\n if (res?.data?.data?.type === \"Wallet not connected\") toggleConnectWalletRedux(true);\n\n setError2(res.data.message);\n } else {\n if (data?.length > 0) {\n toggleRewardPopup(null, data[0].tokenId);\n } else {\n setError(res.data?.message);\n }\n }\n }\n });\n };\n const themeMode = getCookie(\"themeMode\");\n\n useEffect(() => {\n if (showModal) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"1\", // dynamic value\n }),\n );\n }\n }, [showModal]);\n return (\n <>\n \n
\n setNav1(slider)}\n className=\"tuts-thumbnail-slider w-100 pb-0\"\n {...options1}\n asNavFor={nav2}\n key=\"confirm-entry-slider\"\n >\n
\n
\n \"\"\n
\n
{\" \"}\n
\n
\n \"\"\n
\n
\n
\n
\n \"\"\n
\n
{\" \"}\n
\n
\n \"\"\n
\n
{\" \"}\n
\n
\n \"\"\n
\n
\n \n
\n setNav2(slider)}\n {...options2}\n asNavFor={nav1}\n className=\"tuts-text-slider w-100 pb-0\"\n key=\"confirm-entry-slider-1\"\n >\n
\n \n The burn ghost spin on a community poll game - vote for the best of the worst! Aim to pick the crowd\n favorite for each question.\n \n

\n
\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n \n {loading ? (\n \"loading\n ) : (\n \"Play Now\"\n )}\n \n
\n
\n
\n \n This game is meant to be fun - not a rat race! Time has a very minimal impact on your score but is\n factored in solely for the unlikely event of a tie.\n \n

\n
\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n \n {loading ? (\n \"loading\n ) : (\n \"Play Now\"\n )}\n \n
\n
\n
\n \n Score per Question? It's derived from the popularity of your vote against the community consensus.\n Expect shifts until the time runs out.\n \n

\n
\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n \n {loading ? (\n \"loading\n ) : (\n \"Play Now\"\n )}\n \n
\n
\n
\n \n Accumulate points over multiple rounds, each with 10 questions. Your score will continually adjust\n with each new person who plays.\n \n

\n
\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n \n {loading ? (\n \"loading\n ) : (\n \"Play Now\"\n )}\n \n
\n
{\" \"}\n
\n \n The Burn Ghost spin on a community poll game - vote for the best of the worst! Aim to pick the crowd\n favorite for each question.\n \n

\n
\n \n {loading && \"loading}\n {!loading && \"CONFIRM ENTRY\"}\n \n
\n
\n \n
\n
\n \n\n setError(false)}\n >\n
\n
\n

YOU RAN OUT OF CREDITS!

\n
setError(false)}>\n \"\"\n
\n
\n
\n
\n \"\"\n
\n BETTER LUCK NEXT TIME! THANKS FOR JOINING US IN THIS TESTING SESSION.\n
\n {\n e.preventDefault();\n setShowEmailModal(true);\n setError(\"\");\n }}\n >\n REQUEST MORE CREDITS\n \n
\n
\n
\n \n {(error2 || error3) && (\n \n )}\n \n {\n if (error4) setError4(false);\n }}\n >\n
\n
\n {\n setError4(false);\n }}\n >\n \"\"\n
\n
UNAVAILABLE IN YOUR LOCATION
\n
\n \"\"\n
\n
\n

PAID CONTESTS ARE NOT CURRENTLY SUPPORTED IN YOUR LOCATION.

\n
\n
\n \n PLAY FREE GAMES\n \n
\n
\n \n \n \n
\n
\n

REQUEST MORE CREDITS

\n
\n \"\"\n
\n
\n {!requestSent ? (\n
\n
\n \n
\n {\n setEmail(e.target.value);\n }}\n />\n {\n e.preventDefault();\n if (email === \"\") return;\n setLoadingRequest(true);\n requestCredits(\n {\n email,\n walletAddress: userProfile.walletAddress,\n },\n () => {\n setRequestSent(true);\n setLoadingRequest(false);\n },\n );\n }}\n >\n {loadingRequest ? \"\" : \"SUBMIT\"}\n \n
\n
\n
\n ) : (\n
\n
\n REQUEST SENT\n \"\"\n
\n
\n )}\n
\n \n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n contestEntry: (data, callback) => dispatch(contestEntry(data, callback)),\n loadProfile: () => dispatch(loadProfile()),\n requestCredits: (data, callback) => dispatch(requestCredits(data, callback)),\n togglePopupRedux: (data) => dispatch(togglePopupRedux(data)),\n toggleConnectWalletRedux: (data) => dispatch(toggleConnectWalletRedux(data)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(ContestModal));\n","import React, { useRef, useEffect } from \"react\";\nimport {\n createNewGame,\n gameScoreUpdateRedux,\n getGame,\n saveBreadcrumb,\n saveFinalScore,\n saveScoreStatusRedux,\n startTimerRedux,\n} from \"../store/game\";\nimport { withRouter } from \"../utils/withRouter\";\nimport { connect } from \"react-redux\";\nimport { getUser } from \"../store/user\";\nimport { useState } from \"react\";\n\nconst IframeComponent = (props) => {\n const [showScore, setShowScore] = useState(false);\n const iframeRef = useRef(null);\n const [processing, setProcessing] = useState(false);\n\n const creatingGame = () => {\n props.startTimer();\n setTimeout(() => {\n props.creatingGame();\n }, 2000);\n };\n\n const restartGame = () => {\n props.contestEntryCall();\n };\n\n const goHome = () => {\n props.router.navigate(\"/\");\n };\n\n // Function to save breadcrumb\n const savingBreadcrumb = (message) => {\n setProcessing(true);\n const payLoad = {\n data: message,\n };\n\n // API call to save breadcrumb\n props.saveBreadcrumb(payLoad, async (res) => {\n // Sleep for 500ms to allow the iframe to load the next page\n await Promise.resolve(setTimeout(() => {}, 500));\n processQueue();\n setProcessing(false);\n if (res.status !== 200)\n return props.setError(\n \"An unknown error has occurred. Please try again. If the problem continues, kindly get in touch with our support team.\",\n );\n // start the queue processing\n });\n };\n\n const gameScoreUpdating = (message) => {\n props.gameScoreUpdateRedux(message);\n };\n\n const saveFinalScore = (message) => {\n setProcessing(true);\n const payLoad = {\n data: message,\n };\n setShowScore(false);\n // API call to save final score\n props.saveFinalScore(payLoad, (res) => {\n setProcessing(false);\n if (res.status === 409 || res.status === 200) {\n const gameEndDelay = res.data.gameEndDelay ? res.data.gameEndDelay : 0;\n setTimeout(() => {\n props.saveScoreStatusRedux(res.status);\n props.setTab(3);\n }, gameEndDelay);\n setShowScore(true);\n processQueue();\n } else\n return props.setError(\n \"An unknown error has occurred. Please try again. If the problem continues, kindly get in touch with our support team.\",\n );\n });\n };\n var apiMessageQueue = { data: [] };\n\n // Function to push incoming messages to the queue\n const pushToQueue = (data, type) => {\n apiMessageQueue.data.push({ data, type });\n };\n\n const processQueue = () => {\n if (apiMessageQueue.data.length === 0) {\n // Queue is empty, wait for 500ms and then check again\n return setTimeout(processQueue, 500);\n }\n\n const message = apiMessageQueue.data[0]; // Get the first message from the queue\n\n // Remove the first message from the queue\n apiMessageQueue.data = apiMessageQueue.data.slice(1);\n\n switch (message.type) {\n case window.GC_API.BreadCrumb:\n savingBreadcrumb(message.data);\n break;\n case window.GC_API.FinalScores:\n saveFinalScore(message.data);\n break;\n }\n };\n\n useEffect(() => {\n // Clear cache on page load\n caches.keys().then(function (names) {\n for (let name of names) caches.delete(name);\n });\n // Set up the event listener\n window.GC_API = {\n GameLoaded: \"GameLoaded\",\n BreadCrumb: \"BreadCrumb\",\n FinalScores: \"FinalScores\", //sends a bunch of final data\n NewGame: \"NewGame\",\n GoHome: \"GoHome\",\n MuteState: \"MuteState\",\n Score: \"Score\",\n MuteMusic: \"MuteMusic\",\n MuteSounds: \"MuteSounds\",\n GameStart: \"GameStart\",\n Score: \"Score\",\n };\n\n window.CG_API = {\n InitGame: \"InitGame\",\n MuteState: \"MuteState\",\n };\n\n window.MESSAGE_FACTORY = function (name, data) {\n return JSON.stringify({\n type: name,\n data: data,\n });\n };\n // The queue to store incoming API messages\n\n var eventListener = function (event) {\n try {\n const message = JSON.parse(event.data);\n if (message?.type) {\n switch (message.type) {\n case window.GC_API.Score:\n gameScoreUpdating(message.data.totalScore);\n break;\n\n case window.GC_API.NewGame:\n restartGame();\n break;\n\n case window.GC_API.GoHome:\n goHome();\n break;\n\n case window.GC_API.GameLoaded:\n props.initialGameDataCall();\n break;\n\n case window.GC_API.GameStart:\n creatingGame();\n break;\n\n case window.GC_API.BreadCrumb:\n // merge game id with message data\n //savingBreadcrumb(message.data);\n pushToQueue(message.data, window.GC_API.BreadCrumb);\n break;\n\n case window.GC_API.FinalScores:\n //saveFinalScore(message.data);\n pushToQueue(message.data, window.GC_API.FinalScores);\n break;\n\n case window.GC_API.MuteMusic:\n // set to local storage\n const { value: musicMuted } = message.data;\n localStorage.setItem(\"musicMuted\", musicMuted);\n props.updateSoundSettings(\"music\", musicMuted);\n break;\n case window.GC_API.MuteSounds:\n // set to local storage\n const { value: soundMuted } = message.data;\n localStorage.setItem(\"soundMuted\", soundMuted);\n props.updateSoundSettings(\"muted\", soundMuted);\n break;\n\n case window.GC_API.Score:\n // expected data: {totalScore: 0, updatedScore: 0, }\n break;\n }\n }\n } catch (e) {\n // Ignore exception - not a message for us and couldn't JSON parse it\n }\n };\n // Add event listener for messages from the iframe\n\n window.addEventListener(\"message\", eventListener);\n\n const queueTimer = processQueue();\n\n return () => {\n clearTimeout(queueTimer); // Clear the timeout to stop the processQueue function\n // Clean up the event listener when the component unmounts\n window.removeEventListener(\"message\", eventListener);\n\n setShowScore(false);\n };\n }, []);\n\n return (\n <>\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n createNewGame: (data, callback) => dispatch(createNewGame(data, callback)),\n saveBreadcrumb: (data, callback) => dispatch(saveBreadcrumb(data, callback)),\n saveFinalScore: (data, callback) => dispatch(saveFinalScore(data, callback)),\n saveScoreStatusRedux: (payLoad) => dispatch(saveScoreStatusRedux(payLoad)),\n gameScoreUpdateRedux: (payLoad) => dispatch(gameScoreUpdateRedux(payLoad)),\n startTimer: () => dispatch(startTimerRedux()),\n});\nconst mapStateToProps = (state) => ({\n getGame: getGame(state),\n getUser: getUser(state),\n});\n\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(IframeComponent));\n","import React, { useRef, useEffect } from \"react\";\nimport {\n bgPracticeGameScoreUpdateRedux,\n getGame,\n bgPracticeSaveBreadcrumb,\n bgPracticeSaveFinalScore,\n bgPracticeSaveScoreStatusRedux,\n startTimerRedux,\n} from \"../store/game\";\nimport { withRouter } from \"../utils/withRouter\";\nimport { connect } from \"react-redux\";\nimport { getUser } from \"../store/user\";\nimport { useState } from \"react\";\n\nconst IframeComponent = (props) => {\n const [showScore, setShowScore] = useState(false);\n const iframeRef = useRef(null);\n const [processing, setProcessing] = useState(false);\n\n const creatingGame = () => {\n props.startTimer();\n setTimeout(() => {\n props.creatingGame();\n }, 2000);\n };\n\n const restartGame = () => {\n props.contestEntryCall();\n };\n\n const goHome = () => {\n props.router.navigate(\"/\");\n };\n\n // Function to save breadcrumb\n const savingBreadcrumb = (message) => {\n setProcessing(true);\n const payLoad = {\n data: message,\n };\n\n // API call to save breadcrumb\n props.bgPracticeSaveBreadcrumb(payLoad, async (res) => {\n // Sleep for 500ms to allow the iframe to load the next page\n await Promise.resolve(setTimeout(() => {}, 500));\n processQueue();\n setProcessing(false);\n if (res.status !== 200)\n return props.setError(\n \"An unknown error has occurred. Please try again. If the problem continues, kindly get in touch with our support team.\",\n );\n // start the queue processing\n });\n };\n\n const gameScoreUpdating = (message) => {\n props.bgPracticeGameScoreUpdateRedux(message);\n };\n\n const bgPracticeSaveFinalScore = (message) => {\n setProcessing(true);\n const payLoad = {\n data: message,\n gameId: props?.bgGame?.id,\n };\n setShowScore(false);\n // API call to save final score\n props.bgPracticeSaveFinalScore(payLoad, (res) => {\n setProcessing(false);\n if (res.status === 409 || res.status === 200) {\n const gameEndDelay = res.data.gameEndDelay ? res.data.gameEndDelay : 0;\n setTimeout(() => {\n props.bgPracticeSaveScoreStatusRedux(res.status);\n props.setTab(3);\n }, gameEndDelay);\n setShowScore(true);\n processQueue();\n } else return props.setError(res.data.message);\n });\n };\n var apiMessageQueue = { data: [] };\n\n // Function to push incoming messages to the queue\n const pushToQueue = (data, type) => {\n apiMessageQueue.data.push({ data, type });\n };\n\n const processQueue = () => {\n if (apiMessageQueue.data.length === 0) {\n // Queue is empty, wait for 500ms and then check again\n return setTimeout(processQueue, 500);\n }\n\n const message = apiMessageQueue.data[0]; // Get the first message from the queue\n\n // Remove the first message from the queue\n apiMessageQueue.data = apiMessageQueue.data.slice(1);\n\n switch (message.type) {\n case window.GC_API.BreadCrumb:\n savingBreadcrumb(message.data);\n break;\n case window.GC_API.FinalScores:\n bgPracticeSaveFinalScore(message.data);\n break;\n }\n };\n\n useEffect(() => {\n // Clear cache on page load\n caches.keys().then(function (names) {\n for (let name of names) caches.delete(name);\n });\n // Set up the event listener\n window.GC_API = {\n GameLoaded: \"GameLoaded\",\n BreadCrumb: \"BreadCrumb\",\n FinalScores: \"FinalScores\", //sends a bunch of final data\n NewGame: \"NewGame\",\n GoHome: \"GoHome\",\n MuteState: \"MuteState\",\n Score: \"Score\",\n MuteMusic: \"MuteMusic\",\n MuteSounds: \"MuteSounds\",\n GameStart: \"GameStart\",\n Score: \"Score\",\n };\n\n window.CG_API = {\n InitGame: \"InitGame\",\n MuteState: \"MuteState\",\n };\n\n window.MESSAGE_FACTORY = function (name, data) {\n return JSON.stringify({\n type: name,\n data: data,\n });\n };\n // The queue to store incoming API messages\n\n var eventListener = function (event) {\n try {\n const message = JSON.parse(event.data);\n if (message?.type) {\n switch (message.type) {\n case window.GC_API.Score:\n gameScoreUpdating(message.data.totalScore);\n break;\n\n case window.GC_API.NewGame:\n restartGame();\n break;\n\n case window.GC_API.GoHome:\n goHome();\n break;\n\n case window.GC_API.GameLoaded:\n props.initialGameDataCall();\n break;\n\n case window.GC_API.GameStart:\n creatingGame();\n break;\n\n case window.GC_API.BreadCrumb:\n // merge game id with message data\n //savingBreadcrumb(message.data);\n pushToQueue(message.data, window.GC_API.BreadCrumb);\n break;\n\n case window.GC_API.FinalScores:\n //bgPracticeSaveFinalScore(message.data);\n pushToQueue(message.data, window.GC_API.FinalScores);\n break;\n\n case window.GC_API.MuteMusic:\n // set to local storage\n const { value: musicMuted } = message.data;\n localStorage.setItem(\"musicMuted\", musicMuted);\n props.updateSoundSettings(\"music\", musicMuted);\n break;\n case window.GC_API.MuteSounds:\n // set to local storage\n const { value: soundMuted } = message.data;\n localStorage.setItem(\"soundMuted\", soundMuted);\n props.updateSoundSettings(\"muted\", soundMuted);\n break;\n\n case window.GC_API.Score:\n // expected data: {totalScore: 0, updatedScore: 0, }\n break;\n }\n }\n } catch (e) {\n // Ignore exception - not a message for us and couldn't JSON parse it\n }\n };\n // Add event listener for messages from the iframe\n\n window.addEventListener(\"message\", eventListener);\n\n const queueTimer = processQueue();\n\n return () => {\n clearTimeout(queueTimer); // Clear the timeout to stop the processQueue function\n // Clean up the event listener when the component unmounts\n window.removeEventListener(\"message\", eventListener);\n\n setShowScore(false);\n };\n }, []);\n return (\n <>\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n bgPracticeSaveBreadcrumb: (data, callback) => dispatch(bgPracticeSaveBreadcrumb(data, callback)),\n bgPracticeSaveFinalScore: (data, callback) => dispatch(bgPracticeSaveFinalScore(data, callback)),\n bgPracticeSaveScoreStatusRedux: (payLoad) => dispatch(bgPracticeSaveScoreStatusRedux(payLoad)),\n bgPracticeGameScoreUpdateRedux: (payLoad) => dispatch(bgPracticeGameScoreUpdateRedux(payLoad)),\n startTimer: () => dispatch(startTimerRedux()),\n});\nconst mapStateToProps = (state) => ({\n getGame: getGame(state),\n getUser: getUser(state),\n});\n\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(IframeComponent));\n","import moment from \"moment\";\nimport Timer from \"react-compound-timer\";\nimport { Link, useNavigate } from \"react-router-dom\";\n\nconst DetailsContestCard = ({ contest, active, loadDetails }) => {\n const navigate = useNavigate();\n const timeLeft = moment(contest?.endDate).diff(moment());\n return (\n {\n e.preventDefault();\n if (active) return;\n navigate(`/games/${contest?.bgGameSlug}/${contest?.slug}`);\n loadDetails(contest?.slug);\n }}\n className={`page__card-row-column w-100 ${active && \"active\"}`}\n >\n
\n
\n \"\"\n
\n
\n
{contest?.title}
\n
    \n \n {(control) => {\n return (\n <>\n
  • \n
    \n
    \n \n
    \n

    DAYs

    \n
    \n
  • {\" \"}\n
  • \n
    \n
    \n \n
    \n

    HR

    \n
    \n
  • \n
  • \n
    \n
    \n {\" \"}\n
    \n

    MIN

    \n
    \n
  • \n
  • \n
    \n
    \n {\" \"}\n
    \n

    SEC

    \n
    \n
  • \n \n );\n }}\n \n
\n
\n
\n \n );\n};\n\nexport default DetailsContestCard;\n","import React, { useEffect } from \"react\";\nimport { useSearchParams } from \"react-router-dom\";\n\n// Images\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo.svg\";\n\nfunction LootArcadeToggler({ setTab, tab, name, contestType, className }) {\n const [searchParams, setSearchParams] = useSearchParams();\n\n useEffect(() => {\n const arcadeCoinsTab = searchParams.get(\"arcade\");\n if (arcadeCoinsTab) {\n setTab(2);\n searchParams.delete(\"arcade\");\n setSearchParams(searchParams, { replace: true });\n }\n }, []);\n return (\n \n {contestType !== 2 && (\n
\n {\n setTab(1);\n }}\n checked={tab === 1}\n />\n
\n
\n
\n \"\"\n
\n
Loot Contests
\n
\n
\n
\n )}\n {contestType !== 3 && (\n
\n {\n setTab(2);\n }}\n checked={tab === 2}\n />\n \n
\n
\n \"\"\n
\n
Arcade Contests
\n
\n
\n \n )}\n \n );\n}\n\nexport default LootArcadeToggler;\n","import React, { useEffect } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Skeleton from \"react-loading-skeleton\";\r\nimport { Link } from \"react-router-dom\";\r\nimport axios from \"axios\";\r\nimport { getGame, shareGameScore } from \"store/game\";\r\nimport { getContests } from \"store/contest\";\r\nimport { getUser } from \"store/user\";\r\nimport { getNumberWithOrdinal } from \"utils/misc\";\r\nimport { toast } from \"react-toastify\";\r\n\r\n// Components\r\nimport AlertSuccess from \"common/alert/alertSuccess\";\r\nimport PurchaseCoinsModal from \"common/modals/purchaseCoins/purchaseCoinsModal\";\r\nimport mixpanel from \"mixpanel-browser\";\r\n// Images\r\nconst resultsBG = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/results2-bg.jpg\";\r\nconst gcardBG = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/g-card-bg.jpg\";\r\nconst ScoreProcessingImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ScoreProcessing.png\";\r\nconst backIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/v-icon-01.svg\";\r\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large.svg\";\r\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo-large.svg\";\r\nfunction GameScore({\r\n getGame,\r\n shareGameScore,\r\n getUser,\r\n restartGame,\r\n getContests,\r\n resetStates,\r\n setTab,\r\n loadingContest,\r\n bgGame,\r\n gametype,\r\n}) {\r\n const { finalScore, finalScoreResponseStatus } = getGame;\r\n useEffect(() => {\r\n finalScore && finalScore.gameId && shareGameScore(finalScore?.gameId, (res) => {});\r\n\r\n if (finalScore?.gameId && process.env.REACT_APP_MIXPANEL == 1) {\r\n mixpanel?.track(\"View Game Results page\");\r\n mixpanel?.track(\"Game Completed\");\r\n }\r\n }, [finalScore]);\r\n\r\n // Share to twitter method\r\n const openTwitterIntent = () => {\r\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"Share contest score \");\r\n\r\n const text = `I crushed it on Burn Ghost playing ${getContests?.contestDetails?.bgGame?.name} and I am now in ${\r\n getGame?.shareGameScoreDetails?.states?.myPosition\r\n }${getNumberWithOrdinal(\r\n getGame?.shareGameScoreDetails?.states?.myPosition,\r\n )} place on the leaderboard. @burnghostgames #${bgGame?.name?.toLowerCase().replaceAll(\" \", \"\")}.`;\r\n\r\n // Sharable url of the image\r\n const url = `${process.env.REACT_APP_SHARE_URL + finalScore?.gameId}`;\r\n const tweetUrl = `https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(url)}`;\r\n window.open(tweetUrl, \"_blank\");\r\n };\r\n\r\n // Share to discord method\r\n const shareOnDiscord = async () => {\r\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"Share contest score \");\r\n\r\n // Call the Discord webhook API to send a message with the image attached\r\n const messageContent = `@${getUser?.profile?.userProfile?.userName} crushed it on Burn Ghost playing ${\r\n getContests?.contestDetails?.bgGame?.name\r\n } and is now in ${getGame?.shareGameScoreDetails?.states?.myPosition}${getNumberWithOrdinal(\r\n getGame?.shareGameScoreDetails?.states?.myPosition,\r\n )} place on the leaderboard.`;\r\n\r\n // Discord webhook url\r\n const webhookUrl = process.env.REACT_APP_DISCORD_SHARE_WEBHOOK_URL;\r\n const payload = {\r\n content: messageContent,\r\n embeds: [\r\n {\r\n image: {\r\n url: process.env.REACT_APP_CDNURL + \"game/result/\" + finalScore?.gameId + \".png\",\r\n },\r\n },\r\n ],\r\n };\r\n // Discord Webhook api call\r\n await axios.post(webhookUrl, payload);\r\n toast();\r\n };\r\n\r\n const { profile } = getUser ?? null;\r\n const { userProfile } = profile ?? null;\r\n const { shareScoreLoading, shareGameScoreDetails } = getGame;\r\n const { contestDetails } = getContests;\r\n const showShareButtons = (shareScoreLoading || shareGameScoreDetails?.highScore) && finalScoreResponseStatus === 200;\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n {\r\n e.preventDefault();\r\n resetStates();\r\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"View contest detail page \");\r\n }}\r\n >\r\n
\r\n \"\"\r\n
\r\n
Back to Details
\r\n
Game Results
\r\n
\r\n
\r\n
\r\n
\r\n \"user\r\n
\r\n
{userProfile?.userName}
\r\n
\r\n
\r\n
\r\n
\r\n \"result2\r\n
\r\n {shareScoreLoading ? (\r\n \"loading\"\r\n ) : finalScoreResponseStatus === 200 ? (\r\n <>\r\n
{shareGameScoreDetails?.data?.totalScore}
\r\n
points
\r\n
\r\n {shareGameScoreDetails?.states?.myPosition}{\" \"}\r\n {getNumberWithOrdinal(shareGameScoreDetails?.states?.myPosition)}\r\n
\r\n
RANKING
\r\n \r\n ) : (\r\n <>\r\n \"loading\"\r\n
\r\n
OOPS!
\r\n
GAME INVALIDATED
\r\n
\r\n \r\n )}\r\n
\r\n
\r\n {shareScoreLoading ? (\r\n \r\n ) : finalScoreResponseStatus === 200 ? (\r\n
\r\n \"g\r\n
\r\n
\r\n
\r\n
\r\n {contestDetails?.bgGame?.name}\r\n
\r\n
\r\n {showShareButtons ? \"Share your score!\" : \"Rank the leaderboard!\"}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n PLAY TO WIN!\r\n
\r\n
CONTEST IS LIVE
\r\n
\r\n
\r\n
\r\n
\r\n ) : (\r\n
\r\n \"g\r\n
\r\n
\r\n
\r\n
\r\n {contestDetails?.bgGame?.name}\r\n
\r\n
TRY AGAIN!
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n TIME'S UP\r\n
\r\n
TIME SYNC ERROR DETECTED
\r\n
\r\n
\r\n
\r\n
\r\n )}\r\n\r\n
\r\n {showShareButtons && (\r\n
\r\n
\r\n {shareScoreLoading ? (\r\n \r\n ) : (\r\n
\r\n {\r\n e.preventDefault();\r\n openTwitterIntent();\r\n }}\r\n >\r\n \r\n \r\n
\r\n )}\r\n
\r\n
\r\n {shareScoreLoading ? (\r\n \r\n ) : (\r\n
\r\n {\r\n e.preventDefault();\r\n shareOnDiscord();\r\n }}\r\n >\r\n \r\n \r\n
\r\n )}\r\n
\r\n
\r\n )}\r\n
\r\n {shareScoreLoading ? (\r\n \r\n ) : (\r\n {\r\n e.preventDefault();\r\n var iframe = document.getElementById(\"iframe-container\");\r\n iframe.src = iframe.src;\r\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"Play Game again\");\r\n\r\n restartGame();\r\n }}\r\n disabled={shareScoreLoading}\r\n >\r\n
\r\n Enter Again\r\n \r\n {gametype === 1 ? (\r\n <>\r\n \"\" {contestDetails?.entryFeeArcadeCoins}\r\n \r\n ) : (\r\n <>\r\n \"\"{\" \"}\r\n {contestDetails?.entryFeeLootBonusCoins?.toLocaleString(undefined, {\r\n minimumFractionDigits: 2,\r\n maximumFractionDigits: 2,\r\n })}\r\n \r\n )}\r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n \r\n \r\n );\r\n}\r\nconst mapDispatchToProps = (dispatch) => ({\r\n shareGameScore: (id, callback) => dispatch(shareGameScore(id, callback)),\r\n});\r\nconst mapStateToProps = (state) => ({\r\n getUser: getUser(state),\r\n getGame: getGame(state),\r\n getContests: getContests(state),\r\n});\r\nexport default connect(mapStateToProps, mapDispatchToProps)(GameScore);\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { getGame, shareGameScore } from \"store/game\";\r\nimport { getContests } from \"store/contest\";\r\nimport { getUser } from \"store/user\";\r\n\r\nimport mixpanel from \"mixpanel-browser\";\r\n// Images\r\nconst resultsBG = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/results2-bg.jpg\";\r\nconst gcardBG = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/g-card-bg.jpg\";\r\nconst ScoreProcessingImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ScoreProcessing.png\";\r\nconst backIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/v-icon-01.svg\";\r\nfunction GameScore({\r\n getGame,\r\n shareGameScore,\r\n getUser,\r\n restartGame,\r\n getContests,\r\n resetStates,\r\n setTab,\r\n loadingContest,\r\n bgGame,\r\n}) {\r\n const { bgPracticeGameFinalScore, bgPracticeGameFinalScoreResponseStatus } = getGame;\r\n\r\n const { profile } = getUser ?? null;\r\n const { userProfile } = profile ?? null;\r\n const { contestDetails } = getContests;\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {\r\n e.preventDefault();\r\n resetStates();\r\n }}\r\n >\r\n
\r\n \"\"\r\n
\r\n
Back to Details
\r\n
Practice Game Results
\r\n
\r\n
\r\n
\r\n
\r\n \"user\r\n
\r\n
{userProfile?.userName}
\r\n
\r\n
\r\n
\r\n
\r\n \"result2\r\n
\r\n {bgPracticeGameFinalScoreResponseStatus === 200 ? (\r\n <>\r\n
{bgPracticeGameFinalScore?.score ?? 0}
\r\n
points
\r\n
UNRANKED
\r\n
PRACTICE GAME
\r\n \r\n ) : (\r\n <>\r\n \"loading\"\r\n
\r\n
OOPS!
\r\n
GAME INVALIDATED
\r\n
\r\n \r\n )}\r\n
\r\n
\r\n {bgPracticeGameFinalScoreResponseStatus === 200 ? (\r\n
\r\n \"g\r\n
\r\n
\r\n
\r\n
\r\n {contestDetails?.bgGame?.name}\r\n
\r\n
Good Score!
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n WANT TICKETS?\r\n
\r\n
PLAY WITH LOOT BUCKS!
\r\n
\r\n
\r\n
\r\n
\r\n ) : (\r\n
\r\n \"g\r\n
\r\n
\r\n
\r\n
\r\n {contestDetails?.bgGame?.name}\r\n
\r\n
TRY AGAIN!
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n TIME'S UP\r\n
\r\n
TIME SYNC ERROR DETECTED
\r\n
\r\n
\r\n
\r\n
\r\n )}\r\n\r\n
\r\n
\r\n
\r\n
\r\n {\r\n e.preventDefault();\r\n resetStates();\r\n }}\r\n >\r\n Enter Contest\r\n \r\n
\r\n
\r\n
\r\n
\r\n {\r\n e.preventDefault();\r\n var iframe = document.getElementById(\"iframe-container\");\r\n iframe.src = iframe.src;\r\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"Play Game again\");\r\n\r\n restartGame();\r\n }}\r\n >\r\n Play Again\r\n \r\n
\r\n
\r\n \r\n \r\n );\r\n}\r\nconst mapDispatchToProps = (dispatch) => ({\r\n shareGameScore: (id, callback) => dispatch(shareGameScore(id, callback)),\r\n});\r\nconst mapStateToProps = (state) => ({\r\n getUser: getUser(state),\r\n getGame: getGame(state),\r\n getContests: getContests(state),\r\n});\r\nexport default connect(mapStateToProps, mapDispatchToProps)(GameScore);\r\n","import moment from \"moment\";\nimport Timer from \"react-compound-timer\";\nimport { Link, useNavigate } from \"react-router-dom\";\n\nconst PastDetailsContestCard = ({ contest, active, loadDetails }) => {\n const navigate = useNavigate();\n return (\n {\n e.preventDefault();\n if (active) return;\n navigate(`/games/${contest?.bgGameSlug}/${contest?.slug}`);\n loadDetails(contest?.slug);\n }}\n className={`page__card-row-column w-100 ${active && \"active\"}`}\n >\n
\n
\n \"\"\n
\n
\n
{contest?.title}
\n
    \n
    \n
    \n \n );\n};\n\nexport default PastDetailsContestCard;\n","import { prepareData } from \"common/gtmDatalayer\";\nimport moment from \"moment\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { Accordion } from \"react-bootstrap\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { connect } from \"react-redux\";\nimport { Link, useNavigate, useParams, useSearchParams } from \"react-router-dom\";\nimport { getContests, loadAllContests, loadContestsStatsArcade, loadContestsStatsLoot } from \"store/contest\";\nimport {\n bgPracticeCreateNewGame,\n bgPracticeGameInitialGameData,\n bgPracticeGameScoreUpdateRedux,\n createNewGame,\n gameScoreUpdateRedux,\n getGame,\n initialGameData,\n loadBgGames,\n} from \"store/game\";\n\n// Images\nimport ConfirmEntryModal from \"../modals/confirmEntryPopup\";\n\n// Components\nimport ErrorPopup from \"common/errorPopup\";\nimport IframeComponent from \"iframeGame/iframeGame\";\nimport IframePracticeGameComponent from \"iframeGame/iframePracticeGame\";\nimport mixpanel from \"mixpanel-browser\";\nimport {\n contestEntry,\n getUser,\n toggleBountyBoxRedux,\n toggleConnectWalletRedux,\n togglePopupRedux,\n togglePurchaseCoinsRedux,\n} from \"store/user\";\nimport DetailsContestCard from \"../common/detailsContestCard\";\nimport DetailsModalCard from \"../common/detailsModalCard\";\nimport ContestLeaderboard from \"./accordionItems/contestLeaderboard\";\nimport GameStats from \"./accordionItems/gameStats\";\nimport LootArcadeToggler from \"./accordionItems/lootArcadeToggler\";\nimport PracticeGameStats from \"./accordionItems/practiceGameStats\";\nimport ContestInfo from \"./contestInfo\";\nimport GameScore from \"./gameScore\";\nimport PracticeGameScore from \"./practiceGameScore\";\nimport PastDetailsContestCard from \"../common/pastDetailsContestCard\";\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo.svg\";\nconst progressIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/green-progress.svg\";\nconst tickIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/green-tick.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo.svg\";\nconst cardIcon1 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/s-new-icon-1.png\";\nconst cardIcon2 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/s-new-icon-2.png\";\nfunction GameSections({\n loading,\n loadingUser,\n profile,\n contest,\n toggleSignup,\n setIsPracticeGame,\n isPractiGame,\n contestBgGame,\n getGame,\n loadBgGames,\n contestEntry,\n toggleConnectWalletRedux,\n createNewGame,\n bgPracticeGameScoreUpdateRedux,\n gameScoreUpdateRedux,\n toggleGameScreen,\n togglePracticeGameScreen,\n toggleResultsScreen,\n loadContestsStatsArcade,\n togglePopupRedux,\n togglePurchaseCoinsRedux,\n loadContestsStatsLoot,\n music,\n muted,\n toggleMusic,\n toggleMute,\n updateSoundSettings,\n initialGameData,\n gameSetTab,\n gameTab,\n toggleLeaderModal,\n showLeaderboardModal,\n loadingStats,\n fewPlayers,\n allPlayers,\n bgPracticeCreateNewGame,\n bgPracticeGameInitialGameData,\n getUser,\n toggleBountyBoxRedux,\n\n getContests,\n loadDetails,\n loadingGameContests,\n showGameScreen,\n description,\n toggleHowItWorks,\n toggleRulesRegulation,\n}) {\n // Hooks\n const navigate = useNavigate();\n const params = useParams();\n const ref = useRef(null);\n const [searchParams, setSearchParams] = useSearchParams();\n\n // Coin Based Games States\n const [playGame, setPlayGame] = useState(false);\n const [gameUrl, setGameUrl] = useState(\"\");\n const [error, setError] = useState(null);\n const [errorType, setErrorType] = useState(null);\n const [showModal, setShowModal] = useState(false);\n const [tab, setTab] = useState(1);\n const [loadingContest, setLoadingContest] = useState(false);\n const [gametype, setGameType] = useState(3);\n\n // Practice Games States\n const [loadingPracticeContest, setLoadingPracticeContest] = useState(false);\n const [practiceGameUrl, setPracticeGameUrl] = useState(\"\");\n\n const toggleModalHandle = () => {\n setShowModal(!showModal);\n };\n\n useEffect(() => {\n gameSetTab(gametype === 3 ? 1 : 2);\n }, [gametype]);\n\n const contestEntryCall = (e, amountType = gametype) => {\n if (process.env.REACT_APP_MIXPANEL == 1 && amountType === 1) {\n var a = moment([2007, 0, 29]);\n var b = moment([2007, 0, 28]);\n mixpanel?.track(\"Basic contest entry initiated\", {\n Duration: `${moment(contest?.endDate).diff(moment(contest?.startDate), \"hours\")} Hours`,\n Game: contest?.bgGame?.name === \"Vendetta Pinball\" ? \"Pinball\" : contest?.bgGame?.name,\n \"Entry Fee\": `$${contest?.entryFeeArcadeCoins?.toLocaleString(\"en-us\")}`,\n });\n } else if (process.env.REACT_APP_MIXPANEL == 1 && amountType === 3)\n mixpanel?.track(\"Premium Contest Entry initiated\", {\n Duration: `${moment(contest?.endDate).diff(moment(contest?.startDate), \"hours\")} Hours`,\n Game: contest?.bgGame?.name === \"Vendetta Pinball\" ? \"Pinball\" : contest?.bgGame?.name,\n \"Entry Fee\": `$${contest?.entryFeeLootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}`,\n });\n\n if (amountType) setGameType(amountType);\n setLoadingContest(true);\n const params = {\n contestId: contest.slug,\n amountType,\n };\n\n let _hsq = (window._hsq = window._hsq || []);\n _hsq.push([\n \"trackCustomBehavioralEvent\",\n {\n name: process.env.REACT_APP_HUBSPOT_CONTEST_ENTRY_EVENT,\n properties: {\n contest_type: amountType === 1 ? \"Basic contest\" : amountType === 3 ? \"Premium Contest\" : \"\",\n },\n },\n ]);\n contestEntry(params, (res) => {\n setErrorType(\"\");\n if (res?.status === 200) {\n if (process.env.REACT_APP_MIXPANEL == 1 && amountType === 1) {\n mixpanel?.track(\"Basic contest entry completed\", {\n Duration: `${moment(contest?.endDate).diff(moment(contest?.startDate), \"hours\")} Hours`,\n Game: contest?.bgGame?.name === \"Vendetta Pinball\" ? \"Pinball\" : contest?.bgGame?.name,\n \"Entry Fee\": `$${contest?.entryFeeArcadeCoins?.toLocaleString(\"en-us\")}`,\n });\n } else if (process.env.REACT_APP_MIXPANEL == 1 && amountType === 3)\n mixpanel?.track(\"Premium Contest Entry completed\", {\n Duration: `${moment(contest?.endDate).diff(moment(contest?.startDate), \"hours\")} Hours`,\n Game: contest?.bgGame?.name === \"Vendetta Pinball\" ? \"Pinball\" : contest?.bgGame?.name,\n \"Entry Fee\": `$${contest?.entryFeeLootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}`,\n });\n\n setGameUrl(contest?.bgGame?.url);\n toggleGameScreen(true);\n setPlayGame(true);\n setTab(2);\n } else {\n if (res?.status === 400 && res?.data?.data?.type === \"Insufficient credits\") {\n if (getUser.bountyBoxesTotal?.bountyBox > 0) toggleBountyBoxRedux(true);\n else togglePurchaseCoinsRedux(true);\n setLoadingContest(false);\n return;\n }\n if (res?.data?.data?.type === \"Wallet not connected\") toggleConnectWalletRedux(true);\n setError(res?.data.message);\n setLoadingContest(false);\n if (res.data.data && res.data.data.type) setErrorType(res.data.data.type);\n }\n });\n };\n\n const initialGameDataCall = () => {\n const iFrame = document.getElementById(\"iframe-container\");\n const muteStateData = {\n musicMuted: localStorage.getItem(\"musicMuted\") === \"true\" ? true : false,\n soundsMuted: localStorage.getItem(\"soundMuted\") === \"true\" ? true : false,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n initialGameData({ contestId: contest.slug }, (res) => {\n const message = window.MESSAGE_FACTORY(window.CG_API.InitGame, res.data.gameData);\n iFrame.contentWindow.postMessage(message, \"*\");\n\n const muteStateData = {\n musicMuted: localStorage.getItem(\"musicMuted\") === \"true\" ? true : false,\n soundsMuted: localStorage.getItem(\"soundMuted\") === \"true\" ? true : false,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n });\n };\n\n const creatingGame = () => {\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"Game initiated\");\n }\n createNewGame((res) => {\n if (res.status !== 200)\n return setError(\n \"It appears there may be a network issue. Please try again. If the problem continues, kindly get in touch with our support team.\",\n );\n // send InitGame message to iframe\n });\n };\n\n const gameLoaded = () => {\n const iFrame = document.getElementById(\"iframe-container\");\n const muteStateData = {\n musicMuted: localStorage.getItem(\"musicMuted\") === \"true\" ? true : false,\n soundsMuted: localStorage.getItem(\"soundMuted\") === \"true\" ? true : false,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n };\n\n /**\n * Practice Games\n */\n const practiceGameEntry = (e) => {\n setIsPracticeGame(true);\n setLoadingPracticeContest(true);\n setPracticeGameUrl(contest?.bgGame?.url);\n togglePracticeGameScreen(true);\n setTab(2);\n };\n const initiatePracticeGameDataCall = () => {\n const iFrame = document.getElementById(\"iframe-container\");\n const muteStateData = {\n musicMuted: localStorage.getItem(\"musicMuted\") === \"true\" ? true : false,\n soundsMuted: localStorage.getItem(\"soundMuted\") === \"true\" ? true : false,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n bgPracticeGameInitialGameData({ bgGameId: contest?.bgGame?.id }, (res) => {\n const message = window.MESSAGE_FACTORY(window.CG_API.InitGame, res.data.gameData);\n iFrame.contentWindow.postMessage(message, \"*\");\n\n const muteStateData = {\n musicMuted: localStorage.getItem(\"musicMuted\") === \"true\" ? true : false,\n soundsMuted: localStorage.getItem(\"soundMuted\") === \"true\" ? true : false,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n });\n };\n\n const creatingPracticeGame = () => {\n bgPracticeCreateNewGame(contest?.bgGame?.id, (res) => {\n if (res.status !== 200) return setError(res.data?.message);\n // send InitGame message to iframe\n });\n };\n\n useEffect(() => {\n loadBgGames({}, (gameRes) => {});\n }, []);\n useEffect(() => {\n const arcadeCoinsTab = searchParams.get(\"arcade\");\n if (contest?.contestType === 2 || arcadeCoinsTab) gameSetTab(2);\n else gameSetTab(1);\n }, [contest?.slug]);\n\n useEffect(() => {\n if (tab === 3) {\n toggleResultsScreen(true);\n if (!isPractiGame) {\n if (gametype === 1) loadContestsStatsArcade(contest?.id, (statRes) => {});\n else loadContestsStatsLoot(contest?.id, (statRes) => {});\n }\n } else toggleResultsScreen(false);\n }, [tab]);\n\n const { bgGamesLoading, bgGames } = getGame;\n\n const contestEntryButton = (e, type) => {\n e.preventDefault();\n if (loadingContest) return;\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"enter_contest\", // fixed value\n section: \"contest page\", // fixed value\n click_text: \"ENTER CONTEST\", // dynamic value\n game_name: contest.title, // dynamic value\n }),\n );\n e.stopPropagation();\n if (!localStorage.getItem(\"x-auth-token\")) {\n toggleSignup(e);\n } else if (!profile.connectedWallet) {\n togglePopupRedux(true);\n } else if (contest.bgGame.isWalletRestrictionEnabled && !profile.connectedWallet) {\n toggleSignup(e);\n } else {\n if (contest.bgGame?.url) {\n contestEntryCall(e, type);\n } else toggleModalHandle();\n }\n };\n const isEnded =\n contest?.status === \"Completed\" ||\n contest?.status === \"Ended\" ||\n (contest?.status === \"Running\" && contest?.isEnded) ||\n contest?.status !== \"Running\";\n\n let allContestsArray = structuredClone(getContests?.allContests);\n if (isEnded) allContestsArray = [];\n\n let singleContest = isEnded ? true : allContestsArray?.length === 1;\n\n let allGames = bgGames?.filter((g) => g?.isActive && !g?.isCommingSoon && g?.id !== contest?.bgGameId);\n\n allGames.splice(3);\n const contestTypeTitle =\n gameTab === 1 ? contest?.lootTitle ?? \"PLAY FOR PRIZES!\" : contest?.arcadeTitle ?? \"PLAY FOR FAME!\";\n const contestTypeDescription =\n gameTab === 1\n ? contest?.lootDescription ?? \"Use Loot Bucks to win Sweepstakes Tickets.\"\n : contest?.arcadeDescription ?? \"Hone your skills and try to reach the top of the leaderboard!\";\n return (\n <>\n
    \n {loading ? (\n \n ) : tab === 1 ? (\n <>\n
    \n
    \n
    \n \n\n {loadingGameContests ? (\n
    \n \n
    \n ) : (\n \n )}\n
    \n
    \n {allContestsArray?.map((cont) => (\n \n ))}\n {isEnded && }\n {!loadingGameContests && singleContest && (\n
    \n
    \n
    \n
    \n
    \n
      \n
      \n
      \n
      \n )}\n
      \n
      \n 579\n ? contest?.isPrivate && contestBgGame?.privateDesktopImage?.original\n ? \"privateDesktopImage\"\n : \"desktopImage\"\n : contest?.isPrivate && contestBgGame?.privateMobileImage?.original\n ? \"privateMobileImage\"\n : \"mobileImage\"\n ]?.original\n }\n alt=\"\"\n />\n
      \n {loadingGameContests ? (\n
      \n \n
      \n ) : (\n \n )}\n {loadingGameContests ? (\n
      \n \n \n \n
      \n ) : (\n
      \n
      {contestTypeTitle}
      \n
      {contestTypeDescription}
      \n
      \n
      \n contestEntryButton(e, 3)}\n loadingContest={loadingContest}\n type=\"loot\"\n />\n
      \n
      \n contestEntryButton(e, 1)}\n loadingContest={loadingContest}\n type=\"arcade\"\n />\n
      \n
      \n
      \n )}\n
      \n
      \n
      \n
      \n
      \n
      \n contestEntryButton(e, 3)}\n loadingContest={loadingContest}\n type=\"loot\"\n />\n
      \n
      \n contestEntryButton(e, 1)}\n loadingContest={loadingContest}\n type=\"arcade\"\n />\n
      \n
      \n
      \n
      \n
      \n {allContestsArray?.map((cont) => (\n \n ))}\n {isEnded && }\n
      \n
      \n
      \n \n
      \n
      \n
      \n
      \n
      \n
      \n \n {loading ? (\n \n ) : (\n <>\n {description?.length > 0 && (\n <>\n
      \n \n
      \n \n )}\n {/*
      \n {\n e.preventDefault();\n toggleRulesRegulation();\n }}\n />\n
      */}\n \n )}\n
      \n
      \n
      \n
      \n {allGames?.map((game) => (\n {\n e.preventDefault();\n if (game?.gameType === 2) {\n if (!localStorage.getItem(\"x-auth-token\")) {\n toggleSignup(e);\n return;\n }\n navigate(`/cowitzer-game/${game.slug}`);\n return;\n }\n\n if (game?.gameType === 1) {\n if (!localStorage.getItem(\"x-auth-token\")) {\n toggleSignup(e);\n return;\n }\n window.location.href = `/crash-game/${game.slug}`;\n return;\n }\n if (game?.contests?.length > 0) navigate(\"/games/\" + game?.slug + \"/\" + game?.contests[0]?.slug);\n else navigate(\"/active-contests\");\n }}\n />\n ))}\n
      \n \n ) : (\n <>\n {isPractiGame ? (\n <>\n
      \n \n
      \n
      \n
      \n setTab(val)}\n updateSoundSettings={updateSoundSettings}\n gameLoaded={gameLoaded}\n bgGame={contest?.bgGame}\n initialGameDataCall={initiatePracticeGameDataCall}\n ref={ref}\n />\n
      \n
      \n
      \n {\n setPracticeGameUrl(\"\");\n setPlayGame(false);\n setLoadingPracticeContest(false);\n togglePracticeGameScreen(false);\n setTab(1);\n setIsPracticeGame(false);\n bgPracticeGameScoreUpdateRedux(0);\n }}\n gametype={gametype}\n setTab={setTab}\n loadingContest={loadingPracticeContest}\n bgGame={contest?.bgGame}\n />\n
      \n \n ) : (\n <>\n
      \n \n
      \n
      \n
      \n setTab(val)}\n updateSoundSettings={updateSoundSettings}\n gameLoaded={gameLoaded}\n initialGameDataCall={initialGameDataCall}\n ref={ref}\n />\n
      \n
      \n
      \n {\n setGameUrl(\"\");\n setPlayGame(false);\n setLoadingContest(false);\n toggleGameScreen(false);\n setTab(1);\n gameScoreUpdateRedux(0);\n }}\n gametype={gametype}\n setTab={setTab}\n loadingContest={loadingContest}\n bgGame={contest?.bgGame}\n />\n
      \n \n )}\n \n )}\n
      \n\n SOMETHING WENT WRONG`}\n errorType={errorType}\n errorTitle={errorType}\n />\n \n \n );\n}\nconst EnterButton = ({ status, contest, loading, loadingUser, profile, loadingContest, onClick, type }) => (\n <>\n {loading || loadingUser || !profile || !profile.userProfile ? (\n \n ) : status === \"Cancelled\" ? (\n \n Contest Canceled{\" \"}\n \n ) : status === \"Completed\" ||\n status === \"Ended\" ||\n (status === \"Running\" && contest?.isEnded) ||\n status !== \"Running\" ? (\n \n \n {contest?.[\n type == \"loot\" ? \"ticketsAwarded\" : contest?.xPToBeAwarded ? \"xPToBeAwarded\" : \"arcadeCoinToBeAwarded\"\n ]\n ? \"Contest Closed\"\n : \"Reward in Progress\"}\n {\" \"}\n
      \n
      \n \n
      \n
      \n \n ) : (\n <>\n \n Enter Contest\n
      \n
      \n \"\"\n
      \n
      \n {type === \"loot\"\n ? contest?.entryFeeLootBonusCoins?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0\n : contest?.entryFeeArcadeCoins?.toLocaleString() ?? 0}\n
      \n
      \n \n \n )}\n \n);\nconst mapDispatchToProps = (dispatch) => ({\n loadContestsStatsArcade: (id, callback) => dispatch(loadContestsStatsArcade(id, callback)),\n loadAllContests: (params, callback) => dispatch(loadAllContests(params, callback)),\n loadContestsStatsLoot: (id, callback) => dispatch(loadContestsStatsLoot(id, callback)),\n createNewGame: (data, callback) => dispatch(createNewGame(data, callback)),\n initialGameData: (data, callback) => dispatch(initialGameData(data, callback)),\n bgPracticeCreateNewGame: (id, callback) => dispatch(bgPracticeCreateNewGame(id, callback)),\n bgPracticeGameInitialGameData: (data, callback) => dispatch(bgPracticeGameInitialGameData(data, callback)),\n loadBgGames: (params, callback) => dispatch(loadBgGames(params, callback)),\n contestEntry: (params, callback) => dispatch(contestEntry(params, callback)),\n toggleConnectWalletRedux: (payload) => dispatch(toggleConnectWalletRedux(payload)),\n togglePopupRedux: (payload) => dispatch(togglePopupRedux(payload)),\n togglePurchaseCoinsRedux: (payload) => dispatch(togglePurchaseCoinsRedux(payload)),\n toggleBountyBoxRedux: (payload) => dispatch(toggleBountyBoxRedux(payload)),\n gameScoreUpdateRedux: (payload) => dispatch(gameScoreUpdateRedux(payload)),\n bgPracticeGameScoreUpdateRedux: (payload) => dispatch(bgPracticeGameScoreUpdateRedux(payload)),\n});\nconst mapStateToProps = (state) => ({\n getGame: getGame(state),\n getContests: getContests(state),\n getUser: getUser(state),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(GameSections);\n","import { fetchNFT } from \"home/apis\";\nimport _ from \"lodash\";\nimport { Component, createRef } from \"react\";\nimport { Accordion } from \"react-bootstrap\";\nimport { isMobile } from \"react-device-detect\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { connect } from \"react-redux\";\nimport {\n getContests,\n loadAllContests,\n loadContestDetails,\n loadContestsStatsArcade,\n loadContestsStatsLoot,\n} from \"store/contest\";\nimport { getUser, toggleDiscordModalRedux } from \"store/user\";\nimport { getCookie } from \"utils/cookiesUtilities\";\nimport { withRouter } from \"utils/withRouter\";\n\n// Components\nimport Header from \"common/header\";\nimport Loader from \"common/loader\";\nimport OnboardingModal from \"common/modals/onboarding/onboarding\";\nimport DiscordChatModal from \"common/sections/discordChat\";\nimport SEO from \"common/seo\";\nimport ViewWinnerModal from \"common/viewWinnerModal\";\nimport mixpanel from \"mixpanel-browser\";\nimport RedeemReward from \"../profile/redeemReward\";\nimport DetailsModalCard from \"./components/common/detailsModalCard\";\nimport ContestLeaderboard from \"./components/layouts/accordionItems/contestLeaderboard\";\nimport GameStats from \"./components/layouts/accordionItems/gameStats\";\nimport PracticeGameStats from \"./components/layouts/accordionItems/practiceGameStats\";\nimport ContestRulesAndRegulations from \"./components/layouts/accordionItems/rulesAndRegulations\";\nimport ContestInfo from \"./components/layouts/contestInfo\";\nimport GameSections from \"./components/layouts/gameSections\";\nimport ConfirmEntryModal from \"./components/modals/confirmEntryPopup\";\nimport HowItWorks from \"./components/modals/howItWorks\";\n// Images\nconst cardIcon1 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/s-new-icon-1.png\";\nconst cardIcon2 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/s-new-icon-2.png\";\nclass ContestDetails extends Component {\n // ref = createRef(null);\n videoRef = createRef(null);\n state = {\n data: {\n keyword: \"\",\n },\n loading: true,\n loadingEth: false,\n contest: null,\n loadingContests: false,\n nftInfo: null,\n slideIndex: 0,\n showAllTraits: false,\n showModal: false,\n showPopup: false,\n tokenId: 0,\n arcadeStats: null,\n lootStats: null,\n loadingStats: true,\n showUserModal: false,\n userPlayer: null,\n showHowItWorks: false,\n showResults: false,\n currRound: 0,\n showGameScreen: false,\n showPracticeGameScreen: false,\n showResultScreen: false,\n showRulesRegulation: false,\n muted: localStorage.getItem(\"soundMuted\") === \"true\",\n music: localStorage.getItem(\"musicMuted\") === \"true\",\n showLeaderboardModal: false,\n tab: 1,\n // onboarding flow modal's states\n showSignupModal: false,\n isPractiGame: false,\n loadingGameContests: true,\n };\n\n // Toggle Methods for onboarding flow\n toggleSignup = (e) => {\n if (e) e.preventDefault();\n this.setState({ showSignupModal: !this.state.showSignupModal });\n };\n toggleRulesRegulation = (e) => {\n if (e) e.preventDefault();\n this.setState({ showRulesRegulation: !this.state.showRulesRegulation });\n };\n\n changeRound = (round) => {\n this.setState({ currRound: round });\n };\n\n updateSound = (type) => {\n const iFrame = document.getElementById(\"iframe-container\");\n if (!iFrame) return;\n const muteStateData = {\n musicMuted: this.state.music,\n soundsMuted: this.state.muted,\n };\n\n if (type === \"music\") {\n const muteStateData = {\n musicMuted: !this.state.music,\n soundsMuted: this.state.muted,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n localStorage.setItem(\"musicMuted\", muteStateData.musicMuted);\n }\n\n if (type === \"sound\") {\n const muteStateData = {\n musicMuted: this.state.music,\n soundsMuted: !this.state.muted,\n };\n // send MuteState message to iframe\n const mutedMessage = window.MESSAGE_FACTORY(window.CG_API.MuteState, muteStateData);\n iFrame.contentWindow.postMessage(mutedMessage, \"*\");\n localStorage.setItem(\"soundMuted\", muteStateData.soundsMuted);\n }\n iFrame?.focus();\n };\n\n // Toggle Popus\n togglePopup = (e, tokenId) =>\n this.setState({\n showPopup: !this.state.showPopup,\n tokenId: tokenId ? tokenId : 0,\n });\n toggleUserModal = (e) =>\n this.setState({\n showUserModal: !this.state.showUserModal,\n });\n toggleHowItWorks = (e) => {\n if (e) e.preventDefault();\n this.setState({\n showHowItWorks: !this.state.showHowItWorks,\n });\n };\n toggleModal = async (e) => {\n if (e) e.preventDefault();\n this.setState({ showModal: !this.state.showModal });\n };\n\n componentDidUpdate = (prevProps, prevState) => {\n // if (!this.state.loading && this.state.loading !== prevState.loading) {\n // this.ref.current.complete();\n // }\n // if (this.state.loading && this.state.loading !== prevState.loading) this.ref.current.continuousStart();\n if (this.props.router.params.slug !== prevProps.router.params.slug) {\n window.scrollTo(0, 0);\n this.loadData();\n }\n\n const element = document.getElementsByClassName(\"custom-slider-pagination\");\n let ul = document.getElementsByClassName(\"number-dots-list\");\n if (!this.state.loading && ul.length > 0 && window.innerWidth > 991.97 && element && element[0]) {\n element[0].append(ul[0]);\n if (element[0].childNodes.length > 0) {\n for (let i = 0; i < element[0].childNodes.length - 1; i++) {\n element[0].removeChild(element[0].childNodes[i]);\n }\n }\n }\n if (this.state.tab !== prevState.tab && process.env.REACT_APP_MIXPANEL == 1) {\n const { tab } = this.state;\n if (tab === 1) {\n mixpanel.track(\"View contest leaderboard_lootbucks\");\n } else if (tab === 2) {\n mixpanel.track(\"View contest leaderboard_arcade\");\n }\n }\n };\n componentDidMount = async () => {\n if (window.innerWidth > 1280.98) {\n this.props.toggleDiscordModalRedux(true);\n }\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"View contest detail page \");\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"ContestDetails_viewed\");\n\n this.loadData();\n };\n\n // Load contest details function\n loadData = async () => {\n const gameSlug = this.props.router.params.slug;\n const contestSlug = this.props.router.params.contestSlug;\n this.setState({ loading: true, loadingStats: true });\n window.scrollTo(0, 0);\n this.loadDetails(contestSlug);\n this.props.loadAllContests({ order: \"asc\", sort: \"endDate\", bgGameSlug: gameSlug }, null);\n };\n loadDetails = (slug) => {\n this.setState({ loadingGameContests: true, loadingStats: true, loadingStatsLoot: true, loadingStatsArcade: true });\n this.props.loadContestDetails(slug, (res) => {\n this.setState({ loadingGameContests: false });\n if (res.status === 200) {\n const contest = res.data.data;\n\n // GET contest stats api\n this.props.loadContestsStatsArcade(contest.id, (res) => {\n this.setState({\n arcadeStats: res.data && res.data.data,\n });\n });\n this.props.loadContestsStatsLoot(contest.id, (res) => {\n this.setState({\n lootStats: res.data && res.data.data,\n loadingStats: false,\n });\n });\n\n if (\n contest &&\n contest.rewardType === \"NFT\" &&\n contest.rewardNftContractAddress &&\n contest.rewardNftTokenNumber\n ) {\n this.setState({ loadingEth: true });\n fetchNFT(contest.rewardNftTokenNumber, contest.rewardNftContractAddress, (nftInfo) => {\n this.setState({ nftInfo: nftInfo.data, loadingEth: false });\n });\n }\n this.setState({ contest, loading: false });\n } else if (res.status === 403) {\n this.setState({ loading: false });\n window.location.href = \"/contests\";\n } else {\n this.setState({ loading: false });\n window.location.href = \"/404\";\n }\n window.scrollTo(0, 0);\n });\n };\n toggleResults = (e) => {\n if (e) {\n e.preventDefault();\n e.stopPropagation();\n }\n this.setState({ showResults: !this.state.showResults });\n };\n toggleLeaderModal = (e) => {\n if (e) e.preventDefault();\n this.setState({ showLeaderboardModal: !this.state.showLeaderboardModal });\n };\n toggleGameScreen = (val) => {\n this.setState({ showGameScreen: val });\n if (val) {\n this.props.toggleDiscordModalRedux(false);\n } else if (window.innerWidth > 1280.98) this.props.toggleDiscordModalRedux(true);\n };\n togglePracticeGameScreen = (val) => {\n this.setState({ showPracticeGameScreen: val });\n if (val) {\n this.props.toggleDiscordModalRedux(false);\n } else if (window.innerWidth > 1280.98) this.props.toggleDiscordModalRedux(true);\n };\n toggleResultsScreen = (val) => {\n if (window.innerWidth > 1280.98 && val) this.props.toggleDiscordModalRedux(true);\n this.setState({ showResultScreen: val });\n };\n toggleMute = () => {\n this.setState({ muted: !this.state.muted });\n this.updateSound(\"sound\");\n };\n toggleMusic = () => {\n this.setState({ music: !this.state.music });\n this.updateSound(\"music\");\n };\n\n updateSoundSettings = (type, value) => {\n this.setState({ [type]: value });\n };\n getAllPlayers = (stats) => {\n const myGame = stats?.myGame;\n const players = _.take(stats?.players ?? [], myGame ? 7 : 8);\n let allPlayers = stats?.players?.length > 0 ? [...stats.players] : [];\n\n let fewPlayers = players ? [...players] : [];\n if (myGame) {\n fewPlayers?.push(myGame);\n allPlayers?.push(myGame);\n }\n fewPlayers?.sort((a, b) => a.rank - b.rank);\n allPlayers?.sort((a, b) => a.rank - b.rank);\n return { fewPlayers, allPlayers };\n };\n render() {\n const { contest, loading, tab } = this.state;\n const { loadingStatsArcade, loadingStatsLoot, contestStatsArcade, contestStatsLoot } = this.props.getContests;\n const desc = contest?.bgGame?.description?.split(\"\\n\");\n const description = desc && desc.filter((d) => d);\n const themeMode = getCookie(\"themeMode\");\n const { contestResult, loadingContestResult } = this.props.getContests;\n const stats = tab === 1 ? contestStatsLoot : contestStatsArcade;\n const { fewPlayers, allPlayers } = this.getAllPlayers(stats);\n return (\n <>\n \n \n {/* */}\n {!this.state.showGameScreen && !this.state.showPracticeGameScreen && (\n
      \n )}\n \n
      \n
      \n
      \n \n \n
      \n \n {loading ? (\n <>\n \n \n {/* */}\n \n ) : (\n <>\n {(this.state.showGameScreen || this.state.showPracticeGameScreen) &&\n !this.state.showResultScreen &&\n !isMobile && (\n \n
      \n {this.state.isPractiGame ? (\n \n ) : (\n \n )}\n
      \n
      \n )}\n\n {loading || loadingStatsLoot || loadingStatsArcade ? (\n \n ) : (\n <>\n \n
      \n this.setState({ tab })}\n contest={contest}\n loading={loading}\n status={contest?.status}\n showGameScreen={this.state.showGameScreen || this.state.showPracticeGameScreen}\n />\n \n
      \n
      \n \n )}\n {description?.length > 0 && (\n <>\n
      \n \n
      \n \n )}\n {/*
      \n {\n e.preventDefault();\n this.toggleRulesRegulation();\n }}\n />\n
      */}\n \n )}\n \n
      \n
      \n this.setState({ tab })}\n gameTab={tab}\n isPractiGame={this.state.isPractiGame}\n setIsPracticeGame={(val) => this.setState({ isPractiGame: val })}\n toggleLeaderModal={this.toggleLeaderModal}\n showLeaderboardModal={this.state.showLeaderboardModal}\n loadingStats={this.state.loadingStats}\n fewPlayers={fewPlayers}\n allPlayers={allPlayers}\n loadingGameContests={this.state.loadingGameContests}\n />\n {this.props.getUser.showDiscordModal && window.innerWidth <= 1280.98 && (\n {\n this.props.toggleDiscordModalRedux(false);\n }}\n >
      \n )}\n {this.props.getUser.showDiscordModal && (\n
      \n \n
      \n )}\n
      \n \n \n \n \n \n\n \n \n \n \n \n {/* Sign up flow modals */}\n \n \n );\n }\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n loadContestsStatsArcade: (id, callback) => dispatch(loadContestsStatsArcade(id, callback)),\n loadContestsStatsLoot: (id, callback) => dispatch(loadContestsStatsLoot(id, callback)),\n toggleDiscordModalRedux: (data) => dispatch(toggleDiscordModalRedux(data)),\n loadContestDetails: (id, callback) => dispatch(loadContestDetails(id, callback)),\n loadAllContests: (params, callback) => dispatch(loadAllContests(params, callback)),\n});\nconst mapStateToProps = (state) => ({\n getContests: getContests(state),\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(ContestDetails));\n"],"sourceRoot":""}