@everymatrix/casino-lobby 1.63.3 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-Csi0tXv8.js → CasinoCalendar-BONyZpYE.js} +121 -121
- package/components/{CasinoCalendar-B7GhaaB1.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
- package/components/{CasinoCalendar-7kqLzYIJ.js → CasinoCalendar-IdM-lXMG.js} +208 -208
- package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
- package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
- package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DBZbBU6V.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
- package/components/{CasinoCalendarDailyItem-CE8ew-fF.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
- package/components/{CasinoCategoriesSlider-CdwDeUzc.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
- package/components/{CasinoCategoriesSlider-D4LBBsWH.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
- package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BbBtM28b.js → CasinoCollectionsProviders-DCfKtqH3.js} +118 -118
- package/components/{CasinoCollectionsProviders-Bpb7sM1P.js → CasinoCollectionsProviders-QF8UYQEH.js} +122 -122
- package/components/{CasinoFavoritesSection-DoU7Ci-7.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
- package/components/{CasinoFavoritesSection-Cl-6cioz.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
- package/components/{CasinoFavoritesSection-BTM3dZNo.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
- package/components/{CasinoFilter-jbZAMnJ7.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
- package/components/{CasinoFilter-BN4Wtk2h.js → CasinoFilter-Dm91I-UU.js} +111 -111
- package/components/{CasinoFilter-Ct-8nr2l.js → CasinoFilter-hFLJX_M2.js} +108 -108
- package/components/{CasinoGameThumbnail-BgaKFGIJ.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CDstK8Y3.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
- package/components/{CasinoGameThumbnail-CiaYYLXu.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
- package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
- package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
- package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
- package/components/{CasinoJackpotBanner-DX2K3Sso.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
- package/components/{CasinoJackpotBanner-C5x3Mdln.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
- package/components/{CasinoJackpotBanner-BjEKJiKG.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DgtwB0LY.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
- package/components/{CasinoLastPlayedSection-p0ilcCTC.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
- package/components/{CasinoLastPlayedSection-CI_0ECL-.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
- package/components/{CasinoLobby-CseOv8Yj.js → CasinoLobby-BBAE1WZB.js} +135 -120
- package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
- package/components/{CasinoLobby-DG6dQueF.js → CasinoLobby-CnppP-Q0.js} +135 -120
- package/components/{CasinoMostPlayedSection-DkMxb2tp.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
- package/components/{CasinoMostPlayedSection-Y7GkBB4c.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
- package/components/{CasinoMostPlayedSection-DgjP9n0o.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
- package/components/{CasinoMyGames-bw2jzPSz.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
- package/components/{CasinoMyGames-iW34NgHs.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
- package/components/{CasinoMyGames-lcaVAF4Y.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
- package/components/{CasinoPage-DlCmgNUk.js → CasinoPage-BZesrUyc.js} +189 -189
- package/components/{CasinoPage-NFQopbTN.js → CasinoPage-CPmBzeSF.js} +189 -189
- package/components/{CasinoPage-D1nj7ju_.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
- package/components/{CasinoRandomGame-DX--_O5S.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
- package/components/{CasinoRandomGame-D5rbkfAP.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
- package/components/{CasinoRandomGame-BjmFZ_DM.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
- package/components/{CasinoSearch-DZXW71Hu.js → CasinoSearch--m6RPf0J.js} +52 -52
- package/components/{CasinoSearch-CVPUjeCK.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
- package/components/{CasinoSearch--VdAWMEG.js → CasinoSearch-DZTQwy97.js} +50 -50
- package/components/CasinoSlider-BR0_If4T.js +797 -0
- package/components/{CasinoSlider-8av7ygLi.js → CasinoSlider-CtMPHXUh.js} +136 -136
- package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
- package/components/{CasinoSort-BJup_vct.js → CasinoSort-CFaQhCeN.js} +32 -32
- package/components/{CasinoSort-CV4P6WUH.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
- package/components/{CasinoSort-Dn39QhX6.js → CasinoSort-CjTUg9jC.js} +32 -32
- package/components/{CasinoWinners-DY-XeuDT.js → CasinoWinners-CJI2fDKO.js} +151 -151
- package/components/{CasinoWinners-BceQ59PS.js → CasinoWinners-CvtwPY7V.js} +157 -157
- package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
- package/components/{GeneralAnimationLoading-B-qNTlQZ.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Bu3UyKqx.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
- package/components/{GeneralAnimationLoading-HRytW6Io.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-BovhUzXq.js +0 -694
- package/components/CasinoCalendarDailyDetails-DRn6XNlS.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-MY6BRTWf.js +0 -694
- package/components/CasinoCalendarDailyItem-i0FRrjoK.cjs +0 -1
- package/components/CasinoCategoriesSlider-DltcuPbJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-BzpUMq8J.cjs +0 -1
- package/components/CasinoGamesCategorySection-8tZbstvF.cjs +0 -1
- package/components/CasinoGamesCategorySection-DJohdErr.js +0 -3139
- package/components/CasinoGamesCategorySection-Dovm2bNV.js +0 -3170
- package/components/CasinoLobby-BxdCeX3T.cjs +0 -1
- package/components/CasinoSlider-DpYcXyrl.js +0 -797
- package/components/CasinoSlider-chctBr3W.cjs +0 -1
- package/components/CasinoWinners-DMlbI9Rh.cjs +0 -1
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
package/components/{CasinoFavoritesSection-DoU7Ci-7.js → CasinoFavoritesSection-C8XELxGM.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E,
|
|
1
|
+
import { $ as E, Q as O, S as R, i as j, s as z, f as l, b as H, n as I, d as q, h as A, j as D, r as J, o as K, E as s, C as Q, H as T, I as U, J as V, K as B } from "./CasinoCalendar-IdM-lXMG.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,19 +11,19 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-DFvVele9.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function G({ withLocale: n, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
20
|
t == null && (O.set(e), E.set(n));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function N(n) {
|
|
24
|
+
H(n, "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))}");
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function L(n) {
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
@@ -238,10 +238,10 @@ function M(n) {
|
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function P(n) {
|
|
242
242
|
let e, t = (
|
|
243
243
|
/*session*/
|
|
244
|
-
n[4] &&
|
|
244
|
+
n[4] && L(n)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
@@ -252,10 +252,10 @@ function Q(n) {
|
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
|
-
a[4] ? t ? t.p(a, g) : (t =
|
|
255
|
+
a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
|
-
i:
|
|
258
|
-
o:
|
|
257
|
+
i: I,
|
|
258
|
+
o: I,
|
|
259
259
|
d(a) {
|
|
260
260
|
a && q(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
@@ -263,10 +263,10 @@ function Q(n) {
|
|
|
263
263
|
}
|
|
264
264
|
function W(n, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: o = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, { mbsource: c } = e, m;
|
|
266
|
-
|
|
266
|
+
G({ withLocale: "en", translations: {} }), K(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function M(i) {
|
|
269
|
+
Q[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,9 +274,9 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = 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), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
278
|
-
262272 && o && m &&
|
|
279
|
-
393216 && m &&
|
|
277
|
+
262208 && r && m && T(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
262272 && o && m && U(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
|
+
393216 && m && V(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -297,17 +297,17 @@ function W(n, e, t) {
|
|
|
297
297
|
F,
|
|
298
298
|
c,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
M
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
|
304
304
|
constructor(e) {
|
|
305
|
-
super(),
|
|
305
|
+
super(), j(
|
|
306
306
|
this,
|
|
307
307
|
e,
|
|
308
308
|
W,
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
P,
|
|
310
|
+
z,
|
|
311
311
|
{
|
|
312
312
|
endpoint: 0,
|
|
313
313
|
datasource: 1,
|
|
@@ -328,7 +328,7 @@ class X extends R {
|
|
|
328
328
|
fetchviaevent: 16,
|
|
329
329
|
mbsource: 17
|
|
330
330
|
},
|
|
331
|
-
|
|
331
|
+
N
|
|
332
332
|
);
|
|
333
333
|
}
|
|
334
334
|
get endpoint() {
|
|
@@ -440,7 +440,7 @@ class X extends R {
|
|
|
440
440
|
this.$$set({ mbsource: e }), l();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
B(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
444
444
|
export {
|
|
445
445
|
X as default
|
|
446
446
|
};
|
package/components/{CasinoFavoritesSection-Cl-6cioz.js → CasinoFavoritesSection-CqeUShM0.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E,
|
|
1
|
+
import { $ as E, Q as O, S as R, i as j, s as z, f as l, b as H, n as I, d as q, h as A, j as D, r as J, o as K, E as s, C as Q, H as T, I as U, J as V, K as B } from "./CasinoCalendar-BONyZpYE.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,19 +11,19 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BQlZuqHv.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function G({ withLocale: n, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
20
|
t == null && (O.set(e), E.set(n));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function N(n) {
|
|
24
|
+
H(n, "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))}");
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function L(n) {
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
@@ -238,10 +238,10 @@ function M(n) {
|
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function P(n) {
|
|
242
242
|
let e, t = (
|
|
243
243
|
/*session*/
|
|
244
|
-
n[4] &&
|
|
244
|
+
n[4] && L(n)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
@@ -252,10 +252,10 @@ function Q(n) {
|
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
|
-
a[4] ? t ? t.p(a, g) : (t =
|
|
255
|
+
a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
|
-
i:
|
|
258
|
-
o:
|
|
257
|
+
i: I,
|
|
258
|
+
o: I,
|
|
259
259
|
d(a) {
|
|
260
260
|
a && q(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
@@ -263,10 +263,10 @@ function Q(n) {
|
|
|
263
263
|
}
|
|
264
264
|
function W(n, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: o = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, { mbsource: c } = e, m;
|
|
266
|
-
|
|
266
|
+
G({ withLocale: "en", translations: {} }), K(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function M(i) {
|
|
269
|
+
Q[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,9 +274,9 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = 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), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
278
|
-
262272 && o && m &&
|
|
279
|
-
393216 && m &&
|
|
277
|
+
262208 && r && m && T(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
262272 && o && m && U(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
|
+
393216 && m && V(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -297,17 +297,17 @@ function W(n, e, t) {
|
|
|
297
297
|
F,
|
|
298
298
|
c,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
M
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
|
304
304
|
constructor(e) {
|
|
305
|
-
super(),
|
|
305
|
+
super(), j(
|
|
306
306
|
this,
|
|
307
307
|
e,
|
|
308
308
|
W,
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
P,
|
|
310
|
+
z,
|
|
311
311
|
{
|
|
312
312
|
endpoint: 0,
|
|
313
313
|
datasource: 1,
|
|
@@ -328,7 +328,7 @@ class X extends R {
|
|
|
328
328
|
fetchviaevent: 16,
|
|
329
329
|
mbsource: 17
|
|
330
330
|
},
|
|
331
|
-
|
|
331
|
+
N
|
|
332
332
|
);
|
|
333
333
|
}
|
|
334
334
|
get endpoint() {
|
|
@@ -440,7 +440,7 @@ class X extends R {
|
|
|
440
440
|
this.$$set({ mbsource: e }), l();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
B(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
444
444
|
export {
|
|
445
445
|
X as default
|
|
446
446
|
};
|
package/components/{CasinoFavoritesSection-BTM3dZNo.cjs → CasinoFavoritesSection-D-UkXryn.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-CKD6dg5N.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"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))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B7GhaaB1.cjs");function $({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={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 ee(i){e.append_styles(i,"svelte-15yj9h0",':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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{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))}.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 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, #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}.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 K(i,t,l){const a=i.slice();return a[37]=t[l],a[38]=t,a[39]=l,a}function te(i){let t,l,a,n,s,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",C,w,m,u,d,k,P,D,j,v,A,J,I,T=i[11]("clear")+"",E,N,z,M,B,q;function H(o,f){return o[7]?ie:re}let V=H(i),x=V(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),_=e.space(),F=e.element("div"),L=e.element("span"),C=e.text(S),w=e.space(),x.c(),m=e.space(),u=e.element("span"),d=e.svg_element("svg"),k=e.svg_element("path"),j=e.space(),v=e.element("div"),A=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();J=e.space(),I=e.element("button"),E=e.text(T),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(k,"id","arrow"),e.attr(k,"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(k,"transform","translate(-274.511 -441.088)"),e.attr(k,"fill","#d1d1d1"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","14"),e.attr(d,"height","6.835"),e.attr(d,"viewBox","0 0 14 6.835"),e.attr(u,"class",P="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",D="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(A,"class","FilterDropdown"),e.attr(I,"class","ClearFilters"),I.disabled=N=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",z="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,f){e.insert(o,t,f),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,_),e.append(b,F),e.append(F,L),e.append(L,C),e.append(F,w),x.m(F,null),e.append(l,m),e.append(l,u),e.append(u,d),e.append(d,k),e.append(t,j),e.append(t,v),e.append(v,A);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(A,null);e.append(v,J),e.append(v,I),e.append(I,E),B||(q=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],B=!0)},p(o,f){if(f[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(p,h),f[0]&2048&&S!==(S=o[11]("providers")+"")&&e.set_data(C,S),V===(V=H(o))&&x?x.p(o,f):(x.d(1),x=V(o),x&&(x.c(),x.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&D!==(D="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",D),f[0]&8228){O=e.ensure_array_like(o[5]);let c;for(c=0;c<O.length;c+=1){const W=K(o,O,c);r[c]?r[c].p(W,f):(r[c]=Q(W),r[c].c(),r[c].m(A,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=O.length}f[0]&2048&&T!==(T=o[11]("clear")+"")&&e.set_data(E,T),f[0]&224&&N!==(N=o[7]&&o[6].length!=o[5].length)&&(I.disabled=N),f[0]&16&&z!==(z="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(v,"class",z),f[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),x.d(),e.destroy_each(r,o),B=!1,e.run_all(q)}}}function le(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function re(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function ie(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ae(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[37].logo)||e.attr(t,"src",l),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,l=a[37].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ne(i){let t,l,a=i[37].name+"",n,s,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,F){e.insert(_,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,p)},p(_,F){F[0]&32&&a!==(a=_[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=_[37].games.total+"")&&e.set_data(h,y)},d(_){_&&e.detach(t)}}}function Q(i){let t,l,a,n,s,g,b,y,h,p,_,F;function L(){i[25].call(a,i[38],i[39])}function S(){return i[26](i[37])}function C(u,d){if(u[2]==="false")return ne;if(u[2]==="true")return ae}let w=C(i),m=w&&w(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),g=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(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,d){e.insert(u,t,d),e.append(t,l),e.append(l,a),a.checked=i[37].isFilterSelected,e.append(l,s),e.append(l,g),e.append(l,b),m&&m.m(l,null),e.append(t,y),_||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],_=!0)},p(u,d){i=u,d[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),d[0]&32&&(a.checked=i[37].isFilterSelected),w===(w=C(i))&&m?m.p(i,d):(m&&m.d(1),m=w&&w(i),m&&(m.c(),m.m(l,null))),d[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),d[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),_=!1,e.run_all(F)}}}function oe(i){let t;function l(s,g){if(s[10])return le;if(!s[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,g){e.insert(s,t,g),n&&n.m(t,null),i[28](t)},p(s,g){a===(a=l(s))&&n?n.p(s,g):(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[28](null)}}}function se(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:C="false"}=t,w=!1,m=window.navigator.userAgent,u=[],d=[],k={},P=!1,D=0,j=!0,v,A=!1;$({withLocale:"en",translations:{}});const J=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(f=>{Z(f,o[f])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),k[p]&&(k={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},T=r=>(l(9,j=!0),new Promise((o,f)=>{fetch(r).then(c=>c.json()).then(c=>{c=c.items,o(c.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=C==="true"?"*":p;c.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[Y])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,d.push(R)):R.isFilterSelected=!1}),l(5,u=c),N()}).catch(c=>{console.error(c),l(10,A=!0),f(c)}).finally(()=>{l(9,j=!1)})})),E=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(c=>c.name===r.name).length==0?d.push(r):l(6,d=d.filter(c=>c.name!==r.name));const f=C==="true"?"*":p;o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(k={[f]:d.map(c=>c.id)})):(o=JSON.parse(o),o[f]=d.map(c=>c.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),N()},N=()=>{l(7,P=d.length===u.length||d.length==0),l(8,D=d.length)},z=()=>{if(u.length&&C==="true")return;const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(m)),C==="true"||((p.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${p})`),r.searchParams.append("subVendors",`games(subGroups=${p})`)):r.searchParams.append("filter",`games(groups=${p})`)),T(r)},M=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(k={[C==="true"?"*":p]:d.map(r=>r.id)})),u.forEach(r=>r.isFilterSelected=!1),l(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,P=!0),l(4,w=!1)},B=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)}));const q=()=>I();function H(r,o){r[o].isFilterSelected=this.checked,l(5,u)}const V=r=>E(r),x=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,l(3,v)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,s=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,p=r.categoryid),"addfilterselector"in r&&l(0,_=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,L=r.filterbylogo),"mbsource"in r&&l(22,S=r.mbsource),"usesinglevendorfilter"in r&&l(23,C=r.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&L&&z(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&4194312&&v&&e.setStreamStyling(v,`${S}.Style`),i.$$.dirty[0]&262144&&b&&J()},[_,F,L,v,w,u,d,P,D,j,A,a,I,E,M,n,s,g,b,y,h,p,S,C,q,H,V,x,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,se,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},ee,[-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(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=X;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DglR4hXB.cjs");function $({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={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 ee(i){e.append_styles(i,"svelte-1rlsu2u",':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 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 K(i,t,l){const a=i.slice();return a[37]=t[l],a[38]=t,a[39]=l,a}function te(i){let t,l,a,n,o,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",x,w,m,u,d,C,P,E,M,v,A,J,I,T=i[11]("clear")+"",D,B,j,N,z,q;function H(s,f){return s[7]?ie:re}let V=H(i),k=V(i),O=e.ensure_array_like(i[5]),r=[];for(let s=0;s<O.length;s+=1)r[s]=Q(K(i,O,s));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),_=e.space(),F=e.element("div"),L=e.element("span"),x=e.text(S),w=e.space(),k.c(),m=e.space(),u=e.element("span"),d=e.svg_element("svg"),C=e.svg_element("path"),M=e.space(),v=e.element("div"),A=e.element("ul");for(let s=0;s<r.length;s+=1)r[s].c();J=e.space(),I=e.element("button"),D=e.text(T),e.attr(o,"id","noun_filter_736223"),e.attr(o,"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(o,"transform","translate(-5 -6.2)"),e.attr(o,"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(C,"id","arrow"),e.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"),e.attr(C,"transform","translate(-274.511 -441.088)"),e.attr(C,"fill","#d1d1d1"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","14"),e.attr(d,"height","6.835"),e.attr(d,"viewBox","0 0 14 6.835"),e.attr(u,"class",P="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",E="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(A,"class","FilterDropdown"),e.attr(I,"class","ClearFilters"),I.disabled=B=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",N="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(s,f){e.insert(s,t,f),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,o),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,_),e.append(b,F),e.append(F,L),e.append(L,x),e.append(F,w),k.m(F,null),e.append(l,m),e.append(l,u),e.append(u,d),e.append(d,C),e.append(t,M),e.append(t,v),e.append(v,A);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(A,null);e.append(v,J),e.append(v,I),e.append(I,D),z||(q=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],z=!0)},p(s,f){if(f[0]&2048&&h!==(h=s[11]("filterby")+"")&&e.set_data(p,h),f[0]&2048&&S!==(S=s[11]("providers")+"")&&e.set_data(x,S),V===(V=H(s))&&k?k.p(s,f):(k.d(1),k=V(s),k&&(k.c(),k.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(s[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&E!==(E="FilterSelector "+(s[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",E),f[0]&8228){O=e.ensure_array_like(s[5]);let c;for(c=0;c<O.length;c+=1){const W=K(s,O,c);r[c]?r[c].p(W,f):(r[c]=Q(W),r[c].c(),r[c].m(A,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=O.length}f[0]&2048&&T!==(T=s[11]("clear")+"")&&e.set_data(D,T),f[0]&224&&B!==(B=s[7]&&s[6].length!=s[5].length)&&(I.disabled=B),f[0]&16&&j!==(j="FilterDropdownContainer "+(s[4]?"FilterOpen":""))&&e.attr(v,"class",j),f[0]&3&&N!==(N="FilterContainer "+(s[0]=="true"&&s[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",N)},d(s){s&&e.detach(t),k.d(),e.destroy_each(r,s),z=!1,e.run_all(q)}}}function le(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),e.append(t,a)},p(n,o){o[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function re(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function ie(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,o){e.insert(n,t,o),e.append(t,a)},p(n,o){o[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ae(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[37].logo)||e.attr(t,"src",l),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,l=a[37].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ne(i){let t,l,a=i[37].name+"",n,o,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),o=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,F){e.insert(_,t,F),e.append(t,l),e.append(l,n),e.append(t,o),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,p)},p(_,F){F[0]&32&&a!==(a=_[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=_[37].games.total+"")&&e.set_data(h,y)},d(_){_&&e.detach(t)}}}function Q(i){let t,l,a,n,o,g,b,y,h,p,_,F;function L(){i[25].call(a,i[38],i[39])}function S(){return i[26](i[37])}function x(u,d){if(u[2]==="false")return ne;if(u[2]==="true")return ae}let w=x(i),m=w&&w(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),o=e.space(),g=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(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,d){e.insert(u,t,d),e.append(t,l),e.append(l,a),a.checked=i[37].isFilterSelected,e.append(l,o),e.append(l,g),e.append(l,b),m&&m.m(l,null),e.append(t,y),_||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],_=!0)},p(u,d){i=u,d[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),d[0]&32&&(a.checked=i[37].isFilterSelected),w===(w=x(i))&&m?m.p(i,d):(m&&m.d(1),m=w&&w(i),m&&(m.c(),m.m(l,null))),d[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),d[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),_=!1,e.run_all(F)}}}function se(i){let t;function l(o,g){if(o[10])return le;if(!o[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(o,g){e.insert(o,t,g),n&&n.m(t,null),i[28](t)},p(o,g){a===(a=l(o))&&n?n.p(o,g):(n&&n.d(1),n=a&&a(o),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),n&&n.d(),i[28](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:o=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:x="false"}=t,w=!1,m=window.navigator.userAgent,u=[],d=[],C={},P=!1,E=0,M=!0,v,A=!1;$({withLocale:"en",translations:{}});const J=()=>{fetch(b).then(s=>s.json()).then(s=>{Object.keys(s).forEach(f=>{Z(f,s[f])})}).catch(s=>{console.log(s)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),C[p]&&(C={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},T=r=>(l(9,M=!0),new Promise((s,f)=>{fetch(r).then(c=>c.json()).then(c=>{c=c.items,s(c.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=x==="true"?"*":p;c.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[Y])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,d.push(R)):R.isFilterSelected=!1}),l(5,u=c),B()}).catch(c=>{console.error(c),l(10,A=!0),f(c)}).finally(()=>{l(9,M=!1)})})),D=r=>{let s=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(c=>c.name===r.name).length==0?d.push(r):l(6,d=d.filter(c=>c.name!==r.name));const f=x==="true"?"*":p;s==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[f]:d.map(c=>c.id)})):(s=JSON.parse(s),s[f]=d.map(c=>c.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(s))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),B()},B=()=>{l(7,P=d.length===u.length||d.length==0),l(8,E=d.length)},j=()=>{if(u.length&&x==="true")return;const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",o),r.searchParams.append("platform",e.getDevice(m)),x==="true"||((p.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${p})`),r.searchParams.append("subVendors",`games(subGroups=${p})`)):r.searchParams.append("filter",`games(groups=${p})`)),T(r)},N=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[x==="true"?"*":p]:d.map(r=>r.id)})),u.forEach(r=>r.isFilterSelected=!1),l(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,P=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const q=()=>I();function H(r,s){r[s].isFilterSelected=this.checked,l(5,u)}const V=r=>D(r),k=()=>N();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,l(3,v)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,o=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,p=r.categoryid),"addfilterselector"in r&&l(0,_=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,L=r.filterbylogo),"mbsource"in r&&l(22,S=r.mbsource),"usesinglevendorfilter"in r&&l(23,x=r.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&o&&p&&L&&j(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&4194312&&v&&e.setStreamStyling(v,`${S}.Style`),i.$$.dirty[0]&262144&&b&&J()},[_,F,L,v,w,u,d,P,E,M,A,a,I,D,N,n,o,g,b,y,h,p,S,x,q,H,V,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,se,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},ee,[-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(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=X;
|