@everymatrix/casino-lobby 1.76.12 → 1.76.14
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-Dxl0GZ3V.js → CasinoCalendar-BZlbzIin.js} +1014 -1035
- package/components/{CasinoCalendar-uF_NF6m7.js → CasinoCalendar-CZ62CEJ3.js} +839 -860
- package/components/CasinoCalendar-Ckv0A9rH.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-CkFGHBr1.js → CasinoCalendarDailyDetails-BRGaLc7D.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-5fca8ybY.cjs → CasinoCalendarDailyDetails-DJyHVqld.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-D2EcpVsk.js → CasinoCalendarDailyDetails-DOG0EpeI.js} +38 -38
- package/components/{CasinoCalendarDailyItem-BjMHq8z0.js → CasinoCalendarDailyItem-BEPClsAB.js} +34 -34
- package/components/{CasinoCalendarDailyItem-CtrwuSMm.cjs → CasinoCalendarDailyItem-BMfgPOSR.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CJ4Y1TDs.js → CasinoCalendarDailyItem-CJYNZGM1.js} +34 -34
- package/components/{CasinoCategoriesSlider-D4K2b7AX.js → CasinoCategoriesSlider-Bhi0fD1k.js} +72 -72
- package/components/CasinoCategoriesSlider-C96NA08s.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Dw9WFkz4.js → CasinoCategoriesSlider-DmZ4rtlg.js} +73 -73
- package/components/{CasinoCollectionsProviders-DjFfFkmU.js → CasinoCollectionsProviders-CjD1H3N4.js} +77 -77
- package/components/{CasinoCollectionsProviders-BN0zNeS7.js → CasinoCollectionsProviders-DV_3RnLx.js} +64 -64
- package/components/{CasinoCollectionsProviders-C3QOX3KF.cjs → CasinoCollectionsProviders-GzxnaRrd.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DjSYlAHs.js → CasinoFavoritesSection-4mBWb0-n.js} +18 -18
- package/components/{CasinoFavoritesSection-C_SVbyBn.cjs → CasinoFavoritesSection-BElzuDwz.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DFYpAORF.js → CasinoFavoritesSection-DDJYibde.js} +18 -18
- package/components/{CasinoFilter-D0wftMel.js → CasinoFilter-C2w5IDsC.js} +224 -225
- package/components/{CasinoFilter-Bgc2OX7A.js → CasinoFilter-CQFSugx3.js} +245 -244
- package/components/CasinoFilter-Di50Udn3.cjs +1 -0
- package/components/{CasinoGameThumbnail-DDj9LrBn.js → CasinoGameThumbnail-BPsK9FK6.js} +762 -778
- package/components/{CasinoGameThumbnail-DAeRoqVl.js → CasinoGameThumbnail-BkCWJCGK.js} +1269 -1253
- package/components/CasinoGameThumbnail-CjDBp8Vy.cjs +47 -0
- package/components/{CasinoGamesCategorySection-CxjrZ9Mg.js → CasinoGamesCategorySection-COgOuQ6S.js} +300 -300
- package/components/{CasinoGamesCategorySection-BZ4VTmC0.js → CasinoGamesCategorySection-D7gSnBvl.js} +301 -301
- package/components/{CasinoGamesCategorySection-D9w4jWch.cjs → CasinoGamesCategorySection-uIPANdh1.cjs} +1 -1
- package/components/{CasinoJackpotBanner-yvjEOEuA.cjs → CasinoJackpotBanner-BaH4sE4J.cjs} +1 -1
- package/components/{CasinoJackpotBanner-VCXNOk6T.js → CasinoJackpotBanner-C7zgGg5_.js} +88 -88
- package/components/{CasinoJackpotBanner-TsNpk7MF.js → CasinoJackpotBanner-Cge3PP3w.js} +83 -83
- package/components/{CasinoLastPlayedSection-BlnAstfd.js → CasinoLastPlayedSection--ZH8kFO7.js} +33 -33
- package/components/{CasinoLastPlayedSection-CqanYCAJ.cjs → CasinoLastPlayedSection-D1i9Uh1L.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CReBS3dw.js → CasinoLastPlayedSection-DPZgK1Rw.js} +33 -33
- package/components/{CasinoLobby-BszY9gce.cjs → CasinoLobby-Cld3efkW.cjs} +1 -1
- package/components/{CasinoLobby-BdqnR3Yy.js → CasinoLobby-DAIJPyhU.js} +59 -59
- package/components/{CasinoLobby-BqU0yhJX.js → CasinoLobby-FylWUKW8.js} +59 -59
- package/components/{CasinoMostPlayedSection-gUjt91qe.cjs → CasinoMostPlayedSection-BlFmw7ae.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B07bcZSb.js → CasinoMostPlayedSection-D3gP_VmS.js} +46 -46
- package/components/{CasinoMostPlayedSection-C__zgZB_.js → CasinoMostPlayedSection-DwsGi9fQ.js} +46 -46
- package/components/{CasinoMyGames-jJWJoluY.js → CasinoMyGames--eHlRDLw.js} +28 -28
- package/components/{CasinoMyGames-BjpVKSGM.js → CasinoMyGames-BQRS1iPf.js} +28 -28
- package/components/{CasinoMyGames-BrR9nn1l.cjs → CasinoMyGames-Ct_tK7Dl.cjs} +1 -1
- package/components/{CasinoPage-C_zD5R2t.js → CasinoPage-Cimk4LJj.js} +124 -124
- package/components/{CasinoPage-CXwLK2oL.js → CasinoPage-DzY_luPG.js} +110 -110
- package/components/{CasinoPage-Bda9NKde.cjs → CasinoPage-y4mwVBLI.cjs} +1 -1
- package/components/{CasinoRandomGame-DJnB5Fhm.cjs → CasinoRandomGame-48hm2zQ7.cjs} +1 -1
- package/components/{CasinoRandomGame-CSrB_Zq2.js → CasinoRandomGame-BqJ8e7yR.js} +57 -57
- package/components/{CasinoRandomGame-BWebIH8V.js → CasinoRandomGame-DGh3E5ZN.js} +56 -56
- package/components/{CasinoSearch-CcHIKzRN.js → CasinoSearch-Bjt2LYdz.js} +98 -98
- package/components/{CasinoSearch-CwADZYFB.js → CasinoSearch-CyA3ODoz.js} +95 -95
- package/components/{CasinoSearch-DcUqk5L0.cjs → CasinoSearch-Dztg2BnM.cjs} +1 -1
- package/components/{CasinoSlider-Ctpht2Hg.cjs → CasinoSlider-BlA6YGt9.cjs} +1 -1
- package/components/{CasinoSlider-D40zgViI.js → CasinoSlider-DVgo3Nc7.js} +86 -86
- package/components/{CasinoSlider-CJpeC5z_.js → CasinoSlider-DwtTNiYj.js} +87 -87
- package/components/{CasinoSort-CydlqJP8.js → CasinoSort-8a3TBNjG.js} +112 -111
- package/components/{CasinoSort-CMZayycI.js → CasinoSort-BR8fSbAb.js} +102 -103
- package/components/{CasinoSort-DjCxKlZJ.cjs → CasinoSort-BctECC7t.cjs} +1 -1
- package/components/{CasinoWinners-Cqmnci0O.cjs → CasinoWinners-B7DAQBQw.cjs} +1 -1
- package/components/{CasinoWinners-B-qcd_Bf.js → CasinoWinners-CGG37Toh.js} +152 -152
- package/components/{CasinoWinners-DcqEgS6B.js → CasinoWinners-Z2hNzLpn.js} +145 -145
- package/components/{GeneralAnimationLoading-C8aWcUd_.js → GeneralAnimationLoading-C96Qoq2Z.js} +16 -16
- package/components/{GeneralAnimationLoading-Cjhmg9V_.cjs → GeneralAnimationLoading-C_p3gPuh.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Oqx65Onk.js → GeneralAnimationLoading-DKWROEgu.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-BBAN6qZv.cjs +1 -0
- package/stencil/casino-play-random-game-CYUXdZj7.js +25 -0
- package/stencil/casino-play-random-game-ywb1c71b.js +7 -0
- package/stencil/casino-play-random-game_3-BAcddQtP.cjs +432 -0
- package/stencil/{casino-play-random-game_2-EAIMj5kG.js → casino-play-random-game_3-DPJnqamY.js} +155 -66
- package/stencil/{casino-play-random-game_2-BGE-oMV1.js → casino-play-random-game_3-wK2KnqF2.js} +155 -66
- package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-27b314b8-B9Z1iOB7.cjs +1 -0
- package/stencil/index-27b314b8-CXVYGv5J.js +581 -0
- package/stencil/index-27b314b8-VBAz23AH.js +565 -0
- package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
- package/stencil/index-b2193545-D_cUvAA-.js +519 -0
- package/stencil/index-b2193545-kN0z2MLt.js +503 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-Cd2KxMB7.cjs → ui-image-BW6fTlRA.cjs} +1 -1
- package/stencil/{ui-image-adPxpjgH.js → ui-image-CkpZfL9y.js} +1 -1
- package/stencil/{ui-image-CVrTqLhl.js → ui-image-f_pO_wKA.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
- package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-C0GZ2ncD.js} +2 -2
- package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-CYeeBz0Q.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
- package/components/CasinoCalendar-l9GnvvJt.cjs +0 -19
- package/components/CasinoCategoriesSlider-CsJ_SF6Z.cjs +0 -1
- package/components/CasinoFilter-B7H2bJ-G.cjs +0 -1
- package/components/CasinoGameThumbnail-BCV2_lP-.cjs +0 -47
- package/stencil/casino-play-random-game-Bcp8xLrL.js +0 -7
- package/stencil/casino-play-random-game-Cbqs6gZA.cjs +0 -1
- package/stencil/casino-play-random-game-W_JDRP5P.js +0 -25
- package/stencil/casino-play-random-game_2-CsaKuS_m.cjs +0 -432
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-328e660d-CV2Ft9VG.js +0 -560
- package/stencil/index-328e660d-CX4nYxdf.js +0 -576
- package/stencil/index-328e660d-rQhlf25X.cjs +0 -1
- package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
- package/stencil/index-b2193545-Dxw-xjac.js +0 -503
- package/stencil/index-b2193545-TbRClz6K.js +0 -519
package/components/{CasinoMostPlayedSection-B07bcZSb.js → CasinoMostPlayedSection-D3gP_VmS.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, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, l as re, m as me, N as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-CZ62CEJ3.js";
|
|
2
|
+
import "./CasinoFavoritesSection-DDJYibde.js";
|
|
3
|
+
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const B = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const Y = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function be(a) {
|
|
66
|
-
|
|
66
|
+
ie(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
|
+
A(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 && E(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 = de(s), M(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
A(m, e, r), K(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") + "") && fe(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && E(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function Ge(a) {
|
|
317
317
|
let e, s;
|
|
318
318
|
function i(g, c) {
|
|
319
319
|
return (
|
|
@@ -327,7 +327,7 @@ function ke(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
|
+
A(g, e, c), K(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 ke(a) {
|
|
|
335
335
|
i: H,
|
|
336
336
|
o: H,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && E(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function ke(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
|
+
oe(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: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(
|
|
347
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
349
|
+
Y(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(B).forEach((t) => {
|
|
356
|
+
Y(t, B[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [], q,
|
|
358
|
+
let N = [], q, I = !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", C);
|
|
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 = k ? 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 we(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
376
|
+
device: ge(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), k ? 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]), S === "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, I = !0);
|
|
389
389
|
});
|
|
390
390
|
}, Z = () => {
|
|
391
391
|
ye(c);
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
le(() => () => {
|
|
394
394
|
});
|
|
395
395
|
function p(t) {
|
|
396
|
-
|
|
396
|
+
ce[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, G = t.clientstylingurl), "livecasino" in t && s(9, k = 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, w = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = 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
|
-
524416 && _ && u &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
405
|
+
524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
+
524544 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
|
+
65536 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
411
411
|
m,
|
|
@@ -416,33 +416,33 @@ function we(a, e, s) {
|
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
419
|
+
G,
|
|
419
420
|
k,
|
|
420
|
-
w,
|
|
421
421
|
O,
|
|
422
422
|
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
425
|
j,
|
|
426
426
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
I,
|
|
430
|
-
u,
|
|
427
|
+
w,
|
|
428
|
+
S,
|
|
431
429
|
z,
|
|
430
|
+
u,
|
|
431
|
+
I,
|
|
432
432
|
i,
|
|
433
|
-
|
|
433
|
+
C,
|
|
434
434
|
L,
|
|
435
435
|
p
|
|
436
436
|
];
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class we extends te {
|
|
439
439
|
constructor(e) {
|
|
440
440
|
super(), se(
|
|
441
441
|
this,
|
|
442
442
|
e,
|
|
443
|
-
we,
|
|
444
443
|
ke,
|
|
445
|
-
|
|
444
|
+
Ge,
|
|
445
|
+
ne,
|
|
446
446
|
{
|
|
447
447
|
endpoint: 0,
|
|
448
448
|
datasource: 1,
|
|
@@ -597,7 +597,7 @@ class Ge extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
ae(we, { 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
|
+
we as default
|
|
603
603
|
};
|
package/components/{CasinoMostPlayedSection-C__zgZB_.js → CasinoMostPlayedSection-DwsGi9fQ.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, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, l as re, m as me, N as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-BZlbzIin.js";
|
|
2
|
+
import "./CasinoFavoritesSection-4mBWb0-n.js";
|
|
3
|
+
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const B = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const Y = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function be(a) {
|
|
66
|
-
|
|
66
|
+
ie(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
|
+
A(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 && E(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 = de(s), M(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
A(m, e, r), K(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") + "") && fe(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && E(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function Ge(a) {
|
|
317
317
|
let e, s;
|
|
318
318
|
function i(g, c) {
|
|
319
319
|
return (
|
|
@@ -327,7 +327,7 @@ function ke(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
|
+
A(g, e, c), K(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 ke(a) {
|
|
|
335
335
|
i: H,
|
|
336
336
|
o: H,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && E(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function ke(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
|
+
oe(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: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(
|
|
347
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
349
|
+
Y(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(B).forEach((t) => {
|
|
356
|
+
Y(t, B[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [], q,
|
|
358
|
+
let N = [], q, I = !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", C);
|
|
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 = k ? 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 we(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
376
|
+
device: ge(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), k ? 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]), S === "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, I = !0);
|
|
389
389
|
});
|
|
390
390
|
}, Z = () => {
|
|
391
391
|
ye(c);
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
le(() => () => {
|
|
394
394
|
});
|
|
395
395
|
function p(t) {
|
|
396
|
-
|
|
396
|
+
ce[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, G = t.clientstylingurl), "livecasino" in t && s(9, k = 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, w = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = 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
|
-
524416 && _ && u &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
405
|
+
524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
+
524544 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
|
+
65536 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
411
411
|
m,
|
|
@@ -416,33 +416,33 @@ function we(a, e, s) {
|
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
419
|
+
G,
|
|
419
420
|
k,
|
|
420
|
-
w,
|
|
421
421
|
O,
|
|
422
422
|
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
425
|
j,
|
|
426
426
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
I,
|
|
430
|
-
u,
|
|
427
|
+
w,
|
|
428
|
+
S,
|
|
431
429
|
z,
|
|
430
|
+
u,
|
|
431
|
+
I,
|
|
432
432
|
i,
|
|
433
|
-
|
|
433
|
+
C,
|
|
434
434
|
L,
|
|
435
435
|
p
|
|
436
436
|
];
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class we extends te {
|
|
439
439
|
constructor(e) {
|
|
440
440
|
super(), se(
|
|
441
441
|
this,
|
|
442
442
|
e,
|
|
443
|
-
we,
|
|
444
443
|
ke,
|
|
445
|
-
|
|
444
|
+
Ge,
|
|
445
|
+
ne,
|
|
446
446
|
{
|
|
447
447
|
endpoint: 0,
|
|
448
448
|
datasource: 1,
|
|
@@ -597,7 +597,7 @@ class Ge extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
ae(we, { 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
|
+
we as default
|
|
603
603
|
};
|