@everymatrix/casino-header-controller-nd 1.74.1 → 1.74.3
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-D5qHcIAM.js → CasinoHamburgerMenuNd-DCIbJETO.js} +1044 -1079
- package/components/{CasinoHamburgerMenuNd-BWy1ZUsq.js → CasinoHamburgerMenuNd-DEThSzp-.js} +1033 -1068
- package/components/CasinoHamburgerMenuNd-DVkwoQLy.cjs +18 -0
- package/components/{CasinoHeaderControllerNd-DrcS0_kr.cjs → CasinoHeaderControllerNd-BjNQ4Vo8.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-D8coGzay.js → CasinoHeaderControllerNd-Dwwd_aNY.js} +448 -440
- package/components/{CasinoHeaderControllerNd-D-0_HmHq.js → CasinoHeaderControllerNd-GtZBzdJH.js} +383 -375
- package/components/{PlayerAccountBalanceModalNd-DIpJMyFJ.cjs → PlayerAccountBalanceModalNd-BcXw4NET.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-ryD_JGFW.js → PlayerAccountBalanceModalNd-Bw9rjTo4.js} +97 -97
- package/components/{PlayerAccountBalanceModalNd-BoRsVvhM.js → PlayerAccountBalanceModalNd-Dx2mKpxh.js} +54 -54
- package/components/{PlayerDeposit-DmnKNCM6.cjs → PlayerDeposit-CJU-i6Vq.cjs} +1 -1
- package/components/{PlayerDeposit-CMFimcZ9.js → PlayerDeposit-D3SlvMgE.js} +33 -33
- package/components/{PlayerDeposit-qceWCK2k.js → PlayerDeposit-FdBU0eKT.js} +33 -33
- 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-343647b2-Ygf9wlk1.js → gamification-dropdown-343647b2-B2iPgMxf.js} +8 -8
- package/stencil/{gamification-dropdown-343647b2-DwTk5rRU.cjs → gamification-dropdown-343647b2-CMaCXQz4.cjs} +1 -1
- package/stencil/{gamification-dropdown-343647b2-Bds2TLN7.js → gamification-dropdown-343647b2-CzD-SLIz.js} +3 -3
- package/stencil/{gamification-dropdown-DHNA_98f.js → gamification-dropdown-Cc01Up1v.js} +1 -1
- package/stencil/{gamification-dropdown-D_esnmF8.cjs → gamification-dropdown-LvA_48BC.cjs} +1 -1
- package/stencil/{gamification-dropdown-Cgyrl9or.js → gamification-dropdown-ZCYedZa7.js} +1 -1
- package/stencil/{gamification-dropdown_4-CSSqKMgX.cjs → gamification-dropdown_4-BX_M5-3b.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-D0zC6s0z.js → gamification-dropdown_4-DL1cnnR5.js} +4 -4
- package/stencil/{gamification-dropdown_4-CZ473RmE.js → gamification-dropdown_4-xBVux7NE.js} +4 -4
- package/stencil/{index-71b1bdfa-CsvLx63r.js → index-71b1bdfa-B7YYI4Ij.js} +235 -235
- package/stencil/index-71b1bdfa-Dtlgkwlr.cjs +1 -0
- package/stencil/{index-71b1bdfa-_pPD5FBH.js → index-71b1bdfa-udB106Ku.js} +226 -226
- package/stencil/{player-elevate-card-BzOMRM7h.js → player-elevate-card-BB5pZCk-.js} +2 -2
- package/stencil/{player-elevate-card-RwOVHsJs.cjs → player-elevate-card-CKK8SqIG.cjs} +1 -1
- package/stencil/{player-elevate-card-Cq9AY34b.js → player-elevate-card-CbLaEjY4.js} +2 -2
- package/stencil/{player-elevate-card-items-08c6fbd8-DjORuh1x.js → player-elevate-card-items-08c6fbd8-BdwzqbIt.js} +294 -292
- package/stencil/player-elevate-card-items-08c6fbd8-CxS3i_Tk.cjs +102 -0
- package/stencil/{player-elevate-card-items-08c6fbd8-BbWvVixN.js → player-elevate-card-items-08c6fbd8-D4NYTRjn.js} +294 -292
- package/stencil/{player-elevate-pointcard-0nAvSKAh.cjs → player-elevate-pointcard-D5nTLaWf.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-B2LdaCFC.js → player-elevate-pointcard-DVNYxgd0.js} +2 -2
- package/stencil/{player-elevate-pointcard-DpAG2GwO.js → player-elevate-pointcard-YG_JS6s5.js} +2 -2
- package/stencil/{player-rakeback-card-Dw8NVtO5.js → player-rakeback-card-BuGLD8w-.js} +1 -1
- package/stencil/{player-rakeback-card-BmxqgBwM.js → player-rakeback-card-BzpdZUG1.js} +1 -1
- package/stencil/{player-rakeback-card-Cse8u92i.cjs → player-rakeback-card-DU_y15t2.cjs} +1 -1
- package/components/CasinoHamburgerMenuNd-BFJo8Ysi.cjs +0 -18
- package/stencil/index-71b1bdfa-D1DTp5qp.cjs +0 -1
- package/stencil/player-elevate-card-items-08c6fbd8-CfgH9Fd6.cjs +0 -102
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as it, $ as lt, N as st, S as ct, i as dt,
|
|
1
|
+
import { b as it, $ as lt, N as st, S as ct, i as dt, f as X, c as ut, s as ft, d as pt, g as I, h as he, k as C, m as me, n as A, E as Xe, v as ge, w as ht, x as mt, o as je, F as gt, G as yt, H as vt, I as wt, J as bt, C as Be, A as qe, y as Bt, D as Te, z as He, B as nt, K as Tt, L as St } from "./CasinoHamburgerMenuNd-DEThSzp-.js";
|
|
2
2
|
function Ye(s, a) {
|
|
3
3
|
it(s, a);
|
|
4
4
|
}
|
|
@@ -300,16 +300,16 @@ var Ke = { exports: {} };
|
|
|
300
300
|
};
|
|
301
301
|
var r = function() {
|
|
302
302
|
if (e === 1) {
|
|
303
|
-
var m = 0, _ = "",
|
|
303
|
+
var m = 0, _ = "", W = void 0;
|
|
304
304
|
if ("contentType" in i)
|
|
305
|
-
m = 200, _ = "OK",
|
|
305
|
+
m = 200, _ = "OK", W = i.contentType;
|
|
306
306
|
else
|
|
307
307
|
try {
|
|
308
|
-
m = i.status, _ = i.statusText,
|
|
308
|
+
m = i.status, _ = i.statusText, W = i.getResponseHeader("Content-Type");
|
|
309
309
|
} catch {
|
|
310
|
-
m = 0, _ = "",
|
|
310
|
+
m = 0, _ = "", W = void 0;
|
|
311
311
|
}
|
|
312
|
-
m !== 0 && (e = 2, u.readyState = 2, u.status = m, u.statusText = _, u._contentType =
|
|
312
|
+
m !== 0 && (e = 2, u.readyState = 2, u.status = m, u.statusText = _, u._contentType = W, u.onreadystatechange());
|
|
313
313
|
}
|
|
314
314
|
}, c = function() {
|
|
315
315
|
if (r(), e === 2 || e === 3) {
|
|
@@ -434,17 +434,17 @@ var Ke = { exports: {} };
|
|
|
434
434
|
signal: w,
|
|
435
435
|
cache: "no-store"
|
|
436
436
|
}).then(function(m) {
|
|
437
|
-
return c = m.body.getReader(), l(m.status, m.statusText, m.headers.get("Content-Type"), new N(m.headers)), new M(function(_,
|
|
437
|
+
return c = m.body.getReader(), l(m.status, m.statusText, m.headers.get("Content-Type"), new N(m.headers)), new M(function(_, W) {
|
|
438
438
|
var ve = function() {
|
|
439
439
|
c.read().then(function(H) {
|
|
440
440
|
if (H.done)
|
|
441
441
|
_(void 0);
|
|
442
442
|
else {
|
|
443
|
-
var
|
|
444
|
-
u(
|
|
443
|
+
var q = p.decode(H.value, { stream: !0 });
|
|
444
|
+
u(q), ve();
|
|
445
445
|
}
|
|
446
446
|
}).catch(function(H) {
|
|
447
|
-
|
|
447
|
+
W(H);
|
|
448
448
|
});
|
|
449
449
|
};
|
|
450
450
|
ve();
|
|
@@ -532,7 +532,7 @@ var Ke = { exports: {} };
|
|
|
532
532
|
var Oe = k != null && L != null && "body" in L.prototype;
|
|
533
533
|
function Ue(t, l, u) {
|
|
534
534
|
l = String(l);
|
|
535
|
-
var i = !!u.withCredentials, e = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = De(u.heartbeatTimeout, 45e3), c = "", h = o, w = !1, p = 0, m = u.headers || {}, _ = u.Transport,
|
|
535
|
+
var i = !!u.withCredentials, e = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = De(u.heartbeatTimeout, 45e3), c = "", h = o, w = !1, p = 0, m = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(), H = void 0, q = 0, re = de, _e = "", Fe = "", ue = "", Ie = "", Y = le, Pe = 0, be = 0, ot = function(U, z, $, ee) {
|
|
536
536
|
if (re === ie)
|
|
537
537
|
if (U === 200 && $ != null && ze.test($)) {
|
|
538
538
|
re = ne, w = Date.now(), h = o, t.readyState = ne;
|
|
@@ -569,7 +569,7 @@ var Ke = { exports: {} };
|
|
|
569
569
|
Y === Re && (be = P + 1);
|
|
570
570
|
var fe = J.slice(Pe, be - 1), pe = J.slice(be + (be < P && J.charCodeAt(be) === 32 ? 1 : 0), P);
|
|
571
571
|
fe === "data" ? (_e += `
|
|
572
|
-
`, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = De(pe, o), h = o) : fe === "heartbeatTimeout" && (r = De(pe, r),
|
|
572
|
+
`, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = De(pe, o), h = o) : fe === "heartbeatTimeout" && (r = De(pe, r), q !== 0 && (g(q), q = v(function() {
|
|
573
573
|
Me();
|
|
574
574
|
}, r)));
|
|
575
575
|
}
|
|
@@ -590,29 +590,29 @@ var Ke = { exports: {} };
|
|
|
590
590
|
Y === le && (Pe = P, Y = Re), Y === Re ? ee === 58 && (be = P + 1, Y = Se) : Y === Se && (Y = Le);
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
|
-
},
|
|
593
|
+
}, We = function(U) {
|
|
594
594
|
if (re === ne || re === ie) {
|
|
595
|
-
re = de,
|
|
595
|
+
re = de, q !== 0 && (g(q), q = 0), q = v(function() {
|
|
596
596
|
Me();
|
|
597
597
|
}, h), h = Ce(Math.min(o * 16, h * 2)), t.readyState = ie;
|
|
598
598
|
var z = new f("error", { error: U });
|
|
599
599
|
t.dispatchEvent(z), ye(t, t.onerror, z), U != null && console.error(U);
|
|
600
600
|
}
|
|
601
601
|
}, Ge = function() {
|
|
602
|
-
re = we, H != null && (H.abort(), H = void 0),
|
|
602
|
+
re = we, H != null && (H.abort(), H = void 0), q !== 0 && (g(q), q = 0), t.readyState = we;
|
|
603
603
|
}, Me = function() {
|
|
604
|
-
if (
|
|
604
|
+
if (q = 0, re !== de) {
|
|
605
605
|
if (!w && H != null)
|
|
606
|
-
|
|
606
|
+
We(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : p + " chars received.") + " Reconnecting.")), H != null && (H.abort(), H = void 0);
|
|
607
607
|
else {
|
|
608
608
|
var U = Math.max((w || Date.now()) + r - Date.now(), 1);
|
|
609
|
-
w = !1,
|
|
609
|
+
w = !1, q = v(function() {
|
|
610
610
|
Me();
|
|
611
611
|
}, U);
|
|
612
612
|
}
|
|
613
613
|
return;
|
|
614
614
|
}
|
|
615
|
-
w = !1, p = 0,
|
|
615
|
+
w = !1, p = 0, q = v(function() {
|
|
616
616
|
Me();
|
|
617
617
|
}, r), re = ie, _e = "", ue = "", Fe = c, Ie = "", Pe = 0, be = 0, Y = le;
|
|
618
618
|
var z = l;
|
|
@@ -629,7 +629,7 @@ var Ke = { exports: {} };
|
|
|
629
629
|
for (var fe in P)
|
|
630
630
|
Object.prototype.hasOwnProperty.call(P, fe) && (J[fe] = P[fe]);
|
|
631
631
|
try {
|
|
632
|
-
H = ve.open(
|
|
632
|
+
H = ve.open(W, ot, rt, We, z, ee, J);
|
|
633
633
|
} catch (pe) {
|
|
634
634
|
throw Ge(), pe;
|
|
635
635
|
}
|
|
@@ -652,7 +652,7 @@ var Ke = { exports: {} };
|
|
|
652
652
|
})(Ke, Ke.exports);
|
|
653
653
|
var _t = Ke.exports;
|
|
654
654
|
function At(s) {
|
|
655
|
-
|
|
655
|
+
pt(s, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
|
|
656
656
|
}
|
|
657
657
|
function Qe(s, a, n) {
|
|
658
658
|
const v = s.slice();
|
|
@@ -678,7 +678,7 @@ function xt(s) {
|
|
|
678
678
|
);
|
|
679
679
|
return {
|
|
680
680
|
c() {
|
|
681
|
-
a = I("button"), n = I("p"), g =
|
|
681
|
+
a = I("button"), n = I("p"), g = Be(v), d = he(), b = I("span"), y = qe("svg"), B = qe("path"), M = he(), S && S.c(), k = Bt(), 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(y, "xmlns", "http://www.w3.org/2000/svg"), C(y, "width", "14"), C(y, "height", "6.835"), C(y, "viewBox", "0 0 14 6.835"), C(b, "class", T = /*isModalDisplayed*/
|
|
682
682
|
s[3] ? "TriangleActive" : "TriangleInactive"), C(a, "class", "BalanceValue");
|
|
683
683
|
},
|
|
684
684
|
m(R, j) {
|
|
@@ -698,13 +698,13 @@ function xt(s) {
|
|
|
698
698
|
/*balances*/
|
|
699
699
|
R[1].Total[0].amount
|
|
700
700
|
)
|
|
701
|
-
) : "0") + "") &&
|
|
701
|
+
) : "0") + "") && Te(g, v), j[0] & /*isModalDisplayed*/
|
|
702
702
|
8 && T !== (T = /*isModalDisplayed*/
|
|
703
703
|
R[3] ? "TriangleActive" : "TriangleInactive") && C(b, "class", T), /*showBalance*/
|
|
704
704
|
R[4] ? S ? S.p(R, j) : (S = $e(R), S.c(), S.m(k.parentNode, k)) : S && (S.d(1), S = null);
|
|
705
705
|
},
|
|
706
706
|
d(R) {
|
|
707
|
-
R && (
|
|
707
|
+
R && (ge(a), ge(M), ge(k)), S && S.d(R), L = !1, x();
|
|
708
708
|
}
|
|
709
709
|
};
|
|
710
710
|
}
|
|
@@ -715,7 +715,7 @@ function Rt(s) {
|
|
|
715
715
|
), v;
|
|
716
716
|
return {
|
|
717
717
|
c() {
|
|
718
|
-
a = I("p"), v =
|
|
718
|
+
a = I("p"), v = Be(n), C(a, "class", "Loading");
|
|
719
719
|
},
|
|
720
720
|
m(g, d) {
|
|
721
721
|
me(g, a, d), A(a, v);
|
|
@@ -723,10 +723,10 @@ function Rt(s) {
|
|
|
723
723
|
p(g, d) {
|
|
724
724
|
d[0] & /*$_*/
|
|
725
725
|
64 && n !== (n = /*$_*/
|
|
726
|
-
g[6]("Loading") + "") &&
|
|
726
|
+
g[6]("Loading") + "") && Te(v, n);
|
|
727
727
|
},
|
|
728
728
|
d(g) {
|
|
729
|
-
g &&
|
|
729
|
+
g && ge(a);
|
|
730
730
|
}
|
|
731
731
|
};
|
|
732
732
|
}
|
|
@@ -745,10 +745,10 @@ function $e(s) {
|
|
|
745
745
|
N[E] = tt(Qe(s, K, E));
|
|
746
746
|
return {
|
|
747
747
|
c() {
|
|
748
|
-
a = I("div"), n = I("button"), g =
|
|
748
|
+
a = I("div"), n = I("button"), g = he(), d = I("div"), b = I("div"), y = I("div"), B = I("p"), M = Be(T), k = he(), L = I("div");
|
|
749
749
|
for (let E = 0; E < N.length; E += 1)
|
|
750
750
|
N[E].c();
|
|
751
|
-
x =
|
|
751
|
+
x = he(), S = I("div"), R = I("button"), te = Be(j), C(n, "class", v = "BalanceModalClose " + /*isModalDisplayed*/
|
|
752
752
|
(s[3] ? "Open" : "")), C(B, "class", "BalanceModalTitle"), C(y, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(b, "class", ae = "ModalContent " + /*isModalDisplayed*/
|
|
753
753
|
(s[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
|
|
754
754
|
(s[3] ? "Open" : "")), C(a, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
@@ -778,7 +778,7 @@ function $e(s) {
|
|
|
778
778
|
8 && v !== (v = "BalanceModalClose " + /*isModalDisplayed*/
|
|
779
779
|
(E[3] ? "Open" : "")) && C(n, "class", v), V[0] & /*$_*/
|
|
780
780
|
64 && T !== (T = /*$_*/
|
|
781
|
-
E[6]("Title") + "") &&
|
|
781
|
+
E[6]("Title") + "") && Te(M, T), V[0] & /*balances, formatBalance, $_*/
|
|
782
782
|
322) {
|
|
783
783
|
K = He(Object.keys(
|
|
784
784
|
/*balances*/
|
|
@@ -795,7 +795,7 @@ function $e(s) {
|
|
|
795
795
|
}
|
|
796
796
|
V[0] & /*$_*/
|
|
797
797
|
64 && j !== (j = /*$_*/
|
|
798
|
-
E[6]("DepositButton") + "") &&
|
|
798
|
+
E[6]("DepositButton") + "") && Te(te, j), V[0] & /*isModalDisplayed*/
|
|
799
799
|
8 && ae !== (ae = "ModalContent " + /*isModalDisplayed*/
|
|
800
800
|
(E[3] ? "Open" : "")) && C(b, "class", ae), V[0] & /*isModalDisplayed*/
|
|
801
801
|
8 && F !== (F = "BalanceModal " + /*isModalDisplayed*/
|
|
@@ -804,7 +804,7 @@ function $e(s) {
|
|
|
804
804
|
(E[3] ? "Open" : "")) && C(a, "class", O);
|
|
805
805
|
},
|
|
806
806
|
d(E) {
|
|
807
|
-
E &&
|
|
807
|
+
E && ge(a), nt(N, E), Q = !1, Tt(se);
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
810
|
}
|
|
@@ -833,7 +833,7 @@ function et(s) {
|
|
|
833
833
|
), L;
|
|
834
834
|
return {
|
|
835
835
|
c() {
|
|
836
|
-
a = I("div"), n = I("p"), g =
|
|
836
|
+
a = I("div"), n = I("p"), g = Be(v), d = he(), y = Be(b), B = he(), T = I("p"), M = I("span"), L = Be(k), C(n, "class", "BalanceModalText"), C(M, "class", "BalanceModalAmount"), C(T, "class", "BalanceModalValue"), C(a, "class", "BalanceModalRowLine");
|
|
837
837
|
},
|
|
838
838
|
m(x, S) {
|
|
839
839
|
me(x, a, S), A(a, n), A(n, g), A(n, d), A(n, y), A(a, B), A(a, T), A(T, M), A(M, L);
|
|
@@ -844,7 +844,7 @@ function et(s) {
|
|
|
844
844
|
x[6](
|
|
845
845
|
/*k*/
|
|
846
846
|
x[54]
|
|
847
|
-
) + "") &&
|
|
847
|
+
) + "") && Te(g, v), S[0] & /*balances, $_*/
|
|
848
848
|
66 && b !== (b = /*b*/
|
|
849
849
|
(x[57].productType ? (
|
|
850
850
|
/*$_*/
|
|
@@ -852,15 +852,15 @@ function et(s) {
|
|
|
852
852
|
/*b*/
|
|
853
853
|
x[57].productType
|
|
854
854
|
)
|
|
855
|
-
) : "") + "") &&
|
|
855
|
+
) : "") + "") && Te(y, b), S[0] & /*balances*/
|
|
856
856
|
2 && k !== (k = /*formatBalance*/
|
|
857
857
|
x[8](
|
|
858
858
|
/*b*/
|
|
859
859
|
x[57].amount
|
|
860
|
-
) + "") &&
|
|
860
|
+
) + "") && Te(L, k);
|
|
861
861
|
},
|
|
862
862
|
d(x) {
|
|
863
|
-
x &&
|
|
863
|
+
x && ge(a);
|
|
864
864
|
}
|
|
865
865
|
};
|
|
866
866
|
}
|
|
@@ -879,7 +879,7 @@ function tt(s) {
|
|
|
879
879
|
a = I("div");
|
|
880
880
|
for (let d = 0; d < g.length; d += 1)
|
|
881
881
|
g[d].c();
|
|
882
|
-
n =
|
|
882
|
+
n = he(), C(a, "class", "BalanceModalRowBoth");
|
|
883
883
|
},
|
|
884
884
|
m(d, b) {
|
|
885
885
|
me(d, a, b);
|
|
@@ -908,7 +908,7 @@ function tt(s) {
|
|
|
908
908
|
}
|
|
909
909
|
},
|
|
910
910
|
d(d) {
|
|
911
|
-
d &&
|
|
911
|
+
d && ge(a), nt(g, d);
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
914
|
}
|
|
@@ -928,7 +928,7 @@ function at(s) {
|
|
|
928
928
|
},
|
|
929
929
|
p: Xe,
|
|
930
930
|
d(g) {
|
|
931
|
-
g &&
|
|
931
|
+
g && ge(a), n = !1, v();
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
}
|
|
@@ -946,7 +946,7 @@ function Et(s) {
|
|
|
946
946
|
);
|
|
947
947
|
return {
|
|
948
948
|
c() {
|
|
949
|
-
a = I("div"), n = I("div"), y.c(), g =
|
|
949
|
+
a = I("div"), n = I("div"), y.c(), g = he(), B && B.c(), C(n, "class", v = "ShowBalance " + /*mobileView*/
|
|
950
950
|
(s[5] ? "Mobile" : ""));
|
|
951
951
|
},
|
|
952
952
|
m(T, M) {
|
|
@@ -961,13 +961,13 @@ function Et(s) {
|
|
|
961
961
|
i: Xe,
|
|
962
962
|
o: Xe,
|
|
963
963
|
d(T) {
|
|
964
|
-
T &&
|
|
964
|
+
T && ge(a), y.d(), B && B.d(), s[30](null);
|
|
965
965
|
}
|
|
966
966
|
};
|
|
967
967
|
}
|
|
968
968
|
function Dt(s, a, n) {
|
|
969
969
|
let v;
|
|
970
|
-
|
|
970
|
+
ht(s, St, (e) => n(6, v = e));
|
|
971
971
|
let { userid: g = "" } = a, { session: d = "" } = a, { endpoint: b = "" } = a, { lang: y = "en" } = a, { mbsource: B } = a, { clientstyling: T = "" } = a, { clientstylingurl: M = "" } = a, { translationurl: k = "" } = a, { gmversion: L = "gm16" } = a, { displaybalanceoption: x = "All" } = a, { totalcalculationmode: S = "totalCashAmount" } = a, { currencylocale: R = "en" } = a, { currencydisplay: j = "symbol" } = a, { maximumfractiondigits: te = "2" } = a, { minimumfractiondigits: ae = "0" } = a, { customdisplayformat: F = "" } = a, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, D, G = "", oe = [], ce;
|
|
972
972
|
const f = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
|
|
973
973
|
fetch(k).then((e) => e.json()).then((e) => Object.keys(e).forEach((o) => Ye(o, e[o]))).catch((e) => console.log(e));
|
|
@@ -1029,10 +1029,10 @@ function Dt(s, a, n) {
|
|
|
1029
1029
|
else if (h.toLowerCase() === "amount") {
|
|
1030
1030
|
let p = ",", m = ".", _ = 2;
|
|
1031
1031
|
w && (w[0] !== " " && (p = w[0]), w[1] !== " " && (m = w[1]), w[2] !== " " && !isNaN(Number(w[2])) && (_ = Number(w[2])));
|
|
1032
|
-
let [
|
|
1033
|
-
r +=
|
|
1034
|
-
for (let H = 1; H <
|
|
1035
|
-
(
|
|
1032
|
+
let [W, ve] = String(Math.floor(e * 10 ** _) / 10 ** _).split(".");
|
|
1033
|
+
r += W[0];
|
|
1034
|
+
for (let H = 1; H < W.length; ++H)
|
|
1035
|
+
(W.length - H) % 3 === 0 ? r += p + W[H] : r += W[H];
|
|
1036
1036
|
ve && (r += m + ve);
|
|
1037
1037
|
}
|
|
1038
1038
|
r && o.push(r), r = "";
|
|
@@ -1243,12 +1243,12 @@ function Dt(s, a, n) {
|
|
|
1243
1243
|
}, Oe = (e) => e.data && e.data.type === "LogoutSuccessfull" && D.close(), Ue = () => {
|
|
1244
1244
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
mt(() => (window.addEventListener("message", Oe, !1), n(5, E = gt(V)), () => {
|
|
1247
1247
|
window.removeEventListener("message", Oe), D && D.close();
|
|
1248
1248
|
}));
|
|
1249
1249
|
const Ne = () => ne("balance"), t = () => ne("closebalance"), l = () => Ce(), u = () => ne("closebalance");
|
|
1250
1250
|
function i(e) {
|
|
1251
|
-
|
|
1251
|
+
yt[e ? "unshift" : "push"](() => {
|
|
1252
1252
|
O = e, n(0, O);
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
@@ -1260,9 +1260,9 @@ function Dt(s, a, n) {
|
|
|
1260
1260
|
538624 && b && g && d && L && Se(), s.$$.dirty[0] & /*translationurl*/
|
|
1261
1261
|
262144 && k && ie(), s.$$.dirty[0] & /*balances*/
|
|
1262
1262
|
2 && f.Total && Ue(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1263
|
-
65537 && T && O &&
|
|
1264
|
-
131073 && M && O &&
|
|
1265
|
-
32769 && B && O &&
|
|
1263
|
+
65537 && T && O && vt(O, T), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1264
|
+
131073 && M && O && wt(O, M), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1265
|
+
32769 && B && O && bt(O, `${B}.Style`);
|
|
1266
1266
|
}, [
|
|
1267
1267
|
O,
|
|
1268
1268
|
f,
|
|
@@ -1304,7 +1304,7 @@ class Mt extends ct {
|
|
|
1304
1304
|
a,
|
|
1305
1305
|
Dt,
|
|
1306
1306
|
Et,
|
|
1307
|
-
|
|
1307
|
+
ft,
|
|
1308
1308
|
{
|
|
1309
1309
|
userid: 11,
|
|
1310
1310
|
session: 12,
|
|
@@ -1424,7 +1424,7 @@ class Mt extends ct {
|
|
|
1424
1424
|
this.$$set({ customdisplayformat: a }), X();
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
|
-
|
|
1427
|
+
ut(Mt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|
|
1428
1428
|
export {
|
|
1429
1429
|
Mt as default
|
|
1430
1430
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-DVkwoQLy.cjs");function T(n,t){e.addMessages(n,t)}function z(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function A(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function F(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function H(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function W(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function G(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&F(n);function p(s,u){return s[1]?W:H}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function N(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},j=()=>{z(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const I=()=>S();function U(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&j(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&P()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,I,U]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,G,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},A)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as J, $ as
|
|
2
|
-
function
|
|
1
|
+
import { b as J, $ as V, S as X, i as Z, f as y, c as K, s as $, d as ee, g as M, h as E, C, k as d, O as U, m as S, n as h, D as L, E as z, v as x, w as te, M as ie, x as se, A as k, o as ae, G as re, H as ne, I as oe, J as le, j as F, L as ce } from "./CasinoHamburgerMenuNd-DEThSzp-.js";
|
|
2
|
+
function H(s, e) {
|
|
3
3
|
J(s, e);
|
|
4
4
|
}
|
|
5
5
|
function de(s) {
|
|
6
|
-
|
|
6
|
+
V.set(s);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const W = {
|
|
9
9
|
en: {
|
|
10
10
|
titleDeposit: "Deposit",
|
|
11
11
|
loading: "Loading, please wait ..."
|
|
@@ -48,7 +48,7 @@ const H = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
function ue(s) {
|
|
51
|
-
|
|
51
|
+
ee(s, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
|
|
52
52
|
}
|
|
53
53
|
function he(s) {
|
|
54
54
|
let e, i, n, a, l, m, c, p, w, o, r = (
|
|
@@ -60,7 +60,7 @@ function he(s) {
|
|
|
60
60
|
e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(f, g) {
|
|
63
|
-
|
|
63
|
+
S(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ = ae(
|
|
64
64
|
e,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -73,7 +73,7 @@ function he(s) {
|
|
|
73
73
|
f[4]("titleDeposit") + "") && L(u, r);
|
|
74
74
|
},
|
|
75
75
|
d(f) {
|
|
76
|
-
f &&
|
|
76
|
+
f && x(e), b = !1, _();
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -81,19 +81,19 @@ function pe(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
84
|
+
e = M("div"), i = M("iframe"), F(i.src, n = /*iframeUrl*/
|
|
85
85
|
s[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
88
|
-
|
|
88
|
+
S(a, e, l), h(e, i);
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
92
|
+
8 && !F(i.src, n = /*iframeUrl*/
|
|
93
93
|
a[3]) && d(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
96
|
-
a &&
|
|
96
|
+
a && x(e);
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
}
|
|
@@ -107,7 +107,7 @@ function ge(s) {
|
|
|
107
107
|
e = M("p"), n = C(i);
|
|
108
108
|
},
|
|
109
109
|
m(a, l) {
|
|
110
|
-
|
|
110
|
+
S(a, e, l), h(e, n);
|
|
111
111
|
},
|
|
112
112
|
p(a, l) {
|
|
113
113
|
l & /*$_*/
|
|
@@ -115,7 +115,7 @@ function ge(s) {
|
|
|
115
115
|
a[4]("loading") + "") && L(n, i);
|
|
116
116
|
},
|
|
117
117
|
d(a) {
|
|
118
|
-
a &&
|
|
118
|
+
a && x(e);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -146,7 +146,7 @@ function me(s) {
|
|
|
146
146
|
);
|
|
147
147
|
},
|
|
148
148
|
m(r, u) {
|
|
149
|
-
|
|
149
|
+
S(r, e, u), c && c.m(e, null), h(e, i), h(e, n), h(n, l), h(e, m), o.m(e, null), s[19](e);
|
|
150
150
|
},
|
|
151
151
|
p(r, [u]) {
|
|
152
152
|
/*isMobile*/
|
|
@@ -160,32 +160,32 @@ function me(s) {
|
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: z,
|
|
164
|
+
o: z,
|
|
165
165
|
d(r) {
|
|
166
|
-
r &&
|
|
166
|
+
r && x(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
function fe(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
|
-
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R =
|
|
172
|
+
te(s, ce, (t) => i(4, a = t));
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, I, T = 0, j = "";
|
|
174
174
|
const N = () => {
|
|
175
175
|
fetch(u).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
H(v, D[v]);
|
|
178
178
|
});
|
|
179
179
|
}).catch((D) => {
|
|
180
180
|
console.log(D);
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
|
-
Object.keys(
|
|
184
|
-
|
|
183
|
+
Object.keys(W).forEach((t) => {
|
|
184
|
+
H(t, W[t]);
|
|
185
185
|
});
|
|
186
186
|
const A = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, P = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
@@ -251,12 +251,12 @@ function fe(s, e, i) {
|
|
|
251
251
|
}, q = () => {
|
|
252
252
|
de(p);
|
|
253
253
|
};
|
|
254
|
-
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", P, !1), () => {
|
|
255
|
+
window.removeEventListener("message", P);
|
|
256
256
|
}));
|
|
257
257
|
const Q = () => A();
|
|
258
258
|
function Y(t) {
|
|
259
|
-
|
|
259
|
+
re[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
262
262
|
}
|
|
@@ -266,9 +266,9 @@ function fe(s, e, i) {
|
|
|
266
266
|
s.$$.dirty & /*lang*/
|
|
267
267
|
2048 && p && q(), s.$$.dirty & /*shortcashierenabled*/
|
|
268
268
|
131072 && (n = f.toLocaleLowerCase() === "true"), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
269
|
-
8193 && o && g &&
|
|
270
|
-
16385 && r && g &&
|
|
271
|
-
65537 && _ && g &&
|
|
269
|
+
8193 && o && g && ne(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
|
+
16385 && r && g && oe(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
|
+
65537 && _ && g && le(g, `${_}.Style`), s.$$.dirty & /*translationurl*/
|
|
272
272
|
32768 && u && N(), s.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
|
|
273
273
|
135040 && m && c && l && b && p && f && O();
|
|
274
274
|
}, [
|
|
@@ -294,14 +294,14 @@ function fe(s, e, i) {
|
|
|
294
294
|
Y
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class we extends
|
|
297
|
+
class we extends X {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), Z(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
fe,
|
|
303
303
|
me,
|
|
304
|
-
|
|
304
|
+
$,
|
|
305
305
|
{
|
|
306
306
|
endpoint: 8,
|
|
307
307
|
session: 9,
|
|
@@ -385,7 +385,7 @@ class we extends V {
|
|
|
385
385
|
this.$$set({ shortcashierenabled: e }), y();
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
|
|
388
|
+
K(we, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
|
|
389
389
|
export {
|
|
390
390
|
we as default
|
|
391
391
|
};
|