@everymatrix/casino-header-controller-nd 1.54.6 → 1.54.8

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 (39) hide show
  1. package/components/{CasinoHamburgerMenuNd-CkPg6ouB.js → CasinoHamburgerMenuNd-BN4YipjD.js} +829 -837
  2. package/components/CasinoHamburgerMenuNd-BRXAq9EB.js +5463 -0
  3. package/components/CasinoHamburgerMenuNd-DWivJdEW.cjs +5 -0
  4. package/components/CasinoHeaderControllerNd-Bcge1xWm.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-BX0AvD48.js → CasinoHeaderControllerNd-DB6p0pM9.js} +85 -85
  6. package/components/CasinoHeaderControllerNd-y-KHL_bQ.js +2168 -0
  7. package/components/{PlayerAccountBalanceModalNd-K5u0ko-m.js → PlayerAccountBalanceModalNd-Cx1wys48.js} +93 -93
  8. package/components/PlayerAccountBalanceModalNd-DijTlCAM.js +1586 -0
  9. package/components/PlayerAccountBalanceModalNd-LPAeUZ5O.cjs +13 -0
  10. package/components/{PlayerDeposit-DsOspOgB.js → PlayerDeposit-DJtyV372.js} +46 -46
  11. package/components/PlayerDeposit-Dlc74zh3.js +395 -0
  12. package/components/PlayerDeposit-oYFoY9mr.cjs +1 -0
  13. package/es2015/casino-header-controller-nd.cjs +1 -0
  14. package/es2015/casino-header-controller-nd.js +16 -0
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +4 -1
  17. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  18. package/stencil/{gamification-dropdown-Rl66gqyp.js → gamification-dropdown-DSXwe6wL.js} +1 -1
  19. package/stencil/gamification-dropdown-DXwjfRK6.js +25 -0
  20. package/stencil/gamification-dropdown-DxQYaq9A.cjs +1 -0
  21. package/stencil/gamification-dropdown-dc081799-DhEx3oAW.js +121 -0
  22. package/stencil/{gamification-dropdown-ae7b7c69-C61VnAKy.js → gamification-dropdown-dc081799-DwwONu50.js} +1 -1
  23. package/stencil/gamification-dropdown-dc081799-grwre2mR.cjs +1 -0
  24. package/stencil/gamification-dropdown_4-DMyo0Cai.js +468 -0
  25. package/stencil/gamification-dropdown_4-Js76nmRP.cjs +192 -0
  26. package/stencil/{gamification-dropdown_4-AbKMnPZ5.js → gamification-dropdown_4-xIuhYShe.js} +3 -3
  27. package/stencil/index-5e36ea65-BYsPysDo.cjs +1 -0
  28. package/stencil/index-5e36ea65-COdY7Qod.js +859 -0
  29. package/stencil/index-5e36ea65-DT7tZRpo.js +832 -0
  30. package/stencil/{player-elevate-card-B4AMnqub.js → player-elevate-card-BcvihY18.js} +2 -2
  31. package/stencil/player-elevate-card-Ci_xja9l.js +105 -0
  32. package/stencil/player-elevate-card-DOMKpcd1.cjs +64 -0
  33. package/stencil/player-elevate-card-items-2a1dc5b5-B3hUJxjm.cjs +1 -0
  34. package/stencil/{player-elevate-card-items-9d490a3b-BxciIvXh.js → player-elevate-card-items-2a1dc5b5-R0FZQK7I.js} +1 -3
  35. package/stencil/player-elevate-card-items-2a1dc5b5-e_chraGM.js +1439 -0
  36. package/stencil/{player-elevate-pointcard-BeXukLE-.js → player-elevate-pointcard-BLdrrwJF.js} +2 -2
  37. package/stencil/player-elevate-pointcard-CZiVmETE.js +43 -0
  38. package/stencil/player-elevate-pointcard-DdN-6RUK.cjs +1 -0
  39. package/stencil/index-ea7720e4-FqoOOnHW.js +0 -826
@@ -1,4 +1,4 @@
1
- import { b as dt, $ as ut, L as ft, S as pt, i as ht, f as Y, c as mt, s as gt, d as vt, g as V, h as ae, j as _, l as me, m as T, D as We, r as ge, v as yt, w as wt, n as Ne, F as bt, B as pe, z as Qe, x as Bt, C as he, y as Ve, A as it, H as Tt, J as Ct } from "./CasinoHamburgerMenuNd-CkPg6ouB.js";
1
+ import { b as dt, $ as ut, L as ft, S as pt, i as ht, s as mt, f as Y, d as gt, z as qe, g as me, m as ge, n as T, p as V, q as ae, r as _, v as vt, w as yt, o as Ne, A as wt, D as pe, E as he, F as Qe, y as bt, G as Ve, H as it, C as Bt, c as Tt, K as Ct } from "./CasinoHamburgerMenuNd-BN4YipjD.js";
2
2
  function Ze(i, e) {
3
3
  dt(i, e);
4
4
  }
