@everymatrix/player-elevate-points-history 1.69.2 → 1.69.3

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 (29) hide show
  1. package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +102 -30
  2. package/dist/cjs/{index-ba216df9.js → index-8f337cb6.js} +11 -3
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{player-elevate-card-items-b36a067d.js → player-elevate-card-items-77bde478.js} +1 -1
  5. package/dist/cjs/player-elevate-card.cjs.entry.js +4 -3
  6. package/dist/cjs/player-elevate-loyaltycard.cjs.entry.js +4 -4
  7. package/dist/cjs/player-elevate-points-history.cjs.js +2 -2
  8. package/dist/cjs/player-rakeback-card.cjs.entry.js +3 -2
  9. package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +21 -3
  10. package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.stories.js +4 -1
  11. package/dist/esm/bonus-pagination-limits_6.entry.js +102 -30
  12. package/dist/esm/{index-f02f9189.js → index-58af35f4.js} +11 -3
  13. package/dist/esm/loader.js +3 -3
  14. package/dist/esm/{player-elevate-card-items-0b2a0f08.js → player-elevate-card-items-ee73669e.js} +1 -1
  15. package/dist/esm/player-elevate-card.entry.js +4 -3
  16. package/dist/esm/player-elevate-loyaltycard.entry.js +4 -4
  17. package/dist/esm/player-elevate-points-history.js +3 -3
  18. package/dist/esm/player-rakeback-card.entry.js +3 -2
  19. package/dist/player-elevate-points-history/bonus-pagination-limits_6.entry.js +1 -1
  20. package/dist/player-elevate-points-history/index-58af35f4.js +2 -0
  21. package/dist/player-elevate-points-history/{player-elevate-card-items-0b2a0f08.js → player-elevate-card-items-ee73669e.js} +1 -1
  22. package/dist/player-elevate-points-history/player-elevate-card.entry.js +1 -1
  23. package/dist/player-elevate-points-history/player-elevate-loyaltycard.entry.js +1 -1
  24. package/dist/player-elevate-points-history/player-elevate-points-history.esm.js +1 -1
  25. package/dist/player-elevate-points-history/player-rakeback-card.entry.js +1 -1
  26. package/dist/types/components/player-elevate-points-history/player-elevate-points-history.d.ts +2 -0
  27. package/dist/types/components.d.ts +8 -0
  28. package/package.json +1 -1
  29. package/dist/player-elevate-points-history/index-f02f9189.js +0 -2
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ba216df9.js');
5
+ const index = require('./index-8f337cb6.js');
6
6
  const locale_utils = require('./locale.utils-6b4c0dbd.js');
7
- const playerElevateCardItems = require('./player-elevate-card-items-b36a067d.js');
7
+ const playerElevateCardItems = require('./player-elevate-card-items-77bde478.js');
8
8
 
9
9
  const DEFAULT_LANGUAGE$1 = 'en';
10
10
  const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -314,6 +314,63 @@ const mergeTranslations = (url, target) => {
314
314
  });
315
315
  };
316
316
 
317
+ /**
318
+ * @name setClientStyling
319
+ * @description Method used to create and append to the passed element of the widget a style element with the content received
320
+ * @param {HTMLElement} stylingContainer The reference element of the widget
321
+ * @param {string} clientStyling The style content
322
+ */
323
+ function setClientStyling(stylingContainer, clientStyling) {
324
+ if (stylingContainer) {
325
+ const sheet = document.createElement('style');
326
+ sheet.innerHTML = clientStyling;
327
+ stylingContainer.appendChild(sheet);
328
+ }
329
+ }
330
+
331
+ /**
332
+ * @name setClientStylingURL
333
+ * @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
334
+ * @param {HTMLElement} stylingContainer The reference element of the widget
335
+ * @param {string} clientStylingUrl The URL of the style content
336
+ */
337
+ function setClientStylingURL(stylingContainer, clientStylingUrl) {
338
+ const url = new URL(clientStylingUrl);
339
+
340
+ fetch(url.href)
341
+ .then((res) => res.text())
342
+ .then((data) => {
343
+ const cssFile = document.createElement('style');
344
+ cssFile.innerHTML = data;
345
+ if (stylingContainer) {
346
+ stylingContainer.appendChild(cssFile);
347
+ }
348
+ })
349
+ .catch((err) => {
350
+ console.error('There was an error while trying to load client styling from URL', err);
351
+ });
352
+ }
353
+
354
+ /**
355
+ * @name setStreamLibrary
356
+ * @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
357
+ * @param {HTMLElement} stylingContainer The highest element of the widget
358
+ * @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
359
+ * @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
360
+ */
361
+ function setStreamStyling(stylingContainer, domain, subscription) {
362
+ if (window.emMessageBus) {
363
+ const sheet = document.createElement('style');
364
+
365
+ window.emMessageBus.subscribe(domain, (data) => {
366
+ sheet.innerHTML = data;
367
+ if (stylingContainer) {
368
+ stylingContainer.appendChild(sheet);
369
+ }
370
+ });
371
+ }
372
+ }
373
+
317
374
  const generalStylingWrapperCss = ":host{display:block}";
318
375
  const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
319
376
 
