@everymatrix/casino-header-controller-nd 1.74.10 → 1.75.1
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-DesykhYm.js → CasinoHamburgerMenuNd-A1rbyIlh.js} +1072 -1037
- package/components/{CasinoHamburgerMenuNd-BkJ5v6d0.js → CasinoHamburgerMenuNd-BbLVzDLA.js} +1064 -1029
- package/components/CasinoHamburgerMenuNd-DAYnP-8N.cjs +18 -0
- package/components/CasinoHeaderControllerNd-BZ4hl5VU.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-Bc0WcLad.js → CasinoHeaderControllerNd-DIWidaLF.js} +640 -592
- package/components/{CasinoHeaderControllerNd-DazFzfqQ.js → CasinoHeaderControllerNd-Y0iH2fty.js} +875 -827
- package/components/{PlayerAccountBalanceModalNd-DKfBC6B8.js → PlayerAccountBalanceModalNd-Cygfal3S.js} +31 -31
- package/components/{PlayerAccountBalanceModalNd-CaK5s63o.cjs → PlayerAccountBalanceModalNd-DUPCtK5p.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-DvIPG_to.js → PlayerAccountBalanceModalNd-ggP_eQuJ.js} +31 -31
- package/components/{PlayerDeposit-C7vyL4KX.js → PlayerDeposit-BPhFbd8a.js} +41 -41
- package/components/{PlayerDeposit-BhaHklVX.cjs → PlayerDeposit-DCiULSav.cjs} +1 -1
- package/components/{PlayerDeposit-CzHykXrX.js → PlayerDeposit-DcwySzWb.js} +41 -41
- 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-60536faa-a9fhneJS.js → gamification-dropdown-60536faa-ByoQkowS.js} +1 -1
- package/stencil/{gamification-dropdown-60536faa-C4Bt9SsA.js → gamification-dropdown-60536faa-CdoDh_iS.js} +1 -1
- package/stencil/{gamification-dropdown-60536faa-DASClLsG.cjs → gamification-dropdown-60536faa-jADsXxs4.cjs} +1 -1
- package/stencil/{gamification-dropdown-DM8ZypvI.js → gamification-dropdown-CMVnOpVS.js} +1 -1
- package/stencil/{gamification-dropdown-C94WUKJw.js → gamification-dropdown-DSqqyaTZ.js} +1 -1
- package/stencil/{gamification-dropdown-CHISLJWw.cjs → gamification-dropdown-aHzwtOKn.cjs} +1 -1
- package/stencil/{gamification-dropdown_4-DcfTNvW3.js → gamification-dropdown_4-0STJmTu3.js} +4 -4
- package/stencil/{gamification-dropdown_4-DxutrN1l.js → gamification-dropdown_4-Cn2nDa12.js} +4 -4
- package/stencil/{gamification-dropdown_4-DvpNN67k.cjs → gamification-dropdown_4-wVf8PnId.cjs} +2 -2
- package/stencil/{index-71b1bdfa-CsAz1pRT.js → index-71b1bdfa-CqsRB5Zq.js} +235 -235
- package/stencil/{index-71b1bdfa-BF1FhHvP.js → index-71b1bdfa-DWJfvSms.js} +226 -226
- package/stencil/index-71b1bdfa-aT2URAOG.cjs +1 -0
- package/stencil/{player-elevate-card-DGldgGzV.cjs → player-elevate-card-C_bGjWZ4.cjs} +1 -1
- package/stencil/{player-elevate-card-Dk8IKGFM.js → player-elevate-card-DV79k_97.js} +2 -2
- package/stencil/{player-elevate-card-CV-QotRL.js → player-elevate-card-D_AqKh09.js} +2 -2
- package/stencil/{player-elevate-card-items-08c6fbd8-DWYJG2Sw.js → player-elevate-card-items-08c6fbd8-CKjKj8rt.js} +292 -294
- package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +102 -0
- package/stencil/{player-elevate-card-items-08c6fbd8-D2InzLdw.js → player-elevate-card-items-08c6fbd8-DDaPFpxz.js} +292 -294
- package/stencil/{player-elevate-pointcard-BZEQfMrQ.js → player-elevate-pointcard-BAE3Vgzi.js} +2 -2
- package/stencil/{player-elevate-pointcard-CFB0v64P.js → player-elevate-pointcard-BXLJdcos.js} +2 -2
- package/stencil/{player-elevate-pointcard-Kd_hq4Sx.cjs → player-elevate-pointcard-vC-WI2he.cjs} +1 -1
- package/stencil/{player-rakeback-card-DV2irTYH.js → player-rakeback-card-Ca3Pjwd4.js} +1 -1
- package/stencil/{player-rakeback-card-BLuEtn4-.js → player-rakeback-card-Cj3yH6EJ.js} +1 -1
- package/stencil/{player-rakeback-card-B_0uBE6g.cjs → player-rakeback-card-DZVQyKwK.cjs} +1 -1
- package/components/CasinoHamburgerMenuNd-ClXsTIT_.cjs +0 -18
- package/components/CasinoHeaderControllerNd-CWmDT8dm.cjs +0 -1
- package/stencil/index-71b1bdfa-CvQLI6L6.cjs +0 -1
- package/stencil/player-elevate-card-items-08c6fbd8-jkH5ihgE.cjs +0 -102
|
@@ -26,7 +26,7 @@ var $e = (i, e, a) => new Promise((w, m) => {
|
|
|
26
26
|
}, g = (b) => b.done ? w(b.value) : Promise.resolve(b.value).then(d, T);
|
|
27
27
|
g((a = a.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { b as yt, $ as vt, P as wt, S as bt, i as Bt,
|
|
29
|
+
import { b as yt, $ as vt, P as wt, S as bt, i as Bt, s as Tt, f as X, d as St, B as Ke, g as he, l as C, n as me, o as A, v as I, w as ge, x as Ct, y as _t, z as At, p as je, E as xt, F as Be, G as Te, H as et, A as Rt, I as He, J as ct, r as Et, M as Mt, N as Dt, O as Lt, c as kt, L as Ot } from "./CasinoHamburgerMenuNd-BbLVzDLA.js";
|
|
30
30
|
function tt(i, e) {
|
|
31
31
|
yt(i, e);
|
|
32
32
|
}
|
|
@@ -680,7 +680,7 @@ var We = { exports: {} };
|
|
|
680
680
|
})(We, We.exports);
|
|
681
681
|
var Ft = We.exports;
|
|
682
682
|
function It(i) {
|
|
683
|
-
|
|
683
|
+
St(i, "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}');
|
|
684
684
|
}
|
|
685
685
|
function nt(i, e, a) {
|
|
686
686
|
const w = i.slice();
|
|
@@ -706,7 +706,7 @@ function jt(i) {
|
|
|
706
706
|
);
|
|
707
707
|
return {
|
|
708
708
|
c() {
|
|
709
|
-
e = I("button"), a = I("p"), m =
|
|
709
|
+
e = I("button"), a = I("p"), m = Te(w), d = ge(), T = I("span"), g = et("svg"), b = et("path"), D = ge(), S && S.c(), k = Rt(), 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(g, "xmlns", "http://www.w3.org/2000/svg"), C(g, "width", "14"), C(g, "height", "6.835"), C(g, "viewBox", "0 0 14 6.835"), C(T, "class", B = /*isModalDisplayed*/
|
|
710
710
|
i[3] ? "TriangleActive" : "TriangleInactive"), C(e, "class", "BalanceValue");
|
|
711
711
|
},
|
|
712
712
|
m(R, j) {
|
|
@@ -726,13 +726,13 @@ function jt(i) {
|
|
|
726
726
|
/*balances*/
|
|
727
727
|
R[1].Total[0].amount
|
|
728
728
|
)
|
|
729
|
-
) : "0") + "") &&
|
|
729
|
+
) : "0") + "") && Be(m, w), j[0] & /*isModalDisplayed*/
|
|
730
730
|
8 && B !== (B = /*isModalDisplayed*/
|
|
731
731
|
R[3] ? "TriangleActive" : "TriangleInactive") && C(T, "class", B), /*showBalance*/
|
|
732
732
|
R[4] ? S ? S.p(R, j) : (S = rt(R), S.c(), S.m(k.parentNode, k)) : S && (S.d(1), S = null);
|
|
733
733
|
},
|
|
734
734
|
d(R) {
|
|
735
|
-
R && (
|
|
735
|
+
R && (he(e), he(D), he(k)), S && S.d(R), L = !1, x();
|
|
736
736
|
}
|
|
737
737
|
};
|
|
738
738
|
}
|
|
@@ -743,7 +743,7 @@ function Ht(i) {
|
|
|
743
743
|
), w;
|
|
744
744
|
return {
|
|
745
745
|
c() {
|
|
746
|
-
e = I("p"), w =
|
|
746
|
+
e = I("p"), w = Te(a), C(e, "class", "Loading");
|
|
747
747
|
},
|
|
748
748
|
m(m, d) {
|
|
749
749
|
me(m, e, d), A(e, w);
|
|
@@ -751,10 +751,10 @@ function Ht(i) {
|
|
|
751
751
|
p(m, d) {
|
|
752
752
|
d[0] & /*$_*/
|
|
753
753
|
64 && a !== (a = /*$_*/
|
|
754
|
-
m[6]("Loading") + "") &&
|
|
754
|
+
m[6]("Loading") + "") && Be(w, a);
|
|
755
755
|
},
|
|
756
756
|
d(m) {
|
|
757
|
-
m &&
|
|
757
|
+
m && he(e);
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
760
|
}
|
|
@@ -773,10 +773,10 @@ function rt(i) {
|
|
|
773
773
|
N[E] = lt(nt(i, K, E));
|
|
774
774
|
return {
|
|
775
775
|
c() {
|
|
776
|
-
e = I("div"), a = I("button"), m =
|
|
776
|
+
e = I("div"), a = I("button"), m = ge(), d = I("div"), T = I("div"), g = I("div"), b = I("p"), D = Te(B), k = ge(), L = I("div");
|
|
777
777
|
for (let E = 0; E < N.length; E += 1)
|
|
778
778
|
N[E].c();
|
|
779
|
-
x =
|
|
779
|
+
x = ge(), S = I("div"), R = I("button"), te = Te(j), C(a, "class", w = "BalanceModalClose " + /*isModalDisplayed*/
|
|
780
780
|
(i[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(g, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(T, "class", ae = "ModalContent " + /*isModalDisplayed*/
|
|
781
781
|
(i[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
|
|
782
782
|
(i[3] ? "Open" : "")), C(e, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
@@ -806,7 +806,7 @@ function rt(i) {
|
|
|
806
806
|
8 && w !== (w = "BalanceModalClose " + /*isModalDisplayed*/
|
|
807
807
|
(E[3] ? "Open" : "")) && C(a, "class", w), V[0] & /*$_*/
|
|
808
808
|
64 && B !== (B = /*$_*/
|
|
809
|
-
E[6]("Title") + "") &&
|
|
809
|
+
E[6]("Title") + "") && Be(D, B), V[0] & /*balances, formatBalance, $_*/
|
|
810
810
|
322) {
|
|
811
811
|
K = He(Object.keys(
|
|
812
812
|
/*balances*/
|
|
@@ -823,7 +823,7 @@ function rt(i) {
|
|
|
823
823
|
}
|
|
824
824
|
V[0] & /*$_*/
|
|
825
825
|
64 && j !== (j = /*$_*/
|
|
826
|
-
E[6]("DepositButton") + "") &&
|
|
826
|
+
E[6]("DepositButton") + "") && Be(te, j), V[0] & /*isModalDisplayed*/
|
|
827
827
|
8 && ae !== (ae = "ModalContent " + /*isModalDisplayed*/
|
|
828
828
|
(E[3] ? "Open" : "")) && C(T, "class", ae), V[0] & /*isModalDisplayed*/
|
|
829
829
|
8 && F !== (F = "BalanceModal " + /*isModalDisplayed*/
|
|
@@ -832,7 +832,7 @@ function rt(i) {
|
|
|
832
832
|
(E[3] ? "Open" : "")) && C(e, "class", O);
|
|
833
833
|
},
|
|
834
834
|
d(E) {
|
|
835
|
-
E &&
|
|
835
|
+
E && he(e), ct(N, E), Q = !1, Et(se);
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
838
|
}
|
|
@@ -861,7 +861,7 @@ function it(i) {
|
|
|
861
861
|
), L;
|
|
862
862
|
return {
|
|
863
863
|
c() {
|
|
864
|
-
e = I("div"), a = I("p"), m =
|
|
864
|
+
e = I("div"), a = I("p"), m = Te(w), d = ge(), g = Te(T), b = ge(), B = I("p"), D = I("span"), L = Te(k), C(a, "class", "BalanceModalText"), C(D, "class", "BalanceModalAmount"), C(B, "class", "BalanceModalValue"), C(e, "class", "BalanceModalRowLine");
|
|
865
865
|
},
|
|
866
866
|
m(x, S) {
|
|
867
867
|
me(x, e, S), A(e, a), A(a, m), A(a, d), A(a, g), A(e, b), A(e, B), A(B, D), A(D, L);
|
|
@@ -872,7 +872,7 @@ function it(i) {
|
|
|
872
872
|
x[6](
|
|
873
873
|
/*k*/
|
|
874
874
|
x[54]
|
|
875
|
-
) + "") &&
|
|
875
|
+
) + "") && Be(m, w), S[0] & /*balances, $_*/
|
|
876
876
|
66 && T !== (T = /*b*/
|
|
877
877
|
(x[57].productType ? (
|
|
878
878
|
/*$_*/
|
|
@@ -880,15 +880,15 @@ function it(i) {
|
|
|
880
880
|
/*b*/
|
|
881
881
|
x[57].productType
|
|
882
882
|
)
|
|
883
|
-
) : "") + "") &&
|
|
883
|
+
) : "") + "") && Be(g, T), S[0] & /*balances*/
|
|
884
884
|
2 && k !== (k = /*formatBalance*/
|
|
885
885
|
x[8](
|
|
886
886
|
/*b*/
|
|
887
887
|
x[57].amount
|
|
888
|
-
) + "") &&
|
|
888
|
+
) + "") && Be(L, k);
|
|
889
889
|
},
|
|
890
890
|
d(x) {
|
|
891
|
-
x &&
|
|
891
|
+
x && he(e);
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
894
|
}
|
|
@@ -907,7 +907,7 @@ function lt(i) {
|
|
|
907
907
|
e = I("div");
|
|
908
908
|
for (let d = 0; d < m.length; d += 1)
|
|
909
909
|
m[d].c();
|
|
910
|
-
a =
|
|
910
|
+
a = ge(), C(e, "class", "BalanceModalRowBoth");
|
|
911
911
|
},
|
|
912
912
|
m(d, T) {
|
|
913
913
|
me(d, e, T);
|
|
@@ -936,7 +936,7 @@ function lt(i) {
|
|
|
936
936
|
}
|
|
937
937
|
},
|
|
938
938
|
d(d) {
|
|
939
|
-
d &&
|
|
939
|
+
d && he(e), ct(m, d);
|
|
940
940
|
}
|
|
941
941
|
};
|
|
942
942
|
}
|
|
@@ -956,7 +956,7 @@ function st(i) {
|
|
|
956
956
|
},
|
|
957
957
|
p: Ke,
|
|
958
958
|
d(m) {
|
|
959
|
-
m &&
|
|
959
|
+
m && he(e), a = !1, w();
|
|
960
960
|
}
|
|
961
961
|
};
|
|
962
962
|
}
|
|
@@ -974,7 +974,7 @@ function zt(i) {
|
|
|
974
974
|
);
|
|
975
975
|
return {
|
|
976
976
|
c() {
|
|
977
|
-
e = I("div"), a = I("div"), g.c(), m =
|
|
977
|
+
e = I("div"), a = I("div"), g.c(), m = ge(), b && b.c(), C(a, "class", w = "ShowBalance " + /*mobileView*/
|
|
978
978
|
(i[5] ? "Mobile" : ""));
|
|
979
979
|
},
|
|
980
980
|
m(B, D) {
|
|
@@ -989,13 +989,13 @@ function zt(i) {
|
|
|
989
989
|
i: Ke,
|
|
990
990
|
o: Ke,
|
|
991
991
|
d(B) {
|
|
992
|
-
B &&
|
|
992
|
+
B && he(e), g.d(), b && b.d(), i[30](null);
|
|
993
993
|
}
|
|
994
994
|
};
|
|
995
995
|
}
|
|
996
996
|
function Vt(i, e, a) {
|
|
997
997
|
let w;
|
|
998
|
-
|
|
998
|
+
Ct(i, Ot, (t) => a(6, w = t));
|
|
999
999
|
let { userid: m = "" } = e, { session: d = "" } = e, { endpoint: T = "" } = e, { lang: g = "en" } = e, { mbsource: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: D = "" } = e, { translationurl: k = "" } = e, { gmversion: L = "gm16" } = e, { displaybalanceoption: x = "All" } = e, { totalcalculationmode: S = "totalCashAmount" } = e, { currencylocale: R = "en" } = e, { currencydisplay: j = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ae = "0" } = e, { customdisplayformat: F = "" } = e, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, M, G = "", oe = [], ce;
|
|
1000
1000
|
const p = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
|
|
1001
1001
|
fetch(k).then((t) => t.json()).then((t) => Object.keys(t).forEach((o) => tt(o, t[o]))).catch((t) => console.log(t));
|
|
@@ -1272,12 +1272,12 @@ function Vt(i, e, a) {
|
|
|
1272
1272
|
}, Oe = (t) => t.data && t.data.type === "LogoutSuccessfull" && M.close(), Ue = () => {
|
|
1273
1273
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1274
1274
|
};
|
|
1275
|
-
|
|
1275
|
+
_t(() => (window.addEventListener("message", Oe, !1), a(5, E = At(V)), () => {
|
|
1276
1276
|
window.removeEventListener("message", Oe), M && M.close();
|
|
1277
1277
|
}));
|
|
1278
1278
|
const Ne = () => ne("balance"), n = () => ne("closebalance"), s = () => Ce(), u = () => ne("closebalance");
|
|
1279
1279
|
function l(t) {
|
|
1280
|
-
|
|
1280
|
+
xt[t ? "unshift" : "push"](() => {
|
|
1281
1281
|
O = t, a(0, O);
|
|
1282
1282
|
});
|
|
1283
1283
|
}
|
|
@@ -1289,9 +1289,9 @@ function Vt(i, e, a) {
|
|
|
1289
1289
|
538624 && T && m && d && L && Se(), i.$$.dirty[0] & /*translationurl*/
|
|
1290
1290
|
262144 && k && ie(), i.$$.dirty[0] & /*balances*/
|
|
1291
1291
|
2 && p.Total && Ue(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1292
|
-
65537 && B && O &&
|
|
1293
|
-
131073 && D && O &&
|
|
1294
|
-
32769 && b && O &&
|
|
1292
|
+
65537 && B && O && Mt(O, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1293
|
+
131073 && D && O && Dt(O, D), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1294
|
+
32769 && b && O && Lt(O, `${b}.Style`);
|
|
1295
1295
|
}, [
|
|
1296
1296
|
O,
|
|
1297
1297
|
p,
|
|
@@ -1333,7 +1333,7 @@ class Ut extends bt {
|
|
|
1333
1333
|
e,
|
|
1334
1334
|
Vt,
|
|
1335
1335
|
zt,
|
|
1336
|
-
|
|
1336
|
+
Tt,
|
|
1337
1337
|
{
|
|
1338
1338
|
userid: 11,
|
|
1339
1339
|
session: 12,
|
|
@@ -1453,7 +1453,7 @@ class Ut extends bt {
|
|
|
1453
1453
|
this.$$set({ customdisplayformat: e }), X();
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
|
-
|
|
1456
|
+
kt(Ut, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|
|
1457
1457
|
export {
|
|
1458
1458
|
Ut as default
|
|
1459
1459
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Ne=Math.pow,He=(l,t,n)=>t in l?et(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,ze=(l,t)=>{for(var n in t||(t={}))nt.call(t,n)&&He(l,n,t[n]);if(je)for(var n of je(t))ot.call(t,n)&&He(l,n,t[n]);return l},Ve=(l,t)=>tt(l,at(t));var Ue=(l,t,n)=>new Promise((b,g)=>{var u=B=>{try{y(n.next(B))}catch(T){g(T)}},S=B=>{try{y(n.throw(B))}catch(T){g(T)}},y=B=>B.done?b(B.value):Promise.resolve(B.value).then(u,S);y((n=n.apply(l,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Ne=Math.pow,He=(l,t,n)=>t in l?et(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,ze=(l,t)=>{for(var n in t||(t={}))nt.call(t,n)&&He(l,n,t[n]);if(je)for(var n of je(t))ot.call(t,n)&&He(l,n,t[n]);return l},Ve=(l,t)=>tt(l,at(t));var Ue=(l,t,n)=>new Promise((b,g)=>{var u=B=>{try{y(n.next(B))}catch(T){g(T)}},S=B=>{try{y(n.throw(B))}catch(T){g(T)}},y=B=>B.done?b(B.value):Promise.resolve(B.value).then(u,S);y((n=n.apply(l,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-DAYnP-8N.cjs");function Pe(l,t){e.addMessages(l,t)}function rt(l){e.$locale.set(l)}const Xe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Fe={exports:{}};/** @license
|
|
2
2
|
* eventsource.js
|
|
3
3
|
* Available under MIT License (MIT)
|
|
4
4
|
* https://github.com/Yaffle/EventSource/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as it, $ as lt, P as st, S as ct, i as dt,
|
|
1
|
+
import { b as it, $ as lt, P as st, S as ct, i as dt, s as ut, f as X, d as ft, B as Xe, g as he, l as C, n as me, o as A, v as I, w as ge, x as pt, y as ht, p as je, E as mt, F as Be, G as Te, H as qe, A as gt, I as He, J as nt, r as yt, z as vt, M as wt, N as bt, O as Bt, c as Tt, L as St } from "./CasinoHamburgerMenuNd-A1rbyIlh.js";
|
|
2
2
|
function Ye(s, a) {
|
|
3
3
|
it(s, a);
|
|
4
4
|
}
|
|
@@ -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
|
+
ft(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 = Te(v), d = ge(), b = I("span"), y = qe("svg"), B = qe("path"), M = ge(), S && S.c(), k = gt(), C(B, "id", "arrow"), C(B, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(B, "transform", "translate(-274.511 -441.088)"), C(B, "fill", "#d1d1d1"), C(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") + "") && Be(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 && (he(a), he(M), he(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 = Te(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") + "") && Be(v, n);
|
|
727
727
|
},
|
|
728
728
|
d(g) {
|
|
729
|
-
g &&
|
|
729
|
+
g && he(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 = ge(), d = I("div"), b = I("div"), y = I("div"), B = I("p"), M = Te(T), k = ge(), L = I("div");
|
|
749
749
|
for (let E = 0; E < N.length; E += 1)
|
|
750
750
|
N[E].c();
|
|
751
|
-
x =
|
|
751
|
+
x = ge(), S = I("div"), R = I("button"), te = Te(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") + "") && Be(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") + "") && Be(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 && he(a), nt(N, E), Q = !1, yt(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 = Te(v), d = ge(), y = Te(b), B = ge(), T = I("p"), M = I("span"), L = Te(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
|
+
) + "") && Be(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
|
+
) : "") + "") && Be(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
|
+
) + "") && Be(L, k);
|
|
861
861
|
},
|
|
862
862
|
d(x) {
|
|
863
|
-
x &&
|
|
863
|
+
x && he(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 = ge(), 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 && he(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 && he(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 = ge(), 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 && he(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
|
+
pt(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));
|
|
@@ -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
|
+
ht(() => (window.addEventListener("message", Oe, !1), n(5, E = vt(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
|
+
mt[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 && wt(O, T), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1264
|
+
131073 && M && O && bt(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
|
+
ut,
|
|
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
|
+
Tt(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
|
};
|