@everymatrix/casino-last-played-section 1.87.37 → 1.87.39
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/{CasinoFilter-RGuOjNV-.js → CasinoFilter-BGbdLmNb.js} +115 -114
- package/components/{CasinoFilter-Bq27fkl0.cjs → CasinoFilter-CeXUPKNn.cjs} +1 -1
- package/components/{CasinoFilter-ur0N0e_q.js → CasinoFilter-erjAS5u7.js} +116 -115
- package/components/{CasinoGameThumbnail-D8eKiOCc.cjs → CasinoGameThumbnail-BQhF1guo.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Ck10-v-p.js → CasinoGameThumbnail-CcpK-ENB.js} +2 -2
- package/components/{CasinoGameThumbnail-CWi08UB2.js → CasinoGameThumbnail-NDT8Z7TI.js} +2 -2
- package/components/{CasinoGamesCategorySection-BxPHrlVj.js → CasinoGamesCategorySection-BBKpAFe2.js} +4 -4
- package/components/{CasinoGamesCategorySection-BIc39Efl.js → CasinoGamesCategorySection-DjHvJC-w.js} +4 -4
- package/components/{CasinoGamesCategorySection-Y8eLR0W5.cjs → CasinoGamesCategorySection-iBpGKd-y.cjs} +2 -2
- package/components/{CasinoLastPlayedSection-DrrWbeZS.cjs → CasinoLastPlayedSection-BBp356hi.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-tw4aeVIv.js → CasinoLastPlayedSection-BTimobYP.js} +1 -1
- package/components/{CasinoLastPlayedSection-jaTKdLsf.js → CasinoLastPlayedSection-mwpAVpa9.js} +1 -1
- package/components/{CasinoSort-CwwPvIGU.cjs → CasinoSort-BMl33Jsp.cjs} +1 -1
- package/components/{CasinoSort-OyxicsAe.js → CasinoSort-BYnQjt_a.js} +1 -1
- package/components/{CasinoSort-CliCKl9a.js → CasinoSort-Bt_Bp_JQ.js} +1 -1
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +1 -1
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ie, M as me, a as he, S as Fe, i as be, s as ye, f as L, b as ve, n as ae, d as
|
|
1
|
+
import { $ as ie, M as me, a as he, S as Fe, i as be, s as ye, f as L, b as ve, n as ae, d as z, c as V, e as g, h as we, j as _e, t as ke, k as Ce, g as n, w as ne, A as xe, N as ge, u as G, m as o, B as te, C as ee, q as O, v as T, O as oe, I as se, D as Se, E as Ie, F as Le, G as Pe, H as Ae } from "./CasinoLastPlayedSection-mwpAVpa9.js";
|
|
2
2
|
function Oe({ withLocale: r, translations: e }) {
|
|
3
3
|
ie.subscribe((l) => {
|
|
4
4
|
l == null && (me.set(e), ie.set(r));
|
|
@@ -124,116 +124,116 @@ function fe(r, e, l) {
|
|
|
124
124
|
const i = r.slice();
|
|
125
125
|
return i[37] = e[l], i[38] = e, i[39] = l, i;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Be(r) {
|
|
128
128
|
let e, l, i, a, s, m, v, w, b = (
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("filterby") + ""
|
|
131
|
-
),
|
|
131
|
+
), u, C, y, E, P = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
r[11]("providers") + ""
|
|
134
|
-
), S, x, F, p, c,
|
|
134
|
+
), S, x, F, p, c, A, M, W, R, _, N, D, B, H = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
),
|
|
137
|
+
), U, J, q, Z, K, X;
|
|
138
138
|
function Y(t, d) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
141
|
t[7] ? Ne : Me
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
let
|
|
144
|
+
let Q = Y(r), I = Q(r), j = ne(
|
|
145
145
|
/*vendorArray*/
|
|
146
146
|
r[5]
|
|
147
147
|
), k = [];
|
|
148
|
-
for (let t = 0; t <
|
|
149
|
-
k[t] =
|
|
148
|
+
for (let t = 0; t < j.length; t += 1)
|
|
149
|
+
k[t] = ue(fe(r, j, t));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
152
|
-
e =
|
|
152
|
+
e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = T(b), C = O(), y = g("div"), E = g("span"), S = T(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), R = O(), _ = g("div"), N = g("ul");
|
|
153
153
|
for (let t = 0; t < k.length; t += 1)
|
|
154
154
|
k[t].c();
|
|
155
|
-
|
|
156
|
-
(r[4] ? "TriangleActive" : "")), n(l, "class",
|
|
157
|
-
(r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(
|
|
155
|
+
D = O(), B = g("button"), U = T(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
|
|
156
|
+
(r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
|
|
157
|
+
(r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
|
|
158
158
|
r[7] && /*selectedVendorArray*/
|
|
159
159
|
r[6].length != /*vendorArray*/
|
|
160
|
-
r[5].length, n(_, "class",
|
|
161
|
-
(r[4] ? "FilterOpen" : "")), n(e, "class",
|
|
160
|
+
r[5].length, n(_, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
|
+
(r[4] ? "FilterOpen" : "")), n(e, "class", Z = "FilterContainer " + /*addfilterselector*/
|
|
162
162
|
(r[0] == "true" && /*addsortingselector*/
|
|
163
163
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(t, d) {
|
|
166
|
-
|
|
166
|
+
V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, R), o(e, _), o(_, N);
|
|
167
167
|
for (let f = 0; f < k.length; f += 1)
|
|
168
168
|
k[f] && k[f].m(N, null);
|
|
169
|
-
o(_,
|
|
169
|
+
o(_, D), o(_, B), o(B, U), K || (X = [
|
|
170
170
|
te(
|
|
171
171
|
l,
|
|
172
172
|
"click",
|
|
173
173
|
/*click_handler*/
|
|
174
|
-
r[
|
|
174
|
+
r[25]
|
|
175
175
|
),
|
|
176
176
|
te(
|
|
177
|
-
|
|
177
|
+
B,
|
|
178
178
|
"click",
|
|
179
179
|
/*click_handler_2*/
|
|
180
|
-
r[
|
|
180
|
+
r[28]
|
|
181
181
|
)
|
|
182
|
-
],
|
|
182
|
+
], K = !0);
|
|
183
183
|
},
|
|
184
184
|
p(t, d) {
|
|
185
185
|
if (d[0] & /*$_*/
|
|
186
186
|
2048 && b !== (b = /*$_*/
|
|
187
|
-
t[11]("filterby") + "") &&
|
|
188
|
-
2048 &&
|
|
189
|
-
t[11]("providers") + "") &&
|
|
187
|
+
t[11]("filterby") + "") && G(u, b), d[0] & /*$_*/
|
|
188
|
+
2048 && P !== (P = /*$_*/
|
|
189
|
+
t[11]("providers") + "") && G(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
|
|
190
190
|
16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
|
|
191
191
|
(t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
|
|
192
|
-
16 &&
|
|
193
|
-
(t[4] ? "FilterSelectorOpen" : "")) && n(l, "class",
|
|
192
|
+
16 && W !== (W = "FilterSelector " + /*isFilterActive*/
|
|
193
|
+
(t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
194
194
|
8228) {
|
|
195
|
-
|
|
195
|
+
j = ne(
|
|
196
196
|
/*vendorArray*/
|
|
197
197
|
t[5]
|
|
198
198
|
);
|
|
199
199
|
let f;
|
|
200
|
-
for (f = 0; f <
|
|
201
|
-
const h = fe(t,
|
|
202
|
-
k[f] ? k[f].p(h, d) : (k[f] =
|
|
200
|
+
for (f = 0; f < j.length; f += 1) {
|
|
201
|
+
const h = fe(t, j, f);
|
|
202
|
+
k[f] ? k[f].p(h, d) : (k[f] = ue(h), k[f].c(), k[f].m(N, null));
|
|
203
203
|
}
|
|
204
204
|
for (; f < k.length; f += 1)
|
|
205
205
|
k[f].d(1);
|
|
206
|
-
k.length =
|
|
206
|
+
k.length = j.length;
|
|
207
207
|
}
|
|
208
208
|
d[0] & /*$_*/
|
|
209
|
-
2048 &&
|
|
210
|
-
t[11]("clear") + "") &&
|
|
211
|
-
224 &&
|
|
209
|
+
2048 && H !== (H = /*$_*/
|
|
210
|
+
t[11]("clear") + "") && G(U, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
211
|
+
224 && J !== (J = /*fullSelection*/
|
|
212
212
|
t[7] && /*selectedVendorArray*/
|
|
213
213
|
t[6].length != /*vendorArray*/
|
|
214
|
-
t[5].length) && (
|
|
215
|
-
16 &&
|
|
216
|
-
(t[4] ? "FilterOpen" : "")) && n(_, "class",
|
|
217
|
-
3 &&
|
|
214
|
+
t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
|
|
215
|
+
16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
|
+
(t[4] ? "FilterOpen" : "")) && n(_, "class", q), d[0] & /*addfilterselector, addsortingselector*/
|
|
217
|
+
3 && Z !== (Z = "FilterContainer " + /*addfilterselector*/
|
|
218
218
|
(t[0] == "true" && /*addsortingselector*/
|
|
219
|
-
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class",
|
|
219
|
+
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", Z);
|
|
220
220
|
},
|
|
221
221
|
d(t) {
|
|
222
|
-
t &&
|
|
222
|
+
t && z(e), I.d(), xe(k, t), K = !1, ge(X);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Te(r) {
|
|
227
227
|
let e, l = (
|
|
228
228
|
/*$_*/
|
|
229
229
|
r[11]("500") + ""
|
|
230
230
|
);
|
|
231
231
|
return {
|
|
232
232
|
c() {
|
|
233
|
-
e =
|
|
233
|
+
e = g("p"), n(e, "class", "SearchLoading");
|
|
234
234
|
},
|
|
235
235
|
m(i, a) {
|
|
236
|
-
|
|
236
|
+
V(i, e, a), e.innerHTML = l;
|
|
237
237
|
},
|
|
238
238
|
p(i, a) {
|
|
239
239
|
a[0] & /*$_*/
|
|
@@ -241,7 +241,7 @@ function Be(r) {
|
|
|
241
241
|
i[11]("500") + "") && (e.innerHTML = l);
|
|
242
242
|
},
|
|
243
243
|
d(i) {
|
|
244
|
-
i &&
|
|
244
|
+
i && z(e);
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}
|
|
@@ -249,24 +249,24 @@ function Me(r) {
|
|
|
249
249
|
let e, l;
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
252
|
-
e =
|
|
252
|
+
e = g("span"), l = T(
|
|
253
253
|
/*selectionNumber*/
|
|
254
254
|
r[8]
|
|
255
255
|
), n(e, "class", "FilterCounter");
|
|
256
256
|
},
|
|
257
257
|
m(i, a) {
|
|
258
|
-
|
|
258
|
+
V(i, e, a), o(e, l);
|
|
259
259
|
},
|
|
260
260
|
p(i, a) {
|
|
261
261
|
a[0] & /*selectionNumber*/
|
|
262
|
-
256 &&
|
|
262
|
+
256 && G(
|
|
263
263
|
l,
|
|
264
264
|
/*selectionNumber*/
|
|
265
265
|
i[8]
|
|
266
266
|
);
|
|
267
267
|
},
|
|
268
268
|
d(i) {
|
|
269
|
-
i &&
|
|
269
|
+
i && z(e);
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
@@ -277,18 +277,18 @@ function Ne(r) {
|
|
|
277
277
|
), i;
|
|
278
278
|
return {
|
|
279
279
|
c() {
|
|
280
|
-
e =
|
|
280
|
+
e = g("span"), i = T(l), n(e, "class", "FilterCounter");
|
|
281
281
|
},
|
|
282
282
|
m(a, s) {
|
|
283
|
-
|
|
283
|
+
V(a, e, s), o(e, i);
|
|
284
284
|
},
|
|
285
285
|
p(a, s) {
|
|
286
286
|
s[0] & /*$_*/
|
|
287
287
|
2048 && l !== (l = /*$_*/
|
|
288
|
-
a[11]("all") + "") &&
|
|
288
|
+
a[11]("all") + "") && G(i, l);
|
|
289
289
|
},
|
|
290
290
|
d(a) {
|
|
291
|
-
a &&
|
|
291
|
+
a && z(e);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
}
|
|
@@ -296,11 +296,11 @@ function De(r) {
|
|
|
296
296
|
let e, l;
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
299
|
-
e =
|
|
299
|
+
e = g("img"), se(e.src, l = /*vendor*/
|
|
300
300
|
r[37].logo) || n(e, "src", l), n(e, "alt", "vendor logo");
|
|
301
301
|
},
|
|
302
302
|
m(i, a) {
|
|
303
|
-
|
|
303
|
+
V(i, e, a);
|
|
304
304
|
},
|
|
305
305
|
p(i, a) {
|
|
306
306
|
a[0] & /*vendorArray*/
|
|
@@ -308,7 +308,7 @@ function De(r) {
|
|
|
308
308
|
i[37].logo) && n(e, "src", l);
|
|
309
309
|
},
|
|
310
310
|
d(i) {
|
|
311
|
-
i &&
|
|
311
|
+
i && z(e);
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
@@ -319,30 +319,30 @@ function je(r) {
|
|
|
319
319
|
), a, s, m, v, w = (
|
|
320
320
|
/*vendor*/
|
|
321
321
|
r[37].games.total + ""
|
|
322
|
-
), b,
|
|
322
|
+
), b, u;
|
|
323
323
|
return {
|
|
324
324
|
c() {
|
|
325
|
-
e =
|
|
325
|
+
e = g("div"), l = g("span"), a = T(i), s = O(), m = g("span"), v = T("("), b = T(w), u = T(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
|
|
326
326
|
},
|
|
327
327
|
m(C, y) {
|
|
328
|
-
|
|
328
|
+
V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
|
|
329
329
|
},
|
|
330
330
|
p(C, y) {
|
|
331
331
|
y[0] & /*vendorArray*/
|
|
332
332
|
32 && i !== (i = /*vendor*/
|
|
333
|
-
C[37].name + "") &&
|
|
333
|
+
C[37].name + "") && G(a, i), y[0] & /*vendorArray*/
|
|
334
334
|
32 && w !== (w = /*vendor*/
|
|
335
|
-
C[37].games.total + "") &&
|
|
335
|
+
C[37].games.total + "") && G(b, w);
|
|
336
336
|
},
|
|
337
337
|
d(C) {
|
|
338
|
-
C &&
|
|
338
|
+
C && z(e);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
let e, l, i, a, s, m, v, w, b,
|
|
342
|
+
function ue(r) {
|
|
343
|
+
let e, l, i, a, s, m, v, w, b, u, C, y;
|
|
344
344
|
function E() {
|
|
345
|
-
r[
|
|
345
|
+
r[26].call(
|
|
346
346
|
i,
|
|
347
347
|
/*each_value*/
|
|
348
348
|
r[38],
|
|
@@ -350,10 +350,10 @@ function ge(r) {
|
|
|
350
350
|
r[39]
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function P() {
|
|
354
354
|
return (
|
|
355
355
|
/*click_handler_1*/
|
|
356
|
-
r[
|
|
356
|
+
r[27](
|
|
357
357
|
/*vendor*/
|
|
358
358
|
r[37]
|
|
359
359
|
)
|
|
@@ -374,16 +374,16 @@ function ge(r) {
|
|
|
374
374
|
let x = S(r), F = x && x(r);
|
|
375
375
|
return {
|
|
376
376
|
c() {
|
|
377
|
-
e =
|
|
377
|
+
e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
378
378
|
r[37].name, oe(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
|
|
379
|
-
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value =
|
|
379
|
+
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
|
|
380
380
|
r[37].name;
|
|
381
381
|
},
|
|
382
382
|
m(p, c) {
|
|
383
|
-
|
|
383
|
+
V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
|
|
384
384
|
r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
|
|
385
385
|
te(i, "change", E),
|
|
386
|
-
te(i, "click",
|
|
386
|
+
te(i, "click", P)
|
|
387
387
|
], C = !0);
|
|
388
388
|
},
|
|
389
389
|
p(p, c) {
|
|
@@ -394,11 +394,11 @@ function ge(r) {
|
|
|
394
394
|
r[37].isFilterSelected), x === (x = S(r)) && F ? F.p(r, c) : (F && F.d(1), F = x && x(r), F && (F.c(), F.m(l, null))), c[0] & /*filterbylogo*/
|
|
395
395
|
4 && b !== (b = "FilterItem " + /*filterbylogo*/
|
|
396
396
|
(r[2] === "true" ? "FilterItemWithLogos" : "")) && n(e, "class", b), c[0] & /*vendorArray*/
|
|
397
|
-
32 &&
|
|
398
|
-
r[37].name) && (e.value =
|
|
397
|
+
32 && u !== (u = /*vendor*/
|
|
398
|
+
r[37].name) && (e.value = u);
|
|
399
399
|
},
|
|
400
400
|
d(p) {
|
|
401
|
-
p &&
|
|
401
|
+
p && z(e), F && F.d(), C = !1, ge(y);
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
404
|
}
|
|
@@ -409,18 +409,18 @@ function ze(r) {
|
|
|
409
409
|
/*hasErrors*/
|
|
410
410
|
s[10]
|
|
411
411
|
)
|
|
412
|
-
return
|
|
412
|
+
return Te;
|
|
413
413
|
if (!/*isLoading*/
|
|
414
414
|
s[9])
|
|
415
|
-
return
|
|
415
|
+
return Be;
|
|
416
416
|
}
|
|
417
417
|
let i = l(r), a = i && i(r);
|
|
418
418
|
return {
|
|
419
419
|
c() {
|
|
420
|
-
e =
|
|
420
|
+
e = g("div"), a && a.c();
|
|
421
421
|
},
|
|
422
422
|
m(s, m) {
|
|
423
|
-
|
|
423
|
+
V(s, e, m), a && a.m(e, null), r[29](e);
|
|
424
424
|
},
|
|
425
425
|
p(s, m) {
|
|
426
426
|
i === (i = l(s)) && a ? a.p(s, m) : (a && a.d(1), a = i && i(s), a && (a.c(), a.m(e, null)));
|
|
@@ -428,16 +428,16 @@ function ze(r) {
|
|
|
428
428
|
i: ae,
|
|
429
429
|
o: ae,
|
|
430
430
|
d(s) {
|
|
431
|
-
s &&
|
|
431
|
+
s && z(e), a && a.d(), r[29](null);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
function Ve(r, e, l) {
|
|
436
436
|
let i;
|
|
437
437
|
we(r, Ae, (t) => l(11, i = t));
|
|
438
|
-
let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid:
|
|
438
|
+
let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, R = !0, _, N = !1, D;
|
|
439
439
|
Oe({ withLocale: "en", translations: {} });
|
|
440
|
-
const
|
|
440
|
+
const B = () => {
|
|
441
441
|
fetch(v).then((d) => d.json()).then((d) => {
|
|
442
442
|
Object.keys(d).forEach((f) => {
|
|
443
443
|
ce(f, d[f]);
|
|
@@ -448,66 +448,66 @@ function Ve(r, e, l) {
|
|
|
448
448
|
};
|
|
449
449
|
Object.keys(de).forEach((t) => {
|
|
450
450
|
ce(t, de[t]);
|
|
451
|
-
}),
|
|
452
|
-
const
|
|
451
|
+
}), A[u] && (A = { [u]: [] });
|
|
452
|
+
const H = () => {
|
|
453
453
|
l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
454
|
-
},
|
|
454
|
+
}, U = (t) => (l(9, R = !0), new Promise((d, f) => {
|
|
455
455
|
fetch(t).then((h) => h.json()).then((h) => {
|
|
456
456
|
h = h.items, d(h.items), l(6, c = []);
|
|
457
457
|
let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
458
|
-
const pe = S === "true" ? "*" :
|
|
458
|
+
const pe = S === "true" ? "*" : u;
|
|
459
459
|
h.forEach(($) => {
|
|
460
460
|
var re;
|
|
461
461
|
le || (le = { currentCategoryId: [] }), ((re = le[pe]) == null ? void 0 : re.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
|
|
462
|
-
}), l(5, p = h),
|
|
462
|
+
}), l(5, p = h), q();
|
|
463
463
|
}).catch((h) => {
|
|
464
464
|
console.error(h), l(10, N = !0), f(h);
|
|
465
465
|
}).finally(() => {
|
|
466
|
-
l(9,
|
|
466
|
+
l(9, R = !1);
|
|
467
467
|
});
|
|
468
|
-
})),
|
|
468
|
+
})), J = (t) => {
|
|
469
469
|
let d = localStorage.getItem("vendorFiltersByCategory");
|
|
470
470
|
t.isFilterSelected = !t.isFilterSelected, !c.length || c.filter((h) => h.name === t.name).length == 0 ? c.push(t) : l(6, c = c.filter((h) => h.name !== t.name));
|
|
471
|
-
const f = S === "true" ? "*" :
|
|
472
|
-
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(
|
|
471
|
+
const f = S === "true" ? "*" : u;
|
|
472
|
+
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
473
473
|
[f]: c.map((h) => h.id)
|
|
474
|
-
})) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href),
|
|
475
|
-
},
|
|
476
|
-
l(7, M = c.length === p.length || c.length == 0), l(8,
|
|
477
|
-
},
|
|
474
|
+
})) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
|
|
475
|
+
}, q = () => {
|
|
476
|
+
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
477
|
+
}, Z = () => {
|
|
478
478
|
if (p.length && S === "true")
|
|
479
479
|
return;
|
|
480
480
|
const t = new URL(`${a}/v1/casino/vendors`);
|
|
481
|
-
l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((
|
|
482
|
-
},
|
|
483
|
-
l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(
|
|
484
|
-
[S === "true" ? "*" :
|
|
481
|
+
l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), U(t);
|
|
482
|
+
}, K = () => {
|
|
483
|
+
l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
484
|
+
[S === "true" ? "*" : u]: c.map((t) => t.id)
|
|
485
485
|
})), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
|
|
486
|
-
},
|
|
486
|
+
}, X = (t) => {
|
|
487
487
|
t.data.type == "SortingOpened" && l(4, x = !1);
|
|
488
488
|
};
|
|
489
|
-
_e(() => (window.addEventListener("message",
|
|
490
|
-
window.removeEventListener("message",
|
|
489
|
+
_e(() => (window.addEventListener("message", X, !1), () => {
|
|
490
|
+
window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
|
|
491
491
|
}));
|
|
492
|
-
const Y = () =>
|
|
493
|
-
function
|
|
492
|
+
const Y = () => H();
|
|
493
|
+
function Q(t, d) {
|
|
494
494
|
t[d].isFilterSelected = this.checked, l(5, p);
|
|
495
495
|
}
|
|
496
|
-
const I = (t) =>
|
|
496
|
+
const I = (t) => J(t), j = () => K();
|
|
497
497
|
function k(t) {
|
|
498
498
|
Ce[t ? "unshift" : "push"](() => {
|
|
499
499
|
_ = t, l(3, _);
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
return r.$$set = (t) => {
|
|
503
|
-
"endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21,
|
|
503
|
+
"endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, E = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
|
|
504
504
|
}, r.$$.update = () => {
|
|
505
505
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
506
|
-
2195460 && a && s &&
|
|
506
|
+
2195460 && a && s && u && E && Z(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
507
507
|
524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
508
|
-
1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*customStylingContainer,
|
|
509
|
-
|
|
510
|
-
262144 && v &&
|
|
508
|
+
1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
|
|
509
|
+
20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
|
|
510
|
+
262144 && v && B();
|
|
511
511
|
}, [
|
|
512
512
|
C,
|
|
513
513
|
y,
|
|
@@ -517,26 +517,27 @@ function Ve(r, e, l) {
|
|
|
517
517
|
p,
|
|
518
518
|
c,
|
|
519
519
|
M,
|
|
520
|
-
|
|
521
|
-
|
|
520
|
+
W,
|
|
521
|
+
R,
|
|
522
522
|
N,
|
|
523
523
|
i,
|
|
524
|
-
W,
|
|
525
524
|
H,
|
|
526
|
-
|
|
525
|
+
J,
|
|
526
|
+
K,
|
|
527
527
|
a,
|
|
528
528
|
s,
|
|
529
529
|
m,
|
|
530
530
|
v,
|
|
531
531
|
w,
|
|
532
532
|
b,
|
|
533
|
-
|
|
534
|
-
|
|
533
|
+
u,
|
|
534
|
+
P,
|
|
535
535
|
S,
|
|
536
|
+
D,
|
|
536
537
|
Y,
|
|
537
|
-
|
|
538
|
+
Q,
|
|
538
539
|
I,
|
|
539
|
-
|
|
540
|
+
j,
|
|
540
541
|
k
|
|
541
542
|
];
|
|
542
543
|
}
|