@everymatrix/casino-header-controller-nd 1.67.3 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHamburgerMenuNd-BMOc3TVZ.cjs +18 -0
- package/components/{CasinoHamburgerMenuNd-GN2-xEq0.js → CasinoHamburgerMenuNd-Bor1vGom.js} +1069 -1034
- package/components/{CasinoHamburgerMenuNd-D_l-_9wt.js → CasinoHamburgerMenuNd-DvNE-Me3.js} +1060 -1025
- package/components/{CasinoHeaderControllerNd-BYwd8Sq_.cjs → CasinoHeaderControllerNd-BGWGX95z.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-BEExk_ii.js → CasinoHeaderControllerNd-DGaLQ6dj.js} +90 -90
- package/components/{CasinoHeaderControllerNd-DgEgJaZc.js → CasinoHeaderControllerNd-DgZLIlJt.js} +88 -88
- package/components/{PlayerAccountBalanceModalNd-DcwaBs_T.cjs → PlayerAccountBalanceModalNd-DZP0lOrn.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-DLZK_oxu.js → PlayerAccountBalanceModalNd-DmtaugeG.js} +71 -71
- package/components/{PlayerAccountBalanceModalNd-D9ROPGsf.js → PlayerAccountBalanceModalNd-E77LJMl0.js} +67 -67
- package/components/{PlayerDeposit-CH6X2HzT.js → PlayerDeposit-BYDhJItO.js} +43 -43
- package/components/{PlayerDeposit-nAWT6R27.js → PlayerDeposit-DWubNJ88.js} +43 -43
- package/components/{PlayerDeposit-DP4_U-Vn.cjs → PlayerDeposit-OEh7dNO5.cjs} +1 -1
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-DwjOP8LM.js → gamification-dropdown-8eb8a896-4sKWcJtH.js} +7 -7
- package/stencil/{gamification-dropdown-8eb8a896-OGii9GZC.js → gamification-dropdown-8eb8a896-BP2u_HU7.js} +3 -3
- package/stencil/{gamification-dropdown-8eb8a896-DfTzIl57.cjs → gamification-dropdown-8eb8a896-BqA7JEtY.cjs} +1 -1
- package/stencil/{gamification-dropdown-DiHGIe59.cjs → gamification-dropdown-B1ILTX0Y.cjs} +1 -1
- package/stencil/{gamification-dropdown-BXSymCVy.js → gamification-dropdown-DEeZBoN0.js} +1 -1
- package/stencil/{gamification-dropdown-_ZdATOHF.js → gamification-dropdown-aKSO2UeG.js} +1 -1
- package/stencil/{gamification-dropdown_4-C8FoQ9bl.js → gamification-dropdown_4-B0ji-X9m.js} +12 -12
- package/stencil/{gamification-dropdown_4-B46ceyMH.js → gamification-dropdown_4-BKbYm0F4.js} +12 -12
- package/stencil/{gamification-dropdown_4-EqEecNER.cjs → gamification-dropdown_4-CFeI4Vdg.cjs} +2 -2
- package/stencil/{index-71b1bdfa-_-dhHLGN.js → index-71b1bdfa-BMawsq6K.js} +235 -235
- package/stencil/{index-71b1bdfa-C8dE0ofS.js → index-71b1bdfa-BZYfjyyu.js} +226 -226
- package/stencil/index-71b1bdfa-DqjJO9rg.cjs +1 -0
- package/stencil/{player-elevate-card-DORq6Wij.cjs → player-elevate-card-BMQXFNhf.cjs} +1 -1
- package/stencil/{player-elevate-card-CESlrbxs.js → player-elevate-card-BupHMU0C.js} +2 -2
- package/stencil/{player-elevate-card-DAXoDLIH.js → player-elevate-card-DYry-kuc.js} +2 -2
- package/stencil/{player-elevate-card-items-5071deed-DjG8kMBd.js → player-elevate-card-items-5071deed-BUtyLOrj.js} +79 -81
- package/stencil/player-elevate-card-items-5071deed-BXQrJn1S.cjs +102 -0
- package/stencil/{player-elevate-card-items-5071deed-C9dANr1l.js → player-elevate-card-items-5071deed-C5xbU-Hh.js} +79 -81
- package/stencil/{player-elevate-pointcard-Do6iv014.js → player-elevate-pointcard-B2cW4cvo.js} +4 -4
- package/stencil/{player-elevate-pointcard-DQXpvq40.js → player-elevate-pointcard-BAOz9vT6.js} +4 -4
- package/stencil/{player-elevate-pointcard-CjdTzOoF.cjs → player-elevate-pointcard-XJ0TKbja.cjs} +1 -1
- package/stencil/{player-rakeback-card-BoT6EgM7.cjs → player-rakeback-card-BE5M20hP.cjs} +1 -1
- package/stencil/{player-rakeback-card-Bx_vN42o.js → player-rakeback-card-CmhmooCE.js} +1 -1
- package/stencil/{player-rakeback-card-BNSkyLB0.js → player-rakeback-card-DqDgl21L.js} +1 -1
- package/components/CasinoHamburgerMenuNd-CZ6VNaW1.cjs +0 -18
- package/stencil/index-71b1bdfa-MzSkzwf_.cjs +0 -1
- package/stencil/player-elevate-card-items-5071deed-C6i7ZlHD.cjs +0 -102
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as ut, $ as dt, N as ft, S as pt, i as ht,
|
|
1
|
+
import { b as ut, $ as dt, N as ft, S as pt, i as ht, s as gt, f as Y, d as mt, z as qe, g as ge, l as _, n as me, o as S, q as V, r as re, v as yt, w as vt, p as Ve, A as wt, D as pe, E as he, F as Qe, y as bt, G as je, H as it, C as Bt, x as Tt, K as St, L as Ct, M as _t, c as At, J as Rt } from "./CasinoHamburgerMenuNd-Bor1vGom.js";
|
|
2
2
|
function Ze(r, e) {
|
|
3
3
|
ut(r, e);
|
|
4
4
|
}
|
|
@@ -205,7 +205,7 @@ const $e = {
|
|
|
205
205
|
Loading: "Loading ..."
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
|
-
var
|
|
208
|
+
var We = { exports: {} };
|
|
209
209
|
/** @license
|
|
210
210
|
* eventsource.js
|
|
211
211
|
* Available under MIT License (MIT)
|
|
@@ -532,25 +532,25 @@ var qe = { exports: {} };
|
|
|
532
532
|
var Pe = L != null && O != null && "body" in O.prototype;
|
|
533
533
|
function Ge(a, l, n) {
|
|
534
534
|
l = String(l);
|
|
535
|
-
var o = !!n.withCredentials, d = n.lastEventIdQueryParameterName || "lastEventId", s = Me(1e3), h = Se(n.heartbeatTimeout, 45e3), A = "", f = s, B = !1, R = 0, w = n.headers || {}, N = n.Transport, ce = Pe && N == null ? void 0 : new z(N != null ? new N() : Ue()), De = N != null && typeof N != "string" ? new N() : ce == null ? new x() : new Z(), $ = void 0, K = 0, ae = Ae, Ce = "", Fe = "", ue = "", Ie = "",
|
|
535
|
+
var o = !!n.withCredentials, d = n.lastEventIdQueryParameterName || "lastEventId", s = Me(1e3), h = Se(n.heartbeatTimeout, 45e3), A = "", f = s, B = !1, R = 0, w = n.headers || {}, N = n.Transport, ce = Pe && N == null ? void 0 : new z(N != null ? new N() : Ue()), De = N != null && typeof N != "string" ? new N() : ce == null ? new x() : new Z(), $ = void 0, K = 0, ae = Ae, Ce = "", Fe = "", ue = "", Ie = "", q = se, Xe = 0, Te = 0, lt = function(G, U, ee, te) {
|
|
536
536
|
if (ae === J)
|
|
537
537
|
if (G === 200 && ee != null && xe.test(ee)) {
|
|
538
538
|
ae = le, B = Date.now(), f = s, a.readyState = le;
|
|
539
|
-
var
|
|
539
|
+
var W = new p("open", {
|
|
540
540
|
status: G,
|
|
541
541
|
statusText: U,
|
|
542
542
|
headers: te
|
|
543
543
|
});
|
|
544
|
-
a.dispatchEvent(
|
|
544
|
+
a.dispatchEvent(W), we(a, a.onopen, W);
|
|
545
545
|
} else {
|
|
546
546
|
var X = "";
|
|
547
547
|
G !== 200 ? (U && (U = U.replace(/\s+/g, " ")), X = "EventSource's response has a status " + G + " " + U + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (ee == null ? "-" : ee.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
|
|
548
|
-
var
|
|
548
|
+
var W = new p("error", {
|
|
549
549
|
status: G,
|
|
550
550
|
statusText: U,
|
|
551
551
|
headers: te
|
|
552
552
|
});
|
|
553
|
-
a.dispatchEvent(
|
|
553
|
+
a.dispatchEvent(W), we(a, a.onerror, W), console.error(X);
|
|
554
554
|
}
|
|
555
555
|
}, ct = function(G) {
|
|
556
556
|
if (ae === le) {
|
|
@@ -558,22 +558,22 @@ var qe = { exports: {} };
|
|
|
558
558
|
var te = G.charCodeAt(ee);
|
|
559
559
|
(te === 10 || te === 13) && (U = ee);
|
|
560
560
|
}
|
|
561
|
-
var
|
|
561
|
+
var W = (U !== -1 ? Ie : "") + G.slice(0, U + 1);
|
|
562
562
|
Ie = (U === -1 ? Ie : "") + G.slice(U + 1), G !== "" && (B = Date.now(), R += G.length);
|
|
563
|
-
for (var X = 0; X <
|
|
564
|
-
var te =
|
|
565
|
-
if (
|
|
566
|
-
|
|
567
|
-
else if (
|
|
568
|
-
if (
|
|
569
|
-
|
|
570
|
-
var de =
|
|
563
|
+
for (var X = 0; X < W.length; X += 1) {
|
|
564
|
+
var te = W.charCodeAt(X);
|
|
565
|
+
if (q === Re && te === 10)
|
|
566
|
+
q = se;
|
|
567
|
+
else if (q === Re && (q = se), te === 13 || te === 10) {
|
|
568
|
+
if (q !== se) {
|
|
569
|
+
q === Be && (Te = X + 1);
|
|
570
|
+
var de = W.slice(Xe, Te - 1), fe = W.slice(Te + (Te < X && W.charCodeAt(Te) === 32 ? 1 : 0), X);
|
|
571
571
|
de === "data" ? (Ce += `
|
|
572
572
|
`, Ce += fe) : de === "id" ? Fe = fe : de === "event" ? ue = fe : de === "retry" ? (s = Se(fe, s), f = s) : de === "heartbeatTimeout" && (h = Se(fe, h), K !== 0 && (u(K), K = i(function() {
|
|
573
573
|
Le();
|
|
574
574
|
}, h)));
|
|
575
575
|
}
|
|
576
|
-
if (
|
|
576
|
+
if (q === se) {
|
|
577
577
|
if (Ce !== "") {
|
|
578
578
|
A = Fe, ue === "" && (ue = "message");
|
|
579
579
|
var _e = new ye(ue, {
|
|
@@ -585,9 +585,9 @@ var qe = { exports: {} };
|
|
|
585
585
|
}
|
|
586
586
|
Ce = "", ue = "";
|
|
587
587
|
}
|
|
588
|
-
|
|
588
|
+
q = te === 13 ? Re : se;
|
|
589
589
|
} else
|
|
590
|
-
|
|
590
|
+
q === se && (Xe = X, q = Be), q === Be ? te === 58 && (Te = X + 1, q = Ee) : q === Ee && (q = He);
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
}, Je = function(G) {
|
|
@@ -614,7 +614,7 @@ var qe = { exports: {} };
|
|
|
614
614
|
}
|
|
615
615
|
B = !1, R = 0, K = i(function() {
|
|
616
616
|
Le();
|
|
617
|
-
}, h), ae = J, Ce = "", ue = "", Fe = A, Ie = "", Xe = 0, Te = 0,
|
|
617
|
+
}, h), ae = J, Ce = "", ue = "", Fe = A, Ie = "", Xe = 0, Te = 0, q = se;
|
|
618
618
|
var U = l;
|
|
619
619
|
if (l.slice(0, 5) !== "data:" && l.slice(0, 5) !== "blob:" && A !== "") {
|
|
620
620
|
var ee = l.indexOf("?");
|
|
@@ -622,14 +622,14 @@ var qe = { exports: {} };
|
|
|
622
622
|
return _e === d ? "" : fe;
|
|
623
623
|
}), U += (l.indexOf("?") === -1 ? "?" : "&") + d + "=" + encodeURIComponent(A);
|
|
624
624
|
}
|
|
625
|
-
var te = a.withCredentials,
|
|
626
|
-
|
|
625
|
+
var te = a.withCredentials, W = {};
|
|
626
|
+
W.Accept = "text/event-stream";
|
|
627
627
|
var X = a.headers;
|
|
628
628
|
if (X != null)
|
|
629
629
|
for (var de in X)
|
|
630
|
-
Object.prototype.hasOwnProperty.call(X, de) && (
|
|
630
|
+
Object.prototype.hasOwnProperty.call(X, de) && (W[de] = X[de]);
|
|
631
631
|
try {
|
|
632
|
-
$ = De.open(ce, lt, ct, Je, U, te,
|
|
632
|
+
$ = De.open(ce, lt, ct, Je, U, te, 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 = y, a.EventSource = ke;
|
|
650
650
|
});
|
|
651
651
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ft : globalThis);
|
|
652
|
-
})(
|
|
653
|
-
var xt =
|
|
652
|
+
})(We, We.exports);
|
|
653
|
+
var xt = We.exports;
|
|
654
654
|
/*!
|
|
655
655
|
* currency.js - v2.0.4
|
|
656
656
|
* http://scurker.github.io/currency.js
|
|
@@ -793,7 +793,7 @@ oe.prototype = {
|
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
795
|
function Ft(r) {
|
|
796
|
-
|
|
796
|
+
mt(r, "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}');
|
|
797
797
|
}
|
|
798
798
|
function et(r, e, t) {
|
|
799
799
|
const i = r.slice();
|
|
@@ -819,14 +819,14 @@ function It(r) {
|
|
|
819
819
|
);
|
|
820
820
|
return {
|
|
821
821
|
c() {
|
|
822
|
-
e = V("button"), t = V("p"), u =
|
|
822
|
+
e = V("button"), t = V("p"), u = he(i), c = re(), v = he(
|
|
823
823
|
/*currency*/
|
|
824
824
|
r[6]
|
|
825
|
-
), g = re(), y = V("span"), m = Qe("svg"), T = Qe("path"), O = re(), b && b.c(), k =
|
|
825
|
+
), g = re(), y = V("span"), m = Qe("svg"), T = Qe("path"), O = re(), b && b.c(), k = bt(), _(T, "id", "arrow"), _(T, "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"), _(T, "transform", "translate(-274.511 -441.088)"), _(T, "fill", "#d1d1d1"), _(m, "xmlns", "http://www.w3.org/2000/svg"), _(m, "width", "14"), _(m, "height", "6.835"), _(m, "viewBox", "0 0 14 6.835"), _(y, "class", L = /*isModalDisplayed*/
|
|
826
826
|
r[3] ? "TriangleActive" : "TriangleInactive"), _(e, "class", "BalanceValue");
|
|
827
827
|
},
|
|
828
828
|
m(C, j) {
|
|
829
|
-
|
|
829
|
+
me(C, e, j), S(e, t), S(t, u), S(t, c), S(t, v), S(e, g), S(e, y), S(y, m), S(m, T), me(C, O, j), b && b.m(C, j), me(C, k, j), F || (E = Ve(
|
|
830
830
|
e,
|
|
831
831
|
"click",
|
|
832
832
|
/*click_handler*/
|
|
@@ -842,8 +842,8 @@ function It(r) {
|
|
|
842
842
|
/*balances*/
|
|
843
843
|
C[1].Total[0].amount
|
|
844
844
|
)
|
|
845
|
-
) : "0") + "") &&
|
|
846
|
-
64 &&
|
|
845
|
+
) : "0") + "") && pe(u, i), j[0] & /*currency*/
|
|
846
|
+
64 && pe(
|
|
847
847
|
v,
|
|
848
848
|
/*currency*/
|
|
849
849
|
C[6]
|
|
@@ -853,7 +853,7 @@ function It(r) {
|
|
|
853
853
|
C[4] ? b ? b.p(C, j) : (b = nt(C), b.c(), b.m(k.parentNode, k)) : b && (b.d(1), b = null);
|
|
854
854
|
},
|
|
855
855
|
d(C) {
|
|
856
|
-
C && (
|
|
856
|
+
C && (ge(e), ge(O), ge(k)), b && b.d(C), F = !1, E();
|
|
857
857
|
}
|
|
858
858
|
};
|
|
859
859
|
}
|
|
@@ -864,18 +864,18 @@ function Nt(r) {
|
|
|
864
864
|
), i;
|
|
865
865
|
return {
|
|
866
866
|
c() {
|
|
867
|
-
e = V("p"), i =
|
|
867
|
+
e = V("p"), i = he(t), _(e, "class", "Loading");
|
|
868
868
|
},
|
|
869
869
|
m(u, c) {
|
|
870
|
-
|
|
870
|
+
me(u, e, c), S(e, i);
|
|
871
871
|
},
|
|
872
872
|
p(u, c) {
|
|
873
873
|
c[0] & /*$_*/
|
|
874
874
|
128 && t !== (t = /*$_*/
|
|
875
|
-
u[7]("Loading") + "") &&
|
|
875
|
+
u[7]("Loading") + "") && pe(i, t);
|
|
876
876
|
},
|
|
877
877
|
d(u) {
|
|
878
|
-
u &&
|
|
878
|
+
u && ge(e);
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
881
|
}
|
|
@@ -894,17 +894,17 @@ function nt(r) {
|
|
|
894
894
|
H[x] = ot(et(r, Z, x));
|
|
895
895
|
return {
|
|
896
896
|
c() {
|
|
897
|
-
e = V("div"), t = V("button"), u = re(), c = V("div"), v = V("div"), g = V("div"), y = V("p"), T =
|
|
897
|
+
e = V("div"), t = V("button"), u = re(), c = V("div"), v = V("div"), g = V("div"), y = V("p"), T = he(m), L = re(), O = V("div");
|
|
898
898
|
for (let x = 0; x < H.length; x += 1)
|
|
899
899
|
H[x].c();
|
|
900
|
-
k = re(), F = V("div"), E = V("button"), C =
|
|
900
|
+
k = re(), F = V("div"), E = V("button"), C = he(b), _(t, "class", i = "BalanceModalClose " + /*isModalDisplayed*/
|
|
901
901
|
(r[3] ? "Open" : "")), _(y, "class", "BalanceModalTitle"), _(g, "class", "BalanceModalHeader"), _(O, "class", "BalanceModalBody"), _(E, "class", "BalanceModalAction"), _(F, "class", "BalanceModalFooter"), _(v, "class", j = "ModalContent " + /*isModalDisplayed*/
|
|
902
902
|
(r[3] ? "Open" : "")), _(c, "class", M = "BalanceModal " + /*isModalDisplayed*/
|
|
903
903
|
(r[3] ? "Open" : "")), _(e, "class", z = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
904
904
|
(r[3] ? "Open" : ""));
|
|
905
905
|
},
|
|
906
906
|
m(x, I) {
|
|
907
|
-
|
|
907
|
+
me(x, e, I), S(e, t), S(e, u), S(e, c), S(c, v), S(v, g), S(g, y), S(y, T), S(v, L), S(v, O);
|
|
908
908
|
for (let D = 0; D < H.length; D += 1)
|
|
909
909
|
H[D] && H[D].m(O, null);
|
|
910
910
|
S(v, k), S(v, F), S(F, E), S(E, C), ie || (ne = [
|
|
@@ -927,7 +927,7 @@ function nt(r) {
|
|
|
927
927
|
8 && i !== (i = "BalanceModalClose " + /*isModalDisplayed*/
|
|
928
928
|
(x[3] ? "Open" : "")) && _(t, "class", i), I[0] & /*$_*/
|
|
929
929
|
128 && m !== (m = /*$_*/
|
|
930
|
-
x[7]("Title") + "") &&
|
|
930
|
+
x[7]("Title") + "") && pe(T, m), I[0] & /*balances, currency, formatBalance, $_*/
|
|
931
931
|
706) {
|
|
932
932
|
Z = je(Object.keys(
|
|
933
933
|
/*balances*/
|
|
@@ -944,7 +944,7 @@ function nt(r) {
|
|
|
944
944
|
}
|
|
945
945
|
I[0] & /*$_*/
|
|
946
946
|
128 && b !== (b = /*$_*/
|
|
947
|
-
x[7]("DepositButton") + "") &&
|
|
947
|
+
x[7]("DepositButton") + "") && pe(C, b), I[0] & /*isModalDisplayed*/
|
|
948
948
|
8 && j !== (j = "ModalContent " + /*isModalDisplayed*/
|
|
949
949
|
(x[3] ? "Open" : "")) && _(v, "class", j), I[0] & /*isModalDisplayed*/
|
|
950
950
|
8 && M !== (M = "BalanceModal " + /*isModalDisplayed*/
|
|
@@ -953,7 +953,7 @@ function nt(r) {
|
|
|
953
953
|
(x[3] ? "Open" : "")) && _(e, "class", z);
|
|
954
954
|
},
|
|
955
955
|
d(x) {
|
|
956
|
-
x &&
|
|
956
|
+
x && ge(e), it(H, x), ie = !1, Bt(ne);
|
|
957
957
|
}
|
|
958
958
|
};
|
|
959
959
|
}
|
|
@@ -985,13 +985,13 @@ function at(r) {
|
|
|
985
985
|
), O, k, F, E;
|
|
986
986
|
return {
|
|
987
987
|
c() {
|
|
988
|
-
e = V("div"), t = V("p"), u =
|
|
988
|
+
e = V("div"), t = V("p"), u = he(i), c = re(), g = he(v), y = re(), m = V("p"), T = V("span"), O = he(L), k = re(), F = V("span"), E = he(
|
|
989
989
|
/*currency*/
|
|
990
990
|
r[6]
|
|
991
991
|
), _(t, "class", "BalanceModalText"), _(T, "class", "BalanceModalAmount"), _(F, "class", "BalanceModalCurrency"), _(m, "class", "BalanceModalValue"), _(e, "class", "BalanceModalRowLine");
|
|
992
992
|
},
|
|
993
993
|
m(b, C) {
|
|
994
|
-
|
|
994
|
+
me(b, e, C), S(e, t), S(t, u), S(t, c), S(t, g), S(e, y), S(e, m), S(m, T), S(T, O), S(m, k), S(m, F), S(F, E);
|
|
995
995
|
},
|
|
996
996
|
p(b, C) {
|
|
997
997
|
C[0] & /*$_, balances*/
|
|
@@ -999,7 +999,7 @@ function at(r) {
|
|
|
999
999
|
b[7](
|
|
1000
1000
|
/*k*/
|
|
1001
1001
|
b[52]
|
|
1002
|
-
) + "") &&
|
|
1002
|
+
) + "") && pe(u, i), C[0] & /*balances, $_*/
|
|
1003
1003
|
130 && v !== (v = /*b*/
|
|
1004
1004
|
(b[55].productType ? (
|
|
1005
1005
|
/*$_*/
|
|
@@ -1007,7 +1007,7 @@ function at(r) {
|
|
|
1007
1007
|
/*b*/
|
|
1008
1008
|
b[55].productType
|
|
1009
1009
|
)
|
|
1010
|
-
) : "") + "") &&
|
|
1010
|
+
) : "") + "") && pe(g, v), C[0] & /*balances*/
|
|
1011
1011
|
2 && L !== (L = /*b*/
|
|
1012
1012
|
(b[55].amount ? (
|
|
1013
1013
|
/*formatBalance*/
|
|
@@ -1015,15 +1015,15 @@ function at(r) {
|
|
|
1015
1015
|
/*b*/
|
|
1016
1016
|
b[55].amount
|
|
1017
1017
|
)
|
|
1018
|
-
) : "0") + "") &&
|
|
1019
|
-
64 &&
|
|
1018
|
+
) : "0") + "") && pe(O, L), C[0] & /*currency*/
|
|
1019
|
+
64 && pe(
|
|
1020
1020
|
E,
|
|
1021
1021
|
/*currency*/
|
|
1022
1022
|
b[6]
|
|
1023
1023
|
);
|
|
1024
1024
|
},
|
|
1025
1025
|
d(b) {
|
|
1026
|
-
b &&
|
|
1026
|
+
b && ge(e);
|
|
1027
1027
|
}
|
|
1028
1028
|
};
|
|
1029
1029
|
}
|
|
@@ -1045,7 +1045,7 @@ function ot(r) {
|
|
|
1045
1045
|
t = re(), _(e, "class", "BalanceModalRowBoth");
|
|
1046
1046
|
},
|
|
1047
1047
|
m(c, v) {
|
|
1048
|
-
|
|
1048
|
+
me(c, e, v);
|
|
1049
1049
|
for (let g = 0; g < u.length; g += 1)
|
|
1050
1050
|
u[g] && u[g].m(e, null);
|
|
1051
1051
|
S(e, t);
|
|
@@ -1071,7 +1071,7 @@ function ot(r) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
},
|
|
1073
1073
|
d(c) {
|
|
1074
|
-
c &&
|
|
1074
|
+
c && ge(e), it(u, c);
|
|
1075
1075
|
}
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
@@ -1082,16 +1082,16 @@ function rt(r) {
|
|
|
1082
1082
|
e = V("button"), _(e, "class", "ShowBalanceModalOverlay");
|
|
1083
1083
|
},
|
|
1084
1084
|
m(u, c) {
|
|
1085
|
-
|
|
1085
|
+
me(u, e, c), t || (i = Ve(
|
|
1086
1086
|
e,
|
|
1087
1087
|
"click",
|
|
1088
1088
|
/*click_handler_3*/
|
|
1089
1089
|
r[29]
|
|
1090
1090
|
), t = !0);
|
|
1091
1091
|
},
|
|
1092
|
-
p:
|
|
1092
|
+
p: qe,
|
|
1093
1093
|
d(u) {
|
|
1094
|
-
u &&
|
|
1094
|
+
u && ge(e), t = !1, i();
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
@@ -1113,7 +1113,7 @@ function Vt(r) {
|
|
|
1113
1113
|
(r[5] ? "Mobile" : ""));
|
|
1114
1114
|
},
|
|
1115
1115
|
m(m, T) {
|
|
1116
|
-
|
|
1116
|
+
me(m, e, T), S(e, t), g.m(t, null), S(e, u), y && y.m(e, null), r[30](e);
|
|
1117
1117
|
},
|
|
1118
1118
|
p(m, T) {
|
|
1119
1119
|
v === (v = c(m)) && g ? g.p(m, T) : (g.d(1), g = v(m), g && (g.c(), g.m(t, null))), T[0] & /*mobileView*/
|
|
@@ -1121,16 +1121,16 @@ function Vt(r) {
|
|
|
1121
1121
|
(m[5] ? "Mobile" : "")) && _(t, "class", i), /*showBalance*/
|
|
1122
1122
|
m[4] ? y ? y.p(m, T) : (y = rt(m), y.c(), y.m(e, null)) : y && (y.d(1), y = null);
|
|
1123
1123
|
},
|
|
1124
|
-
i:
|
|
1125
|
-
o:
|
|
1124
|
+
i: qe,
|
|
1125
|
+
o: qe,
|
|
1126
1126
|
d(m) {
|
|
1127
|
-
m &&
|
|
1127
|
+
m && ge(e), g.d(), y && y.d(), r[30](null);
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
1130
|
}
|
|
1131
1131
|
function jt(r, e, t) {
|
|
1132
1132
|
let i;
|
|
1133
|
-
|
|
1133
|
+
yt(r, Rt, (n) => t(7, i = n));
|
|
1134
1134
|
let { userid: u = "" } = e, { session: c = "" } = e, { endpoint: v = "" } = e, { lang: g = "en" } = e, { mbsource: y } = e, { clientstyling: m = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: L = "" } = e, { customlocaleidentifier: O = "" } = e, { gmversion: k = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: b = "" } = e, { currencydecimal: C = "" } = e, { currencyprecision: j = "" } = e, M, z = !0, ie = !1, ne = !1, Z = !1, H = !1, x = window.navigator.userAgent, I, D = "", P = [], ye;
|
|
1135
1135
|
const p = {}, ve = ["totalCashAmount", "totalRealAmount"], Ae = () => {
|
|
1136
1136
|
fetch(L).then((n) => n.json()).then((n) => Object.keys(n).forEach((o) => Ze(o, n[o]))).catch((n) => console.log(n));
|
|
@@ -1379,12 +1379,12 @@ function jt(r, e, t) {
|
|
|
1379
1379
|
}, Q = (n) => n.data && n.data.type === "LogoutSuccessfull" && I.close(), Ue = () => {
|
|
1380
1380
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1381
1381
|
};
|
|
1382
|
-
|
|
1382
|
+
vt(() => (window.addEventListener("message", Q, !1), t(5, H = Tt(x)), () => {
|
|
1383
1383
|
window.removeEventListener("message", Q), I && I.close();
|
|
1384
1384
|
}));
|
|
1385
1385
|
const Pe = () => J("balance"), Ge = () => J("closebalance"), ke = () => Se(), a = () => J("closeBalance");
|
|
1386
1386
|
function l(n) {
|
|
1387
|
-
|
|
1387
|
+
wt[n ? "unshift" : "push"](() => {
|
|
1388
1388
|
M = n, t(0, M);
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
@@ -1397,9 +1397,9 @@ function jt(r, e, t) {
|
|
|
1397
1397
|
2125824 && v && u && c && k && Be(), r.$$.dirty[0] & /*translationurl*/
|
|
1398
1398
|
524288 && L && Ae(), r.$$.dirty[0] & /*balances*/
|
|
1399
1399
|
2 && p.Total && Ue(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1400
|
-
131073 && m && M &&
|
|
1401
|
-
262145 && T && M &&
|
|
1402
|
-
65537 && y && M &&
|
|
1400
|
+
131073 && m && M && St(M, m), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1401
|
+
262145 && T && M && Ct(M, T), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1402
|
+
65537 && y && M && _t(M, `${y}.Style`);
|
|
1403
1403
|
}, [
|
|
1404
1404
|
M,
|
|
1405
1405
|
p,
|
|
@@ -1441,7 +1441,7 @@ class Ht extends pt {
|
|
|
1441
1441
|
e,
|
|
1442
1442
|
jt,
|
|
1443
1443
|
Vt,
|
|
1444
|
-
|
|
1444
|
+
gt,
|
|
1445
1445
|
{
|
|
1446
1446
|
userid: 12,
|
|
1447
1447
|
session: 13,
|
|
@@ -1554,7 +1554,7 @@ class Ht extends pt {
|
|
|
1554
1554
|
this.$$set({ currencyprecision: e }), Y();
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
|
-
|
|
1557
|
+
At(Ht, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
|
|
1558
1558
|
export {
|
|
1559
1559
|
Ht as default
|
|
1560
1560
|
};
|