@everymatrix/casino-lobby 1.56.0 → 1.56.3
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-_T8fa3tA.js → CasinoCalendar-BU2gZgoA.js} +1019 -957
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-BYhP1252.js} +989 -927
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-BvbgM2tY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-zomrPGwC.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-BCuBW8Ar.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DO4dUNpH.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-BOJ1THEs.js} +65 -65
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BXOmh9s8.js} +66 -66
- package/components/CasinoCollectionsProviders-BFNXK0mZ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-BX_dEzdy.js} +254 -264
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-CRAmbMuu.js} +259 -269
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-B74AEiJU.js} +27 -27
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-BSNrnBte.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-CUsEA5HO.js} +27 -27
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-BtQon8od.js} +252 -247
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-Du7IqNdv.js} +241 -238
- package/components/CasinoGamePage-C8xrFvIL.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-CHQ3jlqS.js} +1715 -1761
- package/components/CasinoGamePage-Dn6JZ69a.js +4250 -0
- package/components/CasinoGameThumbnail-BrbFrK0r.cjs +38 -0
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-CYrNJU7D.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-ConJfCt9.js} +374 -353
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-BZB6Hzxo.js} +255 -248
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-Bt_a-XLq.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-C4dkhfxd.js} +255 -248
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-B6za0Zjf.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-DVU6U9lr.js} +79 -79
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-3_wA_Avg.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-F-ue8Czk.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-OIDJ7awN.js} +43 -43
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-BKNxdOkN.js} +61 -61
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-BMoJpsqG.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-fcvl9kle.js} +59 -59
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-BEa4Ij-6.js} +55 -55
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-CFbQNGPR.js} +55 -55
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection--tFE0qmd.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-B-pH8QJC.js} +50 -50
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-CdXD9mvv.cjs} +1 -1
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-5m477zEd.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-C6SFrIqO.js} +58 -54
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-ol3GWqow.js} +59 -55
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-BRTqbLqB.cjs} +1 -1
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-B_xsttc_.js} +99 -95
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-C-PL0HAg.js} +99 -95
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-DcHbcmu8.js} +71 -69
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-Njs6ODWp.js} +71 -69
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-CYInCP4K.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-DQDz7QLo.js} +83 -80
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-H1BPrBzU.js} +83 -80
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BbRVIW35.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BpVYjfEZ.js} +85 -85
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-BCZs_7vq.js} +107 -107
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-BIiSCydQ.js} +115 -113
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-D9QEbcwQ.js} +161 -159
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-fcmQdKZx.js} +152 -150
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-BEyM9jr_.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-uTgCxIjZ.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-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-F-ue8Czk.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, P as i, x as de, E as fe, I as he, O as ye } from "./CasinoCalendar-BU2gZgoA.js";
|
|
2
|
+
import "./CasinoFavoritesSection-CUsEA5HO.js";
|
|
3
|
+
function V(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
7
7
|
te.set(s);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Z = {
|
|
10
10
|
en: {
|
|
11
11
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
12
|
},
|
|
@@ -33,13 +33,13 @@ const V = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
le(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
40
40
|
return {
|
|
41
41
|
c() {
|
|
42
|
-
e =
|
|
42
|
+
e = P("casino-games-category-section"), i(
|
|
43
43
|
e,
|
|
44
44
|
"session",
|
|
45
45
|
/*session*/
|
|
@@ -132,7 +132,7 @@ function we(s) {
|
|
|
132
132
|
);
|
|
133
133
|
},
|
|
134
134
|
m(t, n) {
|
|
135
|
-
|
|
135
|
+
M(t, e, n);
|
|
136
136
|
},
|
|
137
137
|
p(t, n) {
|
|
138
138
|
n[0] & /*session*/
|
|
@@ -246,7 +246,7 @@ function we(s) {
|
|
|
246
246
|
);
|
|
247
247
|
},
|
|
248
248
|
d(t) {
|
|
249
|
-
t &&
|
|
249
|
+
t && D(e);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
}
|
|
@@ -257,18 +257,18 @@ function _e(s) {
|
|
|
257
257
|
), n;
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
260
|
-
e =
|
|
260
|
+
e = P("p"), n = de(t), A(e, "class", "SearchLoading");
|
|
261
261
|
},
|
|
262
262
|
m(o, r) {
|
|
263
|
-
|
|
263
|
+
M(o, e, r), B(e, n);
|
|
264
264
|
},
|
|
265
265
|
p(o, r) {
|
|
266
266
|
r[0] & /*$_*/
|
|
267
267
|
1048576 && t !== (t = /*$_*/
|
|
268
|
-
o[20]("noRecentGames") + "") &&
|
|
268
|
+
o[20]("noRecentGames") + "") && fe(n, t);
|
|
269
269
|
},
|
|
270
270
|
d(o) {
|
|
271
|
-
o &&
|
|
271
|
+
o && D(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -283,10 +283,10 @@ function ke(s) {
|
|
|
283
283
|
let o = n(s), r = o(s);
|
|
284
284
|
return {
|
|
285
285
|
c() {
|
|
286
|
-
e =
|
|
286
|
+
e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
287
287
|
},
|
|
288
288
|
m(m, d) {
|
|
289
|
-
|
|
289
|
+
M(m, e, d), B(e, t), r.m(t, null), s[26](e);
|
|
290
290
|
},
|
|
291
291
|
p(m, d) {
|
|
292
292
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
|
|
@@ -294,29 +294,29 @@ function ke(s) {
|
|
|
294
294
|
i: H,
|
|
295
295
|
o: H,
|
|
296
296
|
d(m) {
|
|
297
|
-
m &&
|
|
297
|
+
m && D(e), r.d(), s[26](null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Pe(s, e, t) {
|
|
302
302
|
let n;
|
|
303
|
-
|
|
304
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session:
|
|
303
|
+
re(s, he, (a) => t(20, n = a));
|
|
304
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: O = "" } = e, { visiblegames: L = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], I, f;
|
|
305
305
|
const Q = () => {
|
|
306
306
|
fetch(w).then((g) => g.json()).then((g) => {
|
|
307
307
|
Object.keys(g).forEach((u) => {
|
|
308
|
-
|
|
308
|
+
V(u, g[u]);
|
|
309
309
|
});
|
|
310
310
|
}).catch((g) => {
|
|
311
311
|
console.log(g);
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
|
-
Object.keys(
|
|
315
|
-
|
|
314
|
+
Object.keys(Z).forEach((a) => {
|
|
315
|
+
V(a, Z[a]);
|
|
316
316
|
});
|
|
317
317
|
const W = () => new Promise((a, g) => {
|
|
318
318
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
319
|
-
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order",
|
|
319
|
+
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
320
320
|
c.items = c.items.filter(($) => {
|
|
321
321
|
let J = !0;
|
|
322
322
|
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
@@ -338,46 +338,46 @@ function Le(s, e, t) {
|
|
|
338
338
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
339
339
|
h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
|
|
340
340
|
}), Promise.all(g).then((u) => {
|
|
341
|
-
k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(
|
|
341
|
+
k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(L))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
342
342
|
});
|
|
343
343
|
} else
|
|
344
344
|
t(19, Y = !0);
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, x = () => {
|
|
347
347
|
be(d);
|
|
348
348
|
};
|
|
349
|
-
|
|
349
|
+
oe(() => () => {
|
|
350
350
|
});
|
|
351
|
-
function
|
|
352
|
-
|
|
351
|
+
function p(a) {
|
|
352
|
+
ce[a ? "unshift" : "push"](() => {
|
|
353
353
|
f = a, t(18, f);
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
return s.$$set = (a) => {
|
|
357
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4,
|
|
357
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, N = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, L = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
|
|
358
358
|
}, s.$$.update = () => {
|
|
359
359
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
360
360
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
361
361
|
2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
|
-
262208 && b && f &&
|
|
363
|
-
262272 && v && f &&
|
|
364
|
-
393216 && f &&
|
|
365
|
-
8 && d &&
|
|
362
|
+
262208 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
|
+
262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
364
|
+
393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
|
|
365
|
+
8 && d && x();
|
|
366
366
|
}, [
|
|
367
367
|
o,
|
|
368
368
|
r,
|
|
369
369
|
m,
|
|
370
370
|
d,
|
|
371
|
-
|
|
371
|
+
E,
|
|
372
372
|
y,
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
_,
|
|
376
|
-
|
|
376
|
+
z,
|
|
377
377
|
F,
|
|
378
|
+
N,
|
|
378
379
|
O,
|
|
379
|
-
|
|
380
|
-
P,
|
|
380
|
+
L,
|
|
381
381
|
T,
|
|
382
382
|
G,
|
|
383
383
|
U,
|
|
@@ -386,21 +386,21 @@ function Le(s, e, t) {
|
|
|
386
386
|
Y,
|
|
387
387
|
n,
|
|
388
388
|
w,
|
|
389
|
-
C,
|
|
390
389
|
S,
|
|
390
|
+
C,
|
|
391
391
|
j,
|
|
392
392
|
R,
|
|
393
|
-
|
|
393
|
+
p
|
|
394
394
|
];
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class Le extends ae {
|
|
397
397
|
constructor(e) {
|
|
398
398
|
super(), se(
|
|
399
399
|
this,
|
|
400
400
|
e,
|
|
401
|
-
|
|
401
|
+
Pe,
|
|
402
402
|
ke,
|
|
403
|
-
|
|
403
|
+
ne,
|
|
404
404
|
{
|
|
405
405
|
endpoint: 0,
|
|
406
406
|
datasource: 1,
|
|
@@ -569,7 +569,7 @@ class Pe extends ae {
|
|
|
569
569
|
this.$$set({ mbsource: e }), l();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
ie(Le, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
573
573
|
export {
|
|
574
|
-
|
|
574
|
+
Le as default
|
|
575
575
|
};
|
package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-OIDJ7awN.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, P as i, x as de, E as fe, I as he, O as ye } from "./CasinoCalendar-BYhP1252.js";
|
|
2
|
+
import "./CasinoFavoritesSection-B74AEiJU.js";
|
|
3
|
+
function V(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
7
7
|
te.set(s);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Z = {
|
|
10
10
|
en: {
|
|
11
11
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
12
|
},
|
|
@@ -33,13 +33,13 @@ const V = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
le(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
40
40
|
return {
|
|
41
41
|
c() {
|
|
42
|
-
e =
|
|
42
|
+
e = P("casino-games-category-section"), i(
|
|
43
43
|
e,
|
|
44
44
|
"session",
|
|
45
45
|
/*session*/
|
|
@@ -132,7 +132,7 @@ function we(s) {
|
|
|
132
132
|
);
|
|
133
133
|
},
|
|
134
134
|
m(t, n) {
|
|
135
|
-
|
|
135
|
+
M(t, e, n);
|
|
136
136
|
},
|
|
137
137
|
p(t, n) {
|
|
138
138
|
n[0] & /*session*/
|
|
@@ -246,7 +246,7 @@ function we(s) {
|
|
|
246
246
|
);
|
|
247
247
|
},
|
|
248
248
|
d(t) {
|
|
249
|
-
t &&
|
|
249
|
+
t && D(e);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
}
|
|
@@ -257,18 +257,18 @@ function _e(s) {
|
|
|
257
257
|
), n;
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
260
|
-
e =
|
|
260
|
+
e = P("p"), n = de(t), A(e, "class", "SearchLoading");
|
|
261
261
|
},
|
|
262
262
|
m(o, r) {
|
|
263
|
-
|
|
263
|
+
M(o, e, r), B(e, n);
|
|
264
264
|
},
|
|
265
265
|
p(o, r) {
|
|
266
266
|
r[0] & /*$_*/
|
|
267
267
|
1048576 && t !== (t = /*$_*/
|
|
268
|
-
o[20]("noRecentGames") + "") &&
|
|
268
|
+
o[20]("noRecentGames") + "") && fe(n, t);
|
|
269
269
|
},
|
|
270
270
|
d(o) {
|
|
271
|
-
o &&
|
|
271
|
+
o && D(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -283,10 +283,10 @@ function ke(s) {
|
|
|
283
283
|
let o = n(s), r = o(s);
|
|
284
284
|
return {
|
|
285
285
|
c() {
|
|
286
|
-
e =
|
|
286
|
+
e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
287
287
|
},
|
|
288
288
|
m(m, d) {
|
|
289
|
-
|
|
289
|
+
M(m, e, d), B(e, t), r.m(t, null), s[26](e);
|
|
290
290
|
},
|
|
291
291
|
p(m, d) {
|
|
292
292
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
|
|
@@ -294,29 +294,29 @@ function ke(s) {
|
|
|
294
294
|
i: H,
|
|
295
295
|
o: H,
|
|
296
296
|
d(m) {
|
|
297
|
-
m &&
|
|
297
|
+
m && D(e), r.d(), s[26](null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Pe(s, e, t) {
|
|
302
302
|
let n;
|
|
303
|
-
|
|
304
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session:
|
|
303
|
+
re(s, he, (a) => t(20, n = a));
|
|
304
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: O = "" } = e, { visiblegames: L = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], I, f;
|
|
305
305
|
const Q = () => {
|
|
306
306
|
fetch(w).then((g) => g.json()).then((g) => {
|
|
307
307
|
Object.keys(g).forEach((u) => {
|
|
308
|
-
|
|
308
|
+
V(u, g[u]);
|
|
309
309
|
});
|
|
310
310
|
}).catch((g) => {
|
|
311
311
|
console.log(g);
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
|
-
Object.keys(
|
|
315
|
-
|
|
314
|
+
Object.keys(Z).forEach((a) => {
|
|
315
|
+
V(a, Z[a]);
|
|
316
316
|
});
|
|
317
317
|
const W = () => new Promise((a, g) => {
|
|
318
318
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
319
|
-
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order",
|
|
319
|
+
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
320
320
|
c.items = c.items.filter(($) => {
|
|
321
321
|
let J = !0;
|
|
322
322
|
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
@@ -338,46 +338,46 @@ function Le(s, e, t) {
|
|
|
338
338
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
339
339
|
h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
|
|
340
340
|
}), Promise.all(g).then((u) => {
|
|
341
|
-
k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(
|
|
341
|
+
k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(L))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
342
342
|
});
|
|
343
343
|
} else
|
|
344
344
|
t(19, Y = !0);
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, x = () => {
|
|
347
347
|
be(d);
|
|
348
348
|
};
|
|
349
|
-
|
|
349
|
+
oe(() => () => {
|
|
350
350
|
});
|
|
351
|
-
function
|
|
352
|
-
|
|
351
|
+
function p(a) {
|
|
352
|
+
ce[a ? "unshift" : "push"](() => {
|
|
353
353
|
f = a, t(18, f);
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
return s.$$set = (a) => {
|
|
357
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4,
|
|
357
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, N = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, L = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
|
|
358
358
|
}, s.$$.update = () => {
|
|
359
359
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
360
360
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
361
361
|
2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
|
-
262208 && b && f &&
|
|
363
|
-
262272 && v && f &&
|
|
364
|
-
393216 && f &&
|
|
365
|
-
8 && d &&
|
|
362
|
+
262208 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
|
+
262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
364
|
+
393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
|
|
365
|
+
8 && d && x();
|
|
366
366
|
}, [
|
|
367
367
|
o,
|
|
368
368
|
r,
|
|
369
369
|
m,
|
|
370
370
|
d,
|
|
371
|
-
|
|
371
|
+
E,
|
|
372
372
|
y,
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
_,
|
|
376
|
-
|
|
376
|
+
z,
|
|
377
377
|
F,
|
|
378
|
+
N,
|
|
378
379
|
O,
|
|
379
|
-
|
|
380
|
-
P,
|
|
380
|
+
L,
|
|
381
381
|
T,
|
|
382
382
|
G,
|
|
383
383
|
U,
|
|
@@ -386,21 +386,21 @@ function Le(s, e, t) {
|
|
|
386
386
|
Y,
|
|
387
387
|
n,
|
|
388
388
|
w,
|
|
389
|
-
C,
|
|
390
389
|
S,
|
|
390
|
+
C,
|
|
391
391
|
j,
|
|
392
392
|
R,
|
|
393
|
-
|
|
393
|
+
p
|
|
394
394
|
];
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class Le extends ae {
|
|
397
397
|
constructor(e) {
|
|
398
398
|
super(), se(
|
|
399
399
|
this,
|
|
400
400
|
e,
|
|
401
|
-
|
|
401
|
+
Pe,
|
|
402
402
|
ke,
|
|
403
|
-
|
|
403
|
+
ne,
|
|
404
404
|
{
|
|
405
405
|
endpoint: 0,
|
|
406
406
|
datasource: 1,
|
|
@@ -569,7 +569,7 @@ class Pe extends ae {
|
|
|
569
569
|
this.$$set({ mbsource: e }), l();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
ie(Le, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
573
573
|
export {
|
|
574
|
-
|
|
574
|
+
Le as default
|
|
575
575
|
};
|