{"version":3,"sources":["common/seo.jsx","home/apis.js","common/howItWorks.jsx","common/footer.jsx","sweepstakes/components/common/prizePoolCardLoading.jsx","home/components/layouts/contestsWinners.jsx","home/components/layouts/gameReleases.jsx","contests/contests.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","withRouter","connect","state","getUser","dispatch","contestEntry","loadProfile","showModal","toggleModal","type","themeMode","getCookie","nav1","setNav1","useState","nav2","setNav2","useEffect","dataLayer","push","prepareData","event","section","advanmcement","step","_Fragment","Modal","className","dialogClassName","show","onHide","tabindex","_createElement","Slider","ref","slider","slidesToShow","slidesToScroll","arrows","fade","dots","adaptiveHeight","asNavFor","key","autoPlay","src","alt","href","onClick","preventDefault","slickNext","mixpanel","track","Header","Component","constructor","arguments","loading","showHowItWorks","confirmed","toggleHowItWorks","this","setState","componentDidMount","render","value","onChange","target","placeholder","lead_type","_document","hutk","pageUri","host","pageName","document","res","LoaderImg","Link","click_text","to","rel","width","height","HowItWorks","PrizePoolCardLoading","classes","styles","isEmpty","style","Skeleton","position","inset","ContestCard","lazy","ContestsWinners","memo","_slider$innerSlider3","_slider$innerSlider3$","_slider$innerSlider4","_slider$innerSlider4$","_slider$innerSlider5","_slider$innerSlider5$","_slider$innerSlider6","_slider$innerSlider6$","_ref2","getContests","loadPendingContests","setSlider","setLoading","slideIndex","setSlideIndex","loadData","loadingP","lastKey","currCount","loadFn","more","recordPerPage","CONTESTWINNER_RECORDS_PER_PAGE","status","_decodedData$data","decodedData","length","undefined","contestsWinners","pendingContests","pendingContestsLastKey","JSON","stringify","count","pendingContestsCount","totalSlides","settings","beforeChange","current","next","_slider$innerSlider$p","_slider$innerSlider","_slider$innerSlider$p2","_slider$innerSlider2","_slider$innerSlider2$","innerSlider","props","rows","infinite","responsive","breakpoint","variableWidth","containerClassName","disabled","slickPrev","circle","map","contest","index","Suspense","fallback","LoadingCard","innerWidth","Array","_","OnboardingModal","GameReleases","getGame","loadBgGames","comingSoon","isActive","gameRes","bgGames","bgGamesLoading","gameData","GameCard","GameCardLoading","top","left","_gameData$thumbnailIm","_gameData$desktopImag","navigate","useNavigate","showSignupModal","setShowSignupModal","toggleSignup","isComingSoon","gameType","localStorage","getItem","slug","_gameData$contests","_gameData$contests$","contests","thumbnailImage","desktopImage","large","showConnect","toggleDiscordModalRedux","_bgGames$find","isLoggedIn","ogImage","find","game","showDiscordModal","page","Footer","DiscordChatModal"],"mappings":"8HAAA,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,cAAA,QAAMC,KAAK,cAAcC,QAASf,IACjCC,GAASY,cAAA,QAAMG,SAAS,WAAWD,QAASd,EAAO,oBAAkB,SACrEC,GAAYW,cAAA,QAAMC,KAAK,WAAWC,QAASb,IAE3CI,GAAcO,cAAA,QAAMG,SAAS,eAAeD,QAAST,IACrDH,GAAWU,cAAA,QAAMG,SAAS,WAAWD,QAASZ,IAC9CC,GAAiBS,cAAA,QAAMG,SAAS,iBAAiBD,QAASX,IAC1DC,GAASQ,cAAA,QAAMG,SAAS,SAASD,QAAO,GAAAE,OAAW,QAAXpB,EAAKqB,cAAM,IAAArB,GAAU,QAAVC,EAAND,EAAQsB,gBAAQ,IAAArB,OAAV,EAANA,EAAkBsB,QAAMH,OAAGZ,KACzEQ,cAAA,QAAMG,SAAS,UAAUD,QAAQ,YAChCR,GAAeM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AA,OACE4D,UAAS,2EAAAxD,QACNkO,GAAc,wBAAuB,MAAAlO,OACnCgC,EAAQsM,kBAAoB,gBAAiB3O,SAElDC,cAAA,OAAK4D,UAAU,2DAA0D7D,SACvEC,cAAA,OAAK4D,UAAU,kBAAiB7D,SAC9BF,eAAA,OAAK+D,UAAU,+CAA8C7D,SAAA,CAC3DF,eAAA,OAAK+D,UAAS,iCAAmC7D,SAAA,CAE/CC,cAACsF,IAAM,CAAC3C,UAAU,OAAOgM,KAAK,aAC9B9O,eAAA,OAAK+D,UAAU,gCAA+B7D,SAAA,CAC5CC,cAACoM,UAAY,CAACG,YAAY,EAAOrN,MAAM,oBACvCc,cAACgI,UAAe,OAElBhI,cAAC4O,UAAM,QAED,OAAPxM,QAAO,IAAPA,OAAO,EAAPA,EAASsM,mBAAoBrO,OAAO2L,YAAc,SACjDhM,cAAA,OACE4D,UAAU,eACVqB,QAASA,KACPmJ,GAAwB,EAAM,KAI5B,OAAPhM,QAAO,IAAPA,OAAO,EAAPA,EAASsM,mBACR1O,cAAA,OAAK4D,UAAU,0BAAyB7D,SACtCC,cAAC6O,UAAgB,iBASnC,G","file":"static/js/17.d4645328.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","import React, { useState, useEffect } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { getCookie } from \"../utils/cookiesUtilities\";\nimport { connect } from \"react-redux\";\nimport Slider from \"react-slick\";\nimport mixpanel from \"mixpanel-browser\";\n\nimport { contestEntry, getUser, loadProfile } from \"../store/user\";\nimport { withRouter } from \"../utils/withRouter\";\nimport { prepareData } from \"./gtmDatalayer\";\n\n// Images\nconst xpSlideImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/xpSlide.svg\";\nconst lootSlideImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/LootSlide.svg\";\nconst arcadeSlideImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcadeSlide.svg\";\n\nconst HowItWorks = ({ showModal, toggleModal, type }) => {\n const themeMode = getCookie(\"themeMode\");\n const [nav1, setNav1] = useState(null);\n const [nav2, setNav2] = useState(null);\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\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-100\"\n {...options1}\n asNavFor={nav2}\n key=\"hiw-slider\"\n >\n {type === \"onboarding\" && (\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=\"pb-0 tuts-text-slider w-100\"\n key=\"hiw-slider-2\"\n >\n {type === \"onboarding\" && (\n
\n

Welcome to Burn Ghost

\n \n Level up by playing fast, fun, & familiar original games. Just pick a contest, use your game arcade\n coins to enter and rank the leaderboard.\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 )}\n
\n

