{"version":3,"sources":["common/seo.jsx","common/loader.jsx","lootbox/components/common/lootPrizeCard.jsx","lootbox/components/common/lootPrizeCardLoading.jsx","lootbox/components/common/lootSpinnerCard.jsx","lootbox/components/common/lootSpinnerCardLoading.jsx","lootbox/components/modals/redemptionModal.jsx","lootbox/components/modals/provablyFairModal.jsx","lootbox/openLootbox.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","React","Component","LootPrizeCard","_prize$percentDistrib","_prize$percentDistrib2","_prize$image","_prize$valueIcon","_prize$value","_prize$value2","prize","value","amountType","className","percentDistribution","toLocaleString","undefined","minimumFractionDigits","maximumFractionDigits","src","process","medium","alt","valueIcon","LootPrizeCardLoading","Skeleton","containerClassName","height","LootSpinnerCard","width","LootSpinnerCardLoading","borderRadius","RedemptionModal","_lootboxPrize$image","_lootboxPrize$valueIc","_lootboxPrize$value","_lootboxPrize$value2","showModal","toggleModal","handleContinue","lootboxPrize","Modal","dialogClassName","id","show","onHide","type","onClick","fulfillment","withRouter","connect","state","getUser","dispatch","contestEntry","data","callback","loadProfile","themeMode","getCookie","nav1","setNav1","useState","nav2","setNav2","_Fragment","tabindex","_createElement","Slider","ref","slider","slidesToShow","slidesToScroll","arrows","fade","dots","adaptiveHeight","asNavFor","key","style","padding","opacity","href","e","preventDefault","lootImg","infoIcon","audio","Audio","SwiperCore","use","Autoplay","getLootbox","loadLootbox","spinLootbox","updateLootBonusCoins","toggleDiscordModalRedux","_lootbox$image","_lootbox$image2","_lootbox$totalValue","_lootbox$pricePerSpin3","_lootbox$pricePerSpin4","_ref2","_lootbox$lootBoxPrize4","_lootbox$pricePerSpin5","_lootbox$pricePerSpin6","_getUser$profile","_getUser$profile$user","_getUser$profile2","_getUser$profile2$use","_getUser$profile3","_getUser$profile3$use","_getUser$profile4","_getUser$profile4$use","_lootbox$pricePerSpin7","_lootbox$pricePerSpin8","_lootbox$lootBoxPrize5","_ref3","_lootbox$howItWorksTe","_lootbox$howItWorksTe2","router","round","useRef","loading","setLoading","sliderRef","setSliderRef","loadingSpin","setLoadingSpin","loadingTestSpin","setLoadingTestSpin","isSpinning","setIsSpinning","testSpin","setTestSpin","showRedemption","setShowRedemption","spinPrize","spinLootboxLoading","lootbox","showHowItWorks","setShowHowItWorks","showProvablyFair","setProvablyFairModal","disableSpin","setDisableSpin","spinCount","setSpinCount","prevIndex","setPrevIndex","toggleHowItWorks","mixpanel","track","toggleProvablyFairModal","useEffect","_router$params","_router$params2","innerWidth","params","slug","res","status","eventListener","event","setTimeout","_sliderRef$autoplay","current","autoplay","start","addEventListener","removeEventListener","pause","currentTime","play","showSignupModal","setShowSignupModal","toggleSignup","isLoggedIn","localStorage","getItem","_sliderRef$params","speed","parseInt","update","showDiscordModal","handleSpin","_id","spinType","_lootbox$lootBoxPrize2","_lootbox$lootBoxPrize3","_lootbox$pricePerSpin","_lootbox$pricePerSpin2","_res$data","_res$data$data","_res$data2","_res$data2$data","Lootbucks","pricePerSpin","parseFloat","index","lootBoxPrizes","findIndex","_res$data3","_res$data3$data","lootBoxPrize","_lootbox$lootBoxPrize","l","length","x","minCount","maxCount","Math","abs","getSpinCount","_res$data4","toast","AlertError","message","Header","totalValue","DetailsModalCard","subTitle","icon","Swiper","onSwiper","onRealIndexChange","_sliderRef$autoplay2","stop","delay","disableOnInteraction","enabled","slidesPerView","allowTouchMove","loop","centeredSlides","loopedSlides","spaceBetween","Array","map","_","SwiperSlide","isNaN","profile","userProfile","lootBonusCoins","isEmpty","disabled","LoaderImg","DiscordChatModal","HowItWorks","bgGame","howItWorksTemplate","desktopImage","ProvablyFairModal","OnboardingModal","_lootbox$pricePerSpin9","_lootbox$pricePerSpin10"],"mappings":"kHAAA,gCAmCeA,UAhCHC,IAYL,IAADC,EAAAC,EAAA,IAZO,MACXC,EAAK,YACLC,EAAW,MACXC,EAAK,SACLC,EAAQ,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AgBA,KAC4B,IAADwN,EAAAC,EAC/B,OAARzG,UAAQ,IAARA,SAAUC,MAAM,2BAA4B,CAC1C4C,UAII,QAJK2D,EACA,OAAPpH,SAAO,IAAPA,IAAqB,QAAdqH,EAAPrH,GAAS0D,oBAAY,IAAA2D,OAAd,EAAPA,EAAuBjP,oBAAeC,EAAW,CAC/CC,sBAAuB,EACvBC,sBAAuB,WACvB,IAAA6O,IAAI,EACR,kBAA4B,OAATtH,SAAS,IAATA,QAAS,EAATA,GAAW9J,MAC9B,cAAwB,OAAT8J,SAAS,IAATA,QAAS,EAATA,GAAW9H,MAC1B,iBAAyB,OAAPgI,SAAO,IAAPA,QAAO,EAAPA,GAAShK,QAG/B6J,IAAkB,EAAM,EAE1BhG,aAAciG,OAEf,I","file":"static/js/28.87eab315.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 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","import React from \"react\";\n\nconst LootPrizeCard = ({ prize }) => {\n const value = [\"ARCADE\", \"TICKETS\", \"LOOT\", \"USDT\"][prize?.amountType - 1];\n\n return (\n
\n
\n
\n
{prize?.title}
\n
\n {prize?.percentDistribution?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0}\n %\n
\n
\n\n
\n
\n \"prize\n
\n
\n
\n {prize?.valueIcon && (\n \n \n \n )}\n \n {!prize?.valueIcon && \"$\"}\n {!value || value === \"LOOT\" || value === \"USDT\"\n ? prize?.value?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n : prize?.value?.toLocaleString(\"en-us\")}{\" \"}\n {value}\n \n
\n
\n
\n );\n};\n\nexport default LootPrizeCard;\n","import React from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\n\nconst LootPrizeCardLoading = () => {\n return (\n
\n
\n \n
\n
\n );\n};\n\nexport default LootPrizeCardLoading;\n","import React from \"react\";\n\nconst LootSpinnerCard = ({ prize }) => {\n const value = [\"ARCADE\", \"TICKETS\", \"LOOT\", \"USDT\"][prize?.amountType - 1];\n\n return (\n
\n
\n
\n
{prize?.title}
\n
\n
\n \n
\n
\n
\n {prize?.valueIcon && (\n \n \n \n )}\n \n {!prize?.valueIcon && \"$\"}\n {!value || value === \"LOOT\" || value === \"USDT\"\n ? prize?.value?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n : prize?.value?.toLocaleString(\"en-us\")}{\" \"}\n \n
\n
\n
\n
\n );\n};\n\nexport default LootSpinnerCard;\n","import React from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\n\nconst LootSpinnerCardLoading = () => {\n return (\n
\n
\n \n
\n
\n );\n};\n\nexport default LootSpinnerCardLoading;\n","import React from \"react\";\nimport { Modal } from \"react-bootstrap\";\n\nconst RedemptionModal = ({ showModal, toggleModal, handleContinue, lootboxPrize }) => {\n const value = [\"ARCADE\", \"TICKETS\", \"LOOT\", \"USDT\"][lootboxPrize?.amountType - 1];\n\n return (\n \n
\n
LOOT BOX REDEMPTION
\n \n
\n
\n
\n
YOU WON!
\n {lootboxPrize?.fulfillment === 2 &&
YOUR PRIZE IS PROCESSING
}\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n {lootboxPrize?.valueIcon && (\n
\n \n
\n )}\n
\n
\n {!lootboxPrize?.valueIcon && \"$\"}\n {!value || value === \"LOOT\" || value === \"USDT\"\n ? lootboxPrize?.value?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n : lootboxPrize?.value?.toLocaleString(\"en-us\")}{\" \"}\n {value}\n
\n
\n
\n
\n
\n
\n {lootboxPrize?.fulfillment === 2 && (\n
\n

\n Most prizes will be fulfilled automatically but some prizes require documents to complete fulfillment\n process.\n

\n
\n )}\n
\n
\n \n
\n \n );\n};\n\nexport default RedemptionModal;\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\n\nimport { contestEntry, getUser, loadProfile } from \"store/user\";\nimport { withRouter } from \"utils/withRouter\";\nconst provablyImage = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/provablyFairImg.png\";\n\nconst ProvablyFairModal = ({ 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-100\"\n {...options1}\n asNavFor={nav2}\n key=\"provably-fair-slider\"\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=\"provably-fair-slider-1\"\n >\n
\n

