@everymatrix/casino-lobby 1.74.8 → 1.74.10
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-BMDbprh6.js → CasinoCalendar-B0K8z0GJ.js} +781 -795
- package/components/CasinoCalendar-Bo-lripz.cjs +19 -0
- package/components/{CasinoCalendar-FUyH3So6.js → CasinoCalendar-CzMBlFEu.js} +995 -1009
- package/components/{CasinoCalendarDailyDetails-PT-ciuLj.js → CasinoCalendarDailyDetails-8b-Ie2Hl.js} +75 -75
- package/components/{CasinoCalendarDailyDetails-qb4mpvz6.js → CasinoCalendarDailyDetails-D5cq8_6v.js} +75 -75
- package/components/CasinoCalendarDailyDetails-DZ2juA5b.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-E_UK8J-P.js → CasinoCalendarDailyItem-BglEC2TQ.js} +6 -6
- package/components/{CasinoCalendarDailyItem-BJAYmacx.cjs → CasinoCalendarDailyItem-Cl7eHYxY.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Ddvjsin9.js → CasinoCalendarDailyItem-DXREwm9q.js} +6 -6
- package/components/CasinoCategoriesSlider-B6_EYUBm.cjs +1 -0
- package/components/{CasinoCategoriesSlider-CyY1HQ0P.js → CasinoCategoriesSlider-BKQxQQyV.js} +64 -64
- package/components/{CasinoCategoriesSlider-DTKia-BC.js → CasinoCategoriesSlider-C7_ke4uB.js} +64 -64
- package/components/{CasinoCollectionsProviders-DnxgcymV.cjs → CasinoCollectionsProviders-Abg7c3OD.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-G6IEHMff.js → CasinoCollectionsProviders-BpkF43eH.js} +4 -4
- package/components/{CasinoCollectionsProviders-C66vF5px.js → CasinoCollectionsProviders-BzU-DnW_.js} +4 -4
- package/components/{CasinoFavoritesSection-DvljpfJ3.js → CasinoFavoritesSection-9lyxUggQ.js} +5 -5
- package/components/{CasinoFavoritesSection-Cv6jIUlD.js → CasinoFavoritesSection-CYeNzAvT.js} +5 -5
- package/components/{CasinoFavoritesSection-BQm3vLN4.cjs → CasinoFavoritesSection-yx4YyO7z.cjs} +1 -1
- package/components/CasinoFilter-Bc_k_xiT.cjs +1 -0
- package/components/{CasinoFilter-CFd1r73g.js → CasinoFilter-CekYy95Z.js} +225 -224
- package/components/{CasinoFilter-BW0CkIQU.js → CasinoFilter-Cve0ticX.js} +253 -254
- package/components/{CasinoGameThumbnail-CP707TN8.js → CasinoGameThumbnail-1vnHRePz.js} +1239 -1255
- package/components/{CasinoGameThumbnail-Cl2nd2Ao.js → CasinoGameThumbnail-CWVvNagJ.js} +768 -752
- package/components/CasinoGameThumbnail-MNCUvtBB.cjs +47 -0
- package/components/{CasinoGamesCategorySection-_5PoZwz5.js → CasinoGamesCategorySection-Cfjz1dku.js} +179 -179
- package/components/CasinoGamesCategorySection-D5XSzosp.cjs +1 -0
- package/components/{CasinoGamesCategorySection-BexCIH6G.js → CasinoGamesCategorySection-DmOLQ3Vd.js} +182 -182
- package/components/{CasinoJackpotBanner-DdPrmZDs.js → CasinoJackpotBanner-B_dYLQp4.js} +8 -8
- package/components/{CasinoJackpotBanner-nsvJTIO2.js → CasinoJackpotBanner-CBz6E__7.js} +8 -8
- package/components/{CasinoJackpotBanner-0uMNuf8D.cjs → CasinoJackpotBanner-DrTQC7xJ.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-B7Zksu4A.js → CasinoLastPlayedSection--Qe6ZhCg.js} +8 -8
- package/components/{CasinoLastPlayedSection-BvLbRXcm.js → CasinoLastPlayedSection-BDaudheg.js} +8 -8
- package/components/{CasinoLastPlayedSection-DbfXEbef.cjs → CasinoLastPlayedSection-gXkDFCLp.cjs} +1 -1
- package/components/{CasinoLobby-BN2EJtl2.js → CasinoLobby-2yiegknV.js} +7 -7
- package/components/{CasinoLobby-D8qvx3h6.js → CasinoLobby-C-nPEaqC.js} +7 -7
- package/components/{CasinoLobby-nUsTGR-H.cjs → CasinoLobby-Yi98Oora.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-Bol1_zkd.js → CasinoMostPlayedSection--ioyWjg0.js} +13 -13
- package/components/{CasinoMostPlayedSection-ts0YqE3Q.js → CasinoMostPlayedSection-OQTrFFYj.js} +13 -13
- package/components/{CasinoMostPlayedSection-Du_UlvPc.cjs → CasinoMostPlayedSection-ahrkwe03.cjs} +1 -1
- package/components/{CasinoMyGames-a2l-w517.js → CasinoMyGames-C3d24Otj.js} +8 -8
- package/components/{CasinoMyGames-D9v-iYaj.js → CasinoMyGames-CdCBPj7p.js} +8 -8
- package/components/{CasinoMyGames-DqGcye1D.cjs → CasinoMyGames-nNbPPI-D.cjs} +1 -1
- package/components/{CasinoPage-C9nOimHH.js → CasinoPage-5bRpNKaS.js} +15 -15
- package/components/{CasinoPage-BOiAVVXu.cjs → CasinoPage-BzYIzPcD.cjs} +1 -1
- package/components/{CasinoPage-KebAtIf2.js → CasinoPage-D-B9FS4G.js} +15 -15
- package/components/{CasinoRandomGame-CytI5GjM.js → CasinoRandomGame-Bqh0v1th.js} +83 -83
- package/components/{CasinoRandomGame-R-0QqjwX.js → CasinoRandomGame-DUQ2O7Ih.js} +12 -12
- package/components/{CasinoRandomGame-D6dNIU7H.cjs → CasinoRandomGame-DwpEKRBx.cjs} +2 -2
- package/components/{CasinoSearch-PQxlpdIr.js → CasinoSearch-B4WLyXex.js} +5 -5
- package/components/{CasinoSearch-CgNC2d7t.cjs → CasinoSearch-CAVnTiiU.cjs} +1 -1
- package/components/{CasinoSearch-DMIFjlPK.js → CasinoSearch-RDMeVLj-.js} +5 -5
- package/components/{CasinoSlider-BUdXNBUn.js → CasinoSlider-BSy-pbt8.js} +5 -5
- package/components/{CasinoSlider-CgGTFca7.js → CasinoSlider-BZe1q5jA.js} +5 -5
- package/components/{CasinoSlider-B_4OKAXx.cjs → CasinoSlider-Gf_263k6.cjs} +1 -1
- package/components/{CasinoSort-d_O_44vv.js → CasinoSort-B25h8Cud.js} +102 -103
- package/components/{CasinoSort-_My6LmSq.cjs → CasinoSort-BjPW0QaZ.cjs} +1 -1
- package/components/{CasinoSort-CFRGv5Ze.js → CasinoSort-DHRPAHDE.js} +94 -93
- package/components/{CasinoWinners-BX9jBJGA.cjs → CasinoWinners-D1tkG_oD.cjs} +1 -1
- package/components/{CasinoWinners-Co-G3_VH.js → CasinoWinners-DUN0A3--.js} +122 -122
- package/components/{CasinoWinners-DBM7TeCL.js → CasinoWinners-DYd8q5Sh.js} +126 -126
- package/components/{GeneralAnimationLoading-CfouZ-sx.js → GeneralAnimationLoading-8efHmhFw.js} +7 -7
- package/components/{GeneralAnimationLoading-D47HGjTy.cjs → GeneralAnimationLoading-CUK4MKI8.cjs} +1 -1
- package/components/{GeneralAnimationLoading-eg8O-l55.js → GeneralAnimationLoading-DUAt1hpi.js} +7 -7
- 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-BGnpW6-t.js +25 -0
- package/stencil/casino-play-random-game-Dkt8_s5i.js +7 -0
- package/stencil/casino-play-random-game-DxDk4Aim.cjs +1 -0
- package/stencil/casino-play-random-game_2-BxEiwCaH.cjs +432 -0
- package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game_2-CO_ycbvG.js} +216 -66
- package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game_2-OLkBGlKQ.js} +223 -91
- package/stencil/{index-ab3202d6-CoRS04SH.js → index-328e660d-CgCMs0nk.js} +198 -197
- package/stencil/{index-ab3202d6-CSUArOSv.js → index-328e660d-DIiqSVTN.js} +194 -193
- 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/{index-b2193545-kN0z2MLt.js → index-b2193545-BL364Gzq.js} +169 -169
- package/stencil/{index-b2193545-D_cUvAA-.js → index-b2193545-DdqB2rk5.js} +176 -176
- package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
- package/stencil/{ui-image-I_uR7pAI.js → ui-image-B_HWMBI-.js} +1 -1
- package/stencil/{ui-image-BAqS-hS6.js → ui-image-CzGNxx73.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.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-CH2Jdp7k.cjs → ui-image-wubI3fkK.cjs} +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/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CsmgJUYN.js} +2 -2
- package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
- package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-yRWBmyfK.js} +2 -2
- package/components/CasinoCalendar-BGhJ1cEV.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-DyNw1uMX.cjs +0 -1
- package/components/CasinoCategoriesSlider-CMchkLFc.cjs +0 -1
- package/components/CasinoFilter-BKrzmU_V.cjs +0 -1
- package/components/CasinoGameThumbnail-xpkz1cUi.cjs +0 -47
- package/components/CasinoGamesCategorySection-DkolOoEE.cjs +0 -1
- package/stencil/casino-play-random-game-C3hhQjhn.cjs +0 -378
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
- package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
package/components/{CasinoCollectionsProviders-G6IEHMff.js → CasinoCollectionsProviders-BpkF43eH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _e, $ as we, S as Se, i as ke, f as x, c as Ge, s as Pe, b as Le, e as y, d as j, G as O, j as F, k as xe, o as Me,
|
|
1
|
+
import { a as _e, $ as we, S as Se, i as ke, f as x, c as Ge, s as Pe, b as Le, e as y, d as j, G as O, j as F, k as xe, o as Me, m as je, n as $, p as Fe, q as Te, r as Be, v as z, x as R, w as T, y as m, z as v, E as U, F as se, A as E, O as Oe, L as I, J as ze, I as H, P as Ee } from "./CasinoCalendar-B0K8z0GJ.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
|
-
Me(() => (i(9, V =
|
|
510
|
+
Me(() => (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/{CasinoCollectionsProviders-C66vF5px.js → CasinoCollectionsProviders-BzU-DnW_.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as be, $ as Ce, S as ye, i as _e, f as x, c as we, s as Se, b as ke, e as y, d as M, G as T, j, k as Ge, o as Pe,
|
|
1
|
+
import { a as be, $ as Ce, S as ye, i as _e, f as x, c as we, s as Se, b as ke, e as y, d as M, G as T, j, k as Ge, o as Pe, m as Le, n as Y, p as xe, q as Me, r as je, v as B, x as I, w as F, y as m, z as b, E as R, F as ne, A as O, O as Fe, L as N, J as Te, I as z, P as Be } from "./CasinoCalendar-CzMBlFEu.js";
|
|
2
2
|
function Q(t, e) {
|
|
3
3
|
be(t, e);
|
|
4
4
|
}
|
|
@@ -501,7 +501,7 @@ function Re(t, e, i) {
|
|
|
501
501
|
}, ue = () => {
|
|
502
502
|
Oe(c);
|
|
503
503
|
};
|
|
504
|
-
Pe(() => (i(9, V =
|
|
504
|
+
Pe(() => (i(9, V = Le(re)), () => {
|
|
505
505
|
}));
|
|
506
506
|
const me = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => X(o.id);
|
|
507
507
|
function pe(o) {
|
|
@@ -521,8 +521,8 @@ function Re(t, e, i) {
|
|
|
521
521
|
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
522
522
|
24 && g && u && J(), t.$$.dirty[0] & /*lang*/
|
|
523
523
|
131072 && c && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
524
|
-
262176 && S && G &&
|
|
525
|
-
524320 && s && G &&
|
|
524
|
+
262176 && S && G && xe(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
525
|
+
524320 && s && G && Me(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
526
526
|
2097184 && G && je(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
527
527
|
1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
|
|
528
528
|
4194304 && A && W();
|
package/components/{CasinoFavoritesSection-DvljpfJ3.js → CasinoFavoritesSection-9lyxUggQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, Q as R, S as j, i as z, f as l, c as G, s as H, b as Q, e as D, y as T, d as I, G as L, j as M, o as U,
|
|
1
|
+
import { $ as q, Q as R, S as j, i as z, f as l, c as G, s as H, b as Q, e as D, y as T, d as I, G as L, j as M, o as U, H as n, n as V, p as B, q as J, r as K } from "./CasinoCalendar-B0K8z0GJ.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("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-Cfjz1dku.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -277,7 +277,7 @@ function X(s, e, t) {
|
|
|
277
277
|
N({ withLocale: "en", translations: {} }), U(() => () => {
|
|
278
278
|
});
|
|
279
279
|
function O(i) {
|
|
280
|
-
|
|
280
|
+
V[i ? "unshift" : "push"](() => {
|
|
281
281
|
r = i, t(19, r);
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -285,8 +285,8 @@ 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), "clientstyling" in i && t(6, g = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "translationurl" in i && t(8, y = i.translationurl), "livecasino" in i && t(9, b = i.livecasino), "integratedgameframemobile" in i && t(10, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, w = i.integratedgameframedesktop), "showgamename" in i && t(12, _ = i.showgamename), "gamepagemodalurl" in i && t(13, k = i.gamepagemodalurl), "visiblegames" in i && t(14, C = i.visiblegames), "favorites" in i && t(15, S = i.favorites), "casinomygames" in i && t(16, F = i.casinomygames), "fetchviaevent" in i && t(17, E = i.fetchviaevent), "mbsource" in i && t(18, c = i.mbsource);
|
|
286
286
|
}, s.$$.update = () => {
|
|
287
287
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
288
|
-
524352 && g && r &&
|
|
289
|
-
524416 && o && r &&
|
|
288
|
+
524352 && g && r && B(r, g), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
289
|
+
524416 && o && r && J(r, o), s.$$.dirty & /*customStylingContainer, mbsource*/
|
|
290
290
|
786432 && r && K(r, `${c}.Style`);
|
|
291
291
|
}, [
|
|
292
292
|
a,
|
package/components/{CasinoFavoritesSection-Cv6jIUlD.js → CasinoFavoritesSection-CYeNzAvT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, Q as R, S as j, i as z, f as l, c as G, s as H, b as Q, e as D, y as T, d as I, G as L, j as M, o as U,
|
|
1
|
+
import { $ as q, Q as R, S as j, i as z, f as l, c as G, s as H, b as Q, e as D, y as T, d as I, G as L, j as M, o as U, H as n, n as V, p as B, q as J, r as K } from "./CasinoCalendar-CzMBlFEu.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("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-DmOLQ3Vd.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -277,7 +277,7 @@ function X(s, e, t) {
|
|
|
277
277
|
N({ withLocale: "en", translations: {} }), U(() => () => {
|
|
278
278
|
});
|
|
279
279
|
function O(i) {
|
|
280
|
-
|
|
280
|
+
V[i ? "unshift" : "push"](() => {
|
|
281
281
|
r = i, t(19, r);
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -285,8 +285,8 @@ 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), "clientstyling" in i && t(6, g = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "translationurl" in i && t(8, y = i.translationurl), "livecasino" in i && t(9, b = i.livecasino), "integratedgameframemobile" in i && t(10, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, w = i.integratedgameframedesktop), "showgamename" in i && t(12, _ = i.showgamename), "gamepagemodalurl" in i && t(13, k = i.gamepagemodalurl), "visiblegames" in i && t(14, C = i.visiblegames), "favorites" in i && t(15, S = i.favorites), "casinomygames" in i && t(16, F = i.casinomygames), "fetchviaevent" in i && t(17, E = i.fetchviaevent), "mbsource" in i && t(18, c = i.mbsource);
|
|
286
286
|
}, s.$$.update = () => {
|
|
287
287
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
288
|
-
524352 && g && r &&
|
|
289
|
-
524416 && o && r &&
|
|
288
|
+
524352 && g && r && B(r, g), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
289
|
+
524416 && o && r && J(r, o), s.$$.dirty & /*customStylingContainer, mbsource*/
|
|
290
290
|
786432 && r && K(r, `${c}.Style`);
|
|
291
291
|
}, [
|
|
292
292
|
a,
|
package/components/{CasinoFavoritesSection-BQm3vLN4.cjs → CasinoFavoritesSection-yx4YyO7z.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-Bo-lripz.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-D5XSzosp.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",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"),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[15]),t.set_custom_element_data(e,"fetchviaevent",a[17]),t.set_custom_element_data(e,"mbsource",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[12]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"translationurl",a[8]),t.set_custom_element_data(e,"livecasino",a[9]),t.set_custom_element_data(e,"visiblegames",a[14]),t.set_custom_element_data(e,"gamepagemodalurl",a[13]),t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),t.set_custom_element_data(e,"integratedgameframemobile",a[10]),t.set_custom_element_data(e,"casinomygames",a[16])},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&32768&&t.set_custom_element_data(e,"favorites",s[15]),i&131072&&t.set_custom_element_data(e,"fetchviaevent",s[17]),i&262144&&t.set_custom_element_data(e,"mbsource",s[18]),i&4096&&t.set_custom_element_data(e,"showgamename",s[12]),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,"translationurl",s[8]),i&512&&t.set_custom_element_data(e,"livecasino",s[9]),i&16384&&t.set_custom_element_data(e,"visiblegames",s[14]),i&8192&&t.set_custom_element_data(e,"gamepagemodalurl",s[13]),i&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",s[11]),i&1024&&t.set_custom_element_data(e,"integratedgameframemobile",s[10]),i&65536&&t.set_custom_element_data(e,"casinomygames",s[16])},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,{clientstyling:u=""}=e,{clientstylingurl:o=""}=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,{mbsource:c}=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),"clientstyling"in n&&s(6,u=n.clientstyling),"clientstylingurl"in n&&s(7,o=n.clientstylingurl),"translationurl"in n&&s(8,d=n.translationurl),"livecasino"in n&&s(9,h=n.livecasino),"integratedgameframemobile"in n&&s(10,y=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(11,b=n.integratedgameframedesktop),"showgamename"in n&&s(12,v=n.showgamename),"gamepagemodalurl"in n&&s(13,w=n.gamepagemodalurl),"visiblegames"in n&&s(14,k=n.visiblegames),"favorites"in n&&s(15,C=n.favorites),"casinomygames"in n&&s(16,S=n.casinomygames),"fetchviaevent"in n&&s(17,F=n.fetchviaevent),"mbsource"in n&&s(18,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&524352&&u&&l&&t.setClientStyling(l,u),a.$$.dirty&524416&&o&&l&&t.setClientStylingURL(l,o),a.$$.dirty&786432&&l&&t.setStreamStyling(l,`${c}.Style`)},[i,m,r,g,_,f,u,o,d,h,y,b,v,w,k,C,S,F,c,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,clientstyling:6,clientstylingurl:7,translationurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,showgamename:12,gamepagemodalurl:13,visiblegames:14,favorites:15,casinomygames:16,fetchviaevent:17,mbsource: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 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 translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(q,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-Bo-lripz.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;
|