@everymatrix/casino-header-controller-nd 1.76.3 → 1.76.5

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 (43) hide show
  1. package/components/{CasinoHamburgerMenuNd-BChdIQNC.js → CasinoHamburgerMenuNd-A1rbyIlh.js} +1072 -1037
  2. package/components/{CasinoHamburgerMenuNd-t6IxCiGz.js → CasinoHamburgerMenuNd-BbLVzDLA.js} +1064 -1029
  3. package/components/CasinoHamburgerMenuNd-DAYnP-8N.cjs +18 -0
  4. package/components/{CasinoHeaderControllerNd-BaC282Iy.cjs → CasinoHeaderControllerNd-BZ4hl5VU.cjs} +1 -1
  5. package/components/{CasinoHeaderControllerNd-p5onPhnt.js → CasinoHeaderControllerNd-DIWidaLF.js} +119 -119
  6. package/components/{CasinoHeaderControllerNd-Da9GJ07i.js → CasinoHeaderControllerNd-Y0iH2fty.js} +135 -135
  7. package/components/{PlayerAccountBalanceModalNd-Bc4_gH4P.js → PlayerAccountBalanceModalNd-Cygfal3S.js} +108 -108
  8. package/components/{PlayerAccountBalanceModalNd-CaK5s63o.cjs → PlayerAccountBalanceModalNd-DUPCtK5p.cjs} +1 -1
  9. package/components/{PlayerAccountBalanceModalNd-DDcloIRo.js → PlayerAccountBalanceModalNd-ggP_eQuJ.js} +63 -63
  10. package/components/{PlayerDeposit-DHqXm2Ye.js → PlayerDeposit-BPhFbd8a.js} +40 -40
  11. package/components/{PlayerDeposit-BhaHklVX.cjs → PlayerDeposit-DCiULSav.cjs} +1 -1
  12. package/components/{PlayerDeposit-DX3dmUgr.js → PlayerDeposit-DcwySzWb.js} +40 -40
  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-60536faa-a9fhneJS.js → gamification-dropdown-60536faa-ByoQkowS.js} +1 -1
  18. package/stencil/{gamification-dropdown-60536faa-C4Bt9SsA.js → gamification-dropdown-60536faa-CdoDh_iS.js} +1 -1
  19. package/stencil/{gamification-dropdown-60536faa-DASClLsG.cjs → gamification-dropdown-60536faa-jADsXxs4.cjs} +1 -1
  20. package/stencil/{gamification-dropdown-DM8ZypvI.js → gamification-dropdown-CMVnOpVS.js} +1 -1
  21. package/stencil/{gamification-dropdown-C94WUKJw.js → gamification-dropdown-DSqqyaTZ.js} +1 -1
  22. package/stencil/{gamification-dropdown-CHISLJWw.cjs → gamification-dropdown-aHzwtOKn.cjs} +1 -1
  23. package/stencil/{gamification-dropdown_4-DcfTNvW3.js → gamification-dropdown_4-0STJmTu3.js} +4 -4
  24. package/stencil/{gamification-dropdown_4-DxutrN1l.js → gamification-dropdown_4-Cn2nDa12.js} +4 -4
  25. package/stencil/{gamification-dropdown_4-DvpNN67k.cjs → gamification-dropdown_4-wVf8PnId.cjs} +2 -2
  26. package/stencil/{index-71b1bdfa-CsAz1pRT.js → index-71b1bdfa-CqsRB5Zq.js} +235 -235
  27. package/stencil/{index-71b1bdfa-BF1FhHvP.js → index-71b1bdfa-DWJfvSms.js} +226 -226
  28. package/stencil/index-71b1bdfa-aT2URAOG.cjs +1 -0
  29. package/stencil/{player-elevate-card-DGldgGzV.cjs → player-elevate-card-C_bGjWZ4.cjs} +1 -1
  30. package/stencil/{player-elevate-card-Dk8IKGFM.js → player-elevate-card-DV79k_97.js} +2 -2
  31. package/stencil/{player-elevate-card-CV-QotRL.js → player-elevate-card-D_AqKh09.js} +2 -2
  32. package/stencil/{player-elevate-card-items-08c6fbd8-DWYJG2Sw.js → player-elevate-card-items-08c6fbd8-CKjKj8rt.js} +292 -294
  33. package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +102 -0
  34. package/stencil/{player-elevate-card-items-08c6fbd8-D2InzLdw.js → player-elevate-card-items-08c6fbd8-DDaPFpxz.js} +292 -294
  35. package/stencil/{player-elevate-pointcard-BZEQfMrQ.js → player-elevate-pointcard-BAE3Vgzi.js} +2 -2
  36. package/stencil/{player-elevate-pointcard-CFB0v64P.js → player-elevate-pointcard-BXLJdcos.js} +2 -2
  37. package/stencil/{player-elevate-pointcard-Kd_hq4Sx.cjs → player-elevate-pointcard-vC-WI2he.cjs} +1 -1
  38. package/stencil/{player-rakeback-card-DV2irTYH.js → player-rakeback-card-Ca3Pjwd4.js} +1 -1
  39. package/stencil/{player-rakeback-card-BLuEtn4-.js → player-rakeback-card-Cj3yH6EJ.js} +1 -1
  40. package/stencil/{player-rakeback-card-B_0uBE6g.cjs → player-rakeback-card-DZVQyKwK.cjs} +1 -1
  41. package/components/CasinoHamburgerMenuNd-ClXsTIT_.cjs +0 -18
  42. package/stencil/index-71b1bdfa-CvQLI6L6.cjs +0 -1
  43. package/stencil/player-elevate-card-items-08c6fbd8-jkH5ihgE.cjs +0 -102
