@everymatrix/casino-lobby 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-DvsJjQR1.js → CasinoCalendar-BsOWkLVp.js} +837 -858
- package/components/{CasinoCalendar-DhXVMCwY.js → CasinoCalendar-RmQ6YNrd.js} +1010 -1031
- package/components/CasinoCalendar-wYGJExu0.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-CwCMdOjj.cjs → CasinoCalendarDailyDetails-CIDfmzEU.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-vDlTL1Mz.js → CasinoCalendarDailyDetails-CZvv-VEw.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-3oURZ5eN.js → CasinoCalendarDailyDetails-CgySlNqk.js} +38 -38
- package/components/{CasinoCalendarDailyItem-C73xrNhc.js → CasinoCalendarDailyItem-6fstg8rl.js} +34 -34
- package/components/{CasinoCalendarDailyItem-B_wuJUTQ.cjs → CasinoCalendarDailyItem-BofIs4hH.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-AfCjN4cZ.js → CasinoCalendarDailyItem-Bqhwdp9N.js} +34 -34
- package/components/{CasinoCategoriesSlider-wQphiOTZ.js → CasinoCategoriesSlider-BrMd9akG.js} +73 -73
- package/components/CasinoCategoriesSlider-DXG58TlK.cjs +1 -0
- package/components/{CasinoCategoriesSlider-CyDPRdsd.js → CasinoCategoriesSlider-rcQ6H4dN.js} +72 -72
- package/components/{CasinoCollectionsProviders-BeXo3fMU.cjs → CasinoCollectionsProviders-Iwvjux90.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-y8DOcY5N.js → CasinoCollectionsProviders-RmY6DCmf.js} +77 -77
- package/components/{CasinoCollectionsProviders-DdKrem8d.js → CasinoCollectionsProviders-X_gMs4dQ.js} +64 -64
- package/components/{CasinoFavoritesSection-1S2Lz3SW.js → CasinoFavoritesSection-D1C6HI9v.js} +17 -17
- package/components/{CasinoFavoritesSection-DQujG-Lp.cjs → CasinoFavoritesSection-Db99Uv7P.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CnbnFYOu.js → CasinoFavoritesSection-b-j22ATa.js} +17 -17
- package/components/{CasinoFilter-Cse_ikkf.js → CasinoFilter-BG-xQ7Z9.js} +244 -243
- package/components/{CasinoFilter-BpDGbk8K.js → CasinoFilter-Czto4aq6.js} +228 -229
- package/components/CasinoFilter-DSxqwRvu.cjs +1 -0
- package/components/CasinoGameThumbnail-0cRYBNZ8.cjs +47 -0
- package/components/{CasinoGameThumbnail-IDaFl1Xu.js → CasinoGameThumbnail-CeT997Kx.js} +762 -778
- package/components/{CasinoGameThumbnail-w3iktaO3.js → CasinoGameThumbnail-MrOCBFNA.js} +1269 -1253
- package/components/{CasinoGamesCategorySection-7SaTNcrq.cjs → CasinoGamesCategorySection-C8xeG4sY.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DBwkLn0s.js → CasinoGamesCategorySection-CxiyhVqf.js} +246 -246
- package/components/{CasinoGamesCategorySection-CXpdNAsb.js → CasinoGamesCategorySection-Dk6YpheO.js} +249 -249
- package/components/{CasinoJackpotBanner-BdsQyC0k.js → CasinoJackpotBanner-CUP2An9A.js} +113 -113
- package/components/{CasinoJackpotBanner-Drezj591.cjs → CasinoJackpotBanner-CpGio5N4.cjs} +1 -1
- package/components/{CasinoJackpotBanner-C-kNRiwQ.js → CasinoJackpotBanner-g0X8UAFW.js} +119 -119
- package/components/{CasinoLastPlayedSection-BTbqG2PY.js → CasinoLastPlayedSection-B668qxot.js} +37 -37
- package/components/{CasinoLastPlayedSection-B2mAuumq.js → CasinoLastPlayedSection-D_0OBhSj.js} +37 -37
- package/components/{CasinoLastPlayedSection-B1jO-mOv.cjs → CasinoLastPlayedSection-lO1pohBq.cjs} +1 -1
- package/components/{CasinoLobby-B9wH9ODi.js → CasinoLobby-BaQGWp9s.js} +56 -56
- package/components/{CasinoLobby-Pkj77WT7.js → CasinoLobby-DwdNm6xo.js} +57 -57
- package/components/{CasinoLobby-DZJ49SFm.cjs → CasinoLobby-lkQTAmN7.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BxyvkBdO.cjs → CasinoMostPlayedSection-87nEdbm3.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B6pGhulE.js → CasinoMostPlayedSection-C5gy3zyh.js} +46 -46
- package/components/{CasinoMostPlayedSection-BVOuvFg1.js → CasinoMostPlayedSection-CGXfghDB.js} +46 -46
- package/components/{CasinoMyGames-DgK12Kjb.cjs → CasinoMyGames-B4eUiwD2.cjs} +1 -1
- package/components/{CasinoMyGames-j_rSFYAE.js → CasinoMyGames-BC98Tqse.js} +39 -39
- package/components/{CasinoMyGames-CHFQjUsl.js → CasinoMyGames-BkWFi0SD.js} +42 -42
- package/components/{CasinoPage-DQ1ECUsI.cjs → CasinoPage-CJXFGWAG.cjs} +1 -1
- package/components/{CasinoPage-DGeCLgVG.js → CasinoPage-DCj9ufQS.js} +116 -116
- package/components/{CasinoPage-CRbyYPXJ.js → CasinoPage-mW7N_X4p.js} +103 -103
- package/components/{CasinoRandomGame-JXGClzjo.js → CasinoRandomGame-BOlMftfW.js} +56 -56
- package/components/{CasinoRandomGame-CVuu5ndq.js → CasinoRandomGame-BPoQwGvz.js} +57 -57
- package/components/{CasinoRandomGame-D5chJotN.cjs → CasinoRandomGame-CP2us9wQ.cjs} +1 -1
- package/components/{CasinoSearch-BI_uT3Jw.js → CasinoSearch-CxY1btEF.js} +95 -95
- package/components/{CasinoSearch-CjrWH3EK.js → CasinoSearch-DYeI3pnX.js} +98 -98
- package/components/{CasinoSearch-DZearjM7.cjs → CasinoSearch-_PkKs4Jp.cjs} +1 -1
- package/components/{CasinoSlider-DuMX9oX9.cjs → CasinoSlider-CKrkEFp2.cjs} +1 -1
- package/components/{CasinoSlider-CfPkPPxf.js → CasinoSlider-D5pUgU6y.js} +68 -68
- package/components/{CasinoSlider-CkpttSpp.js → CasinoSlider-mFk7hXGi.js} +95 -95
- package/components/{CasinoSort-CCMi6HF8.js → CasinoSort-Bu7GAVyk.js} +102 -103
- package/components/{CasinoSort-CqxfyCdK.js → CasinoSort-CR3_Z1HP.js} +112 -111
- package/components/{CasinoSort-CC01PnsE.cjs → CasinoSort-DnffDijG.cjs} +1 -1
- package/components/{CasinoWinners-Ds56SsB_.js → CasinoWinners-BHsWULT4.js} +152 -152
- package/components/{CasinoWinners-1QrrbKud.js → CasinoWinners-BTigQx6l.js} +145 -145
- package/components/{CasinoWinners-HiCSUdE4.cjs → CasinoWinners-CgGvis-Q.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CqQ45vZj.js → GeneralAnimationLoading-BYX0Qvf2.js} +16 -16
- package/components/{GeneralAnimationLoading-TrHgy3kz.cjs → GeneralAnimationLoading-CB353I6v.cjs} +1 -1
- package/components/{GeneralAnimationLoading-OUo50Aas.js → GeneralAnimationLoading-DkDspmaZ.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-Dkk0BTsb.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
- package/stencil/{casino-play-random-game-C0BJMsSD.js → casino-play-random-game-qroM0e64.js} +2 -2
- package/stencil/{casino-play-random-game-BLl4u8GF.js → casino-play-random-game-uBjWXXLi.js} +2 -2
- package/stencil/index-97d17652-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/index-ab3202d6-CSUArOSv.js +559 -0
- package/stencil/index-ab3202d6-CoRS04SH.js +575 -0
- package/stencil/index-ab3202d6-DitihRZv.cjs +1 -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-BGKMDvh6.js → ui-image-BAqS-hS6.js} +1 -1
- package/stencil/{ui-image-D8iqM9v9.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
- package/stencil/{ui-image-2AZlMiHS.js → ui-image-I_uR7pAI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-_K8Pt3w9.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-AXQVreyU.cjs +0 -19
- package/components/CasinoCategoriesSlider-DwkYkIgL.cjs +0 -1
- package/components/CasinoFilter-_UA3RCLF.cjs +0 -1
- package/components/CasinoGameThumbnail-BMHMTqRz.cjs +0 -47
- package/stencil/index-97d17652-B0NIExnR.js +0 -558
- package/stencil/index-97d17652-D6HPqRtr.js +0 -542
- package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
- package/stencil/index-ab3202d6-CZKlrnZf.js +0 -559
- package/stencil/index-ab3202d6-ClDKsCJv.js +0 -575
- package/stencil/index-ab3202d6-DFbwTHas.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/{CasinoLastPlayedSection-BTbqG2PY.js → CasinoLastPlayedSection-B668qxot.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 L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-RmQ6YNrd.js";
|
|
2
|
+
import "./CasinoFavoritesSection-D1C6HI9v.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,7 +33,7 @@ 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;
|
|
@@ -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 = L("p"), n =
|
|
260
|
+
e = L("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
|
}
|
|
@@ -286,40 +286,40 @@ function ke(s) {
|
|
|
286
286
|
e = L("div"), t = L("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)));
|
|
293
293
|
},
|
|
294
|
-
i:
|
|
295
|
-
o:
|
|
294
|
+
i: I,
|
|
295
|
+
o: I,
|
|
296
296
|
d(m) {
|
|
297
|
-
m &&
|
|
297
|
+
m && D(e), r.d(), s[26](null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function Le(s, e, t) {
|
|
302
302
|
let n;
|
|
303
|
-
|
|
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:
|
|
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: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = 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 = [], J, 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"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
|
|
320
320
|
c.items = c.items.filter(($) => {
|
|
321
|
-
let
|
|
322
|
-
return $.gameCode == "OddsMatrix2" && (c.count--,
|
|
321
|
+
let H = !0;
|
|
322
|
+
return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
|
|
323
323
|
}), a(c), window.postMessage(
|
|
324
324
|
{
|
|
325
325
|
type: "AddNewCategory",
|
|
@@ -343,26 +343,26 @@ function Le(s, e, t) {
|
|
|
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, 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,
|
|
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, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, F = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = 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,
|
|
@@ -373,9 +373,9 @@ function Le(s, e, t) {
|
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
_,
|
|
376
|
-
F,
|
|
377
376
|
N,
|
|
378
377
|
z,
|
|
378
|
+
F,
|
|
379
379
|
O,
|
|
380
380
|
P,
|
|
381
381
|
T,
|
|
@@ -386,11 +386,11 @@ 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
396
|
class Pe extends ae {
|
|
@@ -400,7 +400,7 @@ class Pe extends ae {
|
|
|
400
400
|
e,
|
|
401
401
|
Le,
|
|
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(Pe, { 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
|
Pe as default
|
|
575
575
|
};
|
package/components/{CasinoLastPlayedSection-B2mAuumq.js → CasinoLastPlayedSection-D_0OBhSj.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 L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-BsOWkLVp.js";
|
|
2
|
+
import "./CasinoFavoritesSection-b-j22ATa.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,7 +33,7 @@ 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;
|
|
@@ -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 = L("p"), n =
|
|
260
|
+
e = L("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
|
}
|
|
@@ -286,40 +286,40 @@ function ke(s) {
|
|
|
286
286
|
e = L("div"), t = L("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)));
|
|
293
293
|
},
|
|
294
|
-
i:
|
|
295
|
-
o:
|
|
294
|
+
i: I,
|
|
295
|
+
o: I,
|
|
296
296
|
d(m) {
|
|
297
|
-
m &&
|
|
297
|
+
m && D(e), r.d(), s[26](null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function Le(s, e, t) {
|
|
302
302
|
let n;
|
|
303
|
-
|
|
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:
|
|
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: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = 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 = [], J, 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"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
|
|
320
320
|
c.items = c.items.filter(($) => {
|
|
321
|
-
let
|
|
322
|
-
return $.gameCode == "OddsMatrix2" && (c.count--,
|
|
321
|
+
let H = !0;
|
|
322
|
+
return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
|
|
323
323
|
}), a(c), window.postMessage(
|
|
324
324
|
{
|
|
325
325
|
type: "AddNewCategory",
|
|
@@ -343,26 +343,26 @@ function Le(s, e, t) {
|
|
|
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, 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,
|
|
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, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, F = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = 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,
|
|
@@ -373,9 +373,9 @@ function Le(s, e, t) {
|
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
_,
|
|
376
|
-
F,
|
|
377
376
|
N,
|
|
378
377
|
z,
|
|
378
|
+
F,
|
|
379
379
|
O,
|
|
380
380
|
P,
|
|
381
381
|
T,
|
|
@@ -386,11 +386,11 @@ 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
396
|
class Pe extends ae {
|
|
@@ -400,7 +400,7 @@ class Pe extends ae {
|
|
|
400
400
|
e,
|
|
401
401
|
Le,
|
|
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(Pe, { 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
|
Pe as default
|
|
575
575
|
};
|
package/components/{CasinoLastPlayedSection-B1jO-mOv.cjs → CasinoLastPlayedSection-lO1pohBq.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-AXQVreyU.cjs");require("./CasinoFavoritesSection-DQujG-Lp.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"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))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-wYGJExu0.cjs");require("./CasinoFavoritesSection-Db99Uv7P.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"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))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|