@everymatrix/casino-header-controller 1.76.3 → 1.76.4

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 (53) hide show
  1. package/components/{CasinoHamburgerMenu-CJvz-6v8.js → CasinoHamburgerMenu-BXmoYELH.js} +1106 -1071
  2. package/components/{CasinoHamburgerMenu-CoN5AQhy.js → CasinoHamburgerMenu-DFge6wNk.js} +1043 -1008
  3. package/components/CasinoHamburgerMenu-DzBitsDo.cjs +21 -0
  4. package/components/{CasinoHeaderController-nHwZBFh1.js → CasinoHeaderController-CqJEUFU1.js} +259 -259
  5. package/components/{CasinoHeaderController-4RP64UER.js → CasinoHeaderController-DqCbdev2.js} +74 -74
  6. package/components/{CasinoHeaderController-5SOMU0mr.cjs → CasinoHeaderController-tklzcbLB.cjs} +1 -1
  7. package/components/{CasinoSlider-Cz_SY5te.js → CasinoSlider-5zRk3Nyr.js} +41 -41
  8. package/components/{CasinoSlider-D-gB23jc.js → CasinoSlider-sjpfJOOy.js} +38 -38
  9. package/components/{CasinoSlider-SIfbXA_S.cjs → CasinoSlider-wXw8RHQe.cjs} +1 -1
  10. package/components/{PlayerAccountBalanceModal-C1IAqTOW.js → PlayerAccountBalanceModal-B9zCQZQg.js} +52 -52
  11. package/components/{PlayerAccountBalanceModal-DpIFaPjO.js → PlayerAccountBalanceModal-Cq-1fTb6.js} +55 -55
  12. package/components/{PlayerAccountBalanceModal-B8M587Ck.cjs → PlayerAccountBalanceModal-ECuzDR7V.cjs} +1 -1
  13. package/components/{PlayerDeposit-DpJ5OKSd.cjs → PlayerDeposit-BJEnlNvH.cjs} +1 -1
  14. package/components/{PlayerDeposit-DKiaKiSX.js → PlayerDeposit-CwH_m-vi.js} +37 -37
  15. package/components/{PlayerDeposit-VFOktlR5.js → PlayerDeposit-gnIH-WO7.js} +37 -37
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{gamification-dropdown-C6ERMVuc.js → gamification-dropdown-0FYjENuC.js} +1 -1
  21. package/stencil/{gamification-dropdown-60536faa-a9fhneJS.js → gamification-dropdown-60536faa-ByoQkowS.js} +1 -1
  22. package/stencil/{gamification-dropdown-60536faa-C4Bt9SsA.js → gamification-dropdown-60536faa-CdoDh_iS.js} +1 -1
  23. package/stencil/{gamification-dropdown-60536faa-DASClLsG.cjs → gamification-dropdown-60536faa-jADsXxs4.cjs} +1 -1
  24. package/stencil/{gamification-dropdown-DCP5M16U.cjs → gamification-dropdown-BEAgTdVm.cjs} +1 -1
  25. package/stencil/{gamification-dropdown-Cn5QbhyS.js → gamification-dropdown-BYwIF9Gl.js} +1 -1
  26. package/stencil/{gamification-dropdown_4-DcfTNvW3.js → gamification-dropdown_4-0STJmTu3.js} +4 -4
  27. package/stencil/{gamification-dropdown_4-DxutrN1l.js → gamification-dropdown_4-Cn2nDa12.js} +4 -4
  28. package/stencil/{gamification-dropdown_4-DvpNN67k.cjs → gamification-dropdown_4-wVf8PnId.cjs} +2 -2
  29. package/stencil/index-1ef3a64c-B8rbe1el.cjs +1 -0
  30. package/stencil/{index-1ef3a64c-GG7QM-1r.js → index-1ef3a64c-BEUZTO5_.js} +185 -185
  31. package/stencil/{index-1ef3a64c-B1d9e5pW.js → index-1ef3a64c-CbJ3YCKZ.js} +192 -192
  32. package/stencil/{index-71b1bdfa-CsAz1pRT.js → index-71b1bdfa-CqsRB5Zq.js} +235 -235
  33. package/stencil/{index-71b1bdfa-BF1FhHvP.js → index-71b1bdfa-DWJfvSms.js} +226 -226
  34. package/stencil/index-71b1bdfa-aT2URAOG.cjs +1 -0
  35. package/stencil/{player-elevate-card-DGldgGzV.cjs → player-elevate-card-C_bGjWZ4.cjs} +1 -1
  36. package/stencil/{player-elevate-card-Dk8IKGFM.js → player-elevate-card-DV79k_97.js} +2 -2
  37. package/stencil/{player-elevate-card-CV-QotRL.js → player-elevate-card-D_AqKh09.js} +2 -2
  38. package/stencil/{player-elevate-card-items-08c6fbd8-DWYJG2Sw.js → player-elevate-card-items-08c6fbd8-CKjKj8rt.js} +292 -294
  39. package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +102 -0
  40. package/stencil/{player-elevate-card-items-08c6fbd8-D2InzLdw.js → player-elevate-card-items-08c6fbd8-DDaPFpxz.js} +292 -294
  41. package/stencil/{player-elevate-pointcard-BZEQfMrQ.js → player-elevate-pointcard-BAE3Vgzi.js} +2 -2
  42. package/stencil/{player-elevate-pointcard-CFB0v64P.js → player-elevate-pointcard-BXLJdcos.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-Kd_hq4Sx.cjs → player-elevate-pointcard-vC-WI2he.cjs} +1 -1
  44. package/stencil/{player-rakeback-card-DV2irTYH.js → player-rakeback-card-Ca3Pjwd4.js} +1 -1
  45. package/stencil/{player-rakeback-card-BLuEtn4-.js → player-rakeback-card-Cj3yH6EJ.js} +1 -1
  46. package/stencil/{player-rakeback-card-B_0uBE6g.cjs → player-rakeback-card-DZVQyKwK.cjs} +1 -1
  47. package/stencil/{user-deposit-withdrawal-CnTB5Htu.cjs → user-deposit-withdrawal-6OV5s5L0.cjs} +2 -2
  48. package/stencil/{user-deposit-withdrawal-DIQiW7CO.js → user-deposit-withdrawal-BhBUsaq0.js} +45 -45
  49. package/stencil/{user-deposit-withdrawal-D3SYJSWx.js → user-deposit-withdrawal-BmCnXlz0.js} +45 -45
  50. package/components/CasinoHamburgerMenu-DbcCsL_F.cjs +0 -21
  51. package/stencil/index-1ef3a64c-C4G-G36U.cjs +0 -1
  52. package/stencil/index-71b1bdfa-CvQLI6L6.cjs +0 -1
  53. package/stencil/player-elevate-card-items-08c6fbd8-jkH5ihgE.cjs +0 -102