@@ -26,7 +26,7 @@ var $e = (i, e, a) => new Promise((w, m) => {
26
26
  }, g = (b) => b.done ? w(b.value) : Promise.resolve(b.value).then(d, T);
27
27
  g((a = a.apply(i, e)).next());
28
28
  });
29
- import { b as yt, $ as vt, P as wt, S as bt, i as Bt, f as X, c as Tt, s as St, d as Ct, g as I, h as he, j as C, l as me, m as A, F as Ke, v as ge, x as _t, y as At, n as je, G as xt, I as Rt, J as Et, K as Dt, L as Mt, D as Be, B as et, z as Lt, E as Te, A as ze, C as ct, w as kt, N as Ot } from "./CasinoHamburgerMenuNd-t6IxCiGz.js";
29
+ import { b as yt, $ as vt, P as wt, S as bt, i as Bt, s as Tt, f as X, d as St, B as Ke, g as he, l as C, n as me, o as A, v as I, w as ge, x as Ct, y as _t, z as At, p as je, E as xt, F as Be, G as Te, H as et, A as Rt, I as He, J as ct, r as Et, M as Mt, N as Dt, O as Lt, c as kt, L as Ot } from "./CasinoHamburgerMenuNd-BbLVzDLA.js";
30
30
  function tt(i, e) {
31
31
  yt(i, e);
32
32
  }
@@ -241,7 +241,7 @@ var We = { exports: {} };
241
241
  */
