@everymatrix/casino-header-controller-nd 1.72.2 → 1.73.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/{CasinoHeaderControllerNd-HxHgjp2M.cjs → CasinoHeaderControllerNd-C59JkD6c.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-B0bAQaCY.js → CasinoHeaderControllerNd-C5dFDHA0.js} +466 -445
- package/components/{CasinoHeaderControllerNd-UcryA1Kq.js → CasinoHeaderControllerNd-hJyHQkbi.js} +476 -455
- package/components/{PlayerAccountBalanceModalNd-ChQMG2EM.js → PlayerAccountBalanceModalNd-C3hEBggB.js} +67 -73
- package/components/{PlayerAccountBalanceModalNd-BxY0Gcer.cjs → PlayerAccountBalanceModalNd-DdxFQZsQ.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-ByFMRCSL.js → PlayerAccountBalanceModalNd-DnL9uImY.js} +66 -72
- 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
|
@@ -213,7 +213,7 @@ var Ke = { exports: {} };
|
|
|
213
213
|
*/
|
|
214
214
|
(function(s, a) {
|
|
215
215
|
(function(n) {
|
|
216
|
-
var g = n.setTimeout, p = n.clearTimeout, c = n.XMLHttpRequest, w = n.XDomainRequest, h = n.ActiveXObject, b = n.EventSource, B = n.document, M = n.Promise, k = n.fetch, L = n.Response, A = n.TextDecoder, T = n.TextEncoder,
|
|
216
|
+
var g = n.setTimeout, p = n.clearTimeout, c = n.XMLHttpRequest, w = n.XDomainRequest, h = n.ActiveXObject, b = n.EventSource, B = n.document, M = n.Promise, k = n.fetch, L = n.Response, A = n.TextDecoder, T = n.TextEncoder, x = n.AbortController;
|
|
217
217
|
if (typeof window < "u" && typeof B < "u" && !("readyState" in B) && B.body == null && (B.readyState = "loading", window.addEventListener("load", function(t) {
|
|
218
218
|
B.readyState = "complete";
|
|
219
219
|
}, !1)), c == null && h != null && (c = function() {
|
|
@@ -224,7 +224,7 @@ var Ke = { exports: {} };
|
|
|
224
224
|
return l.prototype = t, new l();
|
|
225
225
|
}), Date.now || (Date.now = function() {
|
|
226
226
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
227
|
-
}),
|
|
227
|
+
}), x == null) {
|
|
228
228
|
var j = k;
|
|
229
229
|
k = function(t, l) {
|
|
230
230
|
var d = l.signal;
|
|
@@ -241,7 +241,7 @@ var Ke = { exports: {} };
|
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
});
|
|
244
|
-
},
|
|
244
|
+
}, x = function() {
|
|
245
245
|
this.signal = {
|
|
246
246
|
_reader: null,
|
|
247
247
|
_aborted: !1
|
|
@@ -300,16 +300,16 @@ var Ke = { exports: {} };
|
|
|
300
300
|
};
|
|
301
301
|
var i = function() {
|
|
302
302
|
if (r === 1) {
|
|
303
|
-
var y = 0,
|
|
303
|
+
var y = 0, R = "", ne = void 0;
|
|
304
304
|
if ("contentType" in e)
|
|
305
|
-
y = 200,
|
|
305
|
+
y = 200, R = "OK", ne = e.contentType;
|
|
306
306
|
else
|
|
307
307
|
try {
|
|
308
|
-
y = e.status,
|
|
308
|
+
y = e.status, R = e.statusText, ne = e.getResponseHeader("Content-Type");
|
|
309
309
|
} catch {
|
|
310
|
-
y = 0,
|
|
310
|
+
y = 0, R = "", ne = void 0;
|
|
311
311
|
}
|
|
312
|
-
y !== 0 && (r = 2, d.readyState = 2, d.status = y, d.statusText =
|
|
312
|
+
y !== 0 && (r = 2, d.readyState = 2, d.status = y, d.statusText = R, d._contentType = ne, d.onreadystatechange());
|
|
313
313
|
}
|
|
314
314
|
}, v = function() {
|
|
315
315
|
if (i(), r === 2 || r === 3) {
|
|
@@ -321,16 +321,16 @@ var Ke = { exports: {} };
|
|
|
321
321
|
}
|
|
322
322
|
d.readyState = 3, d.responseText = y, d.onprogress();
|
|
323
323
|
}
|
|
324
|
-
}, m = function(y,
|
|
325
|
-
if ((
|
|
324
|
+
}, m = function(y, R) {
|
|
325
|
+
if ((R == null || R.preventDefault == null) && (R = {
|
|
326
326
|
preventDefault: F
|
|
327
327
|
}), v(), r === 1 || r === 2 || r === 3) {
|
|
328
328
|
if (r = 4, o !== 0 && (p(o), o = 0), d.readyState = 4, y === "load")
|
|
329
|
-
d.onload(
|
|
329
|
+
d.onload(R);
|
|
330
330
|
else if (y === "error")
|
|
331
|
-
d.onerror(
|
|
331
|
+
d.onerror(R);
|
|
332
332
|
else if (y === "abort")
|
|
333
|
-
d.onabort(
|
|
333
|
+
d.onabort(R);
|
|
334
334
|
else
|
|
335
335
|
throw new TypeError();
|
|
336
336
|
d.onreadystatechange();
|
|
@@ -410,8 +410,8 @@ var Ke = { exports: {} };
|
|
|
410
410
|
e(null);
|
|
411
411
|
}, t.onreadystatechange = function() {
|
|
412
412
|
if (t.readyState === c.HEADERS_RECEIVED) {
|
|
413
|
-
var u = t.status, S = t.statusText, y = t.getResponseHeader("Content-Type"),
|
|
414
|
-
l(u, S, y, new ce(
|
|
413
|
+
var u = t.status, S = t.statusText, y = t.getResponseHeader("Content-Type"), R = t.getAllResponseHeaders();
|
|
414
|
+
l(u, S, y, new ce(R));
|
|
415
415
|
}
|
|
416
416
|
}, t.withCredentials = o;
|
|
417
417
|
for (var m in i)
|
|
@@ -427,18 +427,18 @@ var Ke = { exports: {} };
|
|
|
427
427
|
function E() {
|
|
428
428
|
}
|
|
429
429
|
E.prototype.open = function(t, l, d, e, r, o, i) {
|
|
430
|
-
var v = null, m = new
|
|
430
|
+
var v = null, m = new x(), u = m.signal, S = new A();
|
|
431
431
|
return k(r, {
|
|
432
432
|
headers: i,
|
|
433
433
|
credentials: o ? "include" : "same-origin",
|
|
434
434
|
signal: u,
|
|
435
435
|
cache: "no-store"
|
|
436
436
|
}).then(function(y) {
|
|
437
|
-
return v = y.body.getReader(), l(y.status, y.statusText, y.headers.get("Content-Type"), new N(y.headers)), new M(function(
|
|
437
|
+
return v = y.body.getReader(), l(y.status, y.statusText, y.headers.get("Content-Type"), new N(y.headers)), new M(function(R, ne) {
|
|
438
438
|
var re = function() {
|
|
439
439
|
v.read().then(function(Q) {
|
|
440
440
|
if (Q.done)
|
|
441
|
-
|
|
441
|
+
R(void 0);
|
|
442
442
|
else {
|
|
443
443
|
var K = S.decode(Q.value, { stream: !0 });
|
|
444
444
|
d(K), re();
|
|
@@ -511,7 +511,7 @@ var Ke = { exports: {} };
|
|
|
511
511
|
P.call(this, t), this.error = l.error;
|
|
512
512
|
}
|
|
513
513
|
f.prototype = Object.create(P.prototype);
|
|
514
|
-
var ue = -1, le = 0, ae = 1, we = 2,
|
|
514
|
+
var ue = -1, le = 0, ae = 1, we = 2, xe = -1, se = 0, Re = 1, Se = 2, Le = 3, ze = /^text\/event\-stream(;.*)?$/i, Ee = 1e3, ke = 18e6, De = function(t, l) {
|
|
515
515
|
var d = t == null ? l : parseInt(t, 10);
|
|
516
516
|
return d !== d && (d = l), Ce(d);
|
|
517
517
|
}, Ce = function(t) {
|
|
@@ -532,7 +532,7 @@ var Ke = { exports: {} };
|
|
|
532
532
|
var Ve = k != null && L != null && "body" in L.prototype;
|
|
533
533
|
function Ue(t, l, d) {
|
|
534
534
|
l = String(l);
|
|
535
|
-
var e = !!d.withCredentials, r = d.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), i = De(d.heartbeatTimeout, 45e3), v = "", m = o, u = !1, S = 0, y = d.headers || {},
|
|
535
|
+
var e = !!d.withCredentials, r = d.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), i = De(d.heartbeatTimeout, 45e3), v = "", m = o, u = !1, S = 0, y = d.headers || {}, R = d.Transport, ne = Ve && R == null ? void 0 : new O(R != null ? new R() : Oe()), re = R != null && typeof R != "string" ? new R() : ne == null ? new E() : new X(), Q = void 0, K = 0, ie = ue, _e = "", Fe = "", fe = "", Ie = "", q = se, Pe = 0, be = 0, ot = function(V, H, Z, $) {
|
|
536
536
|
if (ie === le)
|
|
537
537
|
if (V === 200 && Z != null && ze.test(Z)) {
|
|
538
538
|
ie = ae, u = Date.now(), m = o, t.readyState = ae;
|
|
@@ -562,11 +562,11 @@ var Ke = { exports: {} };
|
|
|
562
562
|
Ie = (H === -1 ? Ie : "") + V.slice(H + 1), V !== "" && (u = Date.now(), S += V.length);
|
|
563
563
|
for (var U = 0; U < W.length; U += 1) {
|
|
564
564
|
var $ = W.charCodeAt(U);
|
|
565
|
-
if (q ===
|
|
565
|
+
if (q === xe && $ === 10)
|
|
566
566
|
q = se;
|
|
567
|
-
else if (q ===
|
|
567
|
+
else if (q === xe && (q = se), $ === 13 || $ === 10) {
|
|
568
568
|
if (q !== se) {
|
|
569
|
-
q ===
|
|
569
|
+
q === Re && (be = U + 1);
|
|
570
570
|
var pe = W.slice(Pe, be - 1), he = W.slice(be + (be < U && W.charCodeAt(be) === 32 ? 1 : 0), U);
|
|
571
571
|
pe === "data" ? (_e += `
|
|
572
572
|
`, _e += he) : pe === "id" ? Fe = he : pe === "event" ? fe = he : pe === "retry" ? (o = De(he, o), m = o) : pe === "heartbeatTimeout" && (i = De(he, i), K !== 0 && (p(K), K = g(function() {
|
|
@@ -585,9 +585,9 @@ var Ke = { exports: {} };
|
|
|
585
585
|
}
|
|
586
586
|
_e = "", fe = "";
|
|
587
587
|
}
|
|
588
|
-
q = $ === 13 ?
|
|
588
|
+
q = $ === 13 ? xe : se;
|
|
589
589
|
} else
|
|
590
|
-
q === se && (Pe = U, q =
|
|
590
|
+
q === se && (Pe = U, q = Re), q === Re ? $ === 58 && (be = U + 1, q = Se) : q === Se && (q = Le);
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
}, qe = function(V) {
|
|
@@ -662,7 +662,7 @@ function Ze(s, a, n) {
|
|
|
662
662
|
const g = s.slice();
|
|
663
663
|
return g[56] = a[n], g;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function xt(s) {
|
|
666
666
|
let a, n, g = (
|
|
667
667
|
/*balances*/
|
|
668
668
|
(s[1].Total ? (
|
|
@@ -681,34 +681,34 @@ function Rt(s) {
|
|
|
681
681
|
a = I("button"), n = I("p"), p = Te(g), c = ye(), w = I("span"), h = We("svg"), b = We("path"), M = ye(), T && T.c(), k = gt(), C(b, "id", "arrow"), C(b, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(b, "transform", "translate(-274.511 -441.088)"), C(b, "fill", "#d1d1d1"), C(h, "xmlns", "http://www.w3.org/2000/svg"), C(h, "width", "14"), C(h, "height", "6.835"), C(h, "viewBox", "0 0 14 6.835"), C(w, "class", B = /*isModalDisplayed*/
|
|
682
682
|
s[3] ? "TriangleActive" : "TriangleInactive"), C(a, "class", "BalanceValue");
|
|
683
683
|
},
|
|
684
|
-
m(
|
|
685
|
-
ge(
|
|
684
|
+
m(x, j) {
|
|
685
|
+
ge(x, a, j), _(a, n), _(n, p), _(a, c), _(a, w), _(w, h), _(h, b), ge(x, M, j), T && T.m(x, j), ge(x, k, j), L || (A = je(
|
|
686
686
|
a,
|
|
687
687
|
"click",
|
|
688
688
|
/*click_handler*/
|
|
689
689
|
s[26]
|
|
690
690
|
), L = !0);
|
|
691
691
|
},
|
|
692
|
-
p(
|
|
692
|
+
p(x, j) {
|
|
693
693
|
j[0] & /*balances*/
|
|
694
694
|
2 && g !== (g = /*balances*/
|
|
695
|
-
(
|
|
695
|
+
(x[1].Total ? (
|
|
696
696
|
/*formatBalance*/
|
|
697
|
-
|
|
697
|
+
x[8](
|
|
698
698
|
/*balances*/
|
|
699
|
-
|
|
699
|
+
x[1].Total[0].amount
|
|
700
700
|
)
|
|
701
701
|
) : "0") + "") && Be(p, g), j[0] & /*isModalDisplayed*/
|
|
702
702
|
8 && B !== (B = /*isModalDisplayed*/
|
|
703
|
-
|
|
704
|
-
|
|
703
|
+
x[3] ? "TriangleActive" : "TriangleInactive") && C(w, "class", B), /*showBalance*/
|
|
704
|
+
x[4] ? T ? T.p(x, j) : (T = $e(x), T.c(), T.m(k.parentNode, k)) : T && (T.d(1), T = null);
|
|
705
705
|
},
|
|
706
|
-
d(
|
|
707
|
-
|
|
706
|
+
d(x) {
|
|
707
|
+
x && (me(a), me(M), me(k)), T && T.d(x), L = !1, A();
|
|
708
708
|
}
|
|
709
709
|
};
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function Rt(s) {
|
|
712
712
|
let a, n = (
|
|
713
713
|
/*$_*/
|
|
714
714
|
s[6]("Loading") + ""
|
|
@@ -734,7 +734,7 @@ function $e(s) {
|
|
|
734
734
|
let a, n, g, p, c, w, h, b, B = (
|
|
735
735
|
/*$_*/
|
|
736
736
|
s[6]("Title") + ""
|
|
737
|
-
), M, k, L, A, T,
|
|
737
|
+
), M, k, L, A, T, x, j = (
|
|
738
738
|
/*$_*/
|
|
739
739
|
s[6]("DepositButton") + ""
|
|
740
740
|
), ee, te, F, O, Y, ce, X = He(Object.keys(
|
|
@@ -748,8 +748,8 @@ function $e(s) {
|
|
|
748
748
|
a = I("div"), n = I("button"), p = ye(), c = I("div"), w = I("div"), h = I("div"), b = I("p"), M = Te(B), k = ye(), L = I("div");
|
|
749
749
|
for (let E = 0; E < N.length; E += 1)
|
|
750
750
|
N[E].c();
|
|
751
|
-
A = ye(), T = I("div"),
|
|
752
|
-
(s[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(h, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(
|
|
751
|
+
A = ye(), T = I("div"), x = I("button"), ee = Te(j), C(n, "class", g = "BalanceModalClose " + /*isModalDisplayed*/
|
|
752
|
+
(s[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(h, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(x, "class", "BalanceModalAction"), C(T, "class", "BalanceModalFooter"), C(w, "class", te = "ModalContent " + /*isModalDisplayed*/
|
|
753
753
|
(s[3] ? "Open" : "")), C(c, "class", F = "BalanceModal " + /*isModalDisplayed*/
|
|
754
754
|
(s[3] ? "Open" : "")), C(a, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
755
755
|
(s[3] ? "Open" : ""));
|
|
@@ -758,7 +758,7 @@ function $e(s) {
|
|
|
758
758
|
ge(E, a, z), _(a, n), _(a, p), _(a, c), _(c, w), _(w, h), _(h, b), _(b, M), _(w, k), _(w, L);
|
|
759
759
|
for (let D = 0; D < N.length; D += 1)
|
|
760
760
|
N[D] && N[D].m(L, null);
|
|
761
|
-
_(w, A), _(w, T), _(T,
|
|
761
|
+
_(w, A), _(w, T), _(T, x), _(x, ee), Y || (ce = [
|
|
762
762
|
je(
|
|
763
763
|
n,
|
|
764
764
|
"click",
|
|
@@ -766,7 +766,7 @@ function $e(s) {
|
|
|
766
766
|
s[27]
|
|
767
767
|
),
|
|
768
768
|
je(
|
|
769
|
-
|
|
769
|
+
x,
|
|
770
770
|
"click",
|
|
771
771
|
/*click_handler_2*/
|
|
772
772
|
s[28]
|
|
@@ -825,14 +825,11 @@ function et(s) {
|
|
|
825
825
|
)
|
|
826
826
|
) : "") + ""
|
|
827
827
|
), h, b, B, M, k = (
|
|
828
|
-
/*
|
|
829
|
-
|
|
830
|
-
/*
|
|
831
|
-
s[
|
|
832
|
-
|
|
833
|
-
s[56].amount
|
|
834
|
-
)
|
|
835
|
-
) : "0") + ""
|
|
828
|
+
/*formatBalance*/
|
|
829
|
+
s[8](
|
|
830
|
+
/*b*/
|
|
831
|
+
s[56].amount
|
|
832
|
+
) + ""
|
|
836
833
|
), L;
|
|
837
834
|
return {
|
|
838
835
|
c() {
|
|
@@ -856,14 +853,11 @@ function et(s) {
|
|
|
856
853
|
A[56].productType
|
|
857
854
|
)
|
|
858
855
|
) : "") + "") && Be(h, w), T[0] & /*balances*/
|
|
859
|
-
2 && k !== (k = /*
|
|
860
|
-
|
|
861
|
-
/*
|
|
862
|
-
A[
|
|
863
|
-
|
|
864
|
-
A[56].amount
|
|
865
|
-
)
|
|
866
|
-
) : "0") + "") && Be(L, k);
|
|
856
|
+
2 && k !== (k = /*formatBalance*/
|
|
857
|
+
A[8](
|
|
858
|
+
/*b*/
|
|
859
|
+
A[56].amount
|
|
860
|
+
) + "") && Be(L, k);
|
|
867
861
|
},
|
|
868
862
|
d(A) {
|
|
869
863
|
A && me(a);
|
|
@@ -894,7 +888,7 @@ function tt(s) {
|
|
|
894
888
|
_(a, n);
|
|
895
889
|
},
|
|
896
890
|
p(c, w) {
|
|
897
|
-
if (w[0] & /*
|
|
891
|
+
if (w[0] & /*formatBalance, balances, $_*/
|
|
898
892
|
322) {
|
|
899
893
|
g = He(
|
|
900
894
|
/*balances*/
|
|
@@ -943,7 +937,7 @@ function Et(s) {
|
|
|
943
937
|
function c(B, M) {
|
|
944
938
|
return (
|
|
945
939
|
/*isLoading*/
|
|
946
|
-
B[2] ?
|
|
940
|
+
B[2] ? Rt : xt
|
|
947
941
|
);
|
|
948
942
|
}
|
|
949
943
|
let w = c(s), h = w(s), b = (
|
|
@@ -974,7 +968,7 @@ function Et(s) {
|
|
|
974
968
|
function Dt(s, a, n) {
|
|
975
969
|
let g;
|
|
976
970
|
pt(s, St, (e) => n(6, g = e));
|
|
977
|
-
let { userid: p = "" } = a, { session: c = "" } = a, { endpoint: w = "" } = a, { lang: h = "en" } = a, { mbsource: b } = a, { clientstyling: B = "" } = a, { clientstylingurl: M = "" } = a, { translationurl: k = "" } = a, { gmversion: L = "gm16" } = a, { displaybalanceoption: A = "All" } = a, { totalcalculationmode: T = "totalCashAmount" } = a, { currencylocale:
|
|
971
|
+
let { userid: p = "" } = a, { session: c = "" } = a, { endpoint: w = "" } = a, { lang: h = "en" } = a, { mbsource: b } = a, { clientstyling: B = "" } = a, { clientstylingurl: M = "" } = a, { translationurl: k = "" } = a, { gmversion: L = "gm16" } = a, { displaybalanceoption: A = "All" } = a, { totalcalculationmode: T = "totalCashAmount" } = a, { currencylocale: x = "en" } = a, { currencydisplay: j = "symbol" } = a, { maximumfractiondigits: ee = "2" } = a, { minimumfractiondigits: te = "0" } = a, { customdisplayformat: F = "" } = a, O, Y = !0, ce = !1, X = !1, N = !1, E = !1, z = window.navigator.userAgent, D, P = "", oe = [], de;
|
|
978
972
|
const f = {}, ue = ["totalCashAmount", "totalRealAmount"], le = () => {
|
|
979
973
|
fetch(k).then((e) => e.json()).then((e) => Object.keys(e).forEach((r) => Ye(r, e[r]))).catch((e) => console.log(e));
|
|
980
974
|
};
|
|
@@ -1007,8 +1001,8 @@ function Dt(s, a, n) {
|
|
|
1007
1001
|
}
|
|
1008
1002
|
}, we = (e) => {
|
|
1009
1003
|
if (F)
|
|
1010
|
-
return
|
|
1011
|
-
const r =
|
|
1004
|
+
return xe(e);
|
|
1005
|
+
const r = x || h, o = {
|
|
1012
1006
|
style: "currency",
|
|
1013
1007
|
currency: P,
|
|
1014
1008
|
useGrouping: !0,
|
|
@@ -1017,7 +1011,7 @@ function Dt(s, a, n) {
|
|
|
1017
1011
|
minimumFractionDigits: te === "" || isNaN(Number(te)) ? 0 : Number(te)
|
|
1018
1012
|
};
|
|
1019
1013
|
return new Intl.NumberFormat(r, o).format(e);
|
|
1020
|
-
},
|
|
1014
|
+
}, xe = (e) => {
|
|
1021
1015
|
const r = [];
|
|
1022
1016
|
let o = "";
|
|
1023
1017
|
for (const i of F)
|
|
@@ -1035,10 +1029,10 @@ function Dt(s, a, n) {
|
|
|
1035
1029
|
else if (v.toLowerCase() === "amount") {
|
|
1036
1030
|
let u = ",", S = ".", y = 2;
|
|
1037
1031
|
m && (m[0] !== " " && (u = m[0]), m[1] !== " " && (S = m[1]), m[2] !== " " && !isNaN(Number(m[2])) && (y = Number(m[2])));
|
|
1038
|
-
let [
|
|
1039
|
-
o +=
|
|
1040
|
-
for (let re = 1; re <
|
|
1041
|
-
(
|
|
1032
|
+
let [R, ne] = String(Math.floor(e * 10 ** y) / 10 ** y).split(".");
|
|
1033
|
+
o += R[0];
|
|
1034
|
+
for (let re = 1; re < R.length; ++re)
|
|
1035
|
+
(R.length - re) % 3 === 0 ? o += u + R[re] : o += R[re];
|
|
1042
1036
|
ne && (o += S + ne);
|
|
1043
1037
|
}
|
|
1044
1038
|
o && r.push(o), o = "";
|
|
@@ -1078,7 +1072,7 @@ function Dt(s, a, n) {
|
|
|
1078
1072
|
} finally {
|
|
1079
1073
|
n(2, Y = !1);
|
|
1080
1074
|
}
|
|
1081
|
-
},
|
|
1075
|
+
}, Re = () => {
|
|
1082
1076
|
n(2, Y = !0);
|
|
1083
1077
|
const e = new URL(`${w}/v2/player/${p}/balance`), r = new Headers();
|
|
1084
1078
|
r.append("X-SessionID", c), fetch(e, { method: "GET", headers: r }).then((i) => i.json()).then((i) => {
|
|
@@ -1241,7 +1235,7 @@ function Dt(s, a, n) {
|
|
|
1241
1235
|
se();
|
|
1242
1236
|
break;
|
|
1243
1237
|
case "gm16":
|
|
1244
|
-
|
|
1238
|
+
Re();
|
|
1245
1239
|
break;
|
|
1246
1240
|
default:
|
|
1247
1241
|
throw Error(`Invalid apiversion attribute: ${L}`);
|
|
@@ -1259,7 +1253,7 @@ function Dt(s, a, n) {
|
|
|
1259
1253
|
});
|
|
1260
1254
|
}
|
|
1261
1255
|
return s.$$set = (e) => {
|
|
1262
|
-
"userid" in e && n(11, p = e.userid), "session" in e && n(12, c = e.session), "endpoint" in e && n(13, w = e.endpoint), "lang" in e && n(14, h = e.lang), "mbsource" in e && n(15, b = e.mbsource), "clientstyling" in e && n(16, B = e.clientstyling), "clientstylingurl" in e && n(17, M = e.clientstylingurl), "translationurl" in e && n(18, k = e.translationurl), "gmversion" in e && n(19, L = e.gmversion), "displaybalanceoption" in e && n(20, A = e.displaybalanceoption), "totalcalculationmode" in e && n(10, T = e.totalcalculationmode), "currencylocale" in e && n(21,
|
|
1256
|
+
"userid" in e && n(11, p = e.userid), "session" in e && n(12, c = e.session), "endpoint" in e && n(13, w = e.endpoint), "lang" in e && n(14, h = e.lang), "mbsource" in e && n(15, b = e.mbsource), "clientstyling" in e && n(16, B = e.clientstyling), "clientstylingurl" in e && n(17, M = e.clientstylingurl), "translationurl" in e && n(18, k = e.translationurl), "gmversion" in e && n(19, L = e.gmversion), "displaybalanceoption" in e && n(20, A = e.displaybalanceoption), "totalcalculationmode" in e && n(10, T = e.totalcalculationmode), "currencylocale" in e && n(21, x = e.currencylocale), "currencydisplay" in e && n(22, j = e.currencydisplay), "maximumfractiondigits" in e && n(23, ee = e.maximumfractiondigits), "minimumfractiondigits" in e && n(24, te = e.minimumfractiondigits), "customdisplayformat" in e && n(25, F = e.customdisplayformat);
|
|
1263
1257
|
}, s.$$.update = () => {
|
|
1264
1258
|
s.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1265
1259
|
1603584 && w && p && c && h && L && A && J(), s.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
@@ -1291,7 +1285,7 @@ function Dt(s, a, n) {
|
|
|
1291
1285
|
k,
|
|
1292
1286
|
L,
|
|
1293
1287
|
A,
|
|
1294
|
-
|
|
1288
|
+
x,
|
|
1295
1289
|
j,
|
|
1296
1290
|
ee,
|
|
1297
1291
|
te,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-C59JkD6c.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller-nd")&&customElements.define("casino-header-controller-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-hJyHQkbi.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-header-controller-nd") && customElements.define("casino-header-controller-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|