@@ -2,14 +2,14 @@ var ut = Object.defineProperty, ft = Object.defineProperties;
2
2
  var pt = Object.getOwnPropertyDescriptors;
3
3
  var Ye = Object.getOwnPropertySymbols;
4
4
  var ht = Object.prototype.hasOwnProperty, mt = Object.prototype.propertyIsEnumerable;
5
- var Xe = Math.pow, Qe = (l, t, n) => t in l ? ut(l, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[t] = n, Ze = (l, t) => {
5
+ var Xe = Math.pow, Qe = (l, t, n) => t in l ? ut(l, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[t] = n, Je = (l, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  ht.call(t, n) && Qe(l, n, t[n]);
8
8
  if (Ye)
9
9
  for (var n of Ye(t))
10
10
  mt.call(t, n) && Qe(l, n, t[n]);
11
11
  return l;
12
- }, Je = (l, t) => ft(l, pt(t));
12
+ }, Ze = (l, t) => ft(l, pt(t));
13
13
  var $e = (l, t, n) => new Promise((m, f) => {
14
14
  var d = (y) => {
15
15
  try {
@@ -26,7 +26,7 @@ var $e = (l, t, n) => new Promise((m, f) => {
26
26
  }, p = (y) => y.done ? m(y.value) : Promise.resolve(y.value).then(d, g);
27
27
  p((n = n.apply(l, t)).next());
28
28
  });
29
- import { b as gt, $ as yt, Q as vt, S as wt, i as bt, f as H, c as Bt, s as Tt, d as St, g as O, e as de, y as z, j as ue, z as D, n as Ke, k as fe, l as Ct, o as At, A as Oe, p as _t, r as Rt, t as Et, u as xt, w as we, F as Dt, B as be, v as Ne, C as lt, D as Lt, H as Mt } from "./CasinoHamburgerMenu-CJvz-6v8.js";
29
+ import { b as gt, $ as yt, Q as vt, S as wt, i as bt, s as Bt, f as H, d as Tt, n as Ke, e as de, h as ue, x as D, k as O, j as fe, v as z, l as St, o as Ct, y as Oe, p as At, w as we, A as be, r as _t, B as Ne, C as lt, t as Rt, J as Et, K as xt, L as Dt, c as Lt, I as Mt } from "./CasinoHamburgerMenu-BXmoYELH.js";
30
30
  function et(l, t) {
31
31
  gt(l, t);
32
32
  }
@@ -278,10 +278,10 @@ var qe = { exports: {} };
278
278
  };
279
279
  };
280
280
  }
281
- function Z() {
281
+ function J() {
282
282
  this.bitsNeeded = 0, this.codePoint = 0;
283
283
  }
284
- Z.prototype.decode = function(e) {
284
+ J.prototype.decode = function(e) {
285
285
  function a(A, _, v) {
286
286
  if (v === 1)
287
287
  return A >= 128 >> _ && A << _ <= 2047;
@@ -314,7 +314,7 @@ var qe = { exports: {} };
314
314
  }
315
315
  return !1;
316
316
  };
317
- (E == null || M == null || !G()) && (E = Z);
317
+ (E == null || M == null || !G()) && (E = J);
318
318
  var C = function() {
319
319
  };
320
320
  function b(e) {
@@ -422,9 +422,9 @@ var qe = { exports: {} };
422
422
  L.prototype.get = function(e) {
423
423
  return this._map[I(e)];
424
424
  }, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
425
- function J() {
425
+ function Z() {
426
426
  }
427
- J.prototype.open = function(e, a, i, o, c, r, h) {
427
+ Z.prototype.open = function(e, a, i, o, c, r, h) {
428
428
  e.open("GET", c);
429
429
  var R = 0;
430
430
  e.onprogress = function() {
@@ -560,7 +560,7 @@ var qe = { exports: {} };
560
560
  var Ue = S != null && x != null && "body" in x.prototype;
561
561
  function Pe(e, a, i) {
562
562
  a = String(a);
563
- var o = !!i.withCredentials, c = i.lastEventIdQueryParameterName || "lastEventId", r = Te(1e3), h = Ee(i.heartbeatTimeout, 45e3), R = "", w = r, A = !1, _ = 0, v = i.headers || {}, F = i.Transport, ie = Ue && F == null ? void 0 : new b(F != null ? new F() : ze()), xe = F != null && typeof F != "string" ? new F() : ie == null ? new oe() : new J(), q = void 0, U = 0, $ = _e, Se = "", Fe = "", se = "", ke = "", P = te, Ve = 0, ve = 0, ct = function(N, k, W, Y) {
563
+ var o = !!i.withCredentials, c = i.lastEventIdQueryParameterName || "lastEventId", r = Te(1e3), h = Ee(i.heartbeatTimeout, 45e3), R = "", w = r, A = !1, _ = 0, v = i.headers || {}, F = i.Transport, ie = Ue && F == null ? void 0 : new b(F != null ? new F() : ze()), xe = F != null && typeof F != "string" ? new F() : ie == null ? new oe() : new Z(), q = void 0, U = 0, $ = _e, Se = "", Fe = "", se = "", ke = "", P = te, Ve = 0, ve = 0, ct = function(N, k, W, Y) {
564
564
  if ($ === ee)
565
565
  if (N === 200 && W != null && Me.test(W)) {
566
566
  $ = me, A = Date.now(), w = r, e.readyState = me;
@@ -680,7 +680,7 @@ var qe = { exports: {} };
680
680
  })(qe, qe.exports);
681
681
  var kt = qe.exports;
682
682
  function Ot(l) {
683
- St(l, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
683
+ Tt(l, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
684
684
  }
685
685
  function nt(l, t, n) {
686
686
  const m = l.slice();
@@ -706,7 +706,7 @@ function Nt(l) {
706
706
  );
707
707
  return {
708
708
  c() {
709
- t = O("button"), m = we(n), f = de(), d = O("span"), d.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', g = de(), T && T.c(), p = Dt(), z(t, "class", "BalanceValue");
709
+ t = O("button"), m = be(n), f = fe(), d = O("span"), d.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', g = fe(), T && T.c(), p = _t(), z(t, "class", "BalanceValue");
710
710
  },
711
711
  m(S, x) {
712
712
  ue(S, t, x), D(t, m), D(t, f), D(t, d), ue(S, g, x), T && T.m(S, x), ue(S, p, x), y || (B = Oe(
@@ -725,11 +725,11 @@ function Nt(l) {
725
725
  /*balances*/
726
726
  S[3].Total[0].amount
727
727
  )
728
- ) : "0") + "") && be(m, n), /*isModalDisplayed*/
728
+ ) : "0") + "") && we(m, n), /*isModalDisplayed*/
729
729
  S[2] ? T ? T.p(S, x) : (T = ot(S), T.c(), T.m(p.parentNode, p)) : T && (T.d(1), T = null);
730
730
  },
731
731
  d(S) {
732
- S && (fe(t), fe(g), fe(p)), T && T.d(S), y = !1, B();
732
+ S && (de(t), de(g), de(p)), T && T.d(S), y = !1, B();
733
733
  }
734
734
  };
735
735
  }
@@ -740,7 +740,7 @@ function It(l) {
740
740
  ), m;
741
741
  return {
742
742
  c() {
743
- t = O("p"), m = we(n);
743
+ t = O("p"), m = be(n);
744
744
  },
745
745
  m(f, d) {
746
746
  ue(f, t, d), D(t, m);
@@ -748,10 +748,10 @@ function It(l) {
748
748
  p(f, d) {
749
749
  d[0] & /*$_*/
750
750
  16 && n !== (n = /*$_*/
751
- f[4]("Loading") + "") && be(m, n);
751
+ f[4]("Loading") + "") && we(m, n);
752
752
  },
753
753
  d(f) {
754
- f && fe(t);
754
+ f && de(t);
755
755
  }
756
756
  };
757
757
  }
@@ -762,7 +762,7 @@ function ot(l) {
762
762
  ), y, B, T, S, x, E, M = (
763
763
  /*$_*/
764
764
  l[4]("DepositButton") + ""
765
- ), Q, ne, Z, G = Ne(Object.keys(
765
+ ), Q, ne, J, G = Ne(Object.keys(
766
766
  /*balances*/
767
767
  l[3]
768
768
  )), C = [];
@@ -770,16 +770,16 @@ function ot(l) {
770
770
  C[b] = it(nt(l, G, b));
771
771
  return {
772
772
  c() {
773
- t = O("div"), n = O("button"), m = de(), f = O("div"), d = O("div"), g = O("p"), y = we(p), B = de(), T = O("div");
773
+ t = O("div"), n = O("button"), m = fe(), f = O("div"), d = O("div"), g = O("p"), y = be(p), B = fe(), T = O("div");
774
774
  for (let b = 0; b < C.length; b += 1)
775
775
  C[b].c();
776
- S = de(), x = O("div"), E = O("button"), Q = we(M), z(n, "class", "BalanceModalClose"), z(g, "class", "BalanceModalTitle"), z(d, "class", "BalanceModalHeader"), z(T, "class", "BalanceModalBody"), z(E, "class", "BalanceModalAction"), z(x, "class", "BalanceModalFooter"), z(f, "class", "BalanceModal"), z(t, "class", "BalanceModalWrapper");
776
+ S = fe(), x = O("div"), E = O("button"), Q = be(M), z(n, "class", "BalanceModalClose"), z(g, "class", "BalanceModalTitle"), z(d, "class", "BalanceModalHeader"), z(T, "class", "BalanceModalBody"), z(E, "class", "BalanceModalAction"), z(x, "class", "BalanceModalFooter"), z(f, "class", "BalanceModal"), z(t, "class", "BalanceModalWrapper");
777
777
  },
778
778
  m(b, I) {
779
779
  ue(b, t, I), D(t, n), D(t, m), D(t, f), D(f, d), D(d, g), D(g, y), D(f, B), D(f, T);
780
780
  for (let L = 0; L < C.length; L += 1)
781
781
  C[L] && C[L].m(T, null);
782
- D(f, S), D(f, x), D(x, E), D(E, Q), ne || (Z = [
782
+ D(f, S), D(f, x), D(x, E), D(E, Q), ne || (J = [
783
783
  Oe(
784
784
  n,
785
785
  "click",
@@ -797,7 +797,7 @@ function ot(l) {
797
797
  p(b, I) {
798
798
  if (I[0] & /*$_*/
799
799
  16 && p !== (p = /*$_*/
800
- b[4]("Title") + "") && be(y, p), I[0] & /*balances, formatBalance, $_*/
800
+ b[4]("Title") + "") && we(y, p), I[0] & /*balances, formatBalance, $_*/
801
801
  56) {
802
802
  G = Ne(Object.keys(
803
803
  /*balances*/
@@ -805,8 +805,8 @@ function ot(l) {
805
805
  ));
806
806
  let L;
807
807
  for (L = 0; L < G.length; L += 1) {
808
- const J = nt(b, G, L);
809
- C[L] ? C[L].p(J, I) : (C[L] = it(J), C[L].c(), C[L].m(T, null));
808
+ const Z = nt(b, G, L);
809
+ C[L] ? C[L].p(Z, I) : (C[L] = it(Z), C[L].c(), C[L].m(T, null));
810
810
  }
811
811
  for (; L < C.length; L += 1)
812
812
  C[L].d(1);
@@ -814,10 +814,10 @@ function ot(l) {
814
814
  }
815
815
  I[0] & /*$_*/
816
816
  16 && M !== (M = /*$_*/
817
- b[4]("DepositButton") + "") && be(Q, M);
817
+ b[4]("DepositButton") + "") && we(Q, M);
818
818
  },
819
819
  d(b) {
820
- b && fe(t), lt(C, b), ne = !1, Lt(Z);
820
+ b && de(t), lt(C, b), ne = !1, Rt(J);
821
821
  }
822
822
  };
823
823
  }
@@ -846,7 +846,7 @@ function rt(l) {
846
846
  ), x;
847
847
  return {
848
848
  c() {
849
- t = O("div"), n = O("p"), f = we(m), d = de(), p = we(g), y = de(), B = O("p"), T = O("span"), x = we(S), z(n, "class", "BalanceModalText"), z(T, "class", "BalanceModalAmount"), z(B, "class", "BalanceModalValue"), z(t, "class", "BalanceModalRowLine");
849
+ t = O("div"), n = O("p"), f = be(m), d = fe(), p = be(g), y = fe(), B = O("p"), T = O("span"), x = be(S), z(n, "class", "BalanceModalText"), z(T, "class", "BalanceModalAmount"), z(B, "class", "BalanceModalValue"), z(t, "class", "BalanceModalRowLine");
850
850
  },
851
851
  m(E, M) {
852
852
  ue(E, t, M), D(t, n), D(n, f), D(n, d), D(n, p), D(t, y), D(t, B), D(B, T), D(T, x);
@@ -857,7 +857,7 @@ function rt(l) {
857
857
  E[4](
858
858
  /*k*/
859
859
  E[49]
860
- ) + "") && be(f, m), M[0] & /*balances, $_*/
860
+ ) + "") && we(f, m), M[0] & /*balances, $_*/
861
861
  24 && g !== (g = /*b*/
862
862
  (E[52].productType ? (
863
863
  /*$_*/
@@ -865,15 +865,15 @@ function rt(l) {
865
865
  /*b*/
866
866
  E[52].productType
867
867
  )
868
- ) : "") + "") && be(p, g), M[0] & /*balances*/
868
+ ) : "") + "") && we(p, g), M[0] & /*balances*/
869
869
  8 && S !== (S = /*formatBalance*/
870
870
  E[5](
871
871
  /*b*/
872
872
  E[52].amount
873
- ) + "") && be(x, S);
873
+ ) + "") && we(x, S);
874
874
  },
875
875
  d(E) {
876
- E && fe(t);
876
+ E && de(t);
877
877
  }
878
878
  };
879
879
  }
@@ -892,7 +892,7 @@ function it(l) {
892
892
  t = O("div");
893
893
  for (let d = 0; d < f.length; d += 1)
894
894
  f[d].c();
895
- n = de(), z(t, "class", "BalanceModalRowBoth");
895
+ n = fe(), z(t, "class", "BalanceModalRowBoth");
896
896
  },
897
897
  m(d, g) {
898
898
  ue(d, t, g);
@@ -921,7 +921,7 @@ function it(l) {
921
921
  }
922
922
  },
923
923
  d(d) {
924
- d && fe(t), lt(f, d);
924
+ d && de(t), lt(f, d);
925
925
  }
926
926
  };
927
927
  }
@@ -941,7 +941,7 @@ function st(l) {
941
941
  },
942
942
  p: Ke,
943
943
  d(f) {
944
- f && fe(t), n = !1, m();
944
+ f && de(t), n = !1, m();
945
945
  }
946
946
  };
947
947
  }
@@ -959,7 +959,7 @@ function jt(l) {
959
959
  );
960
960
  return {
961
961
  c() {
962
- t = O("div"), n = O("div"), g.c(), m = de(), p && p.c(), z(n, "class", "ShowBalance");
962
+ t = O("div"), n = O("div"), g.c(), m = fe(), p && p.c(), z(n, "class", "ShowBalance");
963
963
  },
964
964
  m(y, B) {
965
965
  ue(y, t, B), D(t, n), g.m(n, null), D(t, m), p && p.m(t, null), l[27](t);
@@ -971,14 +971,14 @@ function jt(l) {
971
971
  i: Ke,
972
972
  o: Ke,
973
973
  d(y) {
974
- y && fe(t), g.d(), p && p.d(), l[27](null);
974
+ y && de(t), g.d(), p && p.d(), l[27](null);
975
975
  }
976
976
  };
977
977
  }
978
978
  function Ht(l, t, n) {
979
979
  let m;
980
- Ct(l, Mt, (s) => n(4, m = s));
981
- let { userid: f = "" } = t, { session: d = "" } = t, { endpoint: g = "" } = t, { lang: p = "en" } = t, { mbsource: y } = t, { clientstyling: B = "" } = t, { clientstylingurl: T = "" } = t, { translationurl: S = "" } = t, { gmversion: x = "gm16" } = t, { displaybalanceoption: E = "All" } = t, { totalcalculationmode: M = "totalCashAmount" } = t, { currencylocale: Q = "en" } = t, { currencydisplay: ne = "symbol" } = t, { maximumfractiondigits: Z = "2" } = t, { minimumfractiondigits: G = "0" } = t, { customdisplayformat: C = "" } = t, b, I = !0, L = !1, J = !1, ae, oe = "", X = [], pe;
980
+ St(l, Mt, (s) => n(4, m = s));
981
+ let { userid: f = "" } = t, { session: d = "" } = t, { endpoint: g = "" } = t, { lang: p = "en" } = t, { mbsource: y } = t, { clientstyling: B = "" } = t, { clientstylingurl: T = "" } = t, { translationurl: S = "" } = t, { gmversion: x = "gm16" } = t, { displaybalanceoption: E = "All" } = t, { totalcalculationmode: M = "totalCashAmount" } = t, { currencylocale: Q = "en" } = t, { currencydisplay: ne = "symbol" } = t, { maximumfractiondigits: J = "2" } = t, { minimumfractiondigits: G = "0" } = t, { customdisplayformat: C = "" } = t, b, I = !0, L = !1, Z = !1, ae, oe = "", X = [], pe;
982
982
  const u = {}, he = ["totalCashAmount", "totalRealAmount"], Ae = () => {
983
983
  fetch(S).then((s) => s.json()).then((s) => Object.keys(s).forEach((e) => et(e, s[e]))).catch((s) => console.log(s));
984
984
  };
@@ -991,7 +991,7 @@ function Ht(l, t, n) {
991
991
  currency: oe,
992
992
  useGrouping: !0,
993
993
  currencyDisplay: ne || "code",
994
- maximumFractionDigits: Z === "" || isNaN(Number(Z)) ? 2 : Number(Z),
994
+ maximumFractionDigits: J === "" || isNaN(Number(J)) ? 2 : Number(J),
995
995
  minimumFractionDigits: G === "" || isNaN(Number(G)) ? 0 : Number(G)
996
996
  };
997
997
  return new Intl.NumberFormat(e, a).format(s);
@@ -1063,7 +1063,7 @@ function Ht(l, t, n) {
1063
1063
  e.append("X-SessionID", d), fetch(s, { method: "GET", headers: e }).then((i) => i.json()).then((i) => {
1064
1064
  i[M] || n(7, M = he[0]);
1065
1065
  const o = i.items.find((r) => r.type === "Real" && r.walletAccountType === "Ordinary");
1066
- if (oe = o.currency, J = !!o.productType, n(3, u.Total = [{ amount: 0 }], u), n(3, u.Real = [], u), n(3, u.Bonus = [], u), n(3, u.Credit = [], u), !J) {
1066
+ if (oe = o.currency, Z = !!o.productType, n(3, u.Total = [{ amount: 0 }], u), n(3, u.Real = [], u), n(3, u.Bonus = [], u), n(3, u.Credit = [], u), !Z) {
1067
1067
  pe = {
1068
1068
  lastOrdinaryAfterAmount: 0,
1069
1069
  showCreditLineAfterAmount: !1
@@ -1158,7 +1158,7 @@ function Ht(l, t, n) {
1158
1158
  }
1159
1159
  let a = "0";
1160
1160
  const i = e.balanceChange;
1161
- X = X.map((r) => (i && i[r.id] && (r = Je(Ze({}, r), {
1161
+ X = X.map((r) => (i && i[r.id] && (r = Ze(Je({}, r), {
1162
1162
  balanceAmount: i[r.id].afterAmount
1163
1163
  })), a = (parseFloat(r == null ? void 0 : r.balanceAmount) + parseFloat(a)).toString(), r)), n(3, u.Real = [{ amount: (o = X[0]) == null ? void 0 : o.balanceAmount }], u), n(3, u.Bonus = [{ amount: (c = X[1]) == null ? void 0 : c.balanceAmount }], u), n(3, u.Total = [{ amount: Number(a) }], u);
1164
1164
  }, ye = (s, e, a) => {
@@ -1184,7 +1184,7 @@ function Ht(l, t, n) {
1184
1184
  n(3, u.Total[0].amount = s, u);
1185
1185
  break;
1186
1186
  case "totalRealAmount":
1187
- if (!J)
1187
+ if (!Z)
1188
1188
  return;
1189
1189
  let e = 0;
1190
1190
  for (const a of u.Real)
@@ -1201,9 +1201,9 @@ function Ht(l, t, n) {
1201
1201
  return;
1202
1202
  const a = e.body.balanceChange;
1203
1203
  for (const [i, o] of Object.entries(a))
1204
- if (M === "totalRealAmount" && i === "Real" && !J && n(3, u.Total[0].amount = ye(u.Total[0].amount, pe, o), u), !!u[i])
1204
+ if (M === "totalRealAmount" && i === "Real" && !Z && n(3, u.Total[0].amount = ye(u.Total[0].amount, pe, o), u), !!u[i])
1205
1205
  for (const c of u[i]) {
1206
- if (!J) {
1206
+ if (!Z) {
1207
1207
  c.amount = i === "Real" ? ye(c.amount, pe, o) : o.afterAmount;
1208
1208
  continue;
1209
1209
  }
@@ -1226,24 +1226,24 @@ function Ht(l, t, n) {
1226
1226
  throw Error(`Invalid apiversion attribute: ${x}`);
1227
1227
  }
1228
1228
  }, Te = (s) => s.data && s.data.type === "LogoutSuccessfull" && ae.close();
1229
- At(() => (window.addEventListener("message", Te, !1), () => {
1229
+ Ct(() => (window.addEventListener("message", Te, !1), () => {
1230
1230
  window.removeEventListener("message", Te), ae && ae.close();
1231
1231
  }));
1232
1232
  const ge = () => n(2, L = !0), K = () => n(2, L = !1), ze = () => Me(), Ue = () => n(2, L = !1);
1233
1233
  function Pe(s) {
1234
- _t[s ? "unshift" : "push"](() => {
1234
+ At[s ? "unshift" : "push"](() => {
1235
1235
  b = s, n(0, b);
1236
1236
  });
1237
1237
  }
1238
1238
  return l.$$set = (s) => {
1239
- "userid" in s && n(8, f = s.userid), "session" in s && n(9, d = s.session), "endpoint" in s && n(10, g = s.endpoint), "lang" in s && n(11, p = s.lang), "mbsource" in s && n(12, y = s.mbsource), "clientstyling" in s && n(13, B = s.clientstyling), "clientstylingurl" in s && n(14, T = s.clientstylingurl), "translationurl" in s && n(15, S = s.translationurl), "gmversion" in s && n(16, x = s.gmversion), "displaybalanceoption" in s && n(17, E = s.displaybalanceoption), "totalcalculationmode" in s && n(7, M = s.totalcalculationmode), "currencylocale" in s && n(18, Q = s.currencylocale), "currencydisplay" in s && n(19, ne = s.currencydisplay), "maximumfractiondigits" in s && n(20, Z = s.maximumfractiondigits), "minimumfractiondigits" in s && n(21, G = s.minimumfractiondigits), "customdisplayformat" in s && n(22, C = s.customdisplayformat);
1239
+ "userid" in s && n(8, f = s.userid), "session" in s && n(9, d = s.session), "endpoint" in s && n(10, g = s.endpoint), "lang" in s && n(11, p = s.lang), "mbsource" in s && n(12, y = s.mbsource), "clientstyling" in s && n(13, B = s.clientstyling), "clientstylingurl" in s && n(14, T = s.clientstylingurl), "translationurl" in s && n(15, S = s.translationurl), "gmversion" in s && n(16, x = s.gmversion), "displaybalanceoption" in s && n(17, E = s.displaybalanceoption), "totalcalculationmode" in s && n(7, M = s.totalcalculationmode), "currencylocale" in s && n(18, Q = s.currencylocale), "currencydisplay" in s && n(19, ne = s.currencydisplay), "maximumfractiondigits" in s && n(20, J = s.maximumfractiondigits), "minimumfractiondigits" in s && n(21, G = s.minimumfractiondigits), "customdisplayformat" in s && n(22, C = s.customdisplayformat);
1240
1240
  }, l.$$.update = () => {
1241
1241
  l.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1242
1242
  200448 && g && f && d && p && x && E && Ee(), l.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1243
1243
  67328 && g && f && d && x && re(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1244
- 8193 && B && b && Rt(b, B), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1245
- 16385 && T && b && Et(b, T), l.$$.dirty[0] & /*customStylingContainer, mbsource*/
1246
- 4097 && b && xt(b, `${y}.Style`), l.$$.dirty[0] & /*translationurl*/
1244
+ 8193 && B && b && Et(b, B), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1245
+ 16385 && T && b && xt(b, T), l.$$.dirty[0] & /*customStylingContainer, mbsource*/
1246
+ 4097 && b && Dt(b, `${y}.Style`), l.$$.dirty[0] & /*translationurl*/
1247
1247
  32768 && S && Ae();
1248
1248
  }, [
1249
1249
  b,
@@ -1266,7 +1266,7 @@ function Ht(l, t, n) {
1266
1266
  E,
1267
1267
  Q,
1268
1268
  ne,
1269
- Z,
1269
+ J,
1270
1270
  G,
1271
1271
  C,
1272
1272
  ge,
@@ -1283,7 +1283,7 @@ class zt extends wt {
1283
1283
  t,
1284
1284
  Ht,
1285
1285
  jt,
1286
- Tt,
1286
+ Bt,
1287
1287
  {
1288
1288
  userid: 8,
1289
1289
  session: 9,
@@ -1403,7 +1403,7 @@ class zt extends wt {
1403
1403
  this.$$set({ customdisplayformat: t }), H();
1404
1404
  }
1405
1405
  }
1406
- Bt(zt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
1406
+ Lt(zt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
1407
1407
  export {
1408
1408
  zt as default
1409
1409
  };