@everymatrix/casino-challenges-overlay 0.22.9 → 0.22.10

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.
@@ -1 +1 @@
1
- import{p as e,b as l}from"./index-b4a452f5.js";export{s as setNonce}from"./index-b4a452f5.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const l=import.meta.url,n={};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await n(),l([["casino-challenge-details-events_23",[[1,"casino-challenges-overlay",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],challenges:[16],extendedIngameWidget:[516,"extended-ingame-widget"],enabledWidgetTabs:[32],progress:[32],isNew:[32],isGift:[32],isNotification:[32],inProgressCount:[32],activeChallenge:[32],completedLevelId:[32],prevUpdateEvent:[32],showModal:[32],modalErrored:[32],modalReward:[32],modalAddition:[32],modalOrderNumber:[32],modalLevelsCount:[32],modalIsFreeSpinsGranted:[32],modalBonusProgramGames:[32],showDrawer:[32],init:[64]},[[1,"touchmove","handleTouchMove"],[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],challenges:["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],handleClose:[16],challenges:[16],initialProgressId:[513,"initial-progress-id"],enabledWidgetTabs:[16],activeChallenge:[32],activeProgressId:[32],activeTabIndex:[32],error:[32],hasError:[32],swipped:[32],detailsSubPageInfo:[32],progress:[32],loading:[32],notification:[32],optOutModaIsOpen:[32],isOptedOut:[32],prevUpdateEvent:[32],challengeGames:[32],activeChallenges:[32],pendingChallenges:[32],promoChallenges:[32],playerHistory:[32],hasMorePlayerHistory:[32],emptyState:[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],isOpen:["handleIsOpenChange"],activeChallenge:["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],reward:[513],addition:[516],handleClick:[16],errored:[516],orderNumber:[514,"order-number"],isFreeSpinsGranted:[516,"is-free-spins-granted"],levelsCount:[514,"levels-count"],bonusProgramGames:[16],currentIndex:[32],isMobile:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],bonusProgramGames:["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],challenge:[16],language:[513],isMobile:[516,"is-mobile"],isUnique:[516,"is-unique"],swipped:[516],progress:[514],activeChallengesTabIndex:[513,"active-challenges-tab-index"],detailsSubPageInfo:[16],isOptedOut:[516,"is-opted-out"],challengeGames:[16],swipping:[32],actionLoading:[32],error:[32],isChallengePaused:[32],timeLeft:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],progress:["onSwipeChange"],challenge:["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{language:[1],isMobile:[4,"is-mobile"],open:[4]}],[1,"casino-challenges-overlay-drawer-history",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],loading:[516],hasMore:[516,"has-more"],historyItems:[16],openItems:[32],pageSize:[32],pageNumber:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],historyItems:["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],challenges:[16],initialProgressId:[1,"initial-progress-id"],activeTabIndex:[1,"active-tab-index"],currentIndex:[32],slideWidth:[32],slideHeight:[32],isOneSlide:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],currentIndex:["onCurrentIndexChange"],challenges:["onChallengesChange"],initialProgressId:["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{empty:[4]}],[1,"casino-challenges-claim-code",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],domain:[513],isMobile:[516,"is-mobile"],loading:[32],hasError:[32],code:[32],notificationMessage:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{header:[1],description:[1],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{fullSize:[4,"full-size"],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{language:[513],isMobile:[516,"is-mobile"],activeTabIndex:[514,"active-tab-index"],activeTabHasNotification:[516,"active-tab-has-notification"],pendingTabHasNotification:[516,"pending-tab-has-notification"],enabledWidgetTabs:[16]}],[4,"swipe-up",{isMobile:[516,"is-mobile"],isOneSlider:[516,"is-one-slider"],progress:[32]},null,{isOneSlider:["onIsOneSliderChange"],progress:["onSwipeChange"]}],[0,"casino-challenge-details-levels",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isChallengePaused:[4,"is-challenge-paused"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-details-events",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],open:[4]}],[0,"casino-challenge-details-games",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],games:[16],handleGameClick:[16]}],[0,"casino-challenge-details-progress-bar",{challenge:[16],language:[1],isMobile:[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-drawer-history-item",{language:[513],index:[514],historyItem:[16],itemRef:[16],isOpen:[4,"is-open"],isMobile:[4,"is-mobile"],toggle:[16]}],[1,"casino-challenges-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[516,"is-open"],showWinAnimation:[516,"show-win-animation"],showBackdrop:[516,"show-backdrop"],showCloseButton:[516,"show-close-button"]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{challenge:[16],index:[2],arrLength:[2,"arr-length"],currentIndex:[2,"current-index"],language:[1],isOptedOut:[4,"is-opted-out"],slideWidth:[2,"slide-width"],slideHeight:[2,"slide-height"],timeLeft:[32]}],[4,"casino-challenge-expandable-paragraph",{maxHeight:[2,"max-height"],active:[4],expanded:[32],needsTruncation:[32]}],[0,"casino-challenge-level-progress-bar",{height:[1],active:[4],value:[2]}]]]],e))));
1
+ import{p as e,b as l}from"./index-b4a452f5.js";export{s as setNonce}from"./index-b4a452f5.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const l=import.meta.url,n={};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await n(),l([["casino-challenge-details-events_23",[[1,"casino-challenges-overlay",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],challenges:[16],extendedIngameWidget:[516,"extended-ingame-widget"],enabledWidgetTabs:[32],progress:[32],isNew:[32],isGift:[32],isNotification:[32],inProgressCount:[32],activeChallenge:[32],completedLevelId:[32],prevUpdateEvent:[32],showModal:[32],modalErrored:[32],modalReward:[32],modalAddition:[32],modalOrderNumber:[32],modalLevelsCount:[32],modalIsFreeSpinsGranted:[32],modalBonusProgramGames:[32],showDrawer:[32],init:[64]},[[1,"touchmove","handleTouchMove"],[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],challenges:["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],handleClose:[16],challenges:[16],initialProgressId:[513,"initial-progress-id"],enabledWidgetTabs:[16],activeChallenge:[32],activeProgressId:[32],activeTabIndex:[32],error:[32],hasError:[32],swipped:[32],detailsSubPageInfo:[32],progress:[32],loading:[32],notification:[32],optOutModaIsOpen:[32],isOptedOut:[32],prevUpdateEvent:[32],challengeGames:[32],activeChallenges:[32],pendingChallenges:[32],promoChallenges:[32],playerHistory:[32],hasMorePlayerHistory:[32],emptyState:[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],isOpen:["handleIsOpenChange"],activeChallenge:["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],reward:[513],addition:[516],handleClick:[16],errored:[516],orderNumber:[514,"order-number"],isFreeSpinsGranted:[516,"is-free-spins-granted"],levelsCount:[514,"levels-count"],bonusProgramGames:[16],currentIndex:[32],isMobile:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],bonusProgramGames:["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],challenge:[16],isMobile:[516,"is-mobile"],isUnique:[516,"is-unique"],swipped:[516],progress:[514],activeChallengesTabIndex:[513,"active-challenges-tab-index"],detailsSubPageInfo:[16],isOptedOut:[516,"is-opted-out"],challengeGames:[16],swipping:[32],actionLoading:[32],error:[32],isChallengePaused:[32],timeLeft:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],progress:["onSwipeChange"],challenge:["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{language:[1],isMobile:[4,"is-mobile"],open:[4]}],[1,"casino-challenges-overlay-drawer-history",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],loading:[516],hasMore:[516,"has-more"],historyItems:[16],openItems:[32],pageSize:[32],pageNumber:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],historyItems:["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],challenges:[16],initialProgressId:[1,"initial-progress-id"],activeTabIndex:[1,"active-tab-index"],currentIndex:[32],slideWidth:[32],slideHeight:[32],isOneSlide:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],currentIndex:["onCurrentIndexChange"],challenges:["onChallengesChange"],initialProgressId:["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{empty:[4]}],[1,"casino-challenges-claim-code",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],domain:[513],isMobile:[516,"is-mobile"],loading:[32],hasError:[32],code:[32],notificationMessage:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{header:[1],description:[1],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{fullSize:[4,"full-size"],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{language:[513],isMobile:[516,"is-mobile"],activeTabIndex:[514,"active-tab-index"],activeTabHasNotification:[516,"active-tab-has-notification"],pendingTabHasNotification:[516,"pending-tab-has-notification"],enabledWidgetTabs:[16]}],[4,"swipe-up",{isMobile:[516,"is-mobile"],isOneSlider:[516,"is-one-slider"],progress:[32]},null,{isOneSlider:["onIsOneSliderChange"],progress:["onSwipeChange"]}],[0,"casino-challenge-details-levels",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isChallengePaused:[4,"is-challenge-paused"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-details-events",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],open:[4]}],[0,"casino-challenge-details-games",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],games:[16],handleGameClick:[16]}],[0,"casino-challenge-details-progress-bar",{challenge:[16],language:[1],isMobile:[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-drawer-history-item",{language:[513],index:[514],historyItem:[16],itemRef:[16],isOpen:[4,"is-open"],isMobile:[4,"is-mobile"],toggle:[16]}],[1,"casino-challenges-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[516,"is-open"],showWinAnimation:[516,"show-win-animation"],showBackdrop:[516,"show-backdrop"],showCloseButton:[516,"show-close-button"]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{challenge:[16],index:[2],arrLength:[2,"arr-length"],currentIndex:[2,"current-index"],language:[1],isOptedOut:[4,"is-opted-out"],slideWidth:[2,"slide-width"],slideHeight:[2,"slide-height"],timeLeft:[32]}],[4,"casino-challenge-expandable-paragraph",{maxHeight:[2,"max-height"],active:[4],expanded:[32],needsTruncation:[32]}],[0,"casino-challenge-level-progress-bar",{height:[1],active:[4],value:[2]}]]]],e))));
@@ -1 +1 @@
1
- export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-721c0311.js";import"./index-b4a452f5.js";
1
+ export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-9406646f.js";import"./index-b4a452f5.js";
@@ -3,23 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-6300a889.js');
6
- const casinoChallengesOverlay = require('./casino-challenges-overlay-5fe2c768.js');
6
+ const casinoChallengesOverlay = require('./casino-challenges-overlay-7ce3e62a.js');
7
7
 