Provably Fair

\n

\n The outcome of each game round is calculated in a deterministic way given a random value as input.\n This ensures that outcomes can be verified and are not biased against a user.\n

\n\n {\n e.preventDefault();\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)(ProvablyFairModal));\n","import Header from \"common/header\";\nimport Loader from \"common/loader\";\nimport DiscordChatModal from \"common/sections/discordChat\";\nimport DetailsModalCard from \"contests/components/common/detailsModalCard\";\nimport { useEffect, useRef, useState } from \"react\";\n// Images\nimport AlertError from \"common/alert/alertError\";\nimport OnboardingModal from \"common/modals/onboarding/onboarding\";\nimport HowItWorks from \"contests/components/modals/howItWorks\";\n\nimport Skeleton from \"react-loading-skeleton\";\nimport { connect } from \"react-redux\";\nimport Slider from \"react-slick\";\nimport { toast } from \"react-toastify\";\nimport { getLootbox, loadLootbox, spinLootbox } from \"store/lootbox\";\nimport { getUser, loadProfile, toggleDiscordModalRedux, updateLootBonusCoins } from \"store/user\";\nimport { withRouter } from \"utils/withRouter\";\nimport LootPrizeCard from \"./components/common/lootPrizeCard\";\nimport LootPrizeCardLoading from \"./components/common/lootPrizeCardLoading\";\nimport LootSpinnerCard from \"./components/common/lootSpinnerCard\";\nimport LootSpinnerCardLoading from \"./components/common/lootSpinnerCardLoading\";\nimport RedemptionModal from \"./components/modals/redemptionModal\";\nimport { isEmpty } from \"lodash\";\nimport LoaderImg from \"common/loaderImag\";\nimport mixpanel from \"mixpanel-browser\";\nimport ProvablyFairModal from \"./components/modals/provablyFairModal\";\nimport { Swiper, SwiperSlide } from \"swiper/react\";\nimport SwiperCore, { Autoplay } from \"swiper\";\nimport SEO from \"common/seo\";\n\n//Images\nconst controllerIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/esports-icon.svg\";\nconst cardIcon1 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-icon-1.svg\";\nconst cardIcon2 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/provablyfair.png\";\nconst lootImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-icon-logo.svg\";\nconst centerPointerImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ls-center-pointer-img.svg\";\nconst page2Icon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/new-page-icon-01.svg\";\nconst infoIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/sq-info-icon.svg\";\n\n/**\n * * when user clicks on spin handleSpin is called which calls spin api to get the prize.\n * * after receiving prize, getSpinCount is called with the prize index.\n * * getSpinCount sets spinCount, which is used for calculating speed.\n * * spinCount>0 audio.play() is called.\n * * once audio fires playing event, slider.slickPlay() is called and isSpinning set to true,\n * * autoplay = isSpinning, is considered when window resizes\n */\n\nconst audio = new Audio(\"/audio/spin.mp3\");\nSwiperCore.use([Autoplay]);\n\nconst OpenLootbox = ({\n getUser,\n getLootbox,\n loadLootbox,\n toggleDiscordModalRedux,\n spinLootbox,\n updateLootBonusCoins,\n router,\n loadProfile,\n}) => {\n // const ref = useRef(null);\n\n const round = useRef(0);\n const [loading, setLoading] = useState(true);\n const [sliderRef, setSliderRef] = useState(null);\n const [loadingSpin, setLoadingSpin] = useState(false);\n const [loadingTestSpin, setLoadingTestSpin] = useState(false);\n const [isSpinning, setIsSpinning] = useState(false);\n const [testSpin, setTestSpin] = useState(false);\n const [showRedemption, setShowRedemption] = useState(false);\n const { spinPrize, spinLootboxLoading, lootbox } = getLootbox;\n const [showHowItWorks, setShowHowItWorks] = useState(false);\n const [showProvablyFair, setProvablyFairModal] = useState(false);\n const [disableSpin, setDisableSpin] = useState(false);\n\n const [spinCount, setSpinCount] = useState(0);\n const [prevIndex, setPrevIndex] = useState(0);\n const toggleHowItWorks = (e) => {\n if (e) e.preventDefault();\n if (!showHowItWorks) {\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"Lootbox_howitworks\");\n }\n }\n setShowHowItWorks(!showHowItWorks);\n };\n const toggleProvablyFairModal = (e) => {\n if (e) e.preventDefault();\n if (!showProvablyFair && process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"Lootbox_rules\");\n }\n setProvablyFairModal(!showProvablyFair);\n };\n useEffect(() => {\n if (window.innerWidth > 1280.98) {\n toggleDiscordModalRedux(true);\n }\n if (router?.params?.slug) {\n loadLootbox(router?.params?.slug, (res) => {\n if (res.status === 200) setLoading(false);\n });\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"LootboxPage_viewed\");\n }\n }\n }, []);\n // loading bar update\n // useEffect(() => {\n // if (!loading) ref.current?.complete();\n // else ref?.current?.continuousStart();\n // }, [loading]);\n // once audio starts playing, slider is played\n useEffect(() => {\n const eventListener = (event) => {\n setTimeout(() => {\n setIsSpinning(true);\n round.current = 0;\n sliderRef?.autoplay?.start();\n }, 100);\n };\n audio?.addEventListener(\"playing\", eventListener);\n\n return () => audio?.removeEventListener(\"playing\", eventListener);\n }, [sliderRef]);\n\n useEffect(() => {\n if (spinCount > 0) {\n audio?.pause();\n audio.currentTime = 0;\n audio?.play();\n }\n }, [spinCount]);\n\n const onRealIndexChange = (slider) => {\n round.current = round.current + 1;\n if (round.current === spinCount) {\n round.current = 0;\n setSpinCount(0);\n sliderRef?.autoplay?.stop();\n\n if (isSpinning) setIsSpinning(false);\n\n if (testSpin) {\n setTestSpin(false);\n setDisableSpin(false);\n } else {\n loadProfile();\n setTimeout(() => {\n setShowRedemption(true);\n setDisableSpin(false);\n }, 500);\n }\n }\n };\n const [showSignupModal, setShowSignupModal] = useState(false);\n const toggleSignup = () => {\n setShowSignupModal(!showSignupModal);\n };\n const isLoggedIn = localStorage.getItem(\"x-auth-token\");\n const getSpinCount = (index) => {\n //get a spin count close to 30, so that the spinner speed is close to 100ms\n\n const l = lootbox?.lootBoxPrizes?.length;\n const x = parseInt((30 - index) / l);\n const minCount = x * l + index;\n const maxCount = (x + 1) * l + index;\n if (Math.abs(30 - maxCount) <= Math.abs(30 - minCount)) setSpinCount(maxCount);\n else setSpinCount(minCount);\n };\n useEffect(() => {\n if (sliderRef && spinCount > 0 && sliderRef?.params?.speed !== parseInt(3000 / spinCount))\n sliderRef.params.speed = parseInt(3000 / spinCount);\n }, [sliderRef, spinCount]);\n useEffect(() => {\n sliderRef?.update();\n }, [sliderRef, getUser.showDiscordModal]);\n const handleSpin = (e, type) => {\n if (loading || isSpinning || loadingSpin || loadingTestSpin || disableSpin) return;\n if (!isLoggedIn) {\n toggleSignup(e);\n return;\n }\n setDisableSpin(true);\n if (type === 1) setLoadingSpin(true);\n else setLoadingTestSpin(true);\n spinLootbox(lootbox?._id, { spinType: type }, (res) => {\n if (res.status === 200) {\n if (type === 1) {\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"Lootbox Spin\", {\n Lootbucks:\n lootbox?.pricePerSpin?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0,\n \"Prize Title Won\": res?.data?.data?.title,\n \"Prize Value\": res?.data?.data?.value,\n \"Loot Box Title\": lootbox?.title,\n });\n }\n updateLootBonusCoins(-parseFloat(lootbox?.pricePerSpin));\n } else {\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"Test Spin\");\n }\n }\n const index = lootbox?.lootBoxPrizes?.findIndex((prize) => prize?._id === res.data?.data?.lootBoxPrize);\n const d = index + (prevIndex === 0 ? 0 : lootbox?.lootBoxPrizes?.length - prevIndex);\n getSpinCount(d);\n setPrevIndex(index);\n } else {\n setDisableSpin(false);\n toast();\n }\n if (type === 1) setLoadingSpin(false);\n else setLoadingTestSpin(false);\n });\n };\n return (\n <>\n \n \n
\n
\n
\n
\n {/* */}\n
\n
\n
\n
\n
\n
\n
\n
\n \"new\n
\n
\n {loading ? : lootbox?.title}\n
\n
\n
\n {!loading ? (\n
\n \n
\n ) : (\n \n )}\n
\n
    \n
  • \n {loading ? (\n \n ) : (\n
    \n
    \n $ {lootbox?.totalValue?.toLocaleString(\"en-us\")} Prizes\n
    \n
    \n \n \"Loot\n \n {lootbox?.pricePerSpin?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0}\n {\" \"}\n per spin\n \n
    \n
    \n )}\n
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n {\n setSliderRef(slider);\n }}\n onRealIndexChange={onRealIndexChange}\n autoplay={{\n delay: 0,\n disableOnInteraction: false,\n enabled: false,\n }}\n slidesPerView={\"auto\"}\n allowTouchMove={false}\n loop={true}\n centeredSlides={true}\n loopedSlides={2}\n spaceBetween={20}\n speed={spinCount > 0 ? parseInt(3000 / spinCount) : 100}\n className=\"loot-spin-list loot-spin-slider\"\n >\n {loading\n ? [...Array(12)]?.map((_, index) => (\n \n \n \n ))\n : lootbox?.lootBoxPrizes?.map((prize, index) => (\n \n \n \n ))}\n \n\n
\n \"center\n
\n
\n\n
\n
\n {loading ? (\n \n ) : (\n
\n PRICE PER SPIN\n \n \"Loot\n \n {lootbox?.pricePerSpin?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0}\n \n \n
\n )}\n
\n \n {loading ||\n (isLoggedIn &&\n (isNaN(getUser?.profile?.userProfile?.lootBonusCoins) || isEmpty(lootbox))) ? (\n \n ) : !isLoggedIn ||\n getUser?.profile?.userProfile?.lootBonusCoins >= lootbox?.pricePerSpin ? (\n {\n handleSpin(e, 1);\n }}\n disabled={loading || isSpinning || loadingSpin || disableSpin}\n className={\n \"common-btn-gradient gradient-pumpkin-btn d-flex align-items-center justify-content-center w-100 h-100\" +\n (loading || isSpinning || loadingSpin || disableSpin ? \" disabled\" : \"\") +\n (loadingSpin ? \" loading\" : \"\")\n }\n >\n {loadingSpin ? (\n \n ) : (\n <>\n SPIN\n \n \"Loot\n \n {lootbox?.pricePerSpin?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0}\n \n \n \n )}\n \n ) : (\n
\n
\n
\n \"\"\n
\n
\n

LOOT BALANCE LOW

\n

YOU NEED MORE LOOT BUCKS TO ENTER

\n
\n
\n
\n )}\n
\n
\n {loading ? (\n 991.98 ? \"100px\" : \"100%\"}\n containerClassName=\"d-block w-100 lh-1\"\n />\n ) : (\n {\n handleSpin(e, 2);\n setTestSpin(true);\n }}\n >\n {loadingTestSpin ? : \"TEST SPIN\"}\n \n )}\n
\n
\n {loading ? (\n \n ) : (\n \n HOW IT WORKS?\n \n \"Loot\n \n \n )}\n
\n
\n
\n
\n\n
\n
\n
\n
\n \"esports\n
\n
PRIZES
\n
\n
\n
\n
\n {!loading\n ? lootbox?.lootBoxPrizes?.map((prize, index) => (\n \n ))\n : [...Array(12)]?.map((_, index) => )}\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 setShowRedemption(false)}\n handleContinue={() => {\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.track(\"Lootbox_Redeem_Continue \", {\n Lootbucks:\n lootbox?.pricePerSpin?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0,\n \"Prize Title Won\": spinPrize?.title,\n \"Prize Value\": spinPrize?.value,\n \"Loot Box Title\": lootbox?.title,\n });\n }\n setShowRedemption(false);\n }}\n lootboxPrize={spinPrize}\n />\n \n );\n};\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n getLootbox: getLootbox(state),\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadProfile: (callback) => dispatch(loadProfile(callback)),\n loadLootbox: (id, callback) => dispatch(loadLootbox(id, callback)),\n spinLootbox: (id, data, callback) => dispatch(spinLootbox(id, data, callback)),\n updateLootBonusCoins: (data) => dispatch(updateLootBonusCoins(data)),\n toggleDiscordModalRedux: (data) => dispatch(toggleDiscordModalRedux(data)),\n});\n\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(OpenLootbox));\n"],"sourceRoot":""}