@everymatrix/casino-lobby 1.45.0 → 1.45.2
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-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
- package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
- package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
- package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
- package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
- package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
- package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
- package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
- package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
- package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
- package/components/CasinoFilter-BWEtfBml.js +628 -0
- package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
- package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
- package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
- package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
- package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
- package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
- package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
- package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
- package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
- package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
- package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
- package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
- package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
- package/components/CasinoModal-CZbdtmLm.js +372 -0
- package/components/CasinoModal-DqBbtAjA.cjs +1 -0
- package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
- package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
- package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
- package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
- package/components/CasinoPage-srXwB6ik.cjs +1 -0
- package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
- package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
- package/components/CasinoSearch-BsgUvsbs.js +1062 -0
- package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
- package/components/CasinoSlider-D5B-CjPM.js +803 -0
- package/components/CasinoSlider-kzZxK81G.cjs +1 -0
- package/components/CasinoSort-9pQqbHyF.cjs +1 -0
- package/components/CasinoSort-T6UQhFka.js +425 -0
- package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
- package/components/CasinoWinners-auSd-4D9.js +884 -0
- package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
- package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +2 -2
- package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
- package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
- package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
- package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
- package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
- package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
- package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
- package/components/CasinoFilter-D3p7c7qu.js +0 -628
- package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
- package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
- package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
- package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
- package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
- package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
- package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
- package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
- package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
- package/components/CasinoModal-BebrYWjS.cjs +0 -1
- package/components/CasinoModal-CSwMAX-g.js +0 -372
- package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
- package/components/CasinoMyGames-shcqTml8.cjs +0 -1
- package/components/CasinoPage-DZmE3VFL.cjs +0 -1
- package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
- package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
- package/components/CasinoSearch-CW-eesDy.cjs +0 -1
- package/components/CasinoSearch-DkEAmw-j.js +0 -1066
- package/components/CasinoSlider-CNWDP_I-.js +0 -803
- package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
- package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
- package/components/CasinoSort-CPcJqhWU.js +0 -425
- package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
- package/components/CasinoWinners-DSsJp1KQ.js +0 -884
- package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
- package/components/GeneralAnimationLoading-CEAKVCu9.cjs +0 -1
package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ee, $ as te, S as se, i as ae, f as
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { I as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, u as M, d as S, v as Y, C as H, j as A, J as le, L as re, m as me, M as n, r as ge, A as ce, O as de } from "./CasinoCalendar-3HRZGpnG.js";
|
|
2
|
+
import "./CasinoFavoritesSection-DE0M_xZ_.js";
|
|
3
3
|
function J(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
@@ -60,7 +60,7 @@ const q = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function fe(a) {
|
|
63
|
-
|
|
63
|
+
oe(a, "svelte-fogubb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}");
|
|
64
64
|
}
|
|
65
65
|
function he(a) {
|
|
66
66
|
let e;
|
|
@@ -106,7 +106,7 @@ function he(a) {
|
|
|
106
106
|
"fetchviaevent",
|
|
107
107
|
/*fetchviaevent*/
|
|
108
108
|
a[16]
|
|
109
|
-
), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer
|
|
109
|
+
), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
|
|
110
110
|
e,
|
|
111
111
|
"showgamename",
|
|
112
112
|
/*showgamename*/
|
|
@@ -262,7 +262,7 @@ function he(a) {
|
|
|
262
262
|
);
|
|
263
263
|
},
|
|
264
264
|
d(s) {
|
|
265
|
-
s &&
|
|
265
|
+
s && A(e);
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
}
|
|
@@ -273,7 +273,7 @@ function ye(a) {
|
|
|
273
273
|
), i;
|
|
274
274
|
return {
|
|
275
275
|
c() {
|
|
276
|
-
e = N("p"), i = ge(s), M(e, "class", "SearchLoading
|
|
276
|
+
e = N("p"), i = ge(s), M(e, "class", "SearchLoading");
|
|
277
277
|
},
|
|
278
278
|
m(m, r) {
|
|
279
279
|
S(m, e, r), Y(e, i);
|
|
@@ -284,7 +284,7 @@ function ye(a) {
|
|
|
284
284
|
m[19]("noGames") + "") && ce(i, s);
|
|
285
285
|
},
|
|
286
286
|
d(m) {
|
|
287
|
-
m &&
|
|
287
|
+
m && A(e);
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
290
|
}
|
|
@@ -299,7 +299,7 @@ function ve(a) {
|
|
|
299
299
|
let m = i(a), r = m(a);
|
|
300
300
|
return {
|
|
301
301
|
c() {
|
|
302
|
-
e = N("div"), s = N("div"), r.c(), M(s, "class", "casino-most-played-section
|
|
302
|
+
e = N("div"), s = N("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
303
303
|
},
|
|
304
304
|
m(g, c) {
|
|
305
305
|
S(g, e, c), Y(e, s), r.m(s, null), a[23](e);
|
|
@@ -310,33 +310,33 @@ function ve(a) {
|
|
|
310
310
|
i: H,
|
|
311
311
|
o: H,
|
|
312
312
|
d(g) {
|
|
313
|
-
g &&
|
|
313
|
+
g && A(e), r.d(), a[23](null);
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
function be(a, e, s) {
|
|
318
318
|
let i;
|
|
319
|
-
|
|
320
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session:
|
|
319
|
+
le(a, de, (t) => s(19, i = t));
|
|
320
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: D = "" } = e, { visiblegames: P } = e, { favorites: R = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent;
|
|
321
321
|
const K = () => {
|
|
322
|
-
fetch(k).then((
|
|
323
|
-
Object.keys(
|
|
324
|
-
J(d,
|
|
322
|
+
fetch(k).then((o) => o.json()).then((o) => {
|
|
323
|
+
Object.keys(o).forEach((d) => {
|
|
324
|
+
J(d, o[d]);
|
|
325
325
|
});
|
|
326
|
-
}).catch((
|
|
327
|
-
console.log(
|
|
326
|
+
}).catch((o) => {
|
|
327
|
+
console.log(o);
|
|
328
328
|
});
|
|
329
329
|
};
|
|
330
330
|
Object.keys(q).forEach((t) => {
|
|
331
331
|
J(t, q[t]);
|
|
332
332
|
});
|
|
333
|
-
let G = [],
|
|
333
|
+
let G = [], I, p = !1, h;
|
|
334
334
|
const Q = (t) => {
|
|
335
|
-
let
|
|
336
|
-
t.limit &&
|
|
335
|
+
let o = new URL(`${m}/v1/player/${v}/games/most-played`);
|
|
336
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
337
337
|
let d = t.device;
|
|
338
|
-
return d ? d === "PC" ?
|
|
339
|
-
fetch(
|
|
338
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), I = w ? o : o.href, new Promise((u, y) => {
|
|
339
|
+
fetch(I).then((f) => f.json()).then((f) => {
|
|
340
340
|
f.items = f.items.filter(($) => {
|
|
341
341
|
let z = !0;
|
|
342
342
|
return $.gameCode == "OddsMatrix2" && (f.count--, z = !1), z;
|
|
@@ -352,15 +352,15 @@ function be(a, e, s) {
|
|
|
352
352
|
rounds: L
|
|
353
353
|
}).then((t) => {
|
|
354
354
|
if (t.count > 0) {
|
|
355
|
-
let
|
|
355
|
+
let o = [];
|
|
356
356
|
t.items.forEach((d) => {
|
|
357
357
|
let u = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
358
|
-
u.searchParams.append("datasource", r),
|
|
359
|
-
}), Promise.all(
|
|
358
|
+
u.searchParams.append("datasource", r), w ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
|
|
359
|
+
}), Promise.all(o).then((d) => {
|
|
360
360
|
G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
|
|
361
361
|
});
|
|
362
362
|
} else
|
|
363
|
-
s(18,
|
|
363
|
+
s(18, p = !0);
|
|
364
364
|
});
|
|
365
365
|
}, W = () => {
|
|
366
366
|
ue(c);
|
|
@@ -369,8 +369,8 @@ function be(a, e, s) {
|
|
|
369
369
|
t.innerHTML = b, h.appendChild(t);
|
|
370
370
|
}, Z = () => {
|
|
371
371
|
let t = document.createElement("style");
|
|
372
|
-
fetch(new URL(
|
|
373
|
-
t.innerHTML =
|
|
372
|
+
fetch(new URL(_)).then((o) => o.text()).then((o) => {
|
|
373
|
+
t.innerHTML = o, setTimeout(
|
|
374
374
|
() => {
|
|
375
375
|
h.appendChild(t);
|
|
376
376
|
},
|
|
@@ -384,12 +384,12 @@ function be(a, e, s) {
|
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
return a.$$set = (t) => {
|
|
387
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4,
|
|
387
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, T = t.gamepagemodalurl), "showgamename" in t && s(12, D = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, R = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, U = t.fetchviaevent);
|
|
388
388
|
}, a.$$.update = () => {
|
|
389
389
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
390
390
|
41 && m && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
391
391
|
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
392
|
-
131200 &&
|
|
392
|
+
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
393
393
|
1048576 && k && K(), a.$$.dirty[0] & /*lang*/
|
|
394
394
|
8 && c && W();
|
|
395
395
|
}, [
|
|
@@ -397,21 +397,21 @@ function be(a, e, s) {
|
|
|
397
397
|
r,
|
|
398
398
|
g,
|
|
399
399
|
c,
|
|
400
|
-
|
|
400
|
+
E,
|
|
401
401
|
v,
|
|
402
402
|
b,
|
|
403
|
-
w,
|
|
404
403
|
_,
|
|
405
|
-
|
|
404
|
+
w,
|
|
406
405
|
F,
|
|
407
406
|
O,
|
|
408
407
|
T,
|
|
409
|
-
P,
|
|
410
408
|
D,
|
|
411
|
-
|
|
409
|
+
P,
|
|
412
410
|
R,
|
|
411
|
+
C,
|
|
412
|
+
U,
|
|
413
413
|
h,
|
|
414
|
-
|
|
414
|
+
p,
|
|
415
415
|
i,
|
|
416
416
|
k,
|
|
417
417
|
j,
|
|
@@ -419,7 +419,7 @@ function be(a, e, s) {
|
|
|
419
419
|
x
|
|
420
420
|
];
|
|
421
421
|
}
|
|
422
|
-
class
|
|
422
|
+
class _e extends se {
|
|
423
423
|
constructor(e) {
|
|
424
424
|
super(), ae(
|
|
425
425
|
this,
|
|
@@ -457,124 +457,124 @@ class we extends se {
|
|
|
457
457
|
return this.$$.ctx[0];
|
|
458
458
|
}
|
|
459
459
|
set endpoint(e) {
|
|
460
|
-
this.$$set({ endpoint: e }),
|
|
460
|
+
this.$$set({ endpoint: e }), l();
|
|
461
461
|
}
|
|
462
462
|
get datasource() {
|
|
463
463
|
return this.$$.ctx[1];
|
|
464
464
|
}
|
|
465
465
|
set datasource(e) {
|
|
466
|
-
this.$$set({ datasource: e }),
|
|
466
|
+
this.$$set({ datasource: e }), l();
|
|
467
467
|
}
|
|
468
468
|
get currency() {
|
|
469
469
|
return this.$$.ctx[2];
|
|
470
470
|
}
|
|
471
471
|
set currency(e) {
|
|
472
|
-
this.$$set({ currency: e }),
|
|
472
|
+
this.$$set({ currency: e }), l();
|
|
473
473
|
}
|
|
474
474
|
get lang() {
|
|
475
475
|
return this.$$.ctx[3];
|
|
476
476
|
}
|
|
477
477
|
set lang(e) {
|
|
478
|
-
this.$$set({ lang: e }),
|
|
478
|
+
this.$$set({ lang: e }), l();
|
|
479
479
|
}
|
|
480
480
|
get session() {
|
|
481
481
|
return this.$$.ctx[4];
|
|
482
482
|
}
|
|
483
483
|
set session(e) {
|
|
484
|
-
this.$$set({ session: e }),
|
|
484
|
+
this.$$set({ session: e }), l();
|
|
485
485
|
}
|
|
486
486
|
get userid() {
|
|
487
487
|
return this.$$.ctx[5];
|
|
488
488
|
}
|
|
489
489
|
set userid(e) {
|
|
490
|
-
this.$$set({ userid: e }),
|
|
490
|
+
this.$$set({ userid: e }), l();
|
|
491
491
|
}
|
|
492
492
|
get clientstyling() {
|
|
493
493
|
return this.$$.ctx[6];
|
|
494
494
|
}
|
|
495
495
|
set clientstyling(e) {
|
|
496
|
-
this.$$set({ clientstyling: e }),
|
|
496
|
+
this.$$set({ clientstyling: e }), l();
|
|
497
497
|
}
|
|
498
498
|
get clientstylingurl() {
|
|
499
499
|
return this.$$.ctx[7];
|
|
500
500
|
}
|
|
501
501
|
set clientstylingurl(e) {
|
|
502
|
-
this.$$set({ clientstylingurl: e }),
|
|
502
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
503
503
|
}
|
|
504
504
|
get livecasino() {
|
|
505
505
|
return this.$$.ctx[8];
|
|
506
506
|
}
|
|
507
507
|
set livecasino(e) {
|
|
508
|
-
this.$$set({ livecasino: e }),
|
|
508
|
+
this.$$set({ livecasino: e }), l();
|
|
509
509
|
}
|
|
510
510
|
get integratedgameframemobile() {
|
|
511
511
|
return this.$$.ctx[9];
|
|
512
512
|
}
|
|
513
513
|
set integratedgameframemobile(e) {
|
|
514
|
-
this.$$set({ integratedgameframemobile: e }),
|
|
514
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
515
515
|
}
|
|
516
516
|
get integratedgameframedesktop() {
|
|
517
517
|
return this.$$.ctx[10];
|
|
518
518
|
}
|
|
519
519
|
set integratedgameframedesktop(e) {
|
|
520
|
-
this.$$set({ integratedgameframedesktop: e }),
|
|
520
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
521
521
|
}
|
|
522
522
|
get gamepagemodalurl() {
|
|
523
523
|
return this.$$.ctx[11];
|
|
524
524
|
}
|
|
525
525
|
set gamepagemodalurl(e) {
|
|
526
|
-
this.$$set({ gamepagemodalurl: e }),
|
|
526
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
527
527
|
}
|
|
528
528
|
get showgamename() {
|
|
529
529
|
return this.$$.ctx[12];
|
|
530
530
|
}
|
|
531
531
|
set showgamename(e) {
|
|
532
|
-
this.$$set({ showgamename: e }),
|
|
532
|
+
this.$$set({ showgamename: e }), l();
|
|
533
533
|
}
|
|
534
534
|
get visiblegames() {
|
|
535
535
|
return this.$$.ctx[13];
|
|
536
536
|
}
|
|
537
537
|
set visiblegames(e) {
|
|
538
|
-
this.$$set({ visiblegames: e }),
|
|
538
|
+
this.$$set({ visiblegames: e }), l();
|
|
539
539
|
}
|
|
540
540
|
get favorites() {
|
|
541
541
|
return this.$$.ctx[14];
|
|
542
542
|
}
|
|
543
543
|
set favorites(e) {
|
|
544
|
-
this.$$set({ favorites: e }),
|
|
544
|
+
this.$$set({ favorites: e }), l();
|
|
545
545
|
}
|
|
546
546
|
get translationurl() {
|
|
547
547
|
return this.$$.ctx[20];
|
|
548
548
|
}
|
|
549
549
|
set translationurl(e) {
|
|
550
|
-
this.$$set({ translationurl: e }),
|
|
550
|
+
this.$$set({ translationurl: e }), l();
|
|
551
551
|
}
|
|
552
552
|
get casinomygames() {
|
|
553
553
|
return this.$$.ctx[15];
|
|
554
554
|
}
|
|
555
555
|
set casinomygames(e) {
|
|
556
|
-
this.$$set({ casinomygames: e }),
|
|
556
|
+
this.$$set({ casinomygames: e }), l();
|
|
557
557
|
}
|
|
558
558
|
get mostplayedperiod() {
|
|
559
559
|
return this.$$.ctx[21];
|
|
560
560
|
}
|
|
561
561
|
set mostplayedperiod(e) {
|
|
562
|
-
this.$$set({ mostplayedperiod: e }),
|
|
562
|
+
this.$$set({ mostplayedperiod: e }), l();
|
|
563
563
|
}
|
|
564
564
|
get mostplayedrounds() {
|
|
565
565
|
return this.$$.ctx[22];
|
|
566
566
|
}
|
|
567
567
|
set mostplayedrounds(e) {
|
|
568
|
-
this.$$set({ mostplayedrounds: e }),
|
|
568
|
+
this.$$set({ mostplayedrounds: e }), l();
|
|
569
569
|
}
|
|
570
570
|
get fetchviaevent() {
|
|
571
571
|
return this.$$.ctx[16];
|
|
572
572
|
}
|
|
573
573
|
set fetchviaevent(e) {
|
|
574
|
-
this.$$set({ fetchviaevent: e }),
|
|
574
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
ne(
|
|
577
|
+
ne(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
578
578
|
export {
|
|
579
|
-
|
|
579
|
+
_e as default
|
|
580
580
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-9cVNHt1-.cjs");function se({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function z(s,e){t.addMessages(s,e)}function le(s){t.$locale.set(s)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-CxQ69OwL.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-Dm6f8H02.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-DTXKjmPl.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function ne(s){t.append_styles(s,"svelte-y89i0i",".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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}")}function I(s,e,a){const l=s.slice();return l[43]=e[a],l}function ie(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(I(s,o,u));function y(u,f){if(u[25]=="Favorites")return re;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[26]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=I(u,o,c);m[c]?m[c].p(b,f):(m[c]=K(b),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&67108864&&d!==(d="CasinoMyGames "+(u[26]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[29]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[25]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[32]),g=!0)},p(u,f){f[0]&536870912&&a!==(a=u[29]("favorites")+"")&&t.set_data(l,a),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[29]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[25]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[33]),i=!0)},p(o,m){m[0]&536870912&&a!==(a=o[29]("mostPlayed")+"")&&t.set_data(l,a),m[0]&33587200&&r!==(r="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[29]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[25]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[34]),d=!0)},p(m,y){y[0]&536870912&&a!==(a=m[29]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function oe(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function re(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function de(s){let e;function a(i,d){if(i[17])return ie}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[35](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[35](null)}}}function ue(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(29,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:b=""}=e,{integratedgameframedesktop:E=""}=e,{integratedgameframemobile:O=""}=e,{translationurl:C=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:B="false"}=e,{lastplayedperiod:A="Last30Days"}=e,{mostplayedperiod:j="Last30Days"}=e,{lastplayedorder:q=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:S="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,p,F="",N=!1,v=["","",""],G="0";se({withLocale:"en",translations:{}});const X=()=>{fetch(C).then(h=>h.json()).then(h=>{Object.keys(h).forEach(k=>{z(k,h[k])})}).catch(h=>{console.log(h)})};Object.keys(R).forEach(n=>{z(n,R[n])});const L=n=>{F!==n&&a(25,F=n)},H=()=>{a(25,F=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(27,v[0]=P==="true"?"Favorites":"",v),a(27,v[1]=w==="true"?"MostPlayed":"",v),a(27,v[2]=M==="true"?"LastPlayed":"",v),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,p.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{p.appendChild(n)},1)})},U=n=>{var h,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGames?a(28,G=(h=n.data.favoriteGames)==null?void 0:h.length):a(28,G=(k=n.data.listOfFavoritesGames)==null?void 0:k.length);break}};t.onMount(()=>(window.addEventListener("message",U,!1),a(26,N=t.isMobile(W)),()=>{window.removeEventListener("message",U)}));const $=()=>L("Favorites"),ee=()=>L("MostPlayed"),te=()=>L("LastPlayed");function ae(n){t.binding_callbacks[n?"unshift":"push"](()=>{p=n,a(24,p)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,b=n.showgamename),"integratedgameframedesktop"in n&&a(12,E=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,O=n.integratedgameframemobile),"translationurl"in n&&a(31,C=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,B=n.casinomygames),"lastplayedperiod"in n&&a(18,A=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,j=n.mostplayedperiod),"lastplayedorder"in n&&a(20,q=n.lastplayedorder),"lastplayedlimit"in n&&a(21,D=n.lastplayedlimit),"lastplayedunique"in n&&a(22,S=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&H(),s.$$.dirty[0]&114688&&P&&w&&M&&H(),s.$$.dirty[1]&1&&C&&X(),s.$$.dirty[0]&16777280&&g&&p&&Y(),s.$$.dirty[0]&16777344&&_&&p&&x()},[r,i,d,o,m,y,g,_,u,f,c,b,E,O,P,w,M,B,A,j,q,D,S,T,p,F,N,v,G,l,L,C,$,ee,te,ae]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,de,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
|