8
8
  const DEFAULT_LANGUAGE$3 = 'en';
9
9
  const TRANSLATIONS$3 = {
10
10
  en: {
11
- title: 'Challenges',
12
- promo: 'Promo',
13
- active: 'Active',
14
- pendingTab: 'Pending',
15
- finishedTab: 'Finished',
16
11
  levels: 'Levels',
17
- level: 'Level',
18
12
  seeAll: 'See All',
19
13
  games: 'Games',
20
14
  rules: 'Rules',
21
15
  events: 'Events',
22
- codeTab: 'Code',
23
16
  endsIn: 'Ends In',
24
17
  expired: 'Expired',
25
18
  placeBetsOf: 'Place bets of',
@@ -35,13 +28,8 @@ const TRANSLATIONS$3 = {
35
28
  optIn: 'Opt In',
36
29
  optOutLeavingText: 'Leaving the challenge will cancel your progress and disqualify from future participation',
37
30
  optOutLeavingActionText: 'Opt out of Challenge',
38
- optOutModalTitle: 'Opt out of challenge?',
39
- optOudModalDescription: 'Current progress will be lost, but you will keep earned rewards. You will not be able to opt in for this challenge again.',
40
- optOutModalConfirm: 'Opt Out',
41
- optOutModalCancel: 'Cancel',
42
31
  resume: 'Resume',
43
32
  pause: 'Pause',
44
- join: 'Join to Start',
45
33
  deposit: 'Deposit',
46
34
  launchGame: 'Launch Game',
47
35
  launchDescription: 'Launch any game from the Games tab to unlock the Challenge',
@@ -62,8 +50,6 @@ const TRANSLATIONS$3 = {
62
50
  readFullTerms: 'Read full Terms & Conditions',
63
51
  contribution: 'contribution',
64
52
  endDate: 'End Date',
65
- back: 'Back',
66
- all: 'All Challenges',
67
53
  sports: 'Sports',
68
54
  casino: 'Casino',
69
55
  contributionType: 'Contribution Type',
@@ -99,24 +85,38 @@ const TRANSLATIONS$3 = {
99
85
  time: 'time',
100
86
  times: 'times',
101
87
  winStakeRatio: 'Win/Stake Ratio',
102
- promoTabEmptyHeader: 'Nothing here - yet!',
103
- promoTabEmptyDescription: 'No challenges at the moment. Try exploring events or keep playing to unlock new ones.',
104
- activeTabEmptyHeader: 'No active challenges yet',
105
- activeTabEmptyDescription: 'Check Promo tab to find available offers',
106
- pendingTabEmptyHeader: 'No pending challenges yet',
107
- pendingTabEmptyDescription: 'Check Promo tab to find available offers',
108
- finishedTabEmptyHeader: 'No finished challenges yet',
109
- finishedTabEmptyDescription: 'Check Promo tab to find available offers',
110
88
  yourProgress: 'Your Progress'
111
- },
112
- da: {
113
- title: ''
114
89
  }
115
90
  };
116
91
  const translate$3 = (key, customLang) => {
117
92
  const lang = customLang;
118
93
  return TRANSLATIONS$3[lang !== undefined && lang in TRANSLATIONS$3 ? lang : DEFAULT_LANGUAGE$3][key];
119
94
  };
95
+ const getTranslations$3 = (data) => {
96
+ Object.keys(data).forEach((item) => {
97
+ if (!TRANSLATIONS$3[item]) {
98
+ TRANSLATIONS$3[item] = {};
99
+ }
100
+ for (let key in data[item]) {
101
+ TRANSLATIONS$3[item][key] = data[item][key];
102
+ }
103
+ });
104
+ };
105
+ const resolveTranslationUrl$3 = async (translationUrl) => {
106
+ if (translationUrl) {
107
+ try {
108
+ const response = await fetch(translationUrl);
109
+ if (!response.ok) {
110
+ throw new Error(`HTTP error! status: ${response.status}`);
111
+ }
112
+ const translations = await response.json();
113
+ getTranslations$3(translations);
114
+ }
115
+ catch (error) {
116
+ console.error('Failed to fetch or parse translations from URL:', error);
117
+ }
118
+ }
119
+ };
120
120
 
121
121
  const casinoChallengeDetailsEventsCss = ".Mobile.events-tab{margin-top:16px}.Mobile.events-tab .event{font-size:var(--emw--font-size-small, 14px)}.events-tab{display:none;margin-top:16px;flex-direction:column;overflow-y:auto;transform:translateX(10000px);animation:slideFromRight 0.25s forwards;gap:20px;height:auto;max-height:initial}.events-tab .event{color:var(--emw--color-event-rule, rgba(255, 255, 255, 0.7019607843));font-weight:var(--emw--font-weight-normal, 400);margin:0;font-size:var(--emw--font-size-medium, 16px)}.events-tab .event span{text-transform:capitalize;color:var(--emw--color-white, white);font-weight:var(--emw--font-weight-medium, 500)}.events-tab.visible{display:flex}@keyframes slideFromRight{from{transform:translateX(700px)}to{transform:translateX(0)}}";
122
122
  const CasinoChallengeDetailsEventsStyle0 = casinoChallengeDetailsEventsCss;
@@ -650,12 +650,7 @@ const TRANSLATIONS$2 = {
650
650
  active: 'Active',
651
651
  pendingTab: 'Pending',
652
652
  finishedTab: 'Finished',
653
- levels: 'Levels',
654
653
  level: 'Level',
655
- seeAll: 'See All',
656
- games: 'Games',
657
- rules: 'Rules',
658
- events: 'Events',
659
654
  codeTab: 'Code',
660
655
  endsIn: 'Ends In',
661
656
  expired: 'Expired',
@@ -669,71 +664,15 @@ const TRANSLATIONS$2 = {
669
664
  suspended: 'Suspended',
670
665
  completed: 'Completed',
671
666
  unavailable: 'Unavailable',
672
- optIn: 'Opt In',
673
- optOutLeavingText: 'Leaving the challenge will cancel your progress and disqualify from future participation',
674
- optOutLeavingActionText: 'Opt out of Challenge',
675
667
  optOutModalTitle: 'Opt out of challenge?',
676
- optOudModalDescription: 'Current progress will be lost, but you will keep earned rewards. You will not be able to opt in for this challenge again.',
668
+ optOutModalDescription: 'Current progress will be lost, but you will keep earned rewards. You will not be able to opt in for this challenge again.',
677
669
  optOutModalConfirm: 'Opt Out',
678
670
  optOutModalCancel: 'Cancel',
679
671
  optOutSuccessMessage: 'You’ve opted out of the challenge.',
680
- resume: 'Resume',
681
- pause: 'Pause',
682
- join: 'Join to Start',
683
672
  deposit: 'Deposit',
684
- launchGame: 'Launch Game',
685
- launchDescription: 'Launch any game from the Games tab to unlock the Challenge',
686
673
  depositAmountDescription: 'to unlock the Challenge',
687
674
  noDepositAmountDescription: 'Deposit any amount to unlock the Challenge',
688
- claimByButton: 'Claim',
689
- claimDescription: 'Click Claim button to unlock the Challenge',
690
- resumeDescription: 'Your progress is saved while Challenge is suspended',
691
- optInDescription: 'You are ready to opt-in!',
692
- pausedDescription: 'Your progress is saved while Challenge is paused',
693
- congrats: 'Congratulations!',
694
- forfeitNotification: 'Unfortunately, your progress has been forfeited, and you are no longer eligible to continue this challenge. Check out other available challenges!',
695
- optedOutNotification: 'You’ve left this challenge. Your progress has been lost, and rejoining is no longer possible. Discover other available challenges.',
696
- completedNofitication: "You've successfully completed this challenge! Explore the next one and keep playing to earn more rewards!",
697
- expiredNotification: 'Unfortunately, this challenge has expired and is no longer available to complete. Try another one that’s still active!',
698
- pendingDescription: "You can join this challenge once you've finished the previous progress in the Active tab",
699
675
  terms: 'Terms & Conditions',
700
- readFullTerms: 'Read full Terms & Conditions',
701
- contribution: 'contribution',
702
- endDate: 'End Date',
703
- back: 'Back',
704
- all: 'All Challenges',
705
- sports: 'Sports',
706
- casino: 'Casino',
707
- contributionType: 'Contribution Type',
708
- contributionRule: 'Contribution Rule',
709
- isContributeToOne: 'Bets contribute only to the earliest started challenge (if there are multiple started challenges)',
710
- isNotContributeToOne: 'Bets contribute to all started challenges',
711
- bonusMoney: 'Bonus Money',
712
- realMoney: 'Real Money',
713
- mixedMoney: 'Real and Bonus Money contribution',
714
- defaultRule: 'All events - ',
715
- fundsUsed: 'Funds Used',
716
- sportsbookRealMoney: 'Only Real Money bets can contribute',
717
- sportsbookBonusMoney: 'Only Bonus bets can contribute',
718
- sportsbookMixMoney: 'Both Real Money and Bonus bets can contribute',
719
- eligibleMatchTypes: 'Eligible Match Types',
720
- preLiveMatchType: 'Only Pre-Match bets can contribute',
721
- liveMatchType: 'Only Live bets can contribute',
722
- mixMatchType: 'Both Pre-Match and Live bets can contribute',
723
- eligibleBetTypes: 'Eligible Bet Types',
724
- single: 'Single',
725
- multi: 'Multi/Combi',
726
- betBuilder: 'Only Bet Builder Bets',
727
- nonBetBuilder: 'Only Non-Bet Builder Bets',
728
- mixBetBuilder: 'Bet Builder & Non-Bet Builder Bets',
729
- system: 'System',
730
- banker: 'Only Banker Bets',
731
- nonBanker: 'Only Non-Banker Bets',
732
- mixBanker: 'Banker & Non-Banker Bets',
733
- oddsPerSection: 'Odds per Selection',
734
- totalOdds: 'Total Odds',
735
- totalLevels: 'Total Levels',
736
- selections: 'Selections',
737
676
  time: 'time',
738
677
  times: 'times',
739
678
  winStakeRatio: 'Win/Stake Ratio',
@@ -745,7 +684,6 @@ const TRANSLATIONS$2 = {
745
684
  pendingTabEmptyDescription: 'Check Promo tab to find available offers',
746
685
  finishedTabEmptyHeader: 'No finished challenges yet',
747
686
  finishedTabEmptyDescription: 'Check Promo tab to find available offers',
748
- yourProgress: 'Your Progress',
749
687
  claimCodeTitle: 'Enter the secret code to unlock hidden quests and rewards.',
750
688
  claimCodeSuccessMessage: 'The code was successfully applied.',
751
689
  claimCodeInputLabel: '3–30 characters, no spaces',
@@ -754,9 +692,6 @@ const TRANSLATIONS$2 = {
754
692
  claimCodeDescription: 'Enter code to unlock the challenge',
755
693
  status: 'Status',
756
694
  grantClaimByButtonSuccessMessage: 'Challenge has been triggered successfully and is now available on the Active tab'
757
- },
758
- da: {
759
- title: ''
760
695
  }
761
696
  };
762
697
  const translate$2 = (key, customLang) => {
@@ -3281,7 +3216,7 @@ const CasinoChallengeDetailsOptOut$1 = class {
3281
3216
  this.open = false;
3282
3217
  }
3283
3218
  render() {
3284
- return (index.h("casino-challenges-modal", { key: '313981094c4deb08622e70d64544b270f5d58927', isOpen: this.open, onClose: this.handleCloseOptOut, showBackdrop: true, showCloseButton: true }, index.h("div", { key: '3eb309a2073df2b0be66192eb3d5b3e2c47ddaac', slot: "header" }, index.h("div", { key: '74d0886975cffde599597100445431488aa3aab8', class: "opt-out-icon-circle" }, index.h("img", { key: 'f9cef6d393f458425b2406c077dd3b5e615a70ce', class: "opt-out-icon", src: optOutSvg, height: 20, width: 20 })), index.h("h2", { key: 'da5484c8cf059ae66d82eb4e493992b17c91139d', class: "modal-header-title" }, translate$2('optOutModalTitle', this.language))), index.h("div", { key: '9baafd6078ea53dfcb2e440b0e18afc7b20d72a0', slot: "body" }, index.h("p", { key: '5a758912278c08dc681e1d0021f5213892ac0da8', class: "modal-body-description" }, translate$2('optOudModalDescription', this.language))), index.h("div", { key: '34e1e80b7a2435c28788aafea072adba10aff836', class: "modal-footer", slot: "footer" }, index.h("button", { key: '8a476048cdc8c297f9bba9174c85555e58362204', class: "modal-footer-button confirm", onClick: this.handleCloseOptOut }, translate$2('optOutModalCancel', this.language)), index.h("button", { key: 'e993c82f39a4ce6d6faa7581c11b3edde33d04f6', class: "modal-footer-button cancel", onClick: this.handleConfirmOptOut }, translate$2('optOutModalConfirm', this.language)))));
3219
+ return (index.h("casino-challenges-modal", { key: '313981094c4deb08622e70d64544b270f5d58927', isOpen: this.open, onClose: this.handleCloseOptOut, showBackdrop: true, showCloseButton: true }, index.h("div", { key: '3eb309a2073df2b0be66192eb3d5b3e2c47ddaac', slot: "header" }, index.h("div", { key: '74d0886975cffde599597100445431488aa3aab8', class: "opt-out-icon-circle" }, index.h("img", { key: 'f9cef6d393f458425b2406c077dd3b5e615a70ce', class: "opt-out-icon", src: optOutSvg, height: 20, width: 20 })), index.h("h2", { key: 'da5484c8cf059ae66d82eb4e493992b17c91139d', class: "modal-header-title" }, translate$2('optOutModalTitle', this.language))), index.h("div", { key: '9baafd6078ea53dfcb2e440b0e18afc7b20d72a0', slot: "body" }, index.h("p", { key: '5a758912278c08dc681e1d0021f5213892ac0da8', class: "modal-body-description" }, translate$2('optOutModalDescription', this.language))), index.h("div", { key: '34e1e80b7a2435c28788aafea072adba10aff836', class: "modal-footer", slot: "footer" }, index.h("button", { key: '8a476048cdc8c297f9bba9174c85555e58362204', class: "modal-footer-button confirm", onClick: this.handleCloseOptOut }, translate$2('optOutModalCancel', this.language)), index.h("button", { key: 'e993c82f39a4ce6d6faa7581c11b3edde33d04f6', class: "modal-footer-button cancel", onClick: this.handleConfirmOptOut }, translate$2('optOutModalConfirm', this.language)))));
3285
3220
  }
3286
3221
  };
3287
3222
  CasinoChallengeDetailsOptOut$1.style = CasinoChallengeOptOutModalStyle0;
@@ -3708,23 +3643,22 @@ const CasinoChallengesOverlayDrawerStyle0 = casinoChallengesOverlayDrawerCss;
3708
3643
  const CasinoChallengesOverlayDrawer = class {
3709
3644
  constructor(hostRef) {
3710
3645
  index.registerInstance(this, hostRef);
3711
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3712
3646
  this.EMPTY_STATE_PAGE_DESCRIPTION_MAP = {
3713
3647
  [EChallengesTabs.Promo]: {
3714
- header: (_a = TRANSLATIONS$2[this.language]) === null || _a === void 0 ? void 0 : _a.promoTabEmptyHeader,
3715
- description: (_b = TRANSLATIONS$2[this.language]) === null || _b === void 0 ? void 0 : _b.promoTabEmptyDescription
3648
+ header: 'promoTabEmptyHeader',
3649
+ description: 'promoTabEmptyDescription'
3716
3650
  },
3717
3651
  [EChallengesTabs.Active]: {
3718
- header: (_c = TRANSLATIONS$2[this.language]) === null || _c === void 0 ? void 0 : _c.activeTabEmptyHeader,
3719
- description: (_d = TRANSLATIONS$2[this.language]) === null || _d === void 0 ? void 0 : _d.activeTabEmptyDescription
3652
+ header: 'activeTabEmptyHeader',
3653
+ description: 'activeTabEmptyDescription'
3720
3654
  },
3721
3655
  [EChallengesTabs.Pending]: {
3722
- header: (_e = TRANSLATIONS$2[this.language]) === null || _e === void 0 ? void 0 : _e.pendingTabEmptyHeader,
3723
- description: (_f = TRANSLATIONS$2[this.language]) === null || _f === void 0 ? void 0 : _f.pendingTabEmptyDescription
3656
+ header: 'pendingTabEmptyHeader',
3657
+ description: 'pendingTabEmptyDescription'
3724
3658
  },
3725
3659
  [EChallengesTabs.Finished]: {
3726
- header: (_g = TRANSLATIONS$2[this.language]) === null || _g === void 0 ? void 0 : _g.finishedTabEmptyHeader,
3727
- description: (_h = TRANSLATIONS$2[this.language]) === null || _h === void 0 ? void 0 : _h.finishedTabEmptyDescription
3660
+ header: 'finishedTabEmptyHeader',
3661
+ description: 'finishedTabEmptyDescription'
3728
3662
  }
3729
3663
  };
3730
3664
  this.onActiveChallengeChange = (e) => {
@@ -3830,16 +3764,16 @@ const CasinoChallengesOverlayDrawer = class {
3830
3764
  };
3831
3765
  this.renderEmptyState = (isMobile) => {
3832
3766
  var _a, _b;
3833
- return (index.h("div", null, this.renderHeader(isMobile), index.h("casino-challenges-empty-state", { header: (_a = this.emptyState) === null || _a === void 0 ? void 0 : _a.header, description: (_b = this.emptyState) === null || _b === void 0 ? void 0 : _b.description, "is-mobile": isMobile })));
3767
+ return (index.h("div", null, this.renderHeader(isMobile), index.h("casino-challenges-empty-state", { header: translate$2((_a = this.emptyState) === null || _a === void 0 ? void 0 : _a.header, this.language), description: translate$2((_b = this.emptyState) === null || _b === void 0 ? void 0 : _b.description, this.language), "is-mobile": isMobile })));
3834
3768
  };
3835
3769
  this.renderFinishedTab = (isMobile) => {
3836
3770
  return (index.h("div", null, this.renderHeader(isMobile), index.h("casino-challenges-overlay-drawer-history", { mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, translationUrl: this.translationUrl, language: this.language, isMobile: isMobile, historyItems: this.playerHistory, hasMore: this.hasMorePlayerHistory, onLoadMore: this.onLoadMorePlayerHistory, loading: this.loading })));
3837
3771
  };
3838
3772
  this.renderCodeTab = (isMobile) => {
3839
- return (index.h("div", null, this.renderHeader(isMobile), index.h("casino-challenges-claim-code", { "is-mobile": isMobile })));
3773
+ return (index.h("div", null, this.renderHeader(isMobile), index.h("casino-challenges-claim-code", { "is-mobile": isMobile, translationUrl: this.translationUrl, language: this.language })));
3840
3774
  };
3841
3775
  this.renderChallengeDetails = (isMobile, isUnique = false) => {
3842
- return (index.h("casino-challenges-overlay-drawer-details", { challenge: this.activeChallenge, swipped: this.swipped, progress: this.progress, "is-mobile": isMobile, "is-unique": isUnique, "is-opted-out": this.isOptedOut, "active-challenges-tab-index": this.activeTabIndex, onSeeMoreClick: this.onSeeMoreClick, detailsSubPageInfo: this.detailsSubPageInfo, challengeGames: this.challengeGames, onCloseClick: this.onCloseClick }));
3776
+ return (index.h("casino-challenges-overlay-drawer-details", { translationUrl: this.translationUrl, language: this.language, challenge: this.activeChallenge, swipped: this.swipped, progress: this.progress, "is-mobile": isMobile, "is-unique": isUnique, "is-opted-out": this.isOptedOut, "active-challenges-tab-index": this.activeTabIndex, onSeeMoreClick: this.onSeeMoreClick, detailsSubPageInfo: this.detailsSubPageInfo, challengeGames: this.challengeGames, onCloseClick: this.onCloseClick }));
3843
3777
  };
3844
3778
  this.renderChallengesTabs = (isMobile) => {
3845
3779
  const challenges = this.activeTabIndex === EChallengesTabs.Active
@@ -3892,8 +3826,8 @@ const CasinoChallengesOverlayDrawer = class {
3892
3826
  this.playerHistory = [];
3893
3827
  this.hasMorePlayerHistory = false;
3894
3828
  this.emptyState = {
3895
- header: (_j = TRANSLATIONS$2[this.language]) === null || _j === void 0 ? void 0 : _j.activeTabEmptyHeader,
3896
- description: (_k = TRANSLATIONS$2[this.language]) === null || _k === void 0 ? void 0 : _k.activeTabEmptyDescription
3829
+ header: 'activeTabEmptyHeader',
3830
+ description: 'activeTabEmptyDescription'
3897
3831
  };
3898
3832
  }
3899
3833
  handleClientStylingChange(newValue, oldValue) {
@@ -4554,8 +4488,9 @@ const CasinoChallengesOverlayDrawerDetails = class {
4554
4488
  this.mbSource = undefined;
4555
4489
  this.clientStyling = undefined;
4556
4490
  this.clientStylingUrl = undefined;
4557
- this.challenge = undefined;
4491
+ this.translationUrl = '';
4558
4492
  this.language = 'en';
4493
+ this.challenge = undefined;
4559
4494
  this.isMobile = false;
4560
4495
  this.isUnique = false;
4561
4496
  this.swipped = false;
@@ -4622,6 +4557,9 @@ const CasinoChallengesOverlayDrawerDetails = class {
4622
4557
  }, 1000);
4623
4558
  }
4624
4559
  componentWillLoad() {
4560
+ if (this.translationUrl) {
4561
+ resolveTranslationUrl$3(this.translationUrl);
4562
+ }
4625
4563
  this.updateTime();
4626
4564
  this.onChallengeChange(this.challenge);
4627
4565
  }
@@ -4799,7 +4737,7 @@ const CasinoChallengesOverlayDrawerDetails = class {
4799
4737
  var _a, _b;
4800
4738
  const fullScreen = (this.swipping && this.progress > 0) || ((_a = this.detailsSubPageInfo) === null || _a === void 0 ? void 0 : _a.open);
4801
4739
  const footerIsVisible = !this.isMobile || (this.isMobile && fullScreen);
4802
- return (index.h("div", { key: '220d4ad44d1bd16544edc01af1a10bc8b915de9b', class: {
4740
+ return (index.h("div", { key: 'b6b5dfc2777b5a4b1e1557166e1dca5aa2aa4f37', class: {
4803
4741
  Mobile: this.isMobile,
4804
4742
  swipped: (this.isMobile && this.swipping && this.progress > 0) || !this.isMobile,
4805
4743
  moved: this.progress > 0,
@@ -4967,13 +4905,12 @@ const TRANSLATIONS = {
4967
4905
  errorTitle: 'Reward failed',
4968
4906
  errorSubTitle: 'Sorry — we couldn’t grant the reward. Please try again.',
4969
4907
  level: 'Level',
4970
- completed: 'has been completed!',
4908
+ levelCompleted: 'has been completed!',
4971
4909
  youWon: 'You have won',
4972
4910
  physicalReward: 'for physical rewards please contact ',
4973
4911
  linkText: 'Customer Support',
4974
4912
  playNowOrLater: 'Play your free spins now or come back later.',
4975
4913
  rewardInLobby: 'You can find your reward in the relevant section of the Lobby Widget.',
4976
- assistance: 'If you need any assistance, please contact',
4977
4914
  useSpinsNow: 'Use spins now'
4978
4915
  }
4979
4916
  };
@@ -5100,7 +5037,7 @@ const CasinoChallengesOverlayModal = class {
5100
5037
  if (this.levelsCount <= 1)
5101
5038
  return '';
5102
5039
  const level = (_a = translate('level', this.language)) !== null && _a !== void 0 ? _a : translate('level');
5103
- const completed = (_b = translate('completed', this.language)) !== null && _b !== void 0 ? _b : translate('completed');
5040
+ const completed = (_b = translate('levelCompleted', this.language)) !== null && _b !== void 0 ? _b : translate('levelCompleted');
5104
5041
  return `${level} ${this.orderNumber} ${completed}`;
5105
5042
  };
5106
5043
  this.mbSource = undefined;
@@ -5178,17 +5115,17 @@ const CasinoChallengesOverlayModal = class {
5178
5115
  }
5179
5116
  render() {
5180
5117
  var _a;
5181
- return (index.h("div", { key: '7f90dd075fc9046cca7d55704b19cc9d23655f63', ref: (el) => (this.stylingContainer = el), class: {
5118
+ return (index.h("div", { key: '45c0dd1d4e2a3567850f2d3ff0c9fdda18892697', ref: (el) => (this.stylingContainer = el), class: {
5182
5119
  ModalOverlay: true,
5183
5120
  Mobile: this.isMobile,
5184
5121
  Open: this.isOpen
5185
- } }, index.h("div", { key: 'ec14dcd43407142937617a39db007fce65f67c52', class: "ModalWinAnimation" }), index.h("div", { key: '887b13b1c82bfdee17154d72023fe3541d208293', class: "ModalWrapper" }, index.h("div", { key: '5539d5631d8a9c2d8fef1ad64849b6c923317587', class: "ModalContent GradientBorder" }, index.h("div", { key: '459b3e70f5d00355a359d5183e1b14cf7c46709b', class: "InnerContainer" }, !this.errored && (index.h("div", { key: 'b30e892c29090cd265714e9802f01fe527c39fc3', class: "ImageWrapper" }, index.h("img", { key: 'c2414e02822fa41e82a9baaee3439540570525e1', src: giftboxSvg, alt: "gift-box-icon" }))), index.h("h1", { key: '612d76d1c1d6731a375c690af3580e114625e2a6', class: "ModalHeader" }, translate(this.errored ? 'errorTitle' : 'congrats', this.language)), this.errored ? (index.h("div", { class: "ModalErrorMessage" }, translate('errorSubTitle', this.language))) : (index.h("div", { class: "ModalSubtitle" }, this.renderLevelNumberLine(), index.h("div", null, translate('youWon', this.language)), index.h("div", { class: "ModalReward" }, this.reward), this.isFreeSpinsGranted && (index.h("div", { class: "ModalAddition" }, translate('playNowOrLater', this.language))), index.h("div", { class: "ModalAddition" }, translate('rewardInLobby', this.language)))), this.addition && (index.h("div", { key: 'd0364241f481d77530e674745c76bfaa608177e9', class: "ModalAddition" }, index.h("div", { key: '00ec8519bf53ded42f2f2ba5f20c903b679f429c' }, translate('physicalReward', this.language)), index.h("span", { key: '939c62bfba3ec93e52a4c8d27c9c8b813bf42101' }, translate('linkText', this.language)))), index.h("button", { key: '442d877ac3d368b118f1cfc987c1f1dc003d5600', class: "ModalAction", onClick: this.handleClick }, this.errored ? translate('errorBtnText', this.language) : translate('continue', this.language)), this.isFreeSpinsGranted && ((_a = this.bonusProgramGames) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("div", { key: 'a0e330774c4333c1f09d2e574644fa375fa301e4', class: "ModalSliderWrapper" }, index.h("div", { key: '96270d7f0c6bf9aa0c8376fa80fc3aea99632696', class: "ModalSlider", ref: (el) => (this.sliderContainer = el), onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, this.bonusProgramGames.map((item) => (index.h("div", { class: "ModalSlide", key: item.GameSlug, "data-slug": item.GameSlug }, index.h("div", { class: "ModalSlideImageWrapper" }, index.h("img", { src: item.Thumbnail, alt: "" })), index.h("div", { class: "ModalSlideSpins" }, translate('useSpinsNow', this.language), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L5.13807 4.19526C5.39842 4.45561 5.39842 4.87772 5.13807 5.13807L1.13807 9.13807C0.877722 9.39842 0.455612 9.39842 0.195262 9.13807C-0.0650874 8.87772 -0.0650874 8.45561 0.195262 8.19526L3.72386 4.66667L0.195262 1.13807C-0.0650874 0.877722 -0.0650874 0.455612 0.195262 0.195262Z", fill: "white" }))))))), this.bonusProgramGames.length > 1 && (index.h("div", { key: 'be0e1b63310d39993cc6ae2e49ed6240583bd1e6' }, index.h("button", { key: '94f41cd5bf2064f94e3d593e07a8620cdb5bcc56', class: {
5122
+ } }, index.h("div", { key: '394f01833178c5bd7bcacf33079202c9de272687', class: "ModalWinAnimation" }), index.h("div", { key: 'bb20f68ad852446f52f5fed290fddb324dfd8168', class: "ModalWrapper" }, index.h("div", { key: '392f2f5946d8dd684cfe4625e37f694ab015b276', class: "ModalContent GradientBorder" }, index.h("div", { key: 'a45444c5655f0c75bbf8c19a141af7c20cce04fd', class: "InnerContainer" }, !this.errored && (index.h("div", { key: '3e2c391e31569188547521a97cae262f46964260', class: "ImageWrapper" }, index.h("img", { key: '33dfe2b25024ee7e018d1077a34305c4a55d2521', src: giftboxSvg, alt: "gift-box-icon" }))), index.h("h1", { key: '4a1f61db16a4d85e82d61ede928494018123d261', class: "ModalHeader" }, translate(this.errored ? 'errorTitle' : 'congrats', this.language)), this.errored ? (index.h("div", { class: "ModalErrorMessage" }, translate('errorSubTitle', this.language))) : (index.h("div", { class: "ModalSubtitle" }, this.renderLevelNumberLine(), index.h("div", null, translate('youWon', this.language)), index.h("div", { class: "ModalReward" }, this.reward), this.isFreeSpinsGranted && (index.h("div", { class: "ModalAddition" }, translate('playNowOrLater', this.language))), index.h("div", { class: "ModalAddition" }, translate('rewardInLobby', this.language)))), this.addition && (index.h("div", { key: 'c4e7b3f0af774a0269b9655ba3e0672c5556d6e6', class: "ModalAddition" }, index.h("div", { key: 'adad33feebe2a0defb222d147238bb255f2a33f2' }, translate('physicalReward', this.language)), index.h("span", { key: 'f66a38bbdfe5c06b72afa18ca9a2c443d98bcc02' }, translate('linkText', this.language)))), index.h("button", { key: 'e58dcd071d82ba97273faa62b88ccd5b6663f90e', class: "ModalAction", onClick: this.handleClick }, this.errored ? translate('errorBtnText', this.language) : translate('continue', this.language)), this.isFreeSpinsGranted && ((_a = this.bonusProgramGames) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("div", { key: '925a3869f84b44e841a0bc71aeac88cebc2bfc0d', class: "ModalSliderWrapper" }, index.h("div", { key: '5e1573ecaabe23c7f7890b39fe4c7612247ae50a', class: "ModalSlider", ref: (el) => (this.sliderContainer = el), onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, this.bonusProgramGames.map((item) => (index.h("div", { class: "ModalSlide", key: item.GameSlug, "data-slug": item.GameSlug }, index.h("div", { class: "ModalSlideImageWrapper" }, index.h("img", { src: item.Thumbnail, alt: "" })), index.h("div", { class: "ModalSlideSpins" }, translate('useSpinsNow', this.language), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L5.13807 4.19526C5.39842 4.45561 5.39842 4.87772 5.13807 5.13807L1.13807 9.13807C0.877722 9.39842 0.455612 9.39842 0.195262 9.13807C-0.0650874 8.87772 -0.0650874 8.45561 0.195262 8.19526L3.72386 4.66667L0.195262 1.13807C-0.0650874 0.877722 -0.0650874 0.455612 0.195262 0.195262Z", fill: "white" }))))))), this.bonusProgramGames.length > 1 && (index.h("div", { key: 'a87a8694b4303d70d3d48678740d7d41c86e5943' }, index.h("button", { key: 'db3098504dec5b764c1728094cbf4cc044861f05', class: {
5186
5123
  prev: true,
5187
5124
  disabled: this.currentIndex === 0
5188
- }, onClick: this.prev }, index.h("svg", { key: 'c5befb61fd9219ac50e4e4bac0f667893df8f332', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: 'bda4f14c6bbe6ae040c37b605b06faf4ed4cac25', d: "M5 1L1 5L5 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("button", { key: 'a05cdf0d9029f46a449b4587a94f3441d23e2198', class: {
5125
+ }, onClick: this.prev }, index.h("svg", { key: 'ba6da9bb485ce54fef5aafb2fb755e2900417392', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: '9d03b38b3d0e668cb2bbf43925c3f7538f4d9bcf', d: "M5 1L1 5L5 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("button", { key: '5766cdc2bdf105329c004467b4433dcbbe936306', class: {
5189
5126
  next: true,
5190
5127
  disabled: this.currentIndex === this.bonusProgramGames.length - 1
5191
- }, onClick: this.next }, index.h("svg", { key: '3d61797e54ab9b57e52a953272aa49d86a727de6', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: 'c0b66efe13ed0535b7760cef09940b32ef834919', d: "M1 1L5 5L1 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: '015daf3190bd0f08c9519e3efd36f82cc1a1ac45', class: "ModalSliderDots" }, this.bonusProgramGames.map((_, i) => (index.h("span", { class: {
5128
+ }, onClick: this.next }, index.h("svg", { key: '13387b4fef2d54b72757b7eeae68d65c82f51ad7', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: 'b84abe30536fd6c707f68ef300886fc5b1af3a6b', d: "M1 1L5 5L1 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: '2ff7174edec7f6210856e20725192fde78c94a9c', class: "ModalSliderDots" }, this.bonusProgramGames.map((_, i) => (index.h("span", { class: {
5192
5129
  ModalSliderDot: true,
5193
5130
  active: i === this.currentIndex
5194
5131
  }, onClick: () => {
@@ -5426,7 +5363,7 @@ const CasinoChallengesOverlaySlider = class {
5426
5363
  return this.currentIndex - 1;
5427
5364
  }
5428
5365
  render() {
5429
- return (index.h("div", { key: '25e34524b9a1fb6fcd4b164f5f3d58a58173ed09', class: { 'slider-container': true, mobile: this.isMobile, 'one-slide': this.isOneSlide }, ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '1f77218efd7201eb0de40405d7128168d5bb2a64', class: "challenges__slider-wrapper", onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, index.h("div", { key: '623e0d69197edea0a4a01a670bc678e2c99af735', class: "challenges__slider", ref: (el) => (this.sliderContainer = el) }, this.getCarouselItems().map((item, index$1, arr) => (index.h("casino-challenges-overlay-card", { challenge: item, index: index$1, arrLength: arr.length, currentIndex: this.currentIndex, slideWidth: this.slideWidth, slideHeight: this.slideHeight }))))), this.challenges.length > 1 && (index.h("div", { key: 'ffc80e15f608761c6b830dd6f8ed19ebf7a2498e' }, index.h("button", { key: '0403fb4615605c33ef596c74ae2427b5e823b7d9', class: "action-button action-button--prev", onClick: this.prev }, index.h("img", { key: 'de3536ec00f15de6240d3c7da032b9584fffbc92', src: leftArrowSvg, alt: "" })), index.h("button", { key: '84cc6967ded946264bde8db938c8e5541ace145c', class: "action-button action-button--next", onClick: this.next }, index.h("img", { key: 'f6e8d44662f3ca55866001d90d41f66c4a5f6f04', src: rightArrowSvg, alt: "" })), index.h("div", { key: '25124a8bb6d0fc72086e69e20b6fc2f41986999e', class: "challenges__slider-dots" }, this.challenges.map((_, i) => (index.h("span", { class: {
5366
+ return (index.h("div", { key: '25e34524b9a1fb6fcd4b164f5f3d58a58173ed09', class: { 'slider-container': true, mobile: this.isMobile, 'one-slide': this.isOneSlide }, ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '1f77218efd7201eb0de40405d7128168d5bb2a64', class: "challenges__slider-wrapper", onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, index.h("div", { key: '623e0d69197edea0a4a01a670bc678e2c99af735', class: "challenges__slider", ref: (el) => (this.sliderContainer = el) }, this.getCarouselItems().map((item, index$1, arr) => (index.h("casino-challenges-overlay-card", { challenge: item, index: index$1, arrLength: arr.length, currentIndex: this.currentIndex, slideWidth: this.slideWidth, slideHeight: this.slideHeight, language: this.language }))))), this.challenges.length > 1 && (index.h("div", { key: '39fd37d72070c1198959a61f35a3e4d19088c4a6' }, index.h("button", { key: 'e58364a6f329ba4998ca35b820fcecfc4e276efc', class: "action-button action-button--prev", onClick: this.prev }, index.h("img", { key: '725c48c629a64d7bc2121483c3f2967bac303297', src: leftArrowSvg, alt: "" })), index.h("button", { key: 'd14196ca0fd4de90f57ed0c97d844a88e1c980cf', class: "action-button action-button--next", onClick: this.next }, index.h("img", { key: '428c63a8b2e1d040e06da89d371c648d3e01c5f7', src: rightArrowSvg, alt: "" })), index.h("div", { key: '8bd9ffb15115b1a785e9967dc129187e9c6793fe', class: "challenges__slider-dots" }, this.challenges.map((_, i) => (index.h("span", { class: {
5430
5367
  'challenges__slider-dot': true,
5431
5368
  active: i === this.getRealIndex()
5432
5369
  }, onClick: () => {
@@ -132,22 +132,124 @@ const DEFAULT_LANGUAGE = 'en';
132
132
  const TRANSLATIONS = {
133
133
  en: {
134
134
  new: 'new',
135
- join: 'Join',
136
- // casino-challenges-overlay-modal
137
135
  congrats: 'Congratulations!',
138
136
  continue: 'Continue',
139
137
  errorBtnText: 'Ok',
140
138
  errorTitle: 'Reward failed',
141
139
  errorSubTitle: 'Sorry — we couldn’t grant the reward. Please try again.',
142
140
  level: 'Level',
143
- completed: 'has been completed!',
141
+ levelCompleted: 'has been completed!',
144
142
  youWon: 'You have won',
145
143
  physicalReward: 'for physical rewards please contact ',
146
144
  linkText: 'Customer Support',
147
145
  playNowOrLater: 'Play your free spins now or come back later.',
148
146
  rewardInLobby: 'You can find your reward in the relevant section of the Lobby Widget.',
149
- assistance: 'If you need any assistance, please contact',
150
- useSpinsNow: 'Use spins now'
147
+ useSpinsNow: 'Use spins now',
148
+ // extended widget
149
+ title: 'Challenges',
150
+ claimCodeSuccessMessage: 'The code was successfully applied.',
151
+ grantClaimByButtonSuccessMessage: 'Challenge has been triggered successfully and is now available on the Active tab',
152
+ optOutSuccessMessage: 'You’ve opted out of the challenge.',
153
+ promoTabEmptyHeader: 'Nothing here - yet!',
154
+ promoTabEmptyDescription: 'No challenges at the moment. Try exploring events or keep playing to unlock new ones.',
155
+ activeTabEmptyHeader: 'No active challenges yet',
156
+ activeTabEmptyDescription: 'Check Promo tab to find available offers',
157
+ pendingTabEmptyHeader: 'No pending challenges yet',
158
+ pendingTabEmptyDescription: 'Check Promo tab to find available offers',
159
+ finishedTabEmptyHeader: 'No finished challenges yet',
160
+ finishedTabEmptyDescription: 'Check Promo tab to find available offers',
161
+ promo: 'Promo',
162
+ active: 'Active',
163
+ pendingTab: 'Pending',
164
+ finishedTab: 'Finished',
165
+ codeTab: 'Code',
166
+ terms: 'Terms & Conditions',
167
+ status: 'Status',
168
+ time: 'time',
169
+ claimCodeTitle: 'Enter the secret code to unlock hidden quests and rewards.',
170
+ claimCodeInputLabel: '3–30 characters, no spaces',
171
+ claimCodeBtnText: 'Apply Code',
172
+ claimCodeError: 'Invalid format. Use Latin letters, numbers, or symbols.',
173
+ claimCodeDescription: 'Enter code to unlock the challenge',
174
+ endsIn: 'Ends In',
175
+ expired: 'Expired',
176
+ forfeited: 'Forfeited',
177
+ finished: 'Finished',
178
+ suspended: 'Suspended',
179
+ unavailable: 'Unavailable',
180
+ optedOutNotification: 'You’ve left this challenge. Your progress has been lost, and rejoining is no longer possible. Discover other available challenges.',
181
+ forfeitNotification: 'Unfortunately, your progress has been forfeited, and you are no longer eligible to continue this challenge. Check out other available challenges!',
182
+ completedNofitication: "You've successfully completed this challenge! Explore the next one and keep playing to earn more rewards!",
183
+ expiredNotification: 'Unfortunately, this challenge has expired and is no longer available to complete. Try another one that’s still active!',
184
+ launchDescription: 'Launch any game from the Games tab to unlock the Challenge',
185
+ claimDescription: 'Click Claim button to unlock the Challenge',
186
+ noDepositAmountDescription: 'Deposit any amount to unlock the Challenge',
187
+ deposit: 'Deposit',
188
+ depositAmountDescription: 'to unlock the Challenge',
189
+ claimByButton: 'Claim',
190
+ launchGame: 'Launch Game',
191
+ optIn: 'Opt In',
192
+ resume: 'Resume',
193
+ pause: 'Pause',
194
+ pendingDescription: "You can join this challenge once you've finished the previous progress in the Active tab",
195
+ optInDescription: 'You are ready to opt-in!',
196
+ resumeDescription: 'Your progress is saved while Challenge is suspended',
197
+ pausedDescription: 'Your progress is saved while Challenge is paused',
198
+ yourProgress: 'Your Progress',
199
+ bet: 'bet',
200
+ bets: 'bets',
201
+ sports: 'Sports',
202
+ casino: 'Casino',
203
+ endDate: 'End Date',
204
+ totalLevels: 'Total Levels',
205
+ levels: 'Levels',
206
+ seeAll: 'See All',
207
+ games: 'Games',
208
+ rules: 'Rules',
209
+ events: 'Events',
210
+ defaultRule: 'All events - ',
211
+ contribution: 'contribution',
212
+ minBet: 'min bet',
213
+ placeBetsOf: 'Place bets of',
214
+ place: 'Place',
215
+ winStakeRatio: 'Win/Stake Ratio',
216
+ completed: 'Completed',
217
+ times: 'times',
218
+ contributionType: 'Contribution Type',
219
+ contributionTo: 'Contribution To',
220
+ isContributeToOne: 'Your eligible bets count only toward this challenge',
221
+ isNotContributeToOne: 'Your eligible bets count toward all active challenges',
222
+ bonusMoney: 'Only bonus money bets count toward your progress',
223
+ realMoney: 'Only real money bets count toward your progress',
224
+ mixedMoney: 'Both real money and bonus money bets count toward your progress',
225
+ fundsUsed: 'Funds Used',
226
+ sportsbookRealMoney: 'Only Real Money bets can contribute',
227
+ sportsbookBonusMoney: 'Only Bonus bets can contribute',
228
+ sportsbookMixMoney: 'Both Real Money and Bonus bets can contribute',
229
+ eligibleMatchTypes: 'Eligible Match Types',
230
+ preLiveMatchType: 'Only Pre-Match bets can contribute',
231
+ liveMatchType: 'Only Live bets can contribute',
232
+ mixMatchType: 'Both Pre-Match and Live bets can contribute',
233
+ eligibleBetTypes: 'Eligible Bet Types',
234
+ single: 'Single',
235
+ multi: 'Multi/Combi',
236
+ system: 'System',
237
+ selections: 'Selections',
238
+ totalOdds: 'Total Odds',
239
+ oddsPerSection: 'Odds per Selection',
240
+ betBuilder: 'Only Bet Builder Bets',
241
+ nonBetBuilder: 'Only Non-Bet Builder Bets',
242
+ mixBetBuilder: 'Bet Builder & Non-Bet Builder Bets',
243
+ banker: 'Only Banker Bets',
244
+ nonBanker: 'Only Non-Banker Bets',
245
+ mixBanker: 'Banker & Non-Banker Bets',
246
+ readFullTerms: 'Read full Terms & Conditions',
247
+ optOutLeavingText: 'Leaving the challenge will cancel your progress and disqualify from future participation',
248
+ optOutLeavingActionText: 'Opt out of Challenge',
249
+ optOutModalTitle: 'Opt out of challenge?',
250
+ optOutModalDescription: 'Current progress will be lost, but you will keep earned rewards. You will not be able to opt in for this challenge again.',
251
+ optOutModalCancel: 'Cancel',
252
+ optOutModalConfirm: 'Opt Out'
151
253
  }
152
254
  };
153
255
  const translate = (key, customLang) => {
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["casino-challenge-details-events_23.cjs",[[1,"casino-challenges-overlay",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenges":[16],"extendedIngameWidget":[516,"extended-ingame-widget"],"enabledWidgetTabs":[32],"progress":[32],"isNew":[32],"isGift":[32],"isNotification":[32],"inProgressCount":[32],"activeChallenge":[32],"completedLevelId":[32],"prevUpdateEvent":[32],"showModal":[32],"modalErrored":[32],"modalReward":[32],"modalAddition":[32],"modalOrderNumber":[32],"modalLevelsCount":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[1,"touchmove","handleTouchMove"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"challenges":["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"handleClose":[16],"challenges":[16],"initialProgressId":[513,"initial-progress-id"],"enabledWidgetTabs":[16],"activeChallenge":[32],"activeProgressId":[32],"activeTabIndex":[32],"error":[32],"hasError":[32],"swipped":[32],"detailsSubPageInfo":[32],"progress":[32],"loading":[32],"notification":[32],"optOutModaIsOpen":[32],"isOptedOut":[32],"prevUpdateEvent":[32],"challengeGames":[32],"activeChallenges":[32],"pendingChallenges":[32],"promoChallenges":[32],"playerHistory":[32],"hasMorePlayerHistory":[32],"emptyState":[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"isOpen":["handleIsOpenChange"],"activeChallenge":["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"reward":[513],"addition":[516],"handleClick":[16],"errored":[516],"orderNumber":[514,"order-number"],"isFreeSpinsGranted":[516,"is-free-spins-granted"],"levelsCount":[514,"levels-count"],"bonusProgramGames":[16],"currentIndex":[32],"isMobile":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"bonusProgramGames":["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[16],"language":[513],"isMobile":[516,"is-mobile"],"isUnique":[516,"is-unique"],"swipped":[516],"progress":[514],"activeChallengesTabIndex":[513,"active-challenges-tab-index"],"detailsSubPageInfo":[16],"isOptedOut":[516,"is-opted-out"],"challengeGames":[16],"swipping":[32],"actionLoading":[32],"error":[32],"isChallengePaused":[32],"timeLeft":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"progress":["onSwipeChange"],"challenge":["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[1,"casino-challenges-overlay-drawer-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"loading":[516],"hasMore":[516,"has-more"],"historyItems":[16],"openItems":[32],"pageSize":[32],"pageNumber":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"historyItems":["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"challenges":[16],"initialProgressId":[1,"initial-progress-id"],"activeTabIndex":[1,"active-tab-index"],"currentIndex":[32],"slideWidth":[32],"slideHeight":[32],"isOneSlide":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"currentIndex":["onCurrentIndexChange"],"challenges":["onChallengesChange"],"initialProgressId":["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{"empty":[4]}],[1,"casino-challenges-claim-code",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"isMobile":[516,"is-mobile"],"loading":[32],"hasError":[32],"code":[32],"notificationMessage":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{"header":[1],"description":[1],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{"fullSize":[4,"full-size"],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{"language":[513],"isMobile":[516,"is-mobile"],"activeTabIndex":[514,"active-tab-index"],"activeTabHasNotification":[516,"active-tab-has-notification"],"pendingTabHasNotification":[516,"pending-tab-has-notification"],"enabledWidgetTabs":[16]}],[4,"swipe-up",{"isMobile":[516,"is-mobile"],"isOneSlider":[516,"is-one-slider"],"progress":[32]},null,{"isOneSlider":["onIsOneSliderChange"],"progress":["onSwipeChange"]}],[0,"casino-challenge-details-levels",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isChallengePaused":[4,"is-challenge-paused"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-details-events",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[0,"casino-challenge-details-games",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"games":[16],"handleGameClick":[16]}],[0,"casino-challenge-details-progress-bar",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-drawer-history-item",{"language":[513],"index":[514],"historyItem":[16],"itemRef":[16],"isOpen":[4,"is-open"],"isMobile":[4,"is-mobile"],"toggle":[16]}],[1,"casino-challenges-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[516,"is-open"],"showWinAnimation":[516,"show-win-animation"],"showBackdrop":[516,"show-backdrop"],"showCloseButton":[516,"show-close-button"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{"challenge":[16],"index":[2],"arrLength":[2,"arr-length"],"currentIndex":[2,"current-index"],"language":[1],"isOptedOut":[4,"is-opted-out"],"slideWidth":[2,"slide-width"],"slideHeight":[2,"slide-height"],"timeLeft":[32]}],[4,"casino-challenge-expandable-paragraph",{"maxHeight":[2,"max-height"],"active":[4],"expanded":[32],"needsTruncation":[32]}],[0,"casino-challenge-level-progress-bar",{"height":[1],"active":[4],"value":[2]}]]]], options);
22
+ return index.bootstrapLazy([["casino-challenge-details-events_23.cjs",[[1,"casino-challenges-overlay",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenges":[16],"extendedIngameWidget":[516,"extended-ingame-widget"],"enabledWidgetTabs":[32],"progress":[32],"isNew":[32],"isGift":[32],"isNotification":[32],"inProgressCount":[32],"activeChallenge":[32],"completedLevelId":[32],"prevUpdateEvent":[32],"showModal":[32],"modalErrored":[32],"modalReward":[32],"modalAddition":[32],"modalOrderNumber":[32],"modalLevelsCount":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[1,"touchmove","handleTouchMove"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"challenges":["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"handleClose":[16],"challenges":[16],"initialProgressId":[513,"initial-progress-id"],"enabledWidgetTabs":[16],"activeChallenge":[32],"activeProgressId":[32],"activeTabIndex":[32],"error":[32],"hasError":[32],"swipped":[32],"detailsSubPageInfo":[32],"progress":[32],"loading":[32],"notification":[32],"optOutModaIsOpen":[32],"isOptedOut":[32],"prevUpdateEvent":[32],"challengeGames":[32],"activeChallenges":[32],"pendingChallenges":[32],"promoChallenges":[32],"playerHistory":[32],"hasMorePlayerHistory":[32],"emptyState":[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"isOpen":["handleIsOpenChange"],"activeChallenge":["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"reward":[513],"addition":[516],"handleClick":[16],"errored":[516],"orderNumber":[514,"order-number"],"isFreeSpinsGranted":[516,"is-free-spins-granted"],"levelsCount":[514,"levels-count"],"bonusProgramGames":[16],"currentIndex":[32],"isMobile":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"bonusProgramGames":["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenge":[16],"isMobile":[516,"is-mobile"],"isUnique":[516,"is-unique"],"swipped":[516],"progress":[514],"activeChallengesTabIndex":[513,"active-challenges-tab-index"],"detailsSubPageInfo":[16],"isOptedOut":[516,"is-opted-out"],"challengeGames":[16],"swipping":[32],"actionLoading":[32],"error":[32],"isChallengePaused":[32],"timeLeft":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"progress":["onSwipeChange"],"challenge":["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[1,"casino-challenges-overlay-drawer-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"loading":[516],"hasMore":[516,"has-more"],"historyItems":[16],"openItems":[32],"pageSize":[32],"pageNumber":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"historyItems":["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"challenges":[16],"initialProgressId":[1,"initial-progress-id"],"activeTabIndex":[1,"active-tab-index"],"currentIndex":[32],"slideWidth":[32],"slideHeight":[32],"isOneSlide":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"currentIndex":["onCurrentIndexChange"],"challenges":["onChallengesChange"],"initialProgressId":["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{"empty":[4]}],[1,"casino-challenges-claim-code",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"isMobile":[516,"is-mobile"],"loading":[32],"hasError":[32],"code":[32],"notificationMessage":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{"header":[1],"description":[1],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{"fullSize":[4,"full-size"],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{"language":[513],"isMobile":[516,"is-mobile"],"activeTabIndex":[514,"active-tab-index"],"activeTabHasNotification":[516,"active-tab-has-notification"],"pendingTabHasNotification":[516,"pending-tab-has-notification"],"enabledWidgetTabs":[16]}],[4,"swipe-up",{"isMobile":[516,"is-mobile"],"isOneSlider":[516,"is-one-slider"],"progress":[32]},null,{"isOneSlider":["onIsOneSliderChange"],"progress":["onSwipeChange"]}],[0,"casino-challenge-details-levels",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isChallengePaused":[4,"is-challenge-paused"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-details-events",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[0,"casino-challenge-details-games",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"games":[16],"handleGameClick":[16]}],[0,"casino-challenge-details-progress-bar",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-drawer-history-item",{"language":[513],"index":[514],"historyItem":[16],"itemRef":[16],"isOpen":[4,"is-open"],"isMobile":[4,"is-mobile"],"toggle":[16]}],[1,"casino-challenges-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[516,"is-open"],"showWinAnimation":[516,"show-win-animation"],"showBackdrop":[516,"show-backdrop"],"showCloseButton":[516,"show-close-button"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{"challenge":[16],"index":[2],"arrLength":[2,"arr-length"],"currentIndex":[2,"current-index"],"language":[1],"isOptedOut":[4,"is-opted-out"],"slideWidth":[2,"slide-width"],"slideHeight":[2,"slide-height"],"timeLeft":[32]}],[4,"casino-challenge-expandable-paragraph",{"maxHeight":[2,"max-height"],"active":[4],"expanded":[32],"needsTruncation":[32]}],[0,"casino-challenge-level-progress-bar",{"height":[1],"active":[4],"value":[2]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;