@everymatrix/casino-most-played-section 1.60.2 → 1.61.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/CasinoFilter-B1hgaIkP.cjs +18 -0
- package/components/{CasinoFilter-BuJFRvPM.js → CasinoFilter-C9AbCFB8.js} +742 -817
- package/components/{CasinoFilter-B89QTVUk.js → CasinoFilter-FwyZaNnb.js} +689 -764
- package/components/CasinoGameThumbnail-Ce4PjlXV.js +3591 -0
- package/components/CasinoGameThumbnail-DTPmHQ3Z.js +3607 -0
- package/components/CasinoGameThumbnail-DiXqNNhF.cjs +39 -0
- package/components/{CasinoGamesCategorySection-CrgSyTB1.js → CasinoGamesCategorySection-CMUBcMwK.js} +29 -29
- package/components/{CasinoGamesCategorySection-CaOqQfGH.js → CasinoGamesCategorySection-CiTO02BA.js} +32 -32
- package/components/{CasinoGamesCategorySection-BkzpJQRt.cjs → CasinoGamesCategorySection-D7IssFze.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-nwJoikw_.cjs → CasinoMostPlayedSection-BB4s0fZo.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BvUdrLJ3.js → CasinoMostPlayedSection-Ctowd1SJ.js} +25 -25
- package/components/{CasinoMostPlayedSection-RfNSfjZN.js → CasinoMostPlayedSection-D0HYIttt.js} +44 -44
- package/components/{CasinoSort-CrDBxoGC.cjs → CasinoSort-BlZonu2d.cjs} +1 -1
- package/components/{CasinoSort-BeHiiUhs.js → CasinoSort-CKyG1g-3.js} +14 -14
- package/components/{CasinoSort-CrQRKk5p.js → CasinoSort-fS8vkRW6.js} +14 -14
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-b2193545-BcwULm-K.cjs → index-b2193545-B5BzVbnP.cjs} +1 -1
- package/stencil/{index-b2193545-BJzf08Qh.js → index-b2193545-BranxwW4.js} +1 -1
- package/stencil/{index-b2193545-BlEoeZZL.js → index-b2193545-D-GB6w--.js} +1 -1
- package/stencil/index-b7bbd57e-CQ75dRCG.js +550 -0
- package/stencil/index-b7bbd57e-Cacu08c5.js +534 -0
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +1 -0
- package/stencil/ui-image-38c3c15f-D8q8WO62.js +39 -0
- package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +1 -0
- package/stencil/ui-image-38c3c15f-DNKzX83k.js +39 -0
- package/stencil/ui-image-BWdEHrqs.js +11 -0
- package/stencil/ui-image-Cq69wjLL.js +29 -0
- package/stencil/ui-image-hWt-DWaG.cjs +1 -0
- package/stencil/{ui-skeleton-ea659b95-BbvMCw6x.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-CGzZMsW7.js → ui-skeleton-6d1c12ae-Cy_R_9Cz.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-8xls9UKV.cjs → ui-skeleton-6d1c12ae-DXSQpIKe.cjs} +2 -2
- package/stencil/{ui-skeleton-C8koemPS.js → ui-skeleton-BMWABShx.js} +8 -8
- package/stencil/{ui-skeleton-Cb-Iz3dC.js → ui-skeleton-CkUGY95J.js} +5 -5
- package/stencil/ui-skeleton-DXc0L06e.cjs +1 -0
- package/components/CasinoFilter-OPj81-Zy.cjs +0 -18
- package/components/CasinoGameThumbnail-3tuhFCYK.cjs +0 -47
- package/components/CasinoGameThumbnail-7NPaHb8J.js +0 -4405
- package/components/CasinoGameThumbnail-CO2ISqU0.js +0 -4389
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/ui-skeleton-B_ESS51i.cjs +0 -1
package/components/{CasinoGamesCategorySection-CaOqQfGH.js → CasinoGamesCategorySection-CiTO02BA.js}
RENAMED
@@ -14,8 +14,8 @@ var Ie = (t, a, i) => new Promise((o, s) => {
|
|
14
14
|
}, c = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(l, m);
|
15
15
|
c((i = i.apply(t, a)).next());
|
16
16
|
});
|
17
|
-
import { a as Ta, $ as Pa, S as Da, i as Ua, s as Oa, f as I, b as
|
18
|
-
import { h as Ne } from "./CasinoGameThumbnail-
|
17
|
+
import { a as Ta, $ as Pa, S as Da, i as Ua, s as Oa, f as I, b as Ha, n as _e, d as y, e as S, h as C, c as h, k as Va, o as qa, p as Wa, B as Ve, r as oe, C as Z, g as k, j as Y, q as be, l as O, m as D, D as se, E as da, u as n, F as ha, G as Ba, H as Ya, I as x, w as Ja, x as Ka, y as Xa, z as Za, A as Qa } from "./CasinoFilter-C9AbCFB8.js";
|
18
|
+
import { h as Ne } from "./CasinoGameThumbnail-DTPmHQ3Z.js";
|
19
19
|
function Qe(t, a) {
|
20
20
|
Ta(t, a);
|
21
21
|
}
|
@@ -233,7 +233,7 @@ if (typeof window != "undefined") {
|
|
233
233
|
}
|
234
234
|
};
|
235
235
|
};
|
236
|
-
customElements.define = t(customElements.define), import("./CasinoGameThumbnail-
|
236
|
+
customElements.define = t(customElements.define), import("./CasinoGameThumbnail-DTPmHQ3Z.js").then((a) => a.C).then(({ default: a }) => {
|
237
237
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
|
238
238
|
});
|
239
239
|
}
|
@@ -249,7 +249,7 @@ if (typeof window != "undefined") {
|
|
249
249
|
}
|
250
250
|
};
|
251
251
|
};
|
252
|
-
customElements.define = t(customElements.define), import("./CasinoFilter-
|
252
|
+
customElements.define = t(customElements.define), import("./CasinoFilter-C9AbCFB8.js").then((a) => a.K).then(({ default: a }) => {
|
253
253
|
!customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
|
254
254
|
});
|
255
255
|
}
|
@@ -265,12 +265,12 @@ if (typeof window != "undefined") {
|
|
265
265
|
}
|
266
266
|
};
|
267
267
|
};
|
268
|
-
customElements.define = t(customElements.define), import("./CasinoSort-
|
268
|
+
customElements.define = t(customElements.define), import("./CasinoSort-CKyG1g-3.js").then(({ default: a }) => {
|
269
269
|
!customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
|
270
270
|
});
|
271
271
|
}
|
272
272
|
function $a(t) {
|
273
|
-
|
273
|
+
Ha(t, "svelte-1waqefp", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}');
|
274
274
|
}
|
275
275
|
function $e(t, a, i) {
|
276
276
|
const o = t.slice();
|
@@ -553,7 +553,7 @@ function ta(t) {
|
|
553
553
|
/*$_*/
|
554
554
|
t[42]("noFavoritesTitle") + ""
|
555
555
|
), N, w, d;
|
556
|
-
function f(v,
|
556
|
+
function f(v, V) {
|
557
557
|
return be(
|
558
558
|
/*userAgent*/
|
559
559
|
v[43]
|
@@ -567,13 +567,13 @@ function ta(t) {
|
|
567
567
|
t[43]
|
568
568
|
) ? "NoFavoriteGamesMobile" : ""));
|
569
569
|
},
|
570
|
-
m(v,
|
571
|
-
S(v, a,
|
570
|
+
m(v, V) {
|
571
|
+
S(v, a, V), k(a, i), k(i, o), k(i, s), k(i, l), k(i, m), k(i, c), k(i, u), k(i, g), k(a, p), k(a, b), k(b, N), k(a, w), j.m(a, null), k(a, d);
|
572
572
|
},
|
573
|
-
p(v,
|
574
|
-
|
573
|
+
p(v, V) {
|
574
|
+
V[1] & /*$_*/
|
575
575
|
2048 && F !== (F = /*$_*/
|
576
|
-
v[42]("noFavoritesTitle") + "") && O(N, F), j.p(v,
|
576
|
+
v[42]("noFavoritesTitle") + "") && O(N, F), j.p(v, V);
|
577
577
|
},
|
578
578
|
d(v) {
|
579
579
|
v && y(a), j.d();
|
@@ -2469,8 +2469,8 @@ const $ = "game-tile-";
|
|
2469
2469
|
let Mi = 0;
|
2470
2470
|
function zi(t, a, i) {
|
2471
2471
|
let o;
|
2472
|
-
|
2473
|
-
let { endpoint: s = "" } = a, { datasource: l = "" } = a, { lang: m = "" } = a, { session: c = "" } = a, { userid: u = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: b = "" } = a, { translationurl: F = "" } = a, { currency: N = "" } = a, { categoryid: w = "" } = a, { showgamename: d = "" } = a, { livecasino: f = "false" } = a, { gamepagemodalurl: L = "true" } = a, { integratedgameframedesktop: j = "false" } = a, { integratedgameframemobile: v = "false" } = a, { casinomygames:
|
2472
|
+
Va(t, Qa, (r) => i(42, o = r));
|
2473
|
+
let { endpoint: s = "" } = a, { datasource: l = "" } = a, { lang: m = "" } = a, { session: c = "" } = a, { userid: u = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: b = "" } = a, { translationurl: F = "" } = a, { currency: N = "" } = a, { categoryid: w = "" } = a, { showgamename: d = "" } = a, { livecasino: f = "false" } = a, { gamepagemodalurl: L = "true" } = a, { integratedgameframedesktop: j = "false" } = a, { integratedgameframemobile: v = "false" } = a, { casinomygames: V = "false" } = a, { addfilterselector: ve = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: qe = "" } = a, { casinogamesgridslider: We = "false" } = a, { fetchviaevent: le = "false" } = a, { showallpage: Ee = "casino" } = a, { actionevent: Ae = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, { mbsource: Re } = a, Q = !0, je = !1, Se, Fe, ee = !0, Be = window.navigator.userAgent, T, z = [], J = !0, ae = 40, K = !1, Ge = !1, Ye = !1, re = !1, Le = !1, Te = !0, me = !1, ue, Pe, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, De = "", ie = "", Me, Ue, U, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
|
2474
2474
|
const pa = () => {
|
2475
2475
|
fetch(F).then((_) => _.json()).then((_) => {
|
2476
2476
|
Object.keys(_).forEach((G) => {
|
@@ -2503,7 +2503,7 @@ function zi(t, a, i) {
|
|
2503
2503
|
E.items.forEach((R) => {
|
2504
2504
|
R.gameModel && (U.push(R), W.includes(R.id) || W.push(R.id));
|
2505
2505
|
});
|
2506
|
-
const B = (ne =
|
2506
|
+
const B = (ne = Ve(U)) == null ? void 0 : ne.length;
|
2507
2507
|
window.postMessage({
|
2508
2508
|
type: "UpdateFavoritesCount",
|
2509
2509
|
favoriteGamesLength: B
|
@@ -2513,8 +2513,8 @@ function zi(t, a, i) {
|
|
2513
2513
|
w === "FAVORITES" && Xe(U), z.forEach((B) => {
|
2514
2514
|
B.isFavorite = X(B.id);
|
2515
2515
|
});
|
2516
|
-
let
|
2517
|
-
i(28, z = void 0), i(28, z =
|
2516
|
+
let H = z;
|
2517
|
+
i(28, z = void 0), i(28, z = H), P(U);
|
2518
2518
|
}).catch((E) => {
|
2519
2519
|
console.error(E), M(E);
|
2520
2520
|
});
|
@@ -2523,7 +2523,7 @@ function zi(t, a, i) {
|
|
2523
2523
|
ze && ze.abort(), ze = new AbortController();
|
2524
2524
|
const A = ze.signal;
|
2525
2525
|
i(24, Q = !0);
|
2526
|
-
let P = "", M = "", E = JSON.parse(localStorage.getItem("vendorFiltersByCategory")),
|
2526
|
+
let P = "", M = "", E = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), H = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
2527
2527
|
return (r.match(/\$/g) || []).length > 1 ? (P = r.split("$").slice(0, 2).join("$"), M = new URL(`${s}/v1/casino/groups/${l}/${P}/subGroups`)) : M = new URL(`${s}/v1/casino/groups/${l}/${r}`), new Promise((ne, B) => {
|
2528
2528
|
if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Wa(Be)), M.searchParams.append("pagination", `games(offset=${_},limit=${G})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), E && E[r])
|
2529
2529
|
if (E[r].length && ee === !1 && fe === !1) {
|
@@ -2533,7 +2533,7 @@ function zi(t, a, i) {
|
|
2533
2533
|
}), M.searchParams.append("filter", `${R}`);
|
2534
2534
|
} else
|
2535
2535
|
i(33, Le = !1);
|
2536
|
-
|
2536
|
+
H && (H[r] ? H[r] && H[r] != "All" && (H[r] == "isNew" || H[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${H[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${H[r]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (M.searchParams.append("sortedField", `games(${ie})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${ie})`))), fetch(M, { signal: A }).then((R) => R.json()).then((R) => {
|
2537
2537
|
A.aborted || (i(24, Q = !1), (r.match(/\$/g) || []).length > 1 && (R = R.items.filter((pe) => {
|
2538
2538
|
if (pe.id == r)
|
2539
2539
|
return pe;
|
@@ -2622,11 +2622,11 @@ function zi(t, a, i) {
|
|
2622
2622
|
Se = r.data.session, Fe = r.data.userID, g == "true" && Fe && Fe.length && Se && Se.length > 0 && Je(Se, Fe);
|
2623
2623
|
break;
|
2624
2624
|
case "UpdateFavoredList":
|
2625
|
-
w === "FAVORITES" &&
|
2625
|
+
w === "FAVORITES" && He(r.data.url, r.data.sessionID);
|
2626
2626
|
break;
|
2627
2627
|
}
|
2628
2628
|
}, Ke = (r) => {
|
2629
|
-
i(30, K = !1), i(26, ee = !1), i(32, re = !1), Ce = !0, i(35, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(29, J = !1),
|
2629
|
+
i(30, K = !1), i(26, ee = !1), i(32, re = !1), Ce = !0, i(35, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(29, J = !1), V !== "true" && he(w, 0, ae).then((_) => {
|
2630
2630
|
i(27, T = _), T.games.items.forEach((G) => {
|
2631
2631
|
G.isFavorite = X(G.id);
|
2632
2632
|
}), i(28, z = T.games.items), i(29, J = !1), z.length < 10 && e.data.origin == !1 && (Ye = !0, setTimeout(
|
@@ -2645,7 +2645,7 @@ function zi(t, a, i) {
|
|
2645
2645
|
return (_ = U == null ? void 0 : U.some((G) => G.id === r)) != null ? _ : !1;
|
2646
2646
|
};
|
2647
2647
|
let ka = (r, _, G) => Ie(this, null, function* () {
|
2648
|
-
yield
|
2648
|
+
yield He(r, _), W.includes(G) || W.push(G);
|
2649
2649
|
let P = {
|
2650
2650
|
method: "POST",
|
2651
2651
|
headers: {
|
@@ -2672,9 +2672,9 @@ function zi(t, a, i) {
|
|
2672
2672
|
type: `RemoveFavoriteThumbnail_${G}`
|
2673
2673
|
},
|
2674
2674
|
window.location.href
|
2675
|
-
),
|
2675
|
+
), He(r, _);
|
2676
2676
|
}), W.includes(G) && (W = W.filter((P) => P != G));
|
2677
|
-
},
|
2677
|
+
}, He = (r, _) => Ie(this, null, function* () {
|
2678
2678
|
return fetch(r, {
|
2679
2679
|
method: "GET",
|
2680
2680
|
headers: { "X-SessionID": _ }
|
@@ -2685,7 +2685,7 @@ function zi(t, a, i) {
|
|
2685
2685
|
}), wa()) : U.forEach((E) => {
|
2686
2686
|
E.isFavorite = X(E.id);
|
2687
2687
|
});
|
2688
|
-
const P = (M =
|
2688
|
+
const P = (M = Ve(U)) == null ? void 0 : M.length;
|
2689
2689
|
w === "FAVORITES" && (window.postMessage({
|
2690
2690
|
type: "UpdateFavoritesCount",
|
2691
2691
|
favoriteGamesLength: P
|
@@ -2699,7 +2699,7 @@ function zi(t, a, i) {
|
|
2699
2699
|
let _;
|
2700
2700
|
_ = (r == null ? void 0 : r.items) || r || [], _.length > 0 && _.forEach((G) => {
|
2701
2701
|
G.gameModel && (G.gameModel.isFavorite = !0);
|
2702
|
-
}), i(41, te.items =
|
2702
|
+
}), i(41, te.items = Ve(_, te.items), te), i(41, te.name = "Favorites", te), i(24, Q = !1);
|
2703
2703
|
}, Sa = (r) => {
|
2704
2704
|
ae += 1, i(35, me = !0), ae <= Pe && he(r, Mi, ae).then((_) => {
|
2705
2705
|
i(27, T = _), T.games.items.length > z.length && (i(28, z = T.games.items), z.forEach((G) => {
|
@@ -2712,9 +2712,9 @@ function zi(t, a, i) {
|
|
2712
2712
|
return "";
|
2713
2713
|
let G = "", A = 999999999999, P;
|
2714
2714
|
const M = new Date(Date.now());
|
2715
|
-
return _.forEach((E,
|
2715
|
+
return _.forEach((E, H) => {
|
2716
2716
|
const ne = new Date(E.schedules[0].startTime), B = new Date(E.schedules[0].endTime);
|
2717
|
-
Ne(B).diff(M) < A && (A = Ne(B).diff(M), P =
|
2717
|
+
Ne(B).diff(M) < A && (A = Ne(B).diff(M), P = H), Ne(M).isAfter(ne) && Ne(M).isBefore(B) && (G = _[P].name);
|
2718
2718
|
}), G;
|
2719
2719
|
}, Ze = (r) => {
|
2720
2720
|
window.postMessage(
|
@@ -2731,10 +2731,10 @@ function zi(t, a, i) {
|
|
2731
2731
|
u && c && i(38, fe = !0);
|
2732
2732
|
break;
|
2733
2733
|
case "MOSTPLAYED":
|
2734
|
-
|
2734
|
+
V === "false" && u && c && i(38, fe = !1);
|
2735
2735
|
break;
|
2736
2736
|
case "LASTPLAYED":
|
2737
|
-
|
2737
|
+
V === "false" && u && c && i(38, fe = !1);
|
2738
2738
|
break;
|
2739
2739
|
default:
|
2740
2740
|
Ke(w);
|
@@ -2784,7 +2784,7 @@ function zi(t, a, i) {
|
|
2784
2784
|
});
|
2785
2785
|
}
|
2786
2786
|
return t.$$set = (r) => {
|
2787
|
-
"endpoint" in r && i(3, s = r.endpoint), "datasource" in r && i(4, l = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, c = r.session), "userid" in r && i(7, u = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, b = r.clientstylingurl), "translationurl" in r && i(11, F = r.translationurl), "currency" in r && i(12, N = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, d = r.showgamename), "livecasino" in r && i(14, f = r.livecasino), "gamepagemodalurl" in r && i(15, L = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, j = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, v = r.integratedgameframemobile), "casinomygames" in r && i(18,
|
2787
|
+
"endpoint" in r && i(3, s = r.endpoint), "datasource" in r && i(4, l = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, c = r.session), "userid" in r && i(7, u = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, b = r.clientstylingurl), "translationurl" in r && i(11, F = r.translationurl), "currency" in r && i(12, N = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, d = r.showgamename), "livecasino" in r && i(14, f = r.livecasino), "gamepagemodalurl" in r && i(15, L = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, j = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, v = r.integratedgameframemobile), "casinomygames" in r && i(18, V = r.casinomygames), "addfilterselector" in r && i(1, ve = r.addfilterselector), "addsortingselector" in r && i(2, we = r.addsortingselector), "filterbylogo" in r && i(19, qe = r.filterbylogo), "casinogamesgridslider" in r && i(20, We = r.casinogamesgridslider), "fetchviaevent" in r && i(46, le = r.fetchviaevent), "showallpage" in r && i(47, Ee = r.showallpage), "actionevent" in r && i(48, Ae = r.actionevent), "displayedgamecount" in r && i(49, ke = r.displayedgamecount), "showallbuttongamescount" in r && i(50, ye = r.showallbuttongamescount), "mbsource" in r && i(21, Re = r.mbsource);
|
2788
2788
|
}, t.$$.update = () => {
|
2789
2789
|
t.$$.dirty[0] & /*lang*/
|
2790
2790
|
32 && m && za(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
|
@@ -2817,7 +2817,7 @@ function zi(t, a, i) {
|
|
2817
2817
|
L,
|
2818
2818
|
j,
|
2819
2819
|
v,
|
2820
|
-
|
2820
|
+
V,
|
2821
2821
|
qe,
|
2822
2822
|
We,
|
2823
2823
|
Re,
|