@everymatrix/casino-engagement-suite-container 1.70.1 → 1.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/casino-engagement-suite-container/casino-engagement-suite-bar_17.entry.js +1 -1
  2. package/dist/casino-engagement-suite-container/casino-engagement-suite-container.esm.js +1 -1
  3. package/dist/cjs/casino-engagement-suite-bar_17.cjs.entry.js +89 -61
  4. package/dist/cjs/casino-engagement-suite-container.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/collection/components/casino-engagement-suite-container/casino-engagement-suite-container.js +20 -11
  7. package/dist/esm/casino-engagement-suite-bar_17.entry.js +89 -61
  8. package/dist/esm/casino-engagement-suite-container.js +1 -1
  9. package/dist/esm/loader.js +1 -1
  10. package/dist/types/components/casino-engagement-suite-container/casino-engagement-suite-container.d.ts +1 -0
  11. package/dist/types/models/casino-engagement-suite-config.d.ts +2 -0
  12. package/package.json +1 -1
  13. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  14. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/packages/stencil/casino-engagement-suite-container/stencil.config.d.ts +0 -0
  15. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/packages/stencil/casino-engagement-suite-container/stencil.config.dev.d.ts +0 -0
  16. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/packages/stencil/casino-engagement-suite-container/storybook/main.d.ts +0 -0
  17. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/packages/stencil/casino-engagement-suite-container/storybook/preview.d.ts +0 -0
  18. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/tools/plugins/index.d.ts +0 -0
  19. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  20. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  21. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/casino-engagement-suite-container/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["casino-engagement-suite-bar_17.cjs",[[1,"casino-engagement-suite-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"endpoint":[1],"session":[1],"orientation":[32],"device":[32],"showChallengesList":[32],"showFreeSpinsList":[32],"showLuckywheelList":[32],"showLuckywheelDetails":[32],"showJackpotsList":[32],"showLuckyWheelsList":[32],"showLuckyWheelsDetails":[32],"showChallengeDetails":[32],"showFreeSpinsDetails":[32],"showJackpotDetails":[32],"showLeaderboardWidget":[32],"challengePercent":[32],"remainingFreeSpins":[32],"remainingLuckywheels":[32],"highlightChallenge":[32],"limitStylingAppends":[32],"activeWidget":[32],"challenges":[32],"inProgressChallenges":[32],"jackpots":[32],"freeSpins":[32],"luckyWheels":[32],"leaderboards":[32],"gameSlug":[32],"pausedChallengeIds":[32],"isChallengeLabel":[32],"isForfeitedSpinsLabel":[32],"isForfeitedChallengeLabel":[32],"isJoiningToChallenge":[32],"selectedChallenge":[32],"selectedJackpot":[32],"selectedSpin":[32],"selectedSpinId":[32],"selectedChallengeId":[32],"selectedJackpotId":[32],"selectedLuckyWheelId":[32],"selectedLuckyWheelIndex":[32],"barHeight":[32],"init":[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"luckyWheels":[16],"luckywheel":[16],"giftimagesrc":[1],"currentinfo":[1],"contentdirection":[1],"device":[1],"translationUrl":[1,"translation-url"],"selectedIndex":[2,"selected-index"],"timers":[32],"isLoading":[32]},null,{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"challenges":[1040],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"inProgressChallenges":[1040],"pausedChallengeIds":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"challengesHistory":[32],"openedHistoryIds":[32]},[[8,"message","handleEvent"]],{"challenges":["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"rewardText":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"orientation":[1],"leaderboardsInit":[16],"tipsHideDelay":[514,"tips-hide-delay"],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"newIdList":[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[4,"click","handleClickOutside"]],{"newIdList":["checkNewIdList"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"remainingLuckywheels":[1,"remaining-luckywheels"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32],"leaderboardState":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"spin":[1040],"inProgressChallenges":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"orientation":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32],"activeTab":[32],"visibleGames":[32],"tooltip":[32]}],[1,"casino-engagement-suite-free-spins-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"freeSpins":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"newSpinIds":[32]},null,{"freeSpins":["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"tooltip":[32],"partialWins":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"jackpots":[1040],"jackpotChangeStatusRequest":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32]},null,{"jackpots":["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckyWheels":[1040],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheel":[16],"size":[1],"contentdirection":[1],"limitStylingAppends":[32],"isPartitionsCustomableReady":[32],"isSpinning":[32],"options":[32],"radius":[32],"speed":[32],"settings":[32],"svg":[32],"spinContainer":[32],"spinable":[32],"spinner":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}],[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentPage":[2,"current-page"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]],["tournament-item.cjs",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"locale":[32]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton.cjs",[[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["ui-image.cjs",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}]]],["tournament-item-title_2.cjs",[[0,"tournament-timer",{"tournament":[16],"isDetail":[4,"is-detail"],"timeHolder":[32],"timeClock":[32],"lastTimeDiff":[32],"lastProgress":[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{"tournament":[16],"locale":[32],"isButtonDisabed":[32]},null,{"tournament":["onTournamentChanged"]}]]]], options);
11
+ return index.bootstrapLazy([["casino-engagement-suite-bar_17.cjs",[[1,"casino-engagement-suite-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"endpoint":[1],"session":[1],"orientation":[32],"device":[32],"showChallengesList":[32],"showFreeSpinsList":[32],"showLuckywheelList":[32],"showLuckywheelDetails":[32],"showJackpotsList":[32],"showLuckyWheelsList":[32],"showLuckyWheelsDetails":[32],"showChallengeDetails":[32],"showFreeSpinsDetails":[32],"showJackpotDetails":[32],"showLeaderboardWidget":[32],"challengePercent":[32],"remainingFreeSpins":[32],"remainingLuckywheels":[32],"highlightChallenge":[32],"limitStylingAppends":[32],"activeWidget":[32],"challenges":[32],"inProgressChallenges":[32],"jackpots":[32],"freeSpins":[32],"luckyWheels":[32],"leaderboards":[32],"gameSlug":[32],"pausedChallengeIds":[32],"isChallengeLabel":[32],"isForfeitedSpinsLabel":[32],"isForfeitedChallengeLabel":[32],"isJoiningToChallenge":[32],"selectedChallenge":[32],"selectedJackpot":[32],"selectedSpin":[32],"selectedSpinId":[32],"selectedChallengeId":[32],"selectedJackpotId":[32],"selectedLuckyWheelId":[32],"selectedLuckyWheelIndex":[32],"barHeight":[32],"lastTicketRemainingTimestamp":[32],"init":[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"luckyWheels":[16],"luckywheel":[16],"giftimagesrc":[1],"currentinfo":[1],"contentdirection":[1],"device":[1],"translationUrl":[1,"translation-url"],"selectedIndex":[2,"selected-index"],"timers":[32],"isLoading":[32]},null,{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"challenges":[1040],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"inProgressChallenges":[1040],"pausedChallengeIds":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"challengesHistory":[32],"openedHistoryIds":[32]},[[8,"message","handleEvent"]],{"challenges":["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"rewardText":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"orientation":[1],"leaderboardsInit":[16],"tipsHideDelay":[514,"tips-hide-delay"],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"newIdList":[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[4,"click","handleClickOutside"]],{"newIdList":["checkNewIdList"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"remainingLuckywheels":[1,"remaining-luckywheels"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32],"leaderboardState":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"spin":[1040],"inProgressChallenges":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"orientation":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32],"activeTab":[32],"visibleGames":[32],"tooltip":[32]}],[1,"casino-engagement-suite-free-spins-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"freeSpins":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"newSpinIds":[32]},null,{"freeSpins":["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"tooltip":[32],"partialWins":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"jackpots":[1040],"jackpotChangeStatusRequest":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32]},null,{"jackpots":["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckyWheels":[1040],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheel":[16],"size":[1],"contentdirection":[1],"limitStylingAppends":[32],"isPartitionsCustomableReady":[32],"isSpinning":[32],"options":[32],"radius":[32],"speed":[32],"settings":[32],"svg":[32],"spinContainer":[32],"spinable":[32],"spinner":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}],[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentPage":[2,"current-page"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]],["tournament-item.cjs",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"locale":[32]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton.cjs",[[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["ui-image.cjs",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}]]],["tournament-item-title_2.cjs",[[0,"tournament-timer",{"tournament":[16],"isDetail":[4,"is-detail"],"timeHolder":[32],"timeClock":[32],"lastTimeDiff":[32],"lastProgress":[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{"tournament":[16],"locale":[32],"isButtonDisabed":[32]},null,{"tournament":["onTournamentChanged"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -20,14 +20,21 @@ export class CasinoEngagementSuiteContainer {
20
20
  this.updateLWRemainingTikets = ({ Message }) => {
21
21
  try {
22
22
  const data = JSON.parse(Message);
23
- if (data === null || data === void 0 ? void 0 : data.items) {
24
- data.items
25
- .filter((item) => item.programType === 'wheelOfFortune')
26
- .forEach((item) => {
27
- const luckyWheel = this.luckyWheels.find((x) => x.Program.Id.toString() === item.programId);
28
- (luckyWheel === null || luckyWheel === void 0 ? void 0 : luckyWheel.Current) && (luckyWheel.Current.RemainingTimes = item.remainingTimes);
29
- });
30
- this.setRemainingLuckyWheels();
23
+ const currentTimestamp = Number(data.timestamp);
24
+ if (currentTimestamp > this.lastTicketRemainingTimestamp) {
25
+ this.lastTicketRemainingTimestamp = currentTimestamp;
26
+ if (data === null || data === void 0 ? void 0 : data.items) {
27
+ data.items
28
+ .filter((item) => item.programType === 'wheelOfFortune')
29
+ .forEach((item) => {
30
+ const luckyWheel = this.luckyWheels.find((x) => x.Program.Id.toString() === item.programId);
31
+ (luckyWheel === null || luckyWheel === void 0 ? void 0 : luckyWheel.Current) && (luckyWheel.Current.RemainingTimes = item.remainingTimes);
32
+ });
33
+ this.setRemainingLuckyWheels();
34
+ }
35
+ }
36
+ else {
37
+ console.warn('Stale event ignored:', data);
31
38
  }
32
39
  }
33
40
  catch (error) {
@@ -190,6 +197,7 @@ export class CasinoEngagementSuiteContainer {
190
197
  this.selectedLuckyWheelId = undefined;
191
198
  this.selectedLuckyWheelIndex = undefined;
192
199
  this.barHeight = 0;
200
+ this.lastTicketRemainingTimestamp = 0;
193
201
  }
194
202
  handleEvent(e) {
195
203
  var _a;
@@ -557,7 +565,7 @@ export class CasinoEngagementSuiteContainer {
557
565
  }
558
566
  updateChallengeProgress(data) {
559
567
  var _a;
560
- const challenge = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((challenge) => challenge.ChallengeId === data.ChallengeId);
568
+ const challenge = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((challenge) => challenge.Id === data.ProgressId);
561
569
  if (challenge) {
562
570
  if (data.Status === ChallengeProgressStatus.Completed) {
563
571
  challenge.Status = data.Status;
@@ -685,7 +693,7 @@ export class CasinoEngagementSuiteContainer {
685
693
  return (((_d = (_c = (_b = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((el) => el.Id === challengeId)) === null || _b === void 0 ? void 0 : _b.LevelProgresses) === null || _c === void 0 ? void 0 : _c.find((el) => el.LevelId === levelId)) === null || _d === void 0 ? void 0 : _d.CustomRewardMessage) || '');
686
694
  }
687
695
  render() {
688
- return (h("div", { key: 'd0ec5ab71a234e4cd6413f0ab3b4ddba6f1bef66', class: `CasinoEngagementSuiteContainer ${this.device} ${this.orientation}`, style: { ['--barHeight']: `${this.barHeight}px` } }, h("div", { key: 'd4f52e740ad28ad300c46732072be50e45b5e24b', class: "barWrapper", ref: (el) => (this.barWrapperEl = el) }, h("casino-engagement-suite-bar", { key: '0c92fd0770b143f56aa5506adf38a473581f78a4', clientStylingUrl: this.clientStylingUrl, orientation: this.orientation, device: this.device, "active-widget": this.activeWidget, "is-challenge-label": this.isChallengeLabel, "is-spin-forfeited-label": this.isForfeitedSpinsLabel, leaderboards: this.leaderboards, jackpots: this.jackpots, remainingFreeSpins: this.remainingFreeSpins, remainingLuckywheels: this.remainingLuckywheels, highlightChallenge: this.highlightChallenge, "challenge-percent": this.challengePercent, "is-forfeited-challenge-label": this.isForfeitedChallengeLabel })), this.challenges && this.getChallengesWidgets(), this.freeSpins && this.getFreeSpinWidgets(), !!this.jackpots.length && this.getJackpotsWidgets(), this.leaderboards && this.getLeaderboardsWidgets(), this.luckyWheels && this.getLuckyWheelsWidgets(), h("casino-engagement-suite-modal-container", { key: '75102a6bde3ed65ccaa75f148d78338de02142de', clientStylingUrl: this.clientStylingUrl, device: this.device, isJoiningToChallenge: this.isJoiningToChallenge })));
696
+ return (h("div", { key: '292d15188023b6588dac9e665afbf5e30d94a576', class: `CasinoEngagementSuiteContainer ${this.device} ${this.orientation}`, style: { ['--barHeight']: `${this.barHeight}px` } }, h("div", { key: '7290002d8f090d50c7b58012323bc7264f22fa44', class: "barWrapper", ref: (el) => (this.barWrapperEl = el) }, h("casino-engagement-suite-bar", { key: 'd3652e60f36f0abc5d9520f2224221551f5b27c0', clientStylingUrl: this.clientStylingUrl, orientation: this.orientation, device: this.device, "active-widget": this.activeWidget, "is-challenge-label": this.isChallengeLabel, "is-spin-forfeited-label": this.isForfeitedSpinsLabel, leaderboards: this.leaderboards, jackpots: this.jackpots, remainingFreeSpins: this.remainingFreeSpins, remainingLuckywheels: this.remainingLuckywheels, highlightChallenge: this.highlightChallenge, "challenge-percent": this.challengePercent, "is-forfeited-challenge-label": this.isForfeitedChallengeLabel })), this.challenges && this.getChallengesWidgets(), this.freeSpins && this.getFreeSpinWidgets(), !!this.jackpots.length && this.getJackpotsWidgets(), this.leaderboards && this.getLeaderboardsWidgets(), this.luckyWheels && this.getLuckyWheelsWidgets(), h("casino-engagement-suite-modal-container", { key: 'e92321641160f7896262b8a9c82dd4baaa2be755', clientStylingUrl: this.clientStylingUrl, device: this.device, isJoiningToChallenge: this.isJoiningToChallenge })));
689
697
  }
690
698
  static get is() { return "casino-engagement-suite-container"; }
691
699
  static get encapsulation() { return "shadow"; }
@@ -832,7 +840,8 @@ export class CasinoEngagementSuiteContainer {
832
840
  "selectedJackpotId": {},
833
841
  "selectedLuckyWheelId": {},
834
842
  "selectedLuckyWheelIndex": {},
835
- "barHeight": {}
843
+ "barHeight": {},
844
+ "lastTicketRemainingTimestamp": {}
836
845
  };
837
846
  }
838
847
  static get events() {
@@ -3160,14 +3160,21 @@ const CasinoEngagementSuiteContainer = class {
3160
3160
  this.updateLWRemainingTikets = ({ Message }) => {
3161
3161
  try {
3162
3162
  const data = JSON.parse(Message);
3163
- if (data === null || data === void 0 ? void 0 : data.items) {
3164
- data.items
3165
- .filter((item) => item.programType === 'wheelOfFortune')
3166
- .forEach((item) => {
3167
- const luckyWheel = this.luckyWheels.find((x) => x.Program.Id.toString() === item.programId);
3168
- (luckyWheel === null || luckyWheel === void 0 ? void 0 : luckyWheel.Current) && (luckyWheel.Current.RemainingTimes = item.remainingTimes);
3169
- });
3170
- this.setRemainingLuckyWheels();
3163
+ const currentTimestamp = Number(data.timestamp);
3164
+ if (currentTimestamp > this.lastTicketRemainingTimestamp) {
3165
+ this.lastTicketRemainingTimestamp = currentTimestamp;
3166
+ if (data === null || data === void 0 ? void 0 : data.items) {
3167
+ data.items
3168
+ .filter((item) => item.programType === 'wheelOfFortune')
3169
+ .forEach((item) => {
3170
+ const luckyWheel = this.luckyWheels.find((x) => x.Program.Id.toString() === item.programId);
3171
+ (luckyWheel === null || luckyWheel === void 0 ? void 0 : luckyWheel.Current) && (luckyWheel.Current.RemainingTimes = item.remainingTimes);
3172
+ });
3173
+ this.setRemainingLuckyWheels();
3174
+ }
3175
+ }
3176
+ else {
3177
+ console.warn('Stale event ignored:', data);
3171
3178
  }
3172
3179
  }
3173
3180
  catch (error) {
@@ -3330,6 +3337,7 @@ const CasinoEngagementSuiteContainer = class {
3330
3337
  this.selectedLuckyWheelId = undefined;
3331
3338
  this.selectedLuckyWheelIndex = undefined;
3332
3339
  this.barHeight = 0;
3340
+ this.lastTicketRemainingTimestamp = 0;
3333
3341
  }
3334
3342
  handleEvent(e) {
3335
3343
  var _a;
@@ -3697,7 +3705,7 @@ const CasinoEngagementSuiteContainer = class {
3697
3705
  }
3698
3706
  updateChallengeProgress(data) {
3699
3707
  var _a;
3700
- const challenge = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((challenge) => challenge.ChallengeId === data.ChallengeId);
3708
+ const challenge = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((challenge) => challenge.Id === data.ProgressId);
3701
3709
  if (challenge) {
3702
3710
  if (data.Status === ChallengeProgressStatus.Completed) {
3703
3711
  challenge.Status = data.Status;
@@ -3825,7 +3833,7 @@ const CasinoEngagementSuiteContainer = class {
3825
3833
  return (((_d = (_c = (_b = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((el) => el.Id === challengeId)) === null || _b === void 0 ? void 0 : _b.LevelProgresses) === null || _c === void 0 ? void 0 : _c.find((el) => el.LevelId === levelId)) === null || _d === void 0 ? void 0 : _d.CustomRewardMessage) || '');
3826
3834
  }
3827
3835
  render() {
3828
- return (h("div", { key: 'd0ec5ab71a234e4cd6413f0ab3b4ddba6f1bef66', class: `CasinoEngagementSuiteContainer ${this.device} ${this.orientation}`, style: { ['--barHeight']: `${this.barHeight}px` } }, h("div", { key: 'd4f52e740ad28ad300c46732072be50e45b5e24b', class: "barWrapper", ref: (el) => (this.barWrapperEl = el) }, h("casino-engagement-suite-bar", { key: '0c92fd0770b143f56aa5506adf38a473581f78a4', clientStylingUrl: this.clientStylingUrl, orientation: this.orientation, device: this.device, "active-widget": this.activeWidget, "is-challenge-label": this.isChallengeLabel, "is-spin-forfeited-label": this.isForfeitedSpinsLabel, leaderboards: this.leaderboards, jackpots: this.jackpots, remainingFreeSpins: this.remainingFreeSpins, remainingLuckywheels: this.remainingLuckywheels, highlightChallenge: this.highlightChallenge, "challenge-percent": this.challengePercent, "is-forfeited-challenge-label": this.isForfeitedChallengeLabel })), this.challenges && this.getChallengesWidgets(), this.freeSpins && this.getFreeSpinWidgets(), !!this.jackpots.length && this.getJackpotsWidgets(), this.leaderboards && this.getLeaderboardsWidgets(), this.luckyWheels && this.getLuckyWheelsWidgets(), h("casino-engagement-suite-modal-container", { key: '75102a6bde3ed65ccaa75f148d78338de02142de', clientStylingUrl: this.clientStylingUrl, device: this.device, isJoiningToChallenge: this.isJoiningToChallenge })));
3836
+ return (h("div", { key: '292d15188023b6588dac9e665afbf5e30d94a576', class: `CasinoEngagementSuiteContainer ${this.device} ${this.orientation}`, style: { ['--barHeight']: `${this.barHeight}px` } }, h("div", { key: '7290002d8f090d50c7b58012323bc7264f22fa44', class: "barWrapper", ref: (el) => (this.barWrapperEl = el) }, h("casino-engagement-suite-bar", { key: 'd3652e60f36f0abc5d9520f2224221551f5b27c0', clientStylingUrl: this.clientStylingUrl, orientation: this.orientation, device: this.device, "active-widget": this.activeWidget, "is-challenge-label": this.isChallengeLabel, "is-spin-forfeited-label": this.isForfeitedSpinsLabel, leaderboards: this.leaderboards, jackpots: this.jackpots, remainingFreeSpins: this.remainingFreeSpins, remainingLuckywheels: this.remainingLuckywheels, highlightChallenge: this.highlightChallenge, "challenge-percent": this.challengePercent, "is-forfeited-challenge-label": this.isForfeitedChallengeLabel })), this.challenges && this.getChallengesWidgets(), this.freeSpins && this.getFreeSpinWidgets(), !!this.jackpots.length && this.getJackpotsWidgets(), this.leaderboards && this.getLeaderboardsWidgets(), this.luckyWheels && this.getLuckyWheelsWidgets(), h("casino-engagement-suite-modal-container", { key: 'e92321641160f7896262b8a9c82dd4baaa2be755', clientStylingUrl: this.clientStylingUrl, device: this.device, isJoiningToChallenge: this.isJoiningToChallenge })));
3829
3837
  }
3830
3838
  get host() { return getElement(this); }
3831
3839
  };
@@ -4746,6 +4754,24 @@ const CasinoEngagementSuiteJackpotsList = class {
4746
4754
  };
4747
4755
  CasinoEngagementSuiteJackpotsList.style = CasinoEngagementSuiteJackpotsListStyle0;
4748
4756
 
4757
+ var CurrentInfo$1;
4758
+ (function (CurrentInfo) {
4759
+ CurrentInfo["ActiveTickets"] = "ActiveTickets";
4760
+ CurrentInfo["ImplicitTickets"] = "ImplicitTickets";
4761
+ CurrentInfo["RemainingTimes"] = "RemainingTimes";
4762
+ })(CurrentInfo$1 || (CurrentInfo$1 = {}));
4763
+ var ContentDirection$2;
4764
+ (function (ContentDirection) {
4765
+ ContentDirection[ContentDirection["clockwise"] = 1] = "clockwise";
4766
+ ContentDirection[ContentDirection["anticlockwise"] = -1] = "anticlockwise";
4767
+ ContentDirection[ContentDirection["outward"] = 0] = "outward";
4768
+ })(ContentDirection$2 || (ContentDirection$2 = {}));
4769
+ var ELuckyWheelResultState;
4770
+ (function (ELuckyWheelResultState) {
4771
+ ELuckyWheelResultState["fulfilled"] = "fulfilled";
4772
+ ELuckyWheelResultState["drawn"] = "drawn";
4773
+ })(ELuckyWheelResultState || (ELuckyWheelResultState = {}));
4774
+
4749
4775
  var PointerMode;
4750
4776
  (function (PointerMode) {
4751
4777
  PointerMode["Arrow"] = "Arrow";
@@ -5348,22 +5374,25 @@ const CasinoEngagementSuiteLuckywheel = class {
5348
5374
  this.spinner = undefined;
5349
5375
  }
5350
5376
  handleEvent(e) {
5351
- const { type, success, data } = e === null || e === void 0 ? void 0 : e.data;
5377
+ const { type, data } = e === null || e === void 0 ? void 0 : e.data;
5352
5378
  switch (type) {
5353
5379
  case 'SpinLuckyWheelRes':
5354
5380
  if (this.isSpinning) {
5381
+ const success = data.State === ELuckyWheelResultState.fulfilled;
5382
+ const index = +data.Result.WheelOfFortunePartitionIndex || 0;
5355
5383
  if (!success) {
5356
- this.handleSpinError();
5384
+ this.handleSpinError(index);
5357
5385
  }
5358
5386
  else {
5359
- this.handleSpinResult(data);
5387
+ this.handleSpinResult(data, index);
5360
5388
  }
5361
5389
  }
5362
5390
  break;
5363
5391
  }
5364
5392
  }
5365
- handleSpinError() {
5366
- this.spinner.halt(0, () => {
5393
+ handleSpinError(index) {
5394
+ const partitionDegree = this.settings.getDeg(index);
5395
+ this.spinner.halt(partitionDegree, () => {
5367
5396
  this.isSpinning = false;
5368
5397
  this.updateSpinable();
5369
5398
  window.postMessage({
@@ -5374,9 +5403,8 @@ const CasinoEngagementSuiteLuckywheel = class {
5374
5403
  });
5375
5404
  });
5376
5405
  }
5377
- handleSpinResult(data) {
5406
+ handleSpinResult(data, index) {
5378
5407
  if (this.luckywheel.Program.Id === data.LotteryProgramID) {
5379
- const index = +data.Result.WheelOfFortunePartitionIndex;
5380
5408
  const partitionDegree = this.settings.getDeg(index);
5381
5409
  this.spinner.halt(partitionDegree, () => {
5382
5410
  this.isSpinning = false;
@@ -5443,13 +5471,13 @@ const CasinoEngagementSuiteLuckywheel = class {
5443
5471
  }
5444
5472
  render() {
5445
5473
  const foreignObjectAgentProps = { height: `${this.size}px`, width: `${this.size}px` };
5446
- return (h("div", { key: 'b6136edfd7add14e24354d5d429e6b120c752703', class: `WheelContainer ${this.device}`, style: this.defineGeneralVariables() }, h("svg", { key: '8ced6524641989578eac427e49b96b32b05afb7e', width: this.size, height: this.size, ref: (el) => {
5474
+ return (h("div", { key: '8f07f4b736611f24d8fdab3c648b682dd03010c8', class: `WheelContainer ${this.device}`, style: this.defineGeneralVariables() }, h("svg", { key: '5a904e1a93aee08657391d09fa40dbfc83504892', width: this.size, height: this.size, ref: (el) => {
5447
5475
  this.svg = el;
5448
- } }, h("foreignObject", { key: '1bf19a0e9114a3f28a4fa991fea492621d608e63', ref: this.setSvgSize.bind(this), class: "Bottom Customable" }, h("div", { key: '4ed19149d56ededcf304264e817e2ca11f27cdd3', style: foreignObjectAgentProps })), h("g", Object.assign({ key: 'e29b5fd47073124eda6b69464d5e80c776f5c3fa', class: "PartitionsContainer" }, this.settings.getSpinnerProps()), h("g", { key: 'bff210be57b131b4716873beb9be0b30e0eab3bc', class: "PartitionsBackgrounds" }, this.options.map((_el, index) => {
5476
+ } }, h("foreignObject", { key: '2f579e8195244078a65e4db7a6255af4e4fe517e', ref: this.setSvgSize.bind(this), class: "Bottom Customable" }, h("div", { key: 'd6ee2eae87c4b80ab9335a459fe597037d5321d1', style: foreignObjectAgentProps })), h("g", Object.assign({ key: '661e946d154c399facffc6963bbb10544ef1b55e', class: "PartitionsContainer" }, this.settings.getSpinnerProps()), h("g", { key: '591e8de5dd55dbd016669f7d144664b9c921d4df', class: "PartitionsBackgrounds" }, this.options.map((_el, index) => {
5449
5477
  return (h("foreignObject", { ref: this.setSvgSize.bind(this), "clip-path": `url(#clip${index})`, class: "PartitionBackground Customable", style: Object.assign({ '--index': index.toString() }, foreignObjectAgentProps) }, h("div", { style: foreignObjectAgentProps })));
5450
- })), h("g", { key: '72ca2e0ab6daea08bd7cfd5494aef1e6730bc090', class: "PartitionsBackgroundStrokes" }, this.options.map((_el, index) => {
5478
+ })), h("g", { key: 'ac2a4973a712841b81c4ff0609f5f3f5c8b17bf0', class: "PartitionsBackgroundStrokes" }, this.options.map((_el, index) => {
5451
5479
  return (h("path", Object.assign({ class: "PartitionBackgroundStroke" }, this.settings.getPartitionDraw(index), { width: this.size, height: this.size })));
5452
- })), h("g", { key: '93ee593c8cdc9cd90caedc79ef98243ff5658ed7', class: "Partitions", style: { filter: this.speed > 0.3 ? `blur(${this.speed}px)` : '' } }, this.options.map((el, index) => {
5480
+ })), h("g", { key: 'afb0c09ec8e53ed97289c5bf186417c2078c4014', class: "Partitions", style: { filter: this.speed > 0.3 ? `blur(${this.speed}px)` : '' } }, this.options.map((el, index) => {
5453
5481
  return [
5454
5482
  el.Image && (h("g", { class: `PartitionImage PartitionImage${index}`, ref: (el) => this.renderImage(el, index) })),
5455
5483
  el.Name && (h("foreignObject", Object.assign({ class: "PartitionText", ref: (el) => {
@@ -5460,18 +5488,18 @@ const CasinoEngagementSuiteLuckywheel = class {
5460
5488
  }
5461
5489
  } }, this.settings.getSvgTextPropsAdjustedByImage(index)), h("div", { class: "PartitionTextEntityContainer" }, h("p", { class: `PartitionTextEntity${this.settings.contentdirection === 'clockwise' ? '' : ' Anticlockwise'}`, innerHTML: el.Name }))))
5462
5490
  ];
5463
- }))), h("g", { key: '7e3de34870e47efe6b734724a018efbd77ead91e', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable1: true } }, this.options.map((_el, index) => {
5491
+ }))), h("g", { key: '318d1aaaa95e1bf6ccaeab566b15b0384a78871c', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable1: true } }, this.options.map((_el, index) => {
5464
5492
  return (h("foreignObject", { ref: this.setSvgSize.bind(this), class: "Partition1 Customable", style: { '--index': index.toString() } }, h("div", { style: foreignObjectAgentProps })));
5465
- })), h("g", { key: 'c824d9aa998a3b130bf82f754fac96706a5a6cd4', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable2: true } }, this.options.map((_el, index) => {
5493
+ })), h("g", { key: 'fcce9008d0bb2b6adb0429039a7c2f6b9b865b92', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable2: true } }, this.options.map((_el, index) => {
5466
5494
  return (h("foreignObject", { ref: this.setSvgSize.bind(this), class: "Partition2 Customable", style: { '--index': index.toString() } }, h("div", { style: foreignObjectAgentProps })));
5467
- })), h("foreignObject", { key: 'bb40a660810bf97d1efe221c9cd07c8375662360', ref: this.setSvgSize.bind(this), class: "Middle Customable", style: foreignObjectAgentProps }, h("div", { key: '54e4c470a9c6cf07dae7461202d4a40444e94a2a', style: foreignObjectAgentProps })), h("foreignObject", { key: '53a6d7853ad783030d275b4de8d070588f3021fd', ref: this.setSvgSize.bind(this), class: "Top Customable", style: foreignObjectAgentProps }, h("div", { key: '5521d2e5e5d06d5386c5d546e5e726d7ca1b3b02', style: foreignObjectAgentProps })), h("g", { key: '51fe3d7e0dc2f2b27d49d1d69a4fd05347d3d0da', class: { spinning: this.isSpinning, Center: true } }, h("foreignObject", { key: '20f5bbb9f2259f30b606013068747e8f76afe69c', ref: (el) => {
5495
+ })), h("foreignObject", { key: 'ae85245cfd7f223ebc271ea3d1ca0021b35815c8', ref: this.setSvgSize.bind(this), class: "Middle Customable", style: foreignObjectAgentProps }, h("div", { key: '08547a5324d4d4236f40efe0f70fb922418402ea', style: foreignObjectAgentProps })), h("foreignObject", { key: '8289900237296697f5b92e9400beda29a2ff14e7', ref: this.setSvgSize.bind(this), class: "Top Customable", style: foreignObjectAgentProps }, h("div", { key: 'a00da737a2ee5b7739538d9bed50b98b641e10eb', style: foreignObjectAgentProps })), h("g", { key: '30d8a96cac39340601e3aa82c864b7e394b57095', class: { spinning: this.isSpinning, Center: true } }, h("foreignObject", { key: '79de765f22964219e6ecf472220649e7b8836a78', ref: (el) => {
5468
5496
  if (el) {
5469
5497
  el.setAttribute('width', '100');
5470
5498
  el.setAttribute('height', '100');
5471
5499
  }
5472
5500
  }, style: {
5473
5501
  transform: `translate(${Number(this.size) / 2 - 100 / 2}px, ${Number(this.size) / 2 - 100 / 2}px)`
5474
- } }, h("div", { key: 'ee3bc5e723aa9be084dd7f93fe0a1ec3a27c8ed1', style: { width: '100px', height: '100px', cursor: 'pointer' }, onClick: this.eventSpin }))), h("g", { key: 'c679b904e588c20484e353ba855172ca4077f057' }, this.options.map((_el, index) => {
5502
+ } }, h("div", { key: 'de71247c015aefb6295318c78c37b17174fd1ac0', style: { width: '100px', height: '100px', cursor: 'pointer' }, onClick: this.eventSpin }))), h("g", { key: '3b81cbd53658e73f94729e950c445a93a68bf754' }, this.options.map((_el, index) => {
5475
5503
  return (h("clipPath", { id: `clip${index}` }, h("path", Object.assign({}, this.settings.getPartitionDraw(index)))));
5476
5504
  })))));
5477
5505
  }
@@ -5592,8 +5620,9 @@ const CasinoEngagementSuiteLuckywheelDetails = class {
5592
5620
  updateTimers() {
5593
5621
  const now = new Date().getTime();
5594
5622
  this.timers = this.luckyWheels.reduce((acc, luckywheel) => {
5595
- var _a;
5596
- const expirationDate = new Date((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.EndTime).getTime();
5623
+ var _a, _b;
5624
+ const endTime = ((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.ExpiryTime) || ((_b = luckywheel.Program) === null || _b === void 0 ? void 0 : _b.Time);
5625
+ const expirationDate = new Date(endTime).getTime();
5597
5626
  const diff = expirationDate - now;
5598
5627
  let countdown = '00h:00m:00s';
5599
5628
  if (diff < 1) {
@@ -5606,15 +5635,13 @@ const CasinoEngagementSuiteLuckywheelDetails = class {
5606
5635
  minutes: String(Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60))).padStart(2, '0'),
5607
5636
  seconds: String(Math.floor((diff % (1000 * 60)) / 1000)).padStart(2, '0')
5608
5637
  };
5609
- countdown = days === '00'
5610
- ? `${hours}h:${minutes}m:${seconds}s`
5611
- : `${days}d:${hours}h:${minutes}m`;
5638
+ countdown = days === '00' ? `${hours}h:${minutes}m:${seconds}s` : `${days}d:${hours}h:${minutes}m`;
5612
5639
  }
5613
5640
  return Object.assign(Object.assign({}, acc), { [luckywheel.Program.Id]: countdown });
5614
5641
  }, {});
5615
5642
  }
5616
5643
  removeLuckyWheel(id) {
5617
- const index = this.luckyWheels.findIndex(luckywheel => luckywheel.Program.Id === id);
5644
+ const index = this.luckyWheels.findIndex((luckywheel) => luckywheel.Program.Id === id);
5618
5645
  if (index > -1) {
5619
5646
  this.luckyWheels.splice(index, 1);
5620
5647
  window.postMessage({ type: 'LuckyWheelHasExpired', id });
@@ -5665,17 +5692,18 @@ const CasinoEngagementSuiteLuckywheelDetails = class {
5665
5692
  }
5666
5693
  }`;
5667
5694
  if (this.luckyWheels) {
5668
- return h("div", { class: "LuckyWheelsList" }, h("general-slider", { "slide-number": "1", "slide-show": "1", "show-arrow": "true", "show-button": "true", "auto-item-height": "true", "current-page": this.selectedIndex, "client-styling": this.clientStyling + sliderStyling, "client-styling-url": this.clientStylingUrl }, this.luckyWheels && this.luckyWheels.map((luckywheel) => {
5669
- return h("li", { class: "LuckyWheelsListItem" }, this.getLuckyWheelHeaderTemplate(luckywheel), h("casino-engagement-suite-luckywheel", { device: this.device, luckywheel: luckywheel, size: this.device === "Desktop" ? '440' : '340' }));
5670
- })));
5695
+ return (h("div", { class: "LuckyWheelsList" }, h("general-slider", { "slide-number": "1", "slide-show": "1", "show-arrow": "true", "show-button": "true", "auto-item-height": "true", "current-page": this.selectedIndex, "client-styling": this.clientStyling + sliderStyling, "client-styling-url": this.clientStylingUrl }, this.luckyWheels &&
5696
+ this.luckyWheels.map((luckywheel) => {
5697
+ return (h("li", { class: "LuckyWheelsListItem" }, this.getLuckyWheelHeaderTemplate(luckywheel), h("casino-engagement-suite-luckywheel", { device: this.device, luckywheel: luckywheel, size: this.device === 'Desktop' ? '440' : '340' })));
5698
+ }))));
5671
5699
  }
5672
5700
  else {
5673
- return h("div", { class: "LuckyWheelsListEmpty" }, h("h2", null, translate$2('noluckywheels', this.language)), h("p", null, translate$2('tryOtherGames', this.language)));
5701
+ return (h("div", { class: "LuckyWheelsListEmpty" }, h("h2", null, translate$2('noluckywheels', this.language)), h("p", null, translate$2('tryOtherGames', this.language))));
5674
5702
  }
5675
5703
  }
5676
5704
  render() {
5677
5705
  if (this.isLoading) {
5678
- return h("div", { class: `LuckyWheelsDetailsPopup ${this.device}` }, h("general-animation-loading", null));
5706
+ return (h("div", { class: `LuckyWheelsDetailsPopup ${this.device}` }, h("general-animation-loading", null)));
5679
5707
  }
5680
5708
  else {
5681
5709
  return (h("div", { class: `LuckyWheelsDetailsPopup ${this.device}` }, this.getActionsTemplate(), this.getLuckyWheelListTemplate()));
@@ -5698,7 +5726,7 @@ const TRANSLATIONS$1 = {
5698
5726
  new: 'new',
5699
5727
  noluckywheels: 'No Unlocked LuckyWheel',
5700
5728
  tryOtherGames: 'Try winning LuckyWheel as rewards or launching other booster games',
5701
- tooltip: 'LuckyWheels where your real money bets contribute towards the level progress to achieve the level reward',
5729
+ tooltip: 'Get a chance to win rewards by spinning the wheel!',
5702
5730
  history: 'History',
5703
5731
  rewards: 'Rewards',
5704
5732
  issued: 'Issued',
@@ -5729,7 +5757,8 @@ const getTranslations = (url) => {
5729
5757
  }
5730
5758
  });
5731
5759
  resolve(TRANSLATIONS$1);
5732
- }).catch(err => {
5760
+ })
5761
+ .catch((err) => {
5733
5762
  reject(err);
5734
5763
  });
5735
5764
  });
@@ -5797,7 +5826,9 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5797
5826
  .then((res) => res.text())
5798
5827
  .then((data) => {
5799
5828
  cssFile.innerHTML = data;
5800
- setTimeout(() => { this.host.prepend(cssFile); }, 1);
5829
+ setTimeout(() => {
5830
+ this.host.prepend(cssFile);
5831
+ }, 1);
5801
5832
  })
5802
5833
  .catch((err) => {
5803
5834
  console.log('Error ', err);
@@ -5819,14 +5850,14 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5819
5850
  this.tooltip = false;
5820
5851
  };
5821
5852
  this.handleTabChange = (e) => {
5822
- this.activeTab = +(e.target.getAttribute('data-index'));
5853
+ this.activeTab = +e.target.getAttribute('data-index');
5823
5854
  if (this.activeTab === 2) {
5824
5855
  this.sendHistoryRequest();
5825
5856
  }
5826
5857
  };
5827
5858
  this.toggleLuckyWheelHistory = (ev) => {
5828
5859
  const id = ev.currentTarget.getAttribute('data-id');
5829
- const index = this.openedHistoryIds.findIndex(historyId => historyId === id);
5860
+ const index = this.openedHistoryIds.findIndex((historyId) => historyId === id);
5830
5861
  if (index > -1) {
5831
5862
  this.openedHistoryIds = this.openedHistoryIds.filter((historyId) => historyId !== id);
5832
5863
  }
@@ -5903,8 +5934,9 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5903
5934
  updateTimers() {
5904
5935
  const now = new Date().getTime();
5905
5936
  this.timers = this.luckyWheels.reduce((acc, luckywheel) => {
5906
- var _a;
5907
- const expirationDate = new Date((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.EndTime).getTime();
5937
+ var _a, _b;
5938
+ const endTime = ((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.ExpiryTime) || ((_b = luckywheel.Program) === null || _b === void 0 ? void 0 : _b.Time);
5939
+ const expirationDate = new Date(endTime).getTime();
5908
5940
  const diff = expirationDate - now;
5909
5941
  let countdown = '00h:00m:00s';
5910
5942
  if (diff < 1) {
@@ -5917,9 +5949,7 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5917
5949
  minutes: String(Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60))).padStart(2, '0'),
5918
5950
  seconds: String(Math.floor((diff % (1000 * 60)) / 1000)).padStart(2, '0')
5919
5951
  };
5920
- countdown = days === '00'
5921
- ? `${hours}h:${minutes}m:${seconds}s`
5922
- : `${days}d:${hours}h:${minutes}m`;
5952
+ countdown = days === '00' ? `${hours}h:${minutes}m:${seconds}s` : `${days}d:${hours}h:${minutes}m`;
5923
5953
  }
5924
5954
  return Object.assign(Object.assign({}, acc), { [luckywheel.Program.Id]: countdown });
5925
5955
  }, {});
@@ -5934,7 +5964,7 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5934
5964
  window.postMessage({
5935
5965
  type: 'LuckywheelHistoryRequest',
5936
5966
  data: {
5937
- lotteryProgramID: luckyWheel.Program.Id,
5967
+ lotteryProgramID: luckyWheel.Program.Id
5938
5968
  }
5939
5969
  });
5940
5970
  });
@@ -5951,49 +5981,47 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5951
5981
  }
5952
5982
  getLuckyWheelHeaderTemplate(luckywheel) {
5953
5983
  var _a, _b;
5954
- return (h("div", { class: "LuckyWheelsCardHeader" }, h("div", { class: `LuckyWheelsName` }, this.getLuckyWheelName(luckywheel)), (h("div", { class: "LuckyWheelsCounter" }, h("div", { class: `${((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.RemainingTimes) ? 'LuckyWheelsHighlightedCounter' : 'LuckyWheelsEmptyCounter'}` }, (_b = luckywheel.Current) === null || _b === void 0 ? void 0 : _b.RemainingTimes)))));
5984
+ return (h("div", { class: "LuckyWheelsCardHeader" }, h("div", { class: `LuckyWheelsName` }, this.getLuckyWheelName(luckywheel)), h("div", { class: "LuckyWheelsCounter" }, h("div", { class: `${((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.RemainingTimes) ? 'LuckyWheelsHighlightedCounter' : 'LuckyWheelsEmptyCounter'}` }, (_b = luckywheel.Current) === null || _b === void 0 ? void 0 : _b.RemainingTimes))));
5955
5985
  }
5956
5986
  getLuckyWheelTemplate(luckywheel, index) {
5957
5987
  const countdown = this.timers[luckywheel.Program.Id];
5958
5988
  return (h("div", { class: this.getLuckyWheelClasses(luckywheel), onClick: this.handleLuckyWheelClick, key: luckywheel.Program.Id, "data-id": luckywheel.Program.Id, "data-index": index }, this.getLuckyWheelHeaderTemplate(luckywheel), h("div", { class: "LuckyWheelsCountdownWrapper" }, h("span", { class: "LuckyWheelsCountdown" }, countdown))));
5959
5989
  }
5960
5990
  getHeaderTemplate() {
5961
- return h("header", { class: "LuckyWheelsListPopupHeader" }, h("button", { onClick: this.showTooltip, class: "EngagementSuiteIconButton Help" }), h("div", { class: "LuckyWheelsListPopupHeaderName" }, translate$1('luckyWheel', this.language)), h("button", { class: "EngagementSuiteIconButton Close", onClick: this.handleCloseClick }));
5991
+ return (h("header", { class: "LuckyWheelsListPopupHeader" }, h("button", { onClick: this.showTooltip, class: "EngagementSuiteIconButton Help" }), h("div", { class: "LuckyWheelsListPopupHeaderName" }, translate$1('luckyWheel', this.language)), h("button", { class: "EngagementSuiteIconButton Close", onClick: this.handleCloseClick })));
5962
5992
  }
5963
5993
  getListTemplate() {
5964
5994
  if (this.isLoading) {
5965
5995
  return h("general-animation-loading", null);
5966
5996
  }
5967
5997
  if (this.luckyWheels.length) {
5968
- return h("div", { class: "LuckyWheelsListWrapper" }, h("div", { class: "LuckyWheelsList" }, this.luckyWheels.map((luckywheel, index) => this.getLuckyWheelTemplate(luckywheel, index))));
5998
+ return (h("div", { class: "LuckyWheelsListWrapper" }, h("div", { class: "LuckyWheelsList" }, this.luckyWheels.map((luckywheel, index) => this.getLuckyWheelTemplate(luckywheel, index)))));
5969
5999
  }
5970
6000
  else {
5971
- return h("div", { class: "LuckyWheelsListEmpty" }, h("h2", null, translate$1('noluckywheels', this.language)), h("p", null, translate$1('tryOtherGames', this.language)));
6001
+ return (h("div", { class: "LuckyWheelsListEmpty" }, h("h2", null, translate$1('noluckywheels', this.language)), h("p", null, translate$1('tryOtherGames', this.language))));
5972
6002
  }
5973
6003
  }
5974
6004
  getTooltipTemplate() {
5975
6005
  if (this.tooltip) {
5976
- return h("div", { class: "EngagementSuiteTooltipBackdrop" }, h("div", { class: "EngagementSuiteTooltip" }, h("button", { class: "EngagementSuiteIconButton Close", onClick: this.hideTooltip }), translate$1('tooltip', this.language)));
6006
+ return (h("div", { class: "EngagementSuiteTooltipBackdrop" }, h("div", { class: "EngagementSuiteTooltip" }, h("button", { class: "EngagementSuiteIconButton Close", onClick: this.hideTooltip }), translate$1('tooltip', this.language))));
5977
6007
  }
5978
6008
  else {
5979
6009
  return '';
5980
6010
  }
5981
6011
  }
5982
6012
  getTabsTemplate() {
5983
- return h("div", { class: "EngagementSuiteTabsWrapper" }, h("div", { class: "EngagementSuiteTabs" }, h("div", { "data-index": "1", onClick: this.handleTabChange, class: `EngagementSuiteTab ${this.activeTab === 1 ? 'Active' : ''}` }, translate$1('luckywheels', this.language)), h("div", { "data-index": "2", onClick: this.handleTabChange, class: `EngagementSuiteTab ${this.activeTab === 2 ? 'Active' : ''}` }, translate$1('history', this.language))));
6013
+ return (h("div", { class: "EngagementSuiteTabsWrapper" }, h("div", { class: "EngagementSuiteTabs" }, h("div", { "data-index": "1", onClick: this.handleTabChange, class: `EngagementSuiteTab ${this.activeTab === 1 ? 'Active' : ''}` }, translate$1('luckywheels', this.language)), h("div", { "data-index": "2", onClick: this.handleTabChange, class: `EngagementSuiteTab ${this.activeTab === 2 ? 'Active' : ''}` }, translate$1('history', this.language)))));
5984
6014
  }
5985
6015
  getHistoryTabTemplate() {
5986
- return h("div", { class: "HistoryWrapper" }, h("div", { class: "HistoryCols" }, h("div", { class: "HistoryColName Rewards" }, translate$1('rewards', this.language)), h("div", { class: "HistoryColName Issued" }, translate$1('issued', this.language)), h("div", { class: "HistoryColName Time" }, translate$1('time', this.language))), this.historyLoading
6016
+ return (h("div", { class: "HistoryWrapper" }, h("div", { class: "HistoryCols" }, h("div", { class: "HistoryColName Rewards" }, translate$1('rewards', this.language)), h("div", { class: "HistoryColName Issued" }, translate$1('issued', this.language)), h("div", { class: "HistoryColName Time" }, translate$1('time', this.language))), this.historyLoading
5987
6017
  ? getHistoryLoaderTemplate(this.language)
5988
- : getLuckyWheelsHistoryTemplate(this.luckyWheels, this.luckywheelHistory, this.openedHistoryIds, this.toggleLuckyWheelHistory, this.language));
6018
+ : getLuckyWheelsHistoryTemplate(this.luckyWheels, this.luckywheelHistory, this.openedHistoryIds, this.toggleLuckyWheelHistory, this.language)));
5989
6019
  }
5990
6020
  getTabsContentTemplate() {
5991
- return this.activeTab === 1
5992
- ? this.getListTemplate()
5993
- : this.getHistoryTabTemplate();
6021
+ return this.activeTab === 1 ? this.getListTemplate() : this.getHistoryTabTemplate();
5994
6022
  }
5995
6023
  render() {
5996
- return h("div", { key: '1cf093e57c0baf84d3ab42d9ec95624a0373629c', class: `LuckyWheelsListPopup ${this.device}` }, this.getHeaderTemplate(), this.getTabsTemplate(), this.getTabsContentTemplate(), this.getTooltipTemplate());
6024
+ return (h("div", { key: '0286500986b71786315f4b0d4860e6bf0069fa0e', class: `LuckyWheelsListPopup ${this.device}` }, this.getHeaderTemplate(), this.getTabsTemplate(), this.getTabsContentTemplate(), this.getTooltipTemplate()));
5997
6025
  }
5998
6026
  get host() { return getElement(this); }
5999
6027
  static get watchers() { return {
@@ -6188,9 +6216,9 @@ const CasinoEngagementSuiteModalContainer = class {
6188
6216
  }
6189
6217
  render() {
6190
6218
  const { ProgressToActivate } = this.confirmationData || {};
6191
- return (h("div", { key: 'b08af5892111b026ea04657bdc9ee8e03349985f', class: `ModalContainer ${this.device}` }, h("casino-engagement-suite-modal", { key: '8f3b2f0f739f479311ee70eba23ba300bed9b3b4', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('REWARD_MODAL'), header: "Congratulations!", contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", modalType: "REWARD_MODAL", "show-animation": true, device: this.device }, h("div", { key: '620b3a805aeb6afd1224720ffa46adaeb4ac3313', slot: "body" }, h("div", { key: '6897a7914a5b4cdb9c7ff5f4407e38668958a429' }, !this.rewardText && translate('won', this.language), ' ', h("span", { key: 'e5b4f13e7d59bcb74de13769c4539251df62b831', class: "ModalReward" }, this.rewardText || this.rewardMessage)), this.hasError && h("div", { key: 'c2bc2b252899961f28cb81fbb048073a707105fb', class: "SupportInfo" }, translate('supportInfo', this.language))), h("div", { key: 'aa68c9f30956f3170dd432768ad19c95cfda5ea9', slot: "footer" }, h("button", { key: '2a0a48a952ccbcd584ca1ace9955d77e37433bab', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "REWARD_MODAL" }, translate('continue', this.language)))), h("casino-engagement-suite-modal", { key: '14931f23c32b3aa54ad682e0619fd6025714d611', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('JACKPOT_REWARD_MODAL'), header: "Congratulations!", contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", "show-animation": true, modalType: "JACKPOT_REWARD_MODAL", device: this.device }, h("div", { key: 'ed850c670505d0b0c2bd0a27ddab15999e38342a', slot: "body" }, h("div", { key: 'cca2417825d0365b3f2c026a3e4cbc51851f393d', class: "JackpotWinText" }, translate('jackpotWin', this.language)), h("div", { key: '854c6622f097ac5b37ad4bceeb50a415af826f11', class: "JackpotWinAmount" }, formatBalance(this.winAmount.amount, this.winAmount.currency))), h("div", { key: 'd0824ddf47b73fef4dc85a8208d4b4afaf396536', slot: "footer" }, h("button", { key: '14c79e18756e2a83eaa865441ad065758533ddf0', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "JACKPOT_REWARD_MODAL" }, translate('continue', this.language)), h("div", { key: 'a7da795c5bd9596b7b7b3fd5c4b3024e764df69a', class: "JackpotWinInfoText" }, translate('jackpotWinInfo', this.language)))), h("casino-engagement-suite-modal", { key: 'eaff45fdc5b8a7eb280f88705d23e618f43c8723', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('TARGET_MODAL'), header: ProgressToActivate ? translate('joinHeader', this.language) : translate('unJoinHeader', this.language), modalType: "TARGET_MODAL", device: this.device, isLoading: this.isJoiningToChallenge }, h("div", { key: 'b6b976ab9ad9a1e620dcb4663b90284c239159f4', slot: "body" }, h("div", { key: '8bb1357f8509e26ecc6265b3b6bea7b8791ec307', class: "LeftAlign" }, translate('desc', this.language)), h("div", { key: '72cf7f14881769ab9b01728e1560cf4368ad5447', class: "LeftAlignQuestion" }, ProgressToActivate
6219
+ return (h("div", { key: 'b08af5892111b026ea04657bdc9ee8e03349985f', class: `ModalContainer ${this.device}` }, h("casino-engagement-suite-modal", { key: '9953de03ad78829ad5d65cb8852e642305b13d0e', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('NO_SPIN_LEFT_MODAL'), header: translate('noSpinsLeft', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", modalType: "NO_SPIN_LEFT_MODAL", "show-animation": false, device: this.device }, h("div", { key: '5aa3316279b1c37dbd0da632760bd5805466c01a', slot: "body" }, h("div", { key: '36fe42db0db670404a6000627be93870e9c53c48' }, translate('seeYouLater', this.language))), h("div", { key: '231b191530fb4ebd95c5336d0eafcdd016613668', slot: "footer" }, h("button", { key: '67c19d85ab5f077e994ef0dbdb0340e9f7bd5750', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "NO_SPIN_LEFT_MODAL" }, "OK"))), h("casino-engagement-suite-modal", { key: '2a0a7d3a6f9db52a69a16b9ec4205c69888a9b6c', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('REWARD_MODAL'), header: "Congratulations!", contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", modalType: "REWARD_MODAL", "show-animation": true, device: this.device }, h("div", { key: '72595feb9db49b6c8da3d020e360cc47d679e409', slot: "body" }, h("div", { key: '16f4dc567c5e40c98fce717ef5c85f464f0981b8' }, !this.rewardText && translate('won', this.language), ' ', h("span", { key: '93d8e41c6627e54d692a9ac15fd0f52bcc43347e', class: "ModalReward" }, this.rewardText || this.rewardMessage)), this.hasError && h("div", { key: '9e928a49d3eaa98bcaa5e0d61cd7cbb8a580a72f', class: "SupportInfo" }, translate('supportInfo', this.language))), h("div", { key: '9223fa90fb14b1c624075c3c551e9f55c57aefe8', slot: "footer" }, h("button", { key: '735b15eb73bb7639b2d032695afa1ae32496d0ad', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "REWARD_MODAL" }, translate('continue', this.language)))), h("casino-engagement-suite-modal", { key: '75880d633553cf140178d118d3042b2e53009208', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('JACKPOT_REWARD_MODAL'), header: "Congratulations!", contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", "show-animation": true, modalType: "JACKPOT_REWARD_MODAL", device: this.device }, h("div", { key: 'f45b7391ba8468ab5fb8eddb8a4ae397f0167f08', slot: "body" }, h("div", { key: 'eff87f697817535bc47b525ec78c94847ae784a4', class: "JackpotWinText" }, translate('jackpotWin', this.language)), h("div", { key: '7881fcfd86ab455dce0db707b8abce4ddf538b1c', class: "JackpotWinAmount" }, formatBalance(this.winAmount.amount, this.winAmount.currency))), h("div", { key: '3f18ece9080c42d9b1067c9a7f3cac920528c007', slot: "footer" }, h("button", { key: '6db3230a9b84f3a651bb3d583f49184e5c37930c', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "JACKPOT_REWARD_MODAL" }, translate('continue', this.language)), h("div", { key: '616a3882e6b2f116c6db87122f0755fb2f3083df', class: "JackpotWinInfoText" }, translate('jackpotWinInfo', this.language)))), h("casino-engagement-suite-modal", { key: '6724f36b7b94c53a41a86f3d9082c393dc2e81ee', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('TARGET_MODAL'), header: ProgressToActivate ? translate('joinHeader', this.language) : translate('unJoinHeader', this.language), modalType: "TARGET_MODAL", device: this.device, isLoading: this.isJoiningToChallenge }, h("div", { key: 'd2c94938925c9b1f625bb7de63734f6a673c5fdc', slot: "body" }, h("div", { key: '2e7961f72e5933f0eb5030cb15a4b9fb84d5083e', class: "LeftAlign" }, translate('desc', this.language)), h("div", { key: 'd1f5f57433c0ae881207b3c12ab9cfaf6ee039c1', class: "LeftAlignQuestion" }, ProgressToActivate
6192
6220
  ? translate('joinQuestion', this.language)
6193
- : translate('unJoinQuestion', this.language))), h("div", { key: 'aabc5024f5ba5f3b130f592c6982538e76a63842', slot: "footer", class: "ManyActions" }, h("button", { key: 'c51bc6f661ed61557a459d9774f98a27cc3b1ae7', class: `ModalFooterButton ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleChallengeAttendance }, ProgressToActivate ? translate('joinConfirm', this.language) : translate('unJoinConfirm', this.language)), h("button", { key: '75230bf99e98607427bdd932fd4f52a399b0354d', class: `ModalFooterButtonOutlined ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleCloseClick, "data-type": "TARGET_MODAL" }, h("div", { key: '756c14df8fbbd4c53a814967e43293301c2f81ec', class: "GradientText" }, ProgressToActivate ? translate('joinReject', this.language) : translate('unJoinReject', this.language))))), h("casino-engagement-suite-modal", { key: '496ba508f75434543423cc085514a23914947afe', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('SUPPORT_MODAL'), header: translate('noReward', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/alert.svg", modalType: "SUPPORT_MODAL", device: this.device }, h("div", { key: '672c8cd14776e063a2a60f1b15e5aebcd3b7e15d', slot: "body" }, h("span", { key: '91cfc35783c2ccd1e5f1bd36aabb1597c8fd8418' }, translate('contactSupport', this.language))), h("div", { key: 'f7fdf4c75a43047c2748e07f77aeaf9ad457e64c', slot: "footer" }, h("button", { key: '89b73a043587b6f5af54732bc6f3620e3b15fb66', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "SUPPORT_MODAL" }, translate('okContinue', this.language)))), h("casino-engagement-suite-modal", { key: '62e009b6c229659c6c93d39963f3e0ee4f00667d', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('NO_SPIN_LEFT_MODAL'), header: translate('noSpinsLeft', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", modalType: "NO_SPIN_LEFT_MODAL", "show-animation": false, device: this.device }, h("div", { key: 'f1877b36eb4ee45c80fcc522291b5679c06e898d', slot: "body" }, h("div", { key: '74dc8497679ef79340506e30775ff8568df1d0a9' }, translate('seeYouLater', this.language))), h("div", { key: '17b3af15772508b4387f6f9459c8cf63c6149b54', slot: "footer" }, h("button", { key: '879442528f93fed31f601e662ac1c1b49fcb7488', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "NO_SPIN_LEFT_MODAL" }, "OK")))));
6221
+ : translate('unJoinQuestion', this.language))), h("div", { key: '9329740f040d1791872d15f383b80af451245b14', slot: "footer", class: "ManyActions" }, h("button", { key: '148094403592aff321a4ee70790b2520b00893b8', class: `ModalFooterButton ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleChallengeAttendance }, ProgressToActivate ? translate('joinConfirm', this.language) : translate('unJoinConfirm', this.language)), h("button", { key: '49ae0fa581a6d8eee882146813c9f35f29fb60b0', class: `ModalFooterButtonOutlined ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleCloseClick, "data-type": "TARGET_MODAL" }, h("div", { key: 'c0058debcba5b01824b021b6ece23a922f3f582f', class: "GradientText" }, ProgressToActivate ? translate('joinReject', this.language) : translate('unJoinReject', this.language))))), h("casino-engagement-suite-modal", { key: 'cfa3aefbc587d1a15dcb831bf1bdd1d98769e18a', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('SUPPORT_MODAL'), header: translate('noReward', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/alert.svg", modalType: "SUPPORT_MODAL", device: this.device }, h("div", { key: 'aae1baed5a68cd7532b25d6ef163679c0b93fc10', slot: "body" }, h("span", { key: 'e031d7ddc4388e1d22776524dc4341d30d9a8a57' }, translate('contactSupport', this.language))), h("div", { key: '4ad01c4e2bd2aa913369b63700b1220a271bea63', slot: "footer" }, h("button", { key: 'bbaecf82f114b317867e9a611b0d4af9a038c0e1', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "SUPPORT_MODAL" }, translate('okContinue', this.language))))));
6194
6222
  }
6195
6223
  get host() { return getElement(this); }
6196
6224
  };