@everymatrix/casino-header-controller 1.67.3 → 1.68.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/{CasinoHamburgerMenu-qJFMD0lY.js → CasinoHamburgerMenu-BMkeLxFw.js} +1091 -1056
- package/components/{CasinoHamburgerMenu-F30AIdQa.js → CasinoHamburgerMenu-CTVc2-UF.js} +1085 -1050
- package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +21 -0
- package/components/{CasinoHeaderController-DBUFDWMM.cjs → CasinoHeaderController-D9Zd6DdD.cjs} +1 -1
- package/components/{CasinoHeaderController-s3bKI18l.js → CasinoHeaderController-DvJ2fbVP.js} +90 -90
- package/components/{CasinoHeaderController-pekvzXc8.js → CasinoHeaderController-nGmOBYH5.js} +88 -88
- package/components/{CasinoSlider-xtEu7BaK.js → CasinoSlider-CTcAOyCp.js} +49 -49
- package/components/{CasinoSlider-CEn9AAOB.js → CasinoSlider-Deb0x84t.js} +81 -81
- package/components/{CasinoSlider-C8ldNewd.cjs → CasinoSlider-DqTtsMWh.cjs} +1 -1
- package/components/{PlayerAccountBalanceModal-DAI5HzZi.cjs → PlayerAccountBalanceModal-BFDpI9Sy.cjs} +1 -1
- package/components/{PlayerAccountBalanceModal-Bonu08VK.js → PlayerAccountBalanceModal-CNXuqjqU.js} +61 -61
- package/components/{PlayerAccountBalanceModal-CJNc-yX5.js → PlayerAccountBalanceModal-DbULiu-f.js} +61 -61
- package/components/{PlayerDeposit-DmuFu2rX.cjs → PlayerDeposit-BXwT7NVp.cjs} +1 -1
- package/components/{PlayerDeposit-BsOgrGtE.js → PlayerDeposit-BZuTQSyp.js} +28 -28
- package/components/{PlayerDeposit-Cs0q3VJJ.js → PlayerDeposit-eY_YGhMJ.js} +28 -28
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-OGii9GZC.js → gamification-dropdown-8eb8a896-BIGhsjEp.js} +3 -3
- package/stencil/{gamification-dropdown-8eb8a896-DfTzIl57.cjs → gamification-dropdown-8eb8a896-BjUP17gj.cjs} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-DwjOP8LM.js → gamification-dropdown-8eb8a896-ChHEAdln.js} +7 -7
- package/stencil/{gamification-dropdown-Bl2Q7k92.cjs → gamification-dropdown-B8Psyzeb.cjs} +1 -1
- package/stencil/{gamification-dropdown-DTjKmeqH.js → gamification-dropdown-BWsuiPe-.js} +1 -1
- package/stencil/{gamification-dropdown-eYU0kMX0.js → gamification-dropdown-C54YsY6O.js} +1 -1
- package/stencil/{gamification-dropdown_4-EqEecNER.cjs → gamification-dropdown_4-BMWTb1Hi.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-C8FoQ9bl.js → gamification-dropdown_4-CIcYiW7L.js} +11 -11
- package/stencil/{gamification-dropdown_4-B46ceyMH.js → gamification-dropdown_4-DSQLLSbB.js} +11 -11
- package/stencil/{index-1ef3a64c-Y2S-mzZE.js → index-1ef3a64c-83J-RXdm.js} +192 -192
- package/stencil/index-1ef3a64c-Bi7BfDjU.cjs +1 -0
- package/stencil/{index-1ef3a64c-DfFwTbOB.js → index-1ef3a64c-hYuFvrwc.js} +185 -185
- package/stencil/index-71b1bdfa-0gP6xJac.cjs +1 -0
- package/stencil/{index-71b1bdfa-C8dE0ofS.js → index-71b1bdfa-CBlskF9r.js} +226 -226
- package/stencil/{index-71b1bdfa-_-dhHLGN.js → index-71b1bdfa-DU4nTCMc.js} +235 -235
- package/stencil/{player-elevate-card-DORq6Wij.cjs → player-elevate-card-5X5p1F8m.cjs} +1 -1
- package/stencil/{player-elevate-card-CESlrbxs.js → player-elevate-card-CU7Qildl.js} +2 -2
- package/stencil/{player-elevate-card-DAXoDLIH.js → player-elevate-card-IVb0Sf28.js} +2 -2
- package/stencil/{player-elevate-card-items-5071deed-DjG8kMBd.js → player-elevate-card-items-5071deed-CmKSIJsn.js} +79 -81
- package/stencil/player-elevate-card-items-5071deed-MX_MdgjK.cjs +102 -0
- package/stencil/{player-elevate-card-items-5071deed-C9dANr1l.js → player-elevate-card-items-5071deed-TVoEX2s0.js} +79 -81
- package/stencil/{player-elevate-pointcard-CjdTzOoF.cjs → player-elevate-pointcard-DcbEs06G.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-Do6iv014.js → player-elevate-pointcard-DkugTY8n.js} +2 -2
- package/stencil/{player-elevate-pointcard-DQXpvq40.js → player-elevate-pointcard-aaDwBSP6.js} +2 -2
- package/stencil/{player-rakeback-card-BoT6EgM7.cjs → player-rakeback-card-CN46KEaP.cjs} +1 -1
- package/stencil/{player-rakeback-card-BNSkyLB0.js → player-rakeback-card-Cw4WnuMK.js} +1 -1
- package/stencil/{player-rakeback-card-Bx_vN42o.js → player-rakeback-card-iG3S4W4O.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BJyawJS_.js → user-deposit-withdrawal-BvYavTHs.js} +46 -46
- package/stencil/{user-deposit-withdrawal-CC0ZAC_k.cjs → user-deposit-withdrawal-CrFUxhuF.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DKTq5kc3.js → user-deposit-withdrawal-TfRJdSfc.js} +46 -46
- package/components/CasinoHamburgerMenu-B3SEVofS.cjs +0 -21
- package/stencil/index-1ef3a64c-eLYHaH-f.cjs +0 -1
- package/stencil/index-71b1bdfa-MzSkzwf_.cjs +0 -1
- package/stencil/player-elevate-card-items-5071deed-C6i7ZlHD.cjs +0 -102
package/components/{PlayerAccountBalanceModal-CJNc-yX5.js → PlayerAccountBalanceModal-DbULiu-f.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { b as ct, $ as ut, O as dt, S as ft, i as pt,
|
1
|
+
import { b as ct, $ as ut, O as dt, S as ft, i as pt, s as ht, f as W, d as mt, n as qe, e as ge, h as ye, v as R, k as I, j as se, z as U, l as gt, o as yt, w as He, p as vt, u as he, y as me, r as bt, A as ze, B as rt, t as wt, J as Bt, K as Ct, L as Tt, c as St, I as _t } from "./CasinoHamburgerMenu-CTVc2-UF.js";
|
2
2
|
function Qe(r, t) {
|
3
3
|
ct(r, t);
|
4
4
|
}
|
@@ -436,15 +436,15 @@ var We = { exports: {} };
|
|
436
436
|
}).then(function(v) {
|
437
437
|
return k = v.body.getReader(), o(v.status, v.statusText, v.headers.get("Content-Type"), new ve(v.headers)), new D(function(N, ue) {
|
438
438
|
var De = function() {
|
439
|
-
k.read().then(function(
|
440
|
-
if (
|
439
|
+
k.read().then(function(Y) {
|
440
|
+
if (Y.done)
|
441
441
|
N(void 0);
|
442
442
|
else {
|
443
|
-
var X = M.decode(
|
443
|
+
var X = M.decode(Y.value, { stream: !0 });
|
444
444
|
u(X), De();
|
445
445
|
}
|
446
|
-
}).catch(function(
|
447
|
-
ue(
|
446
|
+
}).catch(function(Y) {
|
447
|
+
ue(Y);
|
448
448
|
});
|
449
449
|
};
|
450
450
|
De();
|
@@ -523,7 +523,7 @@ var We = { exports: {} };
|
|
523
523
|
f(a);
|
524
524
|
}
|
525
525
|
};
|
526
|
-
function
|
526
|
+
function J(e, o) {
|
527
527
|
oe.call(this), o = o || {}, 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, T(this, e, o);
|
528
528
|
}
|
529
529
|
function Ge() {
|
@@ -532,7 +532,7 @@ var We = { exports: {} };
|
|
532
532
|
var c = O != null && B != null && "body" in B.prototype;
|
533
533
|
function T(e, o, u) {
|
534
534
|
o = String(o);
|
535
|
-
var a = !!u.withCredentials, h = u.lastEventIdQueryParameterName || "lastEventId", p = xe(1e3), w = Ee(u.heartbeatTimeout, 45e3), k = "", _ = p, x = !1, M = 0, v = u.headers || {}, N = u.Transport, ue = c && N == null ? void 0 : new S(N != null ? new N() : Ge()), De = N != null && typeof N != "string" ? new N() : ue == null ? new ae() : new ee(),
|
535
|
+
var a = !!u.withCredentials, h = u.lastEventIdQueryParameterName || "lastEventId", p = xe(1e3), w = Ee(u.heartbeatTimeout, 45e3), k = "", _ = p, x = !1, M = 0, v = u.headers || {}, N = u.Transport, ue = c && N == null ? void 0 : new S(N != null ? new N() : Ge()), De = N != null && typeof N != "string" ? new N() : ue == null ? new ae() : new ee(), Y = void 0, X = 0, re = Ae, Se = "", Ie = "", de = "", Ve = "", K = ne, Xe = 0, Be = 0, st = function(j, V, Q, Z) {
|
536
536
|
if (re === le)
|
537
537
|
if (j === 200 && Q != null && Ue.test(Q)) {
|
538
538
|
re = ce, x = Date.now(), _ = p, e.readyState = ce;
|
@@ -590,7 +590,7 @@ var We = { exports: {} };
|
|
590
590
|
K === ne && (Xe = z, K = Te), K === Te ? Z === 58 && (Be = z + 1, K = Oe) : K === Oe && (K = ke);
|
591
591
|
}
|
592
592
|
}
|
593
|
-
},
|
593
|
+
}, Ye = function(j) {
|
594
594
|
if (re === ce || re === le) {
|
595
595
|
re = Ae, X !== 0 && (s(X), X = 0), X = i(function() {
|
596
596
|
Le();
|
@@ -599,11 +599,11 @@ var We = { exports: {} };
|
|
599
599
|
e.dispatchEvent(V), we(e, e.onerror, V), j != null && console.error(j);
|
600
600
|
}
|
601
601
|
}, Ke = function() {
|
602
|
-
re = be,
|
602
|
+
re = be, Y != null && (Y.abort(), Y = void 0), X !== 0 && (s(X), X = 0), e.readyState = be;
|
603
603
|
}, Le = function() {
|
604
604
|
if (X = 0, re !== Ae) {
|
605
|
-
if (!x &&
|
606
|
-
|
605
|
+
if (!x && Y != null)
|
606
|
+
Ye(new Error("No activity within " + w + " milliseconds. " + (re === le ? "No response received." : M + " chars received.") + " Reconnecting.")), Y != null && (Y.abort(), Y = void 0);
|
607
607
|
else {
|
608
608
|
var j = Math.max((x || Date.now()) + w - Date.now(), 1);
|
609
609
|
x = !1, X = i(function() {
|
@@ -629,24 +629,24 @@ var We = { exports: {} };
|
|
629
629
|
for (var fe in z)
|
630
630
|
Object.prototype.hasOwnProperty.call(z, fe) && (q[fe] = z[fe]);
|
631
631
|
try {
|
632
|
-
|
632
|
+
Y = De.open(ue, st, lt, Ye, V, Z, q);
|
633
633
|
} catch (pe) {
|
634
634
|
throw Ke(), pe;
|
635
635
|
}
|
636
636
|
};
|
637
637
|
e.url = o, e.readyState = le, e.withCredentials = a, e.headers = v, e._close = Ke, Le();
|
638
638
|
}
|
639
|
-
|
639
|
+
J.prototype = Object.create(oe.prototype), J.prototype.CONNECTING = le, J.prototype.OPEN = ce, J.prototype.CLOSED = be, J.prototype.close = function() {
|
640
640
|
this._close();
|
641
|
-
},
|
641
|
+
}, J.CONNECTING = le, J.OPEN = ce, J.CLOSED = be, J.prototype.withCredentials = void 0;
|
642
642
|
var E = g;
|
643
|
-
l != null && (g == null || !("withCredentials" in g.prototype)) && (E =
|
643
|
+
l != null && (g == null || !("withCredentials" in g.prototype)) && (E = J), function(e) {
|
644
644
|
{
|
645
645
|
var o = e(t);
|
646
646
|
o !== void 0 && (r.exports = o);
|
647
647
|
}
|
648
648
|
}(function(e) {
|
649
|
-
e.EventSourcePolyfill =
|
649
|
+
e.EventSourcePolyfill = J, e.NativeEventSource = g, e.EventSource = E;
|
650
650
|
});
|
651
651
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : dt : globalThis);
|
652
652
|
})(We, We.exports);
|
@@ -670,7 +670,7 @@ var Et = {
|
|
670
670
|
fromCents: !1
|
671
671
|
}, it = function(t) {
|
672
672
|
return Math.round(t);
|
673
|
-
},
|
673
|
+
}, Je = function(t) {
|
674
674
|
return Math.pow(10, t);
|
675
675
|
}, xt = function(t, n) {
|
676
676
|
return it(t / n) * n;
|
@@ -679,11 +679,11 @@ function ie(r, t) {
|
|
679
679
|
var n = this;
|
680
680
|
if (!(n instanceof ie))
|
681
681
|
return new ie(r, t);
|
682
|
-
var i = Object.assign({}, Et, t), s =
|
682
|
+
var i = Object.assign({}, Et, t), s = Je(i.precision), l = je(r, i);
|
683
683
|
n.intValue = l, n.value = l / s, i.increment = i.increment || 1 / s, i.useVedic ? i.groups = Lt : i.groups = Dt, this.s = i, this.p = s;
|
684
684
|
}
|
685
685
|
function je(r, t) {
|
686
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, i = 0, s = t.decimal, l = t.errorOnInvalid, m = t.precision, d = t.fromCents, g =
|
686
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, i = 0, s = t.decimal, l = t.errorOnInvalid, m = t.precision, d = t.fromCents, g = Je(m), y = typeof r == "number", D = r instanceof ie;
|
687
687
|
if (D && d)
|
688
688
|
return r.intValue;
|
689
689
|
if (y || D)
|
@@ -728,7 +728,7 @@ ie.prototype = {
|
|
728
728
|
*/
|
729
729
|
multiply: function(t) {
|
730
730
|
var n = this.intValue, i = this.s;
|
731
|
-
return ie((n *= t) / (i.fromCents ? 1 :
|
731
|
+
return ie((n *= t) / (i.fromCents ? 1 : Je(i.precision)), i);
|
732
732
|
},
|
733
733
|
/**
|
734
734
|
* Divides value.
|
@@ -793,7 +793,7 @@ ie.prototype = {
|
|
793
793
|
}
|
794
794
|
};
|
795
795
|
function Ft(r) {
|
796
|
-
|
796
|
+
mt(r, "svelte-gv6dm2", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.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;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;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}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));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, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.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, #07072A))}.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, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
|
797
797
|
}
|
798
798
|
function $e(r, t, n) {
|
799
799
|
const i = r.slice();
|
@@ -819,13 +819,13 @@ function Ot(r) {
|
|
819
819
|
);
|
820
820
|
return {
|
821
821
|
c() {
|
822
|
-
t = I("button"), i =
|
822
|
+
t = I("button"), i = me(n), s = se(), l = me(
|
823
823
|
/*currency*/
|
824
824
|
r[3]
|
825
|
-
), m = se(), d = I("span"), d.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', g = se(), B && B.c(), y =
|
825
|
+
), m = se(), d = I("span"), d.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', g = se(), B && B.c(), y = bt(), U(t, "class", "BalanceValue");
|
826
826
|
},
|
827
827
|
m(C, A) {
|
828
|
-
|
828
|
+
ye(C, t, A), R(t, i), R(t, s), R(t, l), R(t, m), R(t, d), ye(C, g, A), B && B.m(C, A), ye(C, y, A), D || (O = He(
|
829
829
|
t,
|
830
830
|
"click",
|
831
831
|
/*click_handler*/
|
@@ -841,8 +841,8 @@ function Ot(r) {
|
|
841
841
|
/*balances*/
|
842
842
|
C[4].Total[0].amount
|
843
843
|
)
|
844
|
-
) : "0") + "") &&
|
845
|
-
8 &&
|
844
|
+
) : "0") + "") && he(i, n), A[0] & /*currency*/
|
845
|
+
8 && he(
|
846
846
|
l,
|
847
847
|
/*currency*/
|
848
848
|
C[3]
|
@@ -850,7 +850,7 @@ function Ot(r) {
|
|
850
850
|
C[2] ? B ? B.p(C, A) : (B = tt(C), B.c(), B.m(y.parentNode, y)) : B && (B.d(1), B = null);
|
851
851
|
},
|
852
852
|
d(C) {
|
853
|
-
C && (
|
853
|
+
C && (ge(t), ge(g), ge(y)), B && B.d(C), D = !1, O();
|
854
854
|
}
|
855
855
|
};
|
856
856
|
}
|
@@ -861,18 +861,18 @@ function kt(r) {
|
|
861
861
|
), i;
|
862
862
|
return {
|
863
863
|
c() {
|
864
|
-
t = I("p"), i =
|
864
|
+
t = I("p"), i = me(n);
|
865
865
|
},
|
866
866
|
m(s, l) {
|
867
|
-
|
867
|
+
ye(s, t, l), R(t, i);
|
868
868
|
},
|
869
869
|
p(s, l) {
|
870
870
|
l[0] & /*$_*/
|
871
871
|
32 && n !== (n = /*$_*/
|
872
|
-
s[5]("Loading") + "") &&
|
872
|
+
s[5]("Loading") + "") && he(i, n);
|
873
873
|
},
|
874
874
|
d(s) {
|
875
|
-
s &&
|
875
|
+
s && ge(t);
|
876
876
|
}
|
877
877
|
};
|
878
878
|
}
|
@@ -891,13 +891,13 @@ function tt(r) {
|
|
891
891
|
b[S] = at($e(r, $, S));
|
892
892
|
return {
|
893
893
|
c() {
|
894
|
-
t = I("div"), n = I("button"), i = se(), s = I("div"), l = I("div"), m = I("p"), g =
|
894
|
+
t = I("div"), n = I("button"), i = se(), s = I("div"), l = I("div"), m = I("p"), g = me(d), y = se(), D = I("div");
|
895
895
|
for (let S = 0; S < b.length; S += 1)
|
896
896
|
b[S].c();
|
897
|
-
O = se(), B = I("div"), C = I("button"), P =
|
897
|
+
O = se(), B = I("div"), C = I("button"), P = me(A), U(n, "class", "BalanceModalClose"), U(m, "class", "BalanceModalTitle"), U(l, "class", "BalanceModalHeader"), U(D, "class", "BalanceModalBody"), U(C, "class", "BalanceModalAction"), U(B, "class", "BalanceModalFooter"), U(s, "class", "BalanceModal"), U(t, "class", "BalanceModalWrapper");
|
898
898
|
},
|
899
899
|
m(S, G) {
|
900
|
-
|
900
|
+
ye(S, t, G), R(t, n), R(t, i), R(t, s), R(s, l), R(l, m), R(m, g), R(s, y), R(s, D);
|
901
901
|
for (let L = 0; L < b.length; L += 1)
|
902
902
|
b[L] && b[L].m(D, null);
|
903
903
|
R(s, O), R(s, B), R(B, C), R(C, P), F || (H = [
|
@@ -918,7 +918,7 @@ function tt(r) {
|
|
918
918
|
p(S, G) {
|
919
919
|
if (G[0] & /*$_*/
|
920
920
|
32 && d !== (d = /*$_*/
|
921
|
-
S[5]("Title") + "") &&
|
921
|
+
S[5]("Title") + "") && he(g, d), G[0] & /*balances, currency, formatBalance, $_*/
|
922
922
|
120) {
|
923
923
|
$ = ze(Object.keys(
|
924
924
|
/*balances*/
|
@@ -935,10 +935,10 @@ function tt(r) {
|
|
935
935
|
}
|
936
936
|
G[0] & /*$_*/
|
937
937
|
32 && A !== (A = /*$_*/
|
938
|
-
S[5]("DepositButton") + "") &&
|
938
|
+
S[5]("DepositButton") + "") && he(P, A);
|
939
939
|
},
|
940
940
|
d(S) {
|
941
|
-
S &&
|
941
|
+
S && ge(t), rt(b, S), F = !1, wt(H);
|
942
942
|
}
|
943
943
|
};
|
944
944
|
}
|
@@ -970,13 +970,13 @@ function nt(r) {
|
|
970
970
|
), B, C, A, P;
|
971
971
|
return {
|
972
972
|
c() {
|
973
|
-
t = I("div"), n = I("p"), s =
|
973
|
+
t = I("div"), n = I("p"), s = me(i), l = se(), d = me(m), g = se(), y = I("p"), D = I("span"), B = me(O), C = se(), A = I("span"), P = me(
|
974
974
|
/*currency*/
|
975
975
|
r[3]
|
976
976
|
), U(n, "class", "BalanceModalText"), U(D, "class", "BalanceModalAmount"), U(A, "class", "BalanceModalCurrency"), U(y, "class", "BalanceModalValue"), U(t, "class", "BalanceModalRowLine");
|
977
977
|
},
|
978
978
|
m(F, H) {
|
979
|
-
|
979
|
+
ye(F, t, H), R(t, n), R(n, s), R(n, l), R(n, d), R(t, g), R(t, y), R(y, D), R(D, B), R(y, C), R(y, A), R(A, P);
|
980
980
|
},
|
981
981
|
p(F, H) {
|
982
982
|
H[0] & /*$_, balances*/
|
@@ -984,7 +984,7 @@ function nt(r) {
|
|
984
984
|
F[5](
|
985
985
|
/*k*/
|
986
986
|
F[47]
|
987
|
-
) + "") &&
|
987
|
+
) + "") && he(s, i), H[0] & /*balances, $_*/
|
988
988
|
48 && m !== (m = /*b*/
|
989
989
|
(F[50].productType ? (
|
990
990
|
/*$_*/
|
@@ -992,7 +992,7 @@ function nt(r) {
|
|
992
992
|
/*b*/
|
993
993
|
F[50].productType
|
994
994
|
)
|
995
|
-
) : "") + "") &&
|
995
|
+
) : "") + "") && he(d, m), H[0] & /*balances*/
|
996
996
|
16 && O !== (O = /*b*/
|
997
997
|
(F[50].amount ? (
|
998
998
|
/*formatBalance*/
|
@@ -1000,15 +1000,15 @@ function nt(r) {
|
|
1000
1000
|
/*b*/
|
1001
1001
|
F[50].amount
|
1002
1002
|
)
|
1003
|
-
) : "0") + "") &&
|
1004
|
-
8 &&
|
1003
|
+
) : "0") + "") && he(B, O), H[0] & /*currency*/
|
1004
|
+
8 && he(
|
1005
1005
|
P,
|
1006
1006
|
/*currency*/
|
1007
1007
|
F[3]
|
1008
1008
|
);
|
1009
1009
|
},
|
1010
1010
|
d(F) {
|
1011
|
-
F &&
|
1011
|
+
F && ge(t);
|
1012
1012
|
}
|
1013
1013
|
};
|
1014
1014
|
}
|
@@ -1030,7 +1030,7 @@ function at(r) {
|
|
1030
1030
|
n = se(), U(t, "class", "BalanceModalRowBoth");
|
1031
1031
|
},
|
1032
1032
|
m(l, m) {
|
1033
|
-
|
1033
|
+
ye(l, t, m);
|
1034
1034
|
for (let d = 0; d < s.length; d += 1)
|
1035
1035
|
s[d] && s[d].m(t, null);
|
1036
1036
|
R(t, n);
|
@@ -1056,7 +1056,7 @@ function at(r) {
|
|
1056
1056
|
}
|
1057
1057
|
},
|
1058
1058
|
d(l) {
|
1059
|
-
l &&
|
1059
|
+
l && ge(t), rt(s, l);
|
1060
1060
|
}
|
1061
1061
|
};
|
1062
1062
|
}
|
@@ -1067,7 +1067,7 @@ function ot(r) {
|
|
1067
1067
|
t = I("button"), U(t, "class", "ShowBalanceModalOverlay");
|
1068
1068
|
},
|
1069
1069
|
m(s, l) {
|
1070
|
-
|
1070
|
+
ye(s, t, l), n || (i = He(
|
1071
1071
|
t,
|
1072
1072
|
"click",
|
1073
1073
|
/*click_handler_3*/
|
@@ -1076,7 +1076,7 @@ function ot(r) {
|
|
1076
1076
|
},
|
1077
1077
|
p: qe,
|
1078
1078
|
d(s) {
|
1079
|
-
s &&
|
1079
|
+
s && ge(t), n = !1, i();
|
1080
1080
|
}
|
1081
1081
|
};
|
1082
1082
|
}
|
@@ -1097,7 +1097,7 @@ function Nt(r) {
|
|
1097
1097
|
t = I("div"), n = I("div"), m.c(), i = se(), d && d.c(), U(n, "class", "ShowBalance");
|
1098
1098
|
},
|
1099
1099
|
m(g, y) {
|
1100
|
-
|
1100
|
+
ye(g, t, y), R(t, n), m.m(n, null), R(t, i), d && d.m(t, null), r[27](t);
|
1101
1101
|
},
|
1102
1102
|
p(g, y) {
|
1103
1103
|
l === (l = s(g)) && m ? m.p(g, y) : (m.d(1), m = l(g), m && (m.c(), m.m(n, null))), /*isModalDisplayed*/
|
@@ -1106,13 +1106,13 @@ function Nt(r) {
|
|
1106
1106
|
i: qe,
|
1107
1107
|
o: qe,
|
1108
1108
|
d(g) {
|
1109
|
-
g &&
|
1109
|
+
g && ge(t), m.d(), d && d.d(), r[27](null);
|
1110
1110
|
}
|
1111
1111
|
};
|
1112
1112
|
}
|
1113
1113
|
function It(r, t, n) {
|
1114
1114
|
let i;
|
1115
|
-
|
1115
|
+
gt(r, _t, (c) => n(5, i = c));
|
1116
1116
|
let { userid: s = "" } = t, { session: l = "" } = t, { endpoint: m = "" } = t, { lang: d = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: D = "" } = t, { customlocaleidentifier: O = "" } = t, { gmversion: B = "gm16" } = t, { displaybalanceoption: C = "All" } = t, { totalcalculationmode: A = "totalCashAmount" } = t, { currencyseparator: P = "" } = t, { currencydecimal: F = "" } = t, { currencyprecision: H = "" } = t, { mbsource: $ } = t, b, S = !0, G = !1, L = !1, ee, ve = "", ae = [], oe;
|
1117
1117
|
const f = {}, te = ["totalCashAmount", "totalRealAmount"], Me = () => {
|
1118
1118
|
fetch(D).then((c) => c.json()).then((c) => Object.keys(c).forEach((T) => Qe(T, c[T]))).catch((c) => console.log(c));
|
@@ -1333,12 +1333,12 @@ function It(r, t, n) {
|
|
1333
1333
|
throw Error(`Invalid apiversion attribute: ${B}`);
|
1334
1334
|
}
|
1335
1335
|
}, Ne = (c) => c.data && c.data.type === "LogoutSuccessfull" && ee.close();
|
1336
|
-
|
1336
|
+
yt(() => (window.addEventListener("message", Ne, !1), () => {
|
1337
1337
|
window.removeEventListener("message", Ne), ee && ee.close();
|
1338
1338
|
}));
|
1339
|
-
const Ee = () => n(2, G = !0), xe = () => n(2, G = !1), we = () => ke(),
|
1339
|
+
const Ee = () => n(2, G = !0), xe = () => n(2, G = !1), we = () => ke(), J = () => n(2, G = !1);
|
1340
1340
|
function Ge(c) {
|
1341
|
-
|
1341
|
+
vt[c ? "unshift" : "push"](() => {
|
1342
1342
|
b = c, n(0, b);
|
1343
1343
|
});
|
1344
1344
|
}
|
@@ -1349,9 +1349,9 @@ function It(r, t, n) {
|
|
1349
1349
|
4096 && d && Ce(), r.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
1350
1350
|
400896 && m && s && l && d && B && C && Pe(), r.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
1351
1351
|
134656 && m && s && l && B && ce(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
1352
|
-
8193 && g && b &&
|
1353
|
-
16385 && y && b &&
|
1354
|
-
4194305 && b &&
|
1352
|
+
8193 && g && b && Bt(b, g), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
1353
|
+
16385 && y && b && Ct(b, y), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
1354
|
+
4194305 && b && Tt(b, `${$}.Style`), r.$$.dirty[0] & /*translationurl*/
|
1355
1355
|
32768 && D && Me();
|
1356
1356
|
}, [
|
1357
1357
|
b,
|
@@ -1380,7 +1380,7 @@ function It(r, t, n) {
|
|
1380
1380
|
Ee,
|
1381
1381
|
xe,
|
1382
1382
|
we,
|
1383
|
-
|
1383
|
+
J,
|
1384
1384
|
Ge
|
1385
1385
|
];
|
1386
1386
|
}
|
@@ -1391,7 +1391,7 @@ class Vt extends ft {
|
|
1391
1391
|
t,
|
1392
1392
|
It,
|
1393
1393
|
Nt,
|
1394
|
-
|
1394
|
+
ht,
|
1395
1395
|
{
|
1396
1396
|
userid: 9,
|
1397
1397
|
session: 10,
|
@@ -1504,7 +1504,7 @@ class Vt extends ft {
|
|
1504
1504
|
this.$$set({ mbsource: t }), W();
|
1505
1505
|
}
|
1506
1506
|
}
|
1507
|
-
|
1507
|
+
St(Vt, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {}, mbsource: {} }, [], [], !0);
|
1508
1508
|
export {
|
1509
1509
|
Vt as default
|
1510
1510
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-CrZ5l9tM.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 q(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,q,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
|
2
|
-
function
|
3
|
-
|
1
|
+
import { b as J, $ as K, S as V, i as X, s as Z, f as y, d as $, n as U, e as S, u as L, P as A, h as x, v as h, k as M, j as E, y as C, z as d, l as ee, C as te, o as ie, w as se, x as k, p as ae, E as F, J as re, K as ne, L as oe, c as le, I as ce } from "./CasinoHamburgerMenu-CTVc2-UF.js";
|
2
|
+
function W(s, e) {
|
3
|
+
J(s, e);
|
4
4
|
}
|
5
5
|
function de(s) {
|
6
|
-
|
6
|
+
K.set(s);
|
7
7
|
}
|
8
|
-
const
|
8
|
+
const H = {
|
9
9
|
en: {
|
10
10
|
titleDeposit: "Deposit",
|
11
11
|
loading: "Loading, please wait ..."
|
@@ -48,7 +48,7 @@ const W = {
|
|
48
48
|
}
|
49
49
|
};
|
50
50
|
function ue(s) {
|
51
|
-
|
51
|
+
$(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
|
+
x(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 || (_ = se(
|
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 && S(e), b = !1, _();
|
77
77
|
}
|
78
78
|
};
|
79
79
|
}
|
@@ -85,7 +85,7 @@ function pe(s) {
|
|
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
|
+
x(a, e, l), h(e, i);
|
89
89
|
},
|
90
90
|
p(a, l) {
|
91
91
|
l & /*iframeUrl*/
|
@@ -93,7 +93,7 @@ function pe(s) {
|
|
93
93
|
a[3]) && d(i, "src", n);
|
94
94
|
},
|
95
95
|
d(a) {
|
96
|
-
a &&
|
96
|
+
a && S(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
|
+
x(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 && S(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
|
+
x(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*/
|
@@ -163,25 +163,25 @@ function me(s) {
|
|
163
163
|
i: U,
|
164
164
|
o: U,
|
165
165
|
d(r) {
|
166
|
-
r &&
|
166
|
+
r && S(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
|
+
ee(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 = te(G) !== "PC", B = !0, I, T = 0, P = "";
|
174
174
|
const N = () => {
|
175
175
|
fetch(u).then((D) => D.json()).then((D) => {
|
176
176
|
Object.keys(D).forEach((v) => {
|
177
|
-
|
177
|
+
W(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(H).forEach((t) => {
|
184
|
+
W(t, H[t]);
|
185
185
|
});
|
186
186
|
const j = () => {
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
@@ -251,12 +251,12 @@ function fe(s, e, i) {
|
|
251
251
|
}, q = () => {
|
252
252
|
de(p);
|
253
253
|
};
|
254
|
-
|
254
|
+
ie(() => (window.addEventListener("message", z, !1), () => {
|
255
255
|
window.removeEventListener("message", z);
|
256
256
|
}));
|
257
257
|
const Q = () => j();
|
258
258
|
function Y(t) {
|
259
|
-
|
259
|
+
ae[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 && re(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
270
|
+
16385 && r && g && ne(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
271
|
+
65537 && _ && g && oe(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 V {
|
298
298
|
constructor(e) {
|
299
|
-
super(),
|
299
|
+
super(), X(
|
300
300
|
this,
|
301
301
|
e,
|
302
302
|
fe,
|
303
303
|
me,
|
304
|
-
|
304
|
+
Z,
|
305
305
|
{
|
306
306
|
endpoint: 8,
|
307
307
|
session: 9,
|
@@ -385,7 +385,7 @@ class we extends Z {
|
|
385
385
|
this.$$set({ shortcashierenabled: e }), y();
|
386
386
|
}
|
387
387
|
}
|
388
|
-
|
388
|
+
le(we, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
|
389
389
|
export {
|
390
390
|
we as default
|
391
391
|
};
|