@everymatrix/casino-lobby 1.94.113 → 1.94.115
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-DVcPRo_u.js → CasinoCalendar-BSSrHXNQ.js} +4 -4
- package/components/{CasinoCalendar-BXvfEoIw.js → CasinoCalendar-BjySUHyZ.js} +17 -17
- package/components/{CasinoCalendar-DVcLQ7L7.cjs → CasinoCalendar-CPSaANk_.cjs} +2 -2
- package/components/{CasinoCalendarDailyDetails-CvwYgkF-.js → CasinoCalendarDailyDetails-BoDKzZAL.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-GkJZhCMM.js → CasinoCalendarDailyDetails-DhX-usiB.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-BfIli_AA.cjs → CasinoCalendarDailyDetails-VGdSGrVK.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-D2drOS7l.cjs → CasinoCalendarDailyItem-C3xfp-OS.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BJIqQwPm.js → CasinoCalendarDailyItem-CA5M4JX2.js} +2 -2
- package/components/{CasinoCalendarDailyItem-DDfOE3Kh.js → CasinoCalendarDailyItem-CMjiC6kY.js} +2 -2
- package/components/{CasinoCategoriesSlider-BgvID_By.cjs → CasinoCategoriesSlider-BTw-gZW4.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-B_h-qaMt.js → CasinoCategoriesSlider-DEc0M4Jn.js} +2 -2
- package/components/{CasinoCategoriesSlider-B-3Ima-R.js → CasinoCategoriesSlider-DmIIvJxr.js} +2 -2
- package/components/{CasinoCollectionsProviders-KIiljAsY.cjs → CasinoCollectionsProviders-BX2V3tDm.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Dgs8Og2Y.js → CasinoCollectionsProviders-Bk2Q_dKh.js} +1 -1
- package/components/{CasinoCollectionsProviders-B57Ptt-X.js → CasinoCollectionsProviders-CmZnRhGO.js} +1 -1
- package/components/{CasinoFavoritesSection-yi6FSchQ.js → CasinoFavoritesSection-B5IloH92.js} +2 -2
- package/components/{CasinoFavoritesSection-CVHGr7Mw.cjs → CasinoFavoritesSection-DE_s0gS_.cjs} +1 -1
- package/components/{CasinoFavoritesSection-B_v_E83y.js → CasinoFavoritesSection-NizzPczK.js} +2 -2
- package/components/{CasinoFilter-CgzM_O4f.js → CasinoFilter-C4hPyQNk.js} +1 -1
- package/components/{CasinoFilter-D7aDTGx9.cjs → CasinoFilter-CFym68mv.cjs} +1 -1
- package/components/{CasinoFilter-CZvBafRA.js → CasinoFilter-UrtcDtAa.js} +1 -1
- package/components/{CasinoGameThumbnail-DNNKQjcx.js → CasinoGameThumbnail-Cu4ldhfo.js} +3 -3
- package/components/{CasinoGameThumbnail-CAuANFf_.cjs → CasinoGameThumbnail-Dg2U96dy.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Yg8ErMNy.js → CasinoGameThumbnail-DkOf6fv3.js} +3 -3
- package/components/{CasinoGamesCategorySection-CNZYqrc-.cjs → CasinoGamesCategorySection-BMVgv-gE.cjs} +2 -2
- package/components/{CasinoGamesCategorySection-DISW2U9O.js → CasinoGamesCategorySection-C6V4Owht.js} +4 -4
- package/components/{CasinoGamesCategorySection-CEA7wun9.js → CasinoGamesCategorySection-xB7lSgTz.js} +4 -4
- package/components/{CasinoJackpotBanner-BIhalKSt.cjs → CasinoJackpotBanner-Cmi7j_9o.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DrdS8dax.js → CasinoJackpotBanner-Czp2f53o.js} +2 -2
- package/components/{CasinoJackpotBanner-9IthYU25.js → CasinoJackpotBanner-g0vrCtzB.js} +2 -2
- package/components/{CasinoLastPlayedSection-XwTAS2c1.js → CasinoLastPlayedSection-BeXbhcJS.js} +2 -2
- package/components/{CasinoLastPlayedSection-BVD7Hxb_.js → CasinoLastPlayedSection-DIOQytk1.js} +2 -2
- package/components/{CasinoLastPlayedSection-CGwZHr5P.cjs → CasinoLastPlayedSection-eVskdQwE.cjs} +1 -1
- package/components/{CasinoLobby-C25KkvZc.cjs → CasinoLobby-CTZObrkO.cjs} +1 -1
- package/components/{CasinoLobby-sLFlEjwG.js → CasinoLobby-CmAf2BJ4.js} +2 -2
- package/components/{CasinoLobby-CMJNGWoh.js → CasinoLobby-DlkT0ycq.js} +2 -2
- package/components/{CasinoMostPlayedSection-BcMhTfD-.js → CasinoMostPlayedSection-BdNavRAR.js} +44 -42
- package/components/{CasinoMostPlayedSection-D0h8KIwb.js → CasinoMostPlayedSection-CsYfyBz6.js} +44 -42
- package/components/CasinoMostPlayedSection-D08L25CV.cjs +1 -0
- package/components/{CasinoMyGames-um1WOcfO.cjs → CasinoMyGames-BkZPnCAU.cjs} +1 -1
- package/components/{CasinoMyGames-BNpabEQy.js → CasinoMyGames-DXHLKn-b.js} +4 -4
- package/components/{CasinoMyGames-CA9Z9n2Y.js → CasinoMyGames-DquSH-8S.js} +4 -4
- package/components/{CasinoPage-DeKu31ab.js → CasinoPage-6DlUJdNB.js} +12 -12
- package/components/{CasinoPage-BTu5ttuD.js → CasinoPage-BMNjtSeY.js} +12 -12
- package/components/{CasinoPage-D9OCJV8s.cjs → CasinoPage-Z_i9BoVq.cjs} +1 -1
- package/components/{CasinoRandomGame-CVfk4pbZ.js → CasinoRandomGame-CZbhowv3.js} +1 -1
- package/components/{CasinoRandomGame-Cc5_MPh5.js → CasinoRandomGame-CmSz_YAA.js} +1 -1
- package/components/{CasinoRandomGame-Bnq_6_FF.cjs → CasinoRandomGame-sGQ_8-fH.cjs} +1 -1
- package/components/{CasinoSearch-D1KpWB-7.cjs → CasinoSearch-DDc1Do7_.cjs} +1 -1
- package/components/{CasinoSearch-BtA3V3f5.js → CasinoSearch-DaPqNPP0.js} +3 -3
- package/components/{CasinoSearch-kzayyZlM.js → CasinoSearch-YX2fRFUd.js} +3 -3
- package/components/{CasinoSlider-YRYhDg-K.js → CasinoSlider-BtDxtbI7.js} +1 -1
- package/components/{CasinoSlider-C8MdHH0y.js → CasinoSlider-C2_jk1q5.js} +1 -1
- package/components/{CasinoSlider-DYQFD4el.cjs → CasinoSlider-Cz1PnHTs.cjs} +1 -1
- package/components/{CasinoSort-DWEJhUOQ.js → CasinoSort-8w8Vz2RT.js} +1 -1
- package/components/{CasinoSort-D05dFWFO.cjs → CasinoSort-RSvZK7cN.cjs} +1 -1
- package/components/{CasinoSort-BSRs7fCY.js → CasinoSort-k10aVq_3.js} +1 -1
- package/components/{CasinoWinners-BG5c0_SH.cjs → CasinoWinners-BO86kYDi.cjs} +1 -1
- package/components/{CasinoWinners-Cx57FKjt.js → CasinoWinners-CYwfUKUr.js} +2 -2
- package/components/{CasinoWinners-nx0m0Pur.js → CasinoWinners-Ck4zkyiP.js} +2 -2
- package/components/{GeneralAnimationLoading-CHAXmLkt.cjs → GeneralAnimationLoading-BqJ_ozRW.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BBH5wTSk.js → GeneralAnimationLoading-CULwno4n.js} +1 -1
- package/components/{GeneralAnimationLoading-CxRv2hHa.js → GeneralAnimationLoading-XCOgxsu9.js} +1 -1
- 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-D7Gr9Smx.js → casino-play-random-game-BZvQcwmI.js} +1 -1
- package/stencil/{casino-play-random-game-CuVBTwWf.cjs → casino-play-random-game-CU27nwc3.cjs} +1 -1
- package/stencil/{casino-play-random-game-DvAQkCON.js → casino-play-random-game-kxhDUKEQ.js} +1 -1
- package/stencil/{casino-play-random-game_2-CSLfErGM.js → casino-play-random-game_2-Bf35wiL3.js} +1 -1
- package/stencil/{casino-play-random-game_2-ChZ7dNoq.cjs → casino-play-random-game_2-BsDiR4__.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-C0Z0uKIu.js → casino-play-random-game_2-RzA6u_oV.js} +1 -1
- package/stencil/index-328e660d-26xupJLF.cjs +1 -0
- package/stencil/index-328e660d-BQWT7GHQ.js +560 -0
- package/stencil/index-328e660d-CH9p2kzU.js +576 -0
- package/stencil/{index-97d17652-Ce2P8K1l.js → index-97d17652-B6BYeRne.js} +170 -176
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-BYDm8FOU.cjs +1 -0
- package/stencil/index-b2193545-CVvOSay7.js +519 -0
- package/stencil/index-b2193545-DkSkdO8p.js +503 -0
- package/stencil/{ui-image-C0501mue.cjs → ui-image-BNLichPz.cjs} +1 -1
- package/stencil/{ui-image-BSZFyV-S.js → ui-image-D8_P6p7o.js} +1 -1
- package/stencil/{ui-image-D6j_u98T.js → ui-image-KAOdlRk_.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CEPR_2Zl.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DdUCzkcr.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CynWE8qT.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-N1zHirfP.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-C0sJC5CL.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-Do1rIyeJ.js → ui-image_2-Daq38JGa.js} +2 -2
- package/stencil/{ui-skeleton-DJ-5nbfp.js → ui-skeleton-CbcQXFpx.js} +2 -2
- package/stencil/{ui-skeleton-Cv83ir7R.js → ui-skeleton-DgkQtSrH.js} +2 -2
- package/stencil/{ui-skeleton-C3bxkPuL.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BLQYU5hh.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bu2qkh_n.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BKnEgS1i.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
- package/components/CasinoMostPlayedSection-MlFICa6q.cjs +0 -1
- package/stencil/index-328e660d-Chmlsf5X.cjs +0 -1
- package/stencil/index-328e660d-Cm2nvvc2.js +0 -569
- package/stencil/index-328e660d-Dal_PHmU.js +0 -553
- package/stencil/index-97d17652-BeQGJyxy.js +0 -532
- package/stencil/index-97d17652-QrAXVnlo.cjs +0 -1
- package/stencil/index-b2193545-Cqothb8h.cjs +0 -1
- package/stencil/index-b2193545-DVd_LeME.js +0 -509
- package/stencil/index-b2193545-DwYEVBYH.js +0 -493
package/components/{CasinoMostPlayedSection-BcMhTfD-.js → CasinoMostPlayedSection-BdNavRAR.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ee, v as te, S as se, i as ae, s as ne, f as
|
|
2
|
-
import "./CasinoPage-
|
|
1
|
+
import { a as ee, v as te, S as se, i as ae, s as ne, f as l, b as ie, n as Y, d as A, c as E, m as K, e as P, k as M, g as oe, o as le, h as re, j as me, E as ge, F as ce, l as n, p as ue, q as de, r as fe, t as he, $ as ye } from "./CasinoLobby-CmAf2BJ4.js";
|
|
2
|
+
import "./CasinoPage-BMNjtSeY.js";
|
|
3
3
|
function B(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
@@ -344,12 +344,12 @@ function Ge(a, e, s) {
|
|
|
344
344
|
oe(a, ye, (t) => s(21, i = t));
|
|
345
345
|
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(G).then((
|
|
348
|
-
Object.keys(
|
|
349
|
-
B(
|
|
347
|
+
fetch(G).then((o) => o.json()).then((o) => {
|
|
348
|
+
Object.keys(o).forEach((d) => {
|
|
349
|
+
B(d, o[d]);
|
|
350
350
|
});
|
|
351
|
-
}).catch((
|
|
352
|
-
console.log(
|
|
351
|
+
}).catch((o) => {
|
|
352
|
+
console.log(o);
|
|
353
353
|
});
|
|
354
354
|
};
|
|
355
355
|
Object.keys(H).forEach((t) => {
|
|
@@ -357,15 +357,17 @@ function Ge(a, e, s) {
|
|
|
357
357
|
});
|
|
358
358
|
let N = [], z, I = !1, u, W;
|
|
359
359
|
const X = (t) => {
|
|
360
|
-
let
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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", C);
|
|
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), z = w ? o : o.href, new Promise((f, y) => {
|
|
364
|
+
fetch(z).then((h) => h.json()).then((h) => {
|
|
365
|
+
h.items = h.items.filter(($) => {
|
|
364
366
|
let J = !0;
|
|
365
|
-
return $.gameCode == "OddsMatrix2" && (
|
|
366
|
-
}),
|
|
367
|
-
}).catch((
|
|
368
|
-
console.error(
|
|
367
|
+
return $.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
|
|
368
|
+
}), f(h);
|
|
369
|
+
}).catch((h) => {
|
|
370
|
+
console.error(h), y(h);
|
|
369
371
|
});
|
|
370
372
|
});
|
|
371
373
|
}, Z = () => {
|
|
@@ -375,12 +377,12 @@ function Ge(a, e, s) {
|
|
|
375
377
|
rounds: L
|
|
376
378
|
}).then((t) => {
|
|
377
379
|
if (t.count > 0) {
|
|
378
|
-
let
|
|
379
|
-
t.items.forEach((
|
|
380
|
-
let
|
|
381
|
-
|
|
382
|
-
}), Promise.all(
|
|
383
|
-
N =
|
|
380
|
+
let o = [];
|
|
381
|
+
t.items.forEach((d) => {
|
|
382
|
+
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
+
f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
|
+
}), Promise.all(o).then((d) => {
|
|
385
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
384
386
|
});
|
|
385
387
|
} else
|
|
386
388
|
s(20, I = !0);
|
|
@@ -472,127 +474,127 @@ class Ne extends se {
|
|
|
472
474
|
return this.$$.ctx[0];
|
|
473
475
|
}
|
|
474
476
|
set endpoint(e) {
|
|
475
|
-
this.$$set({ endpoint: e }),
|
|
477
|
+
this.$$set({ endpoint: e }), l();
|
|
476
478
|
}
|
|
477
479
|
get datasource() {
|
|
478
480
|
return this.$$.ctx[1];
|
|
479
481
|
}
|
|
480
482
|
set datasource(e) {
|
|
481
|
-
this.$$set({ datasource: e }),
|
|
483
|
+
this.$$set({ datasource: e }), l();
|
|
482
484
|
}
|
|
483
485
|
get currency() {
|
|
484
486
|
return this.$$.ctx[2];
|
|
485
487
|
}
|
|
486
488
|
set currency(e) {
|
|
487
|
-
this.$$set({ currency: e }),
|
|
489
|
+
this.$$set({ currency: e }), l();
|
|
488
490
|
}
|
|
489
491
|
get lang() {
|
|
490
492
|
return this.$$.ctx[3];
|
|
491
493
|
}
|
|
492
494
|
set lang(e) {
|
|
493
|
-
this.$$set({ lang: e }),
|
|
495
|
+
this.$$set({ lang: e }), l();
|
|
494
496
|
}
|
|
495
497
|
get session() {
|
|
496
498
|
return this.$$.ctx[4];
|
|
497
499
|
}
|
|
498
500
|
set session(e) {
|
|
499
|
-
this.$$set({ session: e }),
|
|
501
|
+
this.$$set({ session: e }), l();
|
|
500
502
|
}
|
|
501
503
|
get userid() {
|
|
502
504
|
return this.$$.ctx[5];
|
|
503
505
|
}
|
|
504
506
|
set userid(e) {
|
|
505
|
-
this.$$set({ userid: e }),
|
|
507
|
+
this.$$set({ userid: e }), l();
|
|
506
508
|
}
|
|
507
509
|
get mbsource() {
|
|
508
510
|
return this.$$.ctx[6];
|
|
509
511
|
}
|
|
510
512
|
set mbsource(e) {
|
|
511
|
-
this.$$set({ mbsource: e }),
|
|
513
|
+
this.$$set({ mbsource: e }), l();
|
|
512
514
|
}
|
|
513
515
|
get clientstyling() {
|
|
514
516
|
return this.$$.ctx[7];
|
|
515
517
|
}
|
|
516
518
|
set clientstyling(e) {
|
|
517
|
-
this.$$set({ clientstyling: e }),
|
|
519
|
+
this.$$set({ clientstyling: e }), l();
|
|
518
520
|
}
|
|
519
521
|
get clientstylingurl() {
|
|
520
522
|
return this.$$.ctx[8];
|
|
521
523
|
}
|
|
522
524
|
set clientstylingurl(e) {
|
|
523
|
-
this.$$set({ clientstylingurl: e }),
|
|
525
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
524
526
|
}
|
|
525
527
|
get livecasino() {
|
|
526
528
|
return this.$$.ctx[9];
|
|
527
529
|
}
|
|
528
530
|
set livecasino(e) {
|
|
529
|
-
this.$$set({ livecasino: e }),
|
|
531
|
+
this.$$set({ livecasino: e }), l();
|
|
530
532
|
}
|
|
531
533
|
get integratedgameframemobile() {
|
|
532
534
|
return this.$$.ctx[10];
|
|
533
535
|
}
|
|
534
536
|
set integratedgameframemobile(e) {
|
|
535
|
-
this.$$set({ integratedgameframemobile: e }),
|
|
537
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
536
538
|
}
|
|
537
539
|
get integratedgameframedesktop() {
|
|
538
540
|
return this.$$.ctx[11];
|
|
539
541
|
}
|
|
540
542
|
set integratedgameframedesktop(e) {
|
|
541
|
-
this.$$set({ integratedgameframedesktop: e }),
|
|
543
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
542
544
|
}
|
|
543
545
|
get gamepagemodalurl() {
|
|
544
546
|
return this.$$.ctx[12];
|
|
545
547
|
}
|
|
546
548
|
set gamepagemodalurl(e) {
|
|
547
|
-
this.$$set({ gamepagemodalurl: e }),
|
|
549
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
548
550
|
}
|
|
549
551
|
get showgamename() {
|
|
550
552
|
return this.$$.ctx[13];
|
|
551
553
|
}
|
|
552
554
|
set showgamename(e) {
|
|
553
|
-
this.$$set({ showgamename: e }),
|
|
555
|
+
this.$$set({ showgamename: e }), l();
|
|
554
556
|
}
|
|
555
557
|
get visiblegames() {
|
|
556
558
|
return this.$$.ctx[14];
|
|
557
559
|
}
|
|
558
560
|
set visiblegames(e) {
|
|
559
|
-
this.$$set({ visiblegames: e }),
|
|
561
|
+
this.$$set({ visiblegames: e }), l();
|
|
560
562
|
}
|
|
561
563
|
get favorites() {
|
|
562
564
|
return this.$$.ctx[15];
|
|
563
565
|
}
|
|
564
566
|
set favorites(e) {
|
|
565
|
-
this.$$set({ favorites: e }),
|
|
567
|
+
this.$$set({ favorites: e }), l();
|
|
566
568
|
}
|
|
567
569
|
get translationurl() {
|
|
568
570
|
return this.$$.ctx[16];
|
|
569
571
|
}
|
|
570
572
|
set translationurl(e) {
|
|
571
|
-
this.$$set({ translationurl: e }),
|
|
573
|
+
this.$$set({ translationurl: e }), l();
|
|
572
574
|
}
|
|
573
575
|
get casinomygames() {
|
|
574
576
|
return this.$$.ctx[17];
|
|
575
577
|
}
|
|
576
578
|
set casinomygames(e) {
|
|
577
|
-
this.$$set({ casinomygames: e }),
|
|
579
|
+
this.$$set({ casinomygames: e }), l();
|
|
578
580
|
}
|
|
579
581
|
get mostplayedperiod() {
|
|
580
582
|
return this.$$.ctx[22];
|
|
581
583
|
}
|
|
582
584
|
set mostplayedperiod(e) {
|
|
583
|
-
this.$$set({ mostplayedperiod: e }),
|
|
585
|
+
this.$$set({ mostplayedperiod: e }), l();
|
|
584
586
|
}
|
|
585
587
|
get mostplayedrounds() {
|
|
586
588
|
return this.$$.ctx[23];
|
|
587
589
|
}
|
|
588
590
|
set mostplayedrounds(e) {
|
|
589
|
-
this.$$set({ mostplayedrounds: e }),
|
|
591
|
+
this.$$set({ mostplayedrounds: e }), l();
|
|
590
592
|
}
|
|
591
593
|
get fetchviaevent() {
|
|
592
594
|
return this.$$.ctx[18];
|
|
593
595
|
}
|
|
594
596
|
set fetchviaevent(e) {
|
|
595
|
-
this.$$set({ fetchviaevent: e }),
|
|
597
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
596
598
|
}
|
|
597
599
|
}
|
|
598
600
|
he(Ne, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
package/components/{CasinoMostPlayedSection-D0h8KIwb.js → CasinoMostPlayedSection-CsYfyBz6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ee, v as te, S as se, i as ae, s as ne, f as
|
|
2
|
-
import "./CasinoPage-
|
|
1
|
+
import { a as ee, v as te, S as se, i as ae, s as ne, f as l, b as ie, n as Y, d as A, e as E, p as K, g as P, l as M, h as oe, o as le, j as re, k as me, E as ge, F as ce, m as n, q as ue, r as de, t as fe, c as he, $ as ye } from "./CasinoLobby-DlkT0ycq.js";
|
|
2
|
+
import "./CasinoPage-6DlUJdNB.js";
|
|
3
3
|
function B(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
@@ -344,12 +344,12 @@ function Ge(a, e, s) {
|
|
|
344
344
|
oe(a, ye, (t) => s(21, i = t));
|
|
345
345
|
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(G).then((
|
|
348
|
-
Object.keys(
|
|
349
|
-
B(
|
|
347
|
+
fetch(G).then((o) => o.json()).then((o) => {
|
|
348
|
+
Object.keys(o).forEach((d) => {
|
|
349
|
+
B(d, o[d]);
|
|
350
350
|
});
|
|
351
|
-
}).catch((
|
|
352
|
-
console.log(
|
|
351
|
+
}).catch((o) => {
|
|
352
|
+
console.log(o);
|
|
353
353
|
});
|
|
354
354
|
};
|
|
355
355
|
Object.keys(H).forEach((t) => {
|
|
@@ -357,15 +357,17 @@ function Ge(a, e, s) {
|
|
|
357
357
|
});
|
|
358
358
|
let N = [], z, I = !1, u, W;
|
|
359
359
|
const X = (t) => {
|
|
360
|
-
let
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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", C);
|
|
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), z = w ? o : o.href, new Promise((f, y) => {
|
|
364
|
+
fetch(z).then((h) => h.json()).then((h) => {
|
|
365
|
+
h.items = h.items.filter(($) => {
|
|
364
366
|
let J = !0;
|
|
365
|
-
return $.gameCode == "OddsMatrix2" && (
|
|
366
|
-
}),
|
|
367
|
-
}).catch((
|
|
368
|
-
console.error(
|
|
367
|
+
return $.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
|
|
368
|
+
}), f(h);
|
|
369
|
+
}).catch((h) => {
|
|
370
|
+
console.error(h), y(h);
|
|
369
371
|
});
|
|
370
372
|
});
|
|
371
373
|
}, Z = () => {
|
|
@@ -375,12 +377,12 @@ function Ge(a, e, s) {
|
|
|
375
377
|
rounds: L
|
|
376
378
|
}).then((t) => {
|
|
377
379
|
if (t.count > 0) {
|
|
378
|
-
let
|
|
379
|
-
t.items.forEach((
|
|
380
|
-
let
|
|
381
|
-
|
|
382
|
-
}), Promise.all(
|
|
383
|
-
N =
|
|
380
|
+
let o = [];
|
|
381
|
+
t.items.forEach((d) => {
|
|
382
|
+
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
+
f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
|
+
}), Promise.all(o).then((d) => {
|
|
385
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
384
386
|
});
|
|
385
387
|
} else
|
|
386
388
|
s(20, I = !0);
|
|
@@ -472,127 +474,127 @@ class Ne extends se {
|
|
|
472
474
|
return this.$$.ctx[0];
|
|
473
475
|
}
|
|
474
476
|
set endpoint(e) {
|
|
475
|
-
this.$$set({ endpoint: e }),
|
|
477
|
+
this.$$set({ endpoint: e }), l();
|
|
476
478
|
}
|
|
477
479
|
get datasource() {
|
|
478
480
|
return this.$$.ctx[1];
|
|
479
481
|
}
|
|
480
482
|
set datasource(e) {
|
|
481
|
-
this.$$set({ datasource: e }),
|
|
483
|
+
this.$$set({ datasource: e }), l();
|
|
482
484
|
}
|
|
483
485
|
get currency() {
|
|
484
486
|
return this.$$.ctx[2];
|
|
485
487
|
}
|
|
486
488
|
set currency(e) {
|
|
487
|
-
this.$$set({ currency: e }),
|
|
489
|
+
this.$$set({ currency: e }), l();
|
|
488
490
|
}
|
|
489
491
|
get lang() {
|
|
490
492
|
return this.$$.ctx[3];
|
|
491
493
|
}
|
|
492
494
|
set lang(e) {
|
|
493
|
-
this.$$set({ lang: e }),
|
|
495
|
+
this.$$set({ lang: e }), l();
|
|
494
496
|
}
|
|
495
497
|
get session() {
|
|
496
498
|
return this.$$.ctx[4];
|
|
497
499
|
}
|
|
498
500
|
set session(e) {
|
|
499
|
-
this.$$set({ session: e }),
|
|
501
|
+
this.$$set({ session: e }), l();
|
|
500
502
|
}
|
|
501
503
|
get userid() {
|
|
502
504
|
return this.$$.ctx[5];
|
|
503
505
|
}
|
|
504
506
|
set userid(e) {
|
|
505
|
-
this.$$set({ userid: e }),
|
|
507
|
+
this.$$set({ userid: e }), l();
|
|
506
508
|
}
|
|
507
509
|
get mbsource() {
|
|
508
510
|
return this.$$.ctx[6];
|
|
509
511
|
}
|
|
510
512
|
set mbsource(e) {
|
|
511
|
-
this.$$set({ mbsource: e }),
|
|
513
|
+
this.$$set({ mbsource: e }), l();
|
|
512
514
|
}
|
|
513
515
|
get clientstyling() {
|
|
514
516
|
return this.$$.ctx[7];
|
|
515
517
|
}
|
|
516
518
|
set clientstyling(e) {
|
|
517
|
-
this.$$set({ clientstyling: e }),
|
|
519
|
+
this.$$set({ clientstyling: e }), l();
|
|
518
520
|
}
|
|
519
521
|
get clientstylingurl() {
|
|
520
522
|
return this.$$.ctx[8];
|
|
521
523
|
}
|
|
522
524
|
set clientstylingurl(e) {
|
|
523
|
-
this.$$set({ clientstylingurl: e }),
|
|
525
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
524
526
|
}
|
|
525
527
|
get livecasino() {
|
|
526
528
|
return this.$$.ctx[9];
|
|
527
529
|
}
|
|
528
530
|
set livecasino(e) {
|
|
529
|
-
this.$$set({ livecasino: e }),
|
|
531
|
+
this.$$set({ livecasino: e }), l();
|
|
530
532
|
}
|
|
531
533
|
get integratedgameframemobile() {
|
|
532
534
|
return this.$$.ctx[10];
|
|
533
535
|
}
|
|
534
536
|
set integratedgameframemobile(e) {
|
|
535
|
-
this.$$set({ integratedgameframemobile: e }),
|
|
537
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
536
538
|
}
|
|
537
539
|
get integratedgameframedesktop() {
|
|
538
540
|
return this.$$.ctx[11];
|
|
539
541
|
}
|
|
540
542
|
set integratedgameframedesktop(e) {
|
|
541
|
-
this.$$set({ integratedgameframedesktop: e }),
|
|
543
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
542
544
|
}
|
|
543
545
|
get gamepagemodalurl() {
|
|
544
546
|
return this.$$.ctx[12];
|
|
545
547
|
}
|
|
546
548
|
set gamepagemodalurl(e) {
|
|
547
|
-
this.$$set({ gamepagemodalurl: e }),
|
|
549
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
548
550
|
}
|
|
549
551
|
get showgamename() {
|
|
550
552
|
return this.$$.ctx[13];
|
|
551
553
|
}
|
|
552
554
|
set showgamename(e) {
|
|
553
|
-
this.$$set({ showgamename: e }),
|
|
555
|
+
this.$$set({ showgamename: e }), l();
|
|
554
556
|
}
|
|
555
557
|
get visiblegames() {
|
|
556
558
|
return this.$$.ctx[14];
|
|
557
559
|
}
|
|
558
560
|
set visiblegames(e) {
|
|
559
|
-
this.$$set({ visiblegames: e }),
|
|
561
|
+
this.$$set({ visiblegames: e }), l();
|
|
560
562
|
}
|
|
561
563
|
get favorites() {
|
|
562
564
|
return this.$$.ctx[15];
|
|
563
565
|
}
|
|
564
566
|
set favorites(e) {
|
|
565
|
-
this.$$set({ favorites: e }),
|
|
567
|
+
this.$$set({ favorites: e }), l();
|
|
566
568
|
}
|
|
567
569
|
get translationurl() {
|
|
568
570
|
return this.$$.ctx[16];
|
|
569
571
|
}
|
|
570
572
|
set translationurl(e) {
|
|
571
|
-
this.$$set({ translationurl: e }),
|
|
573
|
+
this.$$set({ translationurl: e }), l();
|
|
572
574
|
}
|
|
573
575
|
get casinomygames() {
|
|
574
576
|
return this.$$.ctx[17];
|
|
575
577
|
}
|
|
576
578
|
set casinomygames(e) {
|
|
577
|
-
this.$$set({ casinomygames: e }),
|
|
579
|
+
this.$$set({ casinomygames: e }), l();
|
|
578
580
|
}
|
|
579
581
|
get mostplayedperiod() {
|
|
580
582
|
return this.$$.ctx[22];
|
|
581
583
|
}
|
|
582
584
|
set mostplayedperiod(e) {
|
|
583
|
-
this.$$set({ mostplayedperiod: e }),
|
|
585
|
+
this.$$set({ mostplayedperiod: e }), l();
|
|
584
586
|
}
|
|
585
587
|
get mostplayedrounds() {
|
|
586
588
|
return this.$$.ctx[23];
|
|
587
589
|
}
|
|
588
590
|
set mostplayedrounds(e) {
|
|
589
|
-
this.$$set({ mostplayedrounds: e }),
|
|
591
|
+
this.$$set({ mostplayedrounds: e }), l();
|
|
590
592
|
}
|
|
591
593
|
get fetchviaevent() {
|
|
592
594
|
return this.$$.ctx[18];
|
|
593
595
|
}
|
|
594
596
|
set fetchviaevent(e) {
|
|
595
|
-
this.$$set({ fetchviaevent: e }),
|
|
597
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
596
598
|
}
|
|
597
599
|
}
|
|
598
600
|
he(Ne, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobby-CTZObrkO.cjs");require("./CasinoPage-Z_i9BoVq.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"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))}")}function Z(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[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),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,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",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]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:C=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:M="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:j="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c,Y;const B=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(V=>{let R=!0;return V.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},H=()=>{B({limit:100,device:t.getDevice(I),rounds:j}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},K=()=>{W(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}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,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,C=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,M=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,j=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&H(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`,Y),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&K()},[o,l,r,u,C,h,y,b,v,w,L,M,A,O,N,E,G,P,F,c,T,i,S,j,Q]}class z 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,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-C25KkvZc.cjs");function se({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function le(a){e.$locale.set(a)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-CVHGr7Mw.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-CGwZHr5P.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-MlFICa6q.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function ne(a){e.append_styles(a,"svelte-gljr2z",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function J(a,t,o){const d=a.slice();return d[43]=t[o],d}function oe(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function ie(a){let t;function o(u,n){if(u[18])return oe}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function me(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:L=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,Y,v,C="",z=!1,P=["","",""],B="0";se({withLocale:"en",translations:{}});const x=()=>{fetch(L).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{C!==m&&o(27,C=m)},H=()=>{o(27,C=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),le(l)},U=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const $=()=>E("Favorites"),ee=()=>E("MostPlayed"),te=()=>E("LastPlayed");function ae(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,L=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,S=m.mostplayedperiod),"lastplayedorder"in m&&o(21,q=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&L&&x(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`,Y)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,L,w,k,F,O,j,S,q,D,N,T,A,v,C,z,P,B,d,E,$,ee,te,ae]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,ie,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-CTZObrkO.cjs");function se({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function le(a){e.$locale.set(a)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-DE_s0gS_.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-eVskdQwE.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-D08L25CV.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function ne(a){e.append_styles(a,"svelte-gljr2z",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function J(a,t,o){const d=a.slice();return d[43]=t[o],d}function oe(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function ie(a){let t;function o(u,n){if(u[18])return oe}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function me(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:L=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,Y,v,C="",z=!1,P=["","",""],B="0";se({withLocale:"en",translations:{}});const x=()=>{fetch(L).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{C!==m&&o(27,C=m)},H=()=>{o(27,C=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),le(l)},U=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const $=()=>E("Favorites"),ee=()=>E("MostPlayed"),te=()=>E("LastPlayed");function ae(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,L=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,S=m.mostplayedperiod),"lastplayedorder"in m&&o(21,q=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&L&&x(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`,Y)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,L,w,k,F,O,j,S,q,D,N,T,A,v,C,z,P,B,d,E,$,ee,te,ae]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,ie,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as U, w as he, a as ve, S as be, i as pe, s as Pe, f as g, b as _e, n as ee, d as F, c as G, e as _, g as Me, o as we, A as ke, j as Fe, I as ae, Z as Ge, l as a, H as E, k as M, m as b, C, D as Le, E as z, M as R, F as A, p as Ce, q as Ee, r as Ae, t as Be, $ as Oe } from "./CasinoLobby-
|
|
1
|
+
import { v as U, w as he, a as ve, S as be, i as pe, s as Pe, f as g, b as _e, n as ee, d as F, c as G, e as _, g as Me, o as we, A as ke, j as Fe, I as ae, Z as Ge, l as a, H as E, k as M, m as b, C, D as Le, E as z, M as R, F as A, p as Ce, q as Ee, r as Ae, t as Be, $ as Oe } from "./CasinoLobby-CmAf2BJ4.js";
|
|
2
2
|
function je({ withLocale: t, translations: e }) {
|
|
3
3
|
U.subscribe((n) => {
|
|
4
4
|
n == null && (he.set(e), U.set(t));
|
|
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-
|
|
117
|
+
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-NizzPczK.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-
|
|
133
|
+
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-BeXbhcJS.js").then(({ default: e }) => {
|
|
134
134
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-
|
|
149
|
+
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-BdNavRAR.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|