@everymatrix/casino-lobby 1.76.3 → 1.76.4
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/{CasinoCalendar-B0K8z0GJ.js → CasinoCalendar-2Cpj6Bg6.js} +1113 -1078
- package/components/{CasinoCalendar-CzMBlFEu.js → CasinoCalendar-CMIWRUUm.js} +1075 -1040
- package/components/CasinoCalendar-DV_HGN_d.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-D5cq8_6v.js → CasinoCalendarDailyDetails-B5krFnaT.js} +91 -91
- package/components/{CasinoCalendarDailyDetails-8b-Ie2Hl.js → CasinoCalendarDailyDetails-DA7MIM93.js} +91 -91
- package/components/CasinoCalendarDailyDetails-XuqvF6i3.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DXREwm9q.js → CasinoCalendarDailyItem-BAJJIvIo.js} +34 -34
- package/components/{CasinoCalendarDailyItem-BglEC2TQ.js → CasinoCalendarDailyItem-DY2ge_ta.js} +34 -34
- package/components/{CasinoCalendarDailyItem-Cl7eHYxY.cjs → CasinoCalendarDailyItem-Q79--gB8.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-B6_EYUBm.cjs → CasinoCategoriesSlider-Bj5sxBdL.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-C7_ke4uB.js → CasinoCategoriesSlider-D8ihGze3.js} +34 -34
- package/components/{CasinoCategoriesSlider-BKQxQQyV.js → CasinoCategoriesSlider-QFkK1VfK.js} +36 -36
- package/components/{CasinoCollectionsProviders-BpkF43eH.js → CasinoCollectionsProviders-4Z4WIkbN.js} +77 -77
- package/components/{CasinoCollectionsProviders-Abg7c3OD.cjs → CasinoCollectionsProviders-CyhsgC2q.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-BzU-DnW_.js → CasinoCollectionsProviders-KSxevvZ5.js} +64 -64
- package/components/{CasinoFavoritesSection-CVZktd79.js → CasinoFavoritesSection-CH6RKYbI.js} +19 -19
- package/components/{CasinoFavoritesSection-R-FdmVCi.js → CasinoFavoritesSection-CeH7gEs_.js} +19 -19
- package/components/{CasinoFavoritesSection-_ilSY3sa.cjs → CasinoFavoritesSection-CnKvlpHj.cjs} +1 -1
- package/components/{CasinoFilter-Bc_k_xiT.cjs → CasinoFilter-BDFP3doT.cjs} +1 -1
- package/components/{CasinoFilter-Cve0ticX.js → CasinoFilter-DqvsdQLm.js} +46 -46
- package/components/{CasinoFilter-CekYy95Z.js → CasinoFilter-nIExzBTm.js} +46 -46
- package/components/{CasinoGameThumbnail-CWVvNagJ.js → CasinoGameThumbnail-DmAXBgdw.js} +169 -169
- package/components/{CasinoGameThumbnail-MNCUvtBB.cjs → CasinoGameThumbnail-Dnb_EWII.cjs} +1 -1
- package/components/{CasinoGameThumbnail-1vnHRePz.js → CasinoGameThumbnail-vXzpFK6B.js} +167 -167
- package/components/{CasinoGamesCategorySection-DbTE8dp4.js → CasinoGamesCategorySection-CCMbufvI.js} +170 -170
- package/components/{CasinoGamesCategorySection-ORk-4Z5T.js → CasinoGamesCategorySection-D8p1YH47.js} +157 -157
- package/components/CasinoGamesCategorySection-i3CzEe6V.cjs +1 -0
- package/components/{CasinoJackpotBanner-DrTQC7xJ.cjs → CasinoJackpotBanner-C2pEv1Zb.cjs} +1 -1
- package/components/{CasinoJackpotBanner-B_dYLQp4.js → CasinoJackpotBanner-EKq86n9z.js} +89 -89
- package/components/{CasinoJackpotBanner-CBz6E__7.js → CasinoJackpotBanner-uWhhU8zz.js} +84 -84
- package/components/{CasinoLastPlayedSection-dsIlnh3O.cjs → CasinoLastPlayedSection-Bkk9ZJWU.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DPQb7w2E.js → CasinoLastPlayedSection-Cz43Ntm0.js} +33 -33
- package/components/{CasinoLastPlayedSection-F_nICX3T.js → CasinoLastPlayedSection-D6dhMSFC.js} +33 -33
- package/components/{CasinoLobby-DwSpwsm2.js → CasinoLobby-C5W8yGx8.js} +59 -59
- package/components/{CasinoLobby-Dbhuiv5E.cjs → CasinoLobby-CxgUhhrv.cjs} +1 -1
- package/components/{CasinoLobby-DKn7cqKR.js → CasinoLobby-pKt5iffv.js} +59 -59
- package/components/{CasinoMostPlayedSection-Dgv78Mz4.js → CasinoMostPlayedSection-CrpSf7Wm.js} +49 -49
- package/components/{CasinoMostPlayedSection-BxTpYnOu.cjs → CasinoMostPlayedSection-D2dgTPLO.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-Q71YToxb.js → CasinoMostPlayedSection-WUT01RfM.js} +49 -49
- package/components/{CasinoMyGames-CxJ9bl_4.cjs → CasinoMyGames-BySluNi7.cjs} +1 -1
- package/components/{CasinoMyGames-CUUW-jsz.js → CasinoMyGames-CXvY2HgK.js} +29 -29
- package/components/{CasinoMyGames-C95f0LUG.js → CasinoMyGames-D4hswNh4.js} +29 -29
- package/components/{CasinoPage-eSiTBBlE.cjs → CasinoPage-CXQGupl1.cjs} +1 -1
- package/components/{CasinoPage-IgKPkViB.js → CasinoPage-CYgZ9Y3j.js} +110 -110
- package/components/{CasinoPage-DlqPwpLJ.js → CasinoPage-DJbF4jd3.js} +124 -124
- package/components/{CasinoRandomGame-DUQ2O7Ih.js → CasinoRandomGame-C0LeVa_K.js} +53 -53
- package/components/{CasinoRandomGame-DwpEKRBx.cjs → CasinoRandomGame-CN0ZsyT7.cjs} +2 -2
- package/components/{CasinoRandomGame-Bqh0v1th.js → CasinoRandomGame-KqxBje-s.js} +105 -105
- package/components/{CasinoSearch-qwCltuQO.js → CasinoSearch-BSZXyGpW.js} +96 -96
- package/components/{CasinoSearch-DtTyugw1.js → CasinoSearch-Bh_3dc9h.js} +93 -93
- package/components/{CasinoSearch-DN57CePH.cjs → CasinoSearch-DKPZ8_Iy.cjs} +1 -1
- package/components/{CasinoSlider-BSy-pbt8.js → CasinoSlider-B8GaaNuP.js} +87 -87
- package/components/{CasinoSlider-BZe1q5jA.js → CasinoSlider-CBsaRkSG.js} +86 -86
- package/components/{CasinoSlider-Gf_263k6.cjs → CasinoSlider-DbyJ57E6.cjs} +1 -1
- package/components/{CasinoSort-BjPW0QaZ.cjs → CasinoSort-5CSg7HAS.cjs} +1 -1
- package/components/{CasinoSort-DHRPAHDE.js → CasinoSort-DUnBFMEc.js} +35 -35
- package/components/{CasinoSort-B25h8Cud.js → CasinoSort-DdVCJHJU.js} +35 -35
- package/components/{CasinoWinners-D1tkG_oD.cjs → CasinoWinners-4uQChe2F.cjs} +1 -1
- package/components/{CasinoWinners-DYd8q5Sh.js → CasinoWinners-BO9ep3XD.js} +76 -76
- package/components/{CasinoWinners-DUN0A3--.js → CasinoWinners-D9hsy2fX.js} +76 -76
- package/components/{GeneralAnimationLoading-8efHmhFw.js → GeneralAnimationLoading-DKWSPDDc.js} +14 -14
- package/components/{GeneralAnimationLoading-CUK4MKI8.cjs → GeneralAnimationLoading-DpT91_iF.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DUAt1hpi.js → GeneralAnimationLoading-yNj1-Ym_.js} +14 -14
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BGnpW6-t.js → casino-play-random-game-BmY8ENyy.js} +1 -1
- package/stencil/{casino-play-random-game-DxDk4Aim.cjs → casino-play-random-game-Ct16KgVH.cjs} +1 -1
- package/stencil/{casino-play-random-game-Dkt8_s5i.js → casino-play-random-game-rSOIFZ4R.js} +1 -1
- package/stencil/{casino-play-random-game_2-BxEiwCaH.cjs → casino-play-random-game_2-BJVoDn1D.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-OLkBGlKQ.js → casino-play-random-game_2-Cr07t-U3.js} +1 -1
- package/stencil/{casino-play-random-game_2-CO_ycbvG.js → casino-play-random-game_2-rMFQqRp8.js} +1 -1
- package/stencil/index-328e660d-Cex2hzsG.js +576 -0
- package/stencil/index-328e660d-Dti9H7_B.js +560 -0
- package/stencil/index-328e660d-MaaYKutI.cjs +1 -0
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
- package/stencil/index-b2193545-DVT8jgVo.cjs +1 -0
- package/stencil/index-b2193545-Dxw-xjac.js +503 -0
- package/stencil/index-b2193545-TbRClz6K.js +519 -0
- package/stencil/{ui-image-CzGNxx73.js → ui-image-2_i-_1cj.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image-B_HWMBI-.js → ui-image-bN_3pDWc.js} +1 -1
- package/stencil/{ui-image-wubI3fkK.cjs → ui-image-eY8BEG3a.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-CsmgJUYN.js → ui-skeleton-CSMUbPcJ.js} +2 -2
- package/stencil/{ui-skeleton-yRWBmyfK.js → ui-skeleton-CiszU04_.js} +2 -2
- package/stencil/{ui-skeleton-DTQ__6LQ.cjs → ui-skeleton-DcmFcn7k.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BRNiEwlg.js → ui-skeleton-ae35c6f2-9hZ7WFQc.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CZuWo9GO.cjs → ui-skeleton-ae35c6f2-D1Tb0H8D.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CxSezPtG.js → ui-skeleton-ae35c6f2-DDHvWmVB.js} +1 -1
- package/components/CasinoCalendar-Bo-lripz.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-DZ2juA5b.cjs +0 -1
- package/components/CasinoGamesCategorySection-D9LYDRb0.cjs +0 -1
- package/stencil/index-328e660d-CgCMs0nk.js +0 -576
- package/stencil/index-328e660d-DIiqSVTN.js +0 -560
- package/stencil/index-328e660d-pKNw3-4H.cjs +0 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
- package/stencil/index-b2193545-BL364Gzq.js +0 -503
- package/stencil/index-b2193545-DdqB2rk5.js +0 -519
- package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
package/components/{CasinoCategoriesSlider-C7_ke4uB.js → CasinoCategoriesSlider-D8ihGze3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as re, S as le, i as ce, f as r,
|
|
1
|
+
import { a as re, S as le, i as ce, f as r, s as me, K as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, M as be, C as de, r as O, E as o, p as he, L as we, H as Ne, I as Le, J as Me, N as _e } from "./CasinoCalendar-CMIWRUUm.js";
|
|
2
2
|
function X(i, e) {
|
|
3
3
|
re(i, e);
|
|
4
4
|
}
|
|
@@ -88,14 +88,14 @@ if (typeof window < "u") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-CBsaRkSG.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
function ve(i) {
|
|
96
96
|
ue(i, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ce(i) {
|
|
99
99
|
let e, t;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -172,7 +172,7 @@ function Ge(i) {
|
|
|
172
172
|
), O(e, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
|
173
173
|
},
|
|
174
174
|
m(a, n) {
|
|
175
|
-
|
|
175
|
+
j(a, e, n), he(e, t);
|
|
176
176
|
},
|
|
177
177
|
p(a, n) {
|
|
178
178
|
n[0] & /*lang*/
|
|
@@ -262,22 +262,22 @@ function Ge(i) {
|
|
|
262
262
|
);
|
|
263
263
|
},
|
|
264
264
|
d(a) {
|
|
265
|
-
a &&
|
|
265
|
+
a && E(e);
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function Ge(i) {
|
|
270
270
|
let e;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
273
|
e = h("p"), e.textContent = "500 Error - Internal Server Error.", O(e, "class", "SearchLoading svelte-1my2wow");
|
|
274
274
|
},
|
|
275
275
|
m(t, a) {
|
|
276
|
-
|
|
276
|
+
j(t, e, a);
|
|
277
277
|
},
|
|
278
278
|
p: S,
|
|
279
279
|
d(t) {
|
|
280
|
-
t &&
|
|
280
|
+
t && E(e);
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
@@ -288,11 +288,11 @@ function ke(i) {
|
|
|
288
288
|
e = h("div"), O(e, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
|
289
289
|
},
|
|
290
290
|
m(t, a) {
|
|
291
|
-
|
|
291
|
+
j(t, e, a);
|
|
292
292
|
},
|
|
293
293
|
p: S,
|
|
294
294
|
d(t) {
|
|
295
|
-
t &&
|
|
295
|
+
t && E(e);
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
}
|
|
@@ -303,7 +303,7 @@ function Se(i) {
|
|
|
303
303
|
/*isLoading*/
|
|
304
304
|
l[13] || Ee || je ? ke : (
|
|
305
305
|
/*hasErrors*/
|
|
306
|
-
l[15] ?
|
|
306
|
+
l[15] ? Ge : Ce
|
|
307
307
|
)
|
|
308
308
|
);
|
|
309
309
|
}
|
|
@@ -313,7 +313,7 @@ function Se(i) {
|
|
|
313
313
|
e = h("div"), n.c();
|
|
314
314
|
},
|
|
315
315
|
m(l, m) {
|
|
316
|
-
|
|
316
|
+
j(l, e, m), n.m(e, null), i[26](e);
|
|
317
317
|
},
|
|
318
318
|
p(l, m) {
|
|
319
319
|
a === (a = t(l)) && n ? n.p(l, m) : (n.d(1), n = a(l), n && (n.c(), n.m(e, null)));
|
|
@@ -321,17 +321,17 @@ function Se(i) {
|
|
|
321
321
|
i: S,
|
|
322
322
|
o: S,
|
|
323
323
|
d(l) {
|
|
324
|
-
l &&
|
|
324
|
+
l && E(e), n.d(), i[26](null);
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
let D = "CasinoSliderData", Ee = !1, je = !1;
|
|
329
329
|
function Pe(i, e, t) {
|
|
330
330
|
let a;
|
|
331
|
-
ye(i,
|
|
332
|
-
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent:
|
|
331
|
+
ye(i, we, (s) => t(32, a = s));
|
|
332
|
+
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: I = "" } = e, { sessioncheck: R = "" } = e, { location: U = "secondaryMenu" } = e, { showsubgroups: B = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: H = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: q = "" } = e, { mbsource: P } = e, x, z, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, J, K = !1, A = !1;
|
|
333
333
|
const $ = () => {
|
|
334
|
-
fetch(
|
|
334
|
+
fetch(G).then((c) => c.json()).then((c) => {
|
|
335
335
|
Object.keys(c).forEach((k) => {
|
|
336
336
|
X(k, c[k]);
|
|
337
337
|
});
|
|
@@ -346,18 +346,18 @@ function Pe(i, e, t) {
|
|
|
346
346
|
K == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
|
|
347
347
|
// @ts-ignore
|
|
348
348
|
id: "MYGAMES",
|
|
349
|
-
name:
|
|
349
|
+
name: x,
|
|
350
350
|
href: "",
|
|
351
351
|
games: []
|
|
352
352
|
}), _e(), K = !0, t(25, A = !0), Q();
|
|
353
353
|
}, te = () => (n || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), l || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!m || m.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), se = () => {
|
|
354
|
-
if (
|
|
354
|
+
if (x = a("myGamesName"), z = a("lobbyName"), !te()) {
|
|
355
355
|
let s = new URL(`${n}/v2/casino/groups/${l}`);
|
|
356
356
|
s.searchParams.append("language", m), s.searchParams.append("platform", be(p)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((c) => c.json()).then(
|
|
357
357
|
(c) => {
|
|
358
|
-
let k =
|
|
358
|
+
let k = C.split(","), ne = c.items.filter((W) => {
|
|
359
359
|
let F = !1;
|
|
360
|
-
if (W.games.total > 0 && (F = !0,
|
|
360
|
+
if (W.games.total > 0 && (F = !0, C))
|
|
361
361
|
for (let oe of k)
|
|
362
362
|
W.flags == oe && (F = !1);
|
|
363
363
|
return F;
|
|
@@ -365,7 +365,7 @@ function Pe(i, e, t) {
|
|
|
365
365
|
d = [], d = d.concat(ne), d.unshift({
|
|
366
366
|
// @ts-ignore
|
|
367
367
|
id: "LOBBY",
|
|
368
|
-
name:
|
|
368
|
+
name: z,
|
|
369
369
|
href: "",
|
|
370
370
|
games: []
|
|
371
371
|
}), t(13, y = !1);
|
|
@@ -401,16 +401,16 @@ function Pe(i, e, t) {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
return i.$$set = (s) => {
|
|
404
|
-
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6,
|
|
404
|
+
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, I = s.actionevent), "sessioncheck" in s && t(22, R = s.sessioncheck), "location" in s && t(7, U = s.location), "showsubgroups" in s && t(8, B = s.showsubgroups), "filteredcategories" in s && t(23, C = s.filteredcategories), "translationurl" in s && t(24, G = s.translationurl), "categoriesicon" in s && t(9, H = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, q = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
405
405
|
}, i.$$.update = () => {
|
|
406
406
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
407
407
|
14 && n && l && m && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
408
408
|
3940354 && n && w && (N || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
409
409
|
33824769 && !y && u && (!w || A) && ie(), i.$$.dirty[0] & /*translationurl*/
|
|
410
|
-
16777216 &&
|
|
411
|
-
16400 && _ && g &&
|
|
412
|
-
16416 && v && g &&
|
|
413
|
-
20480 && g &&
|
|
410
|
+
16777216 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
411
|
+
16400 && _ && g && Ne(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
412
|
+
16416 && v && g && Le(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
413
|
+
20480 && g && Me(g, `${P}.Style`);
|
|
414
414
|
}, t(16, J = 0), [
|
|
415
415
|
u,
|
|
416
416
|
n,
|
|
@@ -418,12 +418,12 @@ function Pe(i, e, t) {
|
|
|
418
418
|
m,
|
|
419
419
|
_,
|
|
420
420
|
v,
|
|
421
|
-
R,
|
|
422
|
-
B,
|
|
423
421
|
I,
|
|
424
|
-
|
|
425
|
-
|
|
422
|
+
U,
|
|
423
|
+
B,
|
|
426
424
|
H,
|
|
425
|
+
Y,
|
|
426
|
+
q,
|
|
427
427
|
P,
|
|
428
428
|
y,
|
|
429
429
|
g,
|
|
@@ -434,9 +434,9 @@ function Pe(i, e, t) {
|
|
|
434
434
|
N,
|
|
435
435
|
L,
|
|
436
436
|
M,
|
|
437
|
-
|
|
438
|
-
G,
|
|
437
|
+
R,
|
|
439
438
|
C,
|
|
439
|
+
G,
|
|
440
440
|
A,
|
|
441
441
|
ae
|
|
442
442
|
];
|
|
@@ -448,7 +448,7 @@ class Ae extends le {
|
|
|
448
448
|
e,
|
|
449
449
|
Pe,
|
|
450
450
|
Se,
|
|
451
|
-
|
|
451
|
+
me,
|
|
452
452
|
{
|
|
453
453
|
endpoint: 1,
|
|
454
454
|
datasource: 2,
|
|
@@ -603,7 +603,7 @@ class Ae extends le {
|
|
|
603
603
|
this.$$set({ mbsource: e }), r();
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
|
|
606
|
+
ge(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
607
607
|
export {
|
|
608
608
|
Ae as default
|
|
609
609
|
};
|
package/components/{CasinoCategoriesSlider-BKQxQQyV.js → CasinoCategoriesSlider-QFkK1VfK.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as re, S as le, i as ce,
|
|
1
|
+
import { a as re, S as le, i as ce, s as me, f as r, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, M as fe, C as be, r as O, E as o, p as de, H as he, I as we, J as Ne, K as Le, N as Me, L as _e } from "./CasinoCalendar-2Cpj6Bg6.js";
|
|
2
2
|
function X(i, e) {
|
|
3
3
|
re(i, e);
|
|
4
4
|
}
|
|
@@ -88,14 +88,14 @@ if (typeof window != "undefined") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-B8GaaNuP.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
function ve(i) {
|
|
96
|
-
|
|
96
|
+
ge(i, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ce(i) {
|
|
99
99
|
let e, t;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -172,7 +172,7 @@ function Ge(i) {
|
|
|
172
172
|
), O(e, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
|
173
173
|
},
|
|
174
174
|
m(a, n) {
|
|
175
|
-
|
|
175
|
+
j(a, e, n), de(e, t);
|
|
176
176
|
},
|
|
177
177
|
p(a, n) {
|
|
178
178
|
n[0] & /*lang*/
|
|
@@ -262,22 +262,22 @@ function Ge(i) {
|
|
|
262
262
|
);
|
|
263
263
|
},
|
|
264
264
|
d(a) {
|
|
265
|
-
a &&
|
|
265
|
+
a && E(e);
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function Ge(i) {
|
|
270
270
|
let e;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
273
|
e = h("p"), e.textContent = "500 Error - Internal Server Error.", O(e, "class", "SearchLoading svelte-1my2wow");
|
|
274
274
|
},
|
|
275
275
|
m(t, a) {
|
|
276
|
-
|
|
276
|
+
j(t, e, a);
|
|
277
277
|
},
|
|
278
278
|
p: S,
|
|
279
279
|
d(t) {
|
|
280
|
-
t &&
|
|
280
|
+
t && E(e);
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
@@ -288,11 +288,11 @@ function ke(i) {
|
|
|
288
288
|
e = h("div"), O(e, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
|
289
289
|
},
|
|
290
290
|
m(t, a) {
|
|
291
|
-
|
|
291
|
+
j(t, e, a);
|
|
292
292
|
},
|
|
293
293
|
p: S,
|
|
294
294
|
d(t) {
|
|
295
|
-
t &&
|
|
295
|
+
t && E(e);
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
}
|
|
@@ -303,7 +303,7 @@ function Se(i) {
|
|
|
303
303
|
/*isLoading*/
|
|
304
304
|
l[13] || Ee || je ? ke : (
|
|
305
305
|
/*hasErrors*/
|
|
306
|
-
l[15] ?
|
|
306
|
+
l[15] ? Ge : Ce
|
|
307
307
|
)
|
|
308
308
|
);
|
|
309
309
|
}
|
|
@@ -313,7 +313,7 @@ function Se(i) {
|
|
|
313
313
|
e = h("div"), n.c();
|
|
314
314
|
},
|
|
315
315
|
m(l, m) {
|
|
316
|
-
|
|
316
|
+
j(l, e, m), n.m(e, null), i[26](e);
|
|
317
317
|
},
|
|
318
318
|
p(l, m) {
|
|
319
319
|
a === (a = t(l)) && n ? n.p(l, m) : (n.d(1), n = a(l), n && (n.c(), n.m(e, null)));
|
|
@@ -321,17 +321,17 @@ function Se(i) {
|
|
|
321
321
|
i: S,
|
|
322
322
|
o: S,
|
|
323
323
|
d(l) {
|
|
324
|
-
l &&
|
|
324
|
+
l && E(e), n.d(), i[26](null);
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
let D = "CasinoSliderData", Ee = !1, je = !1;
|
|
329
329
|
function Pe(i, e, t) {
|
|
330
330
|
let a;
|
|
331
|
-
|
|
332
|
-
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent:
|
|
331
|
+
ue(i, _e, (s) => t(32, a = s));
|
|
332
|
+
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: I = "" } = e, { sessioncheck: R = "" } = e, { location: U = "secondaryMenu" } = e, { showsubgroups: B = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: H = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: q = "" } = e, { mbsource: P } = e, x, z, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, J, K = !1, A = !1;
|
|
333
333
|
const $ = () => {
|
|
334
|
-
fetch(
|
|
334
|
+
fetch(G).then((c) => c.json()).then((c) => {
|
|
335
335
|
Object.keys(c).forEach((k) => {
|
|
336
336
|
X(k, c[k]);
|
|
337
337
|
});
|
|
@@ -346,18 +346,18 @@ function Pe(i, e, t) {
|
|
|
346
346
|
K == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
|
|
347
347
|
// @ts-ignore
|
|
348
348
|
id: "MYGAMES",
|
|
349
|
-
name:
|
|
349
|
+
name: x,
|
|
350
350
|
href: "",
|
|
351
351
|
games: []
|
|
352
|
-
}),
|
|
352
|
+
}), Me(), K = !0, t(25, A = !0), Q();
|
|
353
353
|
}, te = () => (n || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), l || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!m || m.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), se = () => {
|
|
354
|
-
if (
|
|
354
|
+
if (x = a("myGamesName"), z = a("lobbyName"), !te()) {
|
|
355
355
|
let s = new URL(`${n}/v2/casino/groups/${l}`);
|
|
356
|
-
s.searchParams.append("language", m), s.searchParams.append("platform",
|
|
356
|
+
s.searchParams.append("language", m), s.searchParams.append("platform", fe(p)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((c) => c.json()).then(
|
|
357
357
|
(c) => {
|
|
358
|
-
let k =
|
|
358
|
+
let k = C.split(","), ne = c.items.filter((W) => {
|
|
359
359
|
let F = !1;
|
|
360
|
-
if (W.games.total > 0 && (F = !0,
|
|
360
|
+
if (W.games.total > 0 && (F = !0, C))
|
|
361
361
|
for (let oe of k)
|
|
362
362
|
W.flags == oe && (F = !1);
|
|
363
363
|
return F;
|
|
@@ -365,7 +365,7 @@ function Pe(i, e, t) {
|
|
|
365
365
|
d = [], d = d.concat(ne), d.unshift({
|
|
366
366
|
// @ts-ignore
|
|
367
367
|
id: "LOBBY",
|
|
368
|
-
name:
|
|
368
|
+
name: z,
|
|
369
369
|
href: "",
|
|
370
370
|
games: []
|
|
371
371
|
}), t(13, y = !1);
|
|
@@ -392,22 +392,22 @@ function Pe(i, e, t) {
|
|
|
392
392
|
}, V = (s) => {
|
|
393
393
|
s.data && s.data.type == "SliderLoaded" && D == s.data.identity && Q();
|
|
394
394
|
};
|
|
395
|
-
|
|
395
|
+
ye(() => (window.addEventListener("message", V, !1), () => {
|
|
396
396
|
window.removeEventListener("message", V);
|
|
397
397
|
}));
|
|
398
398
|
function ae(s) {
|
|
399
|
-
|
|
399
|
+
be[s ? "unshift" : "push"](() => {
|
|
400
400
|
g = s, t(14, g);
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
return i.$$set = (s) => {
|
|
404
|
-
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6,
|
|
404
|
+
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, I = s.actionevent), "sessioncheck" in s && t(22, R = s.sessioncheck), "location" in s && t(7, U = s.location), "showsubgroups" in s && t(8, B = s.showsubgroups), "filteredcategories" in s && t(23, C = s.filteredcategories), "translationurl" in s && t(24, G = s.translationurl), "categoriesicon" in s && t(9, H = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, q = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
405
405
|
}, i.$$.update = () => {
|
|
406
406
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
407
407
|
14 && n && l && m && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
408
408
|
3940354 && n && w && (N || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
409
409
|
33824769 && !y && u && (!w || A) && ie(), i.$$.dirty[0] & /*translationurl*/
|
|
410
|
-
16777216 &&
|
|
410
|
+
16777216 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
411
411
|
16400 && _ && g && he(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
412
412
|
16416 && v && g && we(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
413
413
|
20480 && g && Ne(g, `${P}.Style`);
|
|
@@ -418,12 +418,12 @@ function Pe(i, e, t) {
|
|
|
418
418
|
m,
|
|
419
419
|
_,
|
|
420
420
|
v,
|
|
421
|
-
R,
|
|
422
|
-
B,
|
|
423
421
|
I,
|
|
424
|
-
|
|
425
|
-
|
|
422
|
+
U,
|
|
423
|
+
B,
|
|
426
424
|
H,
|
|
425
|
+
Y,
|
|
426
|
+
q,
|
|
427
427
|
P,
|
|
428
428
|
y,
|
|
429
429
|
g,
|
|
@@ -434,9 +434,9 @@ function Pe(i, e, t) {
|
|
|
434
434
|
N,
|
|
435
435
|
L,
|
|
436
436
|
M,
|
|
437
|
-
|
|
438
|
-
G,
|
|
437
|
+
R,
|
|
439
438
|
C,
|
|
439
|
+
G,
|
|
440
440
|
A,
|
|
441
441
|
ae
|
|
442
442
|
];
|
|
@@ -448,7 +448,7 @@ class Ae extends le {
|
|
|
448
448
|
e,
|
|
449
449
|
Pe,
|
|
450
450
|
Se,
|
|
451
|
-
|
|
451
|
+
me,
|
|
452
452
|
{
|
|
453
453
|
endpoint: 1,
|
|
454
454
|
datasource: 2,
|
|
@@ -603,7 +603,7 @@ class Ae extends le {
|
|
|
603
603
|
this.$$set({ mbsource: e }), r();
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
|
|
606
|
+
Le(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
607
607
|
export {
|
|
608
608
|
Ae as default
|
|
609
609
|
};
|