PLAY ORIGINAL GAMES

\n \n Immerse yourself in our exciting orignal game lineup, play for free with arcade coins awarded daily!\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
\n

EVERYONE’S A WINNER

\n \n Regardless of your game score, you're always a winner here. Even last place on the leaderboard gets\n XP.\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
\n

OPEN LOOT BOXES - WIN PRIZES

\n \n Open Loot Boxes & win real prizes. Use Loot Bucks to open Loot Boxes for your chances to score big\n with our physical & digital prizes!\n \n

\n\n {\n if (process.env.REACT_APP_GA === \"1\") {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"How to play modal_complete\",\n }),\n );\n }\n if (process.env.REACT_APP_MIXPANEL === \"1\") {\n mixpanel?.track(\"How to play modal_complete\");\n }\n toggleModal(e);\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 React, { Component } from \"react\";\nimport { withRouter } from \"../utils/withRouter\";\nimport { connect } from \"react-redux\";\nimport { subscribeNewsLetter } from \"../home/apis\";\nimport LoaderImg from \"./loaderImag\";\nimport HowItWorks from \"./howItWorks\";\n\nimport { Link } from \"react-router-dom\";\nimport { prepareData } from \"./gtmDatalayer\";\nimport { getCookie } from \"utils/cookiesUtilities\";\n\n// Images\nconst tick = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/tick-001.svg\";\nconst openSeaIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/open-sea-white.svg\";\nclass Header extends Component {\n state = {\n email: \"\",\n loading: false,\n showHowItWorks: false,\n confirmed: false,\n };\n\n componentDidMount() {}\n toggleHowItWorks = (e) => {\n if (e) e.preventDefault();\n this.setState({\n showHowItWorks: !this.state.showHowItWorks,\n });\n };\n render() {\n return (\n <>\n {\" \"}\n {\" \"}\n \n \n );\n }\n}\n\nexport default withRouter(connect(null, null)(Header));\n","import { isEmpty } from \"lodash\";\nimport React, { Component, useState, useRef, useEffect } from \"react\";\n\n// Images\nimport Skeleton from \"react-loading-skeleton\";\n\nconst PrizePoolCardLoading = ({ classes, styles }) => {\n return (\n //styles props is used by react slick slider to calculate width\n
\n
\n \n
\n
\n );\n};\n\nexport default PrizePoolCardLoading;\n","import { lazy, memo, Suspense, useEffect, useState } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport Slider from \"react-slick\";\nimport { CONTESTWINNER_RECORDS_PER_PAGE } from \"utils/misc\";\nimport jwt from \"jwt-decode\";\n\n// Redux\nimport { connect } from \"react-redux\";\nimport { getContests, loadPendingContests } from \"store/contest\";\n\n// Components\n// import ContestCard from \"contests/components/common/contestCard\";\nimport LoadingCard from \"sweepstakes/components/common/prizePoolCardLoading\";\nconst ContestCard = lazy(() => import(\"contests/components/common/contestCard\"));\n// const LoadingCard = lazy(() => import(\"sweepstakes/components/common/prizePoolCardLoading\"));\n\nconst ContestsWinners = memo(({ getContests, loadPendingContests }) => {\n const [slider, setSlider] = useState(null);\n const [loading, setLoading] = useState(true);\n const [slideIndex, setSlideIndex] = useState(0);\n\n useEffect(() => {\n loadData();\n }, []);\n\n useEffect(() => {\n setLoading(getContests.loadingP);\n }, [getContests.loadingP]);\n\n const loadData = (lastKey, loadMore = false) => {\n let currCount = 0;\n const loadFn = (lastKey, more) => {\n loadPendingContests({ recordPerPage: CONTESTWINNER_RECORDS_PER_PAGE, lastKey: lastKey ?? null, more }, (res) => {\n if (res?.status === 200) {\n const decodedData = jwt(res?.data);\n currCount = currCount + decodedData?.data?.length;\n\n if (currCount < CONTESTWINNER_RECORDS_PER_PAGE && decodedData?.lastKey) loadFn(decodedData?.lastKey, true);\n }\n });\n };\n loadFn(lastKey, loadMore);\n };\n\n // Variables\n\n const contestsWinners = getContests?.pendingContests;\n const lastKey = getContests.pendingContestsLastKey ? JSON.stringify(getContests.pendingContestsLastKey) : null;\n const count = getContests?.pendingContestsCount;\n const totalSlides = contestsWinners?.length;\n const settings = {\n beforeChange: (current, next) => {\n const slidesToScroll = slider?.innerSlider?.props?.slidesToScroll ?? 4;\n setSlideIndex(next);\n if (loading) return;\n if ((next + slidesToScroll) * slider?.innerSlider?.props?.rows >= totalSlides) {\n if (!lastKey) return;\n loadData(lastKey, true);\n }\n },\n slidesToShow: 4,\n slidesToScroll: 4,\n dots: false,\n arrows: false,\n infinite: false,\n // variableWidth: true,\n\n responsive: [\n {\n breakpoint: 6000,\n settings: {\n rows: 2,\n },\n },\n {\n breakpoint: 1580,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n variableWidth: true,\n },\n },\n {\n breakpoint: 1280,\n settings: {\n slidesToShow: 4,\n slidesToScroll: 4,\n variableWidth: true,\n },\n },\n {\n breakpoint: 1250,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n variableWidth: true,\n },\n },\n {\n breakpoint: 930,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2,\n variableWidth: true,\n },\n },\n {\n breakpoint: 626,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: true,\n },\n },\n ],\n };\n if (contestsWinners?.length === 0 && !loading) return null;\n return (\n
\n
\n
\n
\n \"\"\n
\n
\n {loading && !contestsWinners?.length ? (\n \n ) : (\n \"CONTEST WINNERS\"\n )}\n
\n
\n
\n {loading && !contestsWinners?.length ? (\n <>\n \n \n \n ) : (\n <>\n {\n if (loading) return;\n if (slideIndex === 0) return;\n e.preventDefault();\n slider?.slickPrev();\n }}\n >\n \n \n =\n count && \"slick-disabled\"\n }`}\n disabled={\n loading ||\n (slideIndex + slider?.innerSlider?.props?.slidesToScroll) * slider?.innerSlider?.props?.rows >= count\n }\n onClick={(e) => {\n if (loading) return;\n e.preventDefault();\n slider?.slickNext();\n }}\n >\n \n \n \n )}\n
\n
\n setSlider(slider)}\n className={`flex-shrink-card-list flex-shrink-slider pb-0 has-card-oerlay multi-row-slide`}\n key={\"contest-winners-slider\"}\n >\n {contestsWinners?.map((contest, index) => (\n \n }\n >\n \n \n ))}\n {(loading || (contestsWinners?.length < count && lastKey)) &&\n [...Array(CONTESTWINNER_RECORDS_PER_PAGE)]?.map((_, index) => (\n \n ))}\n \n
\n );\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadPendingContests: (params, callback) => dispatch(loadPendingContests(params, callback)),\n});\n\nconst mapStateToProps = (state) => ({\n getContests: getContests(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ContestsWinners);\n","import { lazy, memo, Suspense, useEffect, useRef, useState } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { connect } from \"react-redux\";\nimport { useNavigate } from \"react-router-dom\";\nimport { getGame, loadBgGames } from \"store/game\";\nimport mixpanel from \"mixpanel-browser\";\n\n// import OnboardingModal from \"common/modals/onboarding/onboarding\";\nconst OnboardingModal = lazy(() => import(\"common/modals/onboarding/onboarding\"));\n// Images\n// import bgTicketIcon from \"include/images/bg-ticket.svg\";\n\nconst GameReleases = memo(({ getGame, loadBgGames, comingSoon, title }) => {\n useEffect(() => {\n loadBgGames({ isActive: true }, (gameRes) => {});\n }, []);\n\n const { bgGames, bgGamesLoading } = getGame;\n\n return (\n
\n
\n {bgGamesLoading && !bgGames?.length ? (\n \n ) : (\n
\n
\n \"\"\n
\n
{title}
\n
\n )}\n
\n
\n {bgGamesLoading && !bgGames?.length ? (\n <>\n \n \n \n \n \n ) : (\n bgGames?.map((gameData) => )\n )}\n
\n
\n );\n});\n\nconst GameCardLoading = () => {\n return (\n
\n
\n
\n \n
\n
\n
\n );\n};\n\nconst GameCard = ({ gameData }) => {\n const navigate = useNavigate();\n\n const [showSignupModal, setShowSignupModal] = useState(false);\n const toggleSignup = () => {\n setShowSignupModal(!showSignupModal);\n };\n return (\n <>\n
\n {\n if (!gameData?.isComingSoon) {\n if (gameData?.gameType === 1) {\n if (!localStorage.getItem(\"x-auth-token\")) {\n toggleSignup(e);\n return;\n }\n window.location.href = `/crash-game/${gameData.slug}`;\n return;\n }\n if (gameData?.gameType === 2) {\n if (!localStorage.getItem(\"x-auth-token\")) {\n toggleSignup(e);\n return;\n }\n navigate(`/cowitzer-game/${gameData.slug}`);\n return;\n }\n if (gameData?.gameType === 3) {\n if (!localStorage.getItem(\"x-auth-token\")) {\n toggleSignup(e);\n return;\n }\n navigate(`/board-game/${gameData.slug}`);\n return;\n }\n }\n if (!gameData?.isComingSoon) {\n if (process.env.REACT_APP_MIXPANEL === \"1\") {\n mixpanel?.track(`View All Contests_slaygrounds${gameData?.name}`);\n }\n if (gameData?.contests?.length > 0) navigate(`/games/${gameData?.slug}/${gameData?.contests[0]?.slug}`);\n else navigate(`/active-contests`);\n }\n }}\n >\n
\n \n
\n
\n \n
\n
\n \n }>\n \n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n loadBgGames: (params, callback) => dispatch(loadBgGames(params, callback)),\n});\nconst mapStateToProps = (state) => ({\n getGame: getGame(state),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(GameReleases);\n","import React, { useRef, useEffect } from \"react\";\n\n// Redux\nimport { getContests, loadPendingContests } from \"store/contest\";\nimport { connect } from \"react-redux\";\nimport { getUser, toggleDiscordModalRedux } from \"store/user\";\n\n// Components\nimport Header from \"common/header\";\nimport Footer from \"common/footer\";\nimport SEO from \"common/seo\";\nimport ContestsWinners from \"home/components/layouts/contestsWinners\";\nimport GameReleases from \"home/components/layouts/gameReleases\";\nimport DiscordChatModal from \"common/sections/discordChat\";\nimport mixpanel from \"mixpanel-browser\";\nimport { CONTESTWINNER_RECORDS_PER_PAGE } from \"utils/misc\";\nimport { getGame } from \"store/game\";\n\nfunction Contests({ loadPendingContests, getContests, toggleDiscordModalRedux, getUser, getGame }) {\n // const ref = useRef(null);\n\n useEffect(() => {\n // loadPendingContests({ recordPerPage: CONTESTWINNER_RECORDS_PER_PAGE }, null);\n if (window.innerWidth > 1280.98) {\n toggleDiscordModalRedux(true);\n }\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"View all contests\");\n mixpanel?.track(\"View All contest winners \");\n mixpanel?.track(\"Contests_viewed\");\n }\n }, []);\n\n const { loadingP } = getContests;\n const contestsWinners = getContests?.pendingContests;\n const isLoggedIn = localStorage.getItem(\"x-auth-token\");\n const { bgGames } = getGame;\n const ogImage = bgGames?.find((game) => game?.slug === \"cowitzer\")?.thumbnailImage;\n return (\n <>\n \n \n
\n
\n
\n
\n {/* */}\n
\n
\n \n \n
\n
\n
\n {getUser?.showDiscordModal && window.innerWidth <= 1280.98 && (\n {\n toggleDiscordModalRedux(false);\n }}\n >
\n )}\n {getUser?.showDiscordModal && (\n
\n \n
\n )}\n
\n
\n \n \n \n );\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n loadPendingContests: (params, callback) => dispatch(loadPendingContests(params, callback)),\n toggleDiscordModalRedux: (data) => dispatch(toggleDiscordModalRedux(data)),\n});\nconst mapStateToProps = (state) => ({\n getContests: getContests(state),\n getGame: getGame(state),\n getUser: getUser(state),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Contests);\n"],"sourceRoot":""}