@everymatrix/player-elevate-points-history 1.59.0 → 1.59.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +4 -531
  2. package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +3 -4
  3. package/dist/collection/utils/translation.js +1 -0
  4. package/dist/esm/bonus-pagination-limits_6.entry.js +58 -585
  5. package/dist/player-elevate-points-history/p-eb68c265.entry.js +1 -0
  6. package/dist/player-elevate-points-history/player-elevate-points-history.esm.js +1 -1
  7. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +2 -0
  8. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +2 -0
  9. package/dist/types/components/player-elevate-points-history/player-elevate-points-history.d.ts +0 -1
  10. package/dist/types/utils/translation.d.ts +1 -0
  11. package/package.json +1 -1
  12. package/dist/player-elevate-points-history/p-ef973549.entry.js +0 -1
  13. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -2
  14. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -2
  15. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  16. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/main.d.ts +0 -0
  17. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/preview.d.ts +0 -0
  18. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/index.d.ts +0 -0
  19. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  20. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  21. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h as h$1, g as getElement, a as getAssetPath, F as Fragment } from './index-f02f9189.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement, a as getAssetPath, F as Fragment } from './index-f02f9189.js';
2
2
  import { t as translateWithParams, T as TRANSLATIONS$2, a as translate$2 } from './locale.utils-71f870a8.js';
3
3
  import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, P as PlayerAvatar, a as PlayerPoints } from './player-elevate-card-items-431ffcbf.js';
4
4
 
@@ -64,14 +64,14 @@ const BonusPaginationLimits = class {
64
64
  }
65
65
  }
66
66
  renderStylingWrapper() {
67
- return h$1("general-styling-wrapper", { targetTranslations: TRANSLATIONS$1, translationUrl: this.translationUrl });
67
+ return h("general-styling-wrapper", { targetTranslations: TRANSLATIONS$1, translationUrl: this.translationUrl });
68
68
  }