@@ -205,7 +205,7 @@ const $e = {
205
205
  Loading: "Loading ..."
206
206
  }
207
207
  };
208
- var qe = { exports: {} };
208
+ var We = { exports: {} };
209
209
  /** @license
210
210
  * eventsource.js
211
211
  * Available under MIT License (MIT)
@@ -394,9 +394,9 @@ var qe = { exports: {} };
394
394
  ie.prototype.get = function(a) {
395
395
  return this._map[J(a)];
396
396
  }, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
397
- function X() {
397
+ function G() {
398
398
  }
399
- X.prototype.open = function(a, t, r, o, l, u, y) {
399
+ G.prototype.open = function(a, t, r, o, l, u, y) {
400
400
  a.open("GET", l);
401
401
  var m = 0;
402
402
  a.onprogress = function() {
@@ -496,21 +496,21 @@ var qe = { exports: {} };
496
496
  l.length === 0 ? delete r[a] : r[a] = l;
497
497
  }
498
498
  };
499
- function G(a) {
499
+ function X(a) {
500
500
  this.type = a, this.target = void 0;
501
501
  }
502
502
  function De(a, t) {
503
- G.call(this, a), this.data = t.data, this.lastEventId = t.lastEventId;
503
+ X.call(this, a), this.data = t.data, this.lastEventId = t.lastEventId;
504
504
  }
505
- De.prototype = Object.create(G.prototype);
505
+ De.prototype = Object.create(X.prototype);
506
506
  function se(a, t) {
507
- G.call(this, a), this.status = t.status, this.statusText = t.statusText, this.headers = t.headers;
507
+ X.call(this, a), this.status = t.status, this.statusText = t.statusText, this.headers = t.headers;
508
508
  }
509
- se.prototype = Object.create(G.prototype);
509
+ se.prototype = Object.create(X.prototype);
510
510
  function _e(a, t) {
511
- G.call(this, a), this.error = t.error;
511
+ X.call(this, a), this.error = t.error;
512
512
  }
513
- _e.prototype = Object.create(G.prototype);
513
+ _e.prototype = Object.create(X.prototype);
514
514
  var Ae = -1, oe = 0, ve = 1, le = 2, Be = -1, re = 0, we = 1, Re = 2, je = 3, Le = /^text\/event\-stream(;.*)?$/i, He = 1e3, ze = 18e6, Te = function(a, t) {
515
515
  var r = a == null ? t : parseInt(a, 10);
516
516
  return r !== r && (r = t), Ee(r);
@@ -524,33 +524,33 @@ var qe = { exports: {} };
524
524
  }
525
525
  };
526
526
  function Q(a, t) {
527
- N.call(this), t = t || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Xe(this, a, t);
527
+ N.call(this), t = t || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ge(this, a, t);
528
528
  }
529
529
  function Ue() {
530
530
  return d != null && "withCredentials" in d.prototype || h == null ? new d() : new h();
531
531
  }
532
532
  var Pe = L != null && M != null && "body" in M.prototype;
533
- function Xe(a, t, r) {
533
+ function Ge(a, t, r) {
534
534
  t = String(t);
535
- var o = !!r.withCredentials, l = r.lastEventIdQueryParameterName || "lastEventId", u = Ee(1e3), y = Te(r.heartbeatTimeout, 45e3), m = "", w = u, S = !1, D = 0, b = r.headers || {}, I = r.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new X(), Z = void 0, K = 0, te = Ae, Ce = "", ke = "", de = "", Fe = "", W = re, Ge = 0, be = 0, lt = function(z, H, $, ee) {
535
+ var o = !!r.withCredentials, l = r.lastEventIdQueryParameterName || "lastEventId", u = Ee(1e3), y = Te(r.heartbeatTimeout, 45e3), m = "", w = u, S = !1, D = 0, b = r.headers || {}, I = r.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new G(), Z = void 0, K = 0, te = Ae, Ce = "", ke = "", de = "", Fe = "", q = re, Xe = 0, be = 0, lt = function(z, H, $, ee) {
536
536
  if (te === oe)
537
537
  if (z === 200 && $ != null && Le.test($)) {
538
538
  te = ve, S = Date.now(), w = u, a.readyState = ve;
539
- var q = new se("open", {
539
+ var W = new se("open", {
540
540
  status: z,
541
541
  statusText: H,
542
542
  headers: ee
543
543
  });
544
- a.dispatchEvent(q), ye(a, a.onopen, q);
544
+ a.dispatchEvent(W), ye(a, a.onopen, W);
545
545
  } else {
546
546
  var U = "";
547
547
  z !== 200 ? (H && (H = H.replace(/\s+/g, " ")), U = "EventSource's response has a status " + z + " " + H + " that is not 200. Aborting the connection.") : U = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
548
- var q = new se("error", {
548
+ var W = new se("error", {
549
549
  status: z,
550
550
  statusText: H,
551
551
  headers: ee
552
552
  });
553
- a.dispatchEvent(q), ye(a, a.onerror, q), console.error(U);
553
+ a.dispatchEvent(W), ye(a, a.onerror, W), console.error(U);
554
554
  }
555
555
  }, ct = function(z) {
556
556
  if (te === ve) {
@@ -558,22 +558,22 @@ var qe = { exports: {} };
558
558
  var ee = z.charCodeAt($);
559
559
  (ee === 10 || ee === 13) && (H = $);
560
560
  }
561
- var q = (H !== -1 ? Fe : "") + z.slice(0, H + 1);
561
+ var W = (H !== -1 ? Fe : "") + z.slice(0, H + 1);
562
562
  Fe = (H === -1 ? Fe : "") + z.slice(H + 1), z !== "" && (S = Date.now(), D += z.length);
563
- for (var U = 0; U < q.length; U += 1) {
564
- var ee = q.charCodeAt(U);
565
- if (W === Be && ee === 10)
566
- W = re;
567
- else if (W === Be && (W = re), ee === 13 || ee === 10) {
568
- if (W !== re) {
569
- W === we && (be = U + 1);
570
- var ue = q.slice(Ge, be - 1), fe = q.slice(be + (be < U && q.charCodeAt(be) === 32 ? 1 : 0), U);
563
+ for (var U = 0; U < W.length; U += 1) {
564
+ var ee = W.charCodeAt(U);
565
+ if (q === Be && ee === 10)
566
+ q = re;
567
+ else if (q === Be && (q = re), ee === 13 || ee === 10) {
568
+ if (q !== re) {
569
+ q === we && (be = U + 1);
570
+ var ue = W.slice(Xe, be - 1), fe = W.slice(be + (be < U && W.charCodeAt(be) === 32 ? 1 : 0), U);
571
571
  ue === "data" ? (Ce += `
572
572
  `, Ce += fe) : ue === "id" ? ke = fe : ue === "event" ? de = fe : ue === "retry" ? (u = Te(fe, u), w = u) : ue === "heartbeatTimeout" && (y = Te(fe, y), K !== 0 && (f(K), K = s(function() {
573
573
  Me();
574
574
  }, y)));
575
575
  }
576
- if (W === re) {
576
+ if (q === re) {
577
577
  if (Ce !== "") {
578
578
  m = ke, de === "" && (de = "message");
579
579
  var Se = new De(de, {
@@ -585,9 +585,9 @@ var qe = { exports: {} };
585
585
  }
586
586
  Ce = "", de = "";
587
587
  }
588
- W = ee === 13 ? Be : re;
588
+ q = ee === 13 ? Be : re;
589
589
  } else
590
- W === re && (Ge = U, W = we), W === we ? ee === 58 && (be = U + 1, W = Re) : W === Re && (W = je);
590
+ q === re && (Xe = U, q = we), q === we ? ee === 58 && (be = U + 1, q = Re) : q === Re && (q = je);
591
591
  }
592
592
  }
593
593
  }, Je = function(z) {
@@ -614,7 +614,7 @@ var qe = { exports: {} };
614
614
  }
615
615
  S = !1, D = 0, K = s(function() {
616
616
  Me();
617
- }, y), te = oe, Ce = "", de = "", ke = m, Fe = "", Ge = 0, be = 0, W = re;
617
+ }, y), te = oe, Ce = "", de = "", ke = m, Fe = "", Xe = 0, be = 0, q = re;
618
618
  var H = t;
619
619
  if (t.slice(0, 5) !== "data:" && t.slice(0, 5) !== "blob:" && m !== "") {
620
620
  var $ = t.indexOf("?");
@@ -622,14 +622,14 @@ var qe = { exports: {} };
622
622
  return Se === l ? "" : fe;
623
623
  }), H += (t.indexOf("?") === -1 ? "?" : "&") + l + "=" + encodeURIComponent(m);
624
624
  }
625
- var ee = a.withCredentials, q = {};
626
- q.Accept = "text/event-stream";
625
+ var ee = a.withCredentials, W = {};
626
+ W.Accept = "text/event-stream";
627
627
  var U = a.headers;
628
628
  if (U != null)
629
629
  for (var ue in U)
630
- Object.prototype.hasOwnProperty.call(U, ue) && (q[ue] = U[ue]);
630
+ Object.prototype.hasOwnProperty.call(U, ue) && (W[ue] = U[ue]);
631
631
  try {
632
- Z = xe.open(ce, lt, ct, Je, H, ee, q);
632
+ Z = xe.open(ce, lt, ct, Je, H, ee, W);
633
633
  } catch (fe) {
634
634
  throw Ke(), fe;
635
635
  }
@@ -649,8 +649,8 @@ var qe = { exports: {} };
649
649
  a.EventSourcePolyfill = Q, a.NativeEventSource = g, a.EventSource = Oe;
650
650
  });
651
651
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ft : globalThis);
652
- })(qe, qe.exports);
653
- var _t = qe.exports;
652
+ })(We, We.exports);
653
+ var _t = We.exports;
654
654
  /*!
655
655
  * currency.js - v2.0.4
656
656
  * http://scurker.github.io/currency.js
@@ -793,7 +793,7 @@ ne.prototype = {
793
793
  }
794
794
  };
795
795
  function Dt(i) {
796
- vt(i, "svelte-1tsugyl", '*,*::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;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, #D0046C));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;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}');
796
+ gt(i, "svelte-1tsugyl", '*,*::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;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, #D0046C));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;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}');
797
797
  }
798
798
  function et(i, e, n) {
799
799
  const s = i.slice();
@@ -819,14 +819,14 @@ function Lt(i) {
819
819
  );
820
820
  return {
821
821
  c() {
822
- e = V("div"), n = V("p"), f = pe(s), d = ae(), h = pe(
822
+ e = V("div"), n = V("p"), f = he(s), d = ae(), h = he(
823
823
  /*currency*/
