{"version":3,"sources":["home/apis.js","../node_modules/fontfaceobserver/fontfaceobserver.standalone.js","home/components/layouts/heroSlider.jsx","home/components/common/lootboxCardLoading.jsx","home/components/layouts/lootbox.jsx","home/components/layouts/howItWorksSection.jsx","home/home.jsx"],"names":["loadContests","async","headers","process","response","axios","method","params","url","concat","jwt","data","e","loadGameCounts","id","fetchNFT","tokenId","address","callback","then","nftResponse","catch","err","subscribeNewsLetter","email","context","p","a","c","document","addEventListener","attachEvent","w","this","g","createElement","setAttribute","appendChild","createTextNode","h","i","m","j","l","style","cssText","x","B","offsetWidth","b","width","scrollLeft","scrollWidth","C","parentNode","D","window","family","weight","stretch","E","F","G","H","M","fonts","N","font","q","join","prototype","load","J","Date","getTime","Promise","K","L","test","navigator","vendor","exec","userAgent","parseInt","I","O","r","t","Error","n","length","setTimeout","P","race","clearTimeout","body","removeEventListener","readyState","detachEvent","u","d","k","y","z","A","f","removeChild","v","dir","hidden","module","exports","HeroSlider","memo","props","slides","profile","loadingSlides","setToggle","nav1","setNav1","useState","nav2","setNav2","_jsx","_Fragment","children","className","onClick","mixpanel","track","_jsxs","_createElement","Slider","ref","slidesToShow","slidesToScroll","arrows","dots","infinite","fade","asNavFor","key","map","slide","index","src","innerWidth","mobileBanner","image","original","alt","autoplay","autoplaySpeed","responsive","breakpoint","settings","_profile$userProfile","_slide$contest","_slide$contest2","titleLine1","subTitle","titleLine2","buttonLink","contest","userProfile","Link","to","bgGameSlug","slug","dataLayer","push","prepareData","event","section","click_text","buttonText","preventDefault","height","Skeleton","borderRadius","position","inset","withRouter","LootboxCardLoading","LootboxCard","lazy","Lootbox","_ref","_slider$innerSlider","_slider$innerSlider$p","_slider$innerSlider2","_slider$innerSlider2$","_slider$innerSlider3","_slider$innerSlider3$","_ref2","loadLootboxes","getLootbox","loading","setLoading","useEffect","lootboxes","slideIndex","setSlideIndex","slider","setSlider","totalSlides","beforeChange","current","next","variableWidth","containerClassName","innerSlider","type","disabled","slickPrev","slickNext","circle","lootbox","Suspense","fallback","_id","Array","_","connect","state","dispatch","trophyImg","HowItWorksSection","fontLoading","scale","Footer","DiscordChatModal","SEO","ContestsWinners","GameReleases","MyActiveSweepsAndContests","Rewards","Contests","Component","constructor","arguments","scrollRef","createRef","keyword","loadingContests","slideIndex2","contests","winners","loadingWinners","loadingMyActiveContest","activeContestsList","loadingActiveContestList","showHowItWorks","loadingMore","page","dropDownData","name","value","sorting","order","sort","toggleSignUpFromSlider","heroSettings","setState","speed","customPaging","componentDidMount","_this$props$getUser","_this$props$getUser$s","FontFaceObserver","toggleDiscordModalRedux","campaignCode","router","localStorage","getItem","setItem","getUser","sortSlides","loadSlides","componentDidUpdate","prevProps","prevState","_this$props$getUser2","_this$props$getUser2$","_this$props$getUser3","_this$props$getUser4","_prevProps$getUser","slidesLoading","location","pathname","navigate","replace","_this$props$getUser5","campaign","trackScrolling","getBoundingClientRect","bottom","innerHeight","getMoreActiveContests","getActiveContests","render","themeMode","getCookie","isLoggedIn","title","description","keywords","ogTitle","ogDescription","ogUrl","ogImageAlt","twitterCard","twitterTitle","twitterDescription","showDiscordModal","Header","comingSoon","getContests","getSweepStakes","loadMyActiveGames","loadPendingContests","loadNotifications"],"mappings":"+GAAA,uKAGO,MAAMA,EAAeC,UAC1B,IACE,MAAMC,EAAU,CACd,YAAaC,4CAETC,QAAiBC,IAAM,CAC3BC,OAAQ,MACRC,SACAL,UACAM,IAAI,GAADC,OAAKN,kCAA4B,cAEtC,OAAOO,YAAIN,EAASO,MAAMA,IAC5B,CAAE,MAAOC,GACP,MAAMA,CACR,GAmCWC,EAAiBZ,UAC5B,IACE,MAAMC,EAAU,CACd,YAAaC,4CAOf,aALuBE,IAAM,CAC3BC,OAAQ,MACRJ,UACAM,IAAI,GAADC,OAAKN,kCAA4B,cAAAM,OAAaK,MAEnCH,IAClB,CAAE,MAAOC,GACP,MAAMA,CACR,GAiCWG,EAAWA,CAACC,EAASC,EAASC,KACzCb,IAAM,CACJC,OAAQ,MACRE,IAAI,uCAADC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AeajD,sBAAWyC,aALDC,IAAK,CAC5B6F,YAAaA,YAAY7F,GACzBoD,QAASA,YAAQpD,GACjB8F,eAAgBA,YAAe9F,OAXLC,IAAQ,CAClC8F,kBAAoB9S,GAAagN,EAAS8F,YAAkB9S,IAC5D6P,wBAA0BpQ,GAASuN,EAAS6C,aAAwBpQ,IAEpEsT,oBAAqBA,CAAC1T,EAAQW,IAAagN,EAAS+F,YAAoB1T,EAAQW,IAChFgT,kBAAoBhT,GAAagN,EAASgG,YAAkBhT,IAC5DqQ,WAAYA,IAAMrD,EAASqD,kBAOHvD,CAA6Cc,G","file":"static/js/29.b05ee088.chunk.js","sourcesContent":["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","/* Font Face Observer v2.3.0 - © Bram Stein. License: BSD-3-Clause */(function(){function p(a,c){document.addEventListener?a.addEventListener(\"scroll\",c,!1):a.attachEvent(\"scroll\",c)}function u(a){document.body?a():document.addEventListener?document.addEventListener(\"DOMContentLoaded\",function b(){document.removeEventListener(\"DOMContentLoaded\",b);a()}):document.attachEvent(\"onreadystatechange\",function g(){if(\"interactive\"==document.readyState||\"complete\"==document.readyState)document.detachEvent(\"onreadystatechange\",g),a()})};function w(a){this.g=document.createElement(\"div\");this.g.setAttribute(\"aria-hidden\",\"true\");this.g.appendChild(document.createTextNode(a));this.h=document.createElement(\"span\");this.i=document.createElement(\"span\");this.m=document.createElement(\"span\");this.j=document.createElement(\"span\");this.l=-1;this.h.style.cssText=\"max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;\";this.i.style.cssText=\"max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;\";\nthis.j.style.cssText=\"max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;\";this.m.style.cssText=\"display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;\";this.h.appendChild(this.m);this.i.appendChild(this.j);this.g.appendChild(this.h);this.g.appendChild(this.i)}\nfunction x(a,c){a.g.style.cssText=\"max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:\"+c+\";\"}function B(a){var c=a.g.offsetWidth,b=c+100;a.j.style.width=b+\"px\";a.i.scrollLeft=b;a.h.scrollLeft=a.h.scrollWidth+100;return a.l!==c?(a.l=c,!0):!1}function C(a,c){function b(){var e=g;B(e)&&null!==e.g.parentNode&&c(e.l)}var g=a;p(a.h,b);p(a.i,b);B(a)};function D(a,c,b){c=c||{};b=b||window;this.family=a;this.style=c.style||\"normal\";this.weight=c.weight||\"normal\";this.stretch=c.stretch||\"normal\";this.context=b}var E=null,F=null,G=null,H=null;function I(a){null===F&&(M(a)&&/Apple/.test(window.navigator.vendor)?(a=/AppleWebKit\\/([0-9]+)(?:\\.([0-9]+))(?:\\.([0-9]+))/.exec(window.navigator.userAgent),F=!!a&&603>parseInt(a[1],10)):F=!1);return F}function M(a){null===H&&(H=!!a.document.fonts);return H}\nfunction N(a,c){var b=a.style,g=a.weight;if(null===G){var e=document.createElement(\"div\");try{e.style.font=\"condensed 100px sans-serif\"}catch(q){}G=\"\"!==e.style.font}return[b,g,G?a.stretch:\"\",\"100px\",c].join(\" \")}\nD.prototype.load=function(a,c){var b=this,g=a||\"BESbswy\",e=0,q=c||3E3,J=(new Date).getTime();return new Promise(function(K,L){if(M(b.context)&&!I(b.context)){var O=new Promise(function(r,t){function h(){(new Date).getTime()-J>=q?t(Error(\"\"+q+\"ms timeout exceeded\")):b.context.document.fonts.load(N(b,'\"'+b.family+'\"'),g).then(function(n){1<=n.length?r():setTimeout(h,25)},t)}h()}),P=new Promise(function(r,t){e=setTimeout(function(){t(Error(\"\"+q+\"ms timeout exceeded\"))},q)});Promise.race([P,O]).then(function(){clearTimeout(e);\nK(b)},L)}else u(function(){function r(){var d;if(d=-1!=k&&-1!=l||-1!=k&&-1!=m||-1!=l&&-1!=m)(d=k!=l&&k!=m&&l!=m)||(null===E&&(d=/AppleWebKit\\/([0-9]+)(?:\\.([0-9]+))/.exec(window.navigator.userAgent),E=!!d&&(536>parseInt(d[1],10)||536===parseInt(d[1],10)&&11>=parseInt(d[2],10))),d=E&&(k==y&&l==y&&m==y||k==z&&l==z&&m==z||k==A&&l==A&&m==A)),d=!d;d&&(null!==f.parentNode&&f.parentNode.removeChild(f),clearTimeout(e),K(b))}function t(){if((new Date).getTime()-J>=q)null!==f.parentNode&&f.parentNode.removeChild(f),\nL(Error(\"\"+q+\"ms timeout exceeded\"));else{var d=b.context.document.hidden;if(!0===d||void 0===d)k=h.g.offsetWidth,l=n.g.offsetWidth,m=v.g.offsetWidth,r();e=setTimeout(t,50)}}var h=new w(g),n=new w(g),v=new w(g),k=-1,l=-1,m=-1,y=-1,z=-1,A=-1,f=document.createElement(\"div\");f.dir=\"ltr\";x(h,N(b,\"sans-serif\"));x(n,N(b,\"serif\"));x(v,N(b,\"monospace\"));f.appendChild(h.g);f.appendChild(n.g);f.appendChild(v.g);b.context.document.body.appendChild(f);y=h.g.offsetWidth;z=n.g.offsetWidth;A=v.g.offsetWidth;t();\nC(h,function(d){k=d;r()});x(h,N(b,'\"'+b.family+'\",sans-serif'));C(n,function(d){l=d;r()});x(n,N(b,'\"'+b.family+'\",serif'));C(v,function(d){m=d;r()});x(v,N(b,'\"'+b.family+'\",monospace'))})})};\"object\"===typeof module?module.exports=D:(window.FontFaceObserver=D,window.FontFaceObserver.prototype.load=D.prototype.load);}());\n","import React, { useState, memo } from \"react\";\nimport Slider from \"react-slick\";\nimport { withRouter } from \"utils/withRouter\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { Link } from \"react-router-dom\";\nimport mixpanel from \"mixpanel-browser\";\n\n// Images\nimport { prepareData } from \"common/gtmDatalayer\";\n\n// Components\n\nconst HeroSlider = memo((props) => {\n const { slides, profile, loadingSlides, setToggle } = props;\n const [nav1, setNav1] = useState(null);\n const [nav2, setNav2] = useState(null);\n\n // Slider options for Hero slider\n const options1 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n arrows: false,\n dots: false,\n infinite: true,\n fade: true,\n };\n const options2 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n dots: true,\n arrows: false,\n infinite: true,\n autoplay: true,\n autoplaySpeed: 5000,\n responsive: [\n {\n breakpoint: 768,\n settings: {\n dots: false,\n },\n },\n ],\n };\n\n return (\n <>\n {\n if (process.env.REACT_APP_MIXPANEL === \"1\") mixpanel?.track(\"Hero_banner_clicked\");\n }}\n >\n
\n {loadingSlides && !slides?.length ? (\n \n \n
\n ) : (\n <>\n
\n setNav1(ref)}\n className=\"new-hero-bg-list new-hero-bg-slider\"\n {...options1}\n asNavFor={nav2}\n key={\"hero-slider\"}\n >\n {slides?.map((slide, index) => (\n
\n
\n \n
\n
\n ))}\n \n
\n setNav2(ref)}\n {...options2}\n className=\"new-hero-content-list new-hero-content-slider\"\n asNavFor={nav1}\n key={\"hero-slider-1\"}\n >\n {slides?.map((slide, index) => (\n
\n
\n

