@everymatrix/casino-header-controller-nd 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 (60) hide show
  1. package/components/CasinoHamburgerMenuNd-BXOxWDnU.js +5449 -0
  2. package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
  3. package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
  4. package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
  6. package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
  7. package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
  8. package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
  9. package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
  10. package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
  11. package/components/PlayerDeposit-Dn8OMUks.js +391 -0
  12. package/components/PlayerDeposit-Owd9kBaC.js +391 -0
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
  18. package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
  19. package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
  20. package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
  21. package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
  22. package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
  23. package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
  24. package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
  25. package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
  26. package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
  27. package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
  28. package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
  29. package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
  30. package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
  31. package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
  32. package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
  33. package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
  34. package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
  35. package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
  36. package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
  37. package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
  38. package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
  39. package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
  40. package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
  41. package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
  42. package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
  43. package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
  44. package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
  45. package/components/PlayerDeposit-B0r58Ypp.js +0 -414
  46. package/components/PlayerDeposit-BkVMpjA9.js +0 -414
  47. package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
  48. package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
  49. package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
  50. package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
  51. package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
  52. package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
  53. package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
  54. package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
  55. package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
  56. package/stencil/index-171550cf-CVTOm2AV.js +0 -799
  57. package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
  58. package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
  59. package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
  60. package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
@@ -2,21 +2,21 @@ var m = (e, t, a) => new Promise((n, r) => {
2
2
  var l = (s) => {
3
3
  try {
4
4
  o(a.next(s));
5
- } catch (c) {
6
- r(c);
5
+ } catch (v) {
6
+ r(v);
7
7
  }
8
8
  }, d = (s) => {
9
9
  try {
10
10
  o(a.throw(s));
11
- } catch (c) {
12
- r(c);
11
+ } catch (v) {
12
+ r(v);
13
13
  }
14
14
  }, o = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, d);
15
15
  o((a = a.apply(e, t)).next());
16
16
  });
