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

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 +71 -44
  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 +71 -44
  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
@@ -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,10 +5374,11 @@ 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;
5355
5382
  if (!success) {
5356
5383
  this.handleSpinError();
5357
5384
  }
@@ -5443,13 +5470,13 @@ const CasinoEngagementSuiteLuckywheel = class {
5443
5470
  }
5444
5471
  render() {
5445
5472
  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) => {
5473
+ return (h("div", { key: '367a5a450ac76ff204a19dae3accd876489db2f7', class: `WheelContainer ${this.device}`, style: this.defineGeneralVariables() }, h("svg", { key: '495bb4100735d774acba268f74782e6229c96dc9', width: this.size, height: this.size, ref: (el) => {
5447
5474
  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) => {
5475
+ } }, h("foreignObject", { key: 'f3d621838e38e7dd137d3f503e981779e4d34902', ref: this.setSvgSize.bind(this), class: "Bottom Customable" }, h("div", { key: '0a121c4e34233d90c4d0ec779b7de72e2bbf7624', style: foreignObjectAgentProps })), h("g", Object.assign({ key: '59e52ed1e01bda791fca89e4a899fe145350e1b4', class: "PartitionsContainer" }, this.settings.getSpinnerProps()), h("g", { key: 'a4dd6e82848700b94dd4f339b728bd21fafd13d0', class: "PartitionsBackgrounds" }, this.options.map((_el, index) => {
5449
5476
  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) => {
5477
+ })), h("g", { key: '6ffd6236635e09d242c608184871ee80be9ff645', class: "PartitionsBackgroundStrokes" }, this.options.map((_el, index) => {
5451
5478
  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) => {
5479
+ })), h("g", { key: '7d293dfa6dfb6e1b3d72c7125f836e79f2603ff1', class: "Partitions", style: { filter: this.speed > 0.3 ? `blur(${this.speed}px)` : '' } }, this.options.map((el, index) => {
5453
5480
  return [
5454
5481
  el.Image && (h("g", { class: `PartitionImage PartitionImage${index}`, ref: (el) => this.renderImage(el, index) })),
5455
5482
  el.Name && (h("foreignObject", Object.assign({ class: "PartitionText", ref: (el) => {
@@ -5460,18 +5487,18 @@ const CasinoEngagementSuiteLuckywheel = class {
5460
5487
  }
5461
5488
  } }, this.settings.getSvgTextPropsAdjustedByImage(index)), h("div", { class: "PartitionTextEntityContainer" }, h("p", { class: `PartitionTextEntity${this.settings.contentdirection === 'clockwise' ? '' : ' Anticlockwise'}`, innerHTML: el.Name }))))
5462
5489
  ];
5463
- }))), h("g", { key: '7e3de34870e47efe6b734724a018efbd77ead91e', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable1: true } }, this.options.map((_el, index) => {
5490
+ }))), h("g", { key: 'fa191eda9c4cdb6f4606d0d6ee4c7806352254ce', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable1: true } }, this.options.map((_el, index) => {
5464
5491
  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) => {
5492
+ })), h("g", { key: 'eac9ca68af2ba9d48f14de4db2413f76e46ae01d', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable2: true } }, this.options.map((_el, index) => {
5466
5493
  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) => {
5494
+ })), h("foreignObject", { key: '93b00f644cf16b0aa9ca0bc3abd2d94b417fd1d8', ref: this.setSvgSize.bind(this), class: "Middle Customable", style: foreignObjectAgentProps }, h("div", { key: 'e52f4afc5296dcaeec3f13d30f90488081d53ff9', style: foreignObjectAgentProps })), h("foreignObject", { key: '962ba8b608688bdc2a12fc1c4026562de6cefbd7', ref: this.setSvgSize.bind(this), class: "Top Customable", style: foreignObjectAgentProps }, h("div", { key: '04c020535414106aa927839af04328cc7ac142c4', style: foreignObjectAgentProps })), h("g", { key: '31d7c14471d43ba1e6cbd20a8fc6d052a3a79f97', class: { spinning: this.isSpinning, Center: true } }, h("foreignObject", { key: 'df5c6082e8574d040e0b1d4a92e897977a2f4742', ref: (el) => {
5468
5495
  if (el) {
5469
5496
  el.setAttribute('width', '100');
5470
5497
  el.setAttribute('height', '100');
5471
5498
  }
5472
5499
  }, style: {
5473
5500
  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) => {
5501
+ } }, h("div", { key: '033be93fc85fc556fb9f617b7353b16879dff5e8', style: { width: '100px', height: '100px', cursor: 'pointer' }, onClick: this.eventSpin }))), h("g", { key: 'f95b7a08640ab6317b3ede93aa673f4fce1c41ee' }, this.options.map((_el, index) => {
5475
5502
  return (h("clipPath", { id: `clip${index}` }, h("path", Object.assign({}, this.settings.getPartitionDraw(index)))));
5476
5503
  })))));