69
69
  render() {
70
- return h$1("div", { key: '57f5e61ee287f72d0427a2e4f646e37c6b9358b9', class: 'PaginationWrapper' }, h$1("span", { key: '5f82b19fcf269086659b3faa475d9967b2af57fa', class: 'NoOfItemsToDisplayMessage' }, translate$1('pageLimitLabel', this.language)), h$1("ul", { key: '559c2d5378a352691583567579a8e681d092ddd3', class: 'PaginationArea' }, this.pageLimits.map((pageLimit) => {
71
- return (h$1("li", { class: `${this.limit == pageLimit ? 'Active' : ''} PageSize Item`, onClick: () => {
70
+ return h("div", { key: '57f5e61ee287f72d0427a2e4f646e37c6b9358b9', class: 'PaginationWrapper' }, h("span", { key: '5f82b19fcf269086659b3faa475d9967b2af57fa', class: 'NoOfItemsToDisplayMessage' }, translate$1('pageLimitLabel', this.language)), h("ul", { key: '559c2d5378a352691583567579a8e681d092ddd3', class: 'PaginationArea' }, this.pageLimits.map((pageLimit) => {
71
+ return (h("li", { class: `${this.limit == pageLimit ? 'Active' : ''} PageSize Item`, onClick: () => {
72
72
  this.onPageLimitClicked(pageLimit);
73
73
  } }, pageLimit));
74
- })), h$1("general-styling-wrapper", { key: 'a8b9632e7421318e330f33b9c1cc9eb7121e35e9', targetTranslations: TRANSLATIONS$1, translationUrl: this.translationUrl }), this.renderStylingWrapper());
74
+ })), h("general-styling-wrapper", { key: 'a8b9632e7421318e330f33b9c1cc9eb7121e35e9', targetTranslations: TRANSLATIONS$1, translationUrl: this.translationUrl }), this.renderStylingWrapper());
75
75
  }
76
76
  };
77
77
  BonusPaginationLimits.style = BonusPaginationLimitsStyle0;
@@ -169,14 +169,14 @@ const BonusPaginationNav = class {
169
169
  this.reloadPageEmitter.emit({ offset, limit: this.limit, tableId: this.tableId });
170
170
  }
171
171
  renderPageList() {
172
- return h$1("ul", { class: 'PaginationArea' }, this.pagesArray.map((page) => {
173
- return (h$1("li", { class: `PageItem ${this.currentPage == page ? 'Active' : ''}`, onClick: () => {
172
+ return h("ul", { class: 'PaginationArea' }, this.pagesArray.map((page) => {
173
+ return (h("li", { class: `PageItem ${this.currentPage == page ? 'Active' : ''}`, onClick: () => {
174
174
  this.goTo(page);
175
175
  } }, page));
176
176
  }));
177
177
  }
178
178
  renderStylingWrapper() {
179
- return h$1("general-styling-wrapper", { targetTranslations: TRANSLATIONS, translationUrl: this.translationUrl });
179
+ return h("general-styling-wrapper", { targetTranslations: TRANSLATIONS, translationUrl: this.translationUrl });
180
180
  }
181
181
  /**
182
182
  *
@@ -254,23 +254,23 @@ const BonusPaginationNav = class {
254
254
  render() {
255
255
  const startOffset = (this.currentPage - 1) * this.limit + 1;
256
256
  const endOffset = this.currentPage * this.limit > this.total ? this.total : this.currentPage * this.limit;
257
- return h$1("div", { key: 'aa8d14788833b1b0e13ea20943935b03a3b043ac', class: 'PageNavigationWrapper' }, this.displayRangeOfTotal && this.total > 0 && h$1("span", { key: 'a018261b6c598116829d878b8120aee7ae2576c4', class: 'PageOfMessage' }, translate('pageOfTotal', this.language, {
257
+ return h("div", { key: 'aa8d14788833b1b0e13ea20943935b03a3b043ac', class: 'PageNavigationWrapper' }, this.displayRangeOfTotal && this.total > 0 && h("span", { key: 'a018261b6c598116829d878b8120aee7ae2576c4', class: 'PageOfMessage' }, translate('pageOfTotal', this.language, {
258
258
  values: {
259
259
  start: startOffset,
260
260
  end: endOffset,
261
261
  total: this.total
262
262
  }
263
- })), h$1("div", { key: '64fc17d0b992b30a4b8d712e47442ee6a2d44b82', class: 'PageNavigation' }, this.arrowsActive &&
264
- h$1("div", { key: 'f5f3b562fbdfb9e4b39ffd9755e5dba41e6231ba', class: `PageArrow FirstPage ${this.currentPage == 1 ? 'Disabled' : ''}`, onClick: () => {
263
+ })), h("div", { key: '64fc17d0b992b30a4b8d712e47442ee6a2d44b82', class: 'PageNavigation' }, this.arrowsActive &&
264
+ h("div", { key: 'f5f3b562fbdfb9e4b39ffd9755e5dba41e6231ba', class: `PageArrow FirstPage ${this.currentPage == 1 ? 'Disabled' : ''}`, onClick: () => {
265
265
  this.goTo(1);
266
266
  } }, translate('firstPage', this.language)), this.secondaryArrowsActive &&
267
- h$1("span", { key: '39222e258f6c63502bfd3914c673d804edc96b53', class: `PageArrow PrePage ${this.currentPage == 1 ? 'Disabled' : ''}`, onClick: () => {
267
+ h("span", { key: '39222e258f6c63502bfd3914c673d804edc96b53', class: `PageArrow PrePage ${this.currentPage == 1 ? 'Disabled' : ''}`, onClick: () => {
268
268
  this.goTo(this.currentPage - 1);
269
269
  } }, translate('prePage', this.language)), this.displayPageNumbers && this.renderPageList(), this.secondaryArrowsActive &&
270
- h$1("span", { key: 'd6f9a1394debdae49702713ccc59bea710ccd7ae', class: `PageArrow NextPage ${this.currentPage == (this.endPageIndex + 1) ? 'Disabled' : ''}`, onClick: () => {
270
+ h("span", { key: 'd6f9a1394debdae49702713ccc59bea710ccd7ae', class: `PageArrow NextPage ${this.currentPage == (this.endPageIndex + 1) ? 'Disabled' : ''}`, onClick: () => {
271
271
  this.goTo(this.currentPage + 1);
272
272
  } }, translate('nextPage', this.language)), this.arrowsActive &&
273
- h$1("div", { key: 'd2bb76f9d40fcfc3dbc6bb5fbfe6d237e77f0ee6', class: `PageArrow LastPage ${this.currentPage == this.endPageIndex + 1 ? 'Disabled' : ''}`, onClick: () => {
273
+ h("div", { key: 'd2bb76f9d40fcfc3dbc6bb5fbfe6d237e77f0ee6', class: `PageArrow LastPage ${this.currentPage == this.endPageIndex + 1 ? 'Disabled' : ''}`, onClick: () => {
274
274
  this.goTo(this.endPageIndex + 1);
275
275
  } }, " ", translate('lastPage', this.language), " "), this.renderStylingWrapper()));
276
276
  }
@@ -345,7 +345,7 @@ const GeneralStylingWrapper = class {
345
345
  return await Promise.all(promises);
346
346
  }
347
347
  render() {
348
- return (h$1("div", { key: '4d3414408c7662f88331dbe655966237f74d6958', class: "StyleShell" }, h$1("slot", { key: '1d004644d84602c4314bdf5dfc26b55b160f57df', name: "mainContent" })));
348
+ return (h("div", { key: '4d3414408c7662f88331dbe655966237f74d6958', class: "StyleShell" }, h("slot", { key: '1d004644d84602c4314bdf5dfc26b55b160f57df', name: "mainContent" })));
349
349
  }
350
350
  get el() { return getElement(this); }
351
351
  };
@@ -861,9 +861,9 @@ const PlayerElevatePointcard = class {
861
861
  render() {
862
862
  const backgroundOuterImagePath = getAssetPath('../static/card-ground.svg');
863
863
  const backgroundInnerImagePath = getAssetPath('../static/card-ground-over.svg');
864
- return (h$1("div", { key: '4e6e25bdd2a9f795369b39dbfd7e9adbd1523e17', class: `ElevateCardWrapper ${this.theme}` }, h$1("div", { key: 'ddeea1e67d51d5c0c8ed56edfd2d8d9c39e85253', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, h$1("general-styling-wrapper", { key: 'c6d6e3a3bc9a54cb99b4268feb3c296527d1ba8c', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: TRANSLATIONS$2, translationUrl: this.translationUrl }), h$1("player-elevate-card-data", { key: '4371faac6967c5b3eced57f6251064ea4e1d6a65', params: this.paramProxy }), h$1("div", { key: 'c78235a6fdc2aed90df898f007b5ee091cece8dc', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, h$1("div", { key: '025e779223c1c85c11998be8389a8ff836a31e6c', class: 'Content Row' }, this.playerElevateLevel && (h$1(Fragment, { key: '68daa6047dc93d2596d8b2309a26f56960737617' }, h$1("div", { key: '6a2d2b2e7d234bceaf3d9240c5d4f2eb80395319', class: "PlayerImg" }, h$1(PlayerAvatar, { key: 'aeaf35ad8055ad4f7312922c8600ea58d09be74f', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), h$1("div", { key: 'bd51ce868b4d8a547f40ec55548bbf3cfa416534', class: `LevelInfo ${this.playerElevateLevel.name}` }, h$1("div", { key: '5f4d77a5b43c8efee850b9813bc1c8e61d27d45d', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : translate$2('spendablePoints')), h$1("div", { key: 'bae5dc76d00c98aed803601c19fe3bf1aa4418d5', class: 'PointsTxt SPPoints' }, h$1(PlayerPoints, { key: '59d51bd37f44ed23108fc4356af41c01668354e3', spendablePoints: this.playerElevateLevel.spendablePoints, language: this.language }), h$1("a", { key: '3a923bea242ae5fa412f4448dca7277b3588621e', class: "TC", onClick: () => {
864
+ return (h("div", { key: '4e6e25bdd2a9f795369b39dbfd7e9adbd1523e17', class: `ElevateCardWrapper ${this.theme}` }, h("div", { key: 'ddeea1e67d51d5c0c8ed56edfd2d8d9c39e85253', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, h("general-styling-wrapper", { key: 'c6d6e3a3bc9a54cb99b4268feb3c296527d1ba8c', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: TRANSLATIONS$2, translationUrl: this.translationUrl }), h("player-elevate-card-data", { key: '4371faac6967c5b3eced57f6251064ea4e1d6a65', params: this.paramProxy }), h("div", { key: 'c78235a6fdc2aed90df898f007b5ee091cece8dc', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, h("div", { key: '025e779223c1c85c11998be8389a8ff836a31e6c', class: 'Content Row' }, this.playerElevateLevel && (h(Fragment, { key: '68daa6047dc93d2596d8b2309a26f56960737617' }, h("div", { key: '6a2d2b2e7d234bceaf3d9240c5d4f2eb80395319', class: "PlayerImg" }, h(PlayerAvatar, { key: 'aeaf35ad8055ad4f7312922c8600ea58d09be74f', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), h("div", { key: 'bd51ce868b4d8a547f40ec55548bbf3cfa416534', class: `LevelInfo ${this.playerElevateLevel.name}` }, h("div", { key: '5f4d77a5b43c8efee850b9813bc1c8e61d27d45d', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : translate$2('spendablePoints')), h("div", { key: 'bae5dc76d00c98aed803601c19fe3bf1aa4418d5', class: 'PointsTxt SPPoints' }, h(PlayerPoints, { key: '59d51bd37f44ed23108fc4356af41c01668354e3', spendablePoints: this.playerElevateLevel.spendablePoints, language: this.language }), h("a", { key: '3a923bea242ae5fa412f4448dca7277b3588621e', class: "TC", onClick: () => {
865
865
  this.onDetailsClick();
866
- } }, translate$2('termAndConditions', this.language))), this.pointExpireString && (h$1("div", { key: '8803ae8d343885da58dfa04b9a4474ff473b5a74', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
866
+ } }, translate$2('termAndConditions', this.language))), this.pointExpireString && (h("div", { key: '8803ae8d343885da58dfa04b9a4474ff473b5a74', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
867
867
  }
868
868
  static get watchers() { return {
869
869
  "session": ["onSessionOrEndpointChange"],
@@ -895,6 +895,7 @@ const translation = {
895
895
  bonus: 'Bonus',
896
896
  coins: 'Coins',
897
897
  noContent: 'No Content',
898
+ loading: 'Loading',
898
899
  redeem: 'Redeem',
899
900
  reload: 'Reload',
900
901
  reloadMsgWhenError: 'Network Problem, please ',
@@ -966,43 +967,43 @@ const getUriByWalletType = (type) => `/v1/elevate/${type == WalletType.history ?
966
967
 
967
968
  const WalletItem = ({ locale, wallet, walletType }) => {
968
969
  if (walletType === WalletType.history) {
969
- return h$1("div", { class: "RecordContainer" },
970
+ return h("div", { class: "RecordContainer" },
970
971
  wallet.payload &&
971
- h$1("div", { class: "Row" },
972
- h$1("div", { class: "Title" }, wallet.payload.displayName),
973
- h$1("div", { class: `Amount ${getAmountConfig(wallet.points).class}` },
974
- h$1("span", { class: "HistoryPoints" },
972
+ h("div", { class: "Row" },
973
+ h("div", { class: "Title" }, wallet.payload.displayName),
974
+ h("div", { class: `Amount ${getAmountConfig(wallet.points).class}` },
975
+ h("span", { class: "HistoryPoints" },
975
976
  Math.abs(wallet.points),
976
977
  " ",
977
978
  locale.coins))),
978
- h$1("div", { class: "Row" },
979
- h$1("div", { class: wallet.payload ? 'PointType' : 'Title' }, locale.pointType[wallet.pointType] || wallet.pointType),
979
+ h("div", { class: "Row" },
980
+ h("div", { class: wallet.payload ? 'PointType' : 'Title' }, locale.pointType[wallet.pointType] || wallet.pointType),
980
981
  !wallet.payload &&
981
- h$1("div", { class: `Amount ${getAmountConfig(wallet.points).class}` },
982
- h$1("span", { class: "HistoryPoints" },
982
+ h("div", { class: `Amount ${getAmountConfig(wallet.points).class}` },
983
+ h("span", { class: "HistoryPoints" },
983
984
  Math.abs(wallet.points),
984
985
  " ",
985
986
  locale.coins))),
986
- h$1("div", { class: "Row" },
987
- h$1("div", { class: "DateTime" }, formatDate(new Date(wallet.modified)))));
987
+ h("div", { class: "Row" },
988
+ h("div", { class: "DateTime" }, formatDate(new Date(wallet.modified)))));
988
989
  }
989
990
  else {
990
- return (h$1("div", { class: "RecordContainer" },
991
- h$1("div", { class: `Row ${wallet.pointType}` },
992
- h$1("div", { class: "Title" }, locale.pointType[wallet.pointType] || wallet.pointType),
993
- h$1("div", { class: `Amount ${getAmountConfig(wallet.points).class}` },
994
- h$1("span", { class: "Points" },
991
+ return (h("div", { class: "RecordContainer" },
992
+ h("div", { class: `Row ${wallet.pointType}` },
993
+ h("div", { class: "Title" }, locale.pointType[wallet.pointType] || wallet.pointType),
994
+ h("div", { class: `Amount ${getAmountConfig(wallet.points).class}` },
995
+ h("span", { class: "Points" },
995
996
  getAmountConfig(wallet.points).symbol,
996
997
  " ",
997
998
  wallet.points))),
998
- h$1("div", { class: "Row" },
999
- h$1("div", { class: "DateTime" }, formatDate(new Date(wallet.modified))))));
999
+ h("div", { class: "Row" },
1000
+ h("div", { class: "DateTime" }, formatDate(new Date(wallet.modified))))));
1000
1001
  }
1001
1002
  };
1002
- const renderWallets = (locale, wallets, pageSetting) => wallets && (h$1(Fragment, null,
1003
- h$1("div", { class: "Records" }, wallets.map(wallet => h$1(WalletItem, { locale: locale, wallet: wallet, walletType: pageSetting.tableId }))),
1004
- h$1("div", { class: "PaginationContainer" },
1005
- h$1("bonus-pagination-nav", { offset: pageSetting.offset, limit: pageSetting.limit, displayPageNumbers: pageSetting.displayPageNumbers, tableId: pageSetting.tableId, secondaryArrowsActive: pageSetting.secondaryArrowsActive, total: pageSetting.total }))));
1003
+ const renderWallets = (locale, wallets, pageSetting) => wallets && (h(Fragment, null,
1004
+ h("div", { class: "Records" }, wallets.map(wallet => h(WalletItem, { locale: locale, wallet: wallet, walletType: pageSetting.tableId }))),
1005
+ h("div", { class: "PaginationContainer" },
1006
+ h("bonus-pagination-nav", { offset: pageSetting.offset, limit: pageSetting.limit, displayPageNumbers: pageSetting.displayPageNumbers, tableId: pageSetting.tableId, secondaryArrowsActive: pageSetting.secondaryArrowsActive, total: pageSetting.total }))));
1006
1007
  const getAmountConfig = (amount) => {
1007
1008
  if (amount > 0) {
1008
1009
  return {
@@ -1046,554 +1047,26 @@ const menuSvg = `<svg width="30" height="8" viewBox="0 0 30 8" fill="none" xmlns
1046
1047
  </svg>
1047
1048
  `;
1048
1049
 
1049
- const renderTopBar = (locale, type, pageSetting) => h$1("div", { class: "TopBarContainer" },
1050
- h$1("div", { class: "BackImageContainer" },
1051
- h$1("span", { class: "BackImage", innerHTML: backSvg })),
1052
- h$1("div", { class: "TitleContainer" },
1053
- h$1("div", { class: "Title", title: locale.barTitle[type] }, locale.barTitle[type]),
1054
- h$1("div", { class: 'Limits' },
1055
- h$1("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit }))),
1056
- h$1("div", null,
1057
- h$1("span", { class: "MenuImage", innerHTML: menuSvg })));
1050
+ const renderTopBar = (locale, type, pageSetting) => h("div", { class: "TopBarContainer" },
1051
+ h("div", { class: "BackImageContainer" },
1052
+ h("span", { class: "BackImage", innerHTML: backSvg })),
1053
+ h("div", { class: "TitleContainer" },
1054
+ h("div", { class: "Title", title: locale.barTitle[type] }, locale.barTitle[type]),
1055
+ h("div", { class: 'Limits' },
1056
+ h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit }))),
1057
+ h("div", null,
1058
+ h("span", { class: "MenuImage", innerHTML: menuSvg })));
1058
1059
 
1059
- const renderTabs = (locale, type, onChangeTab) => h$1("div", { class: "Tabs Row" }, Object.keys(WalletType).map(key => {
1060
+ const renderTabs = (locale, type, onChangeTab) => h("div", { class: "Tabs Row" }, Object.keys(WalletType).map(key => {
1060
1061
  const isActive = key === type;
1061
1062
  const cssActive = isActive ? 'active' : '';
1062
- return (h$1("div", null,
1063
- h$1("div", { class: `TabText ${cssActive}`, onClick: () => {
1063
+ return (h("div", null,
1064
+ h("div", { class: `TabText ${cssActive}`, onClick: () => {
1064
1065
  onChangeTab(key);
1065
1066
  } }, locale.tabTitle[key]),
1066
- h$1("div", { class: `TabBorderBottom ${cssActive}` })));
1067
+ h("div", { class: `TabBorderBottom ${cssActive}` })));
1067
1068
  }));
1068
1069
 
1069
- function a() {
1070
- }
1071
- function M(t) {
1072
- return t();
1073
- }
1074
- function O() {
1075
- return /* @__PURE__ */ Object.create(null);
1076
- }
1077
- function y(t) {
1078
- t.forEach(M);
1079
- }
1080
- function N(t) {
1081
- return typeof t == "function";
1082
- }
1083
- function R(t, e) {
1084
- return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
1085
- }
1086
- function T(t) {
1087
- return Object.keys(t).length === 0;
1088
- }
1089
- function H(t, e) {
1090
- t.appendChild(e);
1091
- }
1092
- function U(t, e, n) {
1093
- const s = I(t);
1094
- if (!s.getElementById(e)) {
1095
- const i = v("style");
1096
- i.id = e, i.textContent = n, z(s, i);
1097
- }
1098
- }
1099
- function I(t) {
1100
- if (!t)
1101
- return document;
1102
- const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
1103
- return e && /** @type {ShadowRoot} */
1104
- e.host ? (
1105
- /** @type {ShadowRoot} */
1106
- e
1107
- ) : t.ownerDocument;
1108
- }
1109
- function z(t, e) {
1110
- return H(
1111
- /** @type {Document} */
1112
- t.head || t,
1113
- e
1114
- ), e.sheet;
1115
- }
1116
- function B(t, e, n) {
1117
- t.insertBefore(e, n || null);
1118
- }
1119
- function E(t) {
1120
- t.parentNode && t.parentNode.removeChild(t);
1121
- }
1122
- function v(t) {
1123
- return document.createElement(t);
1124
- }
1125
- function D(t, e, n) {
1126
- n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
1127
- }
1128
- function F(t) {
1129
- return Array.from(t.childNodes);
1130
- }
1131
- function G(t) {
1132
- const e = {};
1133
- return t.childNodes.forEach(
1134
- /** @param {Element} node */
1135
- (n) => {
1136
- e[n.slot || "default"] = !0;
1137
- }
1138
- ), e;
1139
- }
1140
- let p;
1141
- function _(t) {
1142
- p = t;
1143
- }
1144
- function J() {
1145
- if (!p)
1146
- throw new Error("Function called outside component initialization");
1147
- return p;
1148
- }
1149
- function V(t) {
1150
- J().$$.on_mount.push(t);
1151
- }
1152
- const $ = [], w = [];
1153
- let h = [];
1154
- const A = [], q = /* @__PURE__ */ Promise.resolve();
1155
- let x = !1;
1156
- function K() {
1157
- x || (x = !0, q.then(m));
1158
- }
1159
- function k(t) {
1160
- h.push(t);
1161
- }
1162
- const b = /* @__PURE__ */ new Set();
1163
- let f = 0;
1164
- function m() {
1165
- if (f !== 0)
1166
- return;
1167
- const t = p;
1168
- do {
1169
- try {
1170
- for (; f < $.length; ) {
1171
- const e = $[f];
1172
- f++, _(e), Q(e.$$);
1173
- }
1174
- } catch (e) {
1175
- throw $.length = 0, f = 0, e;
1176
- }
1177
- for (_(null), $.length = 0, f = 0; w.length; )
1178
- w.pop()();
1179
- for (let e = 0; e < h.length; e += 1) {
1180
- const n = h[e];
1181
- b.has(n) || (b.add(n), n());
1182
- }
1183
- h.length = 0;
1184
- } while ($.length);
1185
- for (; A.length; )
1186
- A.pop()();
1187
- x = !1, b.clear(), _(t);
1188
- }
1189
- function Q(t) {
1190
- if (t.fragment !== null) {
1191
- t.update(), y(t.before_update);
1192
- const e = t.dirty;
1193
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
1194
- }
1195
- }
1196
- function W(t) {
1197
- const e = [], n = [];
1198
- h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
1199
- }
1200
- const X = /* @__PURE__ */ new Set();
1201
- function Y(t, e) {
1202
- t && t.i && (X.delete(t), t.i(e));
1203
- }
1204
- function Z(t, e, n) {
1205
- const { fragment: s, after_update: i } = t.$$;
1206
- s && s.m(e, n), k(() => {
1207
- const r = t.$$.on_mount.map(M).filter(N);
1208
- t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
1209
- }), i.forEach(k);
1210
- }
1211
- function tt(t, e) {
1212
- const n = t.$$;
1213
- n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
1214
- }
1215
- function et(t, e) {
1216
- t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
1217
- }
1218
- function nt(t, e, n, s, i, r, o = null, l = [-1]) {
1219
- const c = p;
1220
- _(t);
1221
- const u = t.$$ = {
1222
- fragment: null,
1223
- ctx: [],
1224
- // state
1225
- props: r,
1226
- update: a,
1227
- not_equal: i,
1228
- bound: O(),
1229
- // lifecycle
1230
- on_mount: [],
1231
- on_destroy: [],
1232
- on_disconnect: [],
1233
- before_update: [],
1234
- after_update: [],
1235
- context: new Map(e.context || (c ? c.$$.context : [])),
1236
- // everything else
1237
- callbacks: O(),
1238
- dirty: l,
1239
- skip_bound: !1,
1240
- root: e.target || c.$$.root
1241
- };
1242
- o && o(u.root);
1243
- let L = !1;
1244
- if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
1245
- const j = S.length ? S[0] : C;
1246
- return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
1247
- }) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
1248
- if (e.hydrate) {
1249
- const d = F(e.target);
1250
- u.fragment && u.fragment.l(d), d.forEach(E);
1251
- } else
1252
- u.fragment && u.fragment.c();
1253
- e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
1254
- }
1255
- _(c);
1256
- }
1257
- let P;
1258
- typeof HTMLElement == "function" && (P = class extends HTMLElement {
1259
- /** The Svelte component constructor */
1260
- $$ctor;
1261
- /** Slots */
1262
- $$s;
1263
- /** The Svelte component instance */
1264
- $$c;
1265
- /** Whether or not the custom element is connected */
1266
- $$cn = !1;
1267
- /** Component props data */
1268
- $$d = {};
1269
- /** `true` if currently in the process of reflecting component props back to attributes */
1270
- $$r = !1;
1271
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
1272
- $$p_d = {};
1273
- /** @type {Record<string, Function[]>} Event listeners */
1274
- $$l = {};
1275
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
1276
- $$l_u = /* @__PURE__ */ new Map();
1277
- constructor(t, e, n) {
1278
- super(), this.$$ctor = t, this.$$s = e, n && this.attachShadow({ mode: "open" });
1279
- }
1280
- addEventListener(t, e, n) {
1281
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
1282
- const s = this.$$c.$on(t, e);
1283
- this.$$l_u.set(e, s);
1284
- }
1285
- super.addEventListener(t, e, n);
1286
- }
1287
- removeEventListener(t, e, n) {
1288
- if (super.removeEventListener(t, e, n), this.$$c) {
1289
- const s = this.$$l_u.get(e);
1290
- s && (s(), this.$$l_u.delete(e));
1291
- }
1292
- }
1293
- async connectedCallback() {
1294
- if (this.$$cn = !0, !this.$$c) {
1295
- let t = function(i) {
1296
- return () => {
1297
- let r;
1298
- return {
1299
- c: function() {
1300
- r = v("slot"), i !== "default" && D(r, "name", i);
1301
- },
1302
- /**
1303
- * @param {HTMLElement} target
1304
- * @param {HTMLElement} [anchor]
1305
- */
1306
- m: function(c, u) {
1307
- B(c, r, u);
1308
- },
1309
- d: function(c) {
1310
- c && E(r);
1311
- }
1312
- };
1313
- };
1314
- };
1315
- if (await Promise.resolve(), !this.$$cn || this.$$c)
1316
- return;
1317
- const e = {}, n = G(this);
1318
- for (const i of this.$$s)
1319
- i in n && (e[i] = [t(i)]);
1320
- for (const i of this.attributes) {
1321
- const r = this.$$g_p(i.name);
1322
- r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
1323
- }
1324
- for (const i in this.$$p_d)
1325
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
1326
- this.$$c = new this.$$ctor({
1327
- target: this.shadowRoot || this,
1328
- props: {
1329
- ...this.$$d,
1330
- $$slots: e,
1331
- $$scope: {
1332
- ctx: []
1333
- }
1334
- }
1335
- });
1336
- const s = () => {
1337
- this.$$r = !0;
1338
- for (const i in this.$$p_d)
1339
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
1340
- const r = g(
1341
- i,
1342
- this.$$d[i],
1343
- this.$$p_d,
1344
- "toAttribute"
1345
- );
1346
- r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
1347
- }
1348
- this.$$r = !1;
1349
- };
1350
- this.$$c.$$.after_update.push(s), s();
1351
- for (const i in this.$$l)
1352
- for (const r of this.$$l[i]) {
1353
- const o = this.$$c.$on(i, r);
1354
- this.$$l_u.set(r, o);
1355
- }
1356
- this.$$l = {};
1357
- }
1358
- }
1359
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
1360
- // and setting attributes through setAttribute etc, this is helpful
1361
- attributeChangedCallback(t, e, n) {
1362
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = g(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
1363
- }
1364
- disconnectedCallback() {
1365
- this.$$cn = !1, Promise.resolve().then(() => {
1366
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
1367
- });
1368
- }
1369
- $$g_p(t) {
1370
- return Object.keys(this.$$p_d).find(
1371
- (e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
1372
- ) || t;
1373
- }
1374
- });
1375
- function g(t, e, n, s) {
1376
- const i = n[t]?.type;
1377
- if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
1378
- return e;
1379
- if (s === "toAttribute")
1380
- switch (i) {
1381
- case "Object":
1382
- case "Array":
1383
- return e == null ? null : JSON.stringify(e);
1384
- case "Boolean":
1385
- return e ? "" : null;
1386
- case "Number":
1387
- return e ?? null;
1388
- default:
1389
- return e;
1390
- }
1391
- else
1392
- switch (i) {
1393
- case "Object":
1394
- case "Array":
1395
- return e && JSON.parse(e);
1396
- case "Boolean":
1397
- return e;
1398
- case "Number":
1399
- return e != null ? +e : e;
1400
- default:
1401
- return e;
1402
- }
1403
- }
1404
- function it(t, e, n, s, i, r) {
1405
- let o = class extends P {
1406
- constructor() {
1407
- super(t, n, i), this.$$p_d = e;
1408
- }
1409
- static get observedAttributes() {
1410
- return Object.keys(e).map(
1411
- (l) => (e[l].attribute || l).toLowerCase()
1412
- );
1413
- }
1414
- };
1415
- return Object.keys(e).forEach((l) => {
1416
- Object.defineProperty(o.prototype, l, {
1417
- get() {
1418
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
1419
- },
1420
- set(c) {
1421
- c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
1422
- }
1423
- });
1424
- }), s.forEach((l) => {
1425
- Object.defineProperty(o.prototype, l, {
1426
- get() {
1427
- return this.$$c?.[l];
1428
- }
1429
- });
1430
- }), t.element = /** @type {any} */
1431
- o, o;
1432
- }
1433
- class st {
1434
- /**
1435
- * ### PRIVATE API
1436
- *
1437
- * Do not use, may change at any time
1438
- *
1439
- * @type {any}
1440
- */
1441
- $$ = void 0;
1442
- /**
1443
- * ### PRIVATE API
1444
- *
1445
- * Do not use, may change at any time
1446
- *
1447
- * @type {any}
1448
- */
1449
- $$set = void 0;
1450
- /** @returns {void} */
1451
- $destroy() {
1452
- tt(this, 1), this.$destroy = a;
1453
- }
1454
- /**
1455
- * @template {Extract<keyof Events, string>} K
1456
- * @param {K} type
1457
- * @param {((e: Events[K]) => void) | null | undefined} callback
1458
- * @returns {() => void}
1459
- */
1460
- $on(e, n) {
1461
- if (!N(n))
1462
- return a;
1463
- const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
1464
- return s.push(n), () => {
1465
- const i = s.indexOf(n);
1466
- i !== -1 && s.splice(i, 1);
1467
- };
1468
- }
1469
- /**
1470
- * @param {Partial<Props>} props
1471
- * @returns {void}
1472
- */
1473
- $set(e) {
1474
- this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1475
- }
1476
- }
1477
- const rt = "4";
1478
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
1479
- function ct(t, e) {
1480
- if (t) {
1481
- const n = document.createElement("style");
1482
- n.innerHTML = e, t.appendChild(n);
1483
- }
1484
- }
1485
- function ot(t, e) {
1486
- const n = new URL(e);
1487
- fetch(n.href).then((s) => s.text()).then((s) => {
1488
- const i = document.createElement("style");
1489
- i.innerHTML = s, t && t.appendChild(i);
1490
- }).catch((s) => {
1491
- console.error("There was an error while trying to load client styling from URL", s);
1492
- });
1493
- }
1494
- function lt(t, e, n) {
1495
- if (window.emMessageBus) {
1496
- const s = document.createElement("style");
1497
- window.emMessageBus.subscribe(e, (i) => {
1498
- s.innerHTML = i, t && t.appendChild(s);
1499
- });
1500
- }
1501
- }
1502
- function ut(t) {
1503
- U(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1504
- }
1505
- function dt(t) {
1506
- let e;
1507
- return {
1508
- c() {
1509
- e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1510
- },
1511
- m(n, s) {
1512
- B(n, e, s), t[4](e);
1513
- },
1514
- p: a,
1515
- i: a,
1516
- o: a,
1517
- d(n) {
1518
- n && E(e), t[4](null);
1519
- }
1520
- };
1521
- }
1522
- function ft(t, e, n) {
1523
- let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
1524
- V(() => () => {
1525
- });
1526
- function l(c) {
1527
- w[c ? "unshift" : "push"](() => {
1528
- o = c, n(0, o);
1529
- });
1530
- }
1531
- return t.$$set = (c) => {
1532
- "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
1533
- }, t.$$.update = () => {
1534
- t.$$.dirty & /*clientstyling, customStylingContainer*/
1535
- 3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1536
- 5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
1537
- 9 && r && o && lt(o, `${r}.Style`);
1538
- }, [
1539
- o,
1540
- s,
1541
- i,
1542
- r,
1543
- l
1544
- ];
1545
- }
1546
- class $t extends st {
1547
- constructor(e) {
1548
- super(), nt(
1549
- this,
1550
- e,
1551
- ft,
1552
- dt,
1553
- R,
1554
- {
1555
- clientstyling: 1,
1556
- clientstylingurl: 2,
1557
- mbsource: 3
1558
- },
1559
- ut
1560
- );
1561
- }
1562
- get clientstyling() {
1563
- return this.$$.ctx[1];
1564
- }
1565
- set clientstyling(e) {
1566
- this.$$set({ clientstyling: e }), m();
1567
- }
1568
- get clientstylingurl() {
1569
- return this.$$.ctx[2];
1570
- }
1571
- set clientstylingurl(e) {
1572
- this.$$set({ clientstylingurl: e }), m();
1573
- }
1574
- get mbsource() {
1575
- return this.$$.ctx[3];
1576
- }
1577
- set mbsource(e) {
1578
- this.$$set({ mbsource: e }), m();
1579
- }
1580
- }
1581
- it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
1582
-
1583
- function i(n) {
1584
- return function(...t) {
1585
- try {
1586
- return n.apply(this, t);
1587
- } catch (e) {
1588
- if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
1589
- return !1;
1590
- throw e;
1591
- }
1592
- };
1593
- }
1594
- customElements.define = i(customElements.define);
1595
- !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
1596
-
1597
1070
  const playerElevatePointsHistoryCss = ":host{display:block}main{max-width:420px}main player-elevate-pointcard{width:100%;height:220px}.PlayerElevatePointsDetaisContainer{background:#FFFFFF;padding:20px 10px 0;margin-top:-100px;position:relative;min-height:360px}.PlayerElevatePointsDetaisContainer .ReloadMsg{padding:20px}.PlayerElevatePointsDetaisContainer .ReloadMsg a.Reload{cursor:pointer}.TitleContainer{font-size:20px;font-weight:500;line-height:25px;letter-spacing:0em;text-align:left;display:flex;justify-content:space-between}.TopBarContainer{display:flex;align-items:center;justify-content:space-between}.TopBarContainer .TitleContainer{width:100%}.TopBarContainer .Title{background:#303030;padding:5px 16px;color:#FFFFFF;box-shadow:0px 4px 13px 0px rgba(0, 0, 0, 0.2509803922);border-radius:8px;width:fit-content;margin-left:7px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.PaginationContainer{display:flex;justify-content:center}.MonthStat{margin-top:25px;display:none;font-size:16px;font-weight:500;line-height:19px;letter-spacing:0px;text-align:left;color:#242424}.MonthStat .Amount{color:#53B65A}.BackImageContainer{width:35px;height:35px;flex:0 0 35px;border-radius:6px;text-align:center;line-height:35px;box-shadow:0px 4px 40px 0px rgba(138, 149, 158, 0.2);display:none}.Records{margin-top:16px}.MenuImage,.BackImage{cursor:pointer;display:none}.Row{display:flex;justify-content:space-between;align-items:center}.Row:nth-child(n+2){margin-top:3px}.Tabs.Row{justify-content:space-around;margin-top:20px}.Tabs.Row .TabText{font-size:16px;margin:10px 15px;color:#9C9C9C;cursor:pointer}.Tabs.Row .TabText.active{color:#242424;font-weight:600}.Tabs.Row .TabBorderBottom{height:5px;border-radius:4px;background:transparent}.Tabs.Row .TabBorderBottom.active{background:#242424}.RecordContainer{margin:5px 0;padding:10px;box-shadow:0px 0px 8px 0px rgba(0, 0, 0, 0.1019607843);border-radius:5px}.RecordContainer .Title{color:#242424;font-size:16px;font-weight:600;line-height:19px;letter-spacing:0px;text-align:left}.RecordContainer .HistoryPoints{text-transform:lowercase}.RecordContainer .Amount{font-size:16px;font-weight:600;line-height:19px;letter-spacing:0px;text-align:left}.RecordContainer .Amount.Positive{color:#53B65A}.RecordContainer .Amount.Negative{color:#B41E2D}.RecordContainer .DateTime{color:#9C9C9C;font-size:16px;font-weight:400;line-height:19px;letter-spacing:0px;text-align:left}.RecordContainer .Tag{font-size:12px;font-weight:500;line-height:14px;letter-spacing:0em;text-align:center;color:#767171;padding:8px 30px;border-radius:8px;box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.2509803922)}.NoContent{font-size:16px;color:var(--emw--color-black-100, #afafaf);text-align:center;height:120px;line-height:120px}";
1598
1071
  const PlayerElevatePointsHistoryStyle0 = playerElevatePointsHistoryCss;
1599
1072
 
@@ -1635,11 +1108,11 @@ const PlayerElevatePointsHistory = class {
1635
1108
  }
1636
1109
  loadWallets(renderer) {
1637
1110
  if (!this.pointsWallets[this.type] || this.pointsWallets[this.type].isLoading) {
1638
- return h$1("general-animation-loading", null);
1111
+ return h("div", { class: "Loading" }, this.locale.loading);
1639
1112
  }
1640
1113
  else {
1641
1114
  if (this.pointsWallets[this.type].wallets.length === 0) {
1642
- return (h$1("div", { class: "NoContent" }, this.locale.noContent));
1115
+ return (h("div", { class: "NoContent" }, this.locale.noContent));
1643
1116
  }
1644
1117
  else {
1645
1118
  return renderer();
@@ -1649,13 +1122,13 @@ const PlayerElevatePointsHistory = class {
1649
1122
  render() {
1650
1123
  var _a, _b;
1651
1124
  const pageSetting = this.getPageSettingByType(this.type);
1652
- return (h$1("main", { key: 'a92c0b154fec4d3ce8b8e919b9af5ebd80f1d125' }, h$1("general-styling-wrapper", { key: '5095ab265d71f9e74f6f049b7b0b212ae11bc4da', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
1125
+ return (h("main", { key: 'd942867ea3a231e2aece64b5254addfcc38f1058' }, h("general-styling-wrapper", { key: '69e69c3116ebc71d610437fcf43fd000fcb663c4', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
1653
1126
  // @ts-ignore
1654
- targetTranslations: translation, translationUrl: this.translationUrl }), h$1("player-elevate-pointcard", { key: 'c471ddeccbe8e18e15935c9d106bf8c52c80a6fb', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), h$1("div", { key: '5fa700aaa6e0cffe6d3d9dd8366bf9a95bba3a14', class: "PlayerElevatePointsDetaisContainer" }, [
1127
+ targetTranslations: translation, translationUrl: this.translationUrl }), h("player-elevate-pointcard", { key: 'b68a7a98b33935c2d2a5895de3ee5518ca6fd6a3', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), h("div", { key: 'd5ee5c395cfab035f2cbc3ac189029fef3cae50e', class: "PlayerElevatePointsDetaisContainer" }, [
1655
1128
  renderTopBar(this.locale, this.type, pageSetting),
1656
1129
  renderTabs(this.locale, this.type, (type) => this.switchTab(type)),
1657
1130
  ((_a = this.pointsWallets[this.type]) === null || _a === void 0 ? void 0 : _a.isLoadFailed)
1658
- ? h$1("div", { class: 'ReloadMsg' }, this.locale['reloadMsgWhenError'], h$1("a", { class: 'Reload', onClick: () => { this.updateWallets(); } }, this.locale['reload']))
1131
+ ? h("div", { class: 'ReloadMsg' }, this.locale['reloadMsgWhenError'], h("a", { class: 'Reload', onClick: () => { this.updateWallets(); } }, this.locale['reload']))
1659
1132
  : this.loadWallets(renderWallets.bind(this, this.locale, ((_b = this.pointsWallets[this.type]) === null || _b === void 0 ? void 0 : _b.wallets) || [], pageSetting))
1660
1133
  ])));
1661
1134
  }