@@ -321,38 +378,47 @@ const GeneralStylingWrapper = class {
321
378
  constructor(hostRef) {
322
379
  index.registerInstance(this, hostRef);
323
380
  this.stylingAppends = false;
324
- this.setClientStyling = () => {
325
- let sheet = document.createElement('style');
326
- sheet.innerHTML = this.clientStyling;
327
- this.el.prepend(sheet);
328
- };
329
- this.setClientStylingURL = () => {
330
- let url = new URL(this.clientStylingUrl);
331
- let cssFile = document.createElement('style');
332
- fetch(url.href)
333
- .then((res) => res.text())
334
- .then((data) => {
335
- cssFile.innerHTML = data;
336
- setTimeout(() => {
337
- this.el.prepend(cssFile);
338
- }, 1);
339
- })
340
- .catch((err) => {
341
- console.log('error ', err);
342
- });
343
- };
344
381
  this.clientStyling = '';
345
382
  this.clientStylingUrl = '';
383
+ this.mbSource = undefined;
346
384
  this.translationUrl = '';
347
385
  this.targetTranslations = undefined;
348
386
  }
387
+ componentDidLoad() {
388
+ if (this.el) {
389
+ if (window.emMessageBus != undefined) {
390
+ setStreamStyling(this.el, `${this.mbSource}.Style`);
391
+ }
392
+ else {
393
+ if (this.clientStyling)
394
+ setClientStyling(this.el, this.clientStyling);
395
+ if (this.clientStylingUrl)
396
+ setClientStylingURL(this.el, this.clientStylingUrl);
397
+ this.stylingAppends = true;
398
+ }
399
+ }
400
+ }
401
+ disconnectedCallback() {
402
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
403
+ }
404
+ handleClientStylingChange(newValue, oldValue) {
405
+ if (newValue != oldValue) {
406
+ setClientStyling(this.el, this.clientStyling);
407
+ }
408
+ }
409
+ handleClientStylingUrlChange(newValue, oldValue) {
410
+ if (newValue != oldValue) {
411
+ if (this.clientStylingUrl)
412
+ setClientStylingURL(this.el, this.clientStylingUrl);
413
+ }
414
+ }
349
415
  componentDidRender() {
350
416
  // start custom styling area
351
417
  if (!this.stylingAppends) {
352
418
  if (this.clientStyling)
353
- this.setClientStyling();
419
+ setClientStyling(this.el, this.clientStyling);
354
420
  if (this.clientStylingUrl)
355
- this.setClientStylingURL();
421
+ setClientStylingURL(this.el, this.clientStylingUrl);
356
422
  this.stylingAppends = true;
357
423
  }
358
424
  // end custom styling area
@@ -366,9 +432,13 @@ const GeneralStylingWrapper = class {
366
432
  return await Promise.all(promises);
367
433
  }
368
434
  render() {
369
- return (index.h("div", { key: '4d3414408c7662f88331dbe655966237f74d6958', class: "StyleShell" }, index.h("slot", { key: '1d004644d84602c4314bdf5dfc26b55b160f57df', name: "mainContent" })));
435
+ return (index.h("div", { key: '09ad83748bbad518743c8671b986c541c52bf3f0', class: "StyleShell" }, index.h("slot", { key: '3b28b776d3944410c717b002b70946d274a4e8e7', name: "mainContent" })));
370
436
  }
371
437
  get el() { return index.getElement(this); }
438
+ static get watchers() { return {
439
+ "clientStyling": ["handleClientStylingChange"],
440
+ "clientStylingUrl": ["handleClientStylingUrlChange"]
441
+ }; }
372
442
  };
373
443
  GeneralStylingWrapper.style = GeneralStylingWrapperStyle0;
374
444
 
@@ -839,6 +909,7 @@ const PlayerElevatePointcard = class {
839
909
  this.session = undefined;
840
910
  this.playerAvatarUrl = undefined;
841
911
  this.language = 'en';
912
+ this.mbSource = undefined;
842
913
  this.playerName = undefined;
843
914
  this.cardTitle = undefined;
844
915
  this.buttonType = 'earningRule';
@@ -883,9 +954,9 @@ const PlayerElevatePointcard = class {
883
954
  render() {
884
955
  const backgroundOuterImagePath = index.getAssetPath('../static/card-ground.svg');
885
956
  const backgroundInnerImagePath = index.getAssetPath('../static/card-ground-over.svg');
886
- return (index.h("div", { key: 'ab47a39fc8fa5562e2843755b6b935296f6952fd', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: '8b9ce754eb082af8005b40915e9b2e861ec99287', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: 'f7d660116db83ce86b36a558441bf02bf74592e6', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("player-elevate-card-data", { key: 'f42375d3631031e7ef8041ccabe62659858e6ac0', params: this.paramProxy }), index.h("div", { key: '0b5eb08baa589ed85c96e0c5731ea7d93c76d398', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, index.h("div", { key: '3b66d8f8baa7c510c04a6ebe73ba87fc1ba33426', class: 'Content Row' }, this.playerElevateLevel && (index.h(index.Fragment, { key: 'fa0f8a796e0d08f18bd37ab193f1e6a49d6138b5' }, index.h("div", { key: 'ffe65be1e5d9f04a2c3711e9f61f56c95818244b', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: '4947af0ebd6978f938d5f3f0185f8700a3506b75', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), index.h("div", { key: '2f0a7c4ef826f16472313cca974b4c208c33e83a', class: `LevelInfo ${this.playerElevateLevel.name}` }, index.h("div", { key: '118eabd6511b72fbb7c78a0ee2d190b719d708ae', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : locale_utils.translate('spendablePoints', this.language)), index.h("div", { key: '5a15d9630c51f23024ddd5967ef8753bac746936', class: 'PointsTxt SPPoints' }, index.h(playerElevateCardItems.PlayerPoints, { key: '7994e6b898d69a62ec8c4aeb0892a1c718104d7e', spendablePoints: this.playerElevateLevel.spendablePoints, language: this.language }), index.h("a", { key: '8d25c48516245dc067676278cd861193ca4863bd', class: "TC", onClick: () => {
957
+ return (index.h("div", { key: '45aa5be359b46d5503a8310daa4db2029a8c59b8', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: '0d1773bd9eb0913ede4eeedfc93f22967aa133d6', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: 'cfb35c5220633e39e25b11f0be5b6fc5cc73df5c', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-card-data", { key: '25206c4deb6e51e3ea60259d4fee3452df8253d6', params: this.paramProxy }), index.h("div", { key: 'c14ee3498a1a584b7f484fe2ef6a204c337d2b27', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, index.h("div", { key: 'dd7e0528034013d889f1f9bfbacf7928d2b4d1e9', class: 'Content Row' }, this.playerElevateLevel && (index.h(index.Fragment, { key: '20b36f112f735446a6219b61e012e4568f199717' }, index.h("div", { key: '3705136c1ee509484f43b7268b23cfbe273f727c', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: 'b81cbcff0528acd3253a676e0a64141c6414fc2a', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), index.h("div", { key: '311b3ffcdf8a3ffe4b609fd0f1d9dee83424ca58', class: `LevelInfo ${this.playerElevateLevel.name}` }, index.h("div", { key: 'ba1744b3b9cee03a424093df96454ff68d04aec1', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : locale_utils.translate('spendablePoints', this.language)), index.h("div", { key: '6b554d17a0f74684e23549365fb06f6079ba7239', class: 'PointsTxt SPPoints' }, index.h(playerElevateCardItems.PlayerPoints, { key: '6c9f812eccea99cd94095c252ba552816f800447', spendablePoints: this.playerElevateLevel.spendablePoints, language: this.language }), index.h("a", { key: 'eb79d25c2ccce8c542a192c1ca07265649dbd1bc', class: "TC", onClick: () => {
887
958
  this.onDetailsClick();
888
- } }, locale_utils.translate('termAndConditions', this.language))), this.pointExpireString && (index.h("div", { key: '6c221bd9a75643bce76e493addbb45cee6edf8b9', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
959
+ } }, locale_utils.translate('termAndConditions', this.language))), this.pointExpireString && (index.h("div", { key: 'e64127c87c4c4a3e5253606e2c4c472e9b728103', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
889
960
  }
890
961
  static get watchers() { return {
891
962
  "session": ["onSessionOrEndpointChange"],
@@ -1109,6 +1180,7 @@ const PlayerElevatePointsHistory = class {
1109
1180
  this.currencyPrecision = 2;
1110
1181
  this.enableRakeback = true;
1111
1182
  this.language = 'en';
1183
+ this.mbSource = undefined;
1112
1184
  this.clientStyling = '';
1113
1185
  this.clientStylingUrl = '';
1114
1186
  this.translationUrl = '';
@@ -1153,11 +1225,11 @@ const PlayerElevatePointsHistory = class {
1153
1225
  render() {
1154
1226
  var _a, _b;
1155
1227
  const pageSetting = this.getPageSettingByType(this.type);
1156
- return (index.h("main", { key: '59c822ef670d41b2a9cb2001faaf3bcbd54b7eca' }, index.h("general-styling-wrapper", { key: '1e7a029787beffc38f57367c82725b6e350d5aa7', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
1228
+ return (index.h("main", { key: '8e7d5a109467811e371dcfa56214f079b82970bb' }, index.h("general-styling-wrapper", { key: '46dd3a6435b423b765796c4fa1c115e6cc19a8e2', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
1157
1229
  // @ts-ignore
1158
- targetTranslations: translation, translationUrl: this.translationUrl }), index.h("player-elevate-pointcard", { key: '84633fc755744e3816c44207aac091d2d8d08c6c', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), index.h("div", { key: '4374c53cb0932e2e5700d069e1cc55f0e55d5363', class: "PlayerElevatePointsDetaisContainer" }, [
1230
+ targetTranslations: translation, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-pointcard", { key: 'c2deb9610f60c7692b01c0c5cf0d68464665c8c6', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), index.h("div", { key: '5314e0d934516a37605e6509820f70091237fff7', class: "PlayerElevatePointsDetaisContainer" }, [
1159
1231
  renderTopBar(this.locale, this.type, pageSetting),
1160
- index.h("div", { key: 'e78ffe11558d1be2ff646729b17526951be66c91', class: "Tabs Row" }, (this.validWallets || []).map(key => (index.h("div", { class: "tab" }, index.h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), index.h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
1232
+ index.h("div", { key: '0d148b0ca94e1dda4ad946aa349be891857c0211', class: "Tabs Row" }, (this.validWallets || []).map(key => (index.h("div", { class: "tab" }, index.h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), index.h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
1161
1233
  ((_a = this.pointsWallets[this.type]) === null || _a === void 0 ? void 0 : _a.isLoadFailed)
1162
1234
  ? index.h("div", { class: "ReloadMsg" }, this.locale['reloadMsgWhenError'], index.h("a", { class: "Reload", onClick: this.updateWallets }, this.locale['reload']))
1163
1235
  : this.loadWallets(renderWallets.bind(this, this.locale, ((_b = this.pointsWallets[this.type]) === null || _b === void 0 ? void 0 : _b.wallets) || [], pageSetting))
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'player-elevate-points-history';
24
- const BUILD = /* player-elevate-points-history */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* player-elevate-points-history */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -1167,6 +1167,9 @@ var postUpdateComponent = (hostRef) => {
1167
1167
  {
1168
1168
  addHydratedFlag(elm);
1169
1169
  }
1170
+ {
1171
+ safeCall(instance, "componentDidLoad");
1172
+ }
1170
1173
  endPostUpdate();
1171
1174
  {
1172
1175
  hostRef.$onReadyResolve$(elm);
@@ -1439,6 +1442,9 @@ var setContentReference = (elm) => {
1439
1442
  insertBefore(elm, contentRefElm, elm.firstChild);
1440
1443
  };
1441
1444
  var disconnectInstance = (instance) => {
1445
+ {
1446
+ safeCall(instance, "disconnectedCallback");
1447
+ }
1442
1448
  };
1443
1449
  var disconnectedCallback = async (elm) => {
1444
1450
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1449,8 +1455,10 @@ var disconnectedCallback = async (elm) => {
1449
1455
  hostRef.$rmListeners$ = void 0;
1450
1456
  }
1451
1457
  }
1452
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1453
- hostRef.$onReadyPromise$.then(() => disconnectInstance());
1458
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1459
+ disconnectInstance(hostRef.$lazyInstance$);
1460
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1461
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1454
1462
  }
1455
1463
  }
1456
1464
  };
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ba216df9.js');
5
+ const index = require('./index-8f337cb6.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["bonus-pagination-limits_6.cjs",[[1,"player-elevate-points-history",{"playerAvatarUrl":[513,"player-avatar-url"],"session":[513],"endpoint":[513],"limit":[1538],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"pageLimitOptions":[1537,"page-limit-options"],"currencyPrecision":[1538,"currency-precision"],"enableRakeback":[1540,"enable-rakeback"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"locale":[32],"type":[32],"pageSetting":[32],"pointsWallets":[32],"validWallets":[32]},[[0,"reloadPageByType","reloadPageByTypeHandler"]],{"type":["walletTypeChangedHandler"],"endpoint":["updateWallets"],"language":["updateWallets"],"session":["updateWallets"]}],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[0,"bonus-pagination-limits",{"language":[513],"translationUrl":[513,"translation-url"],"pageLimitOptions":[513,"page-limit-options"],"limit":[1538],"pageLimits":[32]}],[0,"bonus-pagination-nav",{"total":[1538],"limit":[1538],"offset":[1538],"tableId":[1537,"table-id"],"language":[1537],"translationUrl":[513,"translation-url"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"displayRangeOfTotal":[1540,"display-range-of-total"],"navItemAccount":[1538,"nav-item-account"],"endPageIndex":[32],"pagesArray":[32],"currentPage":[32],"showAsEllipsisMid":[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{"params":["onParamsChanged"]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]],["player-elevate-card.cjs",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-elevate-loyaltycard.cjs",[[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-rakeback-card.cjs",[[1,"player-rakeback-card",{"endpoint":[513],"theme":[513],"session":[513],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"show":[516],"rakebackInfo":[32],"isLoading":[32],"coolingOffPeriod":[32],"showTheWidget":[32]},[[8,"message","handleMessage"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"],"show":["onShowOrHasRakebackWalletChange"],"rakebackInfo":["onShowOrHasRakebackWalletChange"]}]]]], options);
11
+ return index.bootstrapLazy([["bonus-pagination-limits_6.cjs",[[1,"player-elevate-points-history",{"playerAvatarUrl":[513,"player-avatar-url"],"session":[513],"endpoint":[513],"limit":[1538],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"pageLimitOptions":[1537,"page-limit-options"],"currencyPrecision":[1538,"currency-precision"],"enableRakeback":[1540,"enable-rakeback"],"language":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"locale":[32],"type":[32],"pageSetting":[32],"pointsWallets":[32],"validWallets":[32]},[[0,"reloadPageByType","reloadPageByTypeHandler"]],{"type":["walletTypeChangedHandler"],"endpoint":["updateWallets"],"language":["updateWallets"],"session":["updateWallets"]}],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"mbSource":[513,"mb-source"],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[0,"bonus-pagination-limits",{"language":[513],"translationUrl":[513,"translation-url"],"pageLimitOptions":[513,"page-limit-options"],"limit":[1538],"pageLimits":[32]}],[0,"bonus-pagination-nav",{"total":[1538],"limit":[1538],"offset":[1538],"tableId":[1537,"table-id"],"language":[1537],"translationUrl":[513,"translation-url"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"displayRangeOfTotal":[1540,"display-range-of-total"],"navItemAccount":[1538,"nav-item-account"],"endPageIndex":[32],"pagesArray":[32],"currentPage":[32],"showAsEllipsisMid":[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{"params":["onParamsChanged"]}],[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"]}]]],["player-elevate-card.cjs",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-elevate-loyaltycard.cjs",[[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-rakeback-card.cjs",[[1,"player-rakeback-card",{"endpoint":[513],"theme":[513],"session":[513],"language":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"show":[516],"rakebackInfo":[32],"isLoading":[32],"coolingOffPeriod":[32],"showTheWidget":[32]},[[8,"message","handleMessage"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"],"show":["onShowOrHasRakebackWalletChange"],"rakebackInfo":["onShowOrHasRakebackWalletChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-ba216df9.js');
3
+ const index = require('./index-8f337cb6.js');
4
4
  const locale_utils = require('./locale.utils-6b4c0dbd.js');
5
5
 
6
6
  function _typeof(o) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ba216df9.js');
6
- const playerElevateCardItems = require('./player-elevate-card-items-b36a067d.js');
5
+ const index = require('./index-8f337cb6.js');
6
+ const playerElevateCardItems = require('./player-elevate-card-items-77bde478.js');
7
7
  const locale_utils = require('./locale.utils-6b4c0dbd.js');
8
8
 
9
9
  const playerElevateCardCss = "@container (max-width: 270px) {\n .Card .Inner {\n flex-direction: column;\n }\n .Card .Inner .Content {\n padding: 9px;\n }\n .Inner .Row .ExpirationPoints {\n order: 1;\n }\n}\n.Card .PlayerImg {\n order: 0;\n}\n.Card .ExpirationPoints {\n order: 3;\n}\n.Card .LevelInfo {\n order: 2;\n}\n.Card .Inner .Row .PlayerImg {\n flex-direction: column;\n}\n.Card .Inner .Row .PointsInfo {\n width: 100%;\n text-align: center;\n display: flex;\n flex-direction: column;\n max-height: 50%;\n}\n.Card .Inner .PlayerAvatar .Badge {\n background-size: contain;\n background-repeat: no-repeat;\n position: absolute;\n right: 5px;\n bottom: -5px;\n width: 40%;\n height: 40%;\n overflow: visible;\n}\n.Card .Inner .Row .ExpirationPoints {\n text-align: left;\n color: var(--emw--color-red, red);\n}\n.Card .Inner .Row .Points {\n text-wrap: nowrap;\n}\n.Card .Inner .LevelInfo .ElevateLevel {\n flex-direction: column;\n}\n.Card .Inner .LevelInfo .ElevateLevel .LevelName {\n width: calc(100% - 20px);\n text-align: left;\n font-size: 13px;\n padding-left: 20px;\n margin: 10px 0;\n}\n.Card .Inner .LevelInfo .ElevateLevel .ExpirationDate {\n text-align: center;\n font-size: smaller;\n}\n.Card .Inner .LevelInfo .ElevateLevel .ExpireTime {\n margin-left: 5px;\n}";
@@ -19,6 +19,7 @@ const PlayerElevateCard = class {
19
19
  this.language = 'en';
20
20
  this.playerName = undefined;
21
21
  this.dateFormat = 'yyyy-MM-dd';
22
+ this.mbSource = undefined;
22
23
  this.clientStyling = '';
23
24
  this.clientStylingUrl = '';
24
25
  this.translationUrl = '';
@@ -61,7 +62,7 @@ const PlayerElevateCard = class {
61
62
  render() {
62
63
  const backgroundOuterImagePath = index.getAssetPath('../static/card-ground.svg');
63
64
  const backgroundInnerImagePath = index.getAssetPath('../static/card-ground-over.svg');
64
- return (index.h("div", { key: '278a328dd084ee73b2707b93a57bccae64a2c9c7', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: '68c885baf533447a7c77fd887bbec11e53768277', class: "Card Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: '4066253a70cdd5e712ca244a708e7c1600c83071', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("player-elevate-card-data", { key: '64cda2a267c752056b3c7e3134cc324fa96bc261', params: this.paramProxy }), index.h("div", { key: 'c63ae83b401a35f5a78acd83dc3d7296c25141d7', class: "OuterCover Inner", style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, this.playerElevateLevel && (index.h(index.Fragment, { key: 'ba16e5bb54259c17fd9e5aa0e3c03c2ec5d4263c' }, index.h("div", { key: 'fa1bf74f45e28318c95266cc42c54541bde92718', class: 'Content Row' }, index.h("div", { key: '7ede46f91bcc0d894b2b633627a4ca97d15fbe90', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: 'b6d0bac085e0178512b8a63ba8fccae7d4cc8399', playerAvatarUrl: this.playerAvatarUrl, loyaltyIconUrl: this.playerElevateLevel.presentation.asset }), index.h(playerElevateCardItems.PlayerPoints, { key: '88c445dbcd7dbe426a8de18beea02aecc03e26f3', loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language })), this.pointExpireString && (index.h("div", { key: '4d985e486ecb74a6c916b28e619de83cb3d77ac1', class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), index.h("div", { key: '34e051ee1ff79b825fca57db958e1e5684a0aca1', class: `LevelInfo Level${this.playerLevelFlag} ${this.playerElevateLevel.presentation.displayName}` }, index.h(playerElevateCardItems.PlayerNameDiv, { key: 'fa1b1f16e0b25c6adfba4c215e4ed377e05699b2', playerName: this.playerName }), index.h(playerElevateCardItems.PlayerElevateLoyaltyLevel, { key: '6d18b1422db202363ebcd56cc56946e0e071937b', hideInfo: true, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), index.h(playerElevateCardItems.PlayerLoyaltyProcess, { key: '7dae355c4a5a9e28c70dced0ac061608f1753020' }), index.h(playerElevateCardItems.PlayerElevateCardRedeem, { key: '7e5f830b612c962a828c58f20a88dc97d315c910', onRedeemClick: this.onRedeemClick, language: this.language })))))))));
65
+ return (index.h("div", { key: 'e976417483a756b8f67d70feb09afb544efb3802', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: '5de2dbc7d093bbcbe7b415122effa691c058ddb6', class: "Card Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: '1a5b13640d37efab6dacee24e27f9f2bdc83cd0c', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-card-data", { key: 'e80389984932f77408c772ad9cb130de99e88504', params: this.paramProxy }), index.h("div", { key: 'fec6145e06a300bc044fec2f96e61dfe86f44d6c', class: "OuterCover Inner", style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, this.playerElevateLevel && (index.h(index.Fragment, { key: '90b1f057c5d1d5ae286a75c3d30182c16593bbe6' }, index.h("div", { key: 'cf5a0cc332fc6beafe079a2b500ebbc1f8d21b91', class: 'Content Row' }, index.h("div", { key: 'f3348ba8eb7bcb08085ab49ce2059c7fd86f862f', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: '8fa96d942ee70d43ea0231b87f5d5de0b72198df', playerAvatarUrl: this.playerAvatarUrl, loyaltyIconUrl: this.playerElevateLevel.presentation.asset }), index.h(playerElevateCardItems.PlayerPoints, { key: 'f774e833169326404d44dd8c2361bd89f0e5a9e6', loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language })), this.pointExpireString && (index.h("div", { key: 'c85b28e71be4e13df275f2ae74f5b0c9538b3cda', class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), index.h("div", { key: '63ef752d5e25c3a65e5af7977b9e9f4846b8ba45', class: `LevelInfo Level${this.playerLevelFlag} ${this.playerElevateLevel.presentation.displayName}` }, index.h(playerElevateCardItems.PlayerNameDiv, { key: '7cc0d416fe0aadc1b7406b95b31d23ad2ca45ba4', playerName: this.playerName }), index.h(playerElevateCardItems.PlayerElevateLoyaltyLevel, { key: '38d7c5aed410c9bf55e9640a98f6f74fc2d38291', hideInfo: true, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), index.h(playerElevateCardItems.PlayerLoyaltyProcess, { key: '2e1305ff3bea4cb2f432f1187c40bb36a1464627' }), index.h(playerElevateCardItems.PlayerElevateCardRedeem, { key: '427405f246bec7a028b5164fc70292b769ea609b', onRedeemClick: this.onRedeemClick, language: this.language })))))))));
65
66
  }
66
67
  static get assetsDirs() { return ["../static"]; }
67
68
  static get watchers() { return {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ba216df9.js');
6
- const playerElevateCardItems = require('./player-elevate-card-items-b36a067d.js');
5
+ const index = require('./index-8f337cb6.js');
6
+ const playerElevateCardItems = require('./player-elevate-card-items-77bde478.js');
7
7
  const locale_utils = require('./locale.utils-6b4c0dbd.js');
8
8
 
9
9
  const playerElevateLoyaltycardCss = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:6px;margin-left:0px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:0px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}";
@@ -75,8 +75,8 @@ const PlayerElevateLoyaltycard = class {
75
75
  render() {
76
76
  const backgroundOuterImagePath = index.getAssetPath('../static/card-ground.svg');
77
77
  const backgroundInnerImagePath = index.getAssetPath('../static/card-ground-over.svg');
78
- return (index.h("div", { key: 'aa8f0d13a1e1d26ea7307d05fc50cda507172949', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: '485075740ced316bf89f69359bdc8642dbb2af8f', class: "LoyaltyCard Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: '24dc58d3f4f6026b113239d1cc9ccfd316142ff9', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("player-elevate-card-data", { key: '0cbffe246628e3927bf76ce5b125b7419cafc25d', params: this.paramProxy }), index.h("div", { key: '36253daeadefe0b3ee2eb2eccb361e5033364202', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, index.h("div", { key: '49f97f2c1cafa39556c34432557e000690698105', class: 'Content Row' }, this.playerElevateLevel && (index.h(index.Fragment, { key: '4eab6948bc49da8f28acd5d85364246495f81af5' }, index.h("div", { key: '5f95c9bbafc6f20df602adf279cfcbd069ab2319', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: '53c37a7676b053ea9447e833053aa13fb67e0392', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), index.h("div", { key: 'ce9b24f9bf2b87878edd04ac75ec64545fa62711', class: `LevelInfo ${this.playerElevateLevel.name}` }, index.h("div", { key: '79ab8fc735a7ddeb9b8786e3f832ec4188d5942f', class: 'CardCell ElevateLevel' }, index.h("span", { key: 'e7cf27215748ce93683ce95dde701dd991e6854b', class: "LevelName", title: this.playerElevateLevel.name }, this.playerElevateLevel.name)), index.h("div", { key: '0c4bfe25c728722d5e97e9728b642e3503940908', class: 'PointsRange' }, index.h(playerElevateCardItems.PlayerPoints, { key: 'f2fba862e377beafb8e7a682503cfce682fb863f', loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), index.h(playerElevateCardItems.PlayerPoints, { key: 'a6fa3560bfb9acf7abc3bdb23acb6cb1f51ff0df', loyaltyPoints: this.getNextLevelPoints(), language: this.language })), index.h(playerElevateCardItems.PlayerLoyaltyProcess, { key: 'c185c3ac46e10ec9715fb081a05f9a8d4d8007f9' }), index.h("div", { key: 'd0f85005176bd8acc499cd8e5efe53b9ec2a3b80', class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && (index.h("div", { key: '763be6168567973ad3df88d116a97dd00d53a6d8', class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), this.playerElevateLevel.expireTime &&
79
- index.h(playerElevateCardItems.LoyaltyLevelExpireDay, { key: '662982c38dd920149566a87503b5de1b123ee414', expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat, language: this.language })))))))));
78
+ return (index.h("div", { key: 'aa8f0d13a1e1d26ea7307d05fc50cda507172949', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: '485075740ced316bf89f69359bdc8642dbb2af8f', class: "LoyaltyCard Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: '3648821972ac115a1c33705463cdc2cdb427a95b', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-card-data", { key: '7b36c46a869bd4b014d1f04dbb718445b23ec964', params: this.paramProxy }), index.h("div", { key: 'f4e5aa453459f693e07c166028aec9b0b696c907', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, index.h("div", { key: 'd5f1894120cba3e7cf3c54b838a025f469bc445e', class: 'Content Row' }, this.playerElevateLevel && (index.h(index.Fragment, { key: '112ee04598b23dda6911f043101c0c1631454d7f' }, index.h("div", { key: '7af4b6e937bbe73cc00aae0f27f8c93da47bb626', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: '1b5037bfa196063f56cccd947c988a3aca0781b0', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), index.h("div", { key: '7b714e446f4e01edd4f4aefcc035d070b7d6a47b', class: `LevelInfo ${this.playerElevateLevel.name}` }, index.h("div", { key: '37ad8ce5dae374685e74f6772d28e79d251932e3', class: 'CardCell ElevateLevel' }, index.h("span", { key: '2d9dcf4b08fcecc927d3e8bdca74c75ff4336480', class: "LevelName", title: this.playerElevateLevel.name }, this.playerElevateLevel.name)), index.h("div", { key: 'cc89cbaa70d9583b9626da15e98f9fd61d82f81f', class: 'PointsRange' }, index.h(playerElevateCardItems.PlayerPoints, { key: '32de4cac05a4fd5610af857b25e096a7cb9ba34d', loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), index.h(playerElevateCardItems.PlayerPoints, { key: '298f492c8991384547c31396fc930b5c21f41501', loyaltyPoints: this.getNextLevelPoints(), language: this.language })), index.h(playerElevateCardItems.PlayerLoyaltyProcess, { key: 'aca4f5642c41db1c4b7fa04411331a5c25c655dd' }), index.h("div", { key: 'd841c5df319de105376c6eee24bc685757916aae', class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && (index.h("div", { key: '774279829f3f52ee5696550a855a833b39df8c81', class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), this.playerElevateLevel.expireTime &&
79
+ index.h(playerElevateCardItems.LoyaltyLevelExpireDay, { key: '3a4319e502e85b26cb220942492b161ad842be82', expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat, language: this.language })))))))));
80
80
  }
81
81
  static get watchers() { return {
82
82
  "session": ["onSessionOrEndpointChange"],
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ba216df9.js');
5
+ const index = require('./index-8f337cb6.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["bonus-pagination-limits_6.cjs",[[1,"player-elevate-points-history",{"playerAvatarUrl":[513,"player-avatar-url"],"session":[513],"endpoint":[513],"limit":[1538],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"pageLimitOptions":[1537,"page-limit-options"],"currencyPrecision":[1538,"currency-precision"],"enableRakeback":[1540,"enable-rakeback"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"locale":[32],"type":[32],"pageSetting":[32],"pointsWallets":[32],"validWallets":[32]},[[0,"reloadPageByType","reloadPageByTypeHandler"]],{"type":["walletTypeChangedHandler"],"endpoint":["updateWallets"],"language":["updateWallets"],"session":["updateWallets"]}],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[0,"bonus-pagination-limits",{"language":[513],"translationUrl":[513,"translation-url"],"pageLimitOptions":[513,"page-limit-options"],"limit":[1538],"pageLimits":[32]}],[0,"bonus-pagination-nav",{"total":[1538],"limit":[1538],"offset":[1538],"tableId":[1537,"table-id"],"language":[1537],"translationUrl":[513,"translation-url"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"displayRangeOfTotal":[1540,"display-range-of-total"],"navItemAccount":[1538,"nav-item-account"],"endPageIndex":[32],"pagesArray":[32],"currentPage":[32],"showAsEllipsisMid":[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{"params":["onParamsChanged"]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]],["player-elevate-card.cjs",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-elevate-loyaltycard.cjs",[[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-rakeback-card.cjs",[[1,"player-rakeback-card",{"endpoint":[513],"theme":[513],"session":[513],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"show":[516],"rakebackInfo":[32],"isLoading":[32],"coolingOffPeriod":[32],"showTheWidget":[32]},[[8,"message","handleMessage"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"],"show":["onShowOrHasRakebackWalletChange"],"rakebackInfo":["onShowOrHasRakebackWalletChange"]}]]]], options);
22
+ return index.bootstrapLazy([["bonus-pagination-limits_6.cjs",[[1,"player-elevate-points-history",{"playerAvatarUrl":[513,"player-avatar-url"],"session":[513],"endpoint":[513],"limit":[1538],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"pageLimitOptions":[1537,"page-limit-options"],"currencyPrecision":[1538,"currency-precision"],"enableRakeback":[1540,"enable-rakeback"],"language":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"locale":[32],"type":[32],"pageSetting":[32],"pointsWallets":[32],"validWallets":[32]},[[0,"reloadPageByType","reloadPageByTypeHandler"]],{"type":["walletTypeChangedHandler"],"endpoint":["updateWallets"],"language":["updateWallets"],"session":["updateWallets"]}],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"mbSource":[513,"mb-source"],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[0,"bonus-pagination-limits",{"language":[513],"translationUrl":[513,"translation-url"],"pageLimitOptions":[513,"page-limit-options"],"limit":[1538],"pageLimits":[32]}],[0,"bonus-pagination-nav",{"total":[1538],"limit":[1538],"offset":[1538],"tableId":[1537,"table-id"],"language":[1537],"translationUrl":[513,"translation-url"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"displayRangeOfTotal":[1540,"display-range-of-total"],"navItemAccount":[1538,"nav-item-account"],"endPageIndex":[32],"pagesArray":[32],"currentPage":[32],"showAsEllipsisMid":[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{"params":["onParamsChanged"]}],[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"]}]]],["player-elevate-card.cjs",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-elevate-loyaltycard.cjs",[[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}]]],["player-rakeback-card.cjs",[[1,"player-rakeback-card",{"endpoint":[513],"theme":[513],"session":[513],"language":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"show":[516],"rakebackInfo":[32],"isLoading":[32],"coolingOffPeriod":[32],"showTheWidget":[32]},[[8,"message","handleMessage"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"],"show":["onShowOrHasRakebackWalletChange"],"rakebackInfo":["onShowOrHasRakebackWalletChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ba216df9.js');
5
+ const index = require('./index-8f337cb6.js');
6
6
  const locale_utils = require('./locale.utils-6b4c0dbd.js');
7
7
 
8
8
  const playerRakebackCardCss = ":host{display:block}@keyframes rotate{from{transform:rotate(360deg)}to{transform:rotate(0deg)}}.RakebackCard{border:2px solid var(--em-color-border-primary, #003E5C);padding:32px;border-radius:var(--emw--border-radius-medium, 12px);overflow:hidden;font-family:inherit}.RakebackCard .RakebackCardContent .RakebackTitle{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--em-color-text-secondary, #727672)}.RakebackCard .RakebackCardContent .RakebackDetails{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-top:17px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo{display:flex;flex-wrap:wrap;align-items:center;gap:0 17px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackRefresh{width:52px;height:52px;cursor:pointer}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackRefresh.RakebackLoading{animation:rotate 0.5s linear infinite}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackNumContainer{color:var(--em-color-text-primary, #fff);display:flex;align-items:center;gap:8px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackNumContainer .RakebackNum{display:inline-block;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-2x-large, 36px)}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackNumContainer .RakebackCurrency{display:inline-block;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);margin-top:14px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackButton{font-family:inherit;cursor:pointer;width:90px;height:34px;border-radius:var(--emw--border-radius-large, 99px);border:2px solid var(--em-color-border-success, #083B17);display:flex;justify-content:center;align-items:center;color:var(--em-color-text-primary, #fff);background:linear-gradient(180deg, var(--em-color-gradient-1, #24B24E) 0%, var(--em-color-gradient-1, #24B24E) 100%)}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackButton.disabled{cursor:not-allowed;opacity:0.4}.RakebackCard .RakebackCardContent .RakebackCoolOff,.RakebackCard .RakebackCardContent .RakebackError{margin-top:8px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-x-small, 12px);color:var(--em-color-text-error, #FF7A73);text-align:center}";
@@ -31,6 +31,7 @@ const PlayerRakebackCard = class {
31
31
  this.theme = 'Dark';
32
32
  this.session = undefined;
33
33
  this.language = 'en';
34
+ this.mbSource = undefined;
34
35
  this.clientStyling = '';
35
36
  this.clientStylingUrl = '';
36
37
  this.translationUrl = '';
@@ -144,7 +145,7 @@ const PlayerRakebackCard = class {
144
145
  await this.onShowOrHasRakebackWalletChange();
145
146
  }
146
147
  render() {
147
- return this.showTheWidget ? (index.h("div", { class: "RakebackCard" }, index.h("general-styling-wrapper", { clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("div", { class: "RakebackCardContent" }, index.h("div", { class: "RakebackTitle" }, locale_utils.translate('rakebackTitle', this.language)), index.h("div", { class: "RakebackDetails" }, index.h("div", { class: "RakebackInfo" }, index.h("div", { class: "RakebackNumContainer" }, index.h("span", { class: "RakebackNum" }, this.rakebackInfo.points), index.h("span", { class: "RakebackCurrency" }, this.rakebackInfo.currency))), index.h("div", { class: `RakebackButton ${this.isLoading || !this.rakebackInfo.claimable ? 'disabled' : ''}`, onClick: this.sendRakebackClaimedEvent }, locale_utils.translate('claim', this.language))), !this.rakebackInfo.claimable && this.rakebackInfo.showCanClaim && (index.h("div", { class: "RakebackCoolOff" }, locale_utils.translateWithParams('minutesCanClaim', {
148
+ return this.showTheWidget ? (index.h("div", { class: "RakebackCard" }, index.h("general-styling-wrapper", { clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("div", { class: "RakebackCardContent" }, index.h("div", { class: "RakebackTitle" }, locale_utils.translate('rakebackTitle', this.language)), index.h("div", { class: "RakebackDetails" }, index.h("div", { class: "RakebackInfo" }, index.h("div", { class: "RakebackNumContainer" }, index.h("span", { class: "RakebackNum" }, this.rakebackInfo.points), index.h("span", { class: "RakebackCurrency" }, this.rakebackInfo.currency))), index.h("div", { class: `RakebackButton ${this.isLoading || !this.rakebackInfo.claimable ? 'disabled' : ''}`, onClick: this.sendRakebackClaimedEvent }, locale_utils.translate('claim', this.language))), !this.rakebackInfo.claimable && this.rakebackInfo.showCanClaim && (index.h("div", { class: "RakebackCoolOff" }, locale_utils.translateWithParams('minutesCanClaim', {
148
149
  lang: this.language,
149
150
  minutes: this.rakebackInfo.minutesCanClaim
150
151
  })))))) : null;
@@ -20,6 +20,7 @@ export class PlayerElevatePointsHistory {
20
20
  this.currencyPrecision = 2;
21
21
  this.enableRakeback = true;
22
22
  this.language = 'en';
23
+ this.mbSource = undefined;
23
24
  this.clientStyling = '';
24
25
  this.clientStylingUrl = '';
25
26
  this.translationUrl = '';
@@ -64,11 +65,11 @@ export class PlayerElevatePointsHistory {
64
65
  render() {
65
66
  var _a, _b;
66
67
  const pageSetting = this.getPageSettingByType(this.type);
67
- return (h("main", { key: '59c822ef670d41b2a9cb2001faaf3bcbd54b7eca' }, h("general-styling-wrapper", { key: '1e7a029787beffc38f57367c82725b6e350d5aa7', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
68
+ return (h("main", { key: '8e7d5a109467811e371dcfa56214f079b82970bb' }, h("general-styling-wrapper", { key: '46dd3a6435b423b765796c4fa1c115e6cc19a8e2', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
68
69
  // @ts-ignore
69
- targetTranslations: translation, translationUrl: this.translationUrl }), h("player-elevate-pointcard", { key: '84633fc755744e3816c44207aac091d2d8d08c6c', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), h("div", { key: '4374c53cb0932e2e5700d069e1cc55f0e55d5363', class: "PlayerElevatePointsDetaisContainer" }, [
70
+ targetTranslations: translation, translationUrl: this.translationUrl, mbSource: this.mbSource }), h("player-elevate-pointcard", { key: 'c2deb9610f60c7692b01c0c5cf0d68464665c8c6', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), h("div", { key: '5314e0d934516a37605e6509820f70091237fff7', class: "PlayerElevatePointsDetaisContainer" }, [
70
71
  renderTopBar(this.locale, this.type, pageSetting),
71
- h("div", { key: 'e78ffe11558d1be2ff646729b17526951be66c91', class: "Tabs Row" }, (this.validWallets || []).map(key => (h("div", { class: "tab" }, h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
72
+ h("div", { key: '0d148b0ca94e1dda4ad946aa349be891857c0211', class: "Tabs Row" }, (this.validWallets || []).map(key => (h("div", { class: "tab" }, h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
72
73
  ((_a = this.pointsWallets[this.type]) === null || _a === void 0 ? void 0 : _a.isLoadFailed)
73
74
  ? h("div", { class: "ReloadMsg" }, this.locale['reloadMsgWhenError'], h("a", { class: "Reload", onClick: this.updateWallets }, this.locale['reload']))
74
75
  : this.loadWallets(renderWallets.bind(this, this.locale, ((_b = this.pointsWallets[this.type]) === null || _b === void 0 ? void 0 : _b.wallets) || [], pageSetting))
@@ -353,6 +354,23 @@ export class PlayerElevatePointsHistory {
353
354
  "reflect": true,
354
355
  "defaultValue": "'en'"
355
356
  },
357
+ "mbSource": {
358
+ "type": "string",
359
+ "mutable": false,
360
+ "complexType": {
361
+ "original": "string",
362
+ "resolved": "string",
363
+ "references": {}
364
+ },
365
+ "required": false,
366
+ "optional": false,
367
+ "docs": {
368
+ "tags": [],
369
+ "text": "Client custom styling via streamStyling"
370
+ },
371
+ "attribute": "mb-source",
372
+ "reflect": true
373
+ },
356
374
  "clientStyling": {
357
375
  "type": "string",
358
376
  "mutable": false,
@@ -32,6 +32,7 @@ const meta = {
32
32
  translationUrl: { control: 'text', description: '' },
33
33
  enableRakeback: { control: 'text', description: 'Default value: false' },
34
34
  currencyPrecision: { control: 'text', description: 'Customize currency precision for rakeback, default: 2' },
35
+ mbSource: { control: 'text', description: '' },
35
36
  },
36
37
  };
37
38
  export default meta;
@@ -50,6 +51,7 @@ const Template = (args) => {
50
51
  translation-url="${args.translationUrl}"
51
52
  enable-rakeback="${args.enableRakeback}"
52
53
  currency-precision="${args.currencyPrecision}"
54
+ mb-source="${args.mbSource}"
53
55
  ></player-elevate-points-history>`;
54
56
  };
55
57
  export const Default = Template.bind({});
@@ -65,5 +67,6 @@ Default.args = {
65
67
  clientStyling: "",
66
68
  clientStylingUrl: "",
67
69
  translationUrl: "",
68
- currencyPrecision: '2'
70
+ currencyPrecision: '2',
71
+ mbSource: "",
69
72
  };