242
242
  (function(i, e) {
243
243
  (function(a) {
244
- var w = a.setTimeout, m = a.clearTimeout, d = a.XMLHttpRequest, T = a.XDomainRequest, g = a.ActiveXObject, b = a.EventSource, B = a.document, M = a.Promise, k = a.fetch, L = a.Response, x = a.TextDecoder, S = a.TextEncoder, R = a.AbortController;
244
+ var w = a.setTimeout, m = a.clearTimeout, d = a.XMLHttpRequest, T = a.XDomainRequest, g = a.ActiveXObject, b = a.EventSource, B = a.document, D = a.Promise, k = a.fetch, L = a.Response, x = a.TextDecoder, S = a.TextEncoder, R = a.AbortController;
245
245
  if (typeof window != "undefined" && typeof B != "undefined" && !("readyState" in B) && B.body == null && (B.readyState = "loading", window.addEventListener("load", function(n) {
246
246
  B.readyState = "complete";
247
247
  }, !1)), d == null && g != null && (d = function() {
@@ -462,17 +462,17 @@ var We = { exports: {} };
462
462
  signal: v,
463
463
  cache: "no-store"
464
464
  }).then(function(y) {
465
- return f = y.body.getReader(), s(y.status, y.statusText, y.headers.get("Content-Type"), new N(y.headers)), new M(function(_, W) {
465
+ return f = y.body.getReader(), s(y.status, y.statusText, y.headers.get("Content-Type"), new N(y.headers)), new D(function(_, W) {
466
466
  var ve = function() {
467
- f.read().then(function(z) {
468
- if (z.done)
467
+ f.read().then(function(H) {
468
+ if (H.done)
469
469
  _(void 0);
470
470
  else {
471
- var q = c.decode(z.value, { stream: !0 });
471
+ var q = c.decode(H.value, { stream: !0 });
472
472
  u(q), ve();
473
473
  }
474
- }).catch(function(z) {
475
- W(z);
474
+ }).catch(function(H) {
475
+ W(H);
476
476
  });
477
477
  };
478
478
  ve();
@@ -491,7 +491,7 @@ var We = { exports: {} };
491
491
  function V() {
492
492
  this._listeners = /* @__PURE__ */ Object.create(null);
493
493
  }
494
- function D(n) {
494
+ function M(n) {
495
495
  w(function() {
496
496
  throw n;
497
497
  }, 0);
@@ -505,7 +505,7 @@ var We = { exports: {} };
505
505
  try {
506
506
  typeof t.handleEvent == "function" ? t.handleEvent(n) : t.call(this, n);
507
507
  } catch (o) {
508
- D(o);
508
+ M(o);
509
509
  }
510
510
  }
511
511
  }, V.prototype.addEventListener = function(n, s) {
@@ -539,7 +539,7 @@ var We = { exports: {} };
539
539
  G.call(this, n), this.error = s.error;
540
540
  }
541
541
  p.prototype = Object.create(G.prototype);
542
- var de = -1, ie = 0, ne = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2, Le = 3, He = /^text\/event\-stream(;.*)?$/i, Ee = 1e3, ke = 18e6, De = function(n, s) {
542
+ var de = -1, ie = 0, ne = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2, Le = 3, ze = /^text\/event\-stream(;.*)?$/i, Ee = 1e3, ke = 18e6, Me = function(n, s) {
543
543
  var u = n == null ? s : parseInt(n, 10);
544
544
  return u !== u && (u = s), Ce(u);
545
545
  }, Ce = function(n) {
@@ -548,7 +548,7 @@ var We = { exports: {} };
548
548
  try {
549
549
  typeof s == "function" && s.call(n, u);
550
550
  } catch (l) {
551
- D(l);
551
+ M(l);
552
552
  }
553
553
  };
554
554
  function Z(n, s) {
@@ -560,34 +560,34 @@ var We = { exports: {} };
560
560
  var Oe = k != null && L != null && "body" in L.prototype;
561
561
  function Ue(n, s, u) {
562
562
  s = String(s);
563
- var l = !!u.withCredentials, t = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = De(u.heartbeatTimeout, 45e3), f = "", h = o, v = !1, c = 0, y = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(), z = void 0, q = 0, re = de, _e = "", Fe = "", ue = "", Ie = "", Y = le, Pe = 0, be = 0, dt = function(U, H, $, ee) {
563
+ var l = !!u.withCredentials, t = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = Me(u.heartbeatTimeout, 45e3), f = "", h = o, v = !1, c = 0, y = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(), H = void 0, q = 0, re = de, _e = "", Fe = "", ue = "", Ie = "", Y = le, Pe = 0, be = 0, dt = function(U, z, $, ee) {
564
564
  if (re === ie)
565
- if (U === 200 && $ != null && He.test($)) {
565
+ if (U === 200 && $ != null && ze.test($)) {
566
566
  re = ne, v = Date.now(), h = o, n.readyState = ne;
567
567
  var J = new ce("open", {
568
568
  status: U,
569
- statusText: H,
569
+ statusText: z,
570
570
  headers: ee
571
571
  });
572
572
  n.dispatchEvent(J), ye(n, n.onopen, J);
573
573
  } else {
574
574
  var P = "";
575
- U !== 200 ? (H && (H = H.replace(/\s+/g, " ")), P = "EventSource's response has a status " + U + " " + H + " that is not 200. Aborting the connection.") : P = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ge();
575
+ U !== 200 ? (z && (z = z.replace(/\s+/g, " ")), P = "EventSource's response has a status " + U + " " + z + " that is not 200. Aborting the connection.") : P = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ge();
576
576
  var J = new ce("error", {
577
577
  status: U,
578
- statusText: H,
578
+ statusText: z,
579
579
  headers: ee
580
580
  });
581
581
  n.dispatchEvent(J), ye(n, n.onerror, J), console.error(P);
582
582
  }
583
583
  }, ut = function(U) {
584
584
  if (re === ne) {
585
- for (var H = -1, $ = 0; $ < U.length; $ += 1) {
585
+ for (var z = -1, $ = 0; $ < U.length; $ += 1) {
586
586
  var ee = U.charCodeAt($);
587
- (ee === 10 || ee === 13) && (H = $);
587
+ (ee === 10 || ee === 13) && (z = $);
588
588
  }
589
- var J = (H !== -1 ? Ie : "") + U.slice(0, H + 1);
590
- Ie = (H === -1 ? Ie : "") + U.slice(H + 1), U !== "" && (v = Date.now(), c += U.length);
589
+ var J = (z !== -1 ? Ie : "") + U.slice(0, z + 1);
590
+ Ie = (z === -1 ? Ie : "") + U.slice(z + 1), U !== "" && (v = Date.now(), c += U.length);
591
591
  for (var P = 0; P < J.length; P += 1) {
592
592
  var ee = J.charCodeAt(P);
593
593
  if (Y === xe && ee === 10)
@@ -597,8 +597,8 @@ var We = { exports: {} };
597
597
  Y === Re && (be = P + 1);
598
598
  var fe = J.slice(Pe, be - 1), pe = J.slice(be + (be < P && J.charCodeAt(be) === 32 ? 1 : 0), P);
599
599
  fe === "data" ? (_e += `
600
- `, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = De(pe, o), h = o) : fe === "heartbeatTimeout" && (r = De(pe, r), q !== 0 && (m(q), q = w(function() {
601
- Me();
600
+ `, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = Me(pe, o), h = o) : fe === "heartbeatTimeout" && (r = Me(pe, r), q !== 0 && (m(q), q = w(function() {
601
+ De();
602
602
  }, r)));
603
603
  }
604
604
  if (Y === le) {
@@ -621,34 +621,34 @@ var We = { exports: {} };
621
621
  }, qe = function(U) {
622
622
  if (re === ne || re === ie) {
623
623
  re = de, q !== 0 && (m(q), q = 0), q = w(function() {
624
- Me();
624
+ De();
625
625
  }, h), h = Ce(Math.min(o * 16, h * 2)), n.readyState = ie;
626
- var H = new p("error", { error: U });
627
- n.dispatchEvent(H), ye(n, n.onerror, H), U != null && console.error(U);
626
+ var z = new p("error", { error: U });
627
+ n.dispatchEvent(z), ye(n, n.onerror, z), U != null && console.error(U);
628
628
  }
629
629
  }, Ge = function() {
630
- re = we, z != null && (z.abort(), z = void 0), q !== 0 && (m(q), q = 0), n.readyState = we;
631
- }, Me = function() {
630
+ re = we, H != null && (H.abort(), H = void 0), q !== 0 && (m(q), q = 0), n.readyState = we;
631
+ }, De = function() {
632
632
  if (q = 0, re !== de) {
633
- if (!v && z != null)
634
- qe(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : c + " chars received.") + " Reconnecting.")), z != null && (z.abort(), z = void 0);
633
+ if (!v && H != null)
634
+ qe(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : c + " chars received.") + " Reconnecting.")), H != null && (H.abort(), H = void 0);
635
635
  else {
636
636
  var U = Math.max((v || Date.now()) + r - Date.now(), 1);
637
637
  v = !1, q = w(function() {
638
- Me();
638
+ De();
639
639
  }, U);
640
640
  }
641
641
  return;
642
642
  }
643
643
  v = !1, c = 0, q = w(function() {
644
- Me();
644
+ De();
645
645
  }, r), re = ie, _e = "", ue = "", Fe = f, Ie = "", Pe = 0, be = 0, Y = le;
646
- var H = s;
646
+ var z = s;
647
647
  if (s.slice(0, 5) !== "data:" && s.slice(0, 5) !== "blob:" && f !== "") {
648
648
  var $ = s.indexOf("?");
649
- H = $ === -1 ? s : s.slice(0, $ + 1) + s.slice($ + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(pe, Ae) {
649
+ z = $ === -1 ? s : s.slice(0, $ + 1) + s.slice($ + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(pe, Ae) {
650
650
  return Ae === t ? "" : pe;
651
- }), H += (s.indexOf("?") === -1 ? "?" : "&") + t + "=" + encodeURIComponent(f);
651
+ }), z += (s.indexOf("?") === -1 ? "?" : "&") + t + "=" + encodeURIComponent(f);
652
652
  }
653
653
  var ee = n.withCredentials, J = {};
654
654
  J.Accept = "text/event-stream";
@@ -657,12 +657,12 @@ var We = { exports: {} };
657
657
  for (var fe in P)
658
658
  Object.prototype.hasOwnProperty.call(P, fe) && (J[fe] = P[fe]);
659
659
  try {
660
- z = ve.open(W, dt, ut, qe, H, ee, J);
660
+ H = ve.open(W, dt, ut, qe, z, ee, J);
661
661
  } catch (pe) {
662
662
  throw Ge(), pe;
663
663
  }
664
664
  };
665
- n.url = s, n.readyState = ie, n.withCredentials = l, n.headers = y, n._close = Ge, Me();
665
+ n.url = s, n.readyState = ie, n.withCredentials = l, n.headers = y, n._close = Ge, De();
666
666
  }
667
667
  Z.prototype = Object.create(V.prototype), Z.prototype.CONNECTING = ie, Z.prototype.OPEN = ne, Z.prototype.CLOSED = we, Z.prototype.close = function() {
668
668
  this._close();
@@ -680,7 +680,7 @@ var We = { exports: {} };
680
680
  })(We, We.exports);
681
681
  var Ft = We.exports;
682
682
  function It(i) {
683
- Ct(i, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);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;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));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, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.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, white))}.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, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
683
+ St(i, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);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;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));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, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.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, white))}.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, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
684
684
  }
685
685
  function nt(i, e, a) {
686
686
  const w = i.slice();
@@ -700,17 +700,17 @@ function jt(i) {
700
700
  i[1].Total[0].amount
701
701
  )
702
702
  ) : "0") + ""
703
- ), m, d, T, g, b, B, M, k, L, x, S = (
703
+ ), m, d, T, g, b, B, D, k, L, x, S = (
704
704
  /*showBalance*/
705
705
  i[4] && rt(i)
706
706
  );
707
707
  return {
708
708
  c() {
709
- e = I("button"), a = I("p"), m = Be(w), d = he(), T = I("span"), g = et("svg"), b = et("path"), M = he(), S && S.c(), k = Lt(), C(b, "id", "arrow"), C(b, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(b, "transform", "translate(-274.511 -441.088)"), C(b, "fill", "#d1d1d1"), C(g, "xmlns", "http://www.w3.org/2000/svg"), C(g, "width", "14"), C(g, "height", "6.835"), C(g, "viewBox", "0 0 14 6.835"), C(T, "class", B = /*isModalDisplayed*/
709
+ e = I("button"), a = I("p"), m = Te(w), d = ge(), T = I("span"), g = et("svg"), b = et("path"), D = ge(), S && S.c(), k = Rt(), C(b, "id", "arrow"), C(b, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(b, "transform", "translate(-274.511 -441.088)"), C(b, "fill", "#d1d1d1"), C(g, "xmlns", "http://www.w3.org/2000/svg"), C(g, "width", "14"), C(g, "height", "6.835"), C(g, "viewBox", "0 0 14 6.835"), C(T, "class", B = /*isModalDisplayed*/
710
710
  i[3] ? "TriangleActive" : "TriangleInactive"), C(e, "class", "BalanceValue");
711
711
  },
712
712
  m(R, j) {
713
- me(R, e, j), A(e, a), A(a, m), A(e, d), A(e, T), A(T, g), A(g, b), me(R, M, j), S && S.m(R, j), me(R, k, j), L || (x = je(
713
+ me(R, e, j), A(e, a), A(a, m), A(e, d), A(e, T), A(T, g), A(g, b), me(R, D, j), S && S.m(R, j), me(R, k, j), L || (x = je(
714
714
  e,
715
715
  "click",
716
716
  /*click_handler*/
@@ -726,24 +726,24 @@ function jt(i) {
726
726
  /*balances*/
727
727
  R[1].Total[0].amount
728
728
  )
729
- ) : "0") + "") && Te(m, w), j[0] & /*isModalDisplayed*/
729
+ ) : "0") + "") && Be(m, w), j[0] & /*isModalDisplayed*/
730
730
  8 && B !== (B = /*isModalDisplayed*/
731
731
  R[3] ? "TriangleActive" : "TriangleInactive") && C(T, "class", B), /*showBalance*/
732
732
  R[4] ? S ? S.p(R, j) : (S = rt(R), S.c(), S.m(k.parentNode, k)) : S && (S.d(1), S = null);
733
733
  },
734
734
  d(R) {
735
- R && (ge(e), ge(M), ge(k)), S && S.d(R), L = !1, x();
735
+ R && (he(e), he(D), he(k)), S && S.d(R), L = !1, x();
736
736
  }
737
737
  };
738
738
  }
739
- function zt(i) {
739
+ function Ht(i) {
740
740
  let e, a = (
741
741
  /*$_*/
742
742
  i[6]("Loading") + ""
743
743
  ), w;
744
744
  return {
745
745
  c() {
746
- e = I("p"), w = Be(a), C(e, "class", "Loading");
746
+ e = I("p"), w = Te(a), C(e, "class", "Loading");
747
747
  },
748
748
  m(m, d) {
749
749
  me(m, e, d), A(e, w);
@@ -751,10 +751,10 @@ function zt(i) {
751
751
  p(m, d) {
752
752
  d[0] & /*$_*/
753
753
  64 && a !== (a = /*$_*/
754
- m[6]("Loading") + "") && Te(w, a);
754
+ m[6]("Loading") + "") && Be(w, a);
755
755
  },
756
756
  d(m) {
757
- m && ge(e);
757
+ m && he(e);
758
758
  }
759
759
  };
760
760
  }
@@ -762,10 +762,10 @@ function rt(i) {
762
762
  let e, a, w, m, d, T, g, b, B = (
763
763
  /*$_*/
764
764
  i[6]("Title") + ""
765
- ), M, k, L, x, S, R, j = (
765
+ ), D, k, L, x, S, R, j = (
766
766
  /*$_*/
767
767
  i[6]("DepositButton") + ""
768
- ), te, ae, F, O, Q, se, K = ze(Object.keys(
768
+ ), te, ae, F, O, Q, se, K = He(Object.keys(
769
769
  /*balances*/
770
770
  i[1]
771
771
  )), N = [];
@@ -773,19 +773,19 @@ function rt(i) {
773
773
  N[E] = lt(nt(i, K, E));
774
774
  return {
775
775
  c() {
776
- e = I("div"), a = I("button"), m = he(), d = I("div"), T = I("div"), g = I("div"), b = I("p"), M = Be(B), k = he(), L = I("div");
776
+ e = I("div"), a = I("button"), m = ge(), d = I("div"), T = I("div"), g = I("div"), b = I("p"), D = Te(B), k = ge(), L = I("div");
777
777
  for (let E = 0; E < N.length; E += 1)
778
778
  N[E].c();
779
- x = he(), S = I("div"), R = I("button"), te = Be(j), C(a, "class", w = "BalanceModalClose " + /*isModalDisplayed*/
779
+ x = ge(), S = I("div"), R = I("button"), te = Te(j), C(a, "class", w = "BalanceModalClose " + /*isModalDisplayed*/
780
780
  (i[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(g, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(T, "class", ae = "ModalContent " + /*isModalDisplayed*/
781
781
  (i[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
782
782
  (i[3] ? "Open" : "")), C(e, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
783
783
  (i[3] ? "Open" : ""));
784
784
  },
785
785
  m(E, V) {
786
- me(E, e, V), A(e, a), A(e, m), A(e, d), A(d, T), A(T, g), A(g, b), A(b, M), A(T, k), A(T, L);
787
- for (let D = 0; D < N.length; D += 1)
788
- N[D] && N[D].m(L, null);
786
+ me(E, e, V), A(e, a), A(e, m), A(e, d), A(d, T), A(T, g), A(g, b), A(b, D), A(T, k), A(T, L);
787
+ for (let M = 0; M < N.length; M += 1)
788
+ N[M] && N[M].m(L, null);
789
789
  A(T, x), A(T, S), A(S, R), A(R, te), Q || (se = [
790
790
  je(
791
791
  a,
@@ -806,24 +806,24 @@ function rt(i) {
806
806
  8 && w !== (w = "BalanceModalClose " + /*isModalDisplayed*/
807
807
  (E[3] ? "Open" : "")) && C(a, "class", w), V[0] & /*$_*/
808
808
  64 && B !== (B = /*$_*/
809
- E[6]("Title") + "") && Te(M, B), V[0] & /*balances, formatBalance, $_*/
809
+ E[6]("Title") + "") && Be(D, B), V[0] & /*balances, formatBalance, $_*/
810
810
  322) {
811
- K = ze(Object.keys(
811
+ K = He(Object.keys(
812
812
  /*balances*/
813
813
  E[1]
814
814
  ));
815
- let D;
816
- for (D = 0; D < K.length; D += 1) {
817
- const G = nt(E, K, D);
818
- N[D] ? N[D].p(G, V) : (N[D] = lt(G), N[D].c(), N[D].m(L, null));
815
+ let M;
816
+ for (M = 0; M < K.length; M += 1) {
817
+ const G = nt(E, K, M);
818
+ N[M] ? N[M].p(G, V) : (N[M] = lt(G), N[M].c(), N[M].m(L, null));
819
819
  }
820
- for (; D < N.length; D += 1)
821
- N[D].d(1);
820
+ for (; M < N.length; M += 1)
821
+ N[M].d(1);
822
822
  N.length = K.length;
823
823
  }
824
824
  V[0] & /*$_*/
825
825
  64 && j !== (j = /*$_*/
826
- E[6]("DepositButton") + "") && Te(te, j), V[0] & /*isModalDisplayed*/
826
+ E[6]("DepositButton") + "") && Be(te, j), V[0] & /*isModalDisplayed*/
827
827
  8 && ae !== (ae = "ModalContent " + /*isModalDisplayed*/
828
828
  (E[3] ? "Open" : "")) && C(T, "class", ae), V[0] & /*isModalDisplayed*/
829
829
  8 && F !== (F = "BalanceModal " + /*isModalDisplayed*/
@@ -832,7 +832,7 @@ function rt(i) {
832
832
  (E[3] ? "Open" : "")) && C(e, "class", O);
833
833
  },
834
834
  d(E) {
835
- E && ge(e), ct(N, E), Q = !1, kt(se);
835
+ E && he(e), ct(N, E), Q = !1, Et(se);
836
836
  }
837
837
  };
838
838
  }
@@ -852,7 +852,7 @@ function it(i) {
852
852
  i[57].productType
853
853
  )
854
854
  ) : "") + ""
855
- ), g, b, B, M, k = (
855
+ ), g, b, B, D, k = (
856
856
  /*formatBalance*/
857
857
  i[8](
858
858
  /*b*/
@@ -861,10 +861,10 @@ function it(i) {
861
861
  ), L;
862
862
  return {
863
863
  c() {
864
- e = I("div"), a = I("p"), m = Be(w), d = he(), g = Be(T), b = he(), B = I("p"), M = I("span"), L = Be(k), C(a, "class", "BalanceModalText"), C(M, "class", "BalanceModalAmount"), C(B, "class", "BalanceModalValue"), C(e, "class", "BalanceModalRowLine");
864
+ e = I("div"), a = I("p"), m = Te(w), d = ge(), g = Te(T), b = ge(), B = I("p"), D = I("span"), L = Te(k), C(a, "class", "BalanceModalText"), C(D, "class", "BalanceModalAmount"), C(B, "class", "BalanceModalValue"), C(e, "class", "BalanceModalRowLine");
865
865
  },
866
866
  m(x, S) {
867
- me(x, e, S), A(e, a), A(a, m), A(a, d), A(a, g), A(e, b), A(e, B), A(B, M), A(M, L);
867
+ me(x, e, S), A(e, a), A(a, m), A(a, d), A(a, g), A(e, b), A(e, B), A(B, D), A(D, L);
868
868
  },
869
869
  p(x, S) {
870
870
  S[0] & /*$_, balances*/
@@ -872,7 +872,7 @@ function it(i) {
872
872
  x[6](
873
873
  /*k*/
874
874
  x[54]
875
- ) + "") && Te(m, w), S[0] & /*balances, $_*/
875
+ ) + "") && Be(m, w), S[0] & /*balances, $_*/
876
876
  66 && T !== (T = /*b*/
877
877
  (x[57].productType ? (
878
878
  /*$_*/
@@ -880,20 +880,20 @@ function it(i) {
880
880
  /*b*/
881
881
  x[57].productType
882
882
  )
883
- ) : "") + "") && Te(g, T), S[0] & /*balances*/
883
+ ) : "") + "") && Be(g, T), S[0] & /*balances*/
884
884
  2 && k !== (k = /*formatBalance*/
885
885
  x[8](
886
886
  /*b*/
887
887
  x[57].amount
888
- ) + "") && Te(L, k);
888
+ ) + "") && Be(L, k);
889
889
  },
890
890
  d(x) {
891
- x && ge(e);
891
+ x && he(e);
892
892
  }
893
893
  };
894
894
  }
895
895
  function lt(i) {
896
- let e, a, w = ze(
896
+ let e, a, w = He(
897
897
  /*balances*/
898
898
  i[1][
899
899
  /*k*/
@@ -907,7 +907,7 @@ function lt(i) {
907
907
  e = I("div");
908
908
  for (let d = 0; d < m.length; d += 1)
909
909
  m[d].c();
910
- a = he(), C(e, "class", "BalanceModalRowBoth");
910
+ a = ge(), C(e, "class", "BalanceModalRowBoth");
911
911
  },
912
912
  m(d, T) {
913
913
  me(d, e, T);
@@ -918,7 +918,7 @@ function lt(i) {
918
918
  p(d, T) {
919
919
  if (T[0] & /*formatBalance, balances, $_*/
920
920
  322) {
921
- w = ze(
921
+ w = He(
922
922
  /*balances*/
923
923
  d[1][
924
924
  /*k*/
@@ -936,7 +936,7 @@ function lt(i) {
936
936
  }
937
937
  },
938
938
  d(d) {
939
- d && ge(e), ct(m, d);
939
+ d && he(e), ct(m, d);
940
940
  }
941
941
  };
942
942
  }
@@ -956,16 +956,16 @@ function st(i) {
956
956
  },
957
957
  p: Ke,
958
958
  d(m) {
959
- m && ge(e), a = !1, w();
959
+ m && he(e), a = !1, w();
960
960
  }
961
961
  };
962
962
  }
963
- function Ht(i) {
963
+ function zt(i) {
964
964
  let e, a, w, m;
965
- function d(B, M) {
965
+ function d(B, D) {
966
966
  return (
967
967
  /*isLoading*/
968
- B[2] ? zt : jt
968
+ B[2] ? Ht : jt
969
969
  );
970
970
  }
971
971
  let T = d(i), g = T(i), b = (
@@ -974,29 +974,29 @@ function Ht(i) {
974
974
  );
975
975
  return {
976
976
  c() {
977
- e = I("div"), a = I("div"), g.c(), m = he(), b && b.c(), C(a, "class", w = "ShowBalance " + /*mobileView*/
977
+ e = I("div"), a = I("div"), g.c(), m = ge(), b && b.c(), C(a, "class", w = "ShowBalance " + /*mobileView*/
978
978
  (i[5] ? "Mobile" : ""));
979
979
  },
980
- m(B, M) {
981
- me(B, e, M), A(e, a), g.m(a, null), A(e, m), b && b.m(e, null), i[30](e);
980
+ m(B, D) {
981
+ me(B, e, D), A(e, a), g.m(a, null), A(e, m), b && b.m(e, null), i[30](e);
982
982
  },
983
- p(B, M) {
984
- T === (T = d(B)) && g ? g.p(B, M) : (g.d(1), g = T(B), g && (g.c(), g.m(a, null))), M[0] & /*mobileView*/
983
+ p(B, D) {
984
+ T === (T = d(B)) && g ? g.p(B, D) : (g.d(1), g = T(B), g && (g.c(), g.m(a, null))), D[0] & /*mobileView*/
985
985
  32 && w !== (w = "ShowBalance " + /*mobileView*/
986
986
  (B[5] ? "Mobile" : "")) && C(a, "class", w), /*showBalance*/
987
- B[4] ? b ? b.p(B, M) : (b = st(B), b.c(), b.m(e, null)) : b && (b.d(1), b = null);
987
+ B[4] ? b ? b.p(B, D) : (b = st(B), b.c(), b.m(e, null)) : b && (b.d(1), b = null);
988
988
  },
989
989
  i: Ke,
990
990
  o: Ke,
991
991
  d(B) {
992
- B && ge(e), g.d(), b && b.d(), i[30](null);
992
+ B && he(e), g.d(), b && b.d(), i[30](null);
993
993
  }
994
994
  };
995
995
  }
996
996
  function Vt(i, e, a) {
997
997
  let w;
998
- _t(i, Ot, (t) => a(6, w = t));
999
- let { userid: m = "" } = e, { session: d = "" } = e, { endpoint: T = "" } = e, { lang: g = "en" } = e, { mbsource: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: k = "" } = e, { gmversion: L = "gm16" } = e, { displaybalanceoption: x = "All" } = e, { totalcalculationmode: S = "totalCashAmount" } = e, { currencylocale: R = "en" } = e, { currencydisplay: j = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ae = "0" } = e, { customdisplayformat: F = "" } = e, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, D, G = "", oe = [], ce;
998
+ Ct(i, Ot, (t) => a(6, w = t));
999
+ let { userid: m = "" } = e, { session: d = "" } = e, { endpoint: T = "" } = e, { lang: g = "en" } = e, { mbsource: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: D = "" } = e, { translationurl: k = "" } = e, { gmversion: L = "gm16" } = e, { displaybalanceoption: x = "All" } = e, { totalcalculationmode: S = "totalCashAmount" } = e, { currencylocale: R = "en" } = e, { currencydisplay: j = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ae = "0" } = e, { customdisplayformat: F = "" } = e, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, M, G = "", oe = [], ce;
1000
1000
  const p = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
1001
1001
  fetch(k).then((t) => t.json()).then((t) => Object.keys(t).forEach((o) => tt(o, t[o]))).catch((t) => console.log(t));
1002
1002
  };
@@ -1059,8 +1059,8 @@ function Vt(i, e, a) {
1059
1059
  v && (v[0] !== " " && (c = v[0]), v[1] !== " " && (y = v[1]), v[2] !== " " && !isNaN(Number(v[2])) && (_ = Number(v[2])));
1060
1060
  let [W, ve] = String(Math.floor(t * Xe(10, _)) / Xe(10, _)).split(".");
1061
1061
  r += W[0];
1062
- for (let z = 1; z < W.length; ++z)
1063
- (W.length - z) % 3 === 0 ? r += c + W[z] : r += W[z];
1062
+ for (let H = 1; H < W.length; ++H)
1063
+ (W.length - H) % 3 === 0 ? r += c + W[H] : r += W[H];
1064
1064
  ve && (r += y + ve);
1065
1065
  }
1066
1066
  r && o.push(r), r = "";
@@ -1168,22 +1168,22 @@ function Vt(i, e, a) {
1168
1168
  throw a(2, Q = !1), console.log("Balance fetch error", f), new Error("Failed to fetch balance data!");
1169
1169
  });
1170
1170
  }, Se = () => {
1171
- if (D && D.close(), d.length < 1)
1171
+ if (M && M.close(), d.length < 1)
1172
1172
  return;
1173
1173
  let t, o;
1174
1174
  switch (L) {
1175
1175
  case "gm16":
1176
- t = new URL(`${T}/v2/player/${m}/information/updates`), o = (h) => De(h);
1176
+ t = new URL(`${T}/v2/player/${m}/information/updates`), o = (h) => Me(h);
1177
1177
  break;
1178
1178
  case "gmcore":
1179
- t = new URL(`${T}/v1/player/${m}/balance/updates`), o = (h) => He(h);
1179
+ t = new URL(`${T}/v1/player/${m}/balance/updates`), o = (h) => ze(h);
1180
1180
  break;
1181
1181
  }
1182
1182
  const r = {
1183
1183
  accept: "text/event-stream",
1184
1184
  "X-SessionId": d
1185
1185
  }, f = new Ft.EventSourcePolyfill(t, { headers: r });
1186
- D = f, f.addEventListener("message", o);
1186
+ M = f, f.addEventListener("message", o);
1187
1187
  }, Le = (t) => {
1188
1188
  let o;
1189
1189
  try {
@@ -1193,7 +1193,7 @@ function Vt(i, e, a) {
1193
1193
  return;
1194
1194
  }
1195
1195
  return o;
1196
- }, He = (t) => {
1196
+ }, ze = (t) => {
1197
1197
  var h, v;
1198
1198
  const o = Le(t.data);
1199
1199
  if (!o) {
@@ -1235,7 +1235,7 @@ function Vt(i, e, a) {
1235
1235
  o += r.amount;
1236
1236
  a(1, p.Total[0].amount = o, p);
1237
1237
  }
1238
- }, De = (t) => {
1238
+ }, Me = (t) => {
1239
1239
  const o = Le(t.data);
1240
1240
  if (!o) {
1241
1241
  Se();
@@ -1269,29 +1269,29 @@ function Vt(i, e, a) {
1269
1269
  default:
1270
1270
  throw Error(`Invalid apiversion attribute: ${L}`);
1271
1271
  }
1272
- }, Oe = (t) => t.data && t.data.type === "LogoutSuccessfull" && D.close(), Ue = () => {
1272
+ }, Oe = (t) => t.data && t.data.type === "LogoutSuccessfull" && M.close(), Ue = () => {
1273
1273
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1274
1274
  };
1275
- At(() => (window.addEventListener("message", Oe, !1), a(5, E = xt(V)), () => {
1276
- window.removeEventListener("message", Oe), D && D.close();
1275
+ _t(() => (window.addEventListener("message", Oe, !1), a(5, E = At(V)), () => {
1276
+ window.removeEventListener("message", Oe), M && M.close();
1277
1277
  }));
1278
1278
  const Ne = () => ne("balance"), n = () => ne("closebalance"), s = () => Ce(), u = () => ne("closebalance");
1279
1279
  function l(t) {
1280
- Rt[t ? "unshift" : "push"](() => {
1280
+ xt[t ? "unshift" : "push"](() => {
1281
1281
  O = t, a(0, O);
1282
1282
  });
1283
1283
  }
1284
1284
  return i.$$set = (t) => {
1285
- "userid" in t && a(11, m = t.userid), "session" in t && a(12, d = t.session), "endpoint" in t && a(13, T = t.endpoint), "lang" in t && a(14, g = t.lang), "mbsource" in t && a(15, b = t.mbsource), "clientstyling" in t && a(16, B = t.clientstyling), "clientstylingurl" in t && a(17, M = t.clientstylingurl), "translationurl" in t && a(18, k = t.translationurl), "gmversion" in t && a(19, L = t.gmversion), "displaybalanceoption" in t && a(20, x = t.displaybalanceoption), "totalcalculationmode" in t && a(10, S = t.totalcalculationmode), "currencylocale" in t && a(21, R = t.currencylocale), "currencydisplay" in t && a(22, j = t.currencydisplay), "maximumfractiondigits" in t && a(23, te = t.maximumfractiondigits), "minimumfractiondigits" in t && a(24, ae = t.minimumfractiondigits), "customdisplayformat" in t && a(25, F = t.customdisplayformat);
1285
+ "userid" in t && a(11, m = t.userid), "session" in t && a(12, d = t.session), "endpoint" in t && a(13, T = t.endpoint), "lang" in t && a(14, g = t.lang), "mbsource" in t && a(15, b = t.mbsource), "clientstyling" in t && a(16, B = t.clientstyling), "clientstylingurl" in t && a(17, D = t.clientstylingurl), "translationurl" in t && a(18, k = t.translationurl), "gmversion" in t && a(19, L = t.gmversion), "displaybalanceoption" in t && a(20, x = t.displaybalanceoption), "totalcalculationmode" in t && a(10, S = t.totalcalculationmode), "currencylocale" in t && a(21, R = t.currencylocale), "currencydisplay" in t && a(22, j = t.currencydisplay), "maximumfractiondigits" in t && a(23, te = t.maximumfractiondigits), "minimumfractiondigits" in t && a(24, ae = t.minimumfractiondigits), "customdisplayformat" in t && a(25, F = t.customdisplayformat);
1286
1286
  }, i.$$.update = () => {
1287
1287
  i.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1288
1288
  1603584 && T && m && d && g && L && x && Ve(), i.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1289
1289
  538624 && T && m && d && L && Se(), i.$$.dirty[0] & /*translationurl*/
1290
1290
  262144 && k && ie(), i.$$.dirty[0] & /*balances*/
1291
1291
  2 && p.Total && Ue(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1292
- 65537 && B && O && Et(O, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1293
- 131073 && M && O && Dt(O, M), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
1294
- 32769 && b && O && Mt(O, `${b}.Style`);
1292
+ 65537 && B && O && Mt(O, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1293
+ 131073 && D && O && Dt(O, D), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
1294
+ 32769 && b && O && Lt(O, `${b}.Style`);
1295
1295
  }, [
1296
1296
  O,
1297
1297
  p,
@@ -1310,7 +1310,7 @@ function Vt(i, e, a) {
1310
1310
  g,
1311
1311
  b,
1312
1312
  B,
1313
- M,
1313
+ D,
1314
1314
  k,
1315
1315
  L,
1316
1316
  x,
@@ -1332,8 +1332,8 @@ class Ut extends bt {
1332
1332
  this,
1333
1333
  e,
1334
1334
  Vt,
1335
- Ht,
1336
- St,
1335
+ zt,
1336
+ Tt,
1337
1337
  {
1338
1338
  userid: 11,
1339
1339
  session: 12,
@@ -1453,7 +1453,7 @@ class Ut extends bt {
1453
1453
  this.$$set({ customdisplayformat: e }), X();
1454
1454
  }
1455
1455
  }
1456
- Tt(Ut, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
1456
+ kt(Ut, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
1457
1457
  export {
1458
1458
  Ut as default
1459
1459
  };