@everymatrix/casino-page-nd 1.94.4 → 1.94.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-BsorgQtD.js → CasinoCalendar-BXqn5sSJ.js} +34 -34
- package/components/{CasinoCalendar-Bar1KVPb.js → CasinoCalendar-DdqyHrIi.js} +33 -33
- package/components/{CasinoCalendar-B-ElK3ln.cjs → CasinoCalendar-f9ob2sFv.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-BoTdowtn.js → CasinoCalendarDailyDetails-BBe0-NK5.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-DLxk4yik.cjs → CasinoCalendarDailyDetails-CHdX5zc8.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-ChU8Nf17.js → CasinoCalendarDailyDetails-ewHsXmDz.js} +44 -44
- package/components/{CasinoCalendarDailyItem-DVlQpd2h.js → CasinoCalendarDailyItem-BisTMrw_.js} +33 -33
- package/components/{CasinoCalendarDailyItem-B1BOZqbk.cjs → CasinoCalendarDailyItem-Bo0BHXKg.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Yoj0Yzg3.js → CasinoCalendarDailyItem-Q3MzwDts.js} +35 -35
- package/components/{CasinoCollectionsProviders-D-lUQePw.js → CasinoCollectionsProviders-C7YIthiK.js} +54 -54
- package/components/{CasinoCollectionsProviders-DDuUDFgp.cjs → CasinoCollectionsProviders-CCZelLp2.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-BSIyPEOO.js → CasinoCollectionsProviders-CU88qQMT.js} +77 -77
- package/components/{CasinoFavoritesSectionNd-B1W3Wz8p.js → CasinoFavoritesSectionNd-CYfialzn.js} +19 -19
- package/components/{CasinoFavoritesSectionNd-CY10i3wA.cjs → CasinoFavoritesSectionNd-CZ1st2up.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-aKXCReO2.js → CasinoFavoritesSectionNd-HKJugDpB.js} +30 -30
- package/components/{CasinoFilter-BwCwXqWa.cjs → CasinoFilter-BviseRbU.cjs} +1 -1
- package/components/{CasinoFilter-gCiPR__8.js → CasinoFilter-Cd3YMCjI.js} +61 -61
- package/components/{CasinoFilter-BQsFbRt1.js → CasinoFilter-DZtIPf04.js} +72 -72
- package/components/{CasinoGameThumbnailNd-C9zOKRFB.cjs → CasinoGameThumbnailNd-CIIH4ov5.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-B7GdVkxq.js → CasinoGameThumbnailNd-DfrIBuE8.js} +47 -47
- package/components/{CasinoGameThumbnailNd-Dp86Mafo.js → CasinoGameThumbnailNd-qZDUi7bK.js} +44 -44
- package/components/{CasinoGamesCategorySectionNd-D-Wuvl8U.js → CasinoGamesCategorySectionNd-BeGuRKUV.js} +51 -51
- package/components/{CasinoGamesCategorySectionNd-C2UoZFWC.cjs → CasinoGamesCategorySectionNd-DmcGqSFC.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-BBT_fRD_.js → CasinoGamesCategorySectionNd-QyzFexdL.js} +88 -88
- package/components/{CasinoJackpotBanner-BsZsSC5q.js → CasinoJackpotBanner-B_16bQIJ.js} +57 -57
- package/components/{CasinoJackpotBanner-d2UGqr4v.cjs → CasinoJackpotBanner-BgVQzBT9.cjs} +1 -1
- package/components/{CasinoJackpotBanner--hB_JhfK.js → CasinoJackpotBanner-Chzhtion.js} +97 -97
- package/components/{CasinoLastPlayedSectionNd-BS_l-cZ0.js → CasinoLastPlayedSectionNd-BOYA9BZi.js} +15 -15
- package/components/{CasinoLastPlayedSectionNd-ClV5hJ3T.js → CasinoLastPlayedSectionNd-CuKAruU8.js} +27 -27
- package/components/{CasinoLastPlayedSectionNd-CSUr2ClP.cjs → CasinoLastPlayedSectionNd-KZNXKC5c.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-D3CZA_XD.js → CasinoMostPlayedSectionNd-BNw2NHF0.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-CQXe7gZp.js → CasinoMostPlayedSectionNd-BYlAY4RO.js} +37 -37
- package/components/{CasinoMostPlayedSectionNd-DF2VZSVY.cjs → CasinoMostPlayedSectionNd-DKnN3rEW.cjs} +1 -1
- package/components/{CasinoMyGamesNd-oYIN8A8y.js → CasinoMyGamesNd-BGusGuB_.js} +25 -25
- package/components/{CasinoMyGamesNd-DUkQM67I.js → CasinoMyGamesNd-C05ASC1X.js} +139 -139
- package/components/{CasinoMyGamesNd-p3By5ie3.cjs → CasinoMyGamesNd-D6RmmeUO.cjs} +1 -1
- package/components/{CasinoPageNd-u8Nxbkgk.js → CasinoPageNd-BYwB2SrU.js} +62 -62
- package/components/{CasinoPageNd-BoxT7vNT.js → CasinoPageNd-CvwQrmeC.js} +63 -63
- package/components/{CasinoPageNd-ByOWge44.cjs → CasinoPageNd-DkcMiqM_.cjs} +1 -1
- package/components/{CasinoRandomGame-DYHpkkIU.cjs → CasinoRandomGame-CSKHxblX.cjs} +1 -1
- package/components/{CasinoRandomGame-DmdUfx7P.js → CasinoRandomGame-CoXgBuKo.js} +25 -25
- package/components/{CasinoRandomGame-Dub3IIU6.js → CasinoRandomGame-DZSB2qWm.js} +57 -57
- package/components/{CasinoSearchNd-DJKl9giS.js → CasinoSearchNd-DnPGsjFN.js} +170 -166
- package/components/{CasinoSearchNd-DAtlVgS9.cjs → CasinoSearchNd-Drf3R8N1.cjs} +1 -1
- package/components/{CasinoSearchNd-CMWbs-xQ.js → CasinoSearchNd-sS9yxFZB.js} +196 -192
- package/components/{CasinoSort-BdYCRTbw.cjs → CasinoSort-Be7I-Bkl.cjs} +1 -1
- package/components/{CasinoSort-BKNBrE2Z.js → CasinoSort-CCDDquSi.js} +23 -23
- package/components/{CasinoSort-Bj5VCzfQ.js → CasinoSort-CFbNQrwp.js} +40 -40
- package/components/{CasinoWinners-CVQnA2jb.cjs → CasinoWinners-B4wRzzvv.cjs} +1 -1
- package/components/{CasinoWinners-CJWsbB8X.js → CasinoWinners-BOD7ymCO.js} +55 -55
- package/components/{CasinoWinners-BB69_VBL.js → CasinoWinners-DYeVwT_K.js} +48 -48
- package/components/{GeneralAnimationLoading-BosK264F.cjs → GeneralAnimationLoading-DD1kmHGW.cjs} +1 -1
- package/components/{GeneralAnimationLoading-D9Xr0Ohx.js → GeneralAnimationLoading-DLWyPAPZ.js} +4 -4
- package/components/{GeneralAnimationLoading-Ddb3rUV4.js → GeneralAnimationLoading-DSzlRxD5.js} +6 -6
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-BsTNKtIb.cjs → casino-calendar-BMr6vuSW.cjs} +1 -1
- package/lazy/{casino-calendar-CRtCPSqI.js → casino-calendar-BhmwgnLf.js} +1 -1
- package/lazy/{casino-calendar-C3pFBr-V.js → casino-calendar-CDGAH9KV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-CMNO8yVt.js → casino-calendar-daily-details-BZ6lWliO.js} +1 -1
- package/lazy/{casino-calendar-daily-details-CFdZ0y8g.cjs → casino-calendar-daily-details-CkvPWhRn.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details--hiprlav.js → casino-calendar-daily-details-CreJXTIY.js} +1 -1
- package/lazy/{casino-calendar-daily-item-Dt5sMvLn.js → casino-calendar-daily-item-B294skVH.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CcpGZGk2.js → casino-calendar-daily-item-BPg2o_ak.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DBgzZi6h.cjs → casino-calendar-daily-item-OzC20xXV.cjs} +1 -1
- package/lazy/{casino-collections-providers-C-IXWoMt.js → casino-collections-providers-BmEfkamW.js} +1 -1
- package/lazy/{casino-collections-providers-ChwusPlU.cjs → casino-collections-providers-CS7TN5Jq.cjs} +1 -1
- package/lazy/{casino-collections-providers-CZlcLi3I.js → casino-collections-providers-D-Lac16c.js} +1 -1
- package/lazy/{casino-favorites-section-nd-IDnSx6LY.js → casino-favorites-section-nd-BazZLv4x.js} +1 -1
- package/lazy/{casino-favorites-section-nd-Ddu_8ZpD.cjs → casino-favorites-section-nd-BbJYgzDZ.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-MgjY7aDg.js → casino-favorites-section-nd-nPKsz6I2.js} +1 -1
- package/lazy/{casino-filter-DxJEhjqm.cjs → casino-filter-0hD3kNKp.cjs} +1 -1
- package/lazy/{casino-filter-CvdGS5WS.js → casino-filter-BpUtqzOq.js} +1 -1
- package/lazy/{casino-filter-x6iQmG8o.js → casino-filter-LrYoEa2q.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-fLseOtb1.js → casino-game-thumbnail-nd-BpZR5RyP.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CmbS4UC5.js → casino-game-thumbnail-nd-Dw6vijuw.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-BNX3nQzO.cjs → casino-game-thumbnail-nd-scS9CFBJ.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-4wlUiWn8.cjs → casino-games-category-section-nd-BRF_H9fJ.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-B5b_8VTG.js → casino-games-category-section-nd-BlkiwQIq.js} +1 -1
- package/lazy/{casino-games-category-section-nd-mWetVUsk.js → casino-games-category-section-nd-_dwBrjcT.js} +1 -1
- package/lazy/{casino-jackpot-banner-CBykDPkn.js → casino-jackpot-banner-7aQVJA-u.js} +1 -1
- package/lazy/{casino-jackpot-banner-Dclo86eY.js → casino-jackpot-banner-BZR61rlM.js} +1 -1
- package/lazy/{casino-jackpot-banner-BRGk1i5x.cjs → casino-jackpot-banner-DqljUZ3D.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-DNynAP0O.js → casino-last-played-section-nd-BCMeN_xL.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Y8YRdawj.js → casino-last-played-section-nd-Dk09Q6Oo.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BENyEKvl.cjs → casino-last-played-section-nd-DyHep2bs.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-uOEOVr80.js → casino-most-played-section-nd-DGErR8Qy.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CDxisfSd.cjs → casino-most-played-section-nd-DeeoJS9L.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd--IDhBmzV.js → casino-most-played-section-nd-MahPsOcg.js} +1 -1
- package/lazy/{casino-my-games-nd-shBn8eVI.js → casino-my-games-nd-B9th_ITS.js} +1 -1
- package/lazy/{casino-my-games-nd-BzZqvl8m.cjs → casino-my-games-nd-Bavk_uVF.cjs} +1 -1
- package/lazy/{casino-my-games-nd-hhOAoTf-.js → casino-my-games-nd-Cr4euW7O.js} +1 -1
- package/lazy/{casino-random-game-Cat_tAZT.js → casino-random-game-BCbXjFco.js} +1 -1
- package/lazy/{casino-random-game-Doo9yzQt.js → casino-random-game-D89lDDvz.js} +1 -1
- package/lazy/{casino-random-game-eE6hTWNw.cjs → casino-random-game-DiBN599Y.cjs} +1 -1
- package/lazy/{casino-search-nd-LFipqxYz.js → casino-search-nd-B-trMEPg.js} +1 -1
- package/lazy/{casino-search-nd-B5qv7Mra.cjs → casino-search-nd-B313a-hZ.cjs} +1 -1
- package/lazy/{casino-search-nd--jk190OZ.js → casino-search-nd-DX9y7hrV.js} +1 -1
- package/lazy/{casino-sort-BcuCWb8z.js → casino-sort-BX6cf-yt.js} +1 -1
- package/lazy/{casino-sort-CVYLHFfC.cjs → casino-sort-DYdgpEhn.cjs} +1 -1
- package/lazy/{casino-sort-CTKb0shJ.js → casino-sort-LsdC94Za.js} +1 -1
- package/lazy/{casino-winners-C9Jj7SyY.cjs → casino-winners-B5_Q3bvn.cjs} +1 -1
- package/lazy/{casino-winners-jTx87PeA.js → casino-winners-BORY4UJw.js} +1 -1
- package/lazy/{casino-winners-DGiPC9oE.js → casino-winners-I74kUrkL.js} +1 -1
- package/lazy/{general-animation-loading-BSWx-kfp.js → general-animation-loading--byYFuL2.js} +1 -1
- package/lazy/{general-animation-loading-CxOn6BQv.js → general-animation-loading-D1Tz4Ui8.js} +1 -1
- package/lazy/{general-animation-loading-HWLiLPqG.cjs → general-animation-loading-oYXMnrSW.cjs} +1 -1
- package/package.json +1 -1
package/components/{CasinoFavoritesSectionNd-aKXCReO2.js → CasinoFavoritesSectionNd-HKJugDpB.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
1
|
+
import { b as I, $ as B, S as J, x as K, I as N, r as l, e as O, B as q, n as E, y as M, o as R, f as T, E as U, M as n, g as V, J as D, K as G, L as H, j as P } from "./CasinoPageNd-BYwB2SrU.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-BlkiwQIq.js";
|
|
3
3
|
function Q({ withLocale: s, translations: e }) {
|
|
4
|
-
|
|
5
|
-
t == null && (
|
|
4
|
+
I.subscribe((t) => {
|
|
5
|
+
t == null && (B.set(e), I.set(s));
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
function W(s) {
|
|
9
9
|
O(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function A(s) {
|
|
12
12
|
let e;
|
|
13
13
|
return {
|
|
14
14
|
c() {
|
|
15
|
-
e =
|
|
15
|
+
e = R("casino-games-category-section-nd"), n(
|
|
16
16
|
e,
|
|
17
17
|
"session",
|
|
18
18
|
/*session*/
|
|
@@ -110,7 +110,7 @@ function L(s) {
|
|
|
110
110
|
);
|
|
111
111
|
},
|
|
112
112
|
m(t, a) {
|
|
113
|
-
|
|
113
|
+
M(t, e, a);
|
|
114
114
|
},
|
|
115
115
|
p(t, a) {
|
|
116
116
|
a & /*session*/
|
|
@@ -230,52 +230,52 @@ function L(s) {
|
|
|
230
230
|
);
|
|
231
231
|
},
|
|
232
232
|
d(t) {
|
|
233
|
-
t &&
|
|
233
|
+
t && E(e);
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
function X(s) {
|
|
238
238
|
let e, t = (
|
|
239
239
|
/*session*/
|
|
240
|
-
s[4] &&
|
|
240
|
+
s[4] && A(s)
|
|
241
241
|
);
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
244
|
-
e =
|
|
244
|
+
e = R("div"), t && t.c(), T(e, "class", "CasinoFavoritesSectionContainer");
|
|
245
245
|
},
|
|
246
|
-
m(a,
|
|
247
|
-
|
|
246
|
+
m(a, g) {
|
|
247
|
+
M(a, e, g), t && t.m(e, null), s[20](e);
|
|
248
248
|
},
|
|
249
|
-
p(a, [
|
|
249
|
+
p(a, [g]) {
|
|
250
250
|
/*session*/
|
|
251
|
-
a[4] ? t ? t.p(a,
|
|
251
|
+
a[4] ? t ? t.p(a, g) : (t = A(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
252
252
|
},
|
|
253
|
-
i:
|
|
254
|
-
o:
|
|
253
|
+
i: q,
|
|
254
|
+
o: q,
|
|
255
255
|
d(a) {
|
|
256
|
-
a &&
|
|
256
|
+
a && E(e), t && t.d(), s[20](null);
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
function Y(s, e, t) {
|
|
261
|
-
let { endpoint: a = "" } = e, { datasource:
|
|
261
|
+
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: c = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: m } = e, { clientstyling: o = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: b = "" } = e, { livecasino: v = "false" } = e, { integratedgameframemobile: y = "false" } = e, { integratedgameframedesktop: _ = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: k = "false" } = e, { visiblegames: S = "" } = e, { favorites: C = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: L = "true" } = e, r, j;
|
|
262
262
|
Q({ withLocale: "en", translations: {} }), U(() => () => {
|
|
263
263
|
});
|
|
264
|
-
function
|
|
264
|
+
function z(i) {
|
|
265
265
|
V[i ? "unshift" : "push"](() => {
|
|
266
|
-
|
|
266
|
+
r = i, t(19, r);
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
return s.$$set = (i) => {
|
|
270
|
-
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1,
|
|
270
|
+
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, c = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "mbsource" in i && t(6, m = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, u = i.clientstylingurl), "translationurl" in i && t(9, b = i.translationurl), "livecasino" in i && t(10, v = i.livecasino), "integratedgameframemobile" in i && t(11, y = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(12, _ = i.integratedgameframedesktop), "showgamename" in i && t(13, w = i.showgamename), "gamepagemodalurl" in i && t(14, k = i.gamepagemodalurl), "visiblegames" in i && t(15, S = i.visiblegames), "favorites" in i && t(16, C = i.favorites), "casinomygames" in i && t(17, F = i.casinomygames), "fetchviaevent" in i && t(18, L = i.fetchviaevent);
|
|
271
271
|
}, s.$$.update = () => {
|
|
272
272
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
273
|
-
524416 && o &&
|
|
274
|
-
524544 && u &&
|
|
275
|
-
524352 && m &&
|
|
273
|
+
524416 && o && r && D(r, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
274
|
+
524544 && u && r && G(r, u), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
275
|
+
524352 && m && r && H(r, `${m}.Style`, j);
|
|
276
276
|
}, [
|
|
277
277
|
a,
|
|
278
|
-
|
|
278
|
+
g,
|
|
279
279
|
c,
|
|
280
280
|
f,
|
|
281
281
|
h,
|
|
@@ -292,14 +292,14 @@ function Y(s, e, t) {
|
|
|
292
292
|
S,
|
|
293
293
|
C,
|
|
294
294
|
F,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
L,
|
|
296
|
+
r,
|
|
297
|
+
z
|
|
298
298
|
];
|
|
299
299
|
}
|
|
300
|
-
class Z extends
|
|
300
|
+
class Z extends J {
|
|
301
301
|
constructor(e) {
|
|
302
|
-
super(),
|
|
302
|
+
super(), K(
|
|
303
303
|
this,
|
|
304
304
|
e,
|
|
305
305
|
Y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-ByOWge44.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-14m0j7n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{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}.FilterDropdownContainer{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:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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}.ClearFilters: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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,s,f,b,y,h=i[11]("filterby")+"",p,w,F,L,S=i[11]("providers")+"",k,x,m,u,o,I,A,B,D,v,O,T,P,M=i[11]("clear")+"",z,N,j,V,W,J;function q(l,c){return l[7]?ae:ie}let H=q(i),C=H(i),E=e.ensure_array_like(i[5]),_=[];for(let l=0;l<E.length;l+=1)_[l]=X(Q(i,E,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),L=e.element("span"),k=e.text(S),x=e.space(),C.c(),m=e.space(),u=e.element("span"),o=e.svg_element("svg"),I=e.svg_element("path"),D=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();T=e.space(),P=e.element("button"),z=e.text(M),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"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"),e.attr(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","14"),e.attr(o,"height","6.835"),e.attr(o,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",B="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=N=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",V="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,L),e.append(L,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,o),e.append(o,I),e.append(t,D),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,T),e.append(v,P),e.append(P,z),W||(J=[e.listen(r,"click",i[25]),e.listen(P,"click",i[28])],W=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&S!==(S=l[11]("providers")+"")&&e.set_data(k,S),H===(H=q(l))&&C?C.p(l,c):(C.d(1),C=H(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&B!==(B="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",B),c[0]&8228){E=e.ensure_array_like(l[5]);let d;for(d=0;d<E.length;d+=1){const g=Q(l,E,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=E.length}c[0]&2048&&M!==(M=l[11]("clear")+"")&&e.set_data(z,M),c[0]&224&&N!==(N=l[7]&&l[6].length!=l[5].length)&&(P.disabled=N),c[0]&16&&j!==(j="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",j),c[0]&3&&V!==(V="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",V)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),W=!1,e.run_all(J)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function se(i){let t,r,a=i[37].name+"",n,s,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,s,f,b,y,h,p,w,F;function L(){i[26].call(a,i[38],i[39])}function S(){return i[27](i[37])}function k(u,o){if(u[2]==="false")return se;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,o){e.insert(u,t,o),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,s),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],w=!0)},p(u,o){i=u,o[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),o[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,o):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),o[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),o[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function oe(i){let t;function r(s,f){if(s[10])return re;if(!s[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[29](t)},p(s,f){a===(a=r(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[29](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],o=[],I={},A=!1,B=0,D=!0,v,O=!1,T;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),I[p]&&(I={[p]:[]});const M=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},z=l=>(r(9,D=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,o=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,o.push(R)):R.isFilterSelected=!1}),r(5,u=g),j()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,D=!1)})})),N=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!o.length||o.filter(g=>g.name===l.name).length==0?o.push(l):r(6,o=o.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(I={[d]:o.map(g=>g.id)})):(c=JSON.parse(c),c[d]=o.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),j()},j=()=>{r(7,A=o.length===u.length||o.length==0),r(8,B=o.length)},V=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",s),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),z(l)},W=()=>{r(6,o=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(I={[k==="true"?"*":p]:o.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},J=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",J,!1),()=>{window.emMessageBus!=null&&T&&T.unsubscribe(),window.removeEventListener("message",J)}));const q=()=>M();function H(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>N(l),E=()=>W();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,s=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,L=l.filterbylogo),"mbsource"in l&&r(22,S=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&L&&V(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&20971528&&S&&v&&r(24,T=e.setStreamStyling(v,`${S}.Style`,T,!0)),i.$$.dirty[0]&262144&&b&&P()},[w,F,L,v,x,u,o,A,B,D,O,a,M,N,W,n,s,f,b,y,h,p,S,k,T,q,H,C,E,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-DkcMiqM_.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-14m0j7n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{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}.FilterDropdownContainer{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:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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}.ClearFilters: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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,s,f,b,y,h=i[11]("filterby")+"",p,w,F,L,S=i[11]("providers")+"",k,x,m,u,o,I,A,B,D,v,O,T,P,M=i[11]("clear")+"",z,N,j,V,W,J;function q(l,c){return l[7]?ae:ie}let H=q(i),C=H(i),E=e.ensure_array_like(i[5]),_=[];for(let l=0;l<E.length;l+=1)_[l]=X(Q(i,E,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),L=e.element("span"),k=e.text(S),x=e.space(),C.c(),m=e.space(),u=e.element("span"),o=e.svg_element("svg"),I=e.svg_element("path"),D=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();T=e.space(),P=e.element("button"),z=e.text(M),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"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"),e.attr(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","14"),e.attr(o,"height","6.835"),e.attr(o,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",B="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=N=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",V="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,L),e.append(L,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,o),e.append(o,I),e.append(t,D),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,T),e.append(v,P),e.append(P,z),W||(J=[e.listen(r,"click",i[25]),e.listen(P,"click",i[28])],W=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&S!==(S=l[11]("providers")+"")&&e.set_data(k,S),H===(H=q(l))&&C?C.p(l,c):(C.d(1),C=H(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&B!==(B="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",B),c[0]&8228){E=e.ensure_array_like(l[5]);let d;for(d=0;d<E.length;d+=1){const g=Q(l,E,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=E.length}c[0]&2048&&M!==(M=l[11]("clear")+"")&&e.set_data(z,M),c[0]&224&&N!==(N=l[7]&&l[6].length!=l[5].length)&&(P.disabled=N),c[0]&16&&j!==(j="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",j),c[0]&3&&V!==(V="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",V)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),W=!1,e.run_all(J)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function se(i){let t,r,a=i[37].name+"",n,s,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,s,f,b,y,h,p,w,F;function L(){i[26].call(a,i[38],i[39])}function S(){return i[27](i[37])}function k(u,o){if(u[2]==="false")return se;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,o){e.insert(u,t,o),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,s),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],w=!0)},p(u,o){i=u,o[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),o[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,o):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),o[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),o[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function oe(i){let t;function r(s,f){if(s[10])return re;if(!s[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[29](t)},p(s,f){a===(a=r(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[29](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],o=[],I={},A=!1,B=0,D=!0,v,O=!1,T;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),I[p]&&(I={[p]:[]});const M=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},z=l=>(r(9,D=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,o=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,o.push(R)):R.isFilterSelected=!1}),r(5,u=g),j()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,D=!1)})})),N=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!o.length||o.filter(g=>g.name===l.name).length==0?o.push(l):r(6,o=o.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(I={[d]:o.map(g=>g.id)})):(c=JSON.parse(c),c[d]=o.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),j()},j=()=>{r(7,A=o.length===u.length||o.length==0),r(8,B=o.length)},V=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",s),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),z(l)},W=()=>{r(6,o=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(I={[k==="true"?"*":p]:o.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},J=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",J,!1),()=>{window.emMessageBus!=null&&T&&T.unsubscribe(),window.removeEventListener("message",J)}));const q=()=>M();function H(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>N(l),E=()=>W();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,s=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,L=l.filterbylogo),"mbsource"in l&&r(22,S=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&L&&V(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&20971528&&S&&v&&r(24,T=e.setStreamStyling(v,`${S}.Style`,T,!0)),i.$$.dirty[0]&262144&&b&&P()},[w,F,L,v,x,u,o,A,B,D,O,a,M,N,W,n,s,f,b,y,h,p,S,k,T,q,H,C,E,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { b as ie, $ as me, c as he, S as Fe, x as be, I as ye, r as L, e as ve, B as ae, n as z, y as V, o as g, i as we, E as _e, s as ke, g as Ce, f as n, q as ne, m as xe, G as ge, N as U, d as o, A as te, U as ee, Q as O, V as T, O as oe, R as se, J as Se, K as Ie, L as Le, j as Pe, a as Ae } from "./CasinoPageNd-CvwQrmeC.js";
|
|
2
|
+
function Oe({ withLocale: r, translations: e }) {
|
|
3
3
|
ie.subscribe((l) => {
|
|
4
4
|
l == null && (me.set(e), ie.set(r));
|
|
5
5
|
});
|
|
@@ -117,7 +117,7 @@ const de = {
|
|
|
117
117
|
clear: "Clear all"
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function Ee(r) {
|
|
121
121
|
ve(r, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{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}.FilterDropdownContainer{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:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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}.ClearFilters: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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
|
122
122
|
}
|
|
123
123
|
function fe(r, e, l) {
|
|
@@ -128,45 +128,45 @@ function Be(r) {
|
|
|
128
128
|
let e, l, i, a, s, m, v, w, b = (
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("filterby") + ""
|
|
131
|
-
), u, C, y,
|
|
131
|
+
), u, C, y, E, P = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
r[11]("providers") + ""
|
|
134
|
-
), S, x, F, p, c, A, M, W,
|
|
134
|
+
), S, x, F, p, c, A, M, W, q, _, N, j, B, H = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
),
|
|
137
|
+
), G, J, R, K, Z, X;
|
|
138
138
|
function Y(t, d) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
141
|
t[7] ? Ne : Me
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
let Q = Y(r), I = Q(r),
|
|
144
|
+
let Q = Y(r), I = Q(r), D = ne(
|
|
145
145
|
/*vendorArray*/
|
|
146
146
|
r[5]
|
|
147
147
|
), k = [];
|
|
148
|
-
for (let t = 0; t <
|
|
149
|
-
k[t] = ue(fe(r,
|
|
148
|
+
for (let t = 0; t < D.length; t += 1)
|
|
149
|
+
k[t] = ue(fe(r, D, t));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
152
|
-
e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m =
|
|
152
|
+
e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = T(b), C = O(), y = g("div"), E = g("span"), S = T(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), q = O(), _ = g("div"), N = g("ul");
|
|
153
153
|
for (let t = 0; t < k.length; t += 1)
|
|
154
154
|
k[t].c();
|
|
155
|
-
|
|
155
|
+
j = O(), B = g("button"), G = T(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
|
|
156
156
|
(r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
|
|
157
157
|
(r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
|
|
158
158
|
r[7] && /*selectedVendorArray*/
|
|
159
159
|
r[6].length != /*vendorArray*/
|
|
160
|
-
r[5].length, n(_, "class",
|
|
161
|
-
(r[4] ? "FilterOpen" : "")), n(e, "class",
|
|
160
|
+
r[5].length, n(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
|
+
(r[4] ? "FilterOpen" : "")), n(e, "class", K = "FilterContainer " + /*addfilterselector*/
|
|
162
162
|
(r[0] == "true" && /*addsortingselector*/
|
|
163
163
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(t, d) {
|
|
166
|
-
V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y,
|
|
166
|
+
V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, q), o(e, _), o(_, N);
|
|
167
167
|
for (let f = 0; f < k.length; f += 1)
|
|
168
168
|
k[f] && k[f].m(N, null);
|
|
169
|
-
o(_,
|
|
169
|
+
o(_, j), o(_, B), o(B, G), Z || (X = [
|
|
170
170
|
te(
|
|
171
171
|
l,
|
|
172
172
|
"click",
|
|
@@ -179,47 +179,47 @@ function Be(r) {
|
|
|
179
179
|
/*click_handler_2*/
|
|
180
180
|
r[28]
|
|
181
181
|
)
|
|
182
|
-
],
|
|
182
|
+
], Z = !0);
|
|
183
183
|
},
|
|
184
184
|
p(t, d) {
|
|
185
185
|
if (d[0] & /*$_*/
|
|
186
186
|
2048 && b !== (b = /*$_*/
|
|
187
|
-
t[11]("filterby") + "") &&
|
|
187
|
+
t[11]("filterby") + "") && U(u, b), d[0] & /*$_*/
|
|
188
188
|
2048 && P !== (P = /*$_*/
|
|
189
|
-
t[11]("providers") + "") &&
|
|
189
|
+
t[11]("providers") + "") && U(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
|
|
190
190
|
16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
|
|
191
191
|
(t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
|
|
192
192
|
16 && W !== (W = "FilterSelector " + /*isFilterActive*/
|
|
193
193
|
(t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
194
194
|
8228) {
|
|
195
|
-
|
|
195
|
+
D = ne(
|
|
196
196
|
/*vendorArray*/
|
|
197
197
|
t[5]
|
|
198
198
|
);
|
|
199
199
|
let f;
|
|
200
|
-
for (f = 0; f <
|
|
201
|
-
const h = fe(t,
|
|
200
|
+
for (f = 0; f < D.length; f += 1) {
|
|
201
|
+
const h = fe(t, D, f);
|
|
202
202
|
k[f] ? k[f].p(h, d) : (k[f] = ue(h), k[f].c(), k[f].m(N, null));
|
|
203
203
|
}
|
|
204
204
|
for (; f < k.length; f += 1)
|
|
205
205
|
k[f].d(1);
|
|
206
|
-
k.length =
|
|
206
|
+
k.length = D.length;
|
|
207
207
|
}
|
|
208
208
|
d[0] & /*$_*/
|
|
209
209
|
2048 && H !== (H = /*$_*/
|
|
210
|
-
t[11]("clear") + "") &&
|
|
210
|
+
t[11]("clear") + "") && U(G, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
211
211
|
224 && J !== (J = /*fullSelection*/
|
|
212
212
|
t[7] && /*selectedVendorArray*/
|
|
213
213
|
t[6].length != /*vendorArray*/
|
|
214
214
|
t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
|
|
215
|
-
16 &&
|
|
216
|
-
(t[4] ? "FilterOpen" : "")) && n(_, "class",
|
|
217
|
-
3 &&
|
|
215
|
+
16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
|
+
(t[4] ? "FilterOpen" : "")) && n(_, "class", R), d[0] & /*addfilterselector, addsortingselector*/
|
|
217
|
+
3 && K !== (K = "FilterContainer " + /*addfilterselector*/
|
|
218
218
|
(t[0] == "true" && /*addsortingselector*/
|
|
219
|
-
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class",
|
|
219
|
+
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", K);
|
|
220
220
|
},
|
|
221
221
|
d(t) {
|
|
222
|
-
t && z(e), I.d(), xe(k, t),
|
|
222
|
+
t && z(e), I.d(), xe(k, t), Z = !1, ge(X);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
@@ -259,7 +259,7 @@ function Me(r) {
|
|
|
259
259
|
},
|
|
260
260
|
p(i, a) {
|
|
261
261
|
a[0] & /*selectionNumber*/
|
|
262
|
-
256 &&
|
|
262
|
+
256 && U(
|
|
263
263
|
l,
|
|
264
264
|
/*selectionNumber*/
|
|
265
265
|
i[8]
|
|
@@ -285,14 +285,14 @@ function Ne(r) {
|
|
|
285
285
|
p(a, s) {
|
|
286
286
|
s[0] & /*$_*/
|
|
287
287
|
2048 && l !== (l = /*$_*/
|
|
288
|
-
a[11]("all") + "") &&
|
|
288
|
+
a[11]("all") + "") && U(i, l);
|
|
289
289
|
},
|
|
290
290
|
d(a) {
|
|
291
291
|
a && z(e);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function je(r) {
|
|
296
296
|
let e, l;
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
@@ -312,7 +312,7 @@ function De(r) {
|
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function De(r) {
|
|
316
316
|
let e, l, i = (
|
|
317
317
|
/*vendor*/
|
|
318
318
|
r[37].name + ""
|
|
@@ -322,7 +322,7 @@ function je(r) {
|
|
|
322
322
|
), b, u;
|
|
323
323
|
return {
|
|
324
324
|
c() {
|
|
325
|
-
e = g("div"), l = g("span"), a = T(i), s =
|
|
325
|
+
e = g("div"), l = g("span"), a = T(i), s = O(), m = g("span"), v = T("("), b = T(w), u = T(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
|
|
326
326
|
},
|
|
327
327
|
m(C, y) {
|
|
328
328
|
V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
|
|
@@ -330,9 +330,9 @@ function je(r) {
|
|
|
330
330
|
p(C, y) {
|
|
331
331
|
y[0] & /*vendorArray*/
|
|
332
332
|
32 && i !== (i = /*vendor*/
|
|
333
|
-
C[37].name + "") &&
|
|
333
|
+
C[37].name + "") && U(a, i), y[0] & /*vendorArray*/
|
|
334
334
|
32 && w !== (w = /*vendor*/
|
|
335
|
-
C[37].games.total + "") &&
|
|
335
|
+
C[37].games.total + "") && U(b, w);
|
|
336
336
|
},
|
|
337
337
|
d(C) {
|
|
338
338
|
C && z(e);
|
|
@@ -341,7 +341,7 @@ function je(r) {
|
|
|
341
341
|
}
|
|
342
342
|
function ue(r) {
|
|
343
343
|
let e, l, i, a, s, m, v, w, b, u, C, y;
|
|
344
|
-
function
|
|
344
|
+
function E() {
|
|
345
345
|
r[26].call(
|
|
346
346
|
i,
|
|
347
347
|
/*each_value*/
|
|
@@ -364,17 +364,17 @@ function ue(r) {
|
|
|
364
364
|
/*filterbylogo*/
|
|
365
365
|
p[2] === "false"
|
|
366
366
|
)
|
|
367
|
-
return
|
|
367
|
+
return De;
|
|
368
368
|
if (
|
|
369
369
|
/*filterbylogo*/
|
|
370
370
|
p[2] === "true"
|
|
371
371
|
)
|
|
372
|
-
return
|
|
372
|
+
return je;
|
|
373
373
|
}
|
|
374
374
|
let x = S(r), F = x && x(r);
|
|
375
375
|
return {
|
|
376
376
|
c() {
|
|
377
|
-
e = g("li"), l = g("label"), i = g("input"), s =
|
|
377
|
+
e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
378
378
|
r[37].name, oe(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
|
|
379
379
|
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
|
|
380
380
|
r[37].name;
|
|
@@ -382,7 +382,7 @@ function ue(r) {
|
|
|
382
382
|
m(p, c) {
|
|
383
383
|
V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
|
|
384
384
|
r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
|
|
385
|
-
te(i, "change",
|
|
385
|
+
te(i, "change", E),
|
|
386
386
|
te(i, "click", P)
|
|
387
387
|
], C = !0);
|
|
388
388
|
},
|
|
@@ -435,8 +435,8 @@ function ze(r) {
|
|
|
435
435
|
function Ve(r, e, l) {
|
|
436
436
|
let i;
|
|
437
437
|
we(r, Ae, (t) => l(11, i = t));
|
|
438
|
-
let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo:
|
|
439
|
-
|
|
438
|
+
let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, q = !0, _, N = !1, j;
|
|
439
|
+
Oe({ withLocale: "en", translations: {} });
|
|
440
440
|
const B = () => {
|
|
441
441
|
fetch(v).then((d) => d.json()).then((d) => {
|
|
442
442
|
Object.keys(d).forEach((f) => {
|
|
@@ -451,7 +451,7 @@ function Ve(r, e, l) {
|
|
|
451
451
|
}), A[u] && (A = { [u]: [] });
|
|
452
452
|
const H = () => {
|
|
453
453
|
l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
454
|
-
},
|
|
454
|
+
}, G = (t) => (l(9, q = !0), new Promise((d, f) => {
|
|
455
455
|
fetch(t).then((h) => h.json()).then((h) => {
|
|
456
456
|
h = h.items, d(h.items), l(6, c = []);
|
|
457
457
|
let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
@@ -459,11 +459,11 @@ function Ve(r, e, l) {
|
|
|
459
459
|
h.forEach(($) => {
|
|
460
460
|
var re;
|
|
461
461
|
le || (le = { currentCategoryId: [] }), ((re = le[pe]) == null ? void 0 : re.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
|
|
462
|
-
}), l(5, p = h),
|
|
462
|
+
}), l(5, p = h), R();
|
|
463
463
|
}).catch((h) => {
|
|
464
464
|
console.error(h), l(10, N = !0), f(h);
|
|
465
465
|
}).finally(() => {
|
|
466
|
-
l(9,
|
|
466
|
+
l(9, q = !1);
|
|
467
467
|
});
|
|
468
468
|
})), J = (t) => {
|
|
469
469
|
let d = localStorage.getItem("vendorFiltersByCategory");
|
|
@@ -471,15 +471,15 @@ function Ve(r, e, l) {
|
|
|
471
471
|
const f = S === "true" ? "*" : u;
|
|
472
472
|
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
473
473
|
[f]: c.map((h) => h.id)
|
|
474
|
-
})) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href),
|
|
475
|
-
}, Z = () => {
|
|
476
|
-
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
474
|
+
})) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), R();
|
|
477
475
|
}, R = () => {
|
|
476
|
+
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
477
|
+
}, K = () => {
|
|
478
478
|
if (p.length && S === "true")
|
|
479
479
|
return;
|
|
480
480
|
const t = new URL(`${a}/v1/casino/vendors`);
|
|
481
|
-
l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)),
|
|
482
|
-
},
|
|
481
|
+
l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), G(t);
|
|
482
|
+
}, Z = () => {
|
|
483
483
|
l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
484
484
|
[S === "true" ? "*" : u]: c.map((t) => t.id)
|
|
485
485
|
})), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
|
|
@@ -487,43 +487,43 @@ function Ve(r, e, l) {
|
|
|
487
487
|
t.data.type == "SortingOpened" && l(4, x = !1);
|
|
488
488
|
};
|
|
489
489
|
_e(() => (window.addEventListener("message", X, !1), () => {
|
|
490
|
-
window.emMessageBus != null &&
|
|
490
|
+
window.emMessageBus != null && j && j.unsubscribe(), window.removeEventListener("message", X);
|
|
491
491
|
}));
|
|
492
492
|
const Y = () => H();
|
|
493
493
|
function Q(t, d) {
|
|
494
494
|
t[d].isFilterSelected = this.checked, l(5, p);
|
|
495
495
|
}
|
|
496
|
-
const I = (t) => J(t),
|
|
496
|
+
const I = (t) => J(t), D = () => Z();
|
|
497
497
|
function k(t) {
|
|
498
498
|
Ce[t ? "unshift" : "push"](() => {
|
|
499
499
|
_ = t, l(3, _);
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
return r.$$set = (t) => {
|
|
503
|
-
"endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2,
|
|
503
|
+
"endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, E = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
|
|
504
504
|
}, r.$$.update = () => {
|
|
505
505
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
506
|
-
2195460 && a && s && u &&
|
|
506
|
+
2195460 && a && s && u && E && K(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
507
507
|
524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
508
508
|
1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
|
|
509
|
-
20971528 && P && _ && l(24,
|
|
509
|
+
20971528 && P && _ && l(24, j = Le(_, `${P}.Style`, j, !0)), r.$$.dirty[0] & /*translationurl*/
|
|
510
510
|
262144 && v && B();
|
|
511
511
|
}, [
|
|
512
512
|
C,
|
|
513
513
|
y,
|
|
514
|
-
|
|
514
|
+
E,
|
|
515
515
|
_,
|
|
516
516
|
x,
|
|
517
517
|
p,
|
|
518
518
|
c,
|
|
519
519
|
M,
|
|
520
520
|
W,
|
|
521
|
-
|
|
521
|
+
q,
|
|
522
522
|
N,
|
|
523
523
|
i,
|
|
524
524
|
H,
|
|
525
525
|
J,
|
|
526
|
-
|
|
526
|
+
Z,
|
|
527
527
|
a,
|
|
528
528
|
s,
|
|
529
529
|
m,
|
|
@@ -533,11 +533,11 @@ function Ve(r, e, l) {
|
|
|
533
533
|
u,
|
|
534
534
|
P,
|
|
535
535
|
S,
|
|
536
|
-
|
|
536
|
+
j,
|
|
537
537
|
Y,
|
|
538
538
|
Q,
|
|
539
539
|
I,
|
|
540
|
-
|
|
540
|
+
D,
|
|
541
541
|
k
|
|
542
542
|
];
|
|
543
543
|
}
|
|
@@ -563,7 +563,7 @@ class We extends Fe {
|
|
|
563
563
|
mbsource: 22,
|
|
564
564
|
usesinglevendorfilter: 23
|
|
565
565
|
},
|
|
566
|
-
|
|
566
|
+
Ee,
|
|
567
567
|
[-1, -1]
|
|
568
568
|
);
|
|
569
569
|
}
|