@everymatrix/player-elevate-points-history 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +282 -167
  2. package/dist/cjs/{index-d10609c2.js → index-c3f0d8ea.js} +247 -139
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{player-elevate-card-items-198085c9.js → player-elevate-card-items-8b7d73d2.js} +1 -1
  5. package/dist/cjs/player-elevate-card.cjs.entry.js +21 -9
  6. package/dist/cjs/player-elevate-loyaltycard.cjs.entry.js +22 -10
  7. package/dist/cjs/player-elevate-points-history.cjs.js +3 -3
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +43 -5
  10. package/dist/esm/bonus-pagination-limits_6.entry.js +282 -167
  11. package/dist/esm/{index-7f3411b7.js → index-8008f845.js} +247 -139
  12. package/dist/esm/loader.js +3 -3
  13. package/dist/esm/{player-elevate-card-items-3780b49a.js → player-elevate-card-items-81ace8b1.js} +1 -1
  14. package/dist/esm/player-elevate-card.entry.js +21 -9
  15. package/dist/esm/player-elevate-loyaltycard.entry.js +22 -10
  16. package/dist/esm/player-elevate-points-history.js +4 -4
  17. package/dist/player-elevate-points-history/{p-a203a531.js → p-1c49c46d.js} +1 -1
  18. package/dist/player-elevate-points-history/p-3d707cb1.entry.js +1 -0
  19. package/dist/player-elevate-points-history/p-530d5612.js +2 -0
  20. package/dist/player-elevate-points-history/p-78e6bcdb.entry.js +1 -0
  21. package/dist/player-elevate-points-history/p-d7b1a6d5.entry.js +1 -0
  22. package/dist/player-elevate-points-history/player-elevate-points-history.esm.js +1 -1
  23. 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
  24. 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
  25. package/package.json +1 -1
  26. package/dist/player-elevate-points-history/p-2d5f1bbe.entry.js +0 -1
  27. package/dist/player-elevate-points-history/p-702726b0.js +0 -2
  28. package/dist/player-elevate-points-history/p-75618658.entry.js +0 -1
  29. package/dist/player-elevate-points-history/p-b5dd7d1b.entry.js +0 -1
  30. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -2
  31. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -2
  32. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/index.d.ts +0 -0
  33. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  34. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  35. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h as h$1, g as getElement, a as getAssetPath, F as Fragment } from './index-7f3411b7.js';
2
- import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, a as translateWithParams, T as TRANSLATIONS$2, P as PlayerAvatar, b as translate$2, c as PlayerPoints } from './player-elevate-card-items-3780b49a.js';
1
+ import { r as registerInstance, c as createEvent, h as h$1, g as getElement, a as getAssetPath, F as Fragment } from './index-8008f845.js';
2
+ import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, a as translateWithParams, T as TRANSLATIONS$2, P as PlayerAvatar, b as translate$2, c as PlayerPoints } from './player-elevate-card-items-81ace8b1.js';
3
3
 
4
4
  const DEFAULT_LANGUAGE$1 = 'en';