17
- import { G as pe } from "./gamification-dropdown-456bb56a-CldmfDdk.js";
18
- import { r as u, h as i, g as P, c as O, a as b, F as N } from "./index-171550cf-CVTOm2AV.js";
19
- import { t as k, T as $, P as W, a as z, b as L, c as U, r as p, g as E, d as h } from "./player-elevate-card-items-2078bd83-DvW50KrW.js";
17
+ import { G as pe } from "./gamification-dropdown-246b88da-Dckk_dCi.js";
18
+ import { r as u, h as i, g as P, c as O, a as b, F as N } from "./index-30fda5fb-XWBRFzl0.js";
19
+ import { t as k, T as $, P as W, a as z, b as L, c as U, r as p, d as h, g as E } from "./player-elevate-card-items-be1e68f1-C-idvDlE.js";
20
20
  const q = (e, t) => new Promise((a) => {
21
21
  fetch(e).then((n) => n.json()).then((n) => {
22
22
  Object.keys(n).forEach((r) => {
@@ -27,7 +27,7 @@ const q = (e, t) => new Promise((a) => {
27
27
  });
28
28
  }), F = ":host{display:block}", H = F, j = class {
29
29
  constructor(e) {
30
- u(this, e), this.stylingAppends = !1, this.setClientStyling = () => {
30
+ u(this, e), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.stylingAppends = !1, this.setClientStyling = () => {
31
31
  let t = document.createElement("style");
32
32
  t.innerHTML = this.clientStyling, this.el.prepend(t);
33
33
  }, this.setClientStylingURL = () => {
@@ -39,7 +39,7 @@ const q = (e, t) => new Promise((a) => {
39
39
  }).catch((n) => {
40
40
  console.log("error ", n);
41
41
  });
42
- }, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.targetTranslations = void 0;
42
+ };
43
43
  }
44
44
  componentDidRender() {
45
45
  this.stylingAppends || (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.stylingAppends = !0);
@@ -105,10 +105,10 @@ function Z(e, t) {
105
105
  return a.getTime() < n.getTime();
106
106
  }
107
107
  function ee(e, t) {
108
- const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, d = t > 1 ? 1 : t, o = d * l - n < 0 ? 0 : d * l - n, s = e.querySelector("#current_level"), c = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
109
- a.setAttribute("viewbox", `0 0 ${o} 28`), s.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`), c.setAttribute("x", `${o - 8}`);
110
- const y = e.querySelector("#lock"), T = e.querySelector("#filter_heart_ball"), A = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), R = e.querySelector("#heart_box"), M = 10, v = l - M;
111
- y.setAttribute("cx", `${v}`), x.setAttribute("x1", `${v}`), x.setAttribute("x2", `${v}`), f.setAttribute("x1", `${v - 6}`), f.setAttribute("x2", `${v - 6 + 11.2}`), D.setAttribute("x", `${v - 6}`), B.setAttribute("x", `${v - 6 - 2}`), A.setAttribute("x", `${v - 6 - 2 - 2}`), T.setAttribute("x", `${v - 6 - 2 - 2 - 4}`), _.setAttribute("x", `${v - 6}`), R.setAttribute("x", `${v - 6}`), a.parentElement.style.opacity = "1";
108
+ const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, d = t > 1 ? 1 : t, o = d * l - n < 0 ? 0 : d * l - n, s = e.querySelector("#current_level"), v = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
109
+ a.setAttribute("viewbox", `0 0 ${o} 28`), s.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`), v.setAttribute("x", `${o - 8}`);
110
+ const y = e.querySelector("#lock"), T = e.querySelector("#filter_heart_ball"), A = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), R = e.querySelector("#heart_box"), M = 10, c = l - M;
111
+ y.setAttribute("cx", `${c}`), x.setAttribute("x1", `${c}`), x.setAttribute("x2", `${c}`), f.setAttribute("x1", `${c - 6}`), f.setAttribute("x2", `${c - 6 + 11.2}`), D.setAttribute("x", `${c - 6}`), B.setAttribute("x", `${c - 6 - 2}`), A.setAttribute("x", `${c - 6 - 2 - 2}`), T.setAttribute("x", `${c - 6 - 2 - 2 - 4}`), _.setAttribute("x", `${c - 6}`), R.setAttribute("x", `${c - 6}`), a.parentElement.style.opacity = "1";
112
112
  }
113
113
  const te = `:host {
114
114
  display: block;
@@ -303,7 +303,7 @@ const te = `:host {
303
303
  color: var(--emw--color-red, #9e595f);
304
304
  }`, ne = te, ae = class {
305
305
  constructor(e) {
306
- u(this, e), this.playerElevateLeveLoaded = O(this, "playerElevateLeveLoaded", 7), this.params = void 0, this.playerElevateLevel = void 0, this.pointExpireString = void 0;
306
+ u(this, e), this.playerElevateLeveLoaded = O(this, "playerElevateLeveLoaded");
307
307
  }
308
308
  handleWindowResizs() {
309
309
  this.initLevelProgressbar();
@@ -355,12 +355,12 @@ const te = `:host {
355
355
  }
356
356
  let o = n.data;
357
357
  this.playerElevateLevel = o.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((r = o.spendableWallet) === null || r === void 0 ? void 0 : r.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
358
- const s = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, c = (d = n.data.loyaltyWallet) === null || d === void 0 ? void 0 : d.total;
358
+ const s = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, v = (d = n.data.loyaltyWallet) === null || d === void 0 ? void 0 : d.total;
359
359
  this.playerElevateLeveLoaded.emit({
360
360
  elevateLevelWalletTotal: s,
361
- loyaltyWalletTotal: c
361
+ loyaltyWalletTotal: v
362
362
  });
363
- let g = this.calcuatePointsToBeExpired(s), y = this.calcuatePointsToBeExpired(c);
363
+ let g = this.calcuatePointsToBeExpired(s), y = this.calcuatePointsToBeExpired(v);
364
364
  (g || y) && this.playerElevateLeveLoaded.emit({
365
365
  pointExpireString: g,
366
366
  xpExpireString: y
@@ -412,7 +412,7 @@ const te = `:host {
412
412
  ae.style = ne;
413
413
  const re = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:11px;margin-left:5px}}@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:5px}.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}", le = re, ie = class {
414
414
  constructor(e) {
415
- u(this, e), this.endpoint = void 0, this.theme = "Dark", this.session = void 0, this.playerAvatarUrl = void 0, this.language = "en", this.playerName = void 0, this.dateFormat = "yyyy-MM-dd", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.pointExpireString = void 0, this.playerElevateLevel = void 0, this.elevateWalletTotal = void 0;
415
+ u(this, e), this.theme = "Dark", this.language = "en", this.dateFormat = "yyyy-MM-dd", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "";
416
416
  }
417
417
  onSessionOrEndpointChange() {
418
418
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
@@ -449,7 +449,7 @@ const re = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
449
449
  }
450
450
  render() {
451
451
  const e = b("../static/card-ground.svg"), t = b("../static/card-ground-over.svg");
452
- return i("div", { key: "2b0944f8317a94621e1bc65bbbb3726654b8963b", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "c6d4dbba143435b4485d7fde91ab0a48a2f6688b", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "e47a4efe925eb35d4449c6ff33a0afef9d284e55", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: $, translationUrl: this.translationUrl }), i("player-elevate-card-data", { key: "a560991893305894ddd41756cd7b3c32d0ef9e03", params: this.paramProxy }), i("div", { key: "ceb8b71386f84f54518a3694535aa16c2c3d3951", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "1df9647c3de42e74adee0f8895511442118ae381", class: "Content Row" }, this.playerElevateLevel && i(N, { key: "569bcd5fc3c578d2e6cc7442d28444e29688660c" }, i("div", { key: "aa40032bff99c5462b906e4427232ca2d4019017", class: "PlayerImg" }, i(W, { key: "7a2d535b0c2029c90b9f1c123f9feebafca6bdde", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "90999da8fc2a3102eac235fcbc8afbec2a2bbdf8", class: `LevelInfo ${this.playerElevateLevel.name}` }, i(z, { key: "67e8bf370b1b77e776fb6d955ae63928fd1338d8", hideInfo: !0, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), i("div", { key: "1e0fefc6a23f4aeeef5e19828399fe1229a3fc81", class: "PointsRange" }, i(L, { key: "dd176e624cde3b6f517101d7702a15465305174d", loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), i(L, { key: "6cddb64c92545803d08fbbc513cc951b2691a42e", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), i(U, { key: "08817ca979ea784aeb735579b0d52e5150eb0852" }), i("div", { key: "be9a1b40a8145d5e6d329d8e9f047296e84dd24b", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && i("div", { key: "f9cbb7d06e34717cb9f74cb8d2e506e49969e775", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " ")))))));
452
+ return i("div", { key: "39295a651da66747a20554699bba5f96b8ad5c35", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "78c34fe054fc2459f8af3354116cd21a68ce01be", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "be6efc6da4c3ccf4cc3ece8ecc73561bae75aa20", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: $, translationUrl: this.translationUrl }), i("player-elevate-card-data", { key: "b53e4b59d4ee55a2f567efa09afab3d72969e6e4", params: this.paramProxy }), i("div", { key: "1f3e504440bab2df3a181058fad7149c85c48c14", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "a07c6cd95770dc1bfd3da78b1c7cc8e1367321b1", class: "Content Row" }, this.playerElevateLevel && i(N, { key: "5c104f5ba1a018219c6ed5f6e50af99b035a0344" }, i("div", { key: "bd94591e6ab9298ab7c769fa48efaf314dc1a63b", class: "PlayerImg" }, i(W, { key: "928849ce86d8c7a483eba7850efc83f8149bae43", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "37192c9b8502eb3c7d93914369df2d784c17e9f7", class: `LevelInfo ${this.playerElevateLevel.name}` }, i(z, { key: "2684a177f4bb1053c4587fd4158666fb35ca23f4", hideInfo: !0, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), i("div", { key: "173a37c63868f2d900c12af3ffc2d9a4a57550e4", class: "PointsRange" }, i(L, { key: "a7111154f7dc547e0b05c70d24508bdd75c5d882", loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), i(L, { key: "ad31574e7db81a7ecb7a06b28b1d4968cbcab93e", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), i(U, { key: "88ddfdb326edfb1de9519da6b3d0e5b514725e27" }), i("div", { key: "b9c79555a8001bd2c754d7573df04016da235c84", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && i("div", { key: "02da725060c9db4a8c1c2e8bad3426894d7f8f2c", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " ")))))));
453
453
  }
454
454
  static get watchers() {
455
455
  return {