\n {slide.titleLine1}
\n {slide.subTitle}\n

\n

{slide.titleLine2}

\n {(slide.buttonLink || slide.contest) && (\n <>\n {profile?.userProfile?.id || index > 0 ? (\n {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"hero_banner\",\n section: \"section number\",\n click_text: slide.buttonText,\n }),\n );\n }}\n >\n {slide.buttonText}\n \n ) : (\n {\n e.preventDefault();\n if (process.env.REACT_APP_GA === 1) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"RegisterButton_clicked\",\n }),\n );\n window.dataLayer.push(\n prepareData({\n event: \"hero_banner\",\n section: \"section number\",\n click_text: slide.buttonText,\n }),\n );\n }\n if (process.env.REACT_APP_MIXPANEL === 1) {\n mixpanel?.track(\"RegisterButton_clicked\");\n }\n\n setToggle();\n }}\n >\n Register\n \n )}\n \n )}\n
\n
\n ))}\n \n \n )}\n \n \n \n );\n});\nexport default withRouter(HeroSlider);\n","import Skeleton from \"react-loading-skeleton\";\n\nconst LootboxCardLoading = () => {\n return (\n \n
\n \n
\n \n );\n};\nexport default LootboxCardLoading;\n","import React, { lazy, memo, Suspense, useEffect, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { getLootbox, loadLootboxes } from \"store/lootbox\";\nimport Skeleton from \"react-loading-skeleton\";\nimport Slider from \"react-slick\";\n\nimport LootboxCardLoading from \"../common/lootboxCardLoading\";\n// import LootboxCard from \"../common/lootboxCard\";\nconst LootboxCard = lazy(() => import(\"../common/lootboxCard\"));\n// const LootboxCardLoading = lazy(() => import(\"../common/lootboxCardLoading\"));\n\nconst Lootbox = memo(({ loadLootboxes, getLootbox }) => {\n const [loading, setLoading] = useState(true);\n useEffect(() => {\n loadLootboxes({}, () => setLoading(false));\n }, []);\n useEffect(() => {\n setLoading(getLootbox.loading);\n }, [getLootbox.loading]);\n const { lootboxes } = getLootbox;\n const [slideIndex, setSlideIndex] = useState(0);\n const [slider, setSlider] = useState(null);\n const totalSlides = lootboxes?.length;\n\n const settings = {\n beforeChange: (current, next) => {\n setSlideIndex(next);\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: 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 (lootboxes?.length === 0 && !loading) return null;\n return (\n
\n
\n {loading && !lootboxes?.length ? (\n \n ) : (\n
\n
\n \"\"\n
\n
Instant Win
\n
\n )}\n\n {(totalSlides > 4 || slider?.innerSlider?.props?.slidesToScroll < totalSlides) && (\n
\n {loading && !lootboxes?.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 = totalSlides && \"slick-disabled\"\n }`}\n disabled={loading || slideIndex + slider?.innerSlider?.props?.slidesToScroll >= totalSlides}\n onClick={(e) => {\n if (loading) return;\n e.preventDefault();\n slider?.slickNext();\n }}\n >\n \n \n \n )}\n
\n )}\n
\n setSlider(slider)}\n className=\"loot-boxes-list flex-shrink-slider pb-0 mb-0\"\n key={\"loot-box-slider\"}\n >\n {lootboxes?.map((lootbox, index) => (\n }>\n \n \n ))}\n {loading && !lootboxes?.length && [...Array(4)]?.map((_, index) => )}\n \n
\n );\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadLootboxes: (params, callback) => dispatch(loadLootboxes(params, callback)),\n});\nconst mapStateToProps = (state) => ({\n getLootbox: getLootbox(state),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Lootbox);\n","import { memo } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { withRouter } from \"utils/withRouter\";\nconst ticketIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ticketlogo-dark-1.svg\";\nconst trophyImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/winner-tropy-01.png\";\nconst arcadeIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcade-logo-large.svg\";\nconst xpDarkIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/xp_logo_dark.svg\";\nconst HowItWorksSection = memo((props) => {\n return (\n <>\n
\n
\n
\n {props.fontLoading ? (\n \n ) : (\n <>\n
\n \"\"\n
\n
HOW IT WORKS
\n \n )}\n
\n {/*
\n \n
*/}\n
\n
\n {props.fontLoading ? (\n \n ) : (\n <>\n
\n
\n \"\"\n
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
1. PLAY FUN GAMES
\n

USE ARCADE COINS TO ENTER

\n
\n
\n
\n
\n \"\"\n
\n
\n
2. WIN XP
\n

AWARDED BY LEADERBOARD RANK

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n
\n
\n
\n
\n \n
\n
\n
3. OPEN LOOT BOXES
\n

PICK YOUR LOOT BOX

\n
\n
\n
\n
\n \"\"\n
\n
\n
4. WIN REAL PRIZES
\n

BY OPENING LOOT BOXES

\n
\n
\n
\n
\n
\n
\n \n )}\n
\n
\n \n );\n});\nexport default withRouter(HowItWorksSection);\n","import FontFaceObserver from \"fontfaceobserver\";\nimport mixpanel from \"mixpanel-browser\";\nimport { Component, createRef, lazy, Suspense } from \"react\";\nimport { getCookie } from \"utils/cookiesUtilities\";\nimport { CONTESTWINNER_RECORDS_PER_PAGE } from \"utils/misc\";\nimport { withRouter } from \"utils/withRouter\";\n\n// Redux\nimport { connect } from \"react-redux\";\nimport { getSweepStakes, loadPastInstances } from \"store/sweepstakes\";\nimport { getUser, loadNotifications, loadSlides, toggleDiscordModalRedux } from \"store/user\";\nimport { getContests, loadMyActiveGames, loadPendingContests } from \"../store/contest\";\nimport { loadContests } from \"./apis\";\nimport HeroSlider from \"./components/layouts/heroSlider\";\nimport Header from \"common/header\";\nimport Lootbox from \"./components/layouts/lootbox\";\nimport HowItWorksSection from \"./components/layouts/howItWorksSection\";\n// import PrizePool from \"home/components/layouts/prizePool\";\n\n// Common Components\nconst Footer = lazy(() => import(\"common/footer\"));\nconst DiscordChatModal = lazy(() => import(\"common/sections/discordChat\"));\nconst SEO = lazy(() => import(\"common/seo\"));\n\n// Components\nconst ContestsWinners = lazy(() => import(\"home/components/layouts/contestsWinners\"));\nconst GameReleases = lazy(() => import(\"home/components/layouts/gameReleases\"));\nconst MyActiveSweepsAndContests = lazy(() => import(\"./components/layouts/mySweepsAndContests\"));\nconst Rewards = lazy(() => import(\"./components/layouts/rewards\"));\n// const SweepsWinners = lazy(() => import(\"home/components/layouts/sweepsWinners\"));\n\nclass Contests extends Component {\n // ref = createRef(null);\n scrollRef = createRef();\n\n // States\n state = {\n data: {\n keyword: \"\",\n },\n loading: true,\n fontLoading: false,\n loadingContests: false,\n slideIndex: 0,\n loadingSlides: true,\n slideIndex2: 0,\n nav1: null,\n nav2: null,\n contests: [],\n slides: [],\n winners: [],\n loadingWinners: false,\n loadingMyActiveContest: false,\n activeContestsList: [],\n loadingActiveContestList: false,\n showHowItWorks: false,\n loadingMore: false,\n page: 1,\n dropDownData: { name: \"ENDING SOON\", value: 3 },\n sorting: { order: \"asc\", sort: \"endDate\" },\n toggleSignUpFromSlider: false,\n };\n // Slider options for Hero slider\n heroSettings = {\n beforeChange: (current, next) => {\n this.setState({ slideIndex: next });\n },\n dots: true,\n infinite: true,\n arrows: false,\n speed: 300,\n slidesToShow: 1,\n autoplay: true,\n fade: true,\n slidesToScroll: 1,\n\n customPaging: (i) =>
{i + 1}
,\n };\n componentDidMount = async () => {\n var font = new FontFaceObserver(\"tungsten\", {\n weight: 400,\n });\n\n // font.load().then(\n // () => {\n // this.setState({ fontLoading: false });\n // },\n // () => {\n // this.setState({ fontLoading: false });\n // },\n // );\n if (window.innerWidth > 1280.98) {\n this.props.toggleDiscordModalRedux(true);\n }\n if (process.env.REACT_APP_MIXPANEL === \"1\") {\n mixpanel.track(\"view Homepage\");\n }\n\n this.setState({\n loading: true,\n loadingSlides: true,\n loadingActiveContestList: true,\n });\n const campaignCode = this.props.router.params.campaignCode || localStorage.getItem(\"campaignCode\");\n if (campaignCode) localStorage.setItem(\"campaignCode\", campaignCode);\n if (this.props.getUser?.slides?.length) {\n this.sortSlides();\n }\n // GET slides API\n this.props.loadSlides();\n // this.props.loadPastInstances({ recordPerPage: SWEEPS_RECORDS_PER_PAGE }, null);\n // this.props.loadPendingContests({ recordPerPage: CONTESTWINNER_RECORDS_PER_PAGE }, null);\n // this.getActiveContests();\n // GET featured contests API\n // const contests = await loadContests({ isFeatured: true });\n // this.setState({ contests, loading: false });\n };\n\n componentDidUpdate = (prevProps, prevState) => {\n // if (!this.state.loading && this.state.loading !== prevState.loading) {\n // this.ref.current.complete();\n // this.setState({\n // nav1: this.slider1,\n // nav2: this.slider2,\n // });\n // }\n // if (this.state.loading && this.state.loading !== prevState.loading) this.ref.current.continuousStart();\n // if (!this.state.loadingContests && this.state.loadingContests !== prevState.loadingContests) {\n // this.ref.current.complete();\n // }\n // if (this.state.loadingContests && this.state.loadingContests !== prevState.loadingContests)\n // this.ref.current.continuousStart();\n\n if (\n this.props.getUser?.slides?.length &&\n !this.props.getUser?.slidesLoading &&\n this.props.getUser?.slidesLoading !== prevProps?.getUser?.slidesLoading\n ) {\n this.sortSlides();\n }\n // if (this.state.dropDownData.value !== prevState.dropDownData.value) {\n // this.getActiveContests();\n // }\n if (this.props.router.params.campaignCode && window.location.pathname !== \"/\")\n this.props.router.navigate(\"/\", { replace: true });\n };\n\n sortSlides = () => {\n const campaignCode = this.props.router.params.campaignCode || localStorage.getItem(\"campaignCode\");\n const slides = [...this.props.getUser?.slides];\n if (campaignCode) slides?.sort((a, b) => (a.campaign === campaignCode ? -1 : b.campaign === campaignCode ? 1 : 0));\n this.setState({ slides: slides, loadingSlides: false });\n };\n trackScrolling = () => {\n if (this.scrollRef.current && this.scrollRef.current.getBoundingClientRect().bottom <= window.innerHeight + 1000) {\n this.setState({ page: this.state.page + 1 }, () => this.getMoreActiveContests());\n document.removeEventListener(\"scroll\", this.trackScrolling, true);\n }\n };\n getMoreActiveContests = async () => {\n const { sort, order } = this.state.sorting;\n this.setState({ loadingMore: true });\n const activeContestsList = await loadContests({\n sort,\n order,\n page: this.state.page,\n });\n this.setState({\n activeContestsList: [...this.state.activeContestsList, ...activeContestsList],\n loadingMore: false,\n });\n };\n getActiveContests = async () => {\n const { sort, order } = this.state.sorting;\n this.setState({ loadingContests: true });\n loadContests({\n sort,\n order,\n page: this.state.page,\n }).then((activeContestsList) => {\n this.setState({\n activeContestsList,\n loadingContests: false,\n loadingActiveContestList: false,\n });\n });\n };\n\n render() {\n const themeMode = getCookie(\"themeMode\");\n const isLoggedIn = localStorage.getItem(\"x-auth-token\");\n const { profile } = this.props.getUser;\n\n return (\n <>\n }>\n \n \n 1280.98) && \"has-chatroom\"}`}\n >\n
\n
\n
\n \n {\n this.setState({\n toggleSignUpFromSlider: false,\n });\n }}\n />\n {\n this.setState({\n toggleSignUpFromSlider: true,\n });\n }}\n />\n {isLoggedIn && (\n }>\n \n \n )}\n {isLoggedIn && (\n }>\n \n \n )}\n {/* */}\n \n \n }>\n \n \n {/* }>\n \n */}\n }>\n \n \n }>\n
\n \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}\nconst mapDispatchToProps = (dispatch) => ({\n loadMyActiveGames: (callback) => dispatch(loadMyActiveGames(callback)),\n toggleDiscordModalRedux: (data) => dispatch(toggleDiscordModalRedux(data)),\n // loadPastInstances: (params, callback) => dispatch(loadPastInstances(params, callback)),\n loadPendingContests: (params, callback) => dispatch(loadPendingContests(params, callback)),\n loadNotifications: (callback) => dispatch(loadNotifications(callback)),\n loadSlides: () => dispatch(loadSlides()),\n});\nconst mapStateToProps = (state) => ({\n getContests: getContests(state),\n getUser: getUser(state),\n getSweepStakes: getSweepStakes(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(Contests));\n"],"sourceRoot":""}