5
5
  const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -32,9 +32,17 @@ const BonusPaginationLimits = class {
32
32
  constructor(hostRef) {
33
33
  registerInstance(this, hostRef);
34
34
  this.pageLimitChanged = createEvent(this, "pageLimitChanged", 7);
35
+ /**
36
+ * Language of the widget
37
+ */
35
38
  this.language = 'en';
39
+ /**
40
+ * Translation via url
41
+ */
36
42
  this.translationUrl = '';
37
- this.pageLimitOptions = undefined;
43
+ /**
44
+ * Default limit for per page, default: 10
45
+ */
38
46
  this.limit = 10;
39
47
  this.pageLimits = [10, 25, 50];
40
48
  }
@@ -133,19 +141,49 @@ const BonusPaginationNav = class {
133
141
  constructor(hostRef) {
134
142
  registerInstance(this, hostRef);
135
143
  this.reloadPageEmitter = createEvent(this, "reloadPageByType", 7);
144
+ /**
145
+ * The received length of dataset
146
+ */
136
147
  this.total = 1;
148
+ /**
149
+ * The received limit for the number of pages
150
+ */
137
151
  this.limit = 10;
152
+ /**
153
+ * The offset of dataset
154
+ */
138
155
  this.offset = 0;
156
+ /**
157
+ * The table id, use to identify which table listen the page change message
158
+ * when there is more than 1 table on same page
159
+ */
139
160
  this.tableId = 'default';
161
+ /**
162
+ * Language
163
+ */
140
164
  this.language = 'en';
165
+ /**
166
+ * Translation via url
167
+ */
141
168
  this.translationUrl = '';
169
+ /**
170
+ * Customize pagination: Activate pagination arrows
171
+ */
142
172
  this.arrowsActive = true;
173
+ /**
174
+ * Customize pagination: Activate pagination secondary arrows
175
+ */
143
176
  this.secondaryArrowsActive = true;
177
+ /**
178
+ * Customize pagination: Activate pagination numbered navigation
179
+ */
144
180
  this.displayPageNumbers = true;
145
- this.displayRangeOfTotal = undefined;
181
+ /**
182
+ * The Nav Items count for the pagination, default: 5
183
+ * the value should be Odd, 5, 7
184
+ */
146
185
  this.navItemAccount = 5;
147
186
  this.endPageIndex = 0;
148
- this.pagesArray = undefined;
149
187
  this.currentPage = 1;
150
188
  this.showAsEllipsisMid = !this.arrowsActive;
151
189
  }
@@ -298,6 +336,18 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
298
336
  const GeneralStylingWrapper = class {
299
337
  constructor(hostRef) {
300
338
  registerInstance(this, hostRef);
339
+ /**
340
+ * Client custom styling via inline styles
341
+ */
342
+ this.clientStyling = '';
343
+ /**
344
+ * Client custom styling via url
345
+ */
346
+ this.clientStylingUrl = '';
347
+ /**
348
+ * Translation via url
349
+ */
350
+ this.translationUrl = '';
301
351
  this.stylingAppends = false;
302
352
  this.setClientStyling = () => {
303
353
  let sheet = document.createElement('style');
@@ -319,10 +369,6 @@ const GeneralStylingWrapper = class {
319
369
  console.log('error ', err);
320
370
  });
321
371
  };
322
- this.clientStyling = '';
323
- this.clientStylingUrl = '';
324
- this.translationUrl = '';
325
- this.targetTranslations = undefined;
326
372
  }
327
373
  componentDidRender() {
328
374
  // start custom styling area
@@ -640,9 +686,6 @@ const PlayerElevateCardData = class {
640
686
  constructor(hostRef) {
641
687
  registerInstance(this, hostRef);
642
688
  this.playerElevateLeveLoaded = createEvent(this, "playerElevateLeveLoaded", 7);
643
- this.params = undefined;
644
- this.playerElevateLevel = undefined;
645
- this.pointExpireString = undefined;
646
689
  }
647
690
  handleWindowResizs() {
648
691
  this.initLevelProgressbar();
@@ -810,23 +853,40 @@ const PlayerElevatePointcardStyle0 = playerElevatePointcardCss;
810
853
  const PlayerElevatePointcard = class {
811
854
  constructor(hostRef) {
812
855
  registerInstance(this, hostRef);
813
- this.isPointDetailCard = this.buttonType === 'earningRule';
814
- this.endpoint = undefined;
856
+ /**
857
+ * The style that widget shows,available value: Dark, Light
858
+ * Default: Dark
859
+ */
815
860
  this.theme = 'Dark';
816
- this.session = undefined;
817
- this.playerAvatarUrl = undefined;
861
+ /**
862
+ * Widget Language to show
863
+ */
818
864
  this.language = 'en';
819
- this.playerName = undefined;
820
- this.cardTitle = undefined;
865
+ /**
866
+ * Check if the card used in points details widget, default: 'earningRule'
867
+ * value: 'details'/'earningRule'
868
+ * It effected the button in card
869
+ * 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked
870
+ * 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
871
+ */
821
872
  this.buttonType = 'earningRule';
873
+ /**
874
+ * datePattern
875
+ */
822
876
  this.dateFormat = 'yyyy-MM-dd';
877
+ /**
878
+ * Client custom styling via inline styles
879
+ */
823
880
  this.clientStyling = '';
881
+ /**
882
+ * Client custom styling via url
883
+ */
824
884
  this.clientStylingUrl = '';
885
+ /**
886
+ * Translation via url
887
+ */
825
888
  this.translationUrl = '';
826
- this.pointExpireString = undefined;
827
- this.playerElevateLevel = undefined;
828
- this.elevateWalletTotal = undefined;
829
- this.elevateSPTotal = undefined;
889
+ this.isPointDetailCard = this.buttonType === 'earningRule';
830
890
  }
831
891
  onSessionOrEndpointChange() {
832
892
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
@@ -1059,35 +1119,35 @@ const renderTabs = (locale, type, onChangeTab) => h$1("div", { class: "Tabs Row"
1059
1119
 
1060
1120
  function a() {
1061
1121
  }
1062
- function N(t) {
1122
+ function M(t) {
1063
1123
  return t();
1064
1124
  }
1065
- function A() {
1125
+ function O() {
1066
1126
  return /* @__PURE__ */ Object.create(null);
1067
1127
  }
1068
1128
  function y(t) {
1069
- t.forEach(N);
1129
+ t.forEach(M);
1070
1130
  }
1071
- function P(t) {
1131
+ function N(t) {
1072
1132
  return typeof t == "function";
1073
1133
  }
1074
- function B(t, e) {
1134
+ function R(t, e) {
1075
1135
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
1076
1136
  }
1077
- function R(t) {
1137
+ function T(t) {
1078
1138
  return Object.keys(t).length === 0;
1079
1139
  }
1080
1140
  function H(t, e) {
1081
1141
  t.appendChild(e);
1082
1142
  }
1083
- function I(t, e, n) {
1084
- const s = U(t);
1143
+ function U(t, e, n) {
1144
+ const s = I(t);
1085
1145
  if (!s.getElementById(e)) {
1086
1146
  const i = v("style");
1087
- i.id = e, i.textContent = n, D(s, i);
1147
+ i.id = e, i.textContent = n, z(s, i);
1088
1148
  }
1089
1149
  }
1090
- function U(t) {
1150
+ function I(t) {
1091
1151
  if (!t) return document;
1092
1152
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
1093
1153
  return e && /** @type {ShadowRoot} */
@@ -1096,14 +1156,14 @@ function U(t) {
1096
1156
  e
1097
1157
  ) : t.ownerDocument;
1098
1158
  }
1099
- function D(t, e) {
1159
+ function z(t, e) {
1100
1160
  return H(
1101
1161
  /** @type {Document} */
1102
1162
  t.head || t,
1103
1163
  e
1104
1164
  ), e.sheet;
1105
1165
  }
1106
- function M(t, e, n) {
1166
+ function B(t, e, n) {
1107
1167
  t.insertBefore(e, n || null);
1108
1168
  }
1109
1169
  function E(t) {
@@ -1112,13 +1172,13 @@ function E(t) {
1112
1172
  function v(t) {
1113
1173
  return document.createElement(t);
1114
1174
  }
1115
- function G(t, e, n) {
1175
+ function D(t, e, n) {
1116
1176
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
1117
1177
  }
1118
- function J(t) {
1178
+ function F(t) {
1119
1179
  return Array.from(t.childNodes);
1120
1180
  }
1121
- function V(t) {
1181
+ function G(t) {
1122
1182
  const e = {};
1123
1183
  return t.childNodes.forEach(
1124
1184
  /** @param {Element} node */
@@ -1127,116 +1187,123 @@ function V(t) {
1127
1187
  }
1128
1188
  ), e;
1129
1189
  }
1130
- let C;
1131
- function p(t) {
1132
- C = t;
1190
+ let p;
1191
+ function _(t) {
1192
+ p = t;
1193
+ }
1194
+ function J() {
1195
+ if (!p) throw new Error("Function called outside component initialization");
1196
+ return p;
1133
1197
  }
1134
- const f = [], x = [];
1198
+ function V(t) {
1199
+ J().$$.on_mount.push(t);
1200
+ }
1201
+ const $ = [], w = [];
1135
1202
  let h = [];
1136
- const S = [], z = /* @__PURE__ */ Promise.resolve();
1137
- let w = !1;
1138
- function F() {
1139
- w || (w = !0, z.then(m));
1203
+ const A = [], q = /* @__PURE__ */ Promise.resolve();
1204
+ let x = !1;
1205
+ function K() {
1206
+ x || (x = !0, q.then(m));
1140
1207
  }
1141
1208
  function k(t) {
1142
1209
  h.push(t);
1143
1210
  }
1144
1211
  const b = /* @__PURE__ */ new Set();
1145
- let $ = 0;
1212
+ let f = 0;
1146
1213
  function m() {
1147
- if ($ !== 0)
1214
+ if (f !== 0)
1148
1215
  return;
1149
- const t = C;
1216
+ const t = p;
1150
1217
  do {
1151
1218
  try {
1152
- for (; $ < f.length; ) {
1153
- const e = f[$];
1154
- $++, p(e), q(e.$$);
1219
+ for (; f < $.length; ) {
1220
+ const e = $[f];
1221
+ f++, _(e), Q(e.$$);
1155
1222
  }
1156
1223
  } catch (e) {
1157
- throw f.length = 0, $ = 0, e;
1224
+ throw $.length = 0, f = 0, e;
1158
1225
  }
1159
- for (p(null), f.length = 0, $ = 0; x.length; ) x.pop()();
1226
+ for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
1160
1227
  for (let e = 0; e < h.length; e += 1) {
1161
1228
  const n = h[e];
1162
1229
  b.has(n) || (b.add(n), n());
1163
1230
  }
1164
1231
  h.length = 0;
1165
- } while (f.length);
1166
- for (; S.length; )
1167
- S.pop()();
1168
- w = !1, b.clear(), p(t);
1232
+ } while ($.length);
1233
+ for (; A.length; )
1234
+ A.pop()();
1235
+ x = !1, b.clear(), _(t);
1169
1236
  }
1170
- function q(t) {
1237
+ function Q(t) {
1171
1238
  if (t.fragment !== null) {
1172
1239
  t.update(), y(t.before_update);
1173
1240
  const e = t.dirty;
1174
1241
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
1175
1242
  }
1176
1243
  }
1177
- function K(t) {
1244
+ function W(t) {
1178
1245
  const e = [], n = [];
1179
1246
  h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
1180
1247
  }
1181
- const Q = /* @__PURE__ */ new Set();
1182
- function W(t, e) {
1183
- t && t.i && (Q.delete(t), t.i(e));
1248
+ const X = /* @__PURE__ */ new Set();
1249
+ function Y(t, e) {
1250
+ t && t.i && (X.delete(t), t.i(e));
1184
1251
  }
1185
- function X(t, e, n) {
1252
+ function Z(t, e, n) {
1186
1253
  const { fragment: s, after_update: i } = t.$$;
1187
1254
  s && s.m(e, n), k(() => {
1188
- const l = t.$$.on_mount.map(N).filter(P);
1189
- t.$$.on_destroy ? t.$$.on_destroy.push(...l) : y(l), t.$$.on_mount = [];
1255
+ const r = t.$$.on_mount.map(M).filter(N);
1256
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
1190
1257
  }), i.forEach(k);
1191
1258
  }
1192
- function Y(t, e) {
1259
+ function tt(t, e) {
1193
1260
  const n = t.$$;
1194
- n.fragment !== null && (K(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
1261
+ 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 = []);
1195
1262
  }
1196
- function Z(t, e) {
1197
- t.$$.dirty[0] === -1 && (f.push(t), F(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
1263
+ function et(t, e) {
1264
+ t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
1198
1265
  }
1199
- function tt(t, e, n, s, i, l, u = null, c = [-1]) {
1200
- const o = C;
1201
- p(t);
1202
- const r = t.$$ = {
1266
+ function nt(t, e, n, s, i, r, o = null, l = [-1]) {
1267
+ const c = p;
1268
+ _(t);
1269
+ const u = t.$$ = {
1203
1270
  fragment: null,
1204
1271
  ctx: [],
1205
1272
  // state
1206
- props: l,
1273
+ props: r,
1207
1274
  update: a,
1208
1275
  not_equal: i,
1209
- bound: A(),
1276
+ bound: O(),
1210
1277
  // lifecycle
1211
1278
  on_mount: [],
1212
1279
  on_destroy: [],
1213
1280
  on_disconnect: [],
1214
1281
  before_update: [],
1215
1282
  after_update: [],
1216
- context: new Map(e.context || (o ? o.$$.context : [])),
1283
+ context: new Map(e.context || (c ? c.$$.context : [])),
1217
1284
  // everything else
1218
- callbacks: A(),
1219
- dirty: c,
1285
+ callbacks: O(),
1286
+ dirty: l,
1220
1287
  skip_bound: !1,
1221
- root: e.target || o.$$.root
1288
+ root: e.target || c.$$.root
1222
1289
  };
1223
- u && u(r.root);
1224
- let _ = !1;
1225
- if (r.ctx = n ? n(t, e.props || {}, (d, L, ...j) => {
1226
- const O = j.length ? j[0] : L;
1227
- return r.ctx && i(r.ctx[d], r.ctx[d] = O) && (!r.skip_bound && r.bound[d] && r.bound[d](O), _ && Z(t, d)), L;
1228
- }) : [], r.update(), _ = !0, y(r.before_update), r.fragment = s ? s(r.ctx) : !1, e.target) {
1290
+ o && o(u.root);
1291
+ let L = !1;
1292
+ if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
1293
+ const j = S.length ? S[0] : C;
1294
+ 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;
1295
+ }) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
1229
1296
  if (e.hydrate) {
1230
- const d = J(e.target);
1231
- r.fragment && r.fragment.l(d), d.forEach(E);
1297
+ const d = F(e.target);
1298
+ u.fragment && u.fragment.l(d), d.forEach(E);
1232
1299
  } else
1233
- r.fragment && r.fragment.c();
1234
- e.intro && W(t.$$.fragment), X(t, e.target, e.anchor), m();
1300
+ u.fragment && u.fragment.c();
1301
+ e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
1235
1302
  }
1236
- p(o);
1303
+ _(c);
1237
1304
  }
1238
- let T;
1239
- typeof HTMLElement == "function" && (T = class extends HTMLElement {
1305
+ let P;
1306
+ typeof HTMLElement == "function" && (P = class extends HTMLElement {
1240
1307
  /** The Svelte component constructor */
1241
1308
  $$ctor;
1242
1309
  /** Slots */
@@ -1275,32 +1342,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
1275
1342
  if (this.$$cn = !0, !this.$$c) {
1276
1343
  let t = function(i) {
1277
1344
  return () => {
1278
- let l;
1345
+ let r;
1279
1346
  return {
1280
1347
  c: function() {
1281
- l = v("slot"), i !== "default" && G(l, "name", i);
1348
+ r = v("slot"), i !== "default" && D(r, "name", i);
1282
1349
  },
1283
1350
  /**
1284
1351
  * @param {HTMLElement} target
1285
1352
  * @param {HTMLElement} [anchor]
1286
1353
  */
1287
- m: function(o, r) {
1288
- M(o, l, r);
1354
+ m: function(c, u) {
1355
+ B(c, r, u);
1289
1356
  },
1290
- d: function(o) {
1291
- o && E(l);
1357
+ d: function(c) {
1358
+ c && E(r);
1292
1359
  }
1293
1360
  };
1294
1361
  };
1295
1362
  };
1296
1363
  if (await Promise.resolve(), !this.$$cn || this.$$c)
1297
1364
  return;
1298
- const e = {}, n = V(this);
1365
+ const e = {}, n = G(this);
1299
1366
  for (const i of this.$$s)
1300
1367
  i in n && (e[i] = [t(i)]);
1301
1368
  for (const i of this.attributes) {
1302
- const l = this.$$g_p(i.name);
1303
- l in this.$$d || (this.$$d[l] = g(l, i.value, this.$$p_d, "toProp"));
1369
+ const r = this.$$g_p(i.name);
1370
+ r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
1304
1371
  }
1305
1372
  for (const i in this.$$p_d)
1306
1373
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -1318,21 +1385,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
1318
1385
  this.$$r = !0;
1319
1386
  for (const i in this.$$p_d)
1320
1387
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
1321
- const l = g(
1388
+ const r = g(
1322
1389
  i,
1323
1390
  this.$$d[i],
1324
1391
  this.$$p_d,
1325
1392
  "toAttribute"
1326
1393
  );
1327
- l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
1394
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
1328
1395
  }
1329
1396
  this.$$r = !1;
1330
1397
  };
1331
1398
  this.$$c.$$.after_update.push(s), s();
1332
1399
  for (const i in this.$$l)
1333
- for (const l of this.$$l[i]) {
1334
- const u = this.$$c.$on(i, l);
1335
- this.$$l_u.set(l, u);
1400
+ for (const r of this.$$l[i]) {
1401
+ const o = this.$$c.$on(i, r);
1402
+ this.$$l_u.set(r, o);
1336
1403
  }
1337
1404
  this.$$l = {};
1338
1405
  }
@@ -1382,36 +1449,36 @@ function g(t, e, n, s) {
1382
1449
  return e;
1383
1450
  }
1384
1451
  }
1385
- function et(t, e, n, s, i, l) {
1386
- let u = class extends T {
1452
+ function it(t, e, n, s, i, r) {
1453
+ let o = class extends P {
1387
1454
  constructor() {
1388
1455
  super(t, n, i), this.$$p_d = e;
1389
1456
  }
1390
1457
  static get observedAttributes() {
1391
1458
  return Object.keys(e).map(
1392
- (c) => (e[c].attribute || c).toLowerCase()
1459
+ (l) => (e[l].attribute || l).toLowerCase()
1393
1460
  );
1394
1461
  }
1395
1462
  };
1396
- return Object.keys(e).forEach((c) => {
1397
- Object.defineProperty(u.prototype, c, {
1463
+ return Object.keys(e).forEach((l) => {
1464
+ Object.defineProperty(o.prototype, l, {
1398
1465
  get() {
1399
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
1466
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
1400
1467
  },
1401
- set(o) {
1402
- o = g(c, o, e), this.$$d[c] = o, this.$$c?.$set({ [c]: o });
1468
+ set(c) {
1469
+ c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
1403
1470
  }
1404
1471
  });
1405
- }), s.forEach((c) => {
1406
- Object.defineProperty(u.prototype, c, {
1472
+ }), s.forEach((l) => {
1473
+ Object.defineProperty(o.prototype, l, {
1407
1474
  get() {
1408
- return this.$$c?.[c];
1475
+ return this.$$c?.[l];
1409
1476
  }
1410
1477
  });
1411
1478
  }), t.element = /** @type {any} */
1412
- u, u;
1479
+ o, o;
1413
1480
  }
1414
- class nt {
1481
+ class st {
1415
1482
  /**
1416
1483
  * ### PRIVATE API
1417
1484
  *
@@ -1430,7 +1497,7 @@ class nt {
1430
1497
  $$set = void 0;
1431
1498
  /** @returns {void} */
1432
1499
  $destroy() {
1433
- Y(this, 1), this.$destroy = a;
1500
+ tt(this, 1), this.$destroy = a;
1434
1501
  }
1435
1502
  /**
1436
1503
  * @template {Extract<keyof Events, string>} K
@@ -1439,7 +1506,7 @@ class nt {
1439
1506
  * @returns {() => void}
1440
1507
  */
1441
1508
  $on(e, n) {
1442
- if (!P(n))
1509
+ if (!N(n))
1443
1510
  return a;
1444
1511
  const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
1445
1512
  return s.push(n), () => {
@@ -1452,67 +1519,93 @@ class nt {
1452
1519
  * @returns {void}
1453
1520
  */
1454
1521
  $set(e) {
1455
- this.$$set && !R(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1522
+ this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1523
+ }
1524
+ }
1525
+ const rt = "4";
1526
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
1527
+ function ct(t, e) {
1528
+ if (t) {
1529
+ const n = document.createElement("style");
1530
+ n.innerHTML = e, t.appendChild(n);
1531
+ }
1532
+ }
1533
+ function ot(t, e) {
1534
+ const n = new URL(e);
1535
+ fetch(n.href).then((s) => s.text()).then((s) => {
1536
+ const i = document.createElement("style");
1537
+ i.innerHTML = s, t && t.appendChild(i);
1538
+ }).catch((s) => {
1539
+ console.error("There was an error while trying to load client styling from URL", s);
1540
+ });
1541
+ }
1542
+ function lt(t, e, n) {
1543
+ if (window.emMessageBus) {
1544
+ const s = document.createElement("style");
1545
+ window.emMessageBus.subscribe(e, (i) => {
1546
+ s.innerHTML = i, t && t.appendChild(s);
1547
+ });
1456
1548
  }
1457
1549
  }
1458
- const it = "4";
1459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(it);
1460
- function st(t) {
1461
- I(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)}}");
1550
+ function ut(t) {
1551
+ 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)}}");
1462
1552
  }
1463
- function rt(t) {
1553
+ function dt(t) {
1464
1554
  let e;
1465
1555
  return {
1466
1556
  c() {
1467
- e = v("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1557
+ e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1468
1558
  },
1469
1559
  m(n, s) {
1470
- M(n, e, s), t[3](e);
1560
+ B(n, e, s), t[4](e);
1471
1561
  },
1472
1562
  p: a,
1473
1563
  i: a,
1474
1564
  o: a,
1475
1565
  d(n) {
1476
- n && E(e), t[3](null);
1566
+ n && E(e), t[4](null);
1477
1567
  }
1478
1568
  };
1479
1569
  }
1480
- function lt(t, e, n) {
1481
- let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, l;
1482
- const u = () => {
1483
- let r = document.createElement("style");
1484
- r.innerHTML = s, l.appendChild(r);
1485
- }, c = () => {
1486
- let r = new URL(i), _ = document.createElement("style");
1487
- fetch(r.href).then((d) => d.text()).then((d) => {
1488
- _.innerHTML = d, setTimeout(
1489
- () => {
1490
- l.appendChild(_);
1491
- },
1492
- 1
1493
- ), setTimeout(
1494
- () => {
1495
- },
1496
- 500
1497
- );
1498
- });
1499
- };
1500
- function o(r) {
1501
- x[r ? "unshift" : "push"](() => {
1502
- l = r, n(0, l);
1570
+ function ft(t, e, n) {
1571
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
1572
+ V(() => () => {
1573
+ });
1574
+ function l(c) {
1575
+ w[c ? "unshift" : "push"](() => {
1576
+ o = c, n(0, o);
1503
1577
  });
1504
1578
  }
1505
- return t.$$set = (r) => {
1506
- "clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, i = r.clientstylingurl);
1579
+ return t.$$set = (c) => {
1580
+ "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
1507
1581
  }, t.$$.update = () => {
1508
1582
  t.$$.dirty & /*clientstyling, customStylingContainer*/
1509
- 3 && s && l && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1510
- 5 && i && l && c();
1511
- }, [l, s, i, o];
1583
+ 3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1584
+ 5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
1585
+ 9 && r && o && lt(o, `${r}.Style`);
1586
+ }, [
1587
+ o,
1588
+ s,
1589
+ i,
1590
+ r,
1591
+ l
1592
+ ];
1512
1593
  }
1513
- class ct extends nt {
1594
+ class $t extends st {
1514
1595
  constructor(e) {
1515
- super(), tt(this, e, lt, rt, B, { clientstyling: 1, clientstylingurl: 2 }, st);
1596
+ super(), nt(
1597
+ this,
1598
+ e,
1599
+ ft,
1600
+ dt,
1601
+ R,
1602
+ {
1603
+ clientstyling: 1,
1604
+ clientstylingurl: 2,
1605
+ mbsource: 3
1606
+ },
1607
+ ut
1608
+ );
1516
1609
  }
1517
1610
  get clientstyling() {
1518
1611
  return this.$$.ctx[1];
@@ -1526,8 +1619,14 @@ class ct extends nt {
1526
1619
  set clientstylingurl(e) {
1527
1620
  this.$$set({ clientstylingurl: e }), m();
1528
1621
  }
1622
+ get mbsource() {
1623
+ return this.$$.ctx[3];
1624
+ }
1625
+ set mbsource(e) {
1626
+ this.$$set({ mbsource: e }), m();
1627
+ }
1529
1628
  }
1530
- et(ct, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
1629
+ it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
1531
1630
 
1532
1631
  function i(n) {
1533
1632
  return function(...t) {
@@ -1541,7 +1640,7 @@ function i(n) {
1541
1640
  };
1542
1641
  }
1543
1642
  customElements.define = i(customElements.define);
1544
- !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", ct.element);
1643
+ !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
1545
1644
 
1546
1645
  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}";
1547
1646
  const PlayerElevatePointsHistoryStyle0 = playerElevatePointsHistoryCss;
@@ -1550,20 +1649,36 @@ const PlayerElevatePointsHistory = class {
1550
1649
  constructor(hostRef) {
1551
1650
  registerInstance(this, hostRef);
1552
1651
  this.paginationReset = createEvent(this, "paginationReset", 7);
1553
- this.playerAvatarUrl = undefined;
1554
- this.session = undefined;
1555
- this.endpoint = undefined;
1556
- this.limit = undefined;
1652
+ /**
1653
+ * Customize pagination: Activate pagination secondary arrows
1654
+ */
1557
1655
  this.secondaryArrowsActive = true;
1656
+ /**
1657
+ * Customize pagination: Activate pagination numbered navigation
1658
+ */
1558
1659
  this.displayPageNumbers = false;
1660
+ /**
1661
+ * Customize page list options, default: 10,25,50
1662
+ */
1559
1663
  this.pageLimitOptions = '10,25,50';
1664
+ /**
1665
+ * Language of the widget
1666
+ */
1560
1667
  this.language = 'en';
1668
+ /**
1669
+ * Client custom styling via string
1670
+ */
1561
1671
  this.clientStyling = '';
1672
+ /**
1673
+ * Client custom styling via url
1674
+ */
1562
1675
  this.clientStylingUrl = '';
1676
+ /**
1677
+ * translation via url
1678
+ */
1563
1679
  this.translationUrl = '';
1564
1680
  this.locale = translation['en'];
1565
1681
  this.type = WalletType.spendable;
1566
- this.pageSetting = undefined;
1567
1682
  this.pointsWallets = {};
1568
1683
  }
1569
1684
  switchTab(type) {