@everymatrix/casino-page-nd 1.50.1 → 1.52.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/{CasinoCollectionsProviders-CKwYUDjs.js → CasinoCollectionsProviders--fiR9zGC.js} +5 -0
- package/components/CasinoCollectionsProviders-Cg6Drvjc.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-WAt5xtT2.cjs → CasinoFavoritesSectionNd-C1153GlJ.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-BfXCO_ps.js → CasinoFavoritesSectionNd-DSeuuLtY.js} +1 -1
- package/components/{CasinoFilter-DBVXUEwE.js → CasinoFilter-DKjI7P-Q.js} +6 -0
- package/components/CasinoFilter-DPnwUm9Y.cjs +1 -0
- package/components/{CasinoGameThumbnailNd-BzUE1xEf.cjs → CasinoGameThumbnailNd-CvUlQLWz.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-2t_-sr1M.js → CasinoGameThumbnailNd-OcelQvI7.js} +8 -0
- package/components/{CasinoGamesCategorySectionNd-0b7W_YTC.js → CasinoGamesCategorySectionNd-C_ARG2Et.js} +203 -190
- package/components/CasinoGamesCategorySectionNd-yig6p1c3.cjs +1 -0
- package/components/{CasinoJackpotBanner-BBPz6fJs.js → CasinoJackpotBanner-DWGfhATO.js} +30 -27
- package/components/CasinoJackpotBanner-DxmBYDQZ.cjs +1 -0
- package/components/CasinoLastPlayedSectionNd-BqTS0sBE.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-B8uYy0lx.js → CasinoLastPlayedSectionNd-C-5tfNvV.js} +43 -40
- package/components/{CasinoMostPlayedSectionNd-D02yV4gY.js → CasinoMostPlayedSectionNd-CMOMYpjt.js} +35 -32
- package/components/CasinoMostPlayedSectionNd-DKpVU4pB.cjs +1 -0
- package/components/CasinoMyGamesNd-Blwl1jVl.cjs +1 -0
- package/components/{CasinoMyGamesNd-DiwwLNV_.js → CasinoMyGamesNd-Dbi1-8t7.js} +40 -35
- package/components/{CasinoPageNd-47r62ZN1.js → CasinoPageNd-Ch1Q5T2P.js} +249 -237
- package/components/CasinoPageNd-Ct2s0-2Y.cjs +1 -0
- package/components/CasinoRandomGame-D6B_2z33.cjs +2 -0
- package/components/{CasinoRandomGame-DMy0-33C.js → CasinoRandomGame-Dual7qoW.js} +63 -57
- package/components/{CasinoSearchNd-DIzJ4XVt.js → CasinoSearchNd-D3FVE2oW.js} +35 -25
- package/components/CasinoSearchNd-DtjjLZOk.cjs +1 -0
- package/components/CasinoSort-E-_378b4.cjs +1 -0
- package/components/{CasinoSort-Box235sv.js → CasinoSort-Nb_NdM0g.js} +29 -22
- package/components/CasinoWinners-CSgsVlTu.cjs +1 -0
- package/components/{CasinoWinners-D52EAddg.js → CasinoWinners-dnaElXcd.js} +102 -92
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCollectionsProviders-YR7GKLly.cjs +0 -1
- package/components/CasinoFilter-D6eMFElH.cjs +0 -1
- package/components/CasinoGamesCategorySectionNd-BPSV_HLq.cjs +0 -1
- package/components/CasinoJackpotBanner-G5Nb0_vs.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-C_7Lr07v.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-DrgACeul.cjs +0 -1
- package/components/CasinoMyGamesNd-Dl37BG8j.cjs +0 -1
- package/components/CasinoPageNd-sEt7woKn.cjs +0 -1
- package/components/CasinoRandomGame-_nxxS7dr.cjs +0 -2
- package/components/CasinoSearchNd-B-_YK9Lp.cjs +0 -1
- package/components/CasinoSort-DhHO6YL0.cjs +0 -1
- package/components/CasinoWinners-BKrBPGeL.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as S, a as ge, I as he, S as
|
|
1
|
+
import { $ as S, a as ge, I as he, S as ve, i as pe, f as u, c as be, s as _e, b as Pe, e as _, d as P, C as Y, j as w, J as we, o as Me, l as ke, m as Fe, p as x, q as A, u as M, v as b, B as Le, F as Ce, N as Ge, r as L, w as T, A as q, P as i } from "./CasinoCalendar-DOhm0UH1.js";
|
|
2
2
|
function Ee({ withLocale: a, translations: e }) {
|
|
3
3
|
S.subscribe((t) => {
|
|
4
4
|
t == null && (ge.set(e), S.set(a));
|
|
@@ -95,6 +95,11 @@ const ee = {
|
|
|
95
95
|
favorites: "Favoritos",
|
|
96
96
|
mostPlayed: "Los más Jugados",
|
|
97
97
|
recentlyPlayed: "Último juego"
|
|
98
|
+
},
|
|
99
|
+
"en-us": {
|
|
100
|
+
favorites: "Favorites",
|
|
101
|
+
mostPlayed: "Most Played",
|
|
102
|
+
recentlyPlayed: "Last Played"
|
|
98
103
|
}
|
|
99
104
|
};
|
|
100
105
|
if (typeof window != "undefined") {
|
|
@@ -109,7 +114,7 @@ if (typeof window != "undefined") {
|
|
|
109
114
|
}
|
|
110
115
|
};
|
|
111
116
|
};
|
|
112
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-
|
|
117
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-DSeuuLtY.js").then(({ default: e }) => {
|
|
113
118
|
!customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
|
|
114
119
|
});
|
|
115
120
|
}
|
|
@@ -125,7 +130,7 @@ if (typeof window != "undefined") {
|
|
|
125
130
|
}
|
|
126
131
|
};
|
|
127
132
|
};
|
|
128
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-
|
|
133
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-C-5tfNvV.js").then(({ default: e }) => {
|
|
129
134
|
!customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
|
|
130
135
|
});
|
|
131
136
|
}
|
|
@@ -141,7 +146,7 @@ if (typeof window != "undefined") {
|
|
|
141
146
|
}
|
|
142
147
|
};
|
|
143
148
|
};
|
|
144
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-
|
|
149
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-CMOMYpjt.js").then(({ default: e }) => {
|
|
145
150
|
!customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
|
|
146
151
|
});
|
|
147
152
|
}
|
|
@@ -173,7 +178,7 @@ function Oe(a) {
|
|
|
173
178
|
f[25] == "LastPlayed"
|
|
174
179
|
) return je;
|
|
175
180
|
}
|
|
176
|
-
let
|
|
181
|
+
let v = h(a), y = v && v(a);
|
|
177
182
|
return {
|
|
178
183
|
c() {
|
|
179
184
|
e = _("div"), t = _("div"), s = _("div");
|
|
@@ -197,19 +202,19 @@ function Oe(a) {
|
|
|
197
202
|
);
|
|
198
203
|
let c;
|
|
199
204
|
for (c = 0; c < o.length; c += 1) {
|
|
200
|
-
const
|
|
201
|
-
r[c] ? r[c].p(
|
|
205
|
+
const C = te(f, o, c);
|
|
206
|
+
r[c] ? r[c].p(C, g) : (r[c] = le(C), r[c].c(), r[c].m(s, null));
|
|
202
207
|
}
|
|
203
208
|
for (; c < r.length; c += 1)
|
|
204
209
|
r[c].d(1);
|
|
205
210
|
r.length = o.length;
|
|
206
211
|
}
|
|
207
|
-
|
|
212
|
+
v === (v = h(f)) && y ? y.p(f, g) : (y && y.d(1), y = v && v(f), y && (y.c(), y.m(n, null))), g[0] & /*mobile*/
|
|
208
213
|
67108864 && d !== (d = "CasinoMyGames " + /*mobile*/
|
|
209
214
|
(f[26] ? "Mobile" : "")) && M(e, "class", d);
|
|
210
215
|
},
|
|
211
216
|
d(f) {
|
|
212
|
-
f && w(e),
|
|
217
|
+
f && w(e), Le(r, f), y && y.d();
|
|
213
218
|
}
|
|
214
219
|
};
|
|
215
220
|
}
|
|
@@ -217,23 +222,23 @@ function ae(a) {
|
|
|
217
222
|
let e, t = (
|
|
218
223
|
/*$_*/
|
|
219
224
|
a[29]("favorites") + ""
|
|
220
|
-
), s, m, n, d, o, r, h,
|
|
225
|
+
), s, m, n, d, o, r, h, v, y;
|
|
221
226
|
return {
|
|
222
227
|
c() {
|
|
223
|
-
e = _("button"), s =
|
|
228
|
+
e = _("button"), s = L(t), m = A(), n = _("span"), d = L("("), o = L(
|
|
224
229
|
/*favoritesCount*/
|
|
225
230
|
a[28]
|
|
226
|
-
), r =
|
|
231
|
+
), r = L(")"), M(e, "class", h = "MyGamesButton " + /*gamesType*/
|
|
227
232
|
(a[25] == "Favorites" ? "Active" : "") + " " + /*favorites*/
|
|
228
233
|
(a[14] == "false" ? "Off" : ""));
|
|
229
234
|
},
|
|
230
235
|
m(f, g) {
|
|
231
|
-
P(f, e, g), b(e, s), b(e, m), b(e, n), b(n, d), b(n, o), b(n, r),
|
|
236
|
+
P(f, e, g), b(e, s), b(e, m), b(e, n), b(n, d), b(n, o), b(n, r), v || (y = T(
|
|
232
237
|
e,
|
|
233
238
|
"click",
|
|
234
239
|
/*click_handler*/
|
|
235
240
|
a[32]
|
|
236
|
-
),
|
|
241
|
+
), v = !0);
|
|
237
242
|
},
|
|
238
243
|
p(f, g) {
|
|
239
244
|
g[0] & /*$_*/
|
|
@@ -249,7 +254,7 @@ function ae(a) {
|
|
|
249
254
|
(f[14] == "false" ? "Off" : "")) && M(e, "class", h);
|
|
250
255
|
},
|
|
251
256
|
d(f) {
|
|
252
|
-
f && w(e),
|
|
257
|
+
f && w(e), v = !1, y();
|
|
253
258
|
}
|
|
254
259
|
};
|
|
255
260
|
}
|
|
@@ -260,7 +265,7 @@ function se(a) {
|
|
|
260
265
|
), s, m, n, d;
|
|
261
266
|
return {
|
|
262
267
|
c() {
|
|
263
|
-
e = _("button"), s =
|
|
268
|
+
e = _("button"), s = L(t), M(e, "class", m = "MyGamesButton " + /*gamesType*/
|
|
264
269
|
(a[25] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
|
|
265
270
|
(a[15] == "false" ? "Off" : ""));
|
|
266
271
|
},
|
|
@@ -292,7 +297,7 @@ function ie(a) {
|
|
|
292
297
|
), s, m, n, d, o;
|
|
293
298
|
return {
|
|
294
299
|
c() {
|
|
295
|
-
e = _("button"), s =
|
|
300
|
+
e = _("button"), s = L(t), m = A(), M(e, "class", n = "MyGamesButton " + /*gamesType*/
|
|
296
301
|
(a[25] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
297
302
|
(a[16] == "false" ? "Off" : ""));
|
|
298
303
|
},
|
|
@@ -330,7 +335,7 @@ function le(a) {
|
|
|
330
335
|
);
|
|
331
336
|
return {
|
|
332
337
|
c() {
|
|
333
|
-
m && m.c(), e = A(), n && n.c(), t = A(), d && d.c(), s =
|
|
338
|
+
m && m.c(), e = A(), n && n.c(), t = A(), d && d.c(), s = Ce();
|
|
334
339
|
},
|
|
335
340
|
m(o, r) {
|
|
336
341
|
m && m.m(o, r), P(o, e, r), n && n.m(o, r), P(o, t, r), d && d.m(o, r), P(o, s, r);
|
|
@@ -1020,15 +1025,15 @@ function Ne(a) {
|
|
|
1020
1025
|
function Se(a, e, t) {
|
|
1021
1026
|
let s;
|
|
1022
1027
|
we(a, Ge, (l) => t(29, s = l));
|
|
1023
|
-
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling:
|
|
1028
|
+
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: O = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: z = "false" } = e, { lastplayedperiod: I = "Last30Days" } = e, { mostplayedperiod: R = "Last30Days" } = e, { lastplayedorder: J = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: K = "" } = e, ne = window.navigator.userAgent, k, j = "", Q = !1, F = ["", "", ""], N = "0";
|
|
1024
1029
|
Ee({ withLocale: "en", translations: {} });
|
|
1025
1030
|
const oe = () => {
|
|
1026
|
-
fetch(O).then((
|
|
1027
|
-
Object.keys(
|
|
1028
|
-
$(X,
|
|
1031
|
+
fetch(O).then((p) => p.json()).then((p) => {
|
|
1032
|
+
Object.keys(p).forEach((X) => {
|
|
1033
|
+
$(X, p[X]);
|
|
1029
1034
|
});
|
|
1030
|
-
}).catch((
|
|
1031
|
-
console.log(
|
|
1035
|
+
}).catch((p) => {
|
|
1036
|
+
console.log(p);
|
|
1032
1037
|
});
|
|
1033
1038
|
};
|
|
1034
1039
|
Object.keys(ee).forEach((l) => {
|
|
@@ -1040,11 +1045,11 @@ function Se(a, e, t) {
|
|
|
1040
1045
|
t(25, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(27, F[0] = G === "true" ? "Favorites" : "", F), t(27, F[1] = E === "true" ? "MostPlayed" : "", F), t(27, F[2] = B === "true" ? "LastPlayed" : "", F), Be(r);
|
|
1041
1046
|
}, me = () => {
|
|
1042
1047
|
let l = document.createElement("style");
|
|
1043
|
-
l.innerHTML =
|
|
1048
|
+
l.innerHTML = v, k.appendChild(l);
|
|
1044
1049
|
}, de = () => {
|
|
1045
1050
|
let l = document.createElement("style");
|
|
1046
|
-
fetch(new URL(y)).then((
|
|
1047
|
-
l.innerHTML =
|
|
1051
|
+
fetch(new URL(y)).then((p) => p.text()).then((p) => {
|
|
1052
|
+
l.innerHTML = p, setTimeout(
|
|
1048
1053
|
() => {
|
|
1049
1054
|
k.appendChild(l);
|
|
1050
1055
|
},
|
|
@@ -1052,11 +1057,11 @@ function Se(a, e, t) {
|
|
|
1052
1057
|
);
|
|
1053
1058
|
});
|
|
1054
1059
|
}, W = (l) => {
|
|
1055
|
-
var
|
|
1060
|
+
var p;
|
|
1056
1061
|
if (l.data)
|
|
1057
1062
|
switch (l.data.type) {
|
|
1058
1063
|
case "UpdateFavoritesCount":
|
|
1059
|
-
l.data.favoriteGamesLength ? t(28, N = l.data.favoriteGamesLength) : t(28, N = (
|
|
1064
|
+
l.data.favoriteGamesLength ? t(28, N = l.data.favoriteGamesLength) : t(28, N = (p = l.data.listOfFavoritesGames) == null ? void 0 : p.length);
|
|
1060
1065
|
break;
|
|
1061
1066
|
}
|
|
1062
1067
|
};
|
|
@@ -1070,12 +1075,12 @@ function Se(a, e, t) {
|
|
|
1070
1075
|
});
|
|
1071
1076
|
}
|
|
1072
1077
|
return a.$$set = (l) => {
|
|
1073
|
-
"userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6,
|
|
1078
|
+
"userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, v = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, C = l.showgamename), "integratedgameframedesktop" in l && t(12, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, U = l.integratedgameframemobile), "translationurl" in l && t(31, O = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, z = l.casinomygames), "lastplayedperiod" in l && t(18, I = l.lastplayedperiod), "mostplayedperiod" in l && t(19, R = l.mostplayedperiod), "lastplayedorder" in l && t(20, J = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, K = l.mostplayedrounds);
|
|
1074
1079
|
}, a.$$.update = () => {
|
|
1075
1080
|
a.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
|
|
1076
1081
|
114716 && d && o && r && G && E && B && re(), a.$$.dirty[1] & /*translationurl*/
|
|
1077
1082
|
1 && O && oe(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1078
|
-
16777280 &&
|
|
1083
|
+
16777280 && v && k && me(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1079
1084
|
16777344 && y && k && de();
|
|
1080
1085
|
}, [
|
|
1081
1086
|
m,
|
|
@@ -1084,12 +1089,12 @@ function Se(a, e, t) {
|
|
|
1084
1089
|
o,
|
|
1085
1090
|
r,
|
|
1086
1091
|
h,
|
|
1087
|
-
|
|
1092
|
+
v,
|
|
1088
1093
|
y,
|
|
1089
1094
|
f,
|
|
1090
1095
|
g,
|
|
1091
1096
|
c,
|
|
1092
|
-
|
|
1097
|
+
C,
|
|
1093
1098
|
H,
|
|
1094
1099
|
U,
|
|
1095
1100
|
G,
|
|
@@ -1116,9 +1121,9 @@ function Se(a, e, t) {
|
|
|
1116
1121
|
ce
|
|
1117
1122
|
];
|
|
1118
1123
|
}
|
|
1119
|
-
class Te extends
|
|
1124
|
+
class Te extends ve {
|
|
1120
1125
|
constructor(e) {
|
|
1121
|
-
super(),
|
|
1126
|
+
super(), pe(
|
|
1122
1127
|
this,
|
|
1123
1128
|
e,
|
|
1124
1129
|
Se,
|