@everymatrix/casino-challenges-overlay 0.22.29 → 0.22.30

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.
@@ -8,6 +8,7 @@ const casinoChallengesOverlay = require('./casino-challenges-overlay-c00e3b15.js
8
8
  const DEFAULT_LANGUAGE$3 = 'en';
9
9
  const TRANSLATIONS$3 = {
10
10
  en: {
11
+ level: 'Level',
11
12
  levels: 'Levels',
12
13
  seeAll: 'See All',
13
14
  games: 'Games',
@@ -2638,7 +2639,7 @@ const CasinoChallengeDetailsLevels = class {
2638
2639
  }
2639
2640
  render() {
2640
2641
  var _a, _b;
2641
- return (index.h(index.Host, { key: '6fb977a939b727af9277cd332ff105be64cb7f00' }, index.h("div", { key: '99dbdaadc719c8b4b6fd52586bd76ee19a9ae5c3', class: { Mobile: this.isMobile, 'levels-tab tab': true, visible: this.open }, ref: (el) => (this.scrollContainerRef = el) }, (_b = (_a = this.challenge) === null || _a === void 0 ? void 0 : _a.LevelProgresses) === null || _b === void 0 ? void 0 : _b.map((level, index$1) => {
2642
+ return (index.h(index.Host, { key: '38d0f55c09671b1e45d72d1f563325b0c8d726ac' }, index.h("div", { key: 'd18394482ac2ec1a2fc52d08dd5660f5ecef7ad2', class: { Mobile: this.isMobile, 'levels-tab tab': true, visible: this.open }, ref: (el) => (this.scrollContainerRef = el) }, (_b = (_a = this.challenge) === null || _a === void 0 ? void 0 : _a.LevelProgresses) === null || _b === void 0 ? void 0 : _b.map((level, index$1) => {
2642
2643
  var _a, _b, _c, _d, _e, _f, _g, _h;
2643
2644
  const activeChallenge = [0, 1, 2, 3].includes((_a = this === null || this === void 0 ? void 0 : this.challenge) === null || _a === void 0 ? void 0 : _a.Status) && !this.isChallengePaused;
2644
2645
  const isGrayed = ((_b = this.challenge) === null || _b === void 0 ? void 0 : _b.Status) === EChallengeProgressStatus$2.Forfeited ||
@@ -2659,7 +2660,7 @@ const CasinoChallengeDetailsLevels = class {
2659
2660
  completed: activeChallenge && level.ProgressStatus === EChallengeProgressLevelStatus$2.Completed
2660
2661
  }, ref: isActiveMatch ? (el) => (this.activeEntityRef = el) : undefined, key: level.LevelId }, index.h("div", { class: {
2661
2662
  level__title: true
2662
- } }, index.h("span", null, "Level ", index$1 + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language, true)), level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && (index.h("div", { class: "level__progress" }, index.h("casino-challenge-level-progress-bar", { height: "8px", value: level.ProgressPercentage, active: activeChallenge }))), index.h("casino-challenge-expandable-paragraph", { "max-height": "42", active: level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && activeChallenge, style: { width: '100%' } }, index.h("div", { class: {
2663
+ } }, index.h("span", null, translate$3('level', this.language), " ", index$1 + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language, true)), level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && (index.h("div", { class: "level__progress" }, index.h("casino-challenge-level-progress-bar", { height: "8px", value: level.ProgressPercentage, active: activeChallenge }))), index.h("casino-challenge-expandable-paragraph", { "max-height": "42", active: level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && activeChallenge, style: { width: '100%' } }, index.h("div", { class: {
2663
2664
  level__bonus: true
2664
2665
  } }, index.h("span", { class: "level__icon" }, index.h("img", { class: {
2665
2666
  grayed: isGrayed
@@ -2860,15 +2861,16 @@ const CasinoChallengeDetailsRules = class {
2860
2861
  return `${(_a = range.Min) !== null && _a !== void 0 ? _a : fallbackMin} - ${(_b = range.Max) !== null && _b !== void 0 ? _b : this.maxSelections}`;
2861
2862
  }
2862
2863
  render() {
2863
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
2864
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
2864
2865
  const contributionType = this.getContributionType((_a = this.challenge) === null || _a === void 0 ? void 0 : _a.ContributedBy);
2865
2866
  const contributionRule = this.getContributionRule((_b = this.challenge) === null || _b === void 0 ? void 0 : _b.IsContributeToOne);
2866
2867
  const isSportsbook = ((_c = this.challenge) === null || _c === void 0 ? void 0 : _c.ContributedFrom) === EContributedFrom$1.Sportsbook;
2867
2868
  const challengeStatusIsAllowedToOptOut = !(((_d = this.challenge) === null || _d === void 0 ? void 0 : _d.Status) === EChallengeProgressStatus$2.Started ||
2868
- ((_e = this.challenge) === null || _e === void 0 ? void 0 : _e.Status) === EChallengeProgressStatus$2.Awaiting);
2869
+ ((_e = this.challenge) === null || _e === void 0 ? void 0 : _e.Status) === EChallengeProgressStatus$2.Awaiting ||
2870
+ ((_f = this.challenge) === null || _f === void 0 ? void 0 : _f.Status) === EChallengeProgressStatus$2.Expired);
2869
2871
  const showOptOutBlock = this.challenge && challengeStatusIsAllowedToOptOut && !this.isOptedOut;
2870
- return (index.h(index.Host, { key: 'c4dce2f118ce8a523d2703e424668d28de9b9bf6' }, index.h("div", { key: '5dd54a92df2a03dbbd9a6583319320cc1982533b', class: { Mobile: this.isMobile, 'rules-tab tab': true, visible: this.open } }, ((_g = (_f = this.challenge) === null || _f === void 0 ? void 0 : _f.ChallengePresentation) === null || _g === void 0 ? void 0 : _g.Description) && (index.h("div", { key: '4619713bb49ea183f8cf55af051dec08a2e056ad', class: "rule" }, (_j = (_h = this.challenge) === null || _h === void 0 ? void 0 : _h.ChallengePresentation) === null || _j === void 0 ? void 0 : _j.Description)), (((_l = (_k = this.challenge) === null || _k === void 0 ? void 0 : _k.ChallengePresentation) === null || _l === void 0 ? void 0 : _l.RulesDescription) || ((_o = (_m = this.challenge) === null || _m === void 0 ? void 0 : _m.ChallengePresentation) === null || _o === void 0 ? void 0 : _o.Url)) && (index.h("div", { key: '6cec965970c1a80131b094f903b8d2f346eac5cb' }, index.h("div", { key: 'dc1103122815b53279eb25e9a386d99f1c86d351', class: "contribution" }, index.h("span", { key: 'c1e33c5f7b639084b061270ca3a30ca58e697995', class: "contribution__label" }, translate$3('terms', this.language))), ((_q = (_p = this.challenge) === null || _p === void 0 ? void 0 : _p.ChallengePresentation) === null || _q === void 0 ? void 0 : _q.RulesDescription) && (index.h("span", { key: '13d2f91062d5874d3e46593dd95b27676e2e58f9', class: "contribution__value" }, (_s = (_r = this.challenge) === null || _r === void 0 ? void 0 : _r.ChallengePresentation) === null || _s === void 0 ? void 0 : _s.RulesDescription)), ((_u = (_t = this.challenge) === null || _t === void 0 ? void 0 : _t.ChallengePresentation) === null || _u === void 0 ? void 0 : _u.RulesDescription) &&
2871
- ((_w = (_v = this.challenge) === null || _v === void 0 ? void 0 : _v.ChallengePresentation) === null || _w === void 0 ? void 0 : _w.Url) && index.h("br", { key: '25773b8d2db9be49850e12d2118be8cfe3b988ec' }), ((_y = (_x = this.challenge) === null || _x === void 0 ? void 0 : _x.ChallengePresentation) === null || _y === void 0 ? void 0 : _y.Url) && (index.h("a", { key: '2e37b83aef992fe18dcc30e34b287f6eeb293a6e', class: "link", href: (_0 = (_z = this.challenge) === null || _z === void 0 ? void 0 : _z.ChallengePresentation) === null || _0 === void 0 ? void 0 : _0.Url, target: "_blank" }, translate$3('readFullTerms', this.language), index.h("img", { key: 'be96d5dfa751d50f0a9623482bcf32628cb1eafc', class: "icon", src: termAndConditionSvg$1 }))))), showOptOutBlock && (index.h("div", { key: '7af3705fab2ca7b0d1f2cf476cbda3f043e86f0e' }, index.h("span", { key: '4df7f8bae982b637c0536b713a158e488b1172c2', class: "contribution__value" }, translate$3('optOutLeavingText', this.language)), index.h("button", { key: 'e6763046ea7aeb0f12545a49d40ac7ddaa2f96f8', class: "opt-out-button", onClick: this.handleOpenOptOutModal }, translate$3('optOutLeavingActionText', this.language), index.h("img", { key: '7fa72591eff78c3f3973563718e4d0be3404c1c7', class: "icon", src: optOutSvg$1 })))), !isSportsbook && contributionType && (index.h("div", { key: '892f2e3905c7350c3479592c67e4368ec86d162e' }, index.h("div", { key: 'a3d8ed0446fd0dc2bdbf715d724ef412162a6bb1', class: "contribution" }, index.h("span", { key: 'cd9a75a70f1a63755dbfb3d4be066b1ac113379f', class: "contribution__label" }, translate$3('contributionType', this.language))), index.h("span", { key: '9ae3b22059bc68ed8fdc0932fa25829e832215b3', class: "contribution__value" }, contributionType))), !isSportsbook && contributionRule && (index.h("div", { key: '868b1c6cd76d90143bc8e9fb9165d057eedf87a2' }, index.h("div", { key: '90cc0030d6b9be50fcb3e37f71dc9ae1e4c95d96', class: "contribution" }, index.h("span", { key: 'b7c26cd5f1d3ebda6a09c570af6ead14376c6923', class: "contribution__label" }, translate$3('contributionTo', this.language))), index.h("span", { key: '20ba13ac30a8d0b2c7b646c82b8380606f51f4e3', class: "contribution__value" }, contributionRule))), isSportsbook && this.renderSportsbookRules())));
2872
+ return (index.h(index.Host, { key: '999dc6255c4f961131ec75ef02a6e96bccb69e5c' }, index.h("div", { key: 'fd6e0582802c7712d005059ec429557926227b90', class: { Mobile: this.isMobile, 'rules-tab tab': true, visible: this.open } }, ((_h = (_g = this.challenge) === null || _g === void 0 ? void 0 : _g.ChallengePresentation) === null || _h === void 0 ? void 0 : _h.Description) && (index.h("div", { key: '65ebd8166dbfd7478da75d2578498c34977882d9', class: "rule" }, (_k = (_j = this.challenge) === null || _j === void 0 ? void 0 : _j.ChallengePresentation) === null || _k === void 0 ? void 0 : _k.Description)), (((_m = (_l = this.challenge) === null || _l === void 0 ? void 0 : _l.ChallengePresentation) === null || _m === void 0 ? void 0 : _m.RulesDescription) || ((_p = (_o = this.challenge) === null || _o === void 0 ? void 0 : _o.ChallengePresentation) === null || _p === void 0 ? void 0 : _p.Url)) && (index.h("div", { key: 'a3aca038f5841561c291aa51b42cb1f62ec03b93' }, index.h("div", { key: 'e9ead5a1c6297460cf0748ebe5d63fb25cf0098e', class: "contribution" }, index.h("span", { key: '1a19a8535929be02070c05fe1451ac81658dc72a', class: "contribution__label" }, translate$3('terms', this.language))), ((_r = (_q = this.challenge) === null || _q === void 0 ? void 0 : _q.ChallengePresentation) === null || _r === void 0 ? void 0 : _r.RulesDescription) && (index.h("span", { key: '2e92b57ed1eefcfc7befae426d01406d6d6f73bf', class: "contribution__value" }, (_t = (_s = this.challenge) === null || _s === void 0 ? void 0 : _s.ChallengePresentation) === null || _t === void 0 ? void 0 : _t.RulesDescription)), ((_v = (_u = this.challenge) === null || _u === void 0 ? void 0 : _u.ChallengePresentation) === null || _v === void 0 ? void 0 : _v.RulesDescription) &&
2873
+ ((_x = (_w = this.challenge) === null || _w === void 0 ? void 0 : _w.ChallengePresentation) === null || _x === void 0 ? void 0 : _x.Url) && index.h("br", { key: '0367fbdedc6dcc9a8511af9570e5ea96f212e3c2' }), ((_z = (_y = this.challenge) === null || _y === void 0 ? void 0 : _y.ChallengePresentation) === null || _z === void 0 ? void 0 : _z.Url) && (index.h("a", { key: 'e23882b0aa1ed9e6a10d002d910bdd3283123f66', class: "link", href: (_1 = (_0 = this.challenge) === null || _0 === void 0 ? void 0 : _0.ChallengePresentation) === null || _1 === void 0 ? void 0 : _1.Url, target: "_blank" }, translate$3('readFullTerms', this.language), index.h("img", { key: '6b63c9ec6e15409cd10955f722e78005b0ed1a68', class: "icon", src: termAndConditionSvg$1 }))))), showOptOutBlock && (index.h("div", { key: 'c5e0ea8674bdb2e55cfff1dbbda1e055ddecc415' }, index.h("span", { key: 'c41478c3a0f552e2e6cd306ade61b7b14e3cc755', class: "contribution__value" }, translate$3('optOutLeavingText', this.language)), index.h("button", { key: '05c58b4be1c252410dd1657ac6de3b93ad0c8ed7', class: "opt-out-button", onClick: this.handleOpenOptOutModal }, translate$3('optOutLeavingActionText', this.language), index.h("img", { key: 'a9c6ee80398b27616661a739f8b7544ff8a7eb1d', class: "icon", src: optOutSvg$1 })))), !isSportsbook && contributionType && (index.h("div", { key: 'dbe7d00f854991603c8bd85f7b3b5dfb3ffdb358' }, index.h("div", { key: 'd15492372af6650fa525b97c6ecab55de630808d', class: "contribution" }, index.h("span", { key: 'c787dd700d182bec7071b58adca2d94af8abe0d8', class: "contribution__label" }, translate$3('contributionType', this.language))), index.h("span", { key: 'b54db077b10ce9945087274fb7e32952a0809abe', class: "contribution__value" }, contributionType))), !isSportsbook && contributionRule && (index.h("div", { key: '098703502cb74608fcbafcf08c34d21d20549324' }, index.h("div", { key: '7a095076bcc9dc5471efc0e7a82d53e1544b344f', class: "contribution" }, index.h("span", { key: '314dddbea5c85f3085c3eb8dcf1f22c369f47285', class: "contribution__label" }, translate$3('contributionTo', this.language))), index.h("span", { key: '8107dbe7bc6ff330ab2690329869c640a7c9a208', class: "contribution__value" }, contributionRule))), isSportsbook && this.renderSportsbookRules())));
2872
2874
  }
2873
2875
  };
2874
2876
  CasinoChallengeDetailsRules.style = CasinoChallengeDetailsRulesStyle0;
@@ -3137,16 +3139,16 @@ const CasinoChallengeDrawerHistoryItem = class {
3137
3139
  this.toggle = undefined;
3138
3140
  }
3139
3141
  renderLevel(level) {
3140
- return (index.h("div", { class: "level-container" }, index.h("div", { class: "row" }, index.h("span", { class: "col-1" }, `${translate$2('level', this.language)} ${level.OrderNumber + 1}`), index.h("span", { class: `col-1 ${level.Status === EHistoryItemLevelStatus.Forfeited ? 'errored' : ''}` }, HistoryItemLevelStatusDictionary[level.Status]), index.h("span", { class: "col-2" }, format(new Date(level.Time), 'dd/MM/yy HH:mm'))), (level === null || level === void 0 ? void 0 : level.CustomRewardMessage) && (index.h("p", { class: {
3142
+ return (index.h("div", { class: "level-container" }, index.h("div", { class: "row" }, index.h("span", { class: "col-1" }, `${translate$2('level', this.language)} ${level.OrderNumber + 1}`), index.h("span", { class: `col-1 ${level.Status === EHistoryItemLevelStatus.Forfeited ? 'errored' : ''}` }, translate$2(HistoryItemLevelStatusDictionary[level.Status].toLowerCase(), this.language)), index.h("span", { class: "col-2" }, format(new Date(level.Time), 'dd/MM/yy HH:mm'))), (level === null || level === void 0 ? void 0 : level.CustomRewardMessage) && (index.h("p", { class: {
3141
3143
  reward: true,
3142
3144
  grayed: level.Status !== EHistoryItemLevelStatus.Completed
3143
3145
  } }, index.h("img", { src: giftSvg }), level.CustomRewardMessage))));
3144
3146
  }
3145
3147
  render() {
3146
- return (index.h(index.Host, { key: '3c2f60d4327d6443ca1532f0a16e38759b1920a0' }, index.h("div", { key: '3d15e6158e3a73ef152b2a9e6d6e1fcf667660a3', class: {
3148
+ return (index.h(index.Host, { key: 'e0a9787fe6ca7f813371ed8d313c88ee0f414403' }, index.h("div", { key: '95cc16f9f9079f92e23193355c3b66b172e36049', class: {
3147
3149
  Mobile: this.isMobile,
3148
3150
  item: true
3149
- }, ref: this.itemRef }, index.h("div", { key: '9168effe013361bd306bf1492ff969835756580d', class: "header", onClick: () => this.toggle(this.index) }, index.h("div", { key: '33352fda7db60cea64dbb24ff192d27e4fa24d25' }, index.h("img", { key: '99e5e51289998b491053e0a8766ba0aad43c080e', class: "banner", src: this.historyItem.BannerUrl }), index.h("span", { key: '1dec9ee7ee974905932e4f0da87e22d67944b231' }, this.historyItem.Name)), index.h("div", { key: '312f60f7dfc7cebdc04235caad2e8a012081771b', class: "arrow" }, index.h("img", { key: 'd51d098309ca5ad9919d0ed2eee4999522f8575f', src: this.isOpen ? arrowUpSvg : arrowDownSvg }))), index.h("div", { key: '0b11a490354c07fad1ba52f32d167843846f5039', class: { open: this.isOpen, content: true } }, this.historyItem.TermsAndConditionsUrl && (index.h("a", { key: 'ae6594e99b8e6ce8317cdd35cf7c5efe239dff2b', class: "terms", href: this.historyItem.TermsAndConditionsUrl, target: "_blank" }, translate$2('terms', this.language), index.h("img", { key: '2e038f21be58716ee39d82c309e04880fb93014b', class: "icon", src: termAndConditionSvg }))), index.h("div", { key: '69764d2b8512ab92fcebe4c009ccee12d2420d57', class: "row list-header" }, index.h("span", { key: '4b79c7f4b6eb250b55355c97397d3ea290f625f7', class: "col-1" }, translate$2('level', this.language)), index.h("span", { key: 'f2255accb2edc572e554d729012404de19075e14', class: "col-1" }, translate$2('status', this.language)), index.h("span", { key: '337106504f623e789cb77353b77ad2869a7d28f7', class: "col-2" }, translate$2('time', this.language))), this.historyItem.Levels.map((level) => this.renderLevel(level))))));
3151
+ }, ref: this.itemRef }, index.h("div", { key: '291a11ae81b58d63f5929ef05bbff14beb49e3ad', class: "header", onClick: () => this.toggle(this.index) }, index.h("div", { key: '0446ba59379bfc1e52d3d047d79cba0c8131c266' }, index.h("img", { key: '996a0b1220a369f1938a0718fc53ad11c99ed90b', class: "banner", src: this.historyItem.BannerUrl }), index.h("span", { key: 'b6156328db55a18fa03841c3a1e30e86e2c6cfc1' }, this.historyItem.Name)), index.h("div", { key: '8c6eb3ed86c4d1e76409c3d77965345552c1ec1d', class: "arrow" }, index.h("img", { key: '92088c8b52a720acd1ba6a2a381d7ed1daba35ab', src: this.isOpen ? arrowUpSvg : arrowDownSvg }))), index.h("div", { key: '32c777a82327bf1baa6291680524173051453ad1', class: { open: this.isOpen, content: true } }, this.historyItem.TermsAndConditionsUrl && (index.h("a", { key: '3076334cd66fc1807622653512b7efd8d8452161', class: "terms", href: this.historyItem.TermsAndConditionsUrl, target: "_blank" }, translate$2('terms', this.language), index.h("img", { key: 'e627075d67ff1541b70eaf7c106cb1c58d1f6f92', class: "icon", src: termAndConditionSvg }))), index.h("div", { key: 'd0f6546aef8b70b455658d2eda20ca65379255fd', class: "row list-header" }, index.h("span", { key: 'ebd7cf3409c7962b9484d6dd6113505063ed8dc5', class: "col-1" }, translate$2('level', this.language)), index.h("span", { key: '6813ef88b6615d02c8b6fa0b7d1870a3eb814189', class: "col-1" }, translate$2('status', this.language)), index.h("span", { key: '7a516c198c5579c942f57af8a883736022f58813', class: "col-2" }, translate$2('time', this.language))), this.historyItem.Levels.map((level) => this.renderLevel(level))))));
3150
3152
  }
3151
3153
  };
3152
3154
  CasinoChallengeDrawerHistoryItem.style = CasinoChallengeDrawerHistoryItemStyle0;
@@ -3780,8 +3782,8 @@ const CasinoChallengesOverlayDrawer = class {
3780
3782
  setTimeout(() => (this.notification = null), 10000);
3781
3783
  };
3782
3784
  this.renderNotification = () => {
3783
- var _a, _b, _c;
3784
- return (index.h("div", { class: `notification ${((_a = this.notification) === null || _a === void 0 ? void 0 : _a.errored) ? 'errored' : ''}` }, index.h("div", { class: "row" }, index.h("img", { src: ((_b = this.notification) === null || _b === void 0 ? void 0 : _b.errored) ? errorSvg : checkSvg$1, class: "notification__icon", alt: "" }), index.h("p", { class: "notification__message" }, (_c = this.notification) === null || _c === void 0 ? void 0 : _c.message))));
3785
+ var _a, _b, _c, _d, _e, _f;
3786
+ return (index.h("div", { class: `notification ${((_a = this.notification) === null || _a === void 0 ? void 0 : _a.errored) ? 'errored' : ''}` }, index.h("div", { class: "row" }, index.h("img", { src: ((_b = this.notification) === null || _b === void 0 ? void 0 : _b.errored) ? errorSvg : checkSvg$1, class: "notification__icon", alt: "" }), index.h("p", { class: "notification__message" }, (_e = translate$2((_d = (_c = this.notification) === null || _c === void 0 ? void 0 : _c.message) !== null && _d !== void 0 ? _d : '', this.language)) !== null && _e !== void 0 ? _e : (_f = this.notification) === null || _f === void 0 ? void 0 : _f.message))));
3785
3787
  };
3786
3788
  this.renderHeader = (isMobile) => {
3787
3789
  return (index.h("div", null, index.h("h1", { class: "challenges__drawer__title" }, index.h("span", null, translate$2('title', this.language)), index.h("button", { class: "challenges__drawer__close", onClick: this.onCloseClick }, index.h("img", { src: crossSvg$1, alt: "" }))), this.enabledWidgetTabs.length > 0 && (index.h("casino-challenges-overlay-tabs", { onTabClick: this.handleTabClick, activeTabIndex: this.activeTabIndex, activeTabHasNotification: false, pendingTabHasNotification: false, language: this.language, "is-mobile": isMobile, enabledWidgetTabs: this.enabledWidgetTabs }))));
@@ -4677,7 +4679,7 @@ const CasinoChallengesOverlayDrawerDetails = class {
4677
4679
  }, ref: isActiveMatch ? (el) => (this.activeEntityRef = el) : undefined, key: level.LevelId }, index.h("div", { class: {
4678
4680
  level__title: true,
4679
4681
  grayed: isGrayed
4680
- } }, index.h("span", null, "Level ", index$1 + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language)), index.h("div", { class: {
4682
+ } }, index.h("span", null, translate$3('level', this.language), " ", index$1 + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language)), index.h("div", { class: {
4681
4683
  level__bonus: true
4682
4684
  } }, index.h("span", { class: "level__icon" }, index.h("img", { class: {
4683
4685
  grayed: isGrayed
@@ -4760,7 +4762,7 @@ const CasinoChallengesOverlayDrawerDetails = class {
4760
4762
  var _a, _b;
4761
4763
  const fullScreen = (this.swipping && this.progress > 0) || ((_a = this.detailsSubPageInfo) === null || _a === void 0 ? void 0 : _a.open);
4762
4764
  const footerIsVisible = !this.isMobile || (this.isMobile && fullScreen);
4763
- return (index.h("div", { key: '0beed74aabeaa6b3ac22919bcdf405fec48e20f7', class: {
4765
+ return (index.h("div", { key: '4f93fbbfc5748b9ddd3d394636735aa20996eff9', class: {
4764
4766
  Mobile: this.isMobile,
4765
4767
  swipped: (this.isMobile && this.swipping && this.progress > 0) || !this.isMobile,
4766
4768
  moved: this.progress > 0,
@@ -5,6 +5,7 @@ export { C as casino_challenges_overlay } from './casino-challenges-overlay-8a76
5
5
  const DEFAULT_LANGUAGE$3 = 'en';
6
6
  const TRANSLATIONS$3 = {
7
7
  en: {
8
+ level: 'Level',
8
9
  levels: 'Levels',
9
10
  seeAll: 'See All',
10
11
  games: 'Games',
@@ -2635,7 +2636,7 @@ const CasinoChallengeDetailsLevels = class {
2635
2636
  }
2636
2637
  render() {
2637
2638
  var _a, _b;
2638
- return (h(Host, { key: '6fb977a939b727af9277cd332ff105be64cb7f00' }, h("div", { key: '99dbdaadc719c8b4b6fd52586bd76ee19a9ae5c3', class: { Mobile: this.isMobile, 'levels-tab tab': true, visible: this.open }, ref: (el) => (this.scrollContainerRef = el) }, (_b = (_a = this.challenge) === null || _a === void 0 ? void 0 : _a.LevelProgresses) === null || _b === void 0 ? void 0 : _b.map((level, index) => {
2639
+ return (h(Host, { key: '38d0f55c09671b1e45d72d1f563325b0c8d726ac' }, h("div", { key: 'd18394482ac2ec1a2fc52d08dd5660f5ecef7ad2', class: { Mobile: this.isMobile, 'levels-tab tab': true, visible: this.open }, ref: (el) => (this.scrollContainerRef = el) }, (_b = (_a = this.challenge) === null || _a === void 0 ? void 0 : _a.LevelProgresses) === null || _b === void 0 ? void 0 : _b.map((level, index) => {
2639
2640
  var _a, _b, _c, _d, _e, _f, _g, _h;
2640
2641
  const activeChallenge = [0, 1, 2, 3].includes((_a = this === null || this === void 0 ? void 0 : this.challenge) === null || _a === void 0 ? void 0 : _a.Status) && !this.isChallengePaused;
2641
2642
  const isGrayed = ((_b = this.challenge) === null || _b === void 0 ? void 0 : _b.Status) === EChallengeProgressStatus$2.Forfeited ||
@@ -2656,7 +2657,7 @@ const CasinoChallengeDetailsLevels = class {
2656
2657
  completed: activeChallenge && level.ProgressStatus === EChallengeProgressLevelStatus$2.Completed
2657
2658
  }, ref: isActiveMatch ? (el) => (this.activeEntityRef = el) : undefined, key: level.LevelId }, h("div", { class: {
2658
2659
  level__title: true
2659
- } }, h("span", null, "Level ", index + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language, true)), level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && (h("div", { class: "level__progress" }, h("casino-challenge-level-progress-bar", { height: "8px", value: level.ProgressPercentage, active: activeChallenge }))), h("casino-challenge-expandable-paragraph", { "max-height": "42", active: level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && activeChallenge, style: { width: '100%' } }, h("div", { class: {
2660
+ } }, h("span", null, translate$3('level', this.language), " ", index + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language, true)), level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && (h("div", { class: "level__progress" }, h("casino-challenge-level-progress-bar", { height: "8px", value: level.ProgressPercentage, active: activeChallenge }))), h("casino-challenge-expandable-paragraph", { "max-height": "42", active: level.ProgressStatus === EChallengeProgressLevelStatus$2.InProgress && activeChallenge, style: { width: '100%' } }, h("div", { class: {
2660
2661
  level__bonus: true
2661
2662
  } }, h("span", { class: "level__icon" }, h("img", { class: {
2662
2663
  grayed: isGrayed
@@ -2857,15 +2858,16 @@ const CasinoChallengeDetailsRules = class {
2857
2858
  return `${(_a = range.Min) !== null && _a !== void 0 ? _a : fallbackMin} - ${(_b = range.Max) !== null && _b !== void 0 ? _b : this.maxSelections}`;
2858
2859
  }
2859
2860
  render() {
2860
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
2861
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
2861
2862
  const contributionType = this.getContributionType((_a = this.challenge) === null || _a === void 0 ? void 0 : _a.ContributedBy);
2862
2863
  const contributionRule = this.getContributionRule((_b = this.challenge) === null || _b === void 0 ? void 0 : _b.IsContributeToOne);
2863
2864
  const isSportsbook = ((_c = this.challenge) === null || _c === void 0 ? void 0 : _c.ContributedFrom) === EContributedFrom$1.Sportsbook;
2864
2865
  const challengeStatusIsAllowedToOptOut = !(((_d = this.challenge) === null || _d === void 0 ? void 0 : _d.Status) === EChallengeProgressStatus$2.Started ||
2865
- ((_e = this.challenge) === null || _e === void 0 ? void 0 : _e.Status) === EChallengeProgressStatus$2.Awaiting);
2866
+ ((_e = this.challenge) === null || _e === void 0 ? void 0 : _e.Status) === EChallengeProgressStatus$2.Awaiting ||
2867
+ ((_f = this.challenge) === null || _f === void 0 ? void 0 : _f.Status) === EChallengeProgressStatus$2.Expired);
2866
2868
  const showOptOutBlock = this.challenge && challengeStatusIsAllowedToOptOut && !this.isOptedOut;
2867
- return (h(Host, { key: 'c4dce2f118ce8a523d2703e424668d28de9b9bf6' }, h("div", { key: '5dd54a92df2a03dbbd9a6583319320cc1982533b', class: { Mobile: this.isMobile, 'rules-tab tab': true, visible: this.open } }, ((_g = (_f = this.challenge) === null || _f === void 0 ? void 0 : _f.ChallengePresentation) === null || _g === void 0 ? void 0 : _g.Description) && (h("div", { key: '4619713bb49ea183f8cf55af051dec08a2e056ad', class: "rule" }, (_j = (_h = this.challenge) === null || _h === void 0 ? void 0 : _h.ChallengePresentation) === null || _j === void 0 ? void 0 : _j.Description)), (((_l = (_k = this.challenge) === null || _k === void 0 ? void 0 : _k.ChallengePresentation) === null || _l === void 0 ? void 0 : _l.RulesDescription) || ((_o = (_m = this.challenge) === null || _m === void 0 ? void 0 : _m.ChallengePresentation) === null || _o === void 0 ? void 0 : _o.Url)) && (h("div", { key: '6cec965970c1a80131b094f903b8d2f346eac5cb' }, h("div", { key: 'dc1103122815b53279eb25e9a386d99f1c86d351', class: "contribution" }, h("span", { key: 'c1e33c5f7b639084b061270ca3a30ca58e697995', class: "contribution__label" }, translate$3('terms', this.language))), ((_q = (_p = this.challenge) === null || _p === void 0 ? void 0 : _p.ChallengePresentation) === null || _q === void 0 ? void 0 : _q.RulesDescription) && (h("span", { key: '13d2f91062d5874d3e46593dd95b27676e2e58f9', class: "contribution__value" }, (_s = (_r = this.challenge) === null || _r === void 0 ? void 0 : _r.ChallengePresentation) === null || _s === void 0 ? void 0 : _s.RulesDescription)), ((_u = (_t = this.challenge) === null || _t === void 0 ? void 0 : _t.ChallengePresentation) === null || _u === void 0 ? void 0 : _u.RulesDescription) &&
2868
- ((_w = (_v = this.challenge) === null || _v === void 0 ? void 0 : _v.ChallengePresentation) === null || _w === void 0 ? void 0 : _w.Url) && h("br", { key: '25773b8d2db9be49850e12d2118be8cfe3b988ec' }), ((_y = (_x = this.challenge) === null || _x === void 0 ? void 0 : _x.ChallengePresentation) === null || _y === void 0 ? void 0 : _y.Url) && (h("a", { key: '2e37b83aef992fe18dcc30e34b287f6eeb293a6e', class: "link", href: (_0 = (_z = this.challenge) === null || _z === void 0 ? void 0 : _z.ChallengePresentation) === null || _0 === void 0 ? void 0 : _0.Url, target: "_blank" }, translate$3('readFullTerms', this.language), h("img", { key: 'be96d5dfa751d50f0a9623482bcf32628cb1eafc', class: "icon", src: termAndConditionSvg$1 }))))), showOptOutBlock && (h("div", { key: '7af3705fab2ca7b0d1f2cf476cbda3f043e86f0e' }, h("span", { key: '4df7f8bae982b637c0536b713a158e488b1172c2', class: "contribution__value" }, translate$3('optOutLeavingText', this.language)), h("button", { key: 'e6763046ea7aeb0f12545a49d40ac7ddaa2f96f8', class: "opt-out-button", onClick: this.handleOpenOptOutModal }, translate$3('optOutLeavingActionText', this.language), h("img", { key: '7fa72591eff78c3f3973563718e4d0be3404c1c7', class: "icon", src: optOutSvg$1 })))), !isSportsbook && contributionType && (h("div", { key: '892f2e3905c7350c3479592c67e4368ec86d162e' }, h("div", { key: 'a3d8ed0446fd0dc2bdbf715d724ef412162a6bb1', class: "contribution" }, h("span", { key: 'cd9a75a70f1a63755dbfb3d4be066b1ac113379f', class: "contribution__label" }, translate$3('contributionType', this.language))), h("span", { key: '9ae3b22059bc68ed8fdc0932fa25829e832215b3', class: "contribution__value" }, contributionType))), !isSportsbook && contributionRule && (h("div", { key: '868b1c6cd76d90143bc8e9fb9165d057eedf87a2' }, h("div", { key: '90cc0030d6b9be50fcb3e37f71dc9ae1e4c95d96', class: "contribution" }, h("span", { key: 'b7c26cd5f1d3ebda6a09c570af6ead14376c6923', class: "contribution__label" }, translate$3('contributionTo', this.language))), h("span", { key: '20ba13ac30a8d0b2c7b646c82b8380606f51f4e3', class: "contribution__value" }, contributionRule))), isSportsbook && this.renderSportsbookRules())));
2869
+ return (h(Host, { key: '999dc6255c4f961131ec75ef02a6e96bccb69e5c' }, h("div", { key: 'fd6e0582802c7712d005059ec429557926227b90', class: { Mobile: this.isMobile, 'rules-tab tab': true, visible: this.open } }, ((_h = (_g = this.challenge) === null || _g === void 0 ? void 0 : _g.ChallengePresentation) === null || _h === void 0 ? void 0 : _h.Description) && (h("div", { key: '65ebd8166dbfd7478da75d2578498c34977882d9', class: "rule" }, (_k = (_j = this.challenge) === null || _j === void 0 ? void 0 : _j.ChallengePresentation) === null || _k === void 0 ? void 0 : _k.Description)), (((_m = (_l = this.challenge) === null || _l === void 0 ? void 0 : _l.ChallengePresentation) === null || _m === void 0 ? void 0 : _m.RulesDescription) || ((_p = (_o = this.challenge) === null || _o === void 0 ? void 0 : _o.ChallengePresentation) === null || _p === void 0 ? void 0 : _p.Url)) && (h("div", { key: 'a3aca038f5841561c291aa51b42cb1f62ec03b93' }, h("div", { key: 'e9ead5a1c6297460cf0748ebe5d63fb25cf0098e', class: "contribution" }, h("span", { key: '1a19a8535929be02070c05fe1451ac81658dc72a', class: "contribution__label" }, translate$3('terms', this.language))), ((_r = (_q = this.challenge) === null || _q === void 0 ? void 0 : _q.ChallengePresentation) === null || _r === void 0 ? void 0 : _r.RulesDescription) && (h("span", { key: '2e92b57ed1eefcfc7befae426d01406d6d6f73bf', class: "contribution__value" }, (_t = (_s = this.challenge) === null || _s === void 0 ? void 0 : _s.ChallengePresentation) === null || _t === void 0 ? void 0 : _t.RulesDescription)), ((_v = (_u = this.challenge) === null || _u === void 0 ? void 0 : _u.ChallengePresentation) === null || _v === void 0 ? void 0 : _v.RulesDescription) &&
2870
+ ((_x = (_w = this.challenge) === null || _w === void 0 ? void 0 : _w.ChallengePresentation) === null || _x === void 0 ? void 0 : _x.Url) && h("br", { key: '0367fbdedc6dcc9a8511af9570e5ea96f212e3c2' }), ((_z = (_y = this.challenge) === null || _y === void 0 ? void 0 : _y.ChallengePresentation) === null || _z === void 0 ? void 0 : _z.Url) && (h("a", { key: 'e23882b0aa1ed9e6a10d002d910bdd3283123f66', class: "link", href: (_1 = (_0 = this.challenge) === null || _0 === void 0 ? void 0 : _0.ChallengePresentation) === null || _1 === void 0 ? void 0 : _1.Url, target: "_blank" }, translate$3('readFullTerms', this.language), h("img", { key: '6b63c9ec6e15409cd10955f722e78005b0ed1a68', class: "icon", src: termAndConditionSvg$1 }))))), showOptOutBlock && (h("div", { key: 'c5e0ea8674bdb2e55cfff1dbbda1e055ddecc415' }, h("span", { key: 'c41478c3a0f552e2e6cd306ade61b7b14e3cc755', class: "contribution__value" }, translate$3('optOutLeavingText', this.language)), h("button", { key: '05c58b4be1c252410dd1657ac6de3b93ad0c8ed7', class: "opt-out-button", onClick: this.handleOpenOptOutModal }, translate$3('optOutLeavingActionText', this.language), h("img", { key: 'a9c6ee80398b27616661a739f8b7544ff8a7eb1d', class: "icon", src: optOutSvg$1 })))), !isSportsbook && contributionType && (h("div", { key: 'dbe7d00f854991603c8bd85f7b3b5dfb3ffdb358' }, h("div", { key: 'd15492372af6650fa525b97c6ecab55de630808d', class: "contribution" }, h("span", { key: 'c787dd700d182bec7071b58adca2d94af8abe0d8', class: "contribution__label" }, translate$3('contributionType', this.language))), h("span", { key: 'b54db077b10ce9945087274fb7e32952a0809abe', class: "contribution__value" }, contributionType))), !isSportsbook && contributionRule && (h("div", { key: '098703502cb74608fcbafcf08c34d21d20549324' }, h("div", { key: '7a095076bcc9dc5471efc0e7a82d53e1544b344f', class: "contribution" }, h("span", { key: '314dddbea5c85f3085c3eb8dcf1f22c369f47285', class: "contribution__label" }, translate$3('contributionTo', this.language))), h("span", { key: '8107dbe7bc6ff330ab2690329869c640a7c9a208', class: "contribution__value" }, contributionRule))), isSportsbook && this.renderSportsbookRules())));
2869
2871
  }
2870
2872
  };
2871
2873
  CasinoChallengeDetailsRules.style = CasinoChallengeDetailsRulesStyle0;
@@ -3134,16 +3136,16 @@ const CasinoChallengeDrawerHistoryItem = class {
3134
3136
  this.toggle = undefined;
3135
3137
  }
3136
3138
  renderLevel(level) {
3137
- return (h("div", { class: "level-container" }, h("div", { class: "row" }, h("span", { class: "col-1" }, `${translate$2('level', this.language)} ${level.OrderNumber + 1}`), h("span", { class: `col-1 ${level.Status === EHistoryItemLevelStatus.Forfeited ? 'errored' : ''}` }, HistoryItemLevelStatusDictionary[level.Status]), h("span", { class: "col-2" }, format(new Date(level.Time), 'dd/MM/yy HH:mm'))), (level === null || level === void 0 ? void 0 : level.CustomRewardMessage) && (h("p", { class: {
3139
+ return (h("div", { class: "level-container" }, h("div", { class: "row" }, h("span", { class: "col-1" }, `${translate$2('level', this.language)} ${level.OrderNumber + 1}`), h("span", { class: `col-1 ${level.Status === EHistoryItemLevelStatus.Forfeited ? 'errored' : ''}` }, translate$2(HistoryItemLevelStatusDictionary[level.Status].toLowerCase(), this.language)), h("span", { class: "col-2" }, format(new Date(level.Time), 'dd/MM/yy HH:mm'))), (level === null || level === void 0 ? void 0 : level.CustomRewardMessage) && (h("p", { class: {
3138
3140
  reward: true,
3139
3141
  grayed: level.Status !== EHistoryItemLevelStatus.Completed
3140
3142
  } }, h("img", { src: giftSvg }), level.CustomRewardMessage))));
3141
3143
  }
3142
3144
  render() {
3143
- return (h(Host, { key: '3c2f60d4327d6443ca1532f0a16e38759b1920a0' }, h("div", { key: '3d15e6158e3a73ef152b2a9e6d6e1fcf667660a3', class: {
3145
+ return (h(Host, { key: 'e0a9787fe6ca7f813371ed8d313c88ee0f414403' }, h("div", { key: '95cc16f9f9079f92e23193355c3b66b172e36049', class: {
3144
3146
  Mobile: this.isMobile,
3145
3147
  item: true
3146
- }, ref: this.itemRef }, h("div", { key: '9168effe013361bd306bf1492ff969835756580d', class: "header", onClick: () => this.toggle(this.index) }, h("div", { key: '33352fda7db60cea64dbb24ff192d27e4fa24d25' }, h("img", { key: '99e5e51289998b491053e0a8766ba0aad43c080e', class: "banner", src: this.historyItem.BannerUrl }), h("span", { key: '1dec9ee7ee974905932e4f0da87e22d67944b231' }, this.historyItem.Name)), h("div", { key: '312f60f7dfc7cebdc04235caad2e8a012081771b', class: "arrow" }, h("img", { key: 'd51d098309ca5ad9919d0ed2eee4999522f8575f', src: this.isOpen ? arrowUpSvg : arrowDownSvg }))), h("div", { key: '0b11a490354c07fad1ba52f32d167843846f5039', class: { open: this.isOpen, content: true } }, this.historyItem.TermsAndConditionsUrl && (h("a", { key: 'ae6594e99b8e6ce8317cdd35cf7c5efe239dff2b', class: "terms", href: this.historyItem.TermsAndConditionsUrl, target: "_blank" }, translate$2('terms', this.language), h("img", { key: '2e038f21be58716ee39d82c309e04880fb93014b', class: "icon", src: termAndConditionSvg }))), h("div", { key: '69764d2b8512ab92fcebe4c009ccee12d2420d57', class: "row list-header" }, h("span", { key: '4b79c7f4b6eb250b55355c97397d3ea290f625f7', class: "col-1" }, translate$2('level', this.language)), h("span", { key: 'f2255accb2edc572e554d729012404de19075e14', class: "col-1" }, translate$2('status', this.language)), h("span", { key: '337106504f623e789cb77353b77ad2869a7d28f7', class: "col-2" }, translate$2('time', this.language))), this.historyItem.Levels.map((level) => this.renderLevel(level))))));
3148
+ }, ref: this.itemRef }, h("div", { key: '291a11ae81b58d63f5929ef05bbff14beb49e3ad', class: "header", onClick: () => this.toggle(this.index) }, h("div", { key: '0446ba59379bfc1e52d3d047d79cba0c8131c266' }, h("img", { key: '996a0b1220a369f1938a0718fc53ad11c99ed90b', class: "banner", src: this.historyItem.BannerUrl }), h("span", { key: 'b6156328db55a18fa03841c3a1e30e86e2c6cfc1' }, this.historyItem.Name)), h("div", { key: '8c6eb3ed86c4d1e76409c3d77965345552c1ec1d', class: "arrow" }, h("img", { key: '92088c8b52a720acd1ba6a2a381d7ed1daba35ab', src: this.isOpen ? arrowUpSvg : arrowDownSvg }))), h("div", { key: '32c777a82327bf1baa6291680524173051453ad1', class: { open: this.isOpen, content: true } }, this.historyItem.TermsAndConditionsUrl && (h("a", { key: '3076334cd66fc1807622653512b7efd8d8452161', class: "terms", href: this.historyItem.TermsAndConditionsUrl, target: "_blank" }, translate$2('terms', this.language), h("img", { key: 'e627075d67ff1541b70eaf7c106cb1c58d1f6f92', class: "icon", src: termAndConditionSvg }))), h("div", { key: 'd0f6546aef8b70b455658d2eda20ca65379255fd', class: "row list-header" }, h("span", { key: 'ebd7cf3409c7962b9484d6dd6113505063ed8dc5', class: "col-1" }, translate$2('level', this.language)), h("span", { key: '6813ef88b6615d02c8b6fa0b7d1870a3eb814189', class: "col-1" }, translate$2('status', this.language)), h("span", { key: '7a516c198c5579c942f57af8a883736022f58813', class: "col-2" }, translate$2('time', this.language))), this.historyItem.Levels.map((level) => this.renderLevel(level))))));
3147
3149
  }
3148
3150
  };
3149
3151
  CasinoChallengeDrawerHistoryItem.style = CasinoChallengeDrawerHistoryItemStyle0;
@@ -3777,8 +3779,8 @@ const CasinoChallengesOverlayDrawer = class {
3777
3779
  setTimeout(() => (this.notification = null), 10000);
3778
3780
  };
3779
3781
  this.renderNotification = () => {
3780
- var _a, _b, _c;
3781
- return (h("div", { class: `notification ${((_a = this.notification) === null || _a === void 0 ? void 0 : _a.errored) ? 'errored' : ''}` }, h("div", { class: "row" }, h("img", { src: ((_b = this.notification) === null || _b === void 0 ? void 0 : _b.errored) ? errorSvg : checkSvg$1, class: "notification__icon", alt: "" }), h("p", { class: "notification__message" }, (_c = this.notification) === null || _c === void 0 ? void 0 : _c.message))));
3782
+ var _a, _b, _c, _d, _e, _f;
3783
+ return (h("div", { class: `notification ${((_a = this.notification) === null || _a === void 0 ? void 0 : _a.errored) ? 'errored' : ''}` }, h("div", { class: "row" }, h("img", { src: ((_b = this.notification) === null || _b === void 0 ? void 0 : _b.errored) ? errorSvg : checkSvg$1, class: "notification__icon", alt: "" }), h("p", { class: "notification__message" }, (_e = translate$2((_d = (_c = this.notification) === null || _c === void 0 ? void 0 : _c.message) !== null && _d !== void 0 ? _d : '', this.language)) !== null && _e !== void 0 ? _e : (_f = this.notification) === null || _f === void 0 ? void 0 : _f.message))));
3782
3784
  };
3783
3785
  this.renderHeader = (isMobile) => {
3784
3786
  return (h("div", null, h("h1", { class: "challenges__drawer__title" }, h("span", null, translate$2('title', this.language)), h("button", { class: "challenges__drawer__close", onClick: this.onCloseClick }, h("img", { src: crossSvg$1, alt: "" }))), this.enabledWidgetTabs.length > 0 && (h("casino-challenges-overlay-tabs", { onTabClick: this.handleTabClick, activeTabIndex: this.activeTabIndex, activeTabHasNotification: false, pendingTabHasNotification: false, language: this.language, "is-mobile": isMobile, enabledWidgetTabs: this.enabledWidgetTabs }))));
@@ -4674,7 +4676,7 @@ const CasinoChallengesOverlayDrawerDetails = class {
4674
4676
  }, ref: isActiveMatch ? (el) => (this.activeEntityRef = el) : undefined, key: level.LevelId }, h("div", { class: {
4675
4677
  level__title: true,
4676
4678
  grayed: isGrayed
4677
- } }, h("span", null, "Level ", index + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language)), h("div", { class: {
4679
+ } }, h("span", null, translate$3('level', this.language), " ", index + 1), getLevelStatus((_g = this.challenge) === null || _g === void 0 ? void 0 : _g.Status, level, activeChallenge, this.language)), h("div", { class: {
4678
4680
  level__bonus: true
4679
4681
  } }, h("span", { class: "level__icon" }, h("img", { class: {
4680
4682
  grayed: isGrayed
@@ -4757,7 +4759,7 @@ const CasinoChallengesOverlayDrawerDetails = class {
4757
4759
  var _a, _b;
4758
4760
  const fullScreen = (this.swipping && this.progress > 0) || ((_a = this.detailsSubPageInfo) === null || _a === void 0 ? void 0 : _a.open);
4759
4761
  const footerIsVisible = !this.isMobile || (this.isMobile && fullScreen);
4760
- return (h("div", { key: '0beed74aabeaa6b3ac22919bcdf405fec48e20f7', class: {
4762
+ return (h("div", { key: '4f93fbbfc5748b9ddd3d394636735aa20996eff9', class: {
4761
4763
  Mobile: this.isMobile,
4762
4764
  swipped: (this.isMobile && this.swipping && this.progress > 0) || !this.isMobile,
4763
4765
  moved: this.progress > 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-challenges-overlay",
3
- "version": "0.22.29",
3
+ "version": "0.22.30",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",