824
824
  i[5]
825
- ), p = ae(), g = V("span"), v = Qe("svg"), R = Qe("path"), M = ae(), B && B.c(), F = Bt(), _(R, "id", "arrow"), _(R, "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"), _(R, "transform", "translate(-274.511 -441.088)"), _(R, "fill", "#d1d1d1"), _(v, "xmlns", "http://www.w3.org/2000/svg"), _(v, "width", "14"), _(v, "height", "6.835"), _(v, "viewBox", "0 0 14 6.835"), _(g, "class", L = /*modalOpened*/
825
+ ), p = ae(), g = V("span"), v = Qe("svg"), R = Qe("path"), M = ae(), B && B.c(), F = bt(), _(R, "id", "arrow"), _(R, "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"), _(R, "transform", "translate(-274.511 -441.088)"), _(R, "fill", "#d1d1d1"), _(v, "xmlns", "http://www.w3.org/2000/svg"), _(v, "width", "14"), _(v, "height", "6.835"), _(v, "viewBox", "0 0 14 6.835"), _(g, "class", L = /*modalOpened*/
826
826
  i[3] ? "TriangleActive" : "TriangleInactive"), _(e, "class", "BalanceValue");
827
827
  },
828
828
  m(C, O) {
829
- me(C, e, O), T(e, n), T(n, f), T(n, d), T(n, h), T(e, p), T(e, g), T(g, v), T(v, R), me(C, M, O), B && B.m(C, O), me(C, F, O), E || (j = Ne(
829
+ ge(C, e, O), T(e, n), T(n, f), T(n, d), T(n, h), T(e, p), T(e, g), T(g, v), T(v, R), ge(C, M, O), B && B.m(C, O), ge(C, F, O), E || (j = Ne(
830
830
  e,
831
831
  "click",
832
832
  /*click_handler*/
@@ -842,8 +842,8 @@ function Lt(i) {
842
842
  /*balances*/
843
843
  C[1].Total[0].amount
844
844
  )
845
- ) : "0") + "") && he(f, s), O[0] & /*currency*/
846
- 32 && he(
845
+ ) : "0") + "") && pe(f, s), O[0] & /*currency*/
846
+ 32 && pe(
847
847
  h,
848
848
  /*currency*/
849
849
  C[5]
@@ -853,7 +853,7 @@ function Lt(i) {
853
853
  C[4] ? B ? B.p(C, O) : (B = nt(C), B.c(), B.m(F.parentNode, F)) : B && (B.d(1), B = null);
854
854
  },
855
855
  d(C) {
856
- C && (ge(e), ge(M), ge(F)), B && B.d(C), E = !1, j();
856
+ C && (me(e), me(M), me(F)), B && B.d(C), E = !1, j();
857
857
  }
858
858
  };
