@everymatrix/casino-my-games-nd 1.86.4 → 1.86.6
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/{CasinoFavoritesSectionNd-DAk9Rz5y.js → CasinoFavoritesSectionNd-DnjMMxPF.js} +1044 -1076
- package/components/{CasinoFavoritesSectionNd-Ct7-yK1Y.js → CasinoFavoritesSectionNd-IjBGIAKV.js} +1003 -1035
- package/components/CasinoFavoritesSectionNd-VfWjc6cO.cjs +3 -0
- package/components/{CasinoFilter-thaqa7s1.js → CasinoFilter-BIQiqdaS.js} +423 -373
- package/components/{CasinoFilter-Di7-lhYG.js → CasinoFilter-BiUAGzYo.js} +446 -398
- package/components/CasinoFilter-yG2Ssg_Z.cjs +16 -0
- package/components/{CasinoGameThumbnailNd-v6BFSSx8.js → CasinoGameThumbnailNd-BQGhUZqf.js} +64 -66
- package/components/CasinoGameThumbnailNd-BsrshKrT.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-CJbI5Vnp.js → CasinoGameThumbnailNd-UlnMygo7.js} +64 -66
- package/components/{CasinoGamesCategorySectionNd-1u77-OEV.js → CasinoGamesCategorySectionNd-7O2PEJfi.js} +190 -190
- package/components/{CasinoGamesCategorySectionNd-PMFkdFPJ.js → CasinoGamesCategorySectionNd-BTcRtShM.js} +258 -258
- package/components/{CasinoGamesCategorySectionNd-CQmI83_8.cjs → CasinoGamesCategorySectionNd-sCQdekDn.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DGHqUI7n.cjs → CasinoLastPlayedSectionNd-BkEol2F9.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CKUoApgO.js → CasinoLastPlayedSectionNd-DsyJ1YyQ.js} +46 -46
- package/components/{CasinoLastPlayedSectionNd-tIciGarW.js → CasinoLastPlayedSectionNd-ugG0QJz8.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-B0WFqlQl.js → CasinoMostPlayedSectionNd-9SnZTf2U.js} +39 -39
- package/components/{CasinoMostPlayedSectionNd-DExw2cHb.cjs → CasinoMostPlayedSectionNd-BSjNU0qA.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Pcx-G5nM.js → CasinoMostPlayedSectionNd-v4PUECqD.js} +39 -39
- package/components/{CasinoMyGamesNd-Dt79TB3B.cjs → CasinoMyGamesNd-2mxQS8Zr.cjs} +1 -1
- package/components/{CasinoMyGamesNd-59jwfIW0.js → CasinoMyGamesNd-4ljZ9iaH.js} +52 -52
- package/components/{CasinoMyGamesNd-C6tSORAg.js → CasinoMyGamesNd-CfI4-Ywh.js} +55 -55
- package/components/{CasinoSort-BCyCciHd.cjs → CasinoSort-DPbziH-d.cjs} +1 -1
- package/components/{CasinoSort-Dc3_bYWo.js → CasinoSort-DR4XC8kH.js} +109 -108
- package/components/{CasinoSort-DUQ8fN-8.js → CasinoSort-WLSmCHwf.js} +116 -117
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BFcC7upG.cjs +0 -16
- package/components/CasinoFilter-CdSKknn8.cjs +0 -3
- package/components/CasinoGameThumbnailNd-6zQ8cacB.cjs +0 -30
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { i as Be } from "./CasinoFilter-
|
|
3
|
-
import { g as Oe } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { $ as U, a as ce, b as he, S as ve, i as be, f as g, s as pe, C as Pe, c as _e, n as ee, d as F, e as G, g as _, h as Me, o as we, j as ke, l as te, m as Fe, E as t, F as E, k as w, q as b, v as C, G as Ge, p as T, t as I, w as A, D as Le, z as Ce, A as Ee, B as Ae } from "./CasinoFavoritesSectionNd-DnjMMxPF.js";
|
|
2
|
+
import { i as Be } from "./CasinoFilter-BIQiqdaS.js";
|
|
3
|
+
import { g as Oe } from "./CasinoGameThumbnailNd-BQGhUZqf.js";
|
|
4
4
|
function Se({ withLocale: a, translations: e }) {
|
|
5
|
-
|
|
6
|
-
n == null && (ce.set(e),
|
|
5
|
+
U.subscribe((n) => {
|
|
6
|
+
n == null && (ce.set(e), U.set(a));
|
|
7
7
|
});
|
|
8
8
|
}
|
|
9
9
|
function je(a, e) {
|
|
10
10
|
he(a, e);
|
|
11
11
|
}
|
|
12
12
|
function qe(a) {
|
|
13
|
-
|
|
13
|
+
U.set(a);
|
|
14
14
|
}
|
|
15
15
|
const Ne = {
|
|
16
16
|
en: {
|
|
@@ -116,7 +116,7 @@ if (typeof window != "undefined") {
|
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-
|
|
119
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-DnjMMxPF.js").then((e) => e.N).then(({ default: e }) => {
|
|
120
120
|
!customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
@@ -132,7 +132,7 @@ if (typeof window != "undefined") {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-
|
|
135
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-DsyJ1YyQ.js").then(({ default: e }) => {
|
|
136
136
|
!customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
@@ -148,18 +148,18 @@ if (typeof window != "undefined") {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-
|
|
151
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-v4PUECqD.js").then(({ default: e }) => {
|
|
152
152
|
!customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function De(a) {
|
|
156
156
|
_e(a, "svelte-kjgz4h", ".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}");
|
|
157
157
|
}
|
|
158
158
|
function ae(a, e, n) {
|
|
159
159
|
const d = a.slice();
|
|
160
160
|
return d[45] = e[n], d;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Te(a) {
|
|
163
163
|
let e, n, d, u, f, l, y, i, p, m, P, h = te(
|
|
164
164
|
/*tabsArray*/
|
|
165
165
|
a[29]
|
|
@@ -261,7 +261,7 @@ function De(a) {
|
|
|
261
261
|
"mbsource",
|
|
262
262
|
/*mbsource*/
|
|
263
263
|
a[6]
|
|
264
|
-
),
|
|
264
|
+
), E(
|
|
265
265
|
l,
|
|
266
266
|
"Active",
|
|
267
267
|
/*gamesType*/
|
|
@@ -366,7 +366,7 @@ function De(a) {
|
|
|
366
366
|
"mbsource",
|
|
367
367
|
/*mbsource*/
|
|
368
368
|
a[6]
|
|
369
|
-
),
|
|
369
|
+
), E(
|
|
370
370
|
i,
|
|
371
371
|
"Active",
|
|
372
372
|
/*gamesType*/
|
|
@@ -481,7 +481,7 @@ function De(a) {
|
|
|
481
481
|
"mbsource",
|
|
482
482
|
/*mbsource*/
|
|
483
483
|
a[6]
|
|
484
|
-
),
|
|
484
|
+
), E(
|
|
485
485
|
m,
|
|
486
486
|
"Active",
|
|
487
487
|
/*gamesType*/
|
|
@@ -490,7 +490,7 @@ function De(a) {
|
|
|
490
490
|
(a[28] ? "Mobile" : ""));
|
|
491
491
|
},
|
|
492
492
|
m(s, o) {
|
|
493
|
-
|
|
493
|
+
G(s, e, o), b(e, n), b(n, d);
|
|
494
494
|
for (let v = 0; v < c.length; v += 1)
|
|
495
495
|
c[v] && c[v].m(d, null);
|
|
496
496
|
b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), b(f, p), b(f, m);
|
|
@@ -621,7 +621,7 @@ function De(a) {
|
|
|
621
621
|
/*mbsource*/
|
|
622
622
|
s[6]
|
|
623
623
|
), o[0] & /*gamesType*/
|
|
624
|
-
134217728 &&
|
|
624
|
+
134217728 && E(
|
|
625
625
|
l,
|
|
626
626
|
"Active",
|
|
627
627
|
/*gamesType*/
|
|
@@ -747,7 +747,7 @@ function De(a) {
|
|
|
747
747
|
/*mbsource*/
|
|
748
748
|
s[6]
|
|
749
749
|
), o[0] & /*gamesType*/
|
|
750
|
-
134217728 &&
|
|
750
|
+
134217728 && E(
|
|
751
751
|
i,
|
|
752
752
|
"Active",
|
|
753
753
|
/*gamesType*/
|
|
@@ -885,7 +885,7 @@ function De(a) {
|
|
|
885
885
|
/*mbsource*/
|
|
886
886
|
s[6]
|
|
887
887
|
), o[0] & /*gamesType*/
|
|
888
|
-
134217728 &&
|
|
888
|
+
134217728 && E(
|
|
889
889
|
m,
|
|
890
890
|
"Active",
|
|
891
891
|
/*gamesType*/
|
|
@@ -895,7 +895,7 @@ function De(a) {
|
|
|
895
895
|
(s[28] ? "Mobile" : "")) && w(e, "class", P);
|
|
896
896
|
},
|
|
897
897
|
d(s) {
|
|
898
|
-
s &&
|
|
898
|
+
s && F(e), Fe(c, s);
|
|
899
899
|
}
|
|
900
900
|
};
|
|
901
901
|
}
|
|
@@ -906,15 +906,15 @@ function se(a) {
|
|
|
906
906
|
), d, u, f, l, y, i, p, m, P;
|
|
907
907
|
return {
|
|
908
908
|
c() {
|
|
909
|
-
e = _("button"), d =
|
|
909
|
+
e = _("button"), d = A(n), u = C(), f = _("span"), l = A("("), y = A(
|
|
910
910
|
/*favoritesCount*/
|
|
911
911
|
a[30]
|
|
912
|
-
), i =
|
|
912
|
+
), i = A(")"), w(e, "class", p = "MyGamesButton " + /*gamesType*/
|
|
913
913
|
(a[27] == "Favorites" ? "Active" : "") + " " + /*favorites*/
|
|
914
914
|
(a[16] == "false" ? "Off" : ""));
|
|
915
915
|
},
|
|
916
916
|
m(h, c) {
|
|
917
|
-
|
|
917
|
+
G(h, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = I(
|
|
918
918
|
e,
|
|
919
919
|
"click",
|
|
920
920
|
/*click_handler*/
|
|
@@ -924,8 +924,8 @@ function se(a) {
|
|
|
924
924
|
p(h, c) {
|
|
925
925
|
c[1] & /*$_*/
|
|
926
926
|
1 && n !== (n = /*$_*/
|
|
927
|
-
h[31]("favorites") + "") &&
|
|
928
|
-
1073741824 &&
|
|
927
|
+
h[31]("favorites") + "") && T(d, n), c[0] & /*favoritesCount*/
|
|
928
|
+
1073741824 && T(
|
|
929
929
|
y,
|
|
930
930
|
/*favoritesCount*/
|
|
931
931
|
h[30]
|
|
@@ -935,7 +935,7 @@ function se(a) {
|
|
|
935
935
|
(h[16] == "false" ? "Off" : "")) && w(e, "class", p);
|
|
936
936
|
},
|
|
937
937
|
d(h) {
|
|
938
|
-
h &&
|
|
938
|
+
h && F(e), m = !1, P();
|
|
939
939
|
}
|
|
940
940
|
};
|
|
941
941
|
}
|
|
@@ -946,12 +946,12 @@ function ie(a) {
|
|
|
946
946
|
), d, u, f, l;
|
|
947
947
|
return {
|
|
948
948
|
c() {
|
|
949
|
-
e = _("button"), d =
|
|
949
|
+
e = _("button"), d = A(n), w(e, "class", u = "MyGamesButton " + /*gamesType*/
|
|
950
950
|
(a[27] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
|
|
951
951
|
(a[17] == "false" ? "Off" : ""));
|
|
952
952
|
},
|
|
953
953
|
m(y, i) {
|
|
954
|
-
|
|
954
|
+
G(y, e, i), b(e, d), f || (l = I(
|
|
955
955
|
e,
|
|
956
956
|
"click",
|
|
957
957
|
/*click_handler_1*/
|
|
@@ -961,13 +961,13 @@ function ie(a) {
|
|
|
961
961
|
p(y, i) {
|
|
962
962
|
i[1] & /*$_*/
|
|
963
963
|
1 && n !== (n = /*$_*/
|
|
964
|
-
y[31]("mostPlayed") + "") &&
|
|
964
|
+
y[31]("mostPlayed") + "") && T(d, n), i[0] & /*gamesType, mostplayed*/
|
|
965
965
|
134348800 && u !== (u = "MyGamesButton " + /*gamesType*/
|
|
966
966
|
(y[27] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
|
|
967
967
|
(y[17] == "false" ? "Off" : "")) && w(e, "class", u);
|
|
968
968
|
},
|
|
969
969
|
d(y) {
|
|
970
|
-
y &&
|
|
970
|
+
y && F(e), f = !1, l();
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
}
|
|
@@ -978,12 +978,12 @@ function le(a) {
|
|
|
978
978
|
), d, u, f, l, y;
|
|
979
979
|
return {
|
|
980
980
|
c() {
|
|
981
|
-
e = _("button"), d =
|
|
981
|
+
e = _("button"), d = A(n), u = C(), w(e, "class", f = "MyGamesButton " + /*gamesType*/
|
|
982
982
|
(a[27] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
983
983
|
(a[18] == "false" ? "Off" : ""));
|
|
984
984
|
},
|
|
985
985
|
m(i, p) {
|
|
986
|
-
|
|
986
|
+
G(i, e, p), b(e, d), b(e, u), l || (y = I(
|
|
987
987
|
e,
|
|
988
988
|
"click",
|
|
989
989
|
/*click_handler_2*/
|
|
@@ -993,13 +993,13 @@ function le(a) {
|
|
|
993
993
|
p(i, p) {
|
|
994
994
|
p[1] & /*$_*/
|
|
995
995
|
1 && n !== (n = /*$_*/
|
|
996
|
-
i[31]("recentlyPlayed") + "") &&
|
|
996
|
+
i[31]("recentlyPlayed") + "") && T(d, n), p[0] & /*gamesType, lastplayed*/
|
|
997
997
|
134479872 && f !== (f = "MyGamesButton " + /*gamesType*/
|
|
998
998
|
(i[27] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
999
999
|
(i[18] == "false" ? "Off" : "")) && w(e, "class", f);
|
|
1000
1000
|
},
|
|
1001
1001
|
d(i) {
|
|
1002
|
-
i &&
|
|
1002
|
+
i && F(e), l = !1, y();
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
@@ -1016,10 +1016,10 @@ function ne(a) {
|
|
|
1016
1016
|
);
|
|
1017
1017
|
return {
|
|
1018
1018
|
c() {
|
|
1019
|
-
u && u.c(), e = C(), f && f.c(), n = C(), l && l.c(), d =
|
|
1019
|
+
u && u.c(), e = C(), f && f.c(), n = C(), l && l.c(), d = Ge();
|
|
1020
1020
|
},
|
|
1021
1021
|
m(y, i) {
|
|
1022
|
-
u && u.m(y, i),
|
|
1022
|
+
u && u.m(y, i), G(y, e, i), f && f.m(y, i), G(y, n, i), l && l.m(y, i), G(y, d, i);
|
|
1023
1023
|
},
|
|
1024
1024
|
p(y, i) {
|
|
1025
1025
|
/*tab*/
|
|
@@ -1028,7 +1028,7 @@ function ne(a) {
|
|
|
1028
1028
|
y[45] == "LastPlayed" ? l ? l.p(y, i) : (l = le(y), l.c(), l.m(d.parentNode, d)) : l && (l.d(1), l = null);
|
|
1029
1029
|
},
|
|
1030
1030
|
d(y) {
|
|
1031
|
-
y && (
|
|
1031
|
+
y && (F(e), F(n), F(d)), u && u.d(y), f && f.d(y), l && l.d(y);
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
1034
|
}
|
|
@@ -1039,7 +1039,7 @@ function ze(a) {
|
|
|
1039
1039
|
/*casinomygames*/
|
|
1040
1040
|
f[19]
|
|
1041
1041
|
)
|
|
1042
|
-
return
|
|
1042
|
+
return Te;
|
|
1043
1043
|
}
|
|
1044
1044
|
let d = n(a), u = d && d(a);
|
|
1045
1045
|
return {
|
|
@@ -1047,7 +1047,7 @@ function ze(a) {
|
|
|
1047
1047
|
e = _("div"), u && u.c();
|
|
1048
1048
|
},
|
|
1049
1049
|
m(f, l) {
|
|
1050
|
-
|
|
1050
|
+
G(f, e, l), u && u.m(e, null), a[36](e);
|
|
1051
1051
|
},
|
|
1052
1052
|
p(f, l) {
|
|
1053
1053
|
d === (d = n(f)) && u ? u.p(f, l) : (u && u.d(1), u = d && d(f), u && (u.c(), u.m(e, null)));
|
|
@@ -1055,14 +1055,14 @@ function ze(a) {
|
|
|
1055
1055
|
i: ee,
|
|
1056
1056
|
o: ee,
|
|
1057
1057
|
d(f) {
|
|
1058
|
-
f &&
|
|
1058
|
+
f && F(e), u && u.d(), a[36](null);
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
1061
|
}
|
|
1062
1062
|
function He(a, e, n) {
|
|
1063
1063
|
let d;
|
|
1064
|
-
Me(a,
|
|
1065
|
-
let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { livecasino: c = "" } = e, { visiblegames: s = "" } = e, { gamepagemodalurl: o = "" } = e, { showgamename: v = "" } = e, { integratedgameframedesktop: B = "" } = e, { integratedgameframemobile: R = "" } = e, { translationurl: O = "" } = e, { favorites: S = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: q = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod:
|
|
1064
|
+
Me(a, Le, (r) => n(31, d = r));
|
|
1065
|
+
let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { livecasino: c = "" } = e, { visiblegames: s = "" } = e, { gamepagemodalurl: o = "" } = e, { showgamename: v = "" } = e, { integratedgameframedesktop: B = "" } = e, { integratedgameframemobile: R = "" } = e, { translationurl: O = "" } = e, { favorites: S = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: q = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: V = "Last30Days" } = e, { mostplayedperiod: Z = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, oe = window.navigator.userAgent, k, re, N = "", Y = !1, L = ["", "", ""], z = "0";
|
|
1066
1066
|
Se({ withLocale: "en", translations: {} });
|
|
1067
1067
|
const H = (r) => {
|
|
1068
1068
|
Object.keys(r).forEach((M) => {
|
|
@@ -1076,7 +1076,7 @@ function He(a, e, n) {
|
|
|
1076
1076
|
});
|
|
1077
1077
|
};
|
|
1078
1078
|
H(Ne);
|
|
1079
|
-
const
|
|
1079
|
+
const D = (r) => {
|
|
1080
1080
|
N !== r && n(27, N = r);
|
|
1081
1081
|
}, de = () => {
|
|
1082
1082
|
n(27, N = S === "true" ? "Favorites" : j === "true" ? "MostPlayed" : q === "true" ? "LastPlayed" : ""), n(29, L[0] = S === "true" ? "Favorites" : "", L), n(29, L[1] = j === "true" ? "MostPlayed" : "", L), n(29, L[2] = q === "true" ? "LastPlayed" : "", L), qe(i);
|
|
@@ -1092,21 +1092,21 @@ function He(a, e, n) {
|
|
|
1092
1092
|
we(() => (window.addEventListener("message", x, !1), n(28, Y = Be(oe)), () => {
|
|
1093
1093
|
window.removeEventListener("message", x);
|
|
1094
1094
|
}));
|
|
1095
|
-
const fe = () =>
|
|
1095
|
+
const fe = () => D("Favorites"), ue = () => D("MostPlayed"), ye = () => D("LastPlayed");
|
|
1096
1096
|
function ge(r) {
|
|
1097
|
-
|
|
1097
|
+
ke[r ? "unshift" : "push"](() => {
|
|
1098
1098
|
k = r, n(26, k);
|
|
1099
1099
|
});
|
|
1100
1100
|
}
|
|
1101
1101
|
return a.$$set = (r) => {
|
|
1102
|
-
"userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "mbsource" in r && n(6, m = r.mbsource), "clientstyling" in r && n(7, P = r.clientstyling), "clientstylingurl" in r && n(8, h = r.clientstylingurl), "livecasino" in r && n(9, c = r.livecasino), "visiblegames" in r && n(10, s = r.visiblegames), "gamepagemodalurl" in r && n(11, o = r.gamepagemodalurl), "showgamename" in r && n(12, v = r.showgamename), "integratedgameframedesktop" in r && n(13, B = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(14, R = r.integratedgameframemobile), "translationurl" in r && n(15, O = r.translationurl), "favorites" in r && n(16, S = r.favorites), "mostplayed" in r && n(17, j = r.mostplayed), "lastplayed" in r && n(18, q = r.lastplayed), "casinomygames" in r && n(19, J = r.casinomygames), "lastplayedperiod" in r && n(20,
|
|
1102
|
+
"userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "mbsource" in r && n(6, m = r.mbsource), "clientstyling" in r && n(7, P = r.clientstyling), "clientstylingurl" in r && n(8, h = r.clientstylingurl), "livecasino" in r && n(9, c = r.livecasino), "visiblegames" in r && n(10, s = r.visiblegames), "gamepagemodalurl" in r && n(11, o = r.gamepagemodalurl), "showgamename" in r && n(12, v = r.showgamename), "integratedgameframedesktop" in r && n(13, B = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(14, R = r.integratedgameframemobile), "translationurl" in r && n(15, O = r.translationurl), "favorites" in r && n(16, S = r.favorites), "mostplayed" in r && n(17, j = r.mostplayed), "lastplayed" in r && n(18, q = r.lastplayed), "casinomygames" in r && n(19, J = r.casinomygames), "lastplayedperiod" in r && n(20, V = r.lastplayedperiod), "mostplayedperiod" in r && n(21, Z = r.mostplayedperiod), "lastplayedorder" in r && n(22, K = r.lastplayedorder), "lastplayedlimit" in r && n(23, Q = r.lastplayedlimit), "lastplayedunique" in r && n(24, W = r.lastplayedunique), "mostplayedrounds" in r && n(25, X = r.mostplayedrounds);
|
|
1103
1103
|
}, a.$$.update = () => {
|
|
1104
1104
|
a.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
|
|
1105
1105
|
458780 && l && y && i && S && j && q && de(), a.$$.dirty[0] & /*translationurl*/
|
|
1106
1106
|
32768 && O && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1107
|
-
67108992 && P && k &&
|
|
1108
|
-
67109120 && h && k &&
|
|
1109
|
-
67108928 && m && k &&
|
|
1107
|
+
67108992 && P && k && Ce(k, P), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1108
|
+
67109120 && h && k && Ee(k, h), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1109
|
+
67108928 && m && k && Ae(k, `${m}.Style`), a.$$.dirty[0] & /*mbsource, translationurl*/
|
|
1110
1110
|
32832 && m && !O && Oe(`${m}.Translation`, re, H);
|
|
1111
1111
|
}, [
|
|
1112
1112
|
u,
|
|
@@ -1129,10 +1129,10 @@ function He(a, e, n) {
|
|
|
1129
1129
|
j,
|
|
1130
1130
|
q,
|
|
1131
1131
|
J,
|
|
1132
|
-
Q,
|
|
1133
1132
|
V,
|
|
1134
1133
|
Z,
|
|
1135
1134
|
K,
|
|
1135
|
+
Q,
|
|
1136
1136
|
W,
|
|
1137
1137
|
X,
|
|
1138
1138
|
k,
|
|
@@ -1141,21 +1141,21 @@ function He(a, e, n) {
|
|
|
1141
1141
|
L,
|
|
1142
1142
|
z,
|
|
1143
1143
|
d,
|
|
1144
|
-
|
|
1144
|
+
D,
|
|
1145
1145
|
fe,
|
|
1146
1146
|
ue,
|
|
1147
1147
|
ye,
|
|
1148
1148
|
ge
|
|
1149
1149
|
];
|
|
1150
1150
|
}
|
|
1151
|
-
class
|
|
1151
|
+
class Ue extends ve {
|
|
1152
1152
|
constructor(e) {
|
|
1153
1153
|
super(), be(
|
|
1154
1154
|
this,
|
|
1155
1155
|
e,
|
|
1156
1156
|
He,
|
|
1157
1157
|
ze,
|
|
1158
|
-
|
|
1158
|
+
pe,
|
|
1159
1159
|
{
|
|
1160
1160
|
userid: 0,
|
|
1161
1161
|
session: 1,
|
|
@@ -1184,7 +1184,7 @@ class Ie extends ve {
|
|
|
1184
1184
|
lastplayedunique: 24,
|
|
1185
1185
|
mostplayedrounds: 25
|
|
1186
1186
|
},
|
|
1187
|
-
|
|
1187
|
+
De,
|
|
1188
1188
|
[-1, -1]
|
|
1189
1189
|
);
|
|
1190
1190
|
}
|
|
@@ -1345,7 +1345,7 @@ class Ie extends ve {
|
|
|
1345
1345
|
this.$$set({ mostplayedrounds: e }), g();
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
|
-
|
|
1348
|
+
Pe(Ue, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {} }, [], [], !0);
|
|
1349
1349
|
export {
|
|
1350
|
-
|
|
1350
|
+
Ue as default
|
|
1351
1351
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BFcC7upG.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,m,d,x,y,u,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,F,N,o,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),u=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(u,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"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"),t.attr(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(C,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,u),t.append(u,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let g=0;g<h.length;g+=1)h[g]&&h[g].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&F!==(F="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",F),k&2&&N!==(N="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),k&120){Z=t.ensure_array_like(Object.values(i[5]));let g;for(g=0;g<Z.length;g+=1){const T=D(i,Z,g);h[g]?h[g].p(T,k):(h[g]=P(T),h[g].c(),h[g].m(v,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,u;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(u=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,u()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,u,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},O=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.emMessageBus!=null&&y&&y.unsubscribe(),window.removeEventListener("message",_)}));const z=()=>C(),F=o=>O(o);function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&u&&t.setClientStyling(u,p),e.$$.dirty&2049&&m&&u&&t.setClientStylingURL(u,m),e.$$.dirty&8193&&u&&t.setStreamStyling(u,`${x}.Style`),e.$$.dirty&512&&s&&B()},[u,f,b,S,a,A,O,C,l,s,p,m,d,x,z,F,N]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-VfWjc6cO.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,I,k,_,C,Z,o,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"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"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",o="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(O,"class","SorterDropdown"),t.attr(b,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(a,S),t.append(a,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&o!==(o="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",o),x&120){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(a,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let o=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];o?n(3,w=o):n(3,w="All"),n(3,w=A[o])},N=o=>{n(3,w=o);let g=localStorage.getItem("vendorSortingBy");f=o;for(let b in A)if(A[b]===o){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},I=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=o=>{o.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>I(),C=o=>N(o);function Z(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,h=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,S=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,a,A,N,I,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|