@everymatrix/casino-header-controller-nd 1.90.7 → 1.90.9
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-BH6BG36R.js +1291 -0
- package/components/CasinoHamburgerMenuNd-CuOroj3Y.js +1315 -0
- package/components/CasinoHamburgerMenuNd-NxKPo2-K.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-B95VpbsW.js → CasinoHeaderControllerNd-BiDGzPtn.js} +1890 -1789
- package/components/{CasinoHeaderControllerNd-D1S0W4fx.js → CasinoHeaderControllerNd-CHAFeQ-G.js} +1867 -1767
- package/components/CasinoHeaderControllerNd-Cy4RqjxM.cjs +18 -0
- package/components/{PlayerAccountBalanceModalNd-Crk2vT3z.js → PlayerAccountBalanceModalNd-CMv5mwmK.js} +70 -70
- package/components/{PlayerAccountBalanceModalNd-CIeCaHJR.js → PlayerAccountBalanceModalNd-D0CWoVA3.js} +33 -33
- package/components/{PlayerAccountBalanceModalNd-CKolmBwj.cjs → PlayerAccountBalanceModalNd-DwhvnS-B.cjs} +1 -1
- package/components/{PlayerDeposit-ikLnSVkR.js → PlayerDeposit-CNAsTv6k.js} +16 -16
- package/components/{PlayerDeposit-BMxv0N7J.js → PlayerDeposit-DFfvOVtM.js} +21 -21
- package/components/{PlayerDeposit-qPyH6U6-.cjs → PlayerDeposit-loJvKp78.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/lazy/{casino-hamburger-menu-nd-B59x5qq1.js → casino-hamburger-menu-nd-BPDYqmRL.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-BtiACLBX.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-DFsZnbAv.js → casino-hamburger-menu-nd-Ph1Fx2Kl.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-Av2-M8jH.js → player-account-balance-modal-nd-Dho2TM3F.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVSq7VyF.cjs → player-account-balance-modal-nd-IZBAft1T.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVUBazOl.js → player-account-balance-modal-nd-kV2PjYEL.js} +1 -1
- package/lazy/{player-deposit-B_pDyfA5.js → player-deposit-BNWSkpVt.js} +1 -1
- package/lazy/{player-deposit-Bi6yTqI3.cjs → player-deposit-CEFFQhy2.cjs} +1 -1
- package/lazy/{player-deposit-DlTrAf96.js → player-deposit-D6Sg3BWr.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoHamburgerMenuNd-BWo6pPAT.cjs +0 -1
- package/components/CasinoHamburgerMenuNd-BhNXQcMS.js +0 -1263
- package/components/CasinoHamburgerMenuNd-DuY3AlRJ.js +0 -1239
- package/components/CasinoHeaderControllerNd-CDENLWE2.cjs +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var ht = Object.defineProperty, mt = Object.defineProperties;
|
|
2
2
|
var gt = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var Ze = Object.getOwnPropertySymbols;
|
|
4
4
|
var yt = Object.prototype.hasOwnProperty, vt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var We = Math.pow,
|
|
5
|
+
var We = Math.pow, Je = (o, e, t) => e in o ? ht(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, $e = (o, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
yt.call(e, t) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
vt.call(e, t) &&
|
|
7
|
+
yt.call(e, t) && Je(o, t, e[t]);
|
|
8
|
+
if (Ze)
|
|
9
|
+
for (var t of Ze(e))
|
|
10
|
+
vt.call(e, t) && Je(o, t, e[t]);
|
|
11
11
|
return o;
|
|
12
12
|
}, et = (o, e) => mt(o, gt(e));
|
|
13
13
|
var tt = (o, e, t) => new Promise((h, g) => {
|
|
@@ -26,7 +26,7 @@ var tt = (o, e, t) => new Promise((h, g) => {
|
|
|
26
26
|
}, v = (d) => d.done ? h(d.value) : Promise.resolve(d.value).then(c, l);
|
|
27
27
|
v((t = t.apply(o, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as Bt, $ as bt, U as wt, S as Tt, i as St, s as At, f as X, b as Ct, z as Ye, d as ge, q as R, h as ye, r as x, j as V, v as me, k as _t, o as Rt, l as Lt, u as Fe, y as xt, A as Ce,
|
|
29
|
+
import { a as Bt, $ as bt, U as wt, S as Tt, i as St, s as At, f as X, b as Ct, z as Ye, d as ge, q as R, h as ye, r as x, j as V, v as me, k as _t, o as Rt, l as Lt, u as Fe, y as xt, A as Ce, C as _e, B as nt, I as Et, m as Ge, n as pt, K as kt, O as Mt, P as Dt, Q as Ot, R as Nt, T as Ft } from "./CasinoHeaderControllerNd-BiDGzPtn.js";
|
|
30
30
|
function at(o, e) {
|
|
31
31
|
Bt(o, e);
|
|
32
32
|
}
|
|
@@ -277,7 +277,7 @@ var Qe = { exports: {} };
|
|
|
277
277
|
*/
|
|
278
278
|
(function(o, e) {
|
|
279
279
|
(function(t) {
|
|
280
|
-
var h = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, v = t.ActiveXObject, d = t.EventSource, B = t.document, F = t.Promise,
|
|
280
|
+
var h = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, v = t.ActiveXObject, d = t.EventSource, B = t.document, F = t.Promise, K = t.fetch, U = t.Response, A = t.TextDecoder, w = t.TextEncoder, P = t.AbortController;
|
|
281
281
|
if (typeof window != "undefined" && typeof B != "undefined" && !("readyState" in B) && B.body == null && (B.readyState = "loading", window.addEventListener("load", function(n) {
|
|
282
282
|
B.readyState = "complete";
|
|
283
283
|
}, !1)), c == null && v != null && (c = function() {
|
|
@@ -289,8 +289,8 @@ var Qe = { exports: {} };
|
|
|
289
289
|
}), Date.now || (Date.now = function() {
|
|
290
290
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
291
291
|
}), P == null) {
|
|
292
|
-
var be =
|
|
293
|
-
|
|
292
|
+
var be = K;
|
|
293
|
+
K = function(n, i) {
|
|
294
294
|
var f = i.signal;
|
|
295
295
|
return be(n, { headers: i.headers, credentials: i.credentials, cache: i.cache }).then(function(s) {
|
|
296
296
|
var T = s.body.getReader();
|
|
@@ -351,16 +351,16 @@ var Qe = { exports: {} };
|
|
|
351
351
|
return !1;
|
|
352
352
|
};
|
|
353
353
|
(A == null || w == null || !Re()) && (A = we);
|
|
354
|
-
var
|
|
354
|
+
var q = function() {
|
|
355
355
|
};
|
|
356
|
-
function
|
|
357
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
356
|
+
function J(n) {
|
|
357
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = q, this.onload = q, this.onerror = q, this.onreadystatechange = q, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = q;
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
J.prototype.open = function(n, i) {
|
|
360
360
|
this._abort(!0);
|
|
361
361
|
var f = this, s = this._xhr, T = 1, y = 0;
|
|
362
362
|
this._abort = function(S) {
|
|
363
|
-
f._sendTimeout !== 0 && (g(f._sendTimeout), f._sendTimeout = 0), (T === 1 || T === 2 || T === 3) && (T = 4, s.onload =
|
|
363
|
+
f._sendTimeout !== 0 && (g(f._sendTimeout), f._sendTimeout = 0), (T === 1 || T === 2 || T === 3) && (T = 4, s.onload = q, s.onerror = q, s.onabort = q, s.onprogress = q, s.onreadystatechange = q, s.abort(), y !== 0 && (g(y), y = 0), S || (f.readyState = 4, f.onabort(null), f.onreadystatechange())), T = 0;
|
|
364
364
|
};
|
|
365
365
|
var C = function() {
|
|
366
366
|
if (T === 1) {
|
|
@@ -387,7 +387,7 @@ var Qe = { exports: {} };
|
|
|
387
387
|
}
|
|
388
388
|
}, _ = function(S, z) {
|
|
389
389
|
if ((z == null || z.preventDefault == null) && (z = {
|
|
390
|
-
preventDefault:
|
|
390
|
+
preventDefault: q
|
|
391
391
|
}), j(), T === 1 || T === 2 || T === 3) {
|
|
392
392
|
if (T = 4, y !== 0 && (g(y), y = 0), f.readyState = 4, S === "load")
|
|
393
393
|
f.onload(z);
|
|
@@ -417,16 +417,16 @@ var Qe = { exports: {} };
|
|
|
417
417
|
}), ("contentType" in s || !("ontimeout" in c.prototype)) && (i += (i.indexOf("?") === -1 ? "?" : "&") + "padding=true"), s.open(n, i, !0), "readyState" in s && (y = h(function() {
|
|
418
418
|
I();
|
|
419
419
|
}, 0));
|
|
420
|
-
},
|
|
420
|
+
}, J.prototype.abort = function() {
|
|
421
421
|
this._abort(!1);
|
|
422
|
-
},
|
|
422
|
+
}, J.prototype.getResponseHeader = function(n) {
|
|
423
423
|
return this._contentType;
|
|
424
|
-
},
|
|
424
|
+
}, J.prototype.setRequestHeader = function(n, i) {
|
|
425
425
|
var f = this._xhr;
|
|
426
426
|
"setRequestHeader" in f && f.setRequestHeader(n, i);
|
|
427
|
-
},
|
|
427
|
+
}, J.prototype.getAllResponseHeaders = function() {
|
|
428
428
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
429
|
-
},
|
|
429
|
+
}, J.prototype.send = function() {
|
|
430
430
|
if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && B != null && B.readyState != null && B.readyState !== "complete") {
|
|
431
431
|
var n = this;
|
|
432
432
|
n._sendTimeout = h(function() {
|
|
@@ -492,7 +492,7 @@ var Qe = { exports: {} };
|
|
|
492
492
|
}
|
|
493
493
|
ae.prototype.open = function(n, i, f, s, T, y, C) {
|
|
494
494
|
var j = null, _ = new P(), D = _.signal, I = new A();
|
|
495
|
-
return
|
|
495
|
+
return K(T, {
|
|
496
496
|
headers: C,
|
|
497
497
|
credentials: y ? "include" : "same-origin",
|
|
498
498
|
signal: D,
|
|
@@ -593,10 +593,10 @@ var Qe = { exports: {} };
|
|
|
593
593
|
function Ve() {
|
|
594
594
|
return c != null && "withCredentials" in c.prototype || l == null ? new c() : new l();
|
|
595
595
|
}
|
|
596
|
-
var
|
|
596
|
+
var Ke = K != null && U != null && "body" in U.prototype;
|
|
597
597
|
function He(n, i, f) {
|
|
598
598
|
i = String(i);
|
|
599
|
-
var s = !!f.withCredentials, T = f.lastEventIdQueryParameterName || "lastEventId", y = ze(1e3), C = je(f.heartbeatTimeout, 45e3), j = "", _ = y, D = !1, I = 0, S = f.headers || {}, z = f.Transport, pe =
|
|
599
|
+
var s = !!f.withCredentials, T = f.lastEventIdQueryParameterName || "lastEventId", y = ze(1e3), C = je(f.heartbeatTimeout, 45e3), j = "", _ = y, D = !1, I = 0, S = f.headers || {}, z = f.Transport, pe = Ke && z == null ? void 0 : new J(z != null ? new z() : Ve()), ke = z != null && typeof z != "string" ? new z() : pe == null ? new ae() : new ce(), a = void 0, p = 0, m = Te, b = "", N = "", E = "", u = "", k = ne, ie = 0, re = 0, qe = function(Q, Y, se, le) {
|
|
600
600
|
if (m === Be)
|
|
601
601
|
if (Q === 200 && se != null && Xe.test(se)) {
|
|
602
602
|
m = oe, D = Date.now(), _ = y, n.readyState = oe;
|
|
@@ -607,14 +607,14 @@ var Qe = { exports: {} };
|
|
|
607
607
|
});
|
|
608
608
|
n.dispatchEvent(ee), xe(n, n.onopen, ee);
|
|
609
609
|
} else {
|
|
610
|
-
var
|
|
611
|
-
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")),
|
|
610
|
+
var Z = "";
|
|
611
|
+
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")), Z = "EventSource's response has a status " + Q + " " + Y + " that is not 200. Aborting the connection.") : Z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Oe();
|
|
612
612
|
var ee = new G("error", {
|
|
613
613
|
status: Q,
|
|
614
614
|
statusText: Y,
|
|
615
615
|
headers: le
|
|
616
616
|
});
|
|
617
|
-
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(
|
|
617
|
+
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(Z);
|
|
618
618
|
}
|
|
619
619
|
}, De = function(Q) {
|
|
620
620
|
if (m === oe) {
|
|
@@ -624,14 +624,14 @@ var Qe = { exports: {} };
|
|
|
624
624
|
}
|
|
625
625
|
var ee = (Y !== -1 ? u : "") + Q.slice(0, Y + 1);
|
|
626
626
|
u = (Y === -1 ? u : "") + Q.slice(Y + 1), Q !== "" && (D = Date.now(), I += Q.length);
|
|
627
|
-
for (var
|
|
628
|
-
var le = ee.charCodeAt(
|
|
627
|
+
for (var Z = 0; Z < ee.length; Z += 1) {
|
|
628
|
+
var le = ee.charCodeAt(Z);
|
|
629
629
|
if (k === de && le === 10)
|
|
630
630
|
k = ne;
|
|
631
631
|
else if (k === de && (k = ne), le === 13 || le === 10) {
|
|
632
632
|
if (k !== ne) {
|
|
633
|
-
k === Me && (re =
|
|
634
|
-
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re <
|
|
633
|
+
k === Me && (re = Z + 1);
|
|
634
|
+
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re < Z && ee.charCodeAt(re) === 32 ? 1 : 0), Z);
|
|
635
635
|
Se === "data" ? (b += `
|
|
636
636
|
`, b += Ae) : Se === "id" ? N = Ae : Se === "event" ? E = Ae : Se === "retry" ? (y = je(Ae, y), _ = y) : Se === "heartbeatTimeout" && (C = je(Ae, C), p !== 0 && (g(p), p = h(function() {
|
|
637
637
|
he();
|
|
@@ -651,7 +651,7 @@ var Qe = { exports: {} };
|
|
|
651
651
|
}
|
|
652
652
|
k = le === 13 ? de : ne;
|
|
653
653
|
} else
|
|
654
|
-
k === ne && (ie =
|
|
654
|
+
k === ne && (ie = Z, k = Me), k === Me ? le === 58 && (re = Z + 1, k = r) : k === r && (k = Ee);
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
}, Pe = function(Q) {
|
|
@@ -688,12 +688,12 @@ var Qe = { exports: {} };
|
|
|
688
688
|
}
|
|
689
689
|
var le = n.withCredentials, ee = {};
|
|
690
690
|
ee.Accept = "text/event-stream";
|
|
691
|
-
var
|
|
692
|
-
if (
|
|
693
|
-
for (var Se in
|
|
694
|
-
Object.prototype.hasOwnProperty.call(
|
|
691
|
+
var Z = n.headers;
|
|
692
|
+
if (Z != null)
|
|
693
|
+
for (var Se in Z)
|
|
694
|
+
Object.prototype.hasOwnProperty.call(Z, Se) && (ee[Se] = Z[Se]);
|
|
695
695
|
try {
|
|
696
|
-
a = ke.open(pe,
|
|
696
|
+
a = ke.open(pe, qe, De, Pe, Y, le, ee);
|
|
697
697
|
} catch (Ae) {
|
|
698
698
|
throw Oe(), Ae;
|
|
699
699
|
}
|
|
@@ -727,7 +727,7 @@ function rt(o, e, t) {
|
|
|
727
727
|
return h[67] = e[t], h;
|
|
728
728
|
}
|
|
729
729
|
function Ht(o) {
|
|
730
|
-
let e, t, h, g, c, l, v, d, B, F,
|
|
730
|
+
let e, t, h, g, c, l, v, d, B, F, K, U, A = (
|
|
731
731
|
/*showBalance*/
|
|
732
732
|
o[6] && st(o)
|
|
733
733
|
);
|
|
@@ -740,12 +740,12 @@ function Ht(o) {
|
|
|
740
740
|
o[5] ? "TriangleActive" : "TriangleInactive"), R(e, "class", "BalanceValue");
|
|
741
741
|
},
|
|
742
742
|
m(w, P) {
|
|
743
|
-
ye(w, e, P), x(e, t), x(t, h), x(e, g), x(e, c), x(c, l), x(l, v), ye(w, B, P), A && A.m(w, P), ye(w, F, P),
|
|
743
|
+
ye(w, e, P), x(e, t), x(t, h), x(e, g), x(e, c), x(c, l), x(l, v), ye(w, B, P), A && A.m(w, P), ye(w, F, P), K || (U = Fe(
|
|
744
744
|
e,
|
|
745
745
|
"click",
|
|
746
746
|
/*click_handler*/
|
|
747
747
|
o[34]
|
|
748
|
-
),
|
|
748
|
+
), K = !0);
|
|
749
749
|
},
|
|
750
750
|
p(w, P) {
|
|
751
751
|
P[0] & /*displayBalance*/
|
|
@@ -759,7 +759,7 @@ function Ht(o) {
|
|
|
759
759
|
w[6] ? A ? A.p(w, P) : (A = st(w), A.c(), A.m(F.parentNode, F)) : A && (A.d(1), A = null);
|
|
760
760
|
},
|
|
761
761
|
d(w) {
|
|
762
|
-
w && (ge(e), ge(B), ge(F)), A && A.d(w),
|
|
762
|
+
w && (ge(e), ge(B), ge(F)), A && A.d(w), K = !1, U();
|
|
763
763
|
}
|
|
764
764
|
};
|
|
765
765
|
}
|
|
@@ -789,10 +789,10 @@ function st(o) {
|
|
|
789
789
|
let e, t, h, g, c, l, v, d, B = (
|
|
790
790
|
/*$_*/
|
|
791
791
|
o[9]("Title") + ""
|
|
792
|
-
), F,
|
|
792
|
+
), F, K, U, A, w, P, be = (
|
|
793
793
|
/*$_*/
|
|
794
794
|
o[9]("DepositButton") + ""
|
|
795
|
-
), we, Re,
|
|
795
|
+
), we, Re, q, J, fe, te, ce, ve, ae = Ge(Object.keys(
|
|
796
796
|
/*balances*/
|
|
797
797
|
o[3]
|
|
798
798
|
)), M = [];
|
|
@@ -807,20 +807,20 @@ function st(o) {
|
|
|
807
807
|
);
|
|
808
808
|
return {
|
|
809
809
|
c() {
|
|
810
|
-
e = V("div"), t = V("button"), g = me(), c = V("div"), l = V("div"), v = V("div"), d = V("p"), F = _e(B),
|
|
810
|
+
e = V("div"), t = V("button"), g = me(), c = V("div"), l = V("div"), v = V("div"), d = V("p"), F = _e(B), K = me(), U = V("div");
|
|
811
811
|
for (let L = 0; L < M.length; L += 1)
|
|
812
812
|
M[L].c();
|
|
813
|
-
A = me(), w = V("div"), P = V("button"), we = _e(be), Re = me(), W && W.c(),
|
|
814
|
-
(o[5] ? "Open" : "")), R(d, "class", "BalanceModalTitle"), R(v, "class", "BalanceModalHeader"), R(U, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(w, "class", "BalanceModalFooter"), R(l, "class",
|
|
813
|
+
A = me(), w = V("div"), P = V("button"), we = _e(be), Re = me(), W && W.c(), q = me(), O && O.c(), R(t, "class", h = "BalanceModalClose " + /*isModalDisplayed*/
|
|
814
|
+
(o[5] ? "Open" : "")), R(d, "class", "BalanceModalTitle"), R(v, "class", "BalanceModalHeader"), R(U, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(w, "class", "BalanceModalFooter"), R(l, "class", J = "ModalContent " + /*isModalDisplayed*/
|
|
815
815
|
(o[5] ? "Open" : "")), R(c, "class", fe = "BalanceModal " + /*isModalDisplayed*/
|
|
816
816
|
(o[5] ? "Open" : "")), R(e, "class", te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
817
817
|
(o[5] ? "Open" : ""));
|
|
818
818
|
},
|
|
819
819
|
m(L, G) {
|
|
820
|
-
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, v), x(v, d), x(d, F), x(l,
|
|
820
|
+
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, v), x(v, d), x(d, F), x(l, K), x(l, U);
|
|
821
821
|
for (let H = 0; H < M.length; H += 1)
|
|
822
822
|
M[H] && M[H].m(U, null);
|
|
823
|
-
x(l, A), x(l, w), x(w, P), x(P, we), x(w, Re), W && W.m(w, null), x(w,
|
|
823
|
+
x(l, A), x(l, w), x(w, P), x(P, we), x(w, Re), W && W.m(w, null), x(w, q), O && O.m(w, null), ce || (ve = [
|
|
824
824
|
Fe(
|
|
825
825
|
t,
|
|
826
826
|
"click",
|
|
@@ -858,10 +858,10 @@ function st(o) {
|
|
|
858
858
|
G[0] & /*$_*/
|
|
859
859
|
512 && be !== (be = /*$_*/
|
|
860
860
|
L[9]("DepositButton") + "") && Ce(we, be), /*balancelimitsbutton*/
|
|
861
|
-
L[0] === "true" ? W ? W.p(L, G) : (W = ut(L), W.c(), W.m(w,
|
|
861
|
+
L[0] === "true" ? W ? W.p(L, G) : (W = ut(L), W.c(), W.m(w, q)) : W && (W.d(1), W = null), /*activebonusesbutton*/
|
|
862
862
|
L[1] === "true" ? O ? O.p(L, G) : (O = dt(L), O.c(), O.m(w, null)) : O && (O.d(1), O = null), G[0] & /*isModalDisplayed*/
|
|
863
|
-
32 &&
|
|
864
|
-
(L[5] ? "Open" : "")) && R(l, "class",
|
|
863
|
+
32 && J !== (J = "ModalContent " + /*isModalDisplayed*/
|
|
864
|
+
(L[5] ? "Open" : "")) && R(l, "class", J), G[0] & /*isModalDisplayed*/
|
|
865
865
|
32 && fe !== (fe = "BalanceModal " + /*isModalDisplayed*/
|
|
866
866
|
(L[5] ? "Open" : "")) && R(c, "class", fe), G[0] & /*isModalDisplayed*/
|
|
867
867
|
32 && te !== (te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
@@ -885,7 +885,7 @@ function lt(o) {
|
|
|
885
885
|
/*balance*/
|
|
886
886
|
o[67]
|
|
887
887
|
) + ""
|
|
888
|
-
), v, d, B, F,
|
|
888
|
+
), v, d, B, F, K = (
|
|
889
889
|
/*formatBalance*/
|
|
890
890
|
o[11](
|
|
891
891
|
/*balance*/
|
|
@@ -894,7 +894,7 @@ function lt(o) {
|
|
|
894
894
|
), U;
|
|
895
895
|
return {
|
|
896
896
|
c() {
|
|
897
|
-
e = V("div"), t = V("p"), g = _e(h), c = me(), v = _e(l), d = me(), B = V("p"), F = V("span"), U = _e(
|
|
897
|
+
e = V("div"), t = V("p"), g = _e(h), c = me(), v = _e(l), d = me(), B = V("p"), F = V("span"), U = _e(K), R(t, "class", "BalanceModalText"), R(F, "class", "BalanceModalAmount"), R(B, "class", "BalanceModalValue"), R(e, "class", "BalanceModalRowLine");
|
|
898
898
|
},
|
|
899
899
|
m(A, w) {
|
|
900
900
|
ye(A, e, w), x(e, t), x(t, g), x(t, c), x(t, v), x(e, d), x(e, B), x(B, F), x(F, U);
|
|
@@ -911,11 +911,11 @@ function lt(o) {
|
|
|
911
911
|
/*balance*/
|
|
912
912
|
A[67]
|
|
913
913
|
) + "") && Ce(v, l), w[0] & /*balances*/
|
|
914
|
-
8 &&
|
|
914
|
+
8 && K !== (K = /*formatBalance*/
|
|
915
915
|
A[11](
|
|
916
916
|
/*balance*/
|
|
917
917
|
A[67].amount
|
|
918
|
-
) + "") && Ce(U,
|
|
918
|
+
) + "") && Ce(U, K);
|
|
919
919
|
},
|
|
920
920
|
d(A) {
|
|
921
921
|
A && ge(e);
|
|
@@ -1084,9 +1084,9 @@ function Vt(o) {
|
|
|
1084
1084
|
function Pt(o, e, t) {
|
|
1085
1085
|
let h;
|
|
1086
1086
|
_t(o, Ft, (a) => t(9, h = a));
|
|
1087
|
-
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: v = "en" } = e, { mbsource: d = "" } = e, { clientstyling: B = "" } = e, { clientstylingurl: F = "" } = e, { translationurl:
|
|
1087
|
+
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: v = "en" } = e, { mbsource: d = "" } = e, { clientstyling: B = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: K = "" } = e, { gmversion: U = "gm16" } = e, { displaybalanceoption: A = "All" } = e, { totalcalculationmode: w = "totalCashAmount" } = e, { primarybalancemode: P } = e, { balancelimitsbutton: be = "false" } = e, { activebonusesbutton: we = "false" } = e, { hideproducttype: Re = "" } = e, { shownegativebalance: q = "false" } = e, { currencylocale: J = "en" } = e, { currencydisplay: fe = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ce = "0" } = e, { customdisplayformat: ve = "" } = e, { alwaysshowdecimals: ae = "true" } = e, M, W, O = !0, L = !1, G = !1, H = !1, Te = !1, Be = window.navigator.userAgent, oe, ue = "", de = [], ne, Me = "0";
|
|
1088
1088
|
const r = {}, Ee = ["totalCashAmount", "totalRealAmount"], Xe = () => {
|
|
1089
|
-
fetch(
|
|
1089
|
+
fetch(K).then((a) => a.json()).then((a) => Object.keys(a).forEach((p) => at(p, a[p]))).catch((a) => console.log(a));
|
|
1090
1090
|
};
|
|
1091
1091
|
Object.keys(ot).forEach((a) => at(a, ot[a]));
|
|
1092
1092
|
const Le = (a) => {
|
|
@@ -1118,7 +1118,7 @@ function Pt(o, e, t) {
|
|
|
1118
1118
|
}, Ie = (a) => {
|
|
1119
1119
|
if (ve)
|
|
1120
1120
|
return je(a);
|
|
1121
|
-
const p =
|
|
1121
|
+
const p = J || v, m = {
|
|
1122
1122
|
style: "currency",
|
|
1123
1123
|
currency: ue,
|
|
1124
1124
|
useGrouping: !0,
|
|
@@ -1145,11 +1145,11 @@ function Pt(o, e, t) {
|
|
|
1145
1145
|
else if (N.toLowerCase() === "amount") {
|
|
1146
1146
|
let u = ",", k = ".", ie = 2;
|
|
1147
1147
|
E && (E[0] !== " " && (u = E[0]), E[1] !== " " && (k = E[1]), E[2] !== " " && !isNaN(Number(E[2])) && (ie = Number(E[2])));
|
|
1148
|
-
let [re,
|
|
1148
|
+
let [re, qe] = String(Math.floor(a * We(10, ie)) / We(10, ie)).split(".");
|
|
1149
1149
|
m += re[0];
|
|
1150
1150
|
for (let he = 1; he < re.length; ++he)
|
|
1151
1151
|
(re.length - he) % 3 === 0 ? m += u + re[he] : m += re[he];
|
|
1152
|
-
let De =
|
|
1152
|
+
let De = qe || "";
|
|
1153
1153
|
const Pe = ae === "true", Oe = Number(te);
|
|
1154
1154
|
if (Pe)
|
|
1155
1155
|
De = De.padEnd(Oe || 2, "0").substring(0, Oe);
|
|
@@ -1217,7 +1217,7 @@ function Pt(o, e, t) {
|
|
|
1217
1217
|
r.Real.length === 0 ? r.Real.push({ amount: u.amount }) : t(3, r.Real[0].amount += u.amount, r);
|
|
1218
1218
|
break;
|
|
1219
1219
|
case "RealNegativeRemainder":
|
|
1220
|
-
if (u.type === "RealNegativeRemainder" &&
|
|
1220
|
+
if (u.type === "RealNegativeRemainder" && q !== "true" || (u.creditLine && r.Credit.length === 0 && r.Credit.push({ amount: u.creditLine }), w === "totalRealAmount"))
|
|
1221
1221
|
continue;
|
|
1222
1222
|
r.Real.length === 0 ? r.Real.push({ amount: u.amount }) : t(3, r.Real[0].amount += u.amount, r);
|
|
1223
1223
|
break;
|
|
@@ -1258,7 +1258,7 @@ function Pt(o, e, t) {
|
|
|
1258
1258
|
});
|
|
1259
1259
|
break;
|
|
1260
1260
|
case "RealNegativeRemainder":
|
|
1261
|
-
if (u.type === "RealNegativeRemainder" &&
|
|
1261
|
+
if (u.type === "RealNegativeRemainder" && q !== "true")
|
|
1262
1262
|
continue;
|
|
1263
1263
|
u.creditLine && r.Credit.push({
|
|
1264
1264
|
amount: u.creditLine,
|
|
@@ -1286,7 +1286,7 @@ function Pt(o, e, t) {
|
|
|
1286
1286
|
a = new URL(`${l}/v2/player/${g}/information/updates`), p = (N) => n(N);
|
|
1287
1287
|
break;
|
|
1288
1288
|
case "gmcore":
|
|
1289
|
-
a = new URL(`${l}/v1/player/${g}/balance/updates`), p = (N) =>
|
|
1289
|
+
a = new URL(`${l}/v1/player/${g}/balance/updates`), p = (N) => Ke(N);
|
|
1290
1290
|
break;
|
|
1291
1291
|
}
|
|
1292
1292
|
const m = {
|
|
@@ -1303,7 +1303,7 @@ function Pt(o, e, t) {
|
|
|
1303
1303
|
return;
|
|
1304
1304
|
}
|
|
1305
1305
|
return p;
|
|
1306
|
-
},
|
|
1306
|
+
}, Ke = (a) => {
|
|
1307
1307
|
var N, E;
|
|
1308
1308
|
const p = Ve(a.data);
|
|
1309
1309
|
if (!p) {
|
|
@@ -1334,7 +1334,7 @@ function Pt(o, e, t) {
|
|
|
1334
1334
|
let a = 0;
|
|
1335
1335
|
for (const m of ["Real", "Bonus"])
|
|
1336
1336
|
for (const b of r[m])
|
|
1337
|
-
|
|
1337
|
+
q === "true" ? a += b.amount : a += Math.max(b.amount, 0);
|
|
1338
1338
|
t(3, r.Total[0].amount = a, r);
|
|
1339
1339
|
break;
|
|
1340
1340
|
case "totalRealAmount":
|
|
@@ -1416,12 +1416,12 @@ function Pt(o, e, t) {
|
|
|
1416
1416
|
});
|
|
1417
1417
|
}
|
|
1418
1418
|
return o.$$set = (a) => {
|
|
1419
|
-
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, v = a.lang), "mbsource" in a && t(19, d = a.mbsource), "clientstyling" in a && t(20, B = a.clientstyling), "clientstylingurl" in a && t(21, F = a.clientstylingurl), "translationurl" in a && t(22,
|
|
1419
|
+
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, v = a.lang), "mbsource" in a && t(19, d = a.mbsource), "clientstyling" in a && t(20, B = a.clientstyling), "clientstylingurl" in a && t(21, F = a.clientstylingurl), "translationurl" in a && t(22, K = a.translationurl), "gmversion" in a && t(23, U = a.gmversion), "displaybalanceoption" in a && t(24, A = a.displaybalanceoption), "totalcalculationmode" in a && t(14, w = a.totalcalculationmode), "primarybalancemode" in a && t(25, P = a.primarybalancemode), "balancelimitsbutton" in a && t(0, be = a.balancelimitsbutton), "activebonusesbutton" in a && t(1, we = a.activebonusesbutton), "hideproducttype" in a && t(26, Re = a.hideproducttype), "shownegativebalance" in a && t(27, q = a.shownegativebalance), "currencylocale" in a && t(28, J = a.currencylocale), "currencydisplay" in a && t(29, fe = a.currencydisplay), "maximumfractiondigits" in a && t(30, te = a.maximumfractiondigits), "minimumfractiondigits" in a && t(31, ce = a.minimumfractiondigits), "customdisplayformat" in a && t(32, ve = a.customdisplayformat), "alwaysshowdecimals" in a && t(33, ae = a.alwaysshowdecimals);
|
|
1420
1420
|
}, o.$$.update = () => {
|
|
1421
1421
|
o.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1422
1422
|
25657344 && l && g && c && v && U && A && T(), o.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1423
1423
|
8617984 && l && g && c && U && $(), o.$$.dirty[0] & /*translationurl*/
|
|
1424
|
-
4194304 &&
|
|
1424
|
+
4194304 && K && Xe(), o.$$.dirty[0] & /*balances*/
|
|
1425
1425
|
8 && r.Total && C(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1426
1426
|
1048580 && B && M && Mt(M, B), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1427
1427
|
2097156 && F && M && Dt(M, F), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1457,13 +1457,13 @@ function Pt(o, e, t) {
|
|
|
1457
1457
|
d,
|
|
1458
1458
|
B,
|
|
1459
1459
|
F,
|
|
1460
|
-
|
|
1460
|
+
K,
|
|
1461
1461
|
U,
|
|
1462
1462
|
A,
|
|
1463
1463
|
P,
|
|
1464
1464
|
Re,
|
|
1465
|
-
|
|
1466
|
-
|
|
1465
|
+
q,
|
|
1466
|
+
J,
|
|
1467
1467
|
fe,
|
|
1468
1468
|
te,
|
|
1469
1469
|
ce,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as lt, $ as ct, V as ut, S as dt, i as ft, s as pt, f as X, b as ht, A as qe, d as ge, r as R, h as ye, u as x, j as U, w as me, k as mt, l as gt, o as yt, m as vt, v as Fe, z as Bt, B as Ce,
|
|
2
|
-
function
|
|
1
|
+
import { a as lt, $ as ct, V as ut, S as dt, i as ft, s as pt, f as X, b as ht, A as qe, d as ge, r as R, h as ye, u as x, j as U, w as me, k as mt, l as gt, o as yt, m as vt, v as Fe, z as Bt, B as Ce, E as _e, D as Qe, K as bt, n as Ge, p as st, M as wt, Q as Tt, R as St, T as At, U as Ct } from "./CasinoHeaderControllerNd-CHAFeQ-G.js";
|
|
2
|
+
function Ze(s, e) {
|
|
3
3
|
lt(s, e);
|
|
4
4
|
}
|
|
5
5
|
function _t(s) {
|
|
6
6
|
ct.set(s);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const Je = {
|
|
9
9
|
en: {
|
|
10
10
|
Title: "Your Balance",
|
|
11
11
|
Total: "Total Balance",
|
|
@@ -325,10 +325,10 @@ var Ye = { exports: {} };
|
|
|
325
325
|
(A == null || b == null || !Re()) && (A = we);
|
|
326
326
|
var W = function() {
|
|
327
327
|
};
|
|
328
|
-
function
|
|
328
|
+
function J(n) {
|
|
329
329
|
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = W, this.onload = W, this.onerror = W, this.onreadystatechange = W, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = W;
|
|
330
330
|
}
|
|
331
|
-
|
|
331
|
+
J.prototype.open = function(n, o) {
|
|
332
332
|
this._abort(!0);
|
|
333
333
|
var u = this, r = this._xhr, w = 1, m = 0;
|
|
334
334
|
this._abort = function(T) {
|
|
@@ -389,16 +389,16 @@ var Ye = { exports: {} };
|
|
|
389
389
|
}), ("contentType" in r || !("ontimeout" in c.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), r.open(n, o, !0), "readyState" in r && (m = p(function() {
|
|
390
390
|
N();
|
|
391
391
|
}, 0));
|
|
392
|
-
},
|
|
392
|
+
}, J.prototype.abort = function() {
|
|
393
393
|
this._abort(!1);
|
|
394
|
-
},
|
|
394
|
+
}, J.prototype.getResponseHeader = function(n) {
|
|
395
395
|
return this._contentType;
|
|
396
|
-
},
|
|
396
|
+
}, J.prototype.setRequestHeader = function(n, o) {
|
|
397
397
|
var u = this._xhr;
|
|
398
398
|
"setRequestHeader" in u && u.setRequestHeader(n, o);
|
|
399
|
-
},
|
|
399
|
+
}, J.prototype.getAllResponseHeaders = function() {
|
|
400
400
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
401
|
-
},
|
|
401
|
+
}, J.prototype.send = function() {
|
|
402
402
|
if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && S != null && S.readyState != null && S.readyState !== "complete") {
|
|
403
403
|
var n = this;
|
|
404
404
|
n._sendTimeout = p(function() {
|
|
@@ -568,7 +568,7 @@ var Ye = { exports: {} };
|
|
|
568
568
|
var Ke = K != null && V != null && "body" in V.prototype;
|
|
569
569
|
function He(n, o, u) {
|
|
570
570
|
o = String(o);
|
|
571
|
-
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe = Ke && z == null ? void 0 : new
|
|
571
|
+
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe = Ke && z == null ? void 0 : new J(z != null ? new z() : Ue()), ke = z != null && typeof z != "string" ? new z() : pe == null ? new ae() : new ce(), a = void 0, d = 0, f = Te, y = "", F = "", I = "", v = "", E = ne, ie = 0, re = 0, We = function(Q, Y, se, le) {
|
|
572
572
|
if (f === Be)
|
|
573
573
|
if (Q === 200 && se != null && Xe.test(se)) {
|
|
574
574
|
f = oe, M = Date.now(), _ = m, n.readyState = oe;
|
|
@@ -579,14 +579,14 @@ var Ye = { exports: {} };
|
|
|
579
579
|
});
|
|
580
580
|
n.dispatchEvent(ee), xe(n, n.onopen, ee);
|
|
581
581
|
} else {
|
|
582
|
-
var
|
|
583
|
-
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")),
|
|
582
|
+
var Z = "";
|
|
583
|
+
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")), Z = "EventSource's response has a status " + Q + " " + Y + " that is not 200. Aborting the connection.") : Z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Oe();
|
|
584
584
|
var ee = new G("error", {
|
|
585
585
|
status: Q,
|
|
586
586
|
statusText: Y,
|
|
587
587
|
headers: le
|
|
588
588
|
});
|
|
589
|
-
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(
|
|
589
|
+
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(Z);
|
|
590
590
|
}
|
|
591
591
|
}, De = function(Q) {
|
|
592
592
|
if (f === oe) {
|
|
@@ -596,14 +596,14 @@ var Ye = { exports: {} };
|
|
|
596
596
|
}
|
|
597
597
|
var ee = (Y !== -1 ? v : "") + Q.slice(0, Y + 1);
|
|
598
598
|
v = (Y === -1 ? v : "") + Q.slice(Y + 1), Q !== "" && (M = Date.now(), N += Q.length);
|
|
599
|
-
for (var
|
|
600
|
-
var le = ee.charCodeAt(
|
|
599
|
+
for (var Z = 0; Z < ee.length; Z += 1) {
|
|
600
|
+
var le = ee.charCodeAt(Z);
|
|
601
601
|
if (E === de && le === 10)
|
|
602
602
|
E = ne;
|
|
603
603
|
else if (E === de && (E = ne), le === 13 || le === 10) {
|
|
604
604
|
if (E !== ne) {
|
|
605
|
-
E === Me && (re =
|
|
606
|
-
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re <
|
|
605
|
+
E === Me && (re = Z + 1);
|
|
606
|
+
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re < Z && ee.charCodeAt(re) === 32 ? 1 : 0), Z);
|
|
607
607
|
Se === "data" ? (y += `
|
|
608
608
|
`, y += Ae) : Se === "id" ? F = Ae : Se === "event" ? I = Ae : Se === "retry" ? (m = je(Ae, m), _ = m) : Se === "heartbeatTimeout" && (C = je(Ae, C), d !== 0 && (g(d), d = p(function() {
|
|
609
609
|
he();
|
|
@@ -623,7 +623,7 @@ var Ye = { exports: {} };
|
|
|
623
623
|
}
|
|
624
624
|
E = le === 13 ? de : ne;
|
|
625
625
|
} else
|
|
626
|
-
E === ne && (ie =
|
|
626
|
+
E === ne && (ie = Z, E = Me), E === Me ? le === 58 && (re = Z + 1, E = i) : E === i && (E = Ee);
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
}, Pe = function(Q) {
|
|
@@ -660,10 +660,10 @@ var Ye = { exports: {} };
|
|
|
660
660
|
}
|
|
661
661
|
var le = n.withCredentials, ee = {};
|
|
662
662
|
ee.Accept = "text/event-stream";
|
|
663
|
-
var
|
|
664
|
-
if (
|
|
665
|
-
for (var Se in
|
|
666
|
-
Object.prototype.hasOwnProperty.call(
|
|
663
|
+
var Z = n.headers;
|
|
664
|
+
if (Z != null)
|
|
665
|
+
for (var Se in Z)
|
|
666
|
+
Object.prototype.hasOwnProperty.call(Z, Se) && (ee[Se] = Z[Se]);
|
|
667
667
|
try {
|
|
668
668
|
a = ke.open(pe, We, De, Pe, Y, le, ee);
|
|
669
669
|
} catch (Ae) {
|
|
@@ -764,7 +764,7 @@ function tt(s) {
|
|
|
764
764
|
), O, K, V, A, b, P, be = (
|
|
765
765
|
/*$_*/
|
|
766
766
|
s[9]("DepositButton") + ""
|
|
767
|
-
), we, Re, W,
|
|
767
|
+
), we, Re, W, J, fe, te, ce, ve, ae = Ge(Object.keys(
|
|
768
768
|
/*balances*/
|
|
769
769
|
s[3]
|
|
770
770
|
)), k = [];
|
|
@@ -783,7 +783,7 @@ function tt(s) {
|
|
|
783
783
|
for (let L = 0; L < k.length; L += 1)
|
|
784
784
|
k[L].c();
|
|
785
785
|
A = me(), b = U("div"), P = U("button"), we = _e(be), Re = me(), q && q.c(), W = me(), D && D.c(), R(t, "class", p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
786
|
-
(s[5] ? "Open" : "")), R(h, "class", "BalanceModalTitle"), R(B, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(b, "class", "BalanceModalFooter"), R(l, "class",
|
|
786
|
+
(s[5] ? "Open" : "")), R(h, "class", "BalanceModalTitle"), R(B, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(b, "class", "BalanceModalFooter"), R(l, "class", J = "ModalContent " + /*isModalDisplayed*/
|
|
787
787
|
(s[5] ? "Open" : "")), R(c, "class", fe = "BalanceModal " + /*isModalDisplayed*/
|
|
788
788
|
(s[5] ? "Open" : "")), R(e, "class", te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
789
789
|
(s[5] ? "Open" : ""));
|
|
@@ -832,8 +832,8 @@ function tt(s) {
|
|
|
832
832
|
L[9]("DepositButton") + "") && Ce(we, be), /*balancelimitsbutton*/
|
|
833
833
|
L[0] === "true" ? q ? q.p(L, G) : (q = ot(L), q.c(), q.m(b, W)) : q && (q.d(1), q = null), /*activebonusesbutton*/
|
|
834
834
|
L[1] === "true" ? D ? D.p(L, G) : (D = it(L), D.c(), D.m(b, null)) : D && (D.d(1), D = null), G[0] & /*isModalDisplayed*/
|
|
835
|
-
32 &&
|
|
836
|
-
(L[5] ? "Open" : "")) && R(l, "class",
|
|
835
|
+
32 && J !== (J = "ModalContent " + /*isModalDisplayed*/
|
|
836
|
+
(L[5] ? "Open" : "")) && R(l, "class", J), G[0] & /*isModalDisplayed*/
|
|
837
837
|
32 && fe !== (fe = "BalanceModal " + /*isModalDisplayed*/
|
|
838
838
|
(L[5] ? "Open" : "")) && R(c, "class", fe), G[0] & /*isModalDisplayed*/
|
|
839
839
|
32 && te !== (te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
@@ -1056,11 +1056,11 @@ function kt(s) {
|
|
|
1056
1056
|
function Mt(s, e, t) {
|
|
1057
1057
|
let p;
|
|
1058
1058
|
mt(s, gt, (a) => t(9, p = a));
|
|
1059
|
-
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: K = "" } = e, { gmversion: V = "gm16" } = e, { displaybalanceoption: A = "All" } = e, { totalcalculationmode: b = "totalCashAmount" } = e, { primarybalancemode: P } = e, { balancelimitsbutton: be = "false" } = e, { activebonusesbutton: we = "false" } = e, { hideproducttype: Re = "" } = e, { shownegativebalance: W = "false" } = e, { currencylocale:
|
|
1059
|
+
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: K = "" } = e, { gmversion: V = "gm16" } = e, { displaybalanceoption: A = "All" } = e, { totalcalculationmode: b = "totalCashAmount" } = e, { primarybalancemode: P } = e, { balancelimitsbutton: be = "false" } = e, { activebonusesbutton: we = "false" } = e, { hideproducttype: Re = "" } = e, { shownegativebalance: W = "false" } = e, { currencylocale: J = "en" } = e, { currencydisplay: fe = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ce = "0" } = e, { customdisplayformat: ve = "" } = e, { alwaysshowdecimals: ae = "true" } = e, k, q, D = !0, L = !1, G = !1, H = !1, Te = !1, Be = window.navigator.userAgent, oe, ue = "", de = [], ne, Me = "0";
|
|
1060
1060
|
const i = {}, Ee = ["totalCashAmount", "totalRealAmount"], Xe = () => {
|
|
1061
|
-
fetch(K).then((a) => a.json()).then((a) => Object.keys(a).forEach((d) =>
|
|
1061
|
+
fetch(K).then((a) => a.json()).then((a) => Object.keys(a).forEach((d) => Ze(d, a[d]))).catch((a) => console.log(a));
|
|
1062
1062
|
};
|
|
1063
|
-
Object.keys(
|
|
1063
|
+
Object.keys(Je).forEach((a) => Ze(a, Je[a]));
|
|
1064
1064
|
const Le = (a) => {
|
|
1065
1065
|
switch (a) {
|
|
1066
1066
|
case "balance":
|
|
@@ -1090,7 +1090,7 @@ function Mt(s, e, t) {
|
|
|
1090
1090
|
}, Ie = (a) => {
|
|
1091
1091
|
if (ve)
|
|
1092
1092
|
return je(a);
|
|
1093
|
-
const d =
|
|
1093
|
+
const d = J || B, f = {
|
|
1094
1094
|
style: "currency",
|
|
1095
1095
|
currency: ue,
|
|
1096
1096
|
useGrouping: !0,
|
|
@@ -1387,7 +1387,7 @@ function Mt(s, e, t) {
|
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
1389
|
return s.$$set = (a) => {
|
|
1390
|
-
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22, K = a.translationurl), "gmversion" in a && t(23, V = a.gmversion), "displaybalanceoption" in a && t(24, A = a.displaybalanceoption), "totalcalculationmode" in a && t(14, b = a.totalcalculationmode), "primarybalancemode" in a && t(25, P = a.primarybalancemode), "balancelimitsbutton" in a && t(0, be = a.balancelimitsbutton), "activebonusesbutton" in a && t(1, we = a.activebonusesbutton), "hideproducttype" in a && t(26, Re = a.hideproducttype), "shownegativebalance" in a && t(27, W = a.shownegativebalance), "currencylocale" in a && t(28,
|
|
1390
|
+
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22, K = a.translationurl), "gmversion" in a && t(23, V = a.gmversion), "displaybalanceoption" in a && t(24, A = a.displaybalanceoption), "totalcalculationmode" in a && t(14, b = a.totalcalculationmode), "primarybalancemode" in a && t(25, P = a.primarybalancemode), "balancelimitsbutton" in a && t(0, be = a.balancelimitsbutton), "activebonusesbutton" in a && t(1, we = a.activebonusesbutton), "hideproducttype" in a && t(26, Re = a.hideproducttype), "shownegativebalance" in a && t(27, W = a.shownegativebalance), "currencylocale" in a && t(28, J = a.currencylocale), "currencydisplay" in a && t(29, fe = a.currencydisplay), "maximumfractiondigits" in a && t(30, te = a.maximumfractiondigits), "minimumfractiondigits" in a && t(31, ce = a.minimumfractiondigits), "customdisplayformat" in a && t(32, ve = a.customdisplayformat), "alwaysshowdecimals" in a && t(33, ae = a.alwaysshowdecimals);
|
|
1391
1391
|
}, s.$$.update = () => {
|
|
1392
1392
|
s.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1393
1393
|
25657344 && l && g && c && B && V && A && w(), s.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
@@ -1434,7 +1434,7 @@ function Mt(s, e, t) {
|
|
|
1434
1434
|
P,
|
|
1435
1435
|
Re,
|
|
1436
1436
|
W,
|
|
1437
|
-
|
|
1437
|
+
J,
|
|
1438
1438
|
fe,
|
|
1439
1439
|
te,
|
|
1440
1440
|
ce,
|