5477
5504
  }
@@ -5698,7 +5725,7 @@ const TRANSLATIONS$1 = {
5698
5725
  new: 'new',
5699
5726
  noluckywheels: 'No Unlocked LuckyWheel',
5700
5727
  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',
5728
+ tooltip: 'Get a chance to win rewards by spinning the wheel!',
5702
5729
  history: 'History',
5703
5730
  rewards: 'Rewards',
5704
5731
  issued: 'Issued',
@@ -5729,7 +5756,8 @@ const getTranslations = (url) => {
5729
5756
  }
5730
5757
  });
5731
5758
  resolve(TRANSLATIONS$1);
5732
- }).catch(err => {
5759
+ })
5760
+ .catch((err) => {
5733
5761
  reject(err);
5734
5762
  });
5735
5763
  });
@@ -5797,7 +5825,9 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5797
5825
  .then((res) => res.text())
5798
5826
  .then((data) => {
5799
5827
  cssFile.innerHTML = data;
5800
- setTimeout(() => { this.host.prepend(cssFile); }, 1);
5828
+ setTimeout(() => {
5829
+ this.host.prepend(cssFile);
5830
+ }, 1);
5801
5831
  })
5802
5832
  .catch((err) => {
5803
5833
  console.log('Error ', err);
@@ -5819,14 +5849,14 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5819
5849
  this.tooltip = false;
5820
5850
  };
5821
5851
  this.handleTabChange = (e) => {
5822
- this.activeTab = +(e.target.getAttribute('data-index'));
5852
+ this.activeTab = +e.target.getAttribute('data-index');
5823
5853
  if (this.activeTab === 2) {
5824
5854
  this.sendHistoryRequest();
5825
5855
  }
5826
5856
  };
5827
5857
  this.toggleLuckyWheelHistory = (ev) => {
5828
5858
  const id = ev.currentTarget.getAttribute('data-id');
5829
- const index = this.openedHistoryIds.findIndex(historyId => historyId === id);
5859
+ const index = this.openedHistoryIds.findIndex((historyId) => historyId === id);
5830
5860
  if (index > -1) {
5831
5861
  this.openedHistoryIds = this.openedHistoryIds.filter((historyId) => historyId !== id);
5832
5862
  }
@@ -5903,8 +5933,9 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5903
5933
  updateTimers() {
5904
5934
  const now = new Date().getTime();
5905
5935
  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();
5936
+ var _a, _b;
5937
+ const endTime = ((_a = luckywheel.Current) === null || _a === void 0 ? void 0 : _a.ExpiryTime) || ((_b = luckywheel.Program) === null || _b === void 0 ? void 0 : _b.Time);
5938
+ const expirationDate = new Date(endTime).getTime();
5908
5939
  const diff = expirationDate - now;
5909
5940
  let countdown = '00h:00m:00s';
5910
5941
  if (diff < 1) {
@@ -5917,9 +5948,7 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5917
5948
  minutes: String(Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60))).padStart(2, '0'),
5918
5949
  seconds: String(Math.floor((diff % (1000 * 60)) / 1000)).padStart(2, '0')
5919
5950
  };
5920
- countdown = days === '00'
5921
- ? `${hours}h:${minutes}m:${seconds}s`
5922
- : `${days}d:${hours}h:${minutes}m`;
5951
+ countdown = days === '00' ? `${hours}h:${minutes}m:${seconds}s` : `${days}d:${hours}h:${minutes}m`;
5923
5952
  }
5924
5953
  return Object.assign(Object.assign({}, acc), { [luckywheel.Program.Id]: countdown });
5925
5954
  }, {});
@@ -5934,7 +5963,7 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5934
5963
  window.postMessage({
5935
5964
  type: 'LuckywheelHistoryRequest',
5936
5965
  data: {
5937
- lotteryProgramID: luckyWheel.Program.Id,
5966
+ lotteryProgramID: luckyWheel.Program.Id
5938
5967
  }
5939
5968
  });
5940
5969
  });
@@ -5951,49 +5980,47 @@ const CasinoEngagementSuiteLuckyWheelList = class {
5951
5980
  }
5952
5981
  getLuckyWheelHeaderTemplate(luckywheel) {
5953
5982
  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)))));
5983
+ 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
5984
  }
5956
5985
  getLuckyWheelTemplate(luckywheel, index) {
5957
5986
  const countdown = this.timers[luckywheel.Program.Id];
5958
5987
  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
5988
  }
5960
5989
  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 }));
5990
+ 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
5991
  }
