@everymatrix/casino-lobby 1.55.0 → 1.56.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/CasinoCalendar-CFPK0TM5.cjs +9 -0
- package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-CSMUhfCr.js} +989 -989
- package/components/{CasinoCalendar-BKvw2GLN.js → CasinoCalendar-_T8fa3tA.js} +975 -975
- package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
- package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
- package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
- package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
- package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-B7jmX0uM.js} +77 -77
- package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-DkmZ6uE9.js} +79 -79
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-CFJKyip5.js} +56 -56
- package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-XHUKRCjH.js} +54 -54
- package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
- package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-BJKuORXc.js} +37 -36
- package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
- package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-ui8ebJSk.js} +37 -36
- package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
- package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-Cj6Ya1tA.js} +244 -245
- package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-t6_A4K9e.js} +234 -233
- package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
- package/components/{CasinoGamePage-DnFlR6PD.js → CasinoGamePage-DH-mxVYx.js} +750 -750
- package/components/{CasinoGamePage-lOejw_q6.js → CasinoGamePage-DQ1Yd_-1.js} +787 -787
- package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-B15M2LaO.js} +354 -370
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
- package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-CmtUwom1.js} +282 -266
- package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-D9nxbG-c.js} +1084 -1120
- package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
- package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-lpoHUMLN.js} +659 -695
- package/components/{CasinoJackpotBanner-BdzgC-lW.js → CasinoJackpotBanner-COZRcenh.js} +149 -147
- package/components/{CasinoJackpotBanner-Dx_3WwEw.js → CasinoJackpotBanner-DcwCa-Hp.js} +146 -144
- package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
- package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
- package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-IZ9mars2.js} +56 -56
- package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-yetII3tl.js} +56 -56
- package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
- package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-CoCRB4M8.js} +324 -305
- package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DOvk4Q1L.js} +320 -301
- package/components/CasinoModal-6keCUEEx.cjs +1 -0
- package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-DDDhdR0c.js} +55 -55
- package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-Dzu3FQyi.js} +55 -55
- package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
- package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CGqU9ZQv.js} +168 -159
- package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-D0w6a_z2.js} +168 -159
- package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-BKqlNnO1.js} +329 -296
- package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
- package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-Dy3IMfzN.js} +329 -296
- package/components/CasinoPage--1tMufa9.cjs +1 -0
- package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-BnrghJel.js} +709 -646
- package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-DYcUhqdZ.js} +592 -529
- package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
- package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-Cup5oHY3.js} +67 -67
- package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-Dq7oLh0O.js} +66 -66
- package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-B1D8nnr0.cjs} +1 -1
- package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-DlUwO5L4.js} +63 -63
- package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-jV0H_1Yg.js} +63 -63
- package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
- package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-ChnKJ8kH.js} +120 -120
- package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-Ot2uFDD8.js} +103 -103
- package/components/CasinoSort-BnarJSWg.js +428 -0
- package/components/CasinoSort-DltZUpda.js +427 -0
- package/components/CasinoSort-jqMnIqLs.cjs +1 -0
- package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-BkJBCXPe.js} +157 -157
- package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-Bs7Oh-m-.cjs} +1 -1
- package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-CBgbYBfP.js} +159 -159
- package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
- package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
- package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
- 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-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
- package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
- package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
- package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
- package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
- package/stencil/index-29915e18-MPiqo7vY.js +646 -0
- package/components/CasinoCalendar-P6bQ-mxN.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
- package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
- package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
- package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
- package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
- package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
- package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
- package/components/CasinoFilter-EA285UxQ.cjs +0 -1
- package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
- package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
- package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
- package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
- package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
- package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
- package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
- package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
- package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
- package/components/CasinoPage-azRHPGyF.cjs +0 -1
- package/components/CasinoSlider-Zgasc58K.cjs +0 -1
- package/components/CasinoSort-CVwRicsk.js +0 -427
- package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
- package/components/CasinoSort-D9KTb90Q.js +0 -428
- package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
- package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
- package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
- package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
- package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
- package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-B7jmX0uM.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as re, S as le, i as ce, f as l, s as me, L as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, N as be, C as de, r as T, O as n, p as he, P as Ne, M as we, I as Le, J as Me, K as _e, Q as ve } from "./CasinoCalendar-_T8fa3tA.js";
|
|
2
|
+
function Z(i, e) {
|
|
3
|
+
re(i, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const x = {
|
|
6
6
|
en: {
|
|
7
7
|
lobbyName: "Lobby",
|
|
8
8
|
myGamesName: "My games"
|
|
@@ -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-ChnKJ8kH.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
95
|
+
function Ce(i) {
|
|
96
|
+
ue(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ge(i) {
|
|
99
99
|
let e, t, r, c;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -114,7 +114,7 @@ function ke(i) {
|
|
|
114
114
|
"endpoint",
|
|
115
115
|
/*endpoint*/
|
|
116
116
|
i[1]
|
|
117
|
-
), n(t, "identity",
|
|
117
|
+
), n(t, "identity", O), n(
|
|
118
118
|
t,
|
|
119
119
|
"favoritesnumber",
|
|
120
120
|
/*numberOfFavoredGames*/
|
|
@@ -169,10 +169,10 @@ function ke(i) {
|
|
|
169
169
|
"mygamesiconimage",
|
|
170
170
|
/*mygamesiconimage*/
|
|
171
171
|
i[11]
|
|
172
|
-
),
|
|
172
|
+
), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
|
173
173
|
},
|
|
174
174
|
m(a, o) {
|
|
175
|
-
j(a, e, o),
|
|
175
|
+
j(a, e, o), he(e, t), r || (c = Ne(
|
|
176
176
|
/*sendSliderData*/
|
|
177
177
|
i[17].call(null, t)
|
|
178
178
|
), r = !0);
|
|
@@ -265,48 +265,48 @@ function ke(i) {
|
|
|
265
265
|
);
|
|
266
266
|
},
|
|
267
267
|
d(a) {
|
|
268
|
-
a &&
|
|
268
|
+
a && E(e), r = !1, c();
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function ke(i) {
|
|
273
273
|
let e;
|
|
274
274
|
return {
|
|
275
275
|
c() {
|
|
276
|
-
e = h("p"), e.textContent = "500 Error - Internal Server Error.",
|
|
276
|
+
e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
|
|
277
277
|
},
|
|
278
278
|
m(t, r) {
|
|
279
279
|
j(t, e, r);
|
|
280
280
|
},
|
|
281
281
|
p: S,
|
|
282
282
|
d(t) {
|
|
283
|
-
t &&
|
|
283
|
+
t && E(e);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Se(i) {
|
|
288
288
|
let e;
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
|
-
e = h("div"),
|
|
291
|
+
e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
|
292
292
|
},
|
|
293
293
|
m(t, r) {
|
|
294
294
|
j(t, e, r);
|
|
295
295
|
},
|
|
296
296
|
p: S,
|
|
297
297
|
d(t) {
|
|
298
|
-
t &&
|
|
298
|
+
t && E(e);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function Ee(i) {
|
|
303
303
|
let e;
|
|
304
304
|
function t(a, o) {
|
|
305
305
|
return (
|
|
306
306
|
/*isLoading*/
|
|
307
|
-
a[13] ||
|
|
307
|
+
a[13] || je || Pe ? Se : (
|
|
308
308
|
/*hasErrors*/
|
|
309
|
-
a[15] ?
|
|
309
|
+
a[15] ? ke : Ge
|
|
310
310
|
)
|
|
311
311
|
);
|
|
312
312
|
}
|
|
@@ -324,51 +324,51 @@ function je(i) {
|
|
|
324
324
|
i: S,
|
|
325
325
|
o: S,
|
|
326
326
|
d(a) {
|
|
327
|
-
a &&
|
|
327
|
+
a && E(e), c.d(), i[27](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
let
|
|
332
|
-
function
|
|
331
|
+
let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
332
|
+
function Fe(i, e, t) {
|
|
333
333
|
let r;
|
|
334
|
-
|
|
335
|
-
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid:
|
|
336
|
-
const
|
|
334
|
+
ye(i, we, (s) => t(33, r = s));
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
|
|
336
|
+
const $ = () => {
|
|
337
337
|
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
338
|
Object.keys(m).forEach((k) => {
|
|
339
|
-
|
|
339
|
+
Z(k, m[k]);
|
|
340
340
|
});
|
|
341
341
|
}).catch((m) => {
|
|
342
342
|
console.log(m);
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
|
-
Object.keys(
|
|
346
|
-
|
|
345
|
+
Object.keys(x).forEach((s) => {
|
|
346
|
+
Z(s, x[s]);
|
|
347
347
|
});
|
|
348
|
-
const
|
|
349
|
-
|
|
348
|
+
const ee = () => {
|
|
349
|
+
V == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
id: "MYGAMES",
|
|
352
|
-
name:
|
|
352
|
+
name: J,
|
|
353
353
|
href: "",
|
|
354
354
|
games: []
|
|
355
|
-
}),
|
|
356
|
-
},
|
|
357
|
-
if (
|
|
355
|
+
}), ve(), V = !0, t(26, F = !0), A();
|
|
356
|
+
}, te = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.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 = () => {
|
|
357
|
+
if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
|
|
358
358
|
let s = new URL(`${c}/v1/casino/groups/${a}`);
|
|
359
|
-
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform",
|
|
359
|
+
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", be(p)), fetch(s).then((m) => m.json()).then(
|
|
360
360
|
(m) => {
|
|
361
|
-
let k =
|
|
362
|
-
let
|
|
363
|
-
if (
|
|
364
|
-
for (let
|
|
365
|
-
|
|
366
|
-
return
|
|
361
|
+
let k = C.split(","), ne = m.items.filter((X) => {
|
|
362
|
+
let D = !1;
|
|
363
|
+
if (X.games.total > 0 && (D = !0, C))
|
|
364
|
+
for (let oe of k)
|
|
365
|
+
X.flags == oe && (D = !1);
|
|
366
|
+
return D;
|
|
367
367
|
});
|
|
368
|
-
d = [], d = d.concat(
|
|
368
|
+
d = [], d = d.concat(ne), d.unshift({
|
|
369
369
|
// @ts-ignore
|
|
370
370
|
id: "LOBBY",
|
|
371
|
-
name:
|
|
371
|
+
name: K,
|
|
372
372
|
href: "",
|
|
373
373
|
games: []
|
|
374
374
|
}), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
|
@@ -380,49 +380,49 @@ function De(i, e, t) {
|
|
|
380
380
|
t(15, f = !0), console.error("There was an error while fetching the categories", m);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
},
|
|
383
|
+
}, ie = () => {
|
|
384
384
|
let s = u.split("$");
|
|
385
385
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
386
386
|
}, A = () => {
|
|
387
387
|
window.postMessage(
|
|
388
388
|
{
|
|
389
389
|
type: "SliderData",
|
|
390
|
-
identity:
|
|
390
|
+
identity: O,
|
|
391
391
|
data: d
|
|
392
392
|
},
|
|
393
393
|
window.location.href
|
|
394
394
|
);
|
|
395
|
-
},
|
|
396
|
-
s.data && s.data.type == "SliderLoaded" &&
|
|
395
|
+
}, W = (s) => {
|
|
396
|
+
s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
|
|
397
397
|
};
|
|
398
|
-
|
|
399
|
-
window.
|
|
398
|
+
fe(() => (window.addEventListener("message", W, !1), () => {
|
|
399
|
+
window.removeEventListener("message", W);
|
|
400
400
|
}));
|
|
401
|
-
function
|
|
402
|
-
|
|
401
|
+
function ae(s) {
|
|
402
|
+
de[s ? "unshift" : "push"](() => {
|
|
403
403
|
g = s, t(14, g);
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
return i.$$set = (s) => {
|
|
407
|
-
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18,
|
|
407
|
+
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, 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, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
408
408
|
}, i.$$.update = () => {
|
|
409
409
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
410
|
-
14 && c && a && o &&
|
|
411
|
-
7872514 && c &&
|
|
412
|
-
67641345 && !y && u && (!
|
|
413
|
-
33554432 && G &&
|
|
410
|
+
14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
411
|
+
7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
412
|
+
67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
|
|
413
|
+
33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
414
414
|
16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
415
|
-
16416 &&
|
|
416
|
-
20480 && g &&
|
|
417
|
-
}, t(16,
|
|
415
|
+
16416 && v && g && Me(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
416
|
+
20480 && g && _e(g, `${P}.Style`);
|
|
417
|
+
}, t(16, Q = 0), [
|
|
418
418
|
u,
|
|
419
419
|
c,
|
|
420
420
|
a,
|
|
421
421
|
o,
|
|
422
422
|
_,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
v,
|
|
424
|
+
R,
|
|
425
|
+
B,
|
|
426
426
|
Y,
|
|
427
427
|
q,
|
|
428
428
|
z,
|
|
@@ -431,28 +431,28 @@ function De(i, e, t) {
|
|
|
431
431
|
y,
|
|
432
432
|
g,
|
|
433
433
|
f,
|
|
434
|
-
|
|
434
|
+
Q,
|
|
435
435
|
A,
|
|
436
|
-
|
|
437
|
-
w,
|
|
436
|
+
I,
|
|
438
437
|
N,
|
|
438
|
+
w,
|
|
439
439
|
L,
|
|
440
440
|
M,
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
U,
|
|
442
|
+
C,
|
|
443
443
|
G,
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
F,
|
|
445
|
+
ae
|
|
446
446
|
];
|
|
447
447
|
}
|
|
448
|
-
class Ae extends
|
|
448
|
+
class Ae extends le {
|
|
449
449
|
constructor(e) {
|
|
450
|
-
super(),
|
|
450
|
+
super(), ce(
|
|
451
451
|
this,
|
|
452
452
|
e,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
Fe,
|
|
454
|
+
Ee,
|
|
455
|
+
me,
|
|
456
456
|
{
|
|
457
457
|
endpoint: 1,
|
|
458
458
|
datasource: 2,
|
|
@@ -476,7 +476,7 @@ class Ae extends ce {
|
|
|
476
476
|
mygamesiconimage: 11,
|
|
477
477
|
mbsource: 12
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
Ce,
|
|
480
480
|
[-1, -1]
|
|
481
481
|
);
|
|
482
482
|
}
|
package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-DkmZ6uE9.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, N as fe, C as be, r as T, O as n, p as de, P as he, I as Ne, J as we, K as Le, L as Me, Q as _e, M as ve } from "./CasinoCalendar-CSMUhfCr.js";
|
|
2
|
+
function Z(i, e) {
|
|
3
|
+
re(i, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const x = {
|
|
6
6
|
en: {
|
|
7
7
|
lobbyName: "Lobby",
|
|
8
8
|
myGamesName: "My games"
|
|
@@ -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-Ot2uFDD8.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
95
|
+
function Ce(i) {
|
|
96
|
+
ge(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ge(i) {
|
|
99
99
|
let e, t, r, c;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -114,7 +114,7 @@ function ke(i) {
|
|
|
114
114
|
"endpoint",
|
|
115
115
|
/*endpoint*/
|
|
116
116
|
i[1]
|
|
117
|
-
), n(t, "identity",
|
|
117
|
+
), n(t, "identity", O), n(
|
|
118
118
|
t,
|
|
119
119
|
"favoritesnumber",
|
|
120
120
|
/*numberOfFavoredGames*/
|
|
@@ -169,10 +169,10 @@ function ke(i) {
|
|
|
169
169
|
"mygamesiconimage",
|
|
170
170
|
/*mygamesiconimage*/
|
|
171
171
|
i[11]
|
|
172
|
-
),
|
|
172
|
+
), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
|
173
173
|
},
|
|
174
174
|
m(a, o) {
|
|
175
|
-
j(a, e, o),
|
|
175
|
+
j(a, e, o), de(e, t), r || (c = he(
|
|
176
176
|
/*sendSliderData*/
|
|
177
177
|
i[17].call(null, t)
|
|
178
178
|
), r = !0);
|
|
@@ -265,48 +265,48 @@ function ke(i) {
|
|
|
265
265
|
);
|
|
266
266
|
},
|
|
267
267
|
d(a) {
|
|
268
|
-
a &&
|
|
268
|
+
a && E(e), r = !1, c();
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function ke(i) {
|
|
273
273
|
let e;
|
|
274
274
|
return {
|
|
275
275
|
c() {
|
|
276
|
-
e = h("p"), e.textContent = "500 Error - Internal Server Error.",
|
|
276
|
+
e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
|
|
277
277
|
},
|
|
278
278
|
m(t, r) {
|
|
279
279
|
j(t, e, r);
|
|
280
280
|
},
|
|
281
281
|
p: S,
|
|
282
282
|
d(t) {
|
|
283
|
-
t &&
|
|
283
|
+
t && E(e);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Se(i) {
|
|
288
288
|
let e;
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
|
-
e = h("div"),
|
|
291
|
+
e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
|
292
292
|
},
|
|
293
293
|
m(t, r) {
|
|
294
294
|
j(t, e, r);
|
|
295
295
|
},
|
|
296
296
|
p: S,
|
|
297
297
|
d(t) {
|
|
298
|
-
t &&
|
|
298
|
+
t && E(e);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function Ee(i) {
|
|
303
303
|
let e;
|
|
304
304
|
function t(a, o) {
|
|
305
305
|
return (
|
|
306
306
|
/*isLoading*/
|
|
307
|
-
a[13] ||
|
|
307
|
+
a[13] || je || Pe ? Se : (
|
|
308
308
|
/*hasErrors*/
|
|
309
|
-
a[15] ?
|
|
309
|
+
a[15] ? ke : Ge
|
|
310
310
|
)
|
|
311
311
|
);
|
|
312
312
|
}
|
|
@@ -324,51 +324,51 @@ function je(i) {
|
|
|
324
324
|
i: S,
|
|
325
325
|
o: S,
|
|
326
326
|
d(a) {
|
|
327
|
-
a &&
|
|
327
|
+
a && E(e), c.d(), i[27](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
let
|
|
332
|
-
function
|
|
331
|
+
let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
332
|
+
function Fe(i, e, t) {
|
|
333
333
|
let r;
|
|
334
|
-
|
|
335
|
-
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid:
|
|
336
|
-
const
|
|
334
|
+
ue(i, ve, (s) => t(33, r = s));
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
|
|
336
|
+
const $ = () => {
|
|
337
337
|
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
338
|
Object.keys(m).forEach((k) => {
|
|
339
|
-
|
|
339
|
+
Z(k, m[k]);
|
|
340
340
|
});
|
|
341
341
|
}).catch((m) => {
|
|
342
342
|
console.log(m);
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
|
-
Object.keys(
|
|
346
|
-
|
|
345
|
+
Object.keys(x).forEach((s) => {
|
|
346
|
+
Z(s, x[s]);
|
|
347
347
|
});
|
|
348
|
-
const
|
|
349
|
-
|
|
348
|
+
const ee = () => {
|
|
349
|
+
V == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
id: "MYGAMES",
|
|
352
|
-
name:
|
|
352
|
+
name: J,
|
|
353
353
|
href: "",
|
|
354
354
|
games: []
|
|
355
|
-
}),
|
|
356
|
-
},
|
|
357
|
-
if (
|
|
355
|
+
}), _e(), V = !0, t(26, F = !0), A();
|
|
356
|
+
}, te = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.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 = () => {
|
|
357
|
+
if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
|
|
358
358
|
let s = new URL(`${c}/v1/casino/groups/${a}`);
|
|
359
|
-
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform",
|
|
359
|
+
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", fe(p)), fetch(s).then((m) => m.json()).then(
|
|
360
360
|
(m) => {
|
|
361
|
-
let k =
|
|
362
|
-
let
|
|
363
|
-
if (
|
|
364
|
-
for (let
|
|
365
|
-
|
|
366
|
-
return
|
|
361
|
+
let k = C.split(","), ne = m.items.filter((X) => {
|
|
362
|
+
let D = !1;
|
|
363
|
+
if (X.games.total > 0 && (D = !0, C))
|
|
364
|
+
for (let oe of k)
|
|
365
|
+
X.flags == oe && (D = !1);
|
|
366
|
+
return D;
|
|
367
367
|
});
|
|
368
|
-
d = [], d = d.concat(
|
|
368
|
+
d = [], d = d.concat(ne), d.unshift({
|
|
369
369
|
// @ts-ignore
|
|
370
370
|
id: "LOBBY",
|
|
371
|
-
name:
|
|
371
|
+
name: K,
|
|
372
372
|
href: "",
|
|
373
373
|
games: []
|
|
374
374
|
}), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
|
@@ -380,49 +380,49 @@ function De(i, e, t) {
|
|
|
380
380
|
t(15, f = !0), console.error("There was an error while fetching the categories", m);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
},
|
|
383
|
+
}, ie = () => {
|
|
384
384
|
let s = u.split("$");
|
|
385
385
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
386
386
|
}, A = () => {
|
|
387
387
|
window.postMessage(
|
|
388
388
|
{
|
|
389
389
|
type: "SliderData",
|
|
390
|
-
identity:
|
|
390
|
+
identity: O,
|
|
391
391
|
data: d
|
|
392
392
|
},
|
|
393
393
|
window.location.href
|
|
394
394
|
);
|
|
395
|
-
},
|
|
396
|
-
s.data && s.data.type == "SliderLoaded" &&
|
|
395
|
+
}, W = (s) => {
|
|
396
|
+
s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
|
|
397
397
|
};
|
|
398
|
-
|
|
399
|
-
window.
|
|
398
|
+
ye(() => (window.addEventListener("message", W, !1), () => {
|
|
399
|
+
window.removeEventListener("message", W);
|
|
400
400
|
}));
|
|
401
|
-
function
|
|
402
|
-
|
|
401
|
+
function ae(s) {
|
|
402
|
+
be[s ? "unshift" : "push"](() => {
|
|
403
403
|
g = s, t(14, g);
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
return i.$$set = (s) => {
|
|
407
|
-
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18,
|
|
407
|
+
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, 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, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
408
408
|
}, i.$$.update = () => {
|
|
409
409
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
410
|
-
14 && c && a && o &&
|
|
411
|
-
7872514 && c &&
|
|
412
|
-
67641345 && !y && u && (!
|
|
413
|
-
33554432 && G &&
|
|
414
|
-
16400 && _ && g &&
|
|
415
|
-
16416 &&
|
|
416
|
-
20480 && g &&
|
|
417
|
-
}, t(16,
|
|
410
|
+
14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
411
|
+
7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
412
|
+
67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
|
|
413
|
+
33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
414
|
+
16400 && _ && g && Ne(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
415
|
+
16416 && v && g && we(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
416
|
+
20480 && g && Le(g, `${P}.Style`);
|
|
417
|
+
}, t(16, Q = 0), [
|
|
418
418
|
u,
|
|
419
419
|
c,
|
|
420
420
|
a,
|
|
421
421
|
o,
|
|
422
422
|
_,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
v,
|
|
424
|
+
R,
|
|
425
|
+
B,
|
|
426
426
|
Y,
|
|
427
427
|
q,
|
|
428
428
|
z,
|
|
@@ -431,28 +431,28 @@ function De(i, e, t) {
|
|
|
431
431
|
y,
|
|
432
432
|
g,
|
|
433
433
|
f,
|
|
434
|
-
|
|
434
|
+
Q,
|
|
435
435
|
A,
|
|
436
|
-
|
|
437
|
-
w,
|
|
436
|
+
I,
|
|
438
437
|
N,
|
|
438
|
+
w,
|
|
439
439
|
L,
|
|
440
440
|
M,
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
U,
|
|
442
|
+
C,
|
|
443
443
|
G,
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
F,
|
|
445
|
+
ae
|
|
446
446
|
];
|
|
447
447
|
}
|
|
448
|
-
class Ae extends
|
|
448
|
+
class Ae extends le {
|
|
449
449
|
constructor(e) {
|
|
450
|
-
super(),
|
|
450
|
+
super(), ce(
|
|
451
451
|
this,
|
|
452
452
|
e,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
Fe,
|
|
454
|
+
Ee,
|
|
455
|
+
me,
|
|
456
456
|
{
|
|
457
457
|
endpoint: 1,
|
|
458
458
|
datasource: 2,
|
|
@@ -476,7 +476,7 @@ class Ae extends ce {
|
|
|
476
476
|
mygamesiconimage: 11,
|
|
477
477
|
mbsource: 12
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
Ce,
|
|
480
480
|
[-1, -1]
|
|
481
481
|
);
|
|
482
482
|
}
|
|
@@ -607,7 +607,7 @@ class Ae extends ce {
|
|
|
607
607
|
this.$$set({ mbsource: e }), l();
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
|
|
610
|
+
Me(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
611
611
|
export {
|
|
612
612
|
Ae as default
|
|
613
613
|
};
|