859
859
  }
@@ -864,18 +864,18 @@ function Ot(i) {
864
864
  ), s;
865
865
  return {
866
866
  c() {
867
- e = V("p"), s = pe(n), _(e, "class", "Loading");
867
+ e = V("p"), s = he(n), _(e, "class", "Loading");
868
868
  },
869
869
  m(f, d) {
870
- me(f, e, d), T(e, s);
870
+ ge(f, e, d), T(e, s);
871
871
  },
872
872
  p(f, d) {
873
873
  d[0] & /*$_*/
874
874
  64 && n !== (n = /*$_*/
875
- f[6]("Loading") + "") && he(s, n);
875
+ f[6]("Loading") + "") && pe(s, n);
876
876
  },
877
877
  d(f) {
878
- f && ge(e);
878
+ f && me(e);
879
879
  }
880
880
  };
881
881
  }
@@ -886,25 +886,25 @@ function nt(i) {
886
886
  ), R, L, M, F, E, j, B = (
887
887
  /*$_*/
888
888
  i[6]("DepositButton") + ""
889
- ), C, O, k, P, J, ie, X = Ve(Object.keys(
889
+ ), C, O, k, P, J, ie, G = Ve(Object.keys(
890
890
  /*balances*/
891
891
  i[1]
892
892
  )), x = [];
893
- for (let A = 0; A < X.length; A += 1)
894
- x[A] = ot(et(i, X, A));
893
+ for (let A = 0; A < G.length; A += 1)
894
+ x[A] = ot(et(i, G, A));
895
895
  return {
896
896
  c() {
897
- e = V("div"), n = V("div"), f = ae(), d = V("div"), h = V("div"), p = V("div"), g = V("p"), R = pe(v), L = ae(), M = V("div");
897
+ e = V("div"), n = V("div"), f = ae(), d = V("div"), h = V("div"), p = V("div"), g = V("p"), R = he(v), L = ae(), M = V("div");
898
898
  for (let A = 0; A < x.length; A += 1)
899
899
  x[A].c();
900
- F = ae(), E = V("div"), j = V("button"), C = pe(B), _(n, "class", s = "BalanceModalClose " + /*modalOpened*/
900
+ F = ae(), E = V("div"), j = V("button"), C = he(B), _(n, "class", s = "BalanceModalClose " + /*modalOpened*/
901
901
  (i[3] ? "Open" : "")), _(g, "class", "BalanceModalTitle"), _(p, "class", "BalanceModalHeader"), _(M, "class", "BalanceModalBody"), _(j, "class", "BalanceModalAction"), _(E, "class", "BalanceModalFooter"), _(h, "class", O = "ModalContent " + /*modalOpened*/
902
902
  (i[3] ? "Open" : "")), _(d, "class", k = "BalanceModal " + /*modalOpened*/
903
903
  (i[3] ? "Open" : "")), _(e, "class", P = "BalanceModalWrapper " + /*modalOpened*/
904
904
  (i[3] ? "Open" : ""));
905
905
  },
906
906
  m(A, N) {
907
- me(A, e, N), T(e, n), T(e, f), T(e, d), T(d, h), T(h, p), T(p, g), T(g, R), T(h, L), T(h, M);
907
+ ge(A, e, N), T(e, n), T(e, f), T(e, d), T(d, h), T(h, p), T(p, g), T(g, R), T(h, L), T(h, M);
908
908
  for (let c = 0; c < x.length; c += 1)
909
909
  x[c] && x[c].m(M, null);
910
910
  T(h, F), T(h, E), T(E, j), T(j, C), J || (ie = [
@@ -927,24 +927,24 @@ function nt(i) {
927
927
  8 && s !== (s = "BalanceModalClose " + /*modalOpened*/
928
928
  (A[3] ? "Open" : "")) && _(n, "class", s), N[0] & /*$_*/
929
929
  64 && v !== (v = /*$_*/
930
- A[6]("Title") + "") && he(R, v), N[0] & /*balances, currency, formatBalance, $_*/
930
+ A[6]("Title") + "") && pe(R, v), N[0] & /*balances, currency, formatBalance, $_*/
931
931
  354) {
932
- X = Ve(Object.keys(
932
+ G = Ve(Object.keys(
933
933
  /*balances*/
934
934
  A[1]
935
935
  ));
936
936
  let c;
937
- for (c = 0; c < X.length; c += 1) {
938
- const G = et(A, X, c);
939
- x[c] ? x[c].p(G, N) : (x[c] = ot(G), x[c].c(), x[c].m(M, null));
937
+ for (c = 0; c < G.length; c += 1) {
938
+ const X = et(A, G, c);
939
+ x[c] ? x[c].p(X, N) : (x[c] = ot(X), x[c].c(), x[c].m(M, null));
940
940
  }
941
941
  for (; c < x.length; c += 1)
942
942
  x[c].d(1);
943
- x.length = X.length;
943
+ x.length = G.length;
944
944
  }
945
945
  N[0] & /*$_*/
946
946
  64 && B !== (B = /*$_*/
947
- A[6]("DepositButton") + "") && he(C, B), N[0] & /*modalOpened*/
947
+ A[6]("DepositButton") + "") && pe(C, B), N[0] & /*modalOpened*/
948
948
  8 && O !== (O = "ModalContent " + /*modalOpened*/
949
949
  (A[3] ? "Open" : "")) && _(h, "class", O), N[0] & /*modalOpened*/
950
950
  8 && k !== (k = "BalanceModal " + /*modalOpened*/
@@ -953,7 +953,7 @@ function nt(i) {
953
953
  (A[3] ? "Open" : "")) && _(e, "class", P);
954
954
  },
955
955
  d(A) {
956
- A && ge(e), it(x, A), J = !1, Tt(ie);
956
+ A && me(e), it(x, A), J = !1, Bt(ie);
957
957
  }
958
958
  };
959
959
  }
@@ -985,13 +985,13 @@ function at(i) {
985
985
  ), M, F, E, j;
986
986
  return {
987
987
  c() {
988
- e = V("div"), n = V("p"), f = pe(s), d = ae(), p = pe(h), g = ae(), v = V("p"), R = V("span"), M = pe(L), F = ae(), E = V("span"), j = pe(
988
+ e = V("div"), n = V("p"), f = he(s), d = ae(), p = he(h), g = ae(), v = V("p"), R = V("span"), M = he(L), F = ae(), E = V("span"), j = he(
989
989
  /*currency*/
990
990
  i[5]
991
991
  ), _(n, "class", "BalanceModalText"), _(R, "class", "BalanceModalAmount"), _(E, "class", "BalanceModalCurrency"), _(v, "class", "BalanceModalValue"), _(e, "class", "BalanceModalRowLine");
992
992
  },
993
993
  m(B, C) {
994
- me(B, e, C), T(e, n), T(n, f), T(n, d), T(n, p), T(e, g), T(e, v), T(v, R), T(R, M), T(v, F), T(v, E), T(E, j);
994
+ ge(B, e, C), T(e, n), T(n, f), T(n, d), T(n, p), T(e, g), T(e, v), T(v, R), T(R, M), T(v, F), T(v, E), T(E, j);
995
995
  },
996
996
  p(B, C) {
997
997
  C[0] & /*$_, balances*/
@@ -999,7 +999,7 @@ function at(i) {
999
999
  B[6](
1000
1000
  /*k*/
1001
1001
  B[50]
1002
- ) + "") && he(f, s), C[0] & /*balances, $_*/
1002
+ ) + "") && pe(f, s), C[0] & /*balances, $_*/
1003
1003
  66 && h !== (h = /*b*/
1004
1004
  (B[53].productType ? (
1005
1005
  /*$_*/
@@ -1007,7 +1007,7 @@ function at(i) {
1007
1007
  /*b*/
1008
1008
  B[53].productType
1009
1009
  )
1010
- ) : "") + "") && he(p, h), C[0] & /*balances*/
1010
+ ) : "") + "") && pe(p, h), C[0] & /*balances*/
1011
1011
  2 && L !== (L = /*b*/
1012
1012
  (B[53].amount ? (
1013
1013
  /*formatBalance*/
@@ -1015,15 +1015,15 @@ function at(i) {
1015
1015
  /*b*/
1016
1016
  B[53].amount
1017
1017
  )
1018
- ) : "0") + "") && he(M, L), C[0] & /*currency*/
1019
- 32 && he(
1018
+ ) : "0") + "") && pe(M, L), C[0] & /*currency*/
1019
+ 32 && pe(
1020
1020
  j,
1021
1021
  /*currency*/
1022
1022
  B[5]
1023
1023
  );
1024
1024
  },
