@everymatrix/casino-header-controller-nd 1.94.4 → 1.94.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenuNd-Fq-HgQqH.js → CasinoHamburgerMenuNd-C7tPIUB1.js} +47 -47
- package/components/{CasinoHamburgerMenuNd-CFFGc70e.js → CasinoHamburgerMenuNd-j5CQxInR.js} +1 -1
- package/components/{CasinoHeaderControllerNd-CqFP16SI.js → CasinoHeaderControllerNd-B1gDtO6X.js} +52 -52
- package/components/{CasinoHeaderControllerNd-DVlwntla.js → CasinoHeaderControllerNd-C_tpHptc.js} +52 -52
- package/components/{PlayerAccountBalanceModalNd-poAXex5q.js → PlayerAccountBalanceModalNd-BBc97Emk.js} +71 -71
- package/components/{PlayerAccountBalanceModalNd-DuaQlqBT.js → PlayerAccountBalanceModalNd-F0yXrczc.js} +90 -90
- package/components/{PlayerDeposit-CuasIHW1.js → PlayerDeposit-BajVx1KT.js} +26 -26
- package/components/{PlayerDeposit-DrfI7hWz.js → PlayerDeposit-Cr4_Mp0l.js} +31 -31
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-DrlsAnHS.js → casino-hamburger-menu-nd-BlCLnx5w.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-CAzXCzkU.js → casino-hamburger-menu-nd-CTYTBE2r.js} +1 -1
- package/lazy/{gamification-dropdown-BV3fQBnG.js → gamification-dropdown-D9wYSCWh.js} +6 -6
- package/lazy/{gamification-dropdown-CFt49XEh.js → gamification-dropdown-w1DrybKv.js} +6 -6
- package/lazy/{player-account-balance-modal-nd-DZugR0l3.js → player-account-balance-modal-nd-BperHptI.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-47141JK1.js → player-account-balance-modal-nd-CpQ9XGPD.js} +1 -1
- package/lazy/{player-deposit-BV6GZh-m.js → player-deposit-Bj55w1ZM.js} +1 -1
- package/lazy/{player-deposit-CLHYM5Qn.js → player-deposit-kJwpodcn.js} +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-C3ULCnwf.js → gamification-dropdown-DFnrjTD-.js} +2 -2
- package/stencil/{gamification-dropdown-f0760153-DTmlcEWJ.js → gamification-dropdown-f0760153-BNi1BCSK.js} +4 -4
- package/stencil/{gamification-dropdown-f0760153-JSQJ7tMa.js → gamification-dropdown-f0760153-DysjODzh.js} +4 -4
- package/stencil/{gamification-dropdown-CkOquGR-.js → gamification-dropdown-oHavdEUT.js} +2 -2
- package/stencil/{gamification-dropdown_4-CzVHHjvZ.js → gamification-dropdown_4-C3HCFJ02.js} +4 -4
- package/stencil/{gamification-dropdown_4-COmOTwJ4.js → gamification-dropdown_4-CKdgGcAa.js} +4 -4
- package/stencil/{player-elevate-card-BddsUDwW.js → player-elevate-card-CrB4Rycd.js} +2 -2
- package/stencil/{player-elevate-card-BB5eP16g.js → player-elevate-card-CtSlq6rw.js} +2 -2
- package/stencil/{player-elevate-card-items-a0f9711e-DS2gNZis.js → player-elevate-card-items-a0f9711e-2wxf2bQS.js} +6 -6
- package/stencil/{player-elevate-card-items-a0f9711e-Cnvs96h4.js → player-elevate-card-items-a0f9711e-B6SIxC10.js} +6 -6
- package/stencil/{player-elevate-pointcard-CmzYigQl.js → player-elevate-pointcard-DqQmT8M0.js} +2 -2
- package/stencil/{player-elevate-pointcard-u4_Ist5j.js → player-elevate-pointcard-S_nBLiFP.js} +2 -2
- package/stencil/{player-rakeback-card-XmcC95u2.js → player-rakeback-card-DOfXavss.js} +1 -1
- package/stencil/{player-rakeback-card-DVazXOnY.js → player-rakeback-card-DrfLGio2.js} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var ht = Object.defineProperty, mt = Object.defineProperties;
|
|
2
2
|
var gt = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var Qe = Object.getOwnPropertySymbols;
|
|
4
4
|
var yt = Object.prototype.hasOwnProperty, vt = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var We = Math.pow, Ze = (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
7
|
yt.call(e, t) && Ze(o, t, e[t]);
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
8
|
+
if (Qe)
|
|
9
|
+
for (var t of Qe(e))
|
|
10
10
|
vt.call(e, t) && Ze(o, t, e[t]);
|
|
11
11
|
return o;
|
|
12
12
|
}, et = (o, e) => mt(o, gt(e));
|
|
@@ -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 {
|
|
29
|
+
import { b as Bt, a as bt, j as wt, S as Tt, y as St, G as At, t as X, e as Ct, D as Ye, o as ge, f as R, z as ye, d as x, p as U, P as me, k as _t, E as Rt, A as Lt, B as Fe, g as xt, M as Ce, T as _e, R as nt, q as Et, s as Ge, n as pt, F as kt, J as Mt, K as Dt, L as Ot, l as Nt, $ as Ft } from "./CasinoHeaderControllerNd-C_tpHptc.js";
|
|
30
30
|
function at(o, e) {
|
|
31
31
|
Bt(o, e);
|
|
32
32
|
}
|
|
@@ -269,7 +269,7 @@ const ot = {
|
|
|
269
269
|
Loading: "Loading ..."
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
|
-
var
|
|
272
|
+
var Je = { exports: {} };
|
|
273
273
|
/** @license
|
|
274
274
|
* eventsource.js
|
|
275
275
|
* Available under MIT License (MIT)
|
|
@@ -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, V = 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
356
|
function Z(n) {
|
|
357
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
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
|
Z.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);
|
|
@@ -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,45 +593,45 @@ var Qe = { exports: {} };
|
|
|
593
593
|
function Ue() {
|
|
594
594
|
return c != null && "withCredentials" in c.prototype || l == null ? new c() : new l();
|
|
595
595
|
}
|
|
596
|
-
var
|
|
596
|
+
var Ke = K != null && V != null && "body" in V.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 Z(z != null ? new z() : Ue()), 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(J, Y, se, le) {
|
|
600
600
|
if (m === Be)
|
|
601
|
-
if (
|
|
601
|
+
if (J === 200 && se != null && Xe.test(se)) {
|
|
602
602
|
m = oe, D = Date.now(), _ = y, n.readyState = oe;
|
|
603
603
|
var ee = new G("open", {
|
|
604
|
-
status:
|
|
604
|
+
status: J,
|
|
605
605
|
statusText: Y,
|
|
606
606
|
headers: le
|
|
607
607
|
});
|
|
608
608
|
n.dispatchEvent(ee), xe(n, n.onopen, ee);
|
|
609
609
|
} else {
|
|
610
|
-
var
|
|
611
|
-
|
|
610
|
+
var Q = "";
|
|
611
|
+
J !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")), Q = "EventSource's response has a status " + J + " " + Y + " that is not 200. Aborting the connection.") : Q = "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
|
-
status:
|
|
613
|
+
status: J,
|
|
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(Q);
|
|
618
618
|
}
|
|
619
|
-
}, De = function(
|
|
619
|
+
}, De = function(J) {
|
|
620
620
|
if (m === oe) {
|
|
621
|
-
for (var Y = -1, se = 0; se <
|
|
622
|
-
var le =
|
|
621
|
+
for (var Y = -1, se = 0; se < J.length; se += 1) {
|
|
622
|
+
var le = J.charCodeAt(se);
|
|
623
623
|
(le === 10 || le === 13) && (Y = se);
|
|
624
624
|
}
|
|
625
|
-
var ee = (Y !== -1 ? u : "") +
|
|
626
|
-
u = (Y === -1 ? u : "") +
|
|
627
|
-
for (var
|
|
628
|
-
var le = ee.charCodeAt(
|
|
625
|
+
var ee = (Y !== -1 ? u : "") + J.slice(0, Y + 1);
|
|
626
|
+
u = (Y === -1 ? u : "") + J.slice(Y + 1), J !== "" && (D = Date.now(), I += J.length);
|
|
627
|
+
for (var Q = 0; Q < ee.length; Q += 1) {
|
|
628
|
+
var le = ee.charCodeAt(Q);
|
|
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 = Q + 1);
|
|
634
|
+
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re < Q && ee.charCodeAt(re) === 32 ? 1 : 0), Q);
|
|
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,16 +651,16 @@ var Qe = { exports: {} };
|
|
|
651
651
|
}
|
|
652
652
|
k = le === 13 ? de : ne;
|
|
653
653
|
} else
|
|
654
|
-
k === ne && (ie =
|
|
654
|
+
k === ne && (ie = Q, k = Me), k === Me ? le === 58 && (re = Q + 1, k = r) : k === r && (k = Ee);
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
}, Pe = function(
|
|
657
|
+
}, Pe = function(J) {
|
|
658
658
|
if (m === oe || m === Be) {
|
|
659
659
|
m = Te, p !== 0 && (g(p), p = 0), p = h(function() {
|
|
660
660
|
he();
|
|
661
661
|
}, _), _ = ze(Math.min(y * 16, _ * 2)), n.readyState = Be;
|
|
662
|
-
var Y = new H("error", { error:
|
|
663
|
-
n.dispatchEvent(Y), xe(n, n.onerror, Y),
|
|
662
|
+
var Y = new H("error", { error: J });
|
|
663
|
+
n.dispatchEvent(Y), xe(n, n.onerror, Y), J != null && console.error(J);
|
|
664
664
|
}
|
|
665
665
|
}, Oe = function() {
|
|
666
666
|
m = ue, a != null && (a.abort(), a = void 0), p !== 0 && (g(p), p = 0), n.readyState = ue;
|
|
@@ -669,10 +669,10 @@ var Qe = { exports: {} };
|
|
|
669
669
|
if (!D && a != null)
|
|
670
670
|
Pe(new Error("No activity within " + C + " milliseconds. " + (m === Be ? "No response received." : I + " chars received.") + " Reconnecting.")), a != null && (a.abort(), a = void 0);
|
|
671
671
|
else {
|
|
672
|
-
var
|
|
672
|
+
var J = Math.max((D || Date.now()) + C - Date.now(), 1);
|
|
673
673
|
D = !1, p = h(function() {
|
|
674
674
|
he();
|
|
675
|
-
},
|
|
675
|
+
}, J);
|
|
676
676
|
}
|
|
677
677
|
return;
|
|
678
678
|
}
|
|
@@ -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 Q = n.headers;
|
|
692
|
+
if (Q != null)
|
|
693
|
+
for (var Se in Q)
|
|
694
|
+
Object.prototype.hasOwnProperty.call(Q, Se) && (ee[Se] = Q[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
|
}
|
|
@@ -713,8 +713,8 @@ var Qe = { exports: {} };
|
|
|
713
713
|
n.EventSourcePolyfill = $, n.NativeEventSource = d, n.EventSource = Ve;
|
|
714
714
|
});
|
|
715
715
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : wt : globalThis);
|
|
716
|
-
})(
|
|
717
|
-
var jt =
|
|
716
|
+
})(Je, Je.exports);
|
|
717
|
+
var jt = Je.exports;
|
|
718
718
|
function zt(o) {
|
|
719
719
|
Ct(o, "svelte-15fwckg", '*,*::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;gap:5px}.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}');
|
|
720
720
|
}
|
|
@@ -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, V, 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 || (V = 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, V();
|
|
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, V, A, w, P, be = (
|
|
793
793
|
/*$_*/
|
|
794
794
|
o[9]("DepositButton") + ""
|
|
795
|
-
), we, Re,
|
|
795
|
+
), we, Re, q, Z, 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 = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), v = U("div"), d = U("p"), F = _e(B),
|
|
810
|
+
e = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), v = U("div"), d = U("p"), F = _e(B), K = me(), V = U("div");
|
|
811
811
|
for (let L = 0; L < M.length; L += 1)
|
|
812
812
|
M[L].c();
|
|
813
|
-
A = me(), w = U("div"), P = U("button"), we = _e(be), Re = me(), W && W.c(),
|
|
813
|
+
A = me(), w = U("div"), P = U("button"), we = _e(be), Re = me(), W && W.c(), q = me(), O && O.c(), R(t, "class", h = "BalanceModalClose " + /*isModalDisplayed*/
|
|
814
814
|
(o[5] ? "Open" : "")), R(d, "class", "BalanceModalTitle"), R(v, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(w, "class", "BalanceModalFooter"), R(l, "class", Z = "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, V);
|
|
821
821
|
for (let H = 0; H < M.length; H += 1)
|
|
822
822
|
M[H] && M[H].m(V, 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,7 +858,7 @@ 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
863
|
32 && Z !== (Z = "ModalContent " + /*isModalDisplayed*/
|
|
864
864
|
(L[5] ? "Open" : "")) && R(l, "class", Z), G[0] & /*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
|
), V;
|
|
895
895
|
return {
|
|
896
896
|
c() {
|
|
897
|
-
e = U("div"), t = U("p"), g = _e(h), c = me(), v = _e(l), d = me(), B = U("p"), F = U("span"), V = _e(
|
|
897
|
+
e = U("div"), t = U("p"), g = _e(h), c = me(), v = _e(l), d = me(), B = U("p"), F = U("span"), V = _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, V);
|
|
@@ -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(V,
|
|
918
|
+
) + "") && Ce(V, K);
|
|
919
919
|
},
|
|
920
920
|
d(A) {
|
|
921
921
|
A && ge(e);
|
|
@@ -1084,9 +1084,9 @@ function Ut(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: V = "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: Z = "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) => {
|
|
@@ -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 = Ue(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, V = 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, Z = 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 && V && A && T(), o.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1423
1423
|
8617984 && l && g && c && V && $(), 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,12 +1457,12 @@ function Pt(o, e, t) {
|
|
|
1457
1457
|
d,
|
|
1458
1458
|
B,
|
|
1459
1459
|
F,
|
|
1460
|
-
|
|
1460
|
+
K,
|
|
1461
1461
|
V,
|
|
1462
1462
|
A,
|
|
1463
1463
|
P,
|
|
1464
1464
|
Re,
|
|
1465
|
-
|
|
1465
|
+
q,
|
|
1466
1466
|
Z,
|
|
1467
1467
|
fe,
|
|
1468
1468
|
te,
|