@everymatrix/casino-games-category-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-BbGSaeN3.js → CasinoFilter-BBD7_UKi.js} +687 -762
- package/components/{CasinoFilter-BuJFRvPM.js → CasinoFilter-C9AbCFB8.js} +742 -817
- package/components/CasinoGameThumbnail-CF9H61BZ.js +3591 -0
- package/components/CasinoGameThumbnail-DTPmHQ3Z.js +3607 -0
- package/components/CasinoGameThumbnail-DiXqNNhF.cjs +39 -0
- package/components/{CasinoGamesCategorySection-BkzpJQRt.cjs → CasinoGamesCategorySection-D7IssFze.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CeG43Dgw.js → CasinoGamesCategorySection-lJoRMij6.js} +29 -29
- package/components/{CasinoGamesCategorySection-H2n-0itQ.js → CasinoGamesCategorySection-pu3Ri-5v.js} +32 -32
- package/components/{CasinoSort-CrDBxoGC.cjs → CasinoSort-BlZonu2d.cjs} +1 -1
- package/components/{CasinoSort-BeHiiUhs.js → CasinoSort-CKyG1g-3.js} +14 -14
- package/components/{CasinoSort-eC6dcmW_.js → CasinoSort-D8D1LYPL.js} +19 -19
- package/es2015/casino-games-category-section.cjs +1 -1
- package/es2015/casino-games-category-section.js +1 -1
- package/esnext/casino-games-category-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-CGzZMsW7.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BbvMCw6x.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-2LK-M81e.js +0 -4389
- package/components/CasinoGameThumbnail-3tuhFCYK.cjs +0 -47
- package/components/CasinoGameThumbnail-7NPaHb8J.js +0 -4405
- 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-H2n-0itQ.js → CasinoGamesCategorySection-pu3Ri-5v.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, f as I, s as Oa,
|
|
18
|
-
import { h as Ne } from "./CasinoGameThumbnail-
|
|
17
|
+
import { a as Ta, $ as Pa, S as Da, i as Ua, f as I, s as Oa, z as Ha, b as Va, n as _e, d as y, e as S, h as C, c as h, k as qa, o as Wa, p as Ba, 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 Ya, H as Ja, I as x, A as Ka, w as Xa, x as Za, y 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
|
+
Va(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();
|
|
@@ -2470,7 +2470,7 @@ let Mi = 0;
|
|
|
2470
2470
|
function zi(t, a, i) {
|
|
2471
2471
|
let o;
|
|
2472
2472
|
qa(t, Ka, (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:
|
|
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", Ba(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,
|
|
@@ -3064,7 +3064,7 @@ class Ii extends Da {
|
|
|
3064
3064
|
this.$$set({ mbsource: a }), I();
|
|
3065
3065
|
}
|
|
3066
3066
|
}
|
|
3067
|
-
|
|
3067
|
+
Ha(Ii, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, mbsource: {} }, [], [], !0);
|
|
3068
3068
|
export {
|
|
3069
3069
|
Ii as default
|
|
3070
3070
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-OPj81-Zy.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-B1hgaIkP.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q,
|
|
1
|
+
import { $ as q, J as et, a as rt, S as ot, i as nt, s as at, f as D, b as st, n as U, d as P, e as R, h as m, k as lt, o as it, r as ct, D as G, G as dt, l as K, c as r, g as l, H as tt, I as N, j as Z, m as Q, w as pt, x as gt, y as ut, z as ht, A as mt } from "./CasinoFilter-C9AbCFB8.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -150,15 +150,15 @@ function wt(t) {
|
|
|
150
150
|
/*vendorSortingBy*/
|
|
151
151
|
(t[3] || /*$_*/
|
|
152
152
|
t[4]("all")) + ""
|
|
153
|
-
),
|
|
153
|
+
), H, L, z, A, F, B, n, u, v, T, j, E, V, M = G(Object.values(
|
|
154
154
|
/*vendorMap*/
|
|
155
155
|
t[5]
|
|
156
156
|
)), b = [];
|
|
157
|
-
for (let c = 0; c <
|
|
158
|
-
b[c] = $(Y(t,
|
|
157
|
+
for (let c = 0; c < M.length; c += 1)
|
|
158
|
+
b[c] = $(Y(t, M, c));
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
161
|
-
e = m("div"), o = m("div"), a = m("div"), s = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), I = m("div"), C = m("span"),
|
|
161
|
+
e = m("div"), o = m("div"), a = m("div"), s = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), I = m("div"), C = m("span"), H = Q(O), L = Z(), z = m("span"), A = N("svg"), F = N("path"), u = Z(), v = m("div"), T = m("ul");
|
|
162
162
|
for (let c = 0; c < b.length; c += 1)
|
|
163
163
|
b[c].c();
|
|
164
164
|
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(y, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", B = "TriangleInactive " + /*isSorterActive*/
|
|
@@ -167,7 +167,7 @@ function wt(t) {
|
|
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
|
168
168
|
},
|
|
169
169
|
m(c, k) {
|
|
170
|
-
R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, g), l(a, x), l(a, p), l(p, y), l(y, w), l(p, S), l(p, I), l(I, C), l(C,
|
|
170
|
+
R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, g), l(a, x), l(a, p), l(p, y), l(y, w), l(p, S), l(p, I), l(I, C), l(C, H), l(o, L), l(o, z), l(z, A), l(A, F), l(e, u), l(e, v), l(v, T);
|
|
171
171
|
for (let h = 0; h < b.length; h += 1)
|
|
172
172
|
b[h] && b[h].m(T, null);
|
|
173
173
|
E || (V = tt(
|
|
@@ -183,24 +183,24 @@ function wt(t) {
|
|
|
183
183
|
c[4]("sortby") + "") && K(w, _), k & /*vendorSortingBy, $_*/
|
|
184
184
|
24 && O !== (O = /*vendorSortingBy*/
|
|
185
185
|
(c[3] || /*$_*/
|
|
186
|
-
c[4]("all")) + "") && K(
|
|
186
|
+
c[4]("all")) + "") && K(H, O), k & /*isSorterActive*/
|
|
187
187
|
2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
|
|
188
188
|
(c[1] ? "TriangleActive" : "")) && r(z, "class", B), k & /*isSorterActive*/
|
|
189
189
|
2 && n !== (n = "SorterSelector " + /*isSorterActive*/
|
|
190
190
|
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", n), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
|
191
191
|
120) {
|
|
192
|
-
|
|
192
|
+
M = G(Object.values(
|
|
193
193
|
/*vendorMap*/
|
|
194
194
|
c[5]
|
|
195
195
|
));
|
|
196
196
|
let h;
|
|
197
|
-
for (h = 0; h <
|
|
198
|
-
const J = Y(c,
|
|
197
|
+
for (h = 0; h < M.length; h += 1) {
|
|
198
|
+
const J = Y(c, M, h);
|
|
199
199
|
b[h] ? b[h].p(J, k) : (b[h] = $(J), b[h].c(), b[h].m(T, null));
|
|
200
200
|
}
|
|
201
201
|
for (; h < b.length; h += 1)
|
|
202
202
|
b[h].d(1);
|
|
203
|
-
b.length =
|
|
203
|
+
b.length = M.length;
|
|
204
204
|
}
|
|
205
205
|
k & /*isSorterActive*/
|
|
206
206
|
2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
@@ -307,7 +307,7 @@ function St(t, e, o) {
|
|
|
307
307
|
o(3, S = "All"), o(2, _ = !1), o(1, y = !1);
|
|
308
308
|
let n = (u = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : u[g];
|
|
309
309
|
n ? o(3, S = n) : o(3, S = "All"), o(3, S = C[n]);
|
|
310
|
-
},
|
|
310
|
+
}, H = (n) => {
|
|
311
311
|
o(3, S = n);
|
|
312
312
|
let u = localStorage.getItem("vendorSortingBy");
|
|
313
313
|
w = n;
|
|
@@ -332,7 +332,7 @@ function St(t, e, o) {
|
|
|
332
332
|
it(() => (window.addEventListener("message", z, !1), () => {
|
|
333
333
|
window.removeEventListener("message", z);
|
|
334
334
|
}));
|
|
335
|
-
const A = () => L(), F = (n) =>
|
|
335
|
+
const A = () => L(), F = (n) => H(n);
|
|
336
336
|
function B(n) {
|
|
337
337
|
ct[n ? "unshift" : "push"](() => {
|
|
338
338
|
p = n, o(0, p);
|
|
@@ -354,7 +354,7 @@ function St(t, e, o) {
|
|
|
354
354
|
S,
|
|
355
355
|
a,
|
|
356
356
|
C,
|
|
357
|
-
|
|
357
|
+
H,
|
|
358
358
|
L,
|
|
359
359
|
s,
|
|
360
360
|
i,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q,
|
|
1
|
+
import { $ as q, J as et, a as rt, S as ot, i as nt, s as at, f as D, b as st, n as U, d as P, g as R, j as h, l as lt, o as it, u as ct, D as G, G as dt, m as K, e as r, h as l, H as tt, I as N, k as Z, p as Q, y as pt, z as gt, A as ut, c as ht, x as mt } from "./CasinoFilter-BBD7_UKi.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -150,24 +150,24 @@ function wt(t) {
|
|
|
150
150
|
/*vendorSortingBy*/
|
|
151
151
|
(t[3] || /*$_*/
|
|
152
152
|
t[4]("all")) + ""
|
|
153
|
-
),
|
|
153
|
+
), H, L, z, A, F, B, n, w, v, T, j, E, V, M = G(Object.values(
|
|
154
154
|
/*vendorMap*/
|
|
155
155
|
t[5]
|
|
156
156
|
)), b = [];
|
|
157
|
-
for (let c = 0; c <
|
|
158
|
-
b[c] = $(Y(t,
|
|
157
|
+
for (let c = 0; c < M.length; c += 1)
|
|
158
|
+
b[c] = $(Y(t, M, c));
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
161
|
-
e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), I = h("div"), C = h("span"),
|
|
161
|
+
e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), I = h("div"), C = h("span"), H = Q(O), L = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
|
|
162
162
|
for (let c = 0; c < b.length; c += 1)
|
|
163
163
|
b[c].c();
|
|
164
|
-
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class",
|
|
164
|
+
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", B = "TriangleInactive " + /*isSorterActive*/
|
|
165
165
|
(t[1] ? "TriangleActive" : "")), r(o, "class", n = "SorterSelector " + /*isSorterActive*/
|
|
166
166
|
(t[1] ? "SorterSelectorOpen" : "")), r(T, "class", "SorterDropdown"), r(v, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
|
168
168
|
},
|
|
169
169
|
m(c, k) {
|
|
170
|
-
R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, m), l(i, g), l(a, x), l(a, p), l(p, f), l(f, y), l(p, S), l(p, I), l(I, C), l(C,
|
|
170
|
+
R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, m), l(i, g), l(a, x), l(a, p), l(p, f), l(f, y), l(p, S), l(p, I), l(I, C), l(C, H), l(o, L), l(o, z), l(z, A), l(A, F), l(e, w), l(e, v), l(v, T);
|
|
171
171
|
for (let u = 0; u < b.length; u += 1)
|
|
172
172
|
b[u] && b[u].m(T, null);
|
|
173
173
|
E || (V = tt(
|
|
@@ -183,24 +183,24 @@ function wt(t) {
|
|
|
183
183
|
c[4]("sortby") + "") && K(y, _), k & /*vendorSortingBy, $_*/
|
|
184
184
|
24 && O !== (O = /*vendorSortingBy*/
|
|
185
185
|
(c[3] || /*$_*/
|
|
186
|
-
c[4]("all")) + "") && K(
|
|
187
|
-
2 &&
|
|
188
|
-
(c[1] ? "TriangleActive" : "")) && r(z, "class",
|
|
186
|
+
c[4]("all")) + "") && K(H, O), k & /*isSorterActive*/
|
|
187
|
+
2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
|
|
188
|
+
(c[1] ? "TriangleActive" : "")) && r(z, "class", B), k & /*isSorterActive*/
|
|
189
189
|
2 && n !== (n = "SorterSelector " + /*isSorterActive*/
|
|
190
190
|
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", n), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
|
191
191
|
120) {
|
|
192
|
-
|
|
192
|
+
M = G(Object.values(
|
|
193
193
|
/*vendorMap*/
|
|
194
194
|
c[5]
|
|
195
195
|
));
|
|
196
196
|
let u;
|
|
197
|
-
for (u = 0; u <
|
|
198
|
-
const J = Y(c,
|
|
197
|
+
for (u = 0; u < M.length; u += 1) {
|
|
198
|
+
const J = Y(c, M, u);
|
|
199
199
|
b[u] ? b[u].p(J, k) : (b[u] = $(J), b[u].c(), b[u].m(T, null));
|
|
200
200
|
}
|
|
201
201
|
for (; u < b.length; u += 1)
|
|
202
202
|
b[u].d(1);
|
|
203
|
-
b.length =
|
|
203
|
+
b.length = M.length;
|
|
204
204
|
}
|
|
205
205
|
k & /*isSorterActive*/
|
|
206
206
|
2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
@@ -306,7 +306,7 @@ function St(t, e, o) {
|
|
|
306
306
|
o(3, S = "All"), o(2, _ = !1), o(1, f = !1);
|
|
307
307
|
let n = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[g];
|
|
308
308
|
n ? o(3, S = n) : o(3, S = "All"), o(3, S = C[n]);
|
|
309
|
-
},
|
|
309
|
+
}, H = (n) => {
|
|
310
310
|
o(3, S = n);
|
|
311
311
|
let w = localStorage.getItem("vendorSortingBy");
|
|
312
312
|
y = n;
|
|
@@ -331,8 +331,8 @@ function St(t, e, o) {
|
|
|
331
331
|
it(() => (window.addEventListener("message", z, !1), () => {
|
|
332
332
|
window.removeEventListener("message", z);
|
|
333
333
|
}));
|
|
334
|
-
const A = () => L(), F = (n) =>
|
|
335
|
-
function
|
|
334
|
+
const A = () => L(), F = (n) => H(n);
|
|
335
|
+
function B(n) {
|
|
336
336
|
ct[n ? "unshift" : "push"](() => {
|
|
337
337
|
p = n, o(0, p);
|
|
338
338
|
});
|
|
@@ -353,7 +353,7 @@ function St(t, e, o) {
|
|
|
353
353
|
S,
|
|
354
354
|
a,
|
|
355
355
|
C,
|
|
356
|
-
|
|
356
|
+
H,
|
|
357
357
|
L,
|
|
358
358
|
s,
|
|
359
359
|
i,
|
|
@@ -363,7 +363,7 @@ function St(t, e, o) {
|
|
|
363
363
|
x,
|
|
364
364
|
A,
|
|
365
365
|
F,
|
|
366
|
-
|
|
366
|
+
B
|
|
367
367
|
];
|
|
368
368
|
}
|
|
369
369
|
class vt extends ot {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySection-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySection-D7IssFze.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySection-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySection-pu3Ri-5v.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=()=>{},s=()=>{};exports.globalScripts=l;exports.globalScripts$1=s;
|