1025
1025
  d(B) {
1026
- B && ge(e);
1026
+ B && me(e);
1027
1027
  }
1028
1028
  };
1029
1029
  }
@@ -1045,7 +1045,7 @@ function ot(i) {
1045
1045
  n = ae(), _(e, "class", "BalanceModalRowBoth");
1046
1046
  },
1047
1047
  m(d, h) {
1048
- me(d, e, h);
1048
+ ge(d, e, h);
1049
1049
  for (let p = 0; p < f.length; p += 1)
1050
1050
  f[p] && f[p].m(e, null);
1051
1051
  T(e, n);
@@ -1071,7 +1071,7 @@ function ot(i) {
1071
1071
  }
1072
1072
  },
1073
1073
  d(d) {
1074
- d && ge(e), it(f, d);
1074
+ d && me(e), it(f, d);
1075
1075
  }
1076
1076
  };
1077
1077
  }
@@ -1082,16 +1082,16 @@ function rt(i) {
1082
1082
  e = V("div"), _(e, "class", "ShowBalanceModalOverlay");
1083
1083
  },
1084
1084
  m(f, d) {
1085
- me(f, e, d), n || (s = Ne(
1085
+ ge(f, e, d), n || (s = Ne(
1086
1086
  e,
1087
1087
  "click",
1088
1088
  /*click_handler_3*/
1089
1089
  i[27]
1090
1090
  ), n = !0);
1091
1091
  },
1092
- p: We,
1092
+ p: qe,
1093
1093
  d(f) {
1094
- f && ge(e), n = !1, s();
1094
+ f && me(e), n = !1, s();
1095
1095
  }
1096
1096
  };
1097
1097
  }
