@everymatrix/casino-last-played-section-nd 1.94.3 → 1.94.5
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-C7fHKlB6.js → CasinoFilter-CKAQ2bLh.js} +29 -29
- package/components/{CasinoFilter-d7iG-c_G.js → CasinoFilter-Cil6dJIC.js} +24 -24
- package/components/{CasinoGameThumbnailNd-BqOPjo32.js → CasinoGameThumbnailNd-6twx0zjC.js} +44 -44
- package/components/{CasinoGameThumbnailNd-DNSqTzri.js → CasinoGameThumbnailNd-CtQ1gNhs.js} +59 -59
- package/components/{CasinoGamesCategorySectionNd-CSeZ9qWM.js → CasinoGamesCategorySectionNd-Chv-nWnl.js} +85 -85
- package/components/{CasinoGamesCategorySectionNd-9UJnRA7d.js → CasinoGamesCategorySectionNd-D3bNk7Nz.js} +87 -87
- package/components/{CasinoLastPlayedSectionNd-B7oP_Uq4.js → CasinoLastPlayedSectionNd-CSJRqtc3.js} +45 -45
- package/components/{CasinoLastPlayedSectionNd-DpbhVwrZ.js → CasinoLastPlayedSectionNd-CSeOWmkR.js} +46 -46
- package/components/{CasinoSort-B5005mVZ.js → CasinoSort-BOzBM6Q4.js} +23 -23
- package/components/{CasinoSort-Co2Zx30d.js → CasinoSort-DE0vHNZS.js} +27 -27
- package/es2015/casino-last-played-section-nd.js +1 -1
- package/esnext/casino-last-played-section-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as re, $ as pe, c as me, S as he, s as Fe, B as be, p as L, e as ye, w as ie, l as z, t as V, m as g, h as ve, y as we, q as _e, g as ke, f as n, o as ae, k as Ce, A as ue, I as R, d as o, v as te, N as ee, L as O, O as T, J as ne, M as oe, D as xe, E as Se, F as Ie, i as Le, a as Pe } from "./CasinoLastPlayedSectionNd-CSJRqtc3.js";
|
|
2
2
|
function Ae({ withLocale: r, translations: e }) {
|
|
3
3
|
re.subscribe((l) => {
|
|
4
4
|
l == null && (pe.set(e), re.set(r));
|
|
@@ -131,14 +131,14 @@ function Ee(r) {
|
|
|
131
131
|
), u, C, y, E, P = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
r[11]("providers") + ""
|
|
134
|
-
), S, x, F, p, c, A, M, W, U, _, N, D,
|
|
134
|
+
), S, x, F, p, c, A, M, W, U, _, N, D, B, H = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
), Z, J,
|
|
137
|
+
), Z, J, q, G, K, X;
|
|
138
138
|
function Y(t, d) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
|
-
t[7] ? Me :
|
|
141
|
+
t[7] ? Me : Te
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
144
|
let Q = Y(r), I = Q(r), j = ae(
|
|
@@ -149,16 +149,16 @@ function Ee(r) {
|
|
|
149
149
|
k[t] = fe(de(r, j, t));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
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 =
|
|
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"), U = O(), _ = g("div"), N = g("ul");
|
|
153
153
|
for (let t = 0; t < k.length; t += 1)
|
|
154
154
|
k[t].c();
|
|
155
|
-
D = O(),
|
|
155
|
+
D = O(), B = g("button"), Z = 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
156
|
(r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
|
|
157
|
-
(r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(
|
|
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", G = "FilterContainer " + /*addfilterselector*/
|
|
162
162
|
(r[0] == "true" && /*addsortingselector*/
|
|
163
163
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
164
|
},
|
|
@@ -166,7 +166,7 @@ function Ee(r) {
|
|
|
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, U), 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(_, D), o(_,
|
|
169
|
+
o(_, D), o(_, B), o(B, Z), K || (X = [
|
|
170
170
|
te(
|
|
171
171
|
l,
|
|
172
172
|
"click",
|
|
@@ -174,7 +174,7 @@ function Ee(r) {
|
|
|
174
174
|
r[25]
|
|
175
175
|
),
|
|
176
176
|
te(
|
|
177
|
-
|
|
177
|
+
B,
|
|
178
178
|
"click",
|
|
179
179
|
/*click_handler_2*/
|
|
180
180
|
r[28]
|
|
@@ -211,19 +211,19 @@ function Ee(r) {
|
|
|
211
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 && G !== (G = "FilterContainer " + /*addfilterselector*/
|
|
218
218
|
(t[0] == "true" && /*addsortingselector*/
|
|
219
|
-
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class",
|
|
219
|
+
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", G);
|
|
220
220
|
},
|
|
221
221
|
d(t) {
|
|
222
222
|
t && z(e), I.d(), Ce(k, t), K = !1, ue(X);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Be(r) {
|
|
227
227
|
let e, l = (
|
|
228
228
|
/*$_*/
|
|
229
229
|
r[11]("500") + ""
|
|
@@ -245,11 +245,11 @@ function Te(r) {
|
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Te(r) {
|
|
249
249
|
let e, l;
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
252
|
-
e = g("span"), l =
|
|
252
|
+
e = g("span"), l = T(
|
|
253
253
|
/*selectionNumber*/
|
|
254
254
|
r[8]
|
|
255
255
|
), n(e, "class", "FilterCounter");
|
|
@@ -277,7 +277,7 @@ function Me(r) {
|
|
|
277
277
|
), i;
|
|
278
278
|
return {
|
|
279
279
|
c() {
|
|
280
|
-
e = g("span"), i =
|
|
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);
|
|
@@ -322,7 +322,7 @@ function De(r) {
|
|
|
322
322
|
), b, u;
|
|
323
323
|
return {
|
|
324
324
|
c() {
|
|
325
|
-
e = g("div"), l = g("span"), a =
|
|
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);
|
|
@@ -409,7 +409,7 @@ function je(r) {
|
|
|
409
409
|
/*hasErrors*/
|
|
410
410
|
s[10]
|
|
411
411
|
)
|
|
412
|
-
return
|
|
412
|
+
return Be;
|
|
413
413
|
if (!/*isLoading*/
|
|
414
414
|
s[9])
|
|
415
415
|
return Ee;
|
|
@@ -437,7 +437,7 @@ function ze(r, e, l) {
|
|
|
437
437
|
ve(r, Pe, (t) => l(11, i = t));
|
|
438
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, U = !0, _, N = !1, D;
|
|
439
439
|
Ae({ 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
|
se(f, d[f]);
|
|
@@ -458,7 +458,7 @@ function ze(r, e, l) {
|
|
|
458
458
|
const ge = S === "true" ? "*" : u;
|
|
459
459
|
h.forEach(($) => {
|
|
460
460
|
le || (le = { currentCategoryId: [] }), le[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
|
|
461
|
-
}), l(5, p = h),
|
|
461
|
+
}), l(5, p = h), q();
|
|
462
462
|
}).catch((h) => {
|
|
463
463
|
console.error(h), l(10, N = !0), f(h);
|
|
464
464
|
}).finally(() => {
|
|
@@ -470,10 +470,10 @@ function ze(r, e, l) {
|
|
|
470
470
|
const f = S === "true" ? "*" : u;
|
|
471
471
|
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
472
472
|
[f]: c.map((h) => h.id)
|
|
473
|
-
})) : (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),
|
|
474
|
-
}, G = () => {
|
|
475
|
-
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
473
|
+
})) : (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();
|
|
476
474
|
}, q = () => {
|
|
475
|
+
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
476
|
+
}, G = () => {
|
|
477
477
|
if (p.length && S === "true")
|
|
478
478
|
return;
|
|
479
479
|
const t = new URL(`${a}/v1/casino/vendors`);
|
|
@@ -502,11 +502,11 @@ function ze(r, e, l) {
|
|
|
502
502
|
"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);
|
|
503
503
|
}, r.$$.update = () => {
|
|
504
504
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
505
|
-
2195460 && a && s && u && E &&
|
|
505
|
+
2195460 && a && s && u && E && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
506
506
|
524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
507
507
|
1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
|
|
508
508
|
20971528 && P && _ && l(24, D = Ie(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
|
|
509
|
-
262144 && v &&
|
|
509
|
+
262144 && v && B();
|
|
510
510
|
}, [
|
|
511
511
|
C,
|
|
512
512
|
y,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ie, $ as me, c as he, S as Fe, s as be, B as ye, p as L, e as ve, w as ae, l as z, t as V, m as g, h as we, y as _e, q as ke, g as Ce, f as n, o as ne, k as xe, A as ge, I as R, d as o, v as te, N as ee, L as O, O as T, J as oe, M as se, D as Se, E as Ie, F as Le, i as Pe, a as Ae } from "./CasinoLastPlayedSectionNd-CSeOWmkR.js";
|
|
2
2
|
function Oe({ withLocale: r, translations: e }) {
|
|
3
3
|
ie.subscribe((l) => {
|
|
4
4
|
l == null && (me.set(e), ie.set(r));
|
|
@@ -131,10 +131,10 @@ function Be(r) {
|
|
|
131
131
|
), u, C, y, E, P = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
r[11]("providers") + ""
|
|
134
|
-
), S, x, F, p, c, A, M, W,
|
|
134
|
+
), S, x, F, p, c, A, M, W, U, _, N, D, B, H = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
),
|
|
137
|
+
), Z, J, q, G, K, X;
|
|
138
138
|
function Y(t, d) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
@@ -149,24 +149,24 @@ function Be(r) {
|
|
|
149
149
|
k[t] = ue(fe(r, j, t));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
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"),
|
|
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"), U = O(), _ = g("div"), N = g("ul");
|
|
153
153
|
for (let t = 0; t < k.length; t += 1)
|
|
154
154
|
k[t].c();
|
|
155
|
-
D = O(), B = g("button"),
|
|
155
|
+
D = O(), B = g("button"), Z = 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
156
|
(r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
|
|
157
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
160
|
r[5].length, n(_, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
|
-
(r[4] ? "FilterOpen" : "")), n(e, "class",
|
|
161
|
+
(r[4] ? "FilterOpen" : "")), n(e, "class", G = "FilterContainer " + /*addfilterselector*/
|
|
162
162
|
(r[0] == "true" && /*addsortingselector*/
|
|
163
163
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(t, d) {
|
|
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,
|
|
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, U), 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(_, D), o(_, B), o(B,
|
|
169
|
+
o(_, D), o(_, B), o(B, Z), K || (X = [
|
|
170
170
|
te(
|
|
171
171
|
l,
|
|
172
172
|
"click",
|
|
@@ -184,9 +184,9 @@ function Be(r) {
|
|
|
184
184
|
p(t, d) {
|
|
185
185
|
if (d[0] & /*$_*/
|
|
186
186
|
2048 && b !== (b = /*$_*/
|
|
187
|
-
t[11]("filterby") + "") &&
|
|
187
|
+
t[11]("filterby") + "") && R(u, b), d[0] & /*$_*/
|
|
188
188
|
2048 && P !== (P = /*$_*/
|
|
189
|
-
t[11]("providers") + "") &&
|
|
189
|
+
t[11]("providers") + "") && R(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
192
|
16 && W !== (W = "FilterSelector " + /*isFilterActive*/
|
|
@@ -207,16 +207,16 @@ function Be(r) {
|
|
|
207
207
|
}
|
|
208
208
|
d[0] & /*$_*/
|
|
209
209
|
2048 && H !== (H = /*$_*/
|
|
210
|
-
t[11]("clear") + "") &&
|
|
210
|
+
t[11]("clear") + "") && R(Z, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
211
211
|
224 && J !== (J = /*fullSelection*/
|
|
212
212
|
t[7] && /*selectedVendorArray*/
|
|
213
213
|
t[6].length != /*vendorArray*/
|
|
214
214
|
t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
|
|
215
215
|
16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
216
|
(t[4] ? "FilterOpen" : "")) && n(_, "class", q), d[0] & /*addfilterselector, addsortingselector*/
|
|
217
|
-
3 &&
|
|
217
|
+
3 && G !== (G = "FilterContainer " + /*addfilterselector*/
|
|
218
218
|
(t[0] == "true" && /*addsortingselector*/
|
|
219
|
-
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class",
|
|
219
|
+
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", G);
|
|
220
220
|
},
|
|
221
221
|
d(t) {
|
|
222
222
|
t && z(e), I.d(), xe(k, t), K = !1, ge(X);
|
|
@@ -259,7 +259,7 @@ function Me(r) {
|
|
|
259
259
|
},
|
|
260
260
|
p(i, a) {
|
|
261
261
|
a[0] & /*selectionNumber*/
|
|
262
|
-
256 &&
|
|
262
|
+
256 && R(
|
|
263
263
|
l,
|
|
264
264
|
/*selectionNumber*/
|
|
265
265
|
i[8]
|
|
@@ -285,7 +285,7 @@ function Ne(r) {
|
|
|
285
285
|
p(a, s) {
|
|
286
286
|
s[0] & /*$_*/
|
|
287
287
|
2048 && l !== (l = /*$_*/
|
|
288
|
-
a[11]("all") + "") &&
|
|
288
|
+
a[11]("all") + "") && R(i, l);
|
|
289
289
|
},
|
|
290
290
|
d(a) {
|
|
291
291
|
a && z(e);
|
|
@@ -330,9 +330,9 @@ function je(r) {
|
|
|
330
330
|
p(C, y) {
|
|
331
331
|
y[0] & /*vendorArray*/
|
|
332
332
|
32 && i !== (i = /*vendor*/
|
|
333
|
-
C[37].name + "") &&
|
|
333
|
+
C[37].name + "") && R(a, i), y[0] & /*vendorArray*/
|
|
334
334
|
32 && w !== (w = /*vendor*/
|
|
335
|
-
C[37].games.total + "") &&
|
|
335
|
+
C[37].games.total + "") && R(b, w);
|
|
336
336
|
},
|
|
337
337
|
d(C) {
|
|
338
338
|
C && z(e);
|
|
@@ -435,7 +435,7 @@ function ze(r) {
|
|
|
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: 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,
|
|
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, U = !0, _, N = !1, D;
|
|
439
439
|
Oe({ withLocale: "en", translations: {} });
|
|
440
440
|
const B = () => {
|
|
441
441
|
fetch(v).then((d) => d.json()).then((d) => {
|
|
@@ -451,7 +451,7 @@ function Ve(r, e, l) {
|
|
|
451
451
|
}), A[u] && (A = { [u]: [] });
|
|
452
452
|
const H = () => {
|
|
453
453
|
l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
454
|
-
},
|
|
454
|
+
}, Z = (t) => (l(9, U = !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"));
|
|
@@ -463,7 +463,7 @@ function Ve(r, e, l) {
|
|
|
463
463
|
}).catch((h) => {
|
|
464
464
|
console.error(h), l(10, N = !0), f(h);
|
|
465
465
|
}).finally(() => {
|
|
466
|
-
l(9,
|
|
466
|
+
l(9, U = !1);
|
|
467
467
|
});
|
|
468
468
|
})), J = (t) => {
|
|
469
469
|
let d = localStorage.getItem("vendorFiltersByCategory");
|
|
@@ -474,11 +474,11 @@ function Ve(r, e, l) {
|
|
|
474
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
475
|
}, q = () => {
|
|
476
476
|
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
477
|
-
},
|
|
477
|
+
}, G = () => {
|
|
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" || ((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})`)),
|
|
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})`)), Z(t);
|
|
482
482
|
}, K = () => {
|
|
483
483
|
l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
484
484
|
[S === "true" ? "*" : u]: c.map((t) => t.id)
|
|
@@ -503,7 +503,7 @@ function Ve(r, e, l) {
|
|
|
503
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 && u && E &&
|
|
506
|
+
2195460 && a && s && u && E && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
507
507
|
524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
508
508
|
1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
|
|
509
509
|
20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
|
|
@@ -518,7 +518,7 @@ function Ve(r, e, l) {
|
|
|
518
518
|
c,
|
|
519
519
|
M,
|
|
520
520
|
W,
|
|
521
|
-
|
|
521
|
+
U,
|
|
522
522
|
N,
|
|
523
523
|
i,
|
|
524
524
|
H,
|