@everymatrix/casino-page-nd 1.76.1 → 1.76.3
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-C16IdsHZ.js → CasinoCalendar-BJMgw_ul.js} +987 -1001
- package/components/{CasinoCalendar-tQ-xBcqx.js → CasinoCalendar-BZvurYRm.js} +1049 -1063
- package/components/CasinoCalendar-BrGEOev6.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-cFvRLWdH.js → CasinoCalendarDailyDetails-BU31ddcn.js} +75 -75
- package/components/{CasinoCalendarDailyDetails-CgoKqhjo.js → CasinoCalendarDailyDetails-Bl7ypxzN.js} +75 -75
- package/components/CasinoCalendarDailyDetails-eJ6ubWjE.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DI-1ITRX.js → CasinoCalendarDailyItem-CvSpZrmu.js} +6 -6
- package/components/{CasinoCalendarDailyItem-7tLgGXVN.js → CasinoCalendarDailyItem-CxLQYuak.js} +6 -6
- package/components/{CasinoCalendarDailyItem-DDxm8zW-.cjs → CasinoCalendarDailyItem-_cjlHf0N.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-bN2TA3kg.cjs → CasinoCollectionsProviders-5cKh14sW.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-D0Ci0tdQ.js → CasinoCollectionsProviders-BKjC3Dll.js} +4 -4
- package/components/{CasinoCollectionsProviders-BIouDw0I.js → CasinoCollectionsProviders-D1oZCxII.js} +4 -4
- package/components/{CasinoFavoritesSectionNd-BT5lFC_7.js → CasinoFavoritesSectionNd-8cnxisHz.js} +6 -6
- package/components/{CasinoFavoritesSectionNd-CfcAfEu5.js → CasinoFavoritesSectionNd-RikJSCeU.js} +6 -6
- package/components/{CasinoFavoritesSectionNd-C0M-bwnU.cjs → CasinoFavoritesSectionNd-xCDnRIBo.cjs} +1 -1
- package/components/CasinoFilter-CMWczDxl.cjs +1 -0
- package/components/{CasinoFilter-DO1QwYDX.js → CasinoFilter-CpN8VBQT.js} +253 -254
- package/components/{CasinoFilter-CWK2afv5.js → CasinoFilter-DoVSWm0j.js} +225 -224
- package/components/{CasinoGameThumbnailNd-pna6A51I.js → CasinoGameThumbnailNd-CxKK2d8g.js} +651 -651
- package/components/{CasinoGameThumbnailNd-BrIWoP9e.cjs → CasinoGameThumbnailNd-DWm0Co5l.cjs} +6 -6
- package/components/{CasinoGameThumbnailNd-Be0lvvrm.js → CasinoGameThumbnailNd-hRxqPl6m.js} +653 -653
- package/components/{CasinoGamesCategorySectionNd-CcKrG5Zn.js → CasinoGamesCategorySectionNd-CQHYJnaK.js} +14 -14
- package/components/CasinoGamesCategorySectionNd-CyO-Lnhk.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-CjSGVQeM.js → CasinoGamesCategorySectionNd-ES6cmHRt.js} +14 -14
- package/components/{CasinoJackpotBanner-C_XNICzh.js → CasinoJackpotBanner-BF6IK__m.js} +8 -8
- package/components/{CasinoJackpotBanner-DOMmSfuo.js → CasinoJackpotBanner-CKOC4kPD.js} +8 -8
- package/components/{CasinoJackpotBanner-lEjxb1_O.cjs → CasinoJackpotBanner-Cy3toHGG.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CLG8gom8.js → CasinoLastPlayedSectionNd-BuVU8LsT.js} +6 -6
- package/components/{CasinoLastPlayedSectionNd-CUmSm6d0.js → CasinoLastPlayedSectionNd-C9ZEl4Xe.js} +6 -6
- package/components/{CasinoLastPlayedSectionNd-GCZeCpMH.cjs → CasinoLastPlayedSectionNd-Cnw72Sq1.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-BiyhyXkr.cjs → CasinoMostPlayedSectionNd-C-B4fMHH.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-CbmHTqtE.js → CasinoMostPlayedSectionNd-WuDOctYr.js} +7 -7
- package/components/{CasinoMostPlayedSectionNd-Cg3aAy-F.js → CasinoMostPlayedSectionNd-dw-xDD14.js} +7 -7
- package/components/{CasinoMyGamesNd-HEtxQEgx.cjs → CasinoMyGamesNd-BElNwMcc.cjs} +1 -1
- package/components/{CasinoMyGamesNd-BPMtnvNM.js → CasinoMyGamesNd-BYXvBjlI.js} +9 -9
- package/components/{CasinoMyGamesNd-hVfS8dP2.js → CasinoMyGamesNd-rT_me2gN.js} +9 -9
- package/components/{CasinoPageNd-BWOUeVmS.cjs → CasinoPageNd-BE61li85.cjs} +1 -1
- package/components/{CasinoPageNd-4LHjpUm2.js → CasinoPageNd-BOoqkONp.js} +14 -14
- package/components/{CasinoPageNd-DAJsiMzB.js → CasinoPageNd-Dd9u52NP.js} +14 -14
- package/components/{CasinoRandomGame-plUlE4Mq.cjs → CasinoRandomGame-B4nhuWiG.cjs} +2 -2
- package/components/{CasinoRandomGame-DHV-GxTO.js → CasinoRandomGame-BzKdcQuo.js} +83 -83
- package/components/{CasinoRandomGame-C9vlLsVS.js → CasinoRandomGame-Dw22tqKC.js} +12 -12
- package/components/{CasinoSearchNd-BW4IVXTv.js → CasinoSearchNd-B7b38khb.js} +6 -6
- package/components/{CasinoSearchNd-Dc8rq8WD.cjs → CasinoSearchNd-CGlPvE2L.cjs} +1 -1
- package/components/{CasinoSearchNd-k5FCvdiY.js → CasinoSearchNd-DzJCvFUm.js} +6 -6
- package/components/{CasinoSort-BIE4VRkH.js → CasinoSort-BEr7geK9.js} +94 -93
- package/components/{CasinoSort-CffZXJlZ.cjs → CasinoSort-BxHJWqxB.cjs} +1 -1
- package/components/{CasinoSort-0vLlX3yy.js → CasinoSort-C-rTkPj_.js} +102 -103
- package/components/{CasinoWinners-C2nFAwMV.js → CasinoWinners-BPYURlfI.js} +116 -116
- package/components/{CasinoWinners-apJlqYc0.cjs → CasinoWinners-Bi_sWsfT.cjs} +1 -1
- package/components/{CasinoWinners-DxckjwIT.js → CasinoWinners-HvTMtG-7.js} +116 -116
- package/components/{GeneralAnimationLoading-9OuKuAPk.cjs → GeneralAnimationLoading-CiwQU6cW.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BWXlJEed.js → GeneralAnimationLoading-DAmLKs8K.js} +7 -7
- package/components/{GeneralAnimationLoading-CXOZ4shP.js → GeneralAnimationLoading-JyE104ZT.js} +7 -7
- 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/package.json +1 -1
- package/stencil/{casino-play-random-game-tRq8ENhu.js → casino-play-random-game-CeqgxQQ8.js} +1 -1
- package/stencil/{casino-play-random-game-BvVl4mN1.cjs → casino-play-random-game-DqmvddFD.cjs} +1 -1
- package/stencil/{casino-play-random-game-mz161iYA.js → casino-play-random-game-NYwu_uka.js} +1 -1
- package/stencil/{casino-play-random-game_2-DVELgSp-.cjs → casino-play-random-game_2-BxEiwCaH.cjs} +2 -2
- package/stencil/{casino-play-random-game_2-BBqDze0C.js → casino-play-random-game_2-CO_ycbvG.js} +2 -2
- package/stencil/{casino-play-random-game_2-BoSB4X57.js → casino-play-random-game_2-OLkBGlKQ.js} +2 -2
- package/stencil/{index-328e660d-BUOKdOvn.js → index-328e660d-CgCMs0nk.js} +195 -195
- package/stencil/{index-328e660d-O5RXzgXA.js → index-328e660d-DIiqSVTN.js} +186 -186
- package/stencil/index-328e660d-pKNw3-4H.cjs +1 -0
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/{ui-image-BVrts8cF.js → ui-image-C97RBXAN.js} +1 -1
- package/stencil/{ui-image-DohHkgFU.cjs → ui-image-_f0jfQLW.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image-D4FGRsM7.js → ui-image-y3L1k9l0.js} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/components/CasinoCalendar-CvCT6hLv.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-nhOj3ay3.cjs +0 -1
- package/components/CasinoFilter-RhvFc0XR.cjs +0 -1
- package/components/CasinoGamesCategorySectionNd-CWdFpxkx.cjs +0 -1
- package/stencil/index-328e660d-04xW6326.cjs +0 -1
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
package/components/{CasinoCollectionsProviders-BIouDw0I.js → CasinoCollectionsProviders-D1oZCxII.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _e, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as y, d as j, G as z, j as F, k as Me, o as xe,
|
|
1
|
+
import { a as _e, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as y, d as j, G as z, j as F, k as Me, o as xe, m as je, n as $, p as Fe, q as Te, r as Be, v as O, x as R, w as T, y as m, z as v, E as U, F as se, A as E, M as ze, L as I, J as Oe, I as H, N as Ee } from "./CasinoCalendar-BZvurYRm.js";
|
|
2
2
|
function ee(t, e) {
|
|
3
3
|
_e(t, e);
|
|
4
4
|
}
|
|
@@ -507,7 +507,7 @@ function Ve(t, e, i) {
|
|
|
507
507
|
}, pe = () => {
|
|
508
508
|
He(c);
|
|
509
509
|
};
|
|
510
|
-
xe(() => (i(9, V =
|
|
510
|
+
xe(() => (i(9, V = je(de)), () => {
|
|
511
511
|
}));
|
|
512
512
|
const he = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => X(o.id);
|
|
513
513
|
function be(o) {
|
|
@@ -527,8 +527,8 @@ function Ve(t, e, i) {
|
|
|
527
527
|
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
528
528
|
24 && g && u && J(), t.$$.dirty[0] & /*lang*/
|
|
529
529
|
131072 && c && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
530
|
-
262176 && k && L &&
|
|
531
|
-
524320 && s && L &&
|
|
530
|
+
262176 && k && L && Fe(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
531
|
+
524320 && s && L && Te(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
532
532
|
2097184 && L && Be(L, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
533
533
|
1048576 && f && ce(), t.$$.dirty[0] & /*paginationrequired*/
|
|
534
534
|
4194304 && N && W();
|
package/components/{CasinoFavoritesSectionNd-BT5lFC_7.js → CasinoFavoritesSectionNd-8cnxisHz.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, O as R, S as j, i as z, f as l, c as G, s as H, b as N, e as A, y as T, d as D, G as L, j as I, o as U,
|
|
1
|
+
import { $ as q, O as R, S as j, i as z, f as l, c as G, s as H, b as N, e as A, y as T, d as D, G as L, j as I, o as U, H as n, n as V, p as B, q as J, r as K } from "./CasinoCalendar-BJMgw_ul.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let s = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
14
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-ES6cmHRt.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -277,7 +277,7 @@ function X(s, e, t) {
|
|
|
277
277
|
P({ withLocale: "en", translations: {} }), U(() => () => {
|
|
278
278
|
});
|
|
279
279
|
function M(i) {
|
|
280
|
-
|
|
280
|
+
V[i ? "unshift" : "push"](() => {
|
|
281
281
|
r = i, t(19, r);
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -285,9 +285,9 @@ function X(s, e, t) {
|
|
|
285
285
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, m = 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), "mbsource" in i && t(6, g = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "translationurl" in i && t(9, y = i.translationurl), "livecasino" in i && t(10, b = i.livecasino), "integratedgameframemobile" in i && t(11, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(12, w = i.integratedgameframedesktop), "showgamename" in i && t(13, _ = i.showgamename), "gamepagemodalurl" in i && t(14, k = i.gamepagemodalurl), "visiblegames" in i && t(15, C = i.visiblegames), "favorites" in i && t(16, S = i.favorites), "casinomygames" in i && t(17, F = i.casinomygames), "fetchviaevent" in i && t(18, E = i.fetchviaevent);
|
|
286
286
|
}, s.$$.update = () => {
|
|
287
287
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
288
|
-
524416 && o && r &&
|
|
289
|
-
524544 && c && r &&
|
|
290
|
-
524352 && g && r &&
|
|
288
|
+
524416 && o && r && B(r, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
289
|
+
524544 && c && r && J(r, c), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
290
|
+
524352 && g && r && K(r, `${g}.Style`);
|
|
291
291
|
}, [
|
|
292
292
|
a,
|
|
293
293
|
m,
|
package/components/{CasinoFavoritesSectionNd-CfcAfEu5.js → CasinoFavoritesSectionNd-RikJSCeU.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, O as R, S as j, i as z, f as l, c as G, s as H, b as N, e as A, y as T, d as D, G as L, j as I, o as U,
|
|
1
|
+
import { $ as q, O as R, S as j, i as z, f as l, c as G, s as H, b as N, e as A, y as T, d as D, G as L, j as I, o as U, H as n, n as V, p as B, q as J, r as K } from "./CasinoCalendar-BZvurYRm.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let s = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
14
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-CQHYJnaK.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -277,7 +277,7 @@ function X(s, e, t) {
|
|
|
277
277
|
P({ withLocale: "en", translations: {} }), U(() => () => {
|
|
278
278
|
});
|
|
279
279
|
function M(i) {
|
|
280
|
-
|
|
280
|
+
V[i ? "unshift" : "push"](() => {
|
|
281
281
|
r = i, t(19, r);
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -285,9 +285,9 @@ function X(s, e, t) {
|
|
|
285
285
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, m = 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), "mbsource" in i && t(6, g = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "translationurl" in i && t(9, y = i.translationurl), "livecasino" in i && t(10, b = i.livecasino), "integratedgameframemobile" in i && t(11, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(12, w = i.integratedgameframedesktop), "showgamename" in i && t(13, _ = i.showgamename), "gamepagemodalurl" in i && t(14, k = i.gamepagemodalurl), "visiblegames" in i && t(15, C = i.visiblegames), "favorites" in i && t(16, S = i.favorites), "casinomygames" in i && t(17, F = i.casinomygames), "fetchviaevent" in i && t(18, E = i.fetchviaevent);
|
|
286
286
|
}, s.$$.update = () => {
|
|
287
287
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
288
|
-
524416 && o && r &&
|
|
289
|
-
524544 && c && r &&
|
|
290
|
-
524352 && g && r &&
|
|
288
|
+
524416 && o && r && B(r, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
289
|
+
524544 && c && r && J(r, c), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
290
|
+
524352 && g && r && K(r, `${g}.Style`);
|
|
291
291
|
}, [
|
|
292
292
|
a,
|
|
293
293
|
m,
|
package/components/{CasinoFavoritesSectionNd-C0M-bwnU.cjs → CasinoFavoritesSectionNd-xCDnRIBo.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-BrGEOev6.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("./CasinoGamesCategorySectionNd-CyO-Lnhk.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function M({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function O(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 E(a){let e;return{c(){e=t.element("casino-games-category-section-nd"),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[16]),t.set_custom_element_data(e,"fetchviaevent",a[18]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[13]),t.set_custom_element_data(e,"clientstyling",a[7]),t.set_custom_element_data(e,"clientstylingurl",a[8]),t.set_custom_element_data(e,"translationurl",a[9]),t.set_custom_element_data(e,"livecasino",a[10]),t.set_custom_element_data(e,"visiblegames",a[15]),t.set_custom_element_data(e,"gamepagemodalurl",a[14]),t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),t.set_custom_element_data(e,"integratedgameframemobile",a[11]),t.set_custom_element_data(e,"casinomygames",a[17]),t.set_custom_element_data(e,"mbsource",a[6])},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&65536&&t.set_custom_element_data(e,"favorites",s[16]),i&262144&&t.set_custom_element_data(e,"fetchviaevent",s[18]),i&8192&&t.set_custom_element_data(e,"showgamename",s[13]),i&128&&t.set_custom_element_data(e,"clientstyling",s[7]),i&256&&t.set_custom_element_data(e,"clientstylingurl",s[8]),i&512&&t.set_custom_element_data(e,"translationurl",s[9]),i&1024&&t.set_custom_element_data(e,"livecasino",s[10]),i&32768&&t.set_custom_element_data(e,"visiblegames",s[15]),i&16384&&t.set_custom_element_data(e,"gamepagemodalurl",s[14]),i&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),i&2048&&t.set_custom_element_data(e,"integratedgameframemobile",s[11]),i&131072&&t.set_custom_element_data(e,"casinomygames",s[17]),i&64&&t.set_custom_element_data(e,"mbsource",s[6])},d(s){s&&t.detach(e)}}}function A(a){let e,s=a[4]&&E(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,m){t.insert(i,e,m),s&&s.m(e,null),a[20](e)},p(i,[m]){i[4]?s?s.p(i,m):(s=E(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[20](null)}}}function D(a,e,s){let{endpoint:i=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:g=""}=e,{session:_=""}=e,{userid:f=""}=e,{mbsource:u}=e,{clientstyling:o=""}=e,{clientstylingurl:c=""}=e,{translationurl:d=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:y="false"}=e,{integratedgameframedesktop:b="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:w="false"}=e,{visiblegames:k=""}=e,{favorites:C=""}=e,{casinomygames:S="false"}=e,{fetchviaevent:F="true"}=e,l;M({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function L(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(19,l)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,r=n.currency),"lang"in n&&s(3,g=n.lang),"session"in n&&s(4,_=n.session),"userid"in n&&s(5,f=n.userid),"mbsource"in n&&s(6,u=n.mbsource),"clientstyling"in n&&s(7,o=n.clientstyling),"clientstylingurl"in n&&s(8,c=n.clientstylingurl),"translationurl"in n&&s(9,d=n.translationurl),"livecasino"in n&&s(10,h=n.livecasino),"integratedgameframemobile"in n&&s(11,y=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(12,b=n.integratedgameframedesktop),"showgamename"in n&&s(13,v=n.showgamename),"gamepagemodalurl"in n&&s(14,w=n.gamepagemodalurl),"visiblegames"in n&&s(15,k=n.visiblegames),"favorites"in n&&s(16,C=n.favorites),"casinomygames"in n&&s(17,S=n.casinomygames),"fetchviaevent"in n&&s(18,F=n.fetchviaevent)},a.$$.update=()=>{a.$$.dirty&524416&&o&&l&&t.setClientStyling(l,o),a.$$.dirty&524544&&c&&l&&t.setClientStylingURL(l,c),a.$$.dirty&524352&&u&&l&&t.setStreamStyling(l,`${u}.Style`)},[i,m,r,g,_,f,u,o,c,d,h,y,b,v,w,k,C,S,F,l,L]}class q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,D,A,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,showgamename:13,gamepagemodalurl:14,visiblegames:15,favorites:16,casinomygames:17,fetchviaevent:18},O)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(q,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BrGEOev6.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-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 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,c,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",x,w,m,u,d,C,P,T,N,v,A,H,I,E=i[11]("clear")+"",j,B,D,M,z,J;function q(o,f){return o[7]?ie:re}let V=q(i),k=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"),c=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"),N=e.space(),v=e.element("div"),A=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),I=e.element("button"),j=e.text(E),e.attr(c,"id","noun_filter_736223"),e.attr(c,"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(c,"transform","translate(-5 -6.2)"),e.attr(c,"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",T="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",D="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,c),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,N),e.append(t,v),e.append(v,A);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(A,null);e.append(v,H),e.append(v,I),e.append(I,j),z||(J=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],z=!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(x,S),V===(V=q(o))&&k?k.p(o,f):(k.d(1),k=V(o),k&&(k.c(),k.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&T!==(T="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",T),f[0]&8228){O=e.ensure_array_like(o[5]);let s;for(s=0;s<O.length;s+=1){const W=K(o,O,s);r[s]?r[s].p(W,f):(r[s]=Q(W),r[s].c(),r[s].m(A,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=O.length}f[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(j,E),f[0]&224&&B!==(B=o[7]&&o[6].length!=o[5].length)&&(I.disabled=B),f[0]&16&&D!==(D="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(v,"class",D),f[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),k.d(),e.destroy_each(r,o),z=!1,e.run_all(J)}}}function le(i){let t,l=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=l},p(a,n){n[0]&2048&&l!==(l=a[11]("500")+"")&&(t.innerHTML=l)},d(a){a&&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,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c[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,c,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),c=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,c),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,c,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"),c=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,c),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 oe(i){let t;function l(c,g){if(c[10])return le;if(!c[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(c,g){e.insert(c,t,g),n&&n.m(t,null),i[28](t)},p(c,g){a===(a=l(c))&&n?n.p(c,g):(n&&n.d(1),n=a&&a(c),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&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:c=""}=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,T=0,N=!0,v,A=!1;$({withLocale:"en",translations:{}});const H=()=>{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])}),C[p]&&(C={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,N=!0),new Promise((o,f)=>{fetch(r).then(s=>s.json()).then(s=>{s=s.items,o(s.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=x==="true"?"*":p;s.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=s),B()}).catch(s=>{console.error(s),l(10,A=!0),f(s)}).finally(()=>{l(9,N=!1)})})),j=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(s=>s.name===r.name).length==0?d.push(r):l(6,d=d.filter(s=>s.name!==r.name));const f=x==="true"?"*":p;o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[f]:d.map(s=>s.id)})):(o=JSON.parse(o),o[f]=d.map(s=>s.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),B()},B=()=>{l(7,P=d.length===u.length||d.length==0),l(8,T=d.length)},D=()=>{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",c),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})`)),E(r)},M=()=>{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 J=()=>I();function q(r,o){r[o].isFilterSelected=this.checked,l(5,u)}const V=r=>j(r),k=()=>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,c=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&&c&&p&&L&&D(),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&&H()},[_,F,L,v,w,u,d,P,T,N,A,a,I,j,M,n,c,g,b,y,h,p,S,x,J,q,V,k,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;
|