@@ -1112,24 +1112,24 @@ function kt(i) {
1112
1112
  e = V("div"), n = V("div"), h.c(), s = ae(), p && p.c(), _(n, "class", "ShowBalance");
1113
1113
  },
1114
1114
  m(g, v) {
1115
- me(g, e, v), T(e, n), h.m(n, null), T(e, s), p && p.m(e, null), i[28](e);
1115
+ ge(g, e, v), T(e, n), h.m(n, null), T(e, s), p && p.m(e, null), i[28](e);
1116
1116
  },
1117
1117
  p(g, v) {
1118
1118
  d === (d = f(g)) && h ? h.p(g, v) : (h.d(1), h = d(g), h && (h.c(), h.m(n, null))), /*showBalance*/
1119
1119
  g[4] ? p ? p.p(g, v) : (p = rt(g), p.c(), p.m(e, null)) : p && (p.d(1), p = null);
1120
1120
  },
1121
- i: We,
1122
- o: We,
1121
+ i: qe,
1122
+ o: qe,
1123
1123
  d(g) {
1124
- g && ge(e), h.d(), p && p.d(), i[28](null);
1124
+ g && me(e), h.d(), p && p.d(), i[28](null);
1125
1125
  }
1126
1126
  };
1127
1127
  }
1128
1128
  function Ft(i, e, n) {
1129
1129
  let s;
1130
- yt(i, Ct, (t) => n(6, s = t));
1131
- let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: h = "" } = e, { lang: p = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: C = "" } = e, O, k, P, J, ie = !1, X = "", x = [], A, N = !1;
1132
- const c = {}, G = ["totalCashAmount", "totalRealAmount"], De = () => {
1130
+ vt(i, Ct, (t) => n(6, s = t));
1131
+ let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: h = "" } = e, { lang: p = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: C = "" } = e, O, k, P, J, ie = !1, G = "", x = [], A, N = !1;
1132
+ const c = {}, X = ["totalCashAmount", "totalRealAmount"], De = () => {
1133
1133
  fetch(R).then((t) => t.json()).then((t) => Object.keys(t).forEach((r) => Ze(r, t[r]))).catch((t) => console.log(t));
1134
1134
  };
