@everymatrix/casino-header-controller-nd 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenuNd-C0vs2463.js → CasinoHamburgerMenuNd-CAV9ARg-.js} +915 -893
- package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +5 -0
- package/components/{CasinoHamburgerMenuNd-ByOv9WYg.js → CasinoHamburgerMenuNd-DNYzzmAB.js} +904 -882
- package/components/{CasinoHeaderControllerNd-DNfULXvS.js → CasinoHeaderControllerNd-B4Hgo5oq.js} +87 -87
- package/components/{CasinoHeaderControllerNd-C0iBDw78.cjs → CasinoHeaderControllerNd-Cd6hH1wA.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-Bj0vkyt0.js → CasinoHeaderControllerNd-bGnLcz2g.js} +85 -85
- package/components/{PlayerAccountBalanceModalNd-bDU8dGTK.js → PlayerAccountBalanceModalNd-BJJzPbdP.js} +96 -96
- package/components/{PlayerAccountBalanceModalNd-B4Yp_9Au.js → PlayerAccountBalanceModalNd-Ca8dF_9M.js} +93 -93
- package/components/{PlayerAccountBalanceModalNd-CjlZ6-7s.cjs → PlayerAccountBalanceModalNd-P1iLuuUG.cjs} +1 -1
- package/components/PlayerDeposit-B0r58Ypp.js +414 -0
- package/components/PlayerDeposit-BkVMpjA9.js +414 -0
- package/components/PlayerDeposit-CjEddUaf.cjs +1 -0
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-370424de-CedFjFMQ.js → gamification-dropdown-456bb56a-BJ9kAxaI.js} +4 -4
- package/stencil/{gamification-dropdown-370424de-G0GDuoBY.js → gamification-dropdown-456bb56a-CldmfDdk.js} +9 -9
- package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +1 -0
- package/stencil/{gamification-dropdown-CnI6W6X-.js → gamification-dropdown-BdMkPvQc.js} +1 -1
- package/stencil/{gamification-dropdown-Dy-qtuaZ.cjs → gamification-dropdown-CnrQK1ei.cjs} +1 -1
- package/stencil/{gamification-dropdown-BhM9nF9V.js → gamification-dropdown-FVqK4we0.js} +1 -1
- package/stencil/{gamification-dropdown_4-DgJc4ulv.js → gamification-dropdown_4-BZffGACN.js} +10 -10
- package/stencil/{gamification-dropdown_4-DFXXWsNB.js → gamification-dropdown_4-Cg4EiNTS.js} +9 -9
- package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +192 -0
- package/stencil/index-171550cf-BY--MwdX.cjs +1 -0
- package/stencil/index-171550cf-CVTOm2AV.js +799 -0
- package/stencil/index-171550cf-JwZ7TN-k.js +772 -0
- package/stencil/{player-elevate-card-l6Kpw4ym.js → player-elevate-card-Bo3fCMU8.js} +4 -4
- package/stencil/{player-elevate-card-CdmFcZg6.js → player-elevate-card-CGn57laL.js} +4 -4
- package/stencil/player-elevate-card-CW-95gEJ.cjs +64 -0
- package/stencil/{player-elevate-card-items-4e46b4c8-CP-E64XG.js → player-elevate-card-items-2078bd83-CUXuMGCR.js} +3 -1
- package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +1 -0
- package/stencil/{player-elevate-card-items-4e46b4c8-BDoQLG1C.js → player-elevate-card-items-2078bd83-DvW50KrW.js} +3 -1
- package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +1 -0
- package/stencil/{player-elevate-pointcard-D8gCv0PA.js → player-elevate-pointcard-jLOeOCx0.js} +7 -7
- package/stencil/{player-elevate-pointcard-DOd_C-CP.js → player-elevate-pointcard-teAW1AOh.js} +7 -7
- package/components/CasinoHamburgerMenuNd-C_mDzbID.cjs +0 -5
- package/components/PlayerDeposit-C__xk64-.js +0 -395
- package/components/PlayerDeposit-CmyD00QS.js +0 -395
- package/components/PlayerDeposit-DGMSukDR.cjs +0 -1
- package/stencil/gamification-dropdown-370424de-pf_jqgr1.cjs +0 -1
- package/stencil/gamification-dropdown_4-BDv_Y1ow.cjs +0 -192
- package/stencil/index-1ed44842-Cv2DDELg.js +0 -832
- package/stencil/index-1ed44842-Cv7p6OfM.js +0 -859
- package/stencil/index-1ed44842-Dr1nsipr.cjs +0 -1
- package/stencil/player-elevate-card-Btncg_vx.cjs +0 -64
- package/stencil/player-elevate-card-items-4e46b4c8-aapR8B2m.cjs +0 -1
- package/stencil/player-elevate-pointcard-CcFdRk9Q.cjs +0 -1
|
@@ -26,7 +26,7 @@ var tt = (o, e, t) => new Promise((s, u) => {
|
|
|
26
26
|
}, h = (m) => m.done ? s(m.value) : Promise.resolve(m.value).then(d, g);
|
|
27
27
|
h((t = t.apply(o, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { b as bt, $ as Bt, L as Tt, S as Ct, i as St,
|
|
29
|
+
import { b as bt, $ as Bt, L as Tt, S as Ct, i as St, f as Y, c as _t, s as At, d as Rt, g as V, h as ae, j as _, l as ge, m as T, D as We, r as me, v as Et, w as xt, n as Ne, F as Mt, B as pe, z as nt, x as Dt, C as he, y as Ve, A as ut, H as Lt, J as Ot } from "./CasinoHamburgerMenuNd-CAV9ARg-.js";
|
|
30
30
|
function at(o, e) {
|
|
31
31
|
bt(o, e);
|
|
32
32
|
}
|
|
@@ -233,7 +233,7 @@ const ot = {
|
|
|
233
233
|
Loading: "Loading ..."
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
var
|
|
236
|
+
var qe = { exports: {} };
|
|
237
237
|
/** @license
|
|
238
238
|
* eventsource.js
|
|
239
239
|
* Available under MIT License (MIT)
|
|
@@ -422,9 +422,9 @@ var We = { exports: {} };
|
|
|
422
422
|
ie.prototype.get = function(a) {
|
|
423
423
|
return this._map[J(a)];
|
|
424
424
|
}, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
|
|
425
|
-
function
|
|
425
|
+
function X() {
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
X.prototype.open = function(a, n, i, r, c, f, v) {
|
|
428
428
|
a.open("GET", c);
|
|
429
429
|
var p = 0;
|
|
430
430
|
a.onprogress = function() {
|
|
@@ -524,21 +524,21 @@ var We = { exports: {} };
|
|
|
524
524
|
c.length === 0 ? delete i[a] : i[a] = c;
|
|
525
525
|
}
|
|
526
526
|
};
|
|
527
|
-
function
|
|
527
|
+
function G(a) {
|
|
528
528
|
this.type = a, this.target = void 0;
|
|
529
529
|
}
|
|
530
530
|
function De(a, n) {
|
|
531
|
-
|
|
531
|
+
G.call(this, a), this.data = n.data, this.lastEventId = n.lastEventId;
|
|
532
532
|
}
|
|
533
|
-
De.prototype = Object.create(
|
|
533
|
+
De.prototype = Object.create(G.prototype);
|
|
534
534
|
function se(a, n) {
|
|
535
|
-
|
|
535
|
+
G.call(this, a), this.status = n.status, this.statusText = n.statusText, this.headers = n.headers;
|
|
536
536
|
}
|
|
537
|
-
se.prototype = Object.create(
|
|
537
|
+
se.prototype = Object.create(G.prototype);
|
|
538
538
|
function _e(a, n) {
|
|
539
|
-
|
|
539
|
+
G.call(this, a), this.error = n.error;
|
|
540
540
|
}
|
|
541
|
-
_e.prototype = Object.create(
|
|
541
|
+
_e.prototype = Object.create(G.prototype);
|
|
542
542
|
var Ae = -1, oe = 0, ve = 1, le = 2, Be = -1, re = 0, we = 1, Re = 2, je = 3, Le = /^text\/event\-stream(;.*)?$/i, He = 1e3, ze = 18e6, Te = function(a, n) {
|
|
543
543
|
var i = a == null ? n : parseInt(a, 10);
|
|
544
544
|
return i !== i && (i = n), Ee(i);
|
|
@@ -552,33 +552,33 @@ var We = { exports: {} };
|
|
|
552
552
|
}
|
|
553
553
|
};
|
|
554
554
|
function Q(a, n) {
|
|
555
|
-
N.call(this), n = n || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0,
|
|
555
|
+
N.call(this), n = n || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Xe(this, a, n);
|
|
556
556
|
}
|
|
557
557
|
function Ue() {
|
|
558
558
|
return d != null && "withCredentials" in d.prototype || g == null ? new d() : new g();
|
|
559
559
|
}
|
|
560
560
|
var Pe = L != null && M != null && "body" in M.prototype;
|
|
561
|
-
function
|
|
561
|
+
function Xe(a, n, i) {
|
|
562
562
|
n = String(n);
|
|
563
|
-
var r = !!i.withCredentials, c = i.lastEventIdQueryParameterName || "lastEventId", f = Ee(1e3), v = Te(i.heartbeatTimeout, 45e3), p = "", w = f, S = !1, D = 0, b = i.headers || {}, I = i.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new
|
|
563
|
+
var r = !!i.withCredentials, c = i.lastEventIdQueryParameterName || "lastEventId", f = Ee(1e3), v = Te(i.heartbeatTimeout, 45e3), p = "", w = f, S = !1, D = 0, b = i.headers || {}, I = i.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new X(), Z = void 0, K = 0, te = Ae, Ce = "", ke = "", de = "", Fe = "", W = re, Ge = 0, be = 0, pt = function(z, H, $, ee) {
|
|
564
564
|
if (te === oe)
|
|
565
565
|
if (z === 200 && $ != null && Le.test($)) {
|
|
566
566
|
te = ve, S = Date.now(), w = f, a.readyState = ve;
|
|
567
|
-
var
|
|
567
|
+
var q = new se("open", {
|
|
568
568
|
status: z,
|
|
569
569
|
statusText: H,
|
|
570
570
|
headers: ee
|
|
571
571
|
});
|
|
572
|
-
a.dispatchEvent(
|
|
572
|
+
a.dispatchEvent(q), ye(a, a.onopen, q);
|
|
573
573
|
} else {
|
|
574
574
|
var U = "";
|
|
575
575
|
z !== 200 ? (H && (H = H.replace(/\s+/g, " ")), U = "EventSource's response has a status " + z + " " + H + " that is not 200. Aborting the connection.") : U = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
|
|
576
|
-
var
|
|
576
|
+
var q = new se("error", {
|
|
577
577
|
status: z,
|
|
578
578
|
statusText: H,
|
|
579
579
|
headers: ee
|
|
580
580
|
});
|
|
581
|
-
a.dispatchEvent(
|
|
581
|
+
a.dispatchEvent(q), ye(a, a.onerror, q), console.error(U);
|
|
582
582
|
}
|
|
583
583
|
}, ht = function(z) {
|
|
584
584
|
if (te === ve) {
|
|
@@ -586,22 +586,22 @@ var We = { exports: {} };
|
|
|
586
586
|
var ee = z.charCodeAt($);
|
|
587
587
|
(ee === 10 || ee === 13) && (H = $);
|
|
588
588
|
}
|
|
589
|
-
var
|
|
589
|
+
var q = (H !== -1 ? Fe : "") + z.slice(0, H + 1);
|
|
590
590
|
Fe = (H === -1 ? Fe : "") + z.slice(H + 1), z !== "" && (S = Date.now(), D += z.length);
|
|
591
|
-
for (var U = 0; U <
|
|
592
|
-
var ee =
|
|
593
|
-
if (
|
|
594
|
-
|
|
595
|
-
else if (
|
|
596
|
-
if (
|
|
597
|
-
|
|
598
|
-
var ue =
|
|
591
|
+
for (var U = 0; U < q.length; U += 1) {
|
|
592
|
+
var ee = q.charCodeAt(U);
|
|
593
|
+
if (W === Be && ee === 10)
|
|
594
|
+
W = re;
|
|
595
|
+
else if (W === Be && (W = re), ee === 13 || ee === 10) {
|
|
596
|
+
if (W !== re) {
|
|
597
|
+
W === we && (be = U + 1);
|
|
598
|
+
var ue = q.slice(Ge, be - 1), fe = q.slice(be + (be < U && q.charCodeAt(be) === 32 ? 1 : 0), U);
|
|
599
599
|
ue === "data" ? (Ce += `
|
|
600
600
|
`, Ce += fe) : ue === "id" ? ke = fe : ue === "event" ? de = fe : ue === "retry" ? (f = Te(fe, f), w = f) : ue === "heartbeatTimeout" && (v = Te(fe, v), K !== 0 && (u(K), K = s(function() {
|
|
601
601
|
Me();
|
|
602
602
|
}, v)));
|
|
603
603
|
}
|
|
604
|
-
if (
|
|
604
|
+
if (W === re) {
|
|
605
605
|
if (Ce !== "") {
|
|
606
606
|
p = ke, de === "" && (de = "message");
|
|
607
607
|
var Se = new De(de, {
|
|
@@ -613,9 +613,9 @@ var We = { exports: {} };
|
|
|
613
613
|
}
|
|
614
614
|
Ce = "", de = "";
|
|
615
615
|
}
|
|
616
|
-
|
|
616
|
+
W = ee === 13 ? Be : re;
|
|
617
617
|
} else
|
|
618
|
-
|
|
618
|
+
W === re && (Ge = U, W = we), W === we ? ee === 58 && (be = U + 1, W = Re) : W === Re && (W = je);
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}, Je = function(z) {
|
|
@@ -642,7 +642,7 @@ var We = { exports: {} };
|
|
|
642
642
|
}
|
|
643
643
|
S = !1, D = 0, K = s(function() {
|
|
644
644
|
Me();
|
|
645
|
-
}, v), te = oe, Ce = "", de = "", ke = p, Fe = "",
|
|
645
|
+
}, v), te = oe, Ce = "", de = "", ke = p, Fe = "", Ge = 0, be = 0, W = re;
|
|
646
646
|
var H = n;
|
|
647
647
|
if (n.slice(0, 5) !== "data:" && n.slice(0, 5) !== "blob:" && p !== "") {
|
|
648
648
|
var $ = n.indexOf("?");
|
|
@@ -650,14 +650,14 @@ var We = { exports: {} };
|
|
|
650
650
|
return Se === c ? "" : fe;
|
|
651
651
|
}), H += (n.indexOf("?") === -1 ? "?" : "&") + c + "=" + encodeURIComponent(p);
|
|
652
652
|
}
|
|
653
|
-
var ee = a.withCredentials,
|
|
654
|
-
|
|
653
|
+
var ee = a.withCredentials, q = {};
|
|
654
|
+
q.Accept = "text/event-stream";
|
|
655
655
|
var U = a.headers;
|
|
656
656
|
if (U != null)
|
|
657
657
|
for (var ue in U)
|
|
658
|
-
Object.prototype.hasOwnProperty.call(U, ue) && (
|
|
658
|
+
Object.prototype.hasOwnProperty.call(U, ue) && (q[ue] = U[ue]);
|
|
659
659
|
try {
|
|
660
|
-
Z = xe.open(ce, pt, ht, Je, H, ee,
|
|
660
|
+
Z = xe.open(ce, pt, ht, Je, H, ee, q);
|
|
661
661
|
} catch (fe) {
|
|
662
662
|
throw Ke(), fe;
|
|
663
663
|
}
|
|
@@ -677,8 +677,8 @@ var We = { exports: {} };
|
|
|
677
677
|
a.EventSourcePolyfill = Q, a.NativeEventSource = m, a.EventSource = Oe;
|
|
678
678
|
});
|
|
679
679
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Tt : globalThis);
|
|
680
|
-
})(
|
|
681
|
-
var Ft =
|
|
680
|
+
})(qe, qe.exports);
|
|
681
|
+
var Ft = qe.exports;
|
|
682
682
|
/*!
|
|
683
683
|
* currency.js - v2.0.4
|
|
684
684
|
* http://scurker.github.io/currency.js
|
|
@@ -821,7 +821,7 @@ ne.prototype = {
|
|
|
821
821
|
}
|
|
822
822
|
};
|
|
823
823
|
function zt(o) {
|
|
824
|
-
|
|
824
|
+
Rt(o, "svelte-1tsugyl", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
|
|
825
825
|
}
|
|
826
826
|
function rt(o, e, t) {
|
|
827
827
|
const s = o.slice();
|
|
@@ -847,14 +847,14 @@ function Ut(o) {
|
|
|
847
847
|
);
|
|
848
848
|
return {
|
|
849
849
|
c() {
|
|
850
|
-
e = V("div"), t = V("p"), u =
|
|
850
|
+
e = V("div"), t = V("p"), u = pe(s), d = ae(), g = pe(
|
|
851
851
|
/*currency*/
|
|
852
852
|
o[5]
|
|
853
|
-
), h = ae(), m = V("span"), y = nt("svg"), R = nt("path"), M = ae(), B && B.c(), F =
|
|
853
|
+
), h = ae(), m = V("span"), y = nt("svg"), R = nt("path"), M = ae(), B && B.c(), F = Dt(), _(R, "id", "arrow"), _(R, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), _(R, "transform", "translate(-274.511 -441.088)"), _(R, "fill", "#d1d1d1"), _(y, "xmlns", "http://www.w3.org/2000/svg"), _(y, "width", "14"), _(y, "height", "6.835"), _(y, "viewBox", "0 0 14 6.835"), _(m, "class", L = /*modalOpened*/
|
|
854
854
|
o[3] ? "TriangleActive" : "TriangleInactive"), _(e, "class", "BalanceValue");
|
|
855
855
|
},
|
|
856
856
|
m(C, O) {
|
|
857
|
-
|
|
857
|
+
ge(C, e, O), T(e, t), T(t, u), T(t, d), T(t, g), T(e, h), T(e, m), T(m, y), T(y, R), ge(C, M, O), B && B.m(C, O), ge(C, F, O), E || (j = Ne(
|
|
858
858
|
e,
|
|
859
859
|
"click",
|
|
860
860
|
/*click_handler*/
|
|
@@ -870,8 +870,8 @@ function Ut(o) {
|
|
|
870
870
|
/*balances*/
|
|
871
871
|
C[1].Total[0].amount
|
|
872
872
|
)
|
|
873
|
-
) : "0") + "") &&
|
|
874
|
-
32 &&
|
|
873
|
+
) : "0") + "") && he(u, s), O[0] & /*currency*/
|
|
874
|
+
32 && he(
|
|
875
875
|
g,
|
|
876
876
|
/*currency*/
|
|
877
877
|
C[5]
|
|
@@ -881,7 +881,7 @@ function Ut(o) {
|
|
|
881
881
|
C[4] ? B ? B.p(C, O) : (B = st(C), B.c(), B.m(F.parentNode, F)) : B && (B.d(1), B = null);
|
|
882
882
|
},
|
|
883
883
|
d(C) {
|
|
884
|
-
C && (
|
|
884
|
+
C && (me(e), me(M), me(F)), B && B.d(C), E = !1, j();
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
}
|
|
@@ -892,18 +892,18 @@ function Pt(o) {
|
|
|
892
892
|
), s;
|
|
893
893
|
return {
|
|
894
894
|
c() {
|
|
895
|
-
e = V("p"), s =
|
|
895
|
+
e = V("p"), s = pe(t), _(e, "class", "Loading");
|
|
896
896
|
},
|
|
897
897
|
m(u, d) {
|
|
898
|
-
|
|
898
|
+
ge(u, e, d), T(e, s);
|
|
899
899
|
},
|
|
900
900
|
p(u, d) {
|
|
901
901
|
d[0] & /*$_*/
|
|
902
902
|
64 && t !== (t = /*$_*/
|
|
903
|
-
u[6]("Loading") + "") &&
|
|
903
|
+
u[6]("Loading") + "") && he(s, t);
|
|
904
904
|
},
|
|
905
905
|
d(u) {
|
|
906
|
-
u &&
|
|
906
|
+
u && me(e);
|
|
907
907
|
}
|
|
908
908
|
};
|
|
909
909
|
}
|
|
@@ -914,25 +914,25 @@ function st(o) {
|
|
|
914
914
|
), R, L, M, F, E, j, B = (
|
|
915
915
|
/*$_*/
|
|
916
916
|
o[6]("DepositButton") + ""
|
|
917
|
-
), C, O, k, P, J, ie,
|
|
917
|
+
), C, O, k, P, J, ie, X = Ve(Object.keys(
|
|
918
918
|
/*balances*/
|
|
919
919
|
o[1]
|
|
920
920
|
)), x = [];
|
|
921
|
-
for (let A = 0; A <
|
|
922
|
-
x[A] = ct(rt(o,
|
|
921
|
+
for (let A = 0; A < X.length; A += 1)
|
|
922
|
+
x[A] = ct(rt(o, X, A));
|
|
923
923
|
return {
|
|
924
924
|
c() {
|
|
925
|
-
e = V("div"), t = V("div"), u = ae(), d = V("div"), g = V("div"), h = V("div"), m = V("p"), R =
|
|
925
|
+
e = V("div"), t = V("div"), u = ae(), d = V("div"), g = V("div"), h = V("div"), m = V("p"), R = pe(y), L = ae(), M = V("div");
|
|
926
926
|
for (let A = 0; A < x.length; A += 1)
|
|
927
927
|
x[A].c();
|
|
928
|
-
F = ae(), E = V("div"), j = V("button"), C =
|
|
928
|
+
F = ae(), E = V("div"), j = V("button"), C = pe(B), _(t, "class", s = "BalanceModalClose " + /*modalOpened*/
|
|
929
929
|
(o[3] ? "Open" : "")), _(m, "class", "BalanceModalTitle"), _(h, "class", "BalanceModalHeader"), _(M, "class", "BalanceModalBody"), _(j, "class", "BalanceModalAction"), _(E, "class", "BalanceModalFooter"), _(g, "class", O = "ModalContent " + /*modalOpened*/
|
|
930
930
|
(o[3] ? "Open" : "")), _(d, "class", k = "BalanceModal " + /*modalOpened*/
|
|
931
931
|
(o[3] ? "Open" : "")), _(e, "class", P = "BalanceModalWrapper " + /*modalOpened*/
|
|
932
932
|
(o[3] ? "Open" : ""));
|
|
933
933
|
},
|
|
934
934
|
m(A, N) {
|
|
935
|
-
|
|
935
|
+
ge(A, e, N), T(e, t), T(e, u), T(e, d), T(d, g), T(g, h), T(h, m), T(m, R), T(g, L), T(g, M);
|
|
936
936
|
for (let l = 0; l < x.length; l += 1)
|
|
937
937
|
x[l] && x[l].m(M, null);
|
|
938
938
|
T(g, F), T(g, E), T(E, j), T(j, C), J || (ie = [
|
|
@@ -955,24 +955,24 @@ function st(o) {
|
|
|
955
955
|
8 && s !== (s = "BalanceModalClose " + /*modalOpened*/
|
|
956
956
|
(A[3] ? "Open" : "")) && _(t, "class", s), N[0] & /*$_*/
|
|
957
957
|
64 && y !== (y = /*$_*/
|
|
958
|
-
A[6]("Title") + "") &&
|
|
958
|
+
A[6]("Title") + "") && he(R, y), N[0] & /*balances, currency, formatBalance, $_*/
|
|
959
959
|
354) {
|
|
960
|
-
|
|
960
|
+
X = Ve(Object.keys(
|
|
961
961
|
/*balances*/
|
|
962
962
|
A[1]
|
|
963
963
|
));
|
|
964
964
|
let l;
|
|
965
|
-
for (l = 0; l <
|
|
966
|
-
const
|
|
967
|
-
x[l] ? x[l].p(
|
|
965
|
+
for (l = 0; l < X.length; l += 1) {
|
|
966
|
+
const G = rt(A, X, l);
|
|
967
|
+
x[l] ? x[l].p(G, N) : (x[l] = ct(G), x[l].c(), x[l].m(M, null));
|
|
968
968
|
}
|
|
969
969
|
for (; l < x.length; l += 1)
|
|
970
970
|
x[l].d(1);
|
|
971
|
-
x.length =
|
|
971
|
+
x.length = X.length;
|
|
972
972
|
}
|
|
973
973
|
N[0] & /*$_*/
|
|
974
974
|
64 && B !== (B = /*$_*/
|
|
975
|
-
A[6]("DepositButton") + "") &&
|
|
975
|
+
A[6]("DepositButton") + "") && he(C, B), N[0] & /*modalOpened*/
|
|
976
976
|
8 && O !== (O = "ModalContent " + /*modalOpened*/
|
|
977
977
|
(A[3] ? "Open" : "")) && _(g, "class", O), N[0] & /*modalOpened*/
|
|
978
978
|
8 && k !== (k = "BalanceModal " + /*modalOpened*/
|
|
@@ -981,7 +981,7 @@ function st(o) {
|
|
|
981
981
|
(A[3] ? "Open" : "")) && _(e, "class", P);
|
|
982
982
|
},
|
|
983
983
|
d(A) {
|
|
984
|
-
A &&
|
|
984
|
+
A && me(e), ut(x, A), J = !1, Lt(ie);
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
}
|
|
@@ -1013,13 +1013,13 @@ function lt(o) {
|
|
|
1013
1013
|
), M, F, E, j;
|
|
1014
1014
|
return {
|
|
1015
1015
|
c() {
|
|
1016
|
-
e = V("div"), t = V("p"), u =
|
|
1016
|
+
e = V("div"), t = V("p"), u = pe(s), d = ae(), h = pe(g), m = ae(), y = V("p"), R = V("span"), M = pe(L), F = ae(), E = V("span"), j = pe(
|
|
1017
1017
|
/*currency*/
|
|
1018
1018
|
o[5]
|
|
1019
1019
|
), _(t, "class", "BalanceModalText"), _(R, "class", "BalanceModalAmount"), _(E, "class", "BalanceModalCurrency"), _(y, "class", "BalanceModalValue"), _(e, "class", "BalanceModalRowLine");
|
|
1020
1020
|
},
|
|
1021
1021
|
m(B, C) {
|
|
1022
|
-
|
|
1022
|
+
ge(B, e, C), T(e, t), T(t, u), T(t, d), T(t, h), T(e, m), T(e, y), T(y, R), T(R, M), T(y, F), T(y, E), T(E, j);
|
|
1023
1023
|
},
|
|
1024
1024
|
p(B, C) {
|
|
1025
1025
|
C[0] & /*$_, balances*/
|
|
@@ -1027,7 +1027,7 @@ function lt(o) {
|
|
|
1027
1027
|
B[6](
|
|
1028
1028
|
/*k*/
|
|
1029
1029
|
B[50]
|
|
1030
|
-
) + "") &&
|
|
1030
|
+
) + "") && he(u, s), C[0] & /*balances, $_*/
|
|
1031
1031
|
66 && g !== (g = /*b*/
|
|
1032
1032
|
(B[53].productType ? (
|
|
1033
1033
|
/*$_*/
|
|
@@ -1035,7 +1035,7 @@ function lt(o) {
|
|
|
1035
1035
|
/*b*/
|
|
1036
1036
|
B[53].productType
|
|
1037
1037
|
)
|
|
1038
|
-
) : "") + "") &&
|
|
1038
|
+
) : "") + "") && he(h, g), C[0] & /*balances*/
|
|
1039
1039
|
2 && L !== (L = /*b*/
|
|
1040
1040
|
(B[53].amount ? (
|
|
1041
1041
|
/*formatBalance*/
|
|
@@ -1043,15 +1043,15 @@ function lt(o) {
|
|
|
1043
1043
|
/*b*/
|
|
1044
1044
|
B[53].amount
|
|
1045
1045
|
)
|
|
1046
|
-
) : "0") + "") &&
|
|
1047
|
-
32 &&
|
|
1046
|
+
) : "0") + "") && he(M, L), C[0] & /*currency*/
|
|
1047
|
+
32 && he(
|
|
1048
1048
|
j,
|
|
1049
1049
|
/*currency*/
|
|
1050
1050
|
B[5]
|
|
1051
1051
|
);
|
|
1052
1052
|
},
|
|
1053
1053
|
d(B) {
|
|
1054
|
-
B &&
|
|
1054
|
+
B && me(e);
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
@@ -1073,7 +1073,7 @@ function ct(o) {
|
|
|
1073
1073
|
t = ae(), _(e, "class", "BalanceModalRowBoth");
|
|
1074
1074
|
},
|
|
1075
1075
|
m(d, g) {
|
|
1076
|
-
|
|
1076
|
+
ge(d, e, g);
|
|
1077
1077
|
for (let h = 0; h < u.length; h += 1)
|
|
1078
1078
|
u[h] && u[h].m(e, null);
|
|
1079
1079
|
T(e, t);
|
|
@@ -1099,7 +1099,7 @@ function ct(o) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
},
|
|
1101
1101
|
d(d) {
|
|
1102
|
-
d &&
|
|
1102
|
+
d && me(e), ut(u, d);
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
1105
|
}
|
|
@@ -1110,20 +1110,20 @@ function dt(o) {
|
|
|
1110
1110
|
e = V("div"), _(e, "class", "ShowBalanceModalOverlay");
|
|
1111
1111
|
},
|
|
1112
1112
|
m(u, d) {
|
|
1113
|
-
|
|
1113
|
+
ge(u, e, d), t || (s = Ne(
|
|
1114
1114
|
e,
|
|
1115
1115
|
"click",
|
|
1116
1116
|
/*click_handler_3*/
|
|
1117
1117
|
o[27]
|
|
1118
1118
|
), t = !0);
|
|
1119
1119
|
},
|
|
1120
|
-
p:
|
|
1120
|
+
p: We,
|
|
1121
1121
|
d(u) {
|
|
1122
|
-
u &&
|
|
1122
|
+
u && me(e), t = !1, s();
|
|
1123
1123
|
}
|
|
1124
1124
|
};
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1126
|
+
function Xt(o) {
|
|
1127
1127
|
let e, t, s;
|
|
1128
1128
|
function u(m, y) {
|
|
1129
1129
|
return (
|
|
@@ -1140,24 +1140,24 @@ function Gt(o) {
|
|
|
1140
1140
|
e = V("div"), t = V("div"), g.c(), s = ae(), h && h.c(), _(t, "class", "ShowBalance");
|
|
1141
1141
|
},
|
|
1142
1142
|
m(m, y) {
|
|
1143
|
-
|
|
1143
|
+
ge(m, e, y), T(e, t), g.m(t, null), T(e, s), h && h.m(e, null), o[28](e);
|
|
1144
1144
|
},
|
|
1145
1145
|
p(m, y) {
|
|
1146
1146
|
d === (d = u(m)) && g ? g.p(m, y) : (g.d(1), g = d(m), g && (g.c(), g.m(t, null))), /*showBalance*/
|
|
1147
1147
|
m[4] ? h ? h.p(m, y) : (h = dt(m), h.c(), h.m(e, null)) : h && (h.d(1), h = null);
|
|
1148
1148
|
},
|
|
1149
|
-
i:
|
|
1150
|
-
o:
|
|
1149
|
+
i: We,
|
|
1150
|
+
o: We,
|
|
1151
1151
|
d(m) {
|
|
1152
|
-
m &&
|
|
1152
|
+
m && me(e), g.d(), h && h.d(), o[28](null);
|
|
1153
1153
|
}
|
|
1154
1154
|
};
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function Gt(o, e, t) {
|
|
1157
1157
|
let s;
|
|
1158
|
-
|
|
1159
|
-
let { userid: u = "" } = e, { session: d = "" } = e, { endpoint: g = "" } = e, { lang: h = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: C = "" } = e, O, k, P, J, ie = !1,
|
|
1160
|
-
const l = {},
|
|
1158
|
+
Et(o, Ot, (n) => t(6, s = n));
|
|
1159
|
+
let { userid: u = "" } = e, { session: d = "" } = e, { endpoint: g = "" } = e, { lang: h = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: C = "" } = e, O, k, P, J, ie = !1, X = "", x = [], A, N = !1;
|
|
1160
|
+
const l = {}, G = ["totalCashAmount", "totalRealAmount"], De = () => {
|
|
1161
1161
|
fetch(R).then((n) => n.json()).then((n) => Object.keys(n).forEach((i) => at(i, n[i]))).catch((n) => console.log(n));
|
|
1162
1162
|
};
|
|
1163
1163
|
Object.keys(ot).forEach((n) => at(n, ot[n]));
|
|
@@ -1210,7 +1210,7 @@ function Xt(o, e, t) {
|
|
|
1210
1210
|
headers: { "X-SessionID": d }
|
|
1211
1211
|
}), v = yield f.json();
|
|
1212
1212
|
if (f.ok)
|
|
1213
|
-
window.postMessage({ type: "BalancedFetched" }, window.location.href), x = v.items, t(5,
|
|
1213
|
+
window.postMessage({ type: "BalancedFetched" }, window.location.href), x = v.items, t(5, X = (i = x.find((p) => p.displayName === "Casino")) == null ? void 0 : i.currency), t(1, l.Total = [{ amount: v.totalAmount[X] }], l), t(
|
|
1214
1214
|
1,
|
|
1215
1215
|
l.Real = [
|
|
1216
1216
|
{
|
|
@@ -1238,13 +1238,13 @@ function Xt(o, e, t) {
|
|
|
1238
1238
|
t(2, O = !0);
|
|
1239
1239
|
const n = new URL(`${g}/v2/player/${u}/balance`), i = new Headers();
|
|
1240
1240
|
i.append("X-SessionID", d), fetch(n, { method: "GET", headers: i }).then((c) => c.json()).then((c) => {
|
|
1241
|
-
c[E] || t(10, E =
|
|
1241
|
+
c[E] || t(10, E = G[0]);
|
|
1242
1242
|
const f = c.items.find((p) => p.type === "Real" && p.walletAccountType === "Ordinary");
|
|
1243
|
-
if (t(5,
|
|
1243
|
+
if (t(5, X = f.currency), N = !!f.productType, t(1, l.Total = [{ amount: 0 }], l), t(1, l.Real = [], l), t(1, l.Bonus = [], l), t(1, l.Credit = [], l), !N) {
|
|
1244
1244
|
A = {
|
|
1245
1245
|
lastOrdinaryAfterAmount: 0,
|
|
1246
1246
|
showCreditLineAfterAmount: !1
|
|
1247
|
-
}, t(1, l.Total[0].amount = c[E][
|
|
1247
|
+
}, t(1, l.Total[0].amount = c[E][X], l);
|
|
1248
1248
|
for (const p of c.items)
|
|
1249
1249
|
switch (p.type) {
|
|
1250
1250
|
case "Bonus":
|
|
@@ -1387,7 +1387,7 @@ function Xt(o, e, t) {
|
|
|
1387
1387
|
}, Le = () => {
|
|
1388
1388
|
se("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
|
1389
1389
|
}, He = () => {
|
|
1390
|
-
|
|
1390
|
+
G.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${G}. Using default value ('${G[0]}').`), t(10, E = G[0]));
|
|
1391
1391
|
}, ze = () => {
|
|
1392
1392
|
switch (kt(h), He(), M) {
|
|
1393
1393
|
case "gmcore":
|
|
@@ -1415,12 +1415,12 @@ function Xt(o, e, t) {
|
|
|
1415
1415
|
}, Q = () => {
|
|
1416
1416
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1417
1417
|
};
|
|
1418
|
-
|
|
1418
|
+
xt(() => (window.addEventListener("message", Te, !1), () => {
|
|
1419
1419
|
window.removeEventListener("message", Te), J && J.close();
|
|
1420
1420
|
}));
|
|
1421
|
-
const Ue = () => se("balance"), Pe = () => se("closebalance"),
|
|
1421
|
+
const Ue = () => se("balance"), Pe = () => se("closebalance"), Xe = () => Le(), Oe = () => se("closeBalance");
|
|
1422
1422
|
function a(n) {
|
|
1423
|
-
|
|
1423
|
+
Mt[n ? "unshift" : "push"](() => {
|
|
1424
1424
|
k = n, t(0, k);
|
|
1425
1425
|
});
|
|
1426
1426
|
}
|
|
@@ -1441,7 +1441,7 @@ function Xt(o, e, t) {
|
|
|
1441
1441
|
O,
|
|
1442
1442
|
P,
|
|
1443
1443
|
ie,
|
|
1444
|
-
|
|
1444
|
+
X,
|
|
1445
1445
|
s,
|
|
1446
1446
|
se,
|
|
1447
1447
|
Ae,
|
|
@@ -1462,7 +1462,7 @@ function Xt(o, e, t) {
|
|
|
1462
1462
|
C,
|
|
1463
1463
|
Ue,
|
|
1464
1464
|
Pe,
|
|
1465
|
-
|
|
1465
|
+
Xe,
|
|
1466
1466
|
Oe,
|
|
1467
1467
|
a
|
|
1468
1468
|
];
|
|
@@ -1472,9 +1472,9 @@ class Kt extends Ct {
|
|
|
1472
1472
|
super(), St(
|
|
1473
1473
|
this,
|
|
1474
1474
|
e,
|
|
1475
|
-
Xt,
|
|
1476
1475
|
Gt,
|
|
1477
|
-
|
|
1476
|
+
Xt,
|
|
1477
|
+
At,
|
|
1478
1478
|
{
|
|
1479
1479
|
userid: 11,
|
|
1480
1480
|
session: 12,
|
|
@@ -1580,7 +1580,7 @@ class Kt extends Ct {
|
|
|
1580
1580
|
this.$$set({ currencyprecision: e }), Y();
|
|
1581
1581
|
}
|
|
1582
1582
|
}
|
|
1583
|
-
|
|
1583
|
+
_t(Kt, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
|
|
1584
1584
|
export {
|
|
1585
1585
|
Kt as default
|
|
1586
1586
|
};
|