5963
5992
  getListTemplate() {
5964
5993
  if (this.isLoading) {
5965
5994
  return h("general-animation-loading", null);
5966
5995
  }
5967
5996
  if (this.luckyWheels.length) {
5968
- return h("div", { class: "LuckyWheelsListWrapper" }, h("div", { class: "LuckyWheelsList" }, this.luckyWheels.map((luckywheel, index) => this.getLuckyWheelTemplate(luckywheel, index))));
5997
+ return (h("div", { class: "LuckyWheelsListWrapper" }, h("div", { class: "LuckyWheelsList" }, this.luckyWheels.map((luckywheel, index) => this.getLuckyWheelTemplate(luckywheel, index)))));
5969
5998
  }
5970
5999
  else {
5971
- return h("div", { class: "LuckyWheelsListEmpty" }, h("h2", null, translate$1('noluckywheels', this.language)), h("p", null, translate$1('tryOtherGames', this.language)));
6000
+ return (h("div", { class: "LuckyWheelsListEmpty" }, h("h2", null, translate$1('noluckywheels', this.language)), h("p", null, translate$1('tryOtherGames', this.language))));
5972
6001
  }
5973
6002
  }
5974
6003
  getTooltipTemplate() {
5975
6004
  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)));
6005
+ return (h("div", { class: "EngagementSuiteTooltipBackdrop" }, h("div", { class: "EngagementSuiteTooltip" }, h("button", { class: "EngagementSuiteIconButton Close", onClick: this.hideTooltip }), translate$1('tooltip', this.language))));
5977
6006
  }
5978
6007
  else {
5979
6008
  return '';
5980
6009
  }
5981
6010
  }
5982
6011
  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))));
6012
+ 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
6013
  }
5985
6014
  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
6015
+ 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
6016
  ? getHistoryLoaderTemplate(this.language)
5988
- : getLuckyWheelsHistoryTemplate(this.luckyWheels, this.luckywheelHistory, this.openedHistoryIds, this.toggleLuckyWheelHistory, this.language));
6017
+ : getLuckyWheelsHistoryTemplate(this.luckyWheels, this.luckywheelHistory, this.openedHistoryIds, this.toggleLuckyWheelHistory, this.language)));
5989
6018
  }
5990
6019
  getTabsContentTemplate() {
5991
- return this.activeTab === 1
5992
- ? this.getListTemplate()
5993
- : this.getHistoryTabTemplate();
6020
+ return this.activeTab === 1 ? this.getListTemplate() : this.getHistoryTabTemplate();
5994
6021
  }
5995
6022
  render() {
5996
- return h("div", { key: '1cf093e57c0baf84d3ab42d9ec95624a0373629c', class: `LuckyWheelsListPopup ${this.device}` }, this.getHeaderTemplate(), this.getTabsTemplate(), this.getTabsContentTemplate(), this.getTooltipTemplate());
6023
+ return (h("div", { key: '0286500986b71786315f4b0d4860e6bf0069fa0e', class: `LuckyWheelsListPopup ${this.device}` }, this.getHeaderTemplate(), this.getTabsTemplate(), this.getTabsContentTemplate(), this.getTooltipTemplate()));
5997
6024
  }
5998
6025
  get host() { return getElement(this); }
5999
6026
  static get watchers() { return {
@@ -6188,9 +6215,9 @@ const CasinoEngagementSuiteModalContainer = class {
6188
6215
  }
6189
6216
  render() {
6190
6217
  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
6218
+ 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
6219
  ? 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")))));
6220
+ : 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
6221
  }
6195
6222
  get host() { return getElement(this); }
6196
6223
  };
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["casino-engagement-suite-bar_17",[[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",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"locale":[32]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton",[[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",[[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",[[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);
19
+ return bootstrapLazy([["casino-engagement-suite-bar_17",[[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",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"locale":[32]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton",[[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",[[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",[[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);
20
20
  });
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["casino-engagement-suite-bar_17",[[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",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"locale":[32]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton",[[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",[[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",[[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);
8
+ return bootstrapLazy([["casino-engagement-suite-bar_17",[[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",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"locale":[32]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton",[[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",[[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",[[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);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -72,6 +72,7 @@ export declare class CasinoEngagementSuiteContainer {
72
72
  selectedLuckyWheelId: string;
73
73
  selectedLuckyWheelIndex: number;
74
74
  barHeight: number;
75
+ lastTicketRemainingTimestamp: number;
75
76
  host: HTMLElement;
76
77
  openModal: EventEmitter<OpenModalEvent>;
77
78
  closeModal: EventEmitter<string>;
@@ -24,6 +24,7 @@ export interface TicketRemainingResultEvent {
24
24
  }
25
25
  export interface TicketResultMessage {
26
26
  msgType: string;
27
+ timestamp: string;
27
28
  items: TicketRemainingItem[];
28
29
  }
29
30
  export interface TicketRemainingItem {
@@ -103,6 +104,7 @@ export interface Challenge {
103
104
  export type Tournaments = any;
104
105
  export interface ChallengeProgressUpdateMessage {
105
106
  ChallengeId: string;
107
+ ProgressId: string;
106
108
  Status: ChallengeProgressStatus;
107
109
  Levels: Array<LevelProgress>;
108
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-engagement-suite-container",
3
- "version": "1.70.1",
3
+ "version": "1.71.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",