1135
1135
  Object.keys($e).forEach((t) => Ze(t, $e[t]));
@@ -1181,7 +1181,7 @@ function Ft(i, e, n) {
1181
1181
  headers: { "X-SessionID": d }
1182
1182
  }), o = await r.json();
1183
1183
  if (r.ok)
1184
- window.postMessage({ type: "BalancedFetched" }, window.location.href), x = o.items, n(5, X = x.find((l) => l.displayName === "Casino")?.currency), n(1, c.Total = [{ amount: o.totalAmount[X] }], c), n(
1184
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), x = o.items, n(5, G = x.find((l) => l.displayName === "Casino")?.currency), n(1, c.Total = [{ amount: o.totalAmount[G] }], c), n(
1185
1185
  1,
1186
1186
  c.Real = [
1187
1187
  {
@@ -1209,13 +1209,13 @@ function Ft(i, e, n) {
1209
1209
  n(2, O = !0);
1210
1210
  const t = new URL(`${h}/v2/player/${f}/balance`), r = new Headers();
1211
1211
  r.append("X-SessionID", d), fetch(t, { method: "GET", headers: r }).then((l) => l.json()).then((l) => {
1212
- l[E] || n(10, E = G[0]);
1212
+ l[E] || n(10, E = X[0]);
1213
1213
  const u = l.items.find((m) => m.type === "Real" && m.walletAccountType === "Ordinary");
1214
- if (n(5, X = u.currency), N = !!u.productType, n(1, c.Total = [{ amount: 0 }], c), n(1, c.Real = [], c), n(1, c.Bonus = [], c), n(1, c.Credit = [], c), !N) {
1214
+ if (n(5, G = u.currency), N = !!u.productType, n(1, c.Total = [{ amount: 0 }], c), n(1, c.Real = [], c), n(1, c.Bonus = [], c), n(1, c.Credit = [], c), !N) {
1215
1215
  A = {
1216
1216
  lastOrdinaryAfterAmount: 0,
1217
1217
  showCreditLineAfterAmount: !1
1218
- }, n(1, c.Total[0].amount = l[E][X], c);
1218
+ }, n(1, c.Total[0].amount = l[E][G], c);
1219
1219
  for (const m of l.items)
1220
1220
  switch (m.type) {
1221
1221
  case "Bonus":
@@ -1358,7 +1358,7 @@ function Ft(i, e, n) {
1358
1358
  }, Le = () => {
1359
1359
  se("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1360
1360
  }, He = () => {
1361
- G.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${G}. Using default value ('${G[0]}').`), n(10, E = G[0]));
1361
+ X.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${X}. Using default value ('${X[0]}').`), n(10, E = X[0]));
1362
1362
  }, ze = () => {
1363
1363
  switch (St(p), He(), M) {
1364
1364
  case "gmcore":
@@ -1386,12 +1386,12 @@ function Ft(i, e, n) {
1386
1386
  }, Q = () => {
1387
1387
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1388
1388
  };
1389
- wt(() => (window.addEventListener("message", Te, !1), () => {
1389
+ yt(() => (window.addEventListener("message", Te, !1), () => {
1390
1390
  window.removeEventListener("message", Te), J && J.close();
1391
1391
  }));
1392
- const Ue = () => se("balance"), Pe = () => se("closebalance"), Xe = () => Le(), Oe = () => se("closeBalance");
1392
+ const Ue = () => se("balance"), Pe = () => se("closebalance"), Ge = () => Le(), Oe = () => se("closeBalance");
1393
1393
  function a(t) {
1394
- bt[t ? "unshift" : "push"](() => {
1394
+ wt[t ? "unshift" : "push"](() => {
1395
1395
  k = t, n(0, k);
1396
1396
  });
1397
1397
  }
@@ -1412,7 +1412,7 @@ function Ft(i, e, n) {
1412
1412
  O,
1413
1413
  P,
1414
1414
  ie,
1415
- X,
1415
+ G,
1416
1416
  s,
1417
1417
  se,
1418
1418
  Ae,
@@ -1433,7 +1433,7 @@ function Ft(i, e, n) {
1433
1433
  C,
1434
1434
  Ue,
1435
1435
  Pe,
1436
- Xe,
1436
+ Ge,
1437
1437
  Oe,
1438
1438
  a
1439
1439
  ];
@@ -1445,7 +1445,7 @@ class It extends pt {
1445
1445
  e,
1446
1446
  Ft,
1447
1447
  kt,
1448
- gt,
1448
+ mt,
1449
1449
  {
1450
1450
  userid: 11,
1451
1451
  session: 12,
@@ -1551,7 +1551,7 @@ class It extends pt {
1551
1551
  this.$$set({ currencyprecision: e }), Y();
1552
1552
  }
1553
1553
  }
1554
- mt(It, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
1554
+ Tt(It, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
1555
1555
  export {
1556
1556
  It as default
1557
1557
  };