@everymatrix/casino-lobby 1.48.0 → 1.48.2
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-BuNYmxT2.js → CasinoCalendar-CCQut7OA.js} +7 -7
- package/components/{CasinoCalendarDailyDetails-CXA-hOPw.js → CasinoCalendarDailyDetails-AzSENZXw.js} +1 -1
- package/components/{CasinoCalendarDailyItem-CXBzGC5j.js → CasinoCalendarDailyItem-DD924Zcr.js} +1 -1
- package/components/{CasinoCategoriesSlider-CQ2jtwmC.js → CasinoCategoriesSlider-Dd30AvK0.js} +2 -2
- package/components/{CasinoCollectionsProviders-rLy8aW01.js → CasinoCollectionsProviders-Cc1u_orw.js} +1 -1
- package/components/{CasinoFavoritesSection-RMtaQmk3.cjs → CasinoFavoritesSection-C0X8Y5xU.cjs} +1 -1
- package/components/{CasinoFavoritesSection-uqcus7J_.js → CasinoFavoritesSection-CFlSLRuL.js} +2 -2
- package/components/{CasinoFilter-DvTOnHYj.js → CasinoFilter-BpyfHAnH.js} +102 -102
- package/components/CasinoFilter-DXA7jKT_.cjs +1 -0
- package/components/{CasinoGamePage-DAsfOU8X.js → CasinoGamePage-CGpIAfYK.js} +1 -1
- package/components/{CasinoGameThumbnail-CIjludJv.js → CasinoGameThumbnail-CF6611k4.js} +2 -2
- package/components/{CasinoGamesCategorySection-DmNsoS_K.js → CasinoGamesCategorySection-C9Op24qP.js} +1159 -1159
- package/components/CasinoGamesCategorySection-CAd-ZFA-.cjs +1 -0
- package/components/{CasinoJackpotBanner-hWTETjFb.js → CasinoJackpotBanner-CJJFsnyb.js} +1 -1
- package/components/{CasinoLastPlayedSection-B1ezatY7.js → CasinoLastPlayedSection-DbXRHZ_c.js} +2 -2
- package/components/{CasinoLastPlayedSection-B9y4sMJw.cjs → CasinoLastPlayedSection-Dc94lmXw.cjs} +1 -1
- package/components/{CasinoLobby-DKLr7P_o.js → CasinoLobby-ByjQJG-k.js} +5 -5
- package/components/{CasinoLobby-Dx7WdbZp.cjs → CasinoLobby-Djxu2AWH.cjs} +1 -1
- package/components/{CasinoModal-C0mMA0JZ.js → CasinoModal-lLGEeGcU.js} +11 -11
- package/components/{CasinoMostPlayedSection-CQWFs5qH.js → CasinoMostPlayedSection-BwTbTQbk.js} +2 -2
- package/components/{CasinoMostPlayedSection-DgiDKdly.cjs → CasinoMostPlayedSection-mAqHNd4-.cjs} +1 -1
- package/components/{CasinoMyGames-B1qu8JUd.js → CasinoMyGames-DsyVtlVD.js} +4 -4
- package/components/{CasinoMyGames-BxbclHBX.cjs → CasinoMyGames-rFyfyqzb.cjs} +1 -1
- package/components/{CasinoPage-BILjSGW2.js → CasinoPage-BeYfI3Fz.js} +10 -10
- package/components/{CasinoPage-BUf9o6ay.cjs → CasinoPage-DgiQKEi1.cjs} +1 -1
- package/components/{CasinoRandomGame-DwCzuOyV.js → CasinoRandomGame-DGD52sa7.js} +1 -1
- package/components/{CasinoSearch-CY-mTY8I.cjs → CasinoSearch-BHTKNeDT.cjs} +1 -1
- package/components/{CasinoSearch-CYWXVXo2.js → CasinoSearch-D-R0Jvjg.js} +3 -3
- package/components/{CasinoSlider-kGTpzOy8.js → CasinoSlider-CyXzUPtq.js} +144 -144
- package/components/{CasinoSort-CcG6ImMT.js → CasinoSort-D1UmVqPT.js} +29 -29
- package/components/CasinoSort-ersVtC7e.cjs +1 -0
- package/components/{CasinoWinners-D6fP2vkl.js → CasinoWinners-DSCWZZgk.js} +2 -2
- package/components/{GeneralAnimationLoading-DG0Zw3Hq.js → GeneralAnimationLoading-DE8HSm4C.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFilter-BMNiE4RM.cjs +0 -1
- package/components/CasinoGamesCategorySection-CbKid5So.cjs +0 -1
- package/components/CasinoSort--SQX874a.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as re, a as
|
|
1
|
+
import { $ as re, a as ge, I as ue, S as me, i as he, f as L, c as Fe, s as be, b as ye, e as u, d as z, C as ie, j as B, J as ve, o as we, L as _e, m as Ce, p as ae, E as ee, q as P, r as A, u as o, v as s, w as te, A as j, B as ke, R as pe, U as ne, O as xe, D as oe } from "./CasinoCalendar-CCQut7OA.js";
|
|
2
2
|
function Se({ withLocale: r, translations: e }) {
|
|
3
3
|
re.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (ge.set(e), re.set(r));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function se(r, e) {
|
|
8
|
-
|
|
8
|
+
ue(r, e);
|
|
9
9
|
}
|
|
10
10
|
const ce = {
|
|
11
11
|
en: {
|
|
@@ -112,20 +112,20 @@ const ce = {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
function Ie(r) {
|
|
115
|
-
ye(r, "svelte-
|
|
115
|
+
ye(r, "svelte-104g8nn", ':root{--min-height:50px}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-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(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-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(--emfe-w-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(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-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%}}');
|
|
116
116
|
}
|
|
117
117
|
function de(r, e, t) {
|
|
118
118
|
const i = r.slice();
|
|
119
119
|
return i[36] = e[t], i[37] = e, i[38] = t, i;
|
|
120
120
|
}
|
|
121
121
|
function Le(r) {
|
|
122
|
-
let e, t, i, a, c, m, v,
|
|
122
|
+
let e, t, i, a, c, m, v, w, b = (
|
|
123
123
|
/*$_*/
|
|
124
124
|
r[11]("filterby") + ""
|
|
125
|
-
),
|
|
125
|
+
), g, _, y, O, k = (
|
|
126
126
|
/*$_*/
|
|
127
127
|
r[11]("providers") + ""
|
|
128
|
-
), E,
|
|
128
|
+
), E, C, d, F, h, D, M, x, K, T, V, Q, I, J = (
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("clear") + ""
|
|
131
131
|
), R, W, U, H, q, X;
|
|
@@ -135,32 +135,32 @@ function Le(r) {
|
|
|
135
135
|
n[7] ? Oe : Ae
|
|
136
136
|
);
|
|
137
137
|
}
|
|
138
|
-
let Z = Y(r), S = Z(r),
|
|
138
|
+
let Z = Y(r), S = Z(r), N = ae(
|
|
139
139
|
/*vendorArray*/
|
|
140
140
|
r[5]
|
|
141
141
|
), l = [];
|
|
142
|
-
for (let n = 0; n <
|
|
143
|
-
l[n] = fe(de(r,
|
|
142
|
+
for (let n = 0; n < N.length; n += 1)
|
|
143
|
+
l[n] = fe(de(r, N, n));
|
|
144
144
|
return {
|
|
145
145
|
c() {
|
|
146
|
-
e =
|
|
146
|
+
e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), c = ee("path"), m = P(), v = u("div"), w = u("span"), g = A(b), _ = P(), y = u("div"), O = u("span"), E = A(k), C = P(), S.c(), d = P(), F = u("span"), h = ee("svg"), D = ee("path"), K = P(), T = u("div"), V = u("ul");
|
|
147
147
|
for (let n = 0; n < l.length; n += 1)
|
|
148
148
|
l[n].c();
|
|
149
|
-
Q = P(), I =
|
|
149
|
+
Q = P(), I = u("button"), R = A(J), o(c, "id", "noun_filter_736223"), o(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"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(D, "id", "arrow"), o(D, "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"), o(D, "transform", "translate(-274.511 -441.088)"), o(D, "fill", "#d1d1d1"), o(h, "xmlns", "http://www.w3.org/2000/svg"), o(h, "width", "14"), o(h, "height", "6.835"), o(h, "viewBox", "0 0 14 6.835"), o(F, "class", M = "TriangleInactive " + /*isFilterActive*/
|
|
150
150
|
(r[4] ? "TriangleActive" : "")), o(t, "class", x = "FilterSelector " + /*isFilterActive*/
|
|
151
151
|
(r[4] ? "FilterSelectorOpen" : "")), o(V, "class", "FilterDropdown"), o(I, "class", "ClearFilters"), I.disabled = W = /*fullSelection*/
|
|
152
152
|
r[7] && /*selectedVendorArray*/
|
|
153
153
|
r[6].length != /*vendorArray*/
|
|
154
|
-
r[5].length, o(
|
|
154
|
+
r[5].length, o(T, "class", U = "FilterDropdownContainer " + /*isFilterActive*/
|
|
155
155
|
(r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
|
|
156
156
|
(r[0] == "true" && /*addsortingselector*/
|
|
157
157
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
158
158
|
},
|
|
159
159
|
m(n, p) {
|
|
160
|
-
|
|
160
|
+
z(n, e, p), s(e, t), s(t, i), s(i, a), s(a, c), s(i, m), s(i, v), s(v, w), s(w, g), s(v, _), s(v, y), s(y, O), s(O, E), s(y, C), S.m(y, null), s(t, d), s(t, F), s(F, h), s(h, D), s(e, K), s(e, T), s(T, V);
|
|
161
161
|
for (let f = 0; f < l.length; f += 1)
|
|
162
162
|
l[f] && l[f].m(V, null);
|
|
163
|
-
s(
|
|
163
|
+
s(T, Q), s(T, I), s(I, R), q || (X = [
|
|
164
164
|
te(
|
|
165
165
|
t,
|
|
166
166
|
"click",
|
|
@@ -178,42 +178,42 @@ function Le(r) {
|
|
|
178
178
|
p(n, p) {
|
|
179
179
|
if (p[0] & /*$_*/
|
|
180
180
|
2048 && b !== (b = /*$_*/
|
|
181
|
-
n[11]("filterby") + "") &&
|
|
182
|
-
2048 &&
|
|
183
|
-
n[11]("providers") + "") &&
|
|
181
|
+
n[11]("filterby") + "") && j(g, b), p[0] & /*$_*/
|
|
182
|
+
2048 && k !== (k = /*$_*/
|
|
183
|
+
n[11]("providers") + "") && j(E, k), Z === (Z = Y(n)) && S ? S.p(n, p) : (S.d(1), S = Z(n), S && (S.c(), S.m(y, null))), p[0] & /*isFilterActive*/
|
|
184
184
|
16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
|
|
185
185
|
(n[4] ? "TriangleActive" : "")) && o(F, "class", M), p[0] & /*isFilterActive*/
|
|
186
186
|
16 && x !== (x = "FilterSelector " + /*isFilterActive*/
|
|
187
187
|
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", x), p[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
188
188
|
8228) {
|
|
189
|
-
|
|
189
|
+
N = ae(
|
|
190
190
|
/*vendorArray*/
|
|
191
191
|
n[5]
|
|
192
192
|
);
|
|
193
193
|
let f;
|
|
194
|
-
for (f = 0; f <
|
|
195
|
-
const G = de(n,
|
|
194
|
+
for (f = 0; f < N.length; f += 1) {
|
|
195
|
+
const G = de(n, N, f);
|
|
196
196
|
l[f] ? l[f].p(G, p) : (l[f] = fe(G), l[f].c(), l[f].m(V, null));
|
|
197
197
|
}
|
|
198
198
|
for (; f < l.length; f += 1)
|
|
199
199
|
l[f].d(1);
|
|
200
|
-
l.length =
|
|
200
|
+
l.length = N.length;
|
|
201
201
|
}
|
|
202
202
|
p[0] & /*$_*/
|
|
203
203
|
2048 && J !== (J = /*$_*/
|
|
204
|
-
n[11]("clear") + "") &&
|
|
204
|
+
n[11]("clear") + "") && j(R, J), p[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
205
205
|
224 && W !== (W = /*fullSelection*/
|
|
206
206
|
n[7] && /*selectedVendorArray*/
|
|
207
207
|
n[6].length != /*vendorArray*/
|
|
208
208
|
n[5].length) && (I.disabled = W), p[0] & /*isFilterActive*/
|
|
209
209
|
16 && U !== (U = "FilterDropdownContainer " + /*isFilterActive*/
|
|
210
|
-
(n[4] ? "FilterOpen" : "")) && o(
|
|
210
|
+
(n[4] ? "FilterOpen" : "")) && o(T, "class", U), p[0] & /*addfilterselector, addsortingselector*/
|
|
211
211
|
3 && H !== (H = "FilterContainer " + /*addfilterselector*/
|
|
212
212
|
(n[0] == "true" && /*addsortingselector*/
|
|
213
213
|
n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
|
|
214
214
|
},
|
|
215
215
|
d(n) {
|
|
216
|
-
n &&
|
|
216
|
+
n && B(e), S.d(), ke(l, n), q = !1, pe(X);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
}
|
|
@@ -224,18 +224,18 @@ function Pe(r) {
|
|
|
224
224
|
), i;
|
|
225
225
|
return {
|
|
226
226
|
c() {
|
|
227
|
-
e =
|
|
227
|
+
e = u("p"), i = A(t), o(e, "class", "SearchLoading");
|
|
228
228
|
},
|
|
229
229
|
m(a, c) {
|
|
230
|
-
|
|
230
|
+
z(a, e, c), s(e, i);
|
|
231
231
|
},
|
|
232
232
|
p(a, c) {
|
|
233
233
|
c[0] & /*$_*/
|
|
234
234
|
2048 && t !== (t = /*$_*/
|
|
235
|
-
a[11]("500") + "") &&
|
|
235
|
+
a[11]("500") + "") && j(i, t);
|
|
236
236
|
},
|
|
237
237
|
d(a) {
|
|
238
|
-
a &&
|
|
238
|
+
a && B(e);
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
}
|
|
@@ -243,24 +243,24 @@ function Ae(r) {
|
|
|
243
243
|
let e, t;
|
|
244
244
|
return {
|
|
245
245
|
c() {
|
|
246
|
-
e =
|
|
246
|
+
e = u("span"), t = A(
|
|
247
247
|
/*selectionNumber*/
|
|
248
248
|
r[8]
|
|
249
249
|
), o(e, "class", "FilterCounter");
|
|
250
250
|
},
|
|
251
251
|
m(i, a) {
|
|
252
|
-
|
|
252
|
+
z(i, e, a), s(e, t);
|
|
253
253
|
},
|
|
254
254
|
p(i, a) {
|
|
255
255
|
a[0] & /*selectionNumber*/
|
|
256
|
-
256 &&
|
|
256
|
+
256 && j(
|
|
257
257
|
t,
|
|
258
258
|
/*selectionNumber*/
|
|
259
259
|
i[8]
|
|
260
260
|
);
|
|
261
261
|
},
|
|
262
262
|
d(i) {
|
|
263
|
-
i &&
|
|
263
|
+
i && B(e);
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
266
|
}
|
|
@@ -271,30 +271,30 @@ function Oe(r) {
|
|
|
271
271
|
), i;
|
|
272
272
|
return {
|
|
273
273
|
c() {
|
|
274
|
-
e =
|
|
274
|
+
e = u("span"), i = A(t), o(e, "class", "FilterCounter");
|
|
275
275
|
},
|
|
276
276
|
m(a, c) {
|
|
277
|
-
|
|
277
|
+
z(a, e, c), s(e, i);
|
|
278
278
|
},
|
|
279
279
|
p(a, c) {
|
|
280
280
|
c[0] & /*$_*/
|
|
281
281
|
2048 && t !== (t = /*$_*/
|
|
282
|
-
a[11]("all") + "") &&
|
|
282
|
+
a[11]("all") + "") && j(i, t);
|
|
283
283
|
},
|
|
284
284
|
d(a) {
|
|
285
|
-
a &&
|
|
285
|
+
a && B(e);
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function De(r) {
|
|
290
290
|
let e, t;
|
|
291
291
|
return {
|
|
292
292
|
c() {
|
|
293
|
-
e =
|
|
293
|
+
e = u("img"), oe(e.src, t = /*vendor*/
|
|
294
294
|
r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
|
|
295
295
|
},
|
|
296
296
|
m(i, a) {
|
|
297
|
-
|
|
297
|
+
z(i, e, a);
|
|
298
298
|
},
|
|
299
299
|
p(i, a) {
|
|
300
300
|
a[0] & /*vendorArray*/
|
|
@@ -302,39 +302,39 @@ function Te(r) {
|
|
|
302
302
|
i[36].logo) && o(e, "src", t);
|
|
303
303
|
},
|
|
304
304
|
d(i) {
|
|
305
|
-
i &&
|
|
305
|
+
i && B(e);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Te(r) {
|
|
310
310
|
let e, t, i = (
|
|
311
311
|
/*vendor*/
|
|
312
312
|
r[36].name + ""
|
|
313
|
-
), a, c, m, v,
|
|
313
|
+
), a, c, m, v, w = (
|
|
314
314
|
/*vendor*/
|
|
315
315
|
r[36].games.count + ""
|
|
316
|
-
), b,
|
|
316
|
+
), b, g;
|
|
317
317
|
return {
|
|
318
318
|
c() {
|
|
319
|
-
e =
|
|
319
|
+
e = u("div"), t = u("span"), a = A(i), c = P(), m = u("span"), v = A("("), b = A(w), g = A(")"), o(e, "class", "FilterItemLabel");
|
|
320
320
|
},
|
|
321
|
-
m(
|
|
322
|
-
|
|
321
|
+
m(_, y) {
|
|
322
|
+
z(_, e, y), s(e, t), s(t, a), s(e, c), s(e, m), s(m, v), s(m, b), s(m, g);
|
|
323
323
|
},
|
|
324
|
-
p(
|
|
324
|
+
p(_, y) {
|
|
325
325
|
y[0] & /*vendorArray*/
|
|
326
326
|
32 && i !== (i = /*vendor*/
|
|
327
|
-
|
|
328
|
-
32 &&
|
|
329
|
-
|
|
327
|
+
_[36].name + "") && j(a, i), y[0] & /*vendorArray*/
|
|
328
|
+
32 && w !== (w = /*vendor*/
|
|
329
|
+
_[36].games.count + "") && j(b, w);
|
|
330
330
|
},
|
|
331
|
-
d(
|
|
332
|
-
|
|
331
|
+
d(_) {
|
|
332
|
+
_ && B(e);
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
336
|
function fe(r) {
|
|
337
|
-
let e, t, i, a, c, m, v,
|
|
337
|
+
let e, t, i, a, c, m, v, w, b, g, _, y;
|
|
338
338
|
function O() {
|
|
339
339
|
r[23].call(
|
|
340
340
|
i,
|
|
@@ -344,7 +344,7 @@ function fe(r) {
|
|
|
344
344
|
r[38]
|
|
345
345
|
);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function k() {
|
|
348
348
|
return (
|
|
349
349
|
/*click_handler_1*/
|
|
350
350
|
r[24](
|
|
@@ -357,40 +357,40 @@ function fe(r) {
|
|
|
357
357
|
if (
|
|
358
358
|
/*filterbylogo*/
|
|
359
359
|
F[2] === "false"
|
|
360
|
-
) return
|
|
360
|
+
) return Te;
|
|
361
361
|
if (
|
|
362
362
|
/*filterbylogo*/
|
|
363
363
|
F[2] === "true"
|
|
364
|
-
) return
|
|
364
|
+
) return De;
|
|
365
365
|
}
|
|
366
|
-
let
|
|
366
|
+
let C = E(r), d = C && C(r);
|
|
367
367
|
return {
|
|
368
368
|
c() {
|
|
369
|
-
e =
|
|
369
|
+
e = u("li"), t = u("label"), i = u("input"), c = P(), m = u("span"), v = P(), d && d.c(), w = P(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
370
370
|
r[36].name, ne(i, i.__value), o(m, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
|
|
371
|
-
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value =
|
|
371
|
+
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
|
|
372
372
|
r[36].name;
|
|
373
373
|
},
|
|
374
374
|
m(F, h) {
|
|
375
|
-
|
|
376
|
-
r[36].isFilterSelected, s(t, c), s(t, m), s(t, v), d && d.m(t, null), s(e,
|
|
375
|
+
z(F, e, h), s(e, t), s(t, i), i.checked = /*vendor*/
|
|
376
|
+
r[36].isFilterSelected, s(t, c), s(t, m), s(t, v), d && d.m(t, null), s(e, w), _ || (y = [
|
|
377
377
|
te(i, "change", O),
|
|
378
|
-
te(i, "click",
|
|
379
|
-
],
|
|
378
|
+
te(i, "click", k)
|
|
379
|
+
], _ = !0);
|
|
380
380
|
},
|
|
381
381
|
p(F, h) {
|
|
382
382
|
r = F, h[0] & /*vendorArray*/
|
|
383
383
|
32 && a !== (a = /*vendor*/
|
|
384
384
|
r[36].name) && (i.__value = a, ne(i, i.__value)), h[0] & /*vendorArray*/
|
|
385
385
|
32 && (i.checked = /*vendor*/
|
|
386
|
-
r[36].isFilterSelected),
|
|
386
|
+
r[36].isFilterSelected), C === (C = E(r)) && d ? d.p(r, h) : (d && d.d(1), d = C && C(r), d && (d.c(), d.m(t, null))), h[0] & /*filterbylogo*/
|
|
387
387
|
4 && b !== (b = "FilterItem " + /*filterbylogo*/
|
|
388
388
|
(r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), h[0] & /*vendorArray*/
|
|
389
|
-
32 &&
|
|
390
|
-
r[36].name) && (e.value =
|
|
389
|
+
32 && g !== (g = /*vendor*/
|
|
390
|
+
r[36].name) && (e.value = g);
|
|
391
391
|
},
|
|
392
392
|
d(F) {
|
|
393
|
-
F &&
|
|
393
|
+
F && B(e), d && d.d(), _ = !1, pe(y);
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
396
|
}
|
|
@@ -407,10 +407,10 @@ function Ee(r) {
|
|
|
407
407
|
let i = t(r), a = i && i(r);
|
|
408
408
|
return {
|
|
409
409
|
c() {
|
|
410
|
-
e =
|
|
410
|
+
e = u("div"), a && a.c();
|
|
411
411
|
},
|
|
412
412
|
m(c, m) {
|
|
413
|
-
|
|
413
|
+
z(c, e, m), a && a.m(e, null), r[26](e);
|
|
414
414
|
},
|
|
415
415
|
p(c, m) {
|
|
416
416
|
i === (i = t(c)) && a ? a.p(c, m) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
|
|
@@ -418,16 +418,16 @@ function Ee(r) {
|
|
|
418
418
|
i: ie,
|
|
419
419
|
o: ie,
|
|
420
420
|
d(c) {
|
|
421
|
-
c &&
|
|
421
|
+
c && B(e), a && a.d(), r[26](null);
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
425
|
function Me(r, e, t) {
|
|
426
426
|
let i;
|
|
427
427
|
ve(r, xe, (l) => t(11, i = l));
|
|
428
|
-
let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling:
|
|
428
|
+
let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: O = "false" } = e, k = !1, E = window.navigator.userAgent, C = [], d = [], F = {}, h = !1, D = 0, M = !0, x, K = !1;
|
|
429
429
|
Se({ withLocale: "en", translations: {} });
|
|
430
|
-
const
|
|
430
|
+
const T = () => {
|
|
431
431
|
fetch(v).then((n) => n.json()).then((n) => {
|
|
432
432
|
Object.keys(n).forEach((p) => {
|
|
433
433
|
se(p, n[p]);
|
|
@@ -441,7 +441,7 @@ function Me(r, e, t) {
|
|
|
441
441
|
});
|
|
442
442
|
const V = () => {
|
|
443
443
|
let l = document.createElement("style");
|
|
444
|
-
l.innerHTML =
|
|
444
|
+
l.innerHTML = w, x.appendChild(l);
|
|
445
445
|
}, Q = () => {
|
|
446
446
|
let l = document.createElement("style");
|
|
447
447
|
fetch(new URL(b)).then((n) => n.text()).then((n) => {
|
|
@@ -453,17 +453,17 @@ function Me(r, e, t) {
|
|
|
453
453
|
);
|
|
454
454
|
});
|
|
455
455
|
};
|
|
456
|
-
F[
|
|
456
|
+
F[g] && (F = { [g]: [] });
|
|
457
457
|
const I = () => {
|
|
458
|
-
t(4,
|
|
458
|
+
t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
459
459
|
}, J = (l) => (t(9, M = !0), new Promise((n, p) => {
|
|
460
460
|
fetch(l).then((f) => f.json()).then((f) => {
|
|
461
461
|
f = f.items, n(f.items), t(6, d = []);
|
|
462
462
|
let G = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
463
463
|
f.forEach(($) => {
|
|
464
464
|
var le;
|
|
465
|
-
G || (G = { currentCategoryId: [] }), ((le = G[
|
|
466
|
-
}), t(5,
|
|
465
|
+
G || (G = { currentCategoryId: [] }), ((le = G[g]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
|
|
466
|
+
}), t(5, C = f), W();
|
|
467
467
|
}).catch((f) => {
|
|
468
468
|
console.error(f), t(10, K = !0), p(f);
|
|
469
469
|
}).finally(() => {
|
|
@@ -472,51 +472,51 @@ function Me(r, e, t) {
|
|
|
472
472
|
})), R = (l) => {
|
|
473
473
|
let n = localStorage.getItem("vendorFiltersByCategory");
|
|
474
474
|
l.isFilterSelected = !l.isFilterSelected, !d.length || d.filter((p) => p.name === l.name).length == 0 ? d.push(l) : t(6, d = d.filter((p) => p.name !== l.name)), n == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
|
|
475
|
-
[
|
|
476
|
-
})) : (n = JSON.parse(n), n[
|
|
475
|
+
[g]: d.map((p) => p.id)
|
|
476
|
+
})) : (n = JSON.parse(n), n[g] = d.map((p) => p.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
|
|
477
477
|
}, W = () => {
|
|
478
|
-
t(7, h = d.length ===
|
|
478
|
+
t(7, h = d.length === C.length || d.length == 0), t(8, D = d.length);
|
|
479
479
|
}, U = () => {
|
|
480
480
|
const l = new URL(`${a}/v1/casino/vendors`);
|
|
481
|
-
t(4,
|
|
481
|
+
t(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", m), l.searchParams.append("datasource", c), l.searchParams.append("platform", _e(E)), (g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`), J(l);
|
|
482
482
|
}, H = () => {
|
|
483
483
|
t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
|
|
484
|
-
[
|
|
485
|
-
})),
|
|
484
|
+
[g]: d.map((l) => l.id)
|
|
485
|
+
})), C.forEach((l) => l.isFilterSelected = !1), t(5, C), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, h = !0), t(4, k = !1);
|
|
486
486
|
}, q = (l) => {
|
|
487
|
-
l.data.type == "SortingOpened" && t(4,
|
|
487
|
+
l.data.type == "SortingOpened" && t(4, k = !1);
|
|
488
488
|
};
|
|
489
|
-
|
|
489
|
+
we(() => (window.addEventListener("message", q, !1), () => {
|
|
490
490
|
window.removeEventListener("message", q);
|
|
491
491
|
}));
|
|
492
492
|
const X = () => I();
|
|
493
493
|
function Y(l, n) {
|
|
494
|
-
l[n].isFilterSelected = this.checked, t(5,
|
|
494
|
+
l[n].isFilterSelected = this.checked, t(5, C);
|
|
495
495
|
}
|
|
496
496
|
const Z = (l) => R(l), S = () => H();
|
|
497
|
-
function
|
|
498
|
-
|
|
497
|
+
function N(l) {
|
|
498
|
+
Ce[l ? "unshift" : "push"](() => {
|
|
499
499
|
x = l, t(3, x);
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
return r.$$set = (l) => {
|
|
503
|
-
"endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, c = l.datasource), "lang" in l && t(17, m = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19,
|
|
503
|
+
"endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, c = l.datasource), "lang" in l && t(17, m = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, g = l.categoryid), "addfilterselector" in l && t(0, _ = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, O = l.filterbylogo);
|
|
504
504
|
}, r.$$.update = () => {
|
|
505
505
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
506
|
-
2195460 && a && c &&
|
|
507
|
-
524296 &&
|
|
506
|
+
2195460 && a && c && g && O && U(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
507
|
+
524296 && w && x && V(), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
508
508
|
1048584 && b && x && Q(), r.$$.dirty[0] & /*translationurl*/
|
|
509
|
-
262144 && v &&
|
|
509
|
+
262144 && v && T();
|
|
510
510
|
}, [
|
|
511
|
-
|
|
511
|
+
_,
|
|
512
512
|
y,
|
|
513
513
|
O,
|
|
514
514
|
x,
|
|
515
|
-
C,
|
|
516
515
|
k,
|
|
516
|
+
C,
|
|
517
517
|
d,
|
|
518
518
|
h,
|
|
519
|
-
|
|
519
|
+
D,
|
|
520
520
|
M,
|
|
521
521
|
K,
|
|
522
522
|
i,
|
|
@@ -527,17 +527,17 @@ function Me(r, e, t) {
|
|
|
527
527
|
c,
|
|
528
528
|
m,
|
|
529
529
|
v,
|
|
530
|
-
|
|
530
|
+
w,
|
|
531
531
|
b,
|
|
532
|
-
|
|
532
|
+
g,
|
|
533
533
|
X,
|
|
534
534
|
Y,
|
|
535
535
|
Z,
|
|
536
536
|
S,
|
|
537
|
-
|
|
537
|
+
N
|
|
538
538
|
];
|
|
539
539
|
}
|
|
540
|
-
class
|
|
540
|
+
class Ne extends me {
|
|
541
541
|
constructor(e) {
|
|
542
542
|
super(), he(
|
|
543
543
|
this,
|
|
@@ -622,7 +622,7 @@ class je extends me {
|
|
|
622
622
|
this.$$set({ filterbylogo: e }), L();
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
Fe(
|
|
625
|
+
Fe(Ne, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
|
|
626
626
|
export {
|
|
627
|
-
|
|
627
|
+
Ne as default
|
|
628
628
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B3jjGeXh.cjs");function Y({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"}};function $(i){e.append_styles(i,"svelte-104g8nn",':root{--min-height:50px}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-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(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-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(--emfe-w-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(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-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[36]=t[l],a[37]=t,a[38]=l,a}function ee(i){let t,l,a,n,s,u,b,y,h=i[11]("filterby")+"",f,v,F,S,w=i[11]("providers")+"",P,_,c,m,g,I,A,C,W,L,T,H,x,E=i[11]("clear")+"",N,D,j,M,z,J;function q(o,p){return o[7]?re:le}let B=q(i),k=B(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"),u=e.space(),b=e.element("div"),y=e.element("span"),f=e.text(h),v=e.space(),F=e.element("div"),S=e.element("span"),P=e.text(w),_=e.space(),k.c(),c=e.space(),m=e.element("span"),g=e.svg_element("svg"),I=e.svg_element("path"),W=e.space(),L=e.element("div"),T=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),x=e.element("button"),N=e.text(E),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(g,"xmlns","http://www.w3.org/2000/svg"),e.attr(g,"width","14"),e.attr(g,"height","6.835"),e.attr(g,"viewBox","0 0 14 6.835"),e.attr(m,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",C="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(T,"class","FilterDropdown"),e.attr(x,"class","ClearFilters"),x.disabled=D=i[7]&&i[6].length!=i[5].length,e.attr(L,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,p){e.insert(o,t,p),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,u),e.append(a,b),e.append(b,y),e.append(y,f),e.append(b,v),e.append(b,F),e.append(F,S),e.append(S,P),e.append(F,_),k.m(F,null),e.append(l,c),e.append(l,m),e.append(m,g),e.append(g,I),e.append(t,W),e.append(t,L),e.append(L,T);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(T,null);e.append(L,H),e.append(L,x),e.append(x,N),z||(J=[e.listen(l,"click",i[22]),e.listen(x,"click",i[25])],z=!0)},p(o,p){if(p[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(f,h),p[0]&2048&&w!==(w=o[11]("providers")+"")&&e.set_data(P,w),B===(B=q(o))&&k?k.p(o,p):(k.d(1),k=B(o),k&&(k.c(),k.m(F,null))),p[0]&16&&A!==(A="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(m,"class",A),p[0]&16&&C!==(C="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",C),p[0]&8228){O=e.ensure_array_like(o[5]);let d;for(d=0;d<O.length;d+=1){const V=K(o,O,d);r[d]?r[d].p(V,p):(r[d]=Q(V),r[d].c(),r[d].m(T,null))}for(;d<r.length;d+=1)r[d].d(1);r.length=O.length}p[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(N,E),p[0]&224&&D!==(D=o[7]&&o[6].length!=o[5].length)&&(x.disabled=D),p[0]&16&&j!==(j="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(L,"class",j),p[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 te(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 le(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 re(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 ie(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[36].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[36].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ae(i){let t,l,a=i[36].name+"",n,s,u,b,y=i[36].games.count+"",h,f;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),u=e.element("span"),b=e.text("("),h=e.text(y),f=e.text(")"),e.attr(t,"class","FilterItemLabel")},m(v,F){e.insert(v,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,u),e.append(u,b),e.append(u,h),e.append(u,f)},p(v,F){F[0]&32&&a!==(a=v[36].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=v[36].games.count+"")&&e.set_data(h,y)},d(v){v&&e.detach(t)}}}function Q(i){let t,l,a,n,s,u,b,y,h,f,v,F;function S(){i[23].call(a,i[37],i[38])}function w(){return i[24](i[36])}function P(m,g){if(m[2]==="false")return ae;if(m[2]==="true")return ie}let _=P(i),c=_&&_(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),u=e.element("span"),b=e.space(),c&&c.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[36].name,e.set_input_value(a,a.__value),e.attr(u,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=f=i[36].name},m(m,g){e.insert(m,t,g),e.append(t,l),e.append(l,a),a.checked=i[36].isFilterSelected,e.append(l,s),e.append(l,u),e.append(l,b),c&&c.m(l,null),e.append(t,y),v||(F=[e.listen(a,"change",S),e.listen(a,"click",w)],v=!0)},p(m,g){i=m,g[0]&32&&n!==(n=i[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),g[0]&32&&(a.checked=i[36].isFilterSelected),_===(_=P(i))&&c?c.p(i,g):(c&&c.d(1),c=_&&_(i),c&&(c.c(),c.m(l,null))),g[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),g[0]&32&&f!==(f=i[36].name)&&(t.value=f)},d(m){m&&e.detach(t),c&&c.d(),v=!1,e.run_all(F)}}}function ne(i){let t;function l(s,u){if(s[10])return te;if(!s[9])return ee}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,u){e.insert(s,t,u),n&&n.m(t,null),i[26](t)},p(s,u){a===(a=l(s))&&n?n.p(s,u):(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[26](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:u=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:f=""}=t,{addfilterselector:v="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:S="false"}=t,w=!1,P=window.navigator.userAgent,_=[],c=[],m={},g=!1,I=0,A=!0,C,W=!1;Y({withLocale:"en",translations:{}});const L=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(p=>{Z(p,o[p])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])});const T=()=>{let r=document.createElement("style");r.innerHTML=y,C.appendChild(r)},H=()=>{let r=document.createElement("style");fetch(new URL(h)).then(o=>o.text()).then(o=>{r.innerHTML=o,setTimeout(()=>{C.appendChild(r)},1)})};m[f]&&(m={[f]:[]});const x=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,A=!0),new Promise((o,p)=>{fetch(r).then(d=>d.json()).then(d=>{d=d.items,o(d.items),l(6,c=[]);let V=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));d.forEach(R=>{var U;V||(V={currentCategoryId:[]}),((U=V[f])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,c.push(R)):R.isFilterSelected=!1}),l(5,_=d),D()}).catch(d=>{console.error(d),l(10,W=!0),p(d)}).finally(()=>{l(9,A=!1)})})),N=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!c.length||c.filter(p=>p.name===r.name).length==0?c.push(r):l(6,c=c.filter(p=>p.name!==r.name)),o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[f]:c.map(p=>p.id)})):(o=JSON.parse(o),o[f]=c.map(p=>p.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),D()},D=()=>{l(7,g=c.length===_.length||c.length==0),l(8,I=c.length)},j=()=>{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",u),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(P)),(f.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${f})`),r.searchParams.append("subVendors",`games(subGroups=${f})`)):r.searchParams.append("filter",`games(groups=${f})`),E(r)},M=()=>{l(6,c=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[f]:c.map(r=>r.id)})),_.forEach(r=>r.isFilterSelected=!1),l(5,_),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,g=!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=()=>x();function q(r,o){r[o].isFilterSelected=this.checked,l(5,_)}const B=r=>N(r),k=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{C=r,l(3,C)})}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,u=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,f=r.categoryid),"addfilterselector"in r&&l(0,v=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,S=r.filterbylogo)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&f&&S&&j(),i.$$.dirty[0]&524296&&y&&C&&T(),i.$$.dirty[0]&1048584&&h&&C&&H(),i.$$.dirty[0]&262144&&b&&L()},[v,F,S,C,w,_,c,g,I,A,W,a,x,N,M,n,s,u,b,y,h,f,J,q,B,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ne,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},$,[-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()}}e.create_custom_element(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{}},[],[],!0);exports.default=X;
|
|
@@ -14,7 +14,7 @@ var _r = (e, t, s) => new Promise((r, n) => {
|
|
|
14
14
|
}, l = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(i, a);
|
|
15
15
|
l((s = s.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { $ as Ys, a as gi, I as _i, S as yi, i as pi, f as se, c as wi, s as ki, b as vi, e as _, d as q, C as Ke, j as J, J as bi, V as Si, o as Mi, l as st, W as Fi, m as le, u, G as oe, v as d, r as V, A as Z, F as Dt, O as Di, q as z, D as he, X as He, w as ie, R as Yt, L as yr, E as Jt } from "./CasinoCalendar-
|
|
17
|
+
import { $ as Ys, a as gi, I as _i, S as yi, i as pi, f as se, c as wi, s as ki, b as vi, e as _, d as q, C as Ke, j as J, J as bi, V as Si, o as Mi, l as st, W as Fi, m as le, u, G as oe, v as d, r as V, A as Z, F as Dt, O as Di, q as z, D as he, X as He, w as ie, R as Yt, L as yr, E as Jt } from "./CasinoCalendar-CCQut7OA.js";
|
|
18
18
|
function Yi({ withLocale: e, translations: t }) {
|
|
19
19
|
Ys.subscribe((s) => {
|
|
20
20
|
s == null && (gi.set(t), Ys.set(e));
|
|
@@ -14,8 +14,8 @@ var $e = (n, e, t) => new Promise((a, r) => {
|
|
|
14
14
|
}, s = (m) => m.done ? a(m.value) : Promise.resolve(m.value).then(o, l);
|
|
15
15
|
s((t = t.apply(n, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { I as Ht, $ as Kt, S as Wt, i as Vt, f as v, c as jt, s as Yt, b as Jt, e as C, q as B, r as J, D as et, u as d, X as tt, d as k, v as g, A as X, C as fe, j as R, J as Xt, o as Zt, w as Ee, F as de, l as P, L as Qt, m as Ne, H as Z, p as we, B as wt, O as qt, K as ce, E as xe } from "./CasinoCalendar-
|
|
18
|
-
import { h as nt } from "./CasinoGamePage-
|
|
17
|
+
import { I as Ht, $ as Kt, S as Wt, i as Vt, f as v, c as jt, s as Yt, b as Jt, e as C, q as B, r as J, D as et, u as d, X as tt, d as k, v as g, A as X, C as fe, j as R, J as Xt, o as Zt, w as Ee, F as de, l as P, L as Qt, m as Ne, H as Z, p as we, B as wt, O as qt, K as ce, E as xe } from "./CasinoCalendar-CCQut7OA.js";
|
|
18
|
+
import { h as nt } from "./CasinoGamePage-CGpIAfYK.js";
|
|
19
19
|
function at(n, e) {
|
|
20
20
|
Ht(n, e);
|
|
21
21
|
}
|