@everymatrix/casino-page 1.86.3 → 1.86.5
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-4k288rHh.cjs +19 -0
- package/components/{CasinoCalendar-B9athdXu.js → CasinoCalendar-BNbVJJdG.js} +1010 -989
- package/components/{CasinoCalendar-US4h2Hvk.js → CasinoCalendar-DAKxxPPx.js} +845 -824
- package/components/{CasinoCalendarDailyDetails-qCDgzSZI.js → CasinoCalendarDailyDetails-C9QkDeeW.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-CtKjozsd.cjs → CasinoCalendarDailyDetails-CerVlpW4.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-C4NiLt00.js → CasinoCalendarDailyDetails-DG8jTkOb.js} +38 -38
- package/components/{CasinoCalendarDailyItem-Dsy3pV5t.js → CasinoCalendarDailyItem-77QxCgOg.js} +34 -34
- package/components/{CasinoCalendarDailyItem-a82YKite.cjs → CasinoCalendarDailyItem-B7YANGR4.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BqsGqDUw.js → CasinoCalendarDailyItem-H9bFOk6V.js} +34 -34
- package/components/{CasinoCollectionsProviders-B8P5ilfl.js → CasinoCollectionsProviders-BRaAIVvV.js} +68 -68
- package/components/{CasinoCollectionsProviders-BLZo026s.js → CasinoCollectionsProviders-DOGIidgs.js} +44 -44
- package/components/{CasinoCollectionsProviders-C936QkAI.cjs → CasinoCollectionsProviders-OZw09qnR.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DFl1IIkG.js → CasinoFavoritesSection-C-WTpxpq.js} +17 -17
- package/components/{CasinoFavoritesSection-B8VdjdgY.js → CasinoFavoritesSection-CZ-q50oD.js} +17 -17
- package/components/{CasinoFavoritesSection-BjjfIamg.cjs → CasinoFavoritesSection-DYzKNVZJ.cjs} +1 -1
- package/components/CasinoFilter-BP97bmoQ.cjs +1 -0
- package/components/{CasinoFilter-Cu-B0JVE.js → CasinoFilter-BqfBTs3X.js} +244 -245
- package/components/{CasinoFilter-Brq2dd8W.js → CasinoFilter-Dd_ByQUb.js} +223 -222
- package/components/{CasinoGameThumbnail-CeXacstF.js → CasinoGameThumbnail-CySg8Qzs.js} +1252 -1268
- package/components/CasinoGameThumbnail-W0nETKCH.cjs +47 -0
- package/components/{CasinoGameThumbnail-dTcMa5_w.js → CasinoGameThumbnail-ge_yVb-v.js} +778 -762
- package/components/{CasinoGamesCategorySection-CGZSX4Qs.js → CasinoGamesCategorySection-B2CXUJ-V.js} +301 -301
- package/components/{CasinoGamesCategorySection-DmgZ6F4T.js → CasinoGamesCategorySection-B8IjpDwj.js} +302 -302
- package/components/{CasinoGamesCategorySection-DNFUoHUY.cjs → CasinoGamesCategorySection-DCjn0aiz.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DFhfp_Dj.js → CasinoJackpotBanner-Ba0HSy7J.js} +90 -90
- package/components/{CasinoJackpotBanner-C1RmEQF6.js → CasinoJackpotBanner-BuCeq-FN.js} +84 -84
- package/components/{CasinoJackpotBanner-DqxRahUL.cjs → CasinoJackpotBanner-DRtiH_Mn.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CAFFDTTc.js → CasinoLastPlayedSection-C5vsXbz8.js} +41 -41
- package/components/{CasinoLastPlayedSection-D6bW88M2.cjs → CasinoLastPlayedSection-CP4YzhAu.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Cwvr2pTt.js → CasinoLastPlayedSection-DJ9HO253.js} +41 -41
- package/components/{CasinoMostPlayedSection-BDEL6NF1.js → CasinoMostPlayedSection-Cj9P1O_g.js} +45 -45
- package/components/{CasinoMostPlayedSection-CjHezC0K.cjs → CasinoMostPlayedSection-DPG3YsM6.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-D9lq9zAT.js → CasinoMostPlayedSection-_rcZwydD.js} +45 -45
- package/components/{CasinoMyGames-CBBj3oNk.js → CasinoMyGames-BCWaO0Ph.js} +33 -33
- package/components/{CasinoMyGames-CdZbU0N-.cjs → CasinoMyGames-Bqyyy2Me.cjs} +1 -1
- package/components/{CasinoMyGames-CPBodisx.js → CasinoMyGames-DA-mPnwJ.js} +34 -34
- package/components/{CasinoPage-BU-ox_zv.js → CasinoPage-CA4i1Mab.js} +119 -119
- package/components/{CasinoPage-C41UtoKN.js → CasinoPage-ChZMdGaK.js} +106 -106
- package/components/{CasinoPage-CDakhIvY.cjs → CasinoPage-Ct1hNeF-.cjs} +1 -1
- package/components/{CasinoRandomGame-BwOupdSZ.cjs → CasinoRandomGame-DRGWOXO6.cjs} +1 -1
- package/components/{CasinoRandomGame-U8QHdeoj.js → CasinoRandomGame-Dicpdv5N.js} +59 -59
- package/components/{CasinoRandomGame-C_CNG9MS.js → CasinoRandomGame-Mzhi_geU.js} +58 -58
- package/components/{CasinoSearch-l_Fef9YE.js → CasinoSearch-BkcRkT-Z.js} +82 -82
- package/components/{CasinoSearch-BAe7cS7r.js → CasinoSearch-CFh1KpPL.js} +85 -85
- package/components/{CasinoSearch-NcpOGdNZ.cjs → CasinoSearch-D14Ak2E9.cjs} +1 -1
- package/components/{CasinoSort-DJ0BE5kb.cjs → CasinoSort-BVyHskml.cjs} +1 -1
- package/components/{CasinoSort-DEeWkAHf.js → CasinoSort-DHqu-YG-.js} +111 -112
- package/components/{CasinoSort-BGbfsSOC.js → CasinoSort-DuvD0KkH.js} +103 -102
- package/components/{CasinoWinners-DnMFzeVH.js → CasinoWinners-BHA-xtsz.js} +148 -148
- package/components/{CasinoWinners-cSln9yQG.cjs → CasinoWinners-DWoEFnVn.cjs} +1 -1
- package/components/{CasinoWinners-BidD6fSv.js → CasinoWinners-DtlRi9Ya.js} +158 -158
- package/components/{GeneralAnimationLoading-CI1FkTFT.js → GeneralAnimationLoading-B00sPlMG.js} +14 -14
- package/components/{GeneralAnimationLoading-DyF1rRP4.js → GeneralAnimationLoading-DhrziAD2.js} +14 -14
- package/components/{GeneralAnimationLoading-BqZm_WCe.cjs → GeneralAnimationLoading-wnzFPEVd.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-DuO9PliV.cjs → casino-play-random-game-Cl8BQ6zx.cjs} +1 -1
- package/stencil/{casino-play-random-game-Dge6-qaF.js → casino-play-random-game-DmsXPThq.js} +1 -1
- package/stencil/{casino-play-random-game-D9PFB7B2.js → casino-play-random-game-bUDjgSKo.js} +1 -1
- package/stencil/{casino-play-random-game_2-CunwpDd1.js → casino-play-random-game_2-Bf4CHBc9.js} +2 -2
- package/stencil/{casino-play-random-game_2-auPXMZnz.js → casino-play-random-game_2-C30-vRGp.js} +2 -2
- package/stencil/{casino-play-random-game_2-cZvlv_fo.cjs → casino-play-random-game_2-CCCLDakd.cjs} +2 -2
- package/stencil/index-328e660d-B6ge05AJ.js +560 -0
- package/stencil/index-328e660d-C6OCQOhB.cjs +1 -0
- package/stencil/index-328e660d-Duk3nD23.js +576 -0
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-BZAG_Jnw.js +503 -0
- package/stencil/index-b2193545-DG7pnr-7.js +519 -0
- package/stencil/index-b2193545-DuCTLpV-.cjs +1 -0
- package/stencil/{ui-image-C1Fl5HOc.cjs → ui-image-BmLAbwvr.cjs} +1 -1
- package/stencil/{ui-image-DnOuibDF.js → ui-image-DDulMZDF.js} +1 -1
- package/stencil/{ui-image-_mAQXh8W.js → ui-image-DwWgscwP.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/stencil/{ui-skeleton-CWdppDyF.cjs → ui-skeleton-BWEKzqTN.cjs} +1 -1
- package/stencil/{ui-skeleton-TkMXeWrD.js → ui-skeleton-D_tu1FGi.js} +2 -2
- package/stencil/{ui-skeleton-QCtPK7l5.js → ui-skeleton-DgZQnowa.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-CiWqRE71.js → ui-skeleton-ed169f8f-Bs1q2JQr.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-pTYMIneT.js → ui-skeleton-ed169f8f-D2rWx_KU.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BT7QFq3s.cjs → ui-skeleton-ed169f8f-Ti6Ksz7V.cjs} +1 -1
- package/components/CasinoCalendar-C42gDFHO.cjs +0 -19
- package/components/CasinoFilter-C3jkZv6Z.cjs +0 -1
- package/components/CasinoGameThumbnail-Bcw2baBS.cjs +0 -47
- package/stencil/index-328e660d-A_dWaOAX.cjs +0 -1
- package/stencil/index-328e660d-BiHqu78m.js +0 -576
- package/stencil/index-328e660d-DJbpQFmN.js +0 -560
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
- package/stencil/index-b2193545-BkP0Nc2C.cjs +0 -1
- package/stencil/index-b2193545-CejVSlwL.js +0 -519
- package/stencil/index-b2193545-DL1I-QYR.js +0 -503
package/components/{CasinoMostPlayedSection-D9lq9zAT.js → CasinoMostPlayedSection-_rcZwydD.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DAKxxPPx.js";
|
|
2
|
+
import "./CasinoFavoritesSection-CZ-q50oD.js";
|
|
3
|
+
function K(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Y = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const B = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function be(a) {
|
|
66
|
-
|
|
66
|
+
ne(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
67
67
|
}
|
|
68
68
|
function ve(a) {
|
|
69
69
|
let e;
|
|
@@ -167,7 +167,7 @@ function ve(a) {
|
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
169
|
m(s, i) {
|
|
170
|
-
|
|
170
|
+
E(s, e, i);
|
|
171
171
|
},
|
|
172
172
|
p(s, i) {
|
|
173
173
|
i[0] & /*session*/
|
|
@@ -287,7 +287,7 @@ function ve(a) {
|
|
|
287
287
|
);
|
|
288
288
|
},
|
|
289
289
|
d(s) {
|
|
290
|
-
s &&
|
|
290
|
+
s && A(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -298,22 +298,22 @@ function _e(a) {
|
|
|
298
298
|
), i;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
301
|
+
e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
E(m, e, r), B(e, i);
|
|
305
305
|
},
|
|
306
306
|
p(m, r) {
|
|
307
307
|
r[0] & /*$_*/
|
|
308
308
|
2097152 && s !== (s = /*$_*/
|
|
309
|
-
m[21]("noGames") + "") &&
|
|
309
|
+
m[21]("noGames") + "") && me(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && A(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function ke(a) {
|
|
317
317
|
let e, s;
|
|
318
318
|
function i(g, c) {
|
|
319
319
|
return (
|
|
@@ -327,7 +327,7 @@ function Ge(a) {
|
|
|
327
327
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
328
|
},
|
|
329
329
|
m(g, c) {
|
|
330
|
-
|
|
330
|
+
E(g, e, c), B(e, s), r.m(s, null), a[24](e);
|
|
331
331
|
},
|
|
332
332
|
p(g, c) {
|
|
333
333
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
@@ -335,32 +335,32 @@ function Ge(a) {
|
|
|
335
335
|
i: H,
|
|
336
336
|
o: H,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && A(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function we(a, e, s) {
|
|
343
343
|
let i;
|
|
344
|
-
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl:
|
|
344
|
+
ie(a, he, (t) => s(21, i = t));
|
|
345
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(
|
|
347
|
+
fetch(G).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
349
|
+
K(d, o[d]);
|
|
350
350
|
});
|
|
351
351
|
}).catch((o) => {
|
|
352
352
|
console.log(o);
|
|
353
353
|
});
|
|
354
354
|
};
|
|
355
|
-
Object.keys(
|
|
356
|
-
|
|
355
|
+
Object.keys(Y).forEach((t) => {
|
|
356
|
+
K(t, Y[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [], q,
|
|
358
|
+
let N = [], q, z = !1, u;
|
|
359
359
|
const W = (t) => {
|
|
360
360
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
361
|
-
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",
|
|
361
|
+
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", S);
|
|
362
362
|
let d = t.device;
|
|
363
|
-
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), q =
|
|
363
|
+
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), q = w ? o : o.href, new Promise((f, y) => {
|
|
364
364
|
fetch(q).then((h) => h.json()).then((h) => {
|
|
365
365
|
h.items = h.items.filter((x) => {
|
|
366
366
|
let J = !0;
|
|
@@ -373,39 +373,39 @@ function ke(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
376
|
+
device: le(Q),
|
|
377
377
|
rounds: L
|
|
378
378
|
}).then((t) => {
|
|
379
379
|
if (t.count > 0) {
|
|
380
380
|
let o = [];
|
|
381
381
|
t.items.forEach((d) => {
|
|
382
382
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
-
f.searchParams.append("datasource", r),
|
|
383
|
+
f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
384
|
}), Promise.all(o).then((d) => {
|
|
385
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
385
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
386
386
|
});
|
|
387
387
|
} else
|
|
388
|
-
s(20,
|
|
388
|
+
s(20, z = !0);
|
|
389
389
|
});
|
|
390
390
|
}, Z = () => {
|
|
391
391
|
ye(c);
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
oe(() => () => {
|
|
394
394
|
});
|
|
395
395
|
function p(t) {
|
|
396
|
-
|
|
396
|
+
re[t ? "unshift" : "push"](() => {
|
|
397
397
|
u = t, s(19, u);
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
return a.$$set = (t) => {
|
|
401
|
-
"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, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8,
|
|
401
|
+
"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, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = t.fetchviaevent);
|
|
402
402
|
}, a.$$.update = () => {
|
|
403
403
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
404
404
|
41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
405
405
|
524416 && _ && u && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
406
|
+
524544 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
|
+
65536 && G && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
411
411
|
m,
|
|
@@ -416,33 +416,33 @@ function ke(a, e, s) {
|
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
419
|
-
G,
|
|
420
419
|
k,
|
|
420
|
+
w,
|
|
421
421
|
O,
|
|
422
422
|
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
425
|
j,
|
|
426
426
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
z,
|
|
430
|
-
u,
|
|
427
|
+
G,
|
|
428
|
+
C,
|
|
431
429
|
I,
|
|
430
|
+
u,
|
|
431
|
+
z,
|
|
432
432
|
i,
|
|
433
|
-
|
|
433
|
+
S,
|
|
434
434
|
L,
|
|
435
435
|
p
|
|
436
436
|
];
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class Ge extends te {
|
|
439
439
|
constructor(e) {
|
|
440
440
|
super(), se(
|
|
441
441
|
this,
|
|
442
442
|
e,
|
|
443
|
+
we,
|
|
443
444
|
ke,
|
|
444
|
-
|
|
445
|
-
ne,
|
|
445
|
+
ae,
|
|
446
446
|
{
|
|
447
447
|
endpoint: 0,
|
|
448
448
|
datasource: 1,
|
|
@@ -597,7 +597,7 @@ class we extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
fe(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
601
601
|
export {
|
|
602
|
-
|
|
602
|
+
Ge as default
|
|
603
603
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as I, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as ee, d as k, h as F, j as _, k as _e, o as Me, l as we, C as ke, v as ae, w as Fe, E as a, R as E, r as M, p as b, B as L, T as Ge, m as T, A as R, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-DAKxxPPx.js";
|
|
2
2
|
function Oe({ withLocale: t, translations: e }) {
|
|
3
|
-
|
|
4
|
-
n == null && (ce.set(e),
|
|
3
|
+
I.subscribe((n) => {
|
|
4
|
+
n == null && (ce.set(e), I.set(t));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function te(t, e) {
|
|
8
8
|
he(t, e);
|
|
9
9
|
}
|
|
10
10
|
function je(t) {
|
|
11
|
-
|
|
11
|
+
I.set(t);
|
|
12
12
|
}
|
|
13
13
|
const se = {
|
|
14
14
|
en: {
|
|
@@ -114,7 +114,7 @@ if (typeof window < "u") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-
|
|
117
|
+
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-CZ-q50oD.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window < "u") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-
|
|
133
|
+
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-C5vsXbz8.js").then(({ default: e }) => {
|
|
134
134
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,12 +146,12 @@ if (typeof window < "u") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-
|
|
149
|
+
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-_rcZwydD.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
function Se(t) {
|
|
154
|
-
|
|
154
|
+
Pe(t, "svelte-gljr2z", ".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}");
|
|
155
155
|
}
|
|
156
156
|
function ie(t, e, n) {
|
|
157
157
|
const d = t.slice();
|
|
@@ -488,7 +488,7 @@ function qe(t) {
|
|
|
488
488
|
(t[28] ? "Mobile" : ""));
|
|
489
489
|
},
|
|
490
490
|
m(s, o) {
|
|
491
|
-
|
|
491
|
+
F(s, e, o), b(e, n), b(n, d);
|
|
492
492
|
for (let h = 0; h < c.length; h += 1)
|
|
493
493
|
c[h] && c[h].m(d, null);
|
|
494
494
|
b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), b(f, p), b(f, m);
|
|
@@ -893,7 +893,7 @@ function qe(t) {
|
|
|
893
893
|
(s[28] ? "Mobile" : "")) && M(e, "class", P);
|
|
894
894
|
},
|
|
895
895
|
d(s) {
|
|
896
|
-
s &&
|
|
896
|
+
s && k(e), Fe(c, s);
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
899
|
}
|
|
@@ -912,7 +912,7 @@ function le(t) {
|
|
|
912
912
|
(t[15] == "false" ? "Off" : ""));
|
|
913
913
|
},
|
|
914
914
|
m(v, c) {
|
|
915
|
-
|
|
915
|
+
F(v, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = R(
|
|
916
916
|
e,
|
|
917
917
|
"click",
|
|
918
918
|
/*click_handler*/
|
|
@@ -933,7 +933,7 @@ function le(t) {
|
|
|
933
933
|
(v[15] == "false" ? "Off" : "")) && M(e, "class", p);
|
|
934
934
|
},
|
|
935
935
|
d(v) {
|
|
936
|
-
v &&
|
|
936
|
+
v && k(e), m = !1, P();
|
|
937
937
|
}
|
|
938
938
|
};
|
|
939
939
|
}
|
|
@@ -949,7 +949,7 @@ function ne(t) {
|
|
|
949
949
|
(t[16] == "false" ? "Off" : ""));
|
|
950
950
|
},
|
|
951
951
|
m(y, i) {
|
|
952
|
-
|
|
952
|
+
F(y, e, i), b(e, d), f || (l = R(
|
|
953
953
|
e,
|
|
954
954
|
"click",
|
|
955
955
|
/*click_handler_1*/
|
|
@@ -965,7 +965,7 @@ function ne(t) {
|
|
|
965
965
|
(y[16] == "false" ? "Off" : "")) && M(e, "class", u);
|
|
966
966
|
},
|
|
967
967
|
d(y) {
|
|
968
|
-
y &&
|
|
968
|
+
y && k(e), f = !1, l();
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
971
|
}
|
|
@@ -981,7 +981,7 @@ function oe(t) {
|
|
|
981
981
|
(t[17] == "false" ? "Off" : ""));
|
|
982
982
|
},
|
|
983
983
|
m(i, p) {
|
|
984
|
-
|
|
984
|
+
F(i, e, p), b(e, d), b(e, u), l || (y = R(
|
|
985
985
|
e,
|
|
986
986
|
"click",
|
|
987
987
|
/*click_handler_2*/
|
|
@@ -997,7 +997,7 @@ function oe(t) {
|
|
|
997
997
|
(i[17] == "false" ? "Off" : "")) && M(e, "class", f);
|
|
998
998
|
},
|
|
999
999
|
d(i) {
|
|
1000
|
-
i &&
|
|
1000
|
+
i && k(e), l = !1, y();
|
|
1001
1001
|
}
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
@@ -1014,10 +1014,10 @@ function re(t) {
|
|
|
1014
1014
|
);
|
|
1015
1015
|
return {
|
|
1016
1016
|
c() {
|
|
1017
|
-
u && u.c(), e = L(), f && f.c(), n = L(), l && l.c(), d =
|
|
1017
|
+
u && u.c(), e = L(), f && f.c(), n = L(), l && l.c(), d = Ge();
|
|
1018
1018
|
},
|
|
1019
1019
|
m(y, i) {
|
|
1020
|
-
u && u.m(y, i),
|
|
1020
|
+
u && u.m(y, i), F(y, e, i), f && f.m(y, i), F(y, n, i), l && l.m(y, i), F(y, d, i);
|
|
1021
1021
|
},
|
|
1022
1022
|
p(y, i) {
|
|
1023
1023
|
/*tab*/
|
|
@@ -1026,7 +1026,7 @@ function re(t) {
|
|
|
1026
1026
|
y[43] == "LastPlayed" ? l ? l.p(y, i) : (l = oe(y), l.c(), l.m(d.parentNode, d)) : l && (l.d(1), l = null);
|
|
1027
1027
|
},
|
|
1028
1028
|
d(y) {
|
|
1029
|
-
y && (
|
|
1029
|
+
y && (k(e), k(n), k(d)), u && u.d(y), f && f.d(y), l && l.d(y);
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
@@ -1045,7 +1045,7 @@ function De(t) {
|
|
|
1045
1045
|
e = _("div"), u && u.c();
|
|
1046
1046
|
},
|
|
1047
1047
|
m(f, l) {
|
|
1048
|
-
|
|
1048
|
+
F(f, e, l), u && u.m(e, null), t[36](e);
|
|
1049
1049
|
},
|
|
1050
1050
|
p(f, l) {
|
|
1051
1051
|
d === (d = n(f)) && u ? u.p(f, l) : (u && u.d(1), u = d && d(f), u && (u.c(), u.m(e, null)));
|
|
@@ -1053,14 +1053,14 @@ function De(t) {
|
|
|
1053
1053
|
i: ee,
|
|
1054
1054
|
o: ee,
|
|
1055
1055
|
d(f) {
|
|
1056
|
-
f &&
|
|
1056
|
+
f && k(e), u && u.d(), t[36](null);
|
|
1057
1057
|
}
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
1060
|
function Ne(t, e, n) {
|
|
1061
1061
|
let d;
|
|
1062
|
-
|
|
1063
|
-
let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: P = "" } = e, { livecasino: v = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: s = "" } = e, { showgamename: o = "" } = e, { integratedgameframedesktop: h = "" } = e, { integratedgameframemobile: B = "" } = e, { translationurl: q = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames:
|
|
1062
|
+
_e(t, Be, (r) => n(31, d = r));
|
|
1063
|
+
let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: P = "" } = e, { livecasino: v = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: s = "" } = e, { showgamename: o = "" } = e, { integratedgameframedesktop: h = "" } = e, { integratedgameframemobile: B = "" } = e, { translationurl: q = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: U = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: K = "Last30Days" } = e, { lastplayedorder: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: Q = "true" } = e, { mostplayedrounds: W = "" } = e, { mbsource: z } = e, me = window.navigator.userAgent, w, D = "", X = !1, G = ["", "", ""], H = "0";
|
|
1064
1064
|
Oe({ withLocale: "en", translations: {} });
|
|
1065
1065
|
const de = () => {
|
|
1066
1066
|
fetch(q).then((C) => C.json()).then((C) => {
|
|
@@ -1086,25 +1086,25 @@ function Ne(t, e, n) {
|
|
|
1086
1086
|
break;
|
|
1087
1087
|
}
|
|
1088
1088
|
};
|
|
1089
|
-
|
|
1089
|
+
Me(() => (window.addEventListener("message", x, !1), n(28, X = we(me)), () => {
|
|
1090
1090
|
window.removeEventListener("message", x);
|
|
1091
1091
|
}));
|
|
1092
1092
|
const fe = () => N("Favorites"), ue = () => N("MostPlayed"), ye = () => N("LastPlayed");
|
|
1093
1093
|
function ge(r) {
|
|
1094
|
-
|
|
1094
|
+
ke[r ? "unshift" : "push"](() => {
|
|
1095
1095
|
w = r, n(26, w);
|
|
1096
1096
|
});
|
|
1097
1097
|
}
|
|
1098
1098
|
return t.$$set = (r) => {
|
|
1099
|
-
"userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "clientstyling" in r && n(6, m = r.clientstyling), "clientstylingurl" in r && n(7, P = r.clientstylingurl), "livecasino" in r && n(8, v = r.livecasino), "visiblegames" in r && n(9, c = r.visiblegames), "gamepagemodalurl" in r && n(10, s = r.gamepagemodalurl), "showgamename" in r && n(11, o = r.showgamename), "integratedgameframedesktop" in r && n(12, h = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(13, B = r.integratedgameframemobile), "translationurl" in r && n(14, q = r.translationurl), "favorites" in r && n(15, O = r.favorites), "mostplayed" in r && n(16, j = r.mostplayed), "lastplayed" in r && n(17, S = r.lastplayed), "casinomygames" in r && n(18,
|
|
1099
|
+
"userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "clientstyling" in r && n(6, m = r.clientstyling), "clientstylingurl" in r && n(7, P = r.clientstylingurl), "livecasino" in r && n(8, v = r.livecasino), "visiblegames" in r && n(9, c = r.visiblegames), "gamepagemodalurl" in r && n(10, s = r.gamepagemodalurl), "showgamename" in r && n(11, o = r.showgamename), "integratedgameframedesktop" in r && n(12, h = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(13, B = r.integratedgameframemobile), "translationurl" in r && n(14, q = r.translationurl), "favorites" in r && n(15, O = r.favorites), "mostplayed" in r && n(16, j = r.mostplayed), "lastplayed" in r && n(17, S = r.lastplayed), "casinomygames" in r && n(18, U = r.casinomygames), "lastplayedperiod" in r && n(19, J = r.lastplayedperiod), "mostplayedperiod" in r && n(20, K = r.mostplayedperiod), "lastplayedorder" in r && n(21, V = r.lastplayedorder), "lastplayedlimit" in r && n(22, Z = r.lastplayedlimit), "lastplayedunique" in r && n(23, Q = r.lastplayedunique), "mostplayedrounds" in r && n(24, W = r.mostplayedrounds), "mbsource" in r && n(25, z = r.mbsource);
|
|
1100
1100
|
}, t.$$.update = () => {
|
|
1101
1101
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
1102
1102
|
28 && l && y && i && Y(), t.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
|
|
1103
1103
|
229376 && O && j && S && Y(), t.$$.dirty[0] & /*translationurl*/
|
|
1104
1104
|
16384 && q && de(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1105
|
-
67108928 && m && w &&
|
|
1106
|
-
67108992 && P && w &&
|
|
1107
|
-
100663296 && w &&
|
|
1105
|
+
67108928 && m && w && Le(w, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1106
|
+
67108992 && P && w && Ce(w, P), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
1107
|
+
100663296 && w && Ee(w, `${z}.Style`);
|
|
1108
1108
|
}, [
|
|
1109
1109
|
u,
|
|
1110
1110
|
f,
|
|
@@ -1124,11 +1124,11 @@ function Ne(t, e, n) {
|
|
|
1124
1124
|
O,
|
|
1125
1125
|
j,
|
|
1126
1126
|
S,
|
|
1127
|
-
|
|
1127
|
+
U,
|
|
1128
1128
|
J,
|
|
1129
|
+
K,
|
|
1129
1130
|
V,
|
|
1130
1131
|
Z,
|
|
1131
|
-
K,
|
|
1132
1132
|
Q,
|
|
1133
1133
|
W,
|
|
1134
1134
|
z,
|
|
@@ -1152,7 +1152,7 @@ class Te extends ve {
|
|
|
1152
1152
|
e,
|
|
1153
1153
|
Ne,
|
|
1154
1154
|
De,
|
|
1155
|
-
|
|
1155
|
+
pe,
|
|
1156
1156
|
{
|
|
1157
1157
|
userid: 0,
|
|
1158
1158
|
session: 1,
|
|
@@ -1342,7 +1342,7 @@ class Te extends ve {
|
|
|
1342
1342
|
this.$$set({ mbsource: e }), g();
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
|
|
1345
|
+
Ae(Te, { 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: {}, mbsource: {} }, [], [], !0);
|
|
1346
1346
|
export {
|
|
1347
1347
|
Te as default
|
|
1348
1348
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-C42gDFHO.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}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"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-BjjfIamg.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-D6bW88M2.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-CjHezC0K.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function le(a){e.append_styles(a,"svelte-gljr2z",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function J(a,t,o){const d=a.slice();return d[43]=t[o],d}function ne(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[18])return ne}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{L!==m&&o(27,L=m)},H=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},U=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,C=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,q=m.mostplayedperiod),"lastplayedorder"in m&&o(21,S=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&C&&Y(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,C,w,k,F,O,j,q,S,D,N,T,A,v,L,z,P,B,d,E,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.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:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{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:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-4k288rHh.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}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"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-DYzKNVZJ.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-CP4YzhAu.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-DPG3YsM6.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function le(a){e.append_styles(a,"svelte-gljr2z",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function J(a,t,o){const d=a.slice();return d[43]=t[o],d}function ne(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[18])return ne}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{L!==m&&o(27,L=m)},H=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},U=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,C=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,q=m.mostplayedperiod),"lastplayedorder"in m&&o(21,S=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&C&&Y(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,C,w,k,F,O,j,q,S,D,N,T,A,v,L,z,P,B,d,E,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.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:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{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:{},mbsource:{}},[],[],!0);exports.default=W;
|