@everymatrix/casino-favorites-section 1.87.38 → 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.
Files changed (19) hide show
  1. package/components/{CasinoFavoritesSection-FlsVsLHY.js → CasinoFavoritesSection-B_-kK9sk.js} +1 -1
  2. package/components/{CasinoFavoritesSection-Oi0rnafn.js → CasinoFavoritesSection-DB2AG-Mx.js} +1 -1
  3. package/components/{CasinoFavoritesSection-BfSDbfM0.cjs → CasinoFavoritesSection-DLs00QzV.cjs} +1 -1
  4. package/components/{CasinoFilter-CXp-Zshd.js → CasinoFilter-CkR0BCOX.js} +117 -116
  5. package/components/{CasinoFilter-y5CBknUO.js → CasinoFilter-D_AnYuJn.js} +116 -115
  6. package/components/{CasinoFilter-CNcc2lJ8.cjs → CasinoFilter-d4Mq9kjB.cjs} +1 -1
  7. package/components/{CasinoGameThumbnail-BtOAqqqJ.js → CasinoGameThumbnail-Bg29hGct.js} +2 -2
  8. package/components/{CasinoGameThumbnail-y56OMaMA.cjs → CasinoGameThumbnail-D0956ckM.cjs} +1 -1
  9. package/components/{CasinoGameThumbnail-DdB_aj8u.js → CasinoGameThumbnail-DU3Ssj9X.js} +2 -2
  10. package/components/{CasinoGamesCategorySection-D0-klIqM.cjs → CasinoGamesCategorySection-BEVAKMkA.cjs} +2 -2
  11. package/components/{CasinoGamesCategorySection-CE77UqlZ.js → CasinoGamesCategorySection-CQtYz9zc.js} +4 -4
  12. package/components/{CasinoGamesCategorySection-DTAqR94W.js → CasinoGamesCategorySection-Cwu227eK.js} +4 -4
  13. package/components/{CasinoSort-CEX4SToK.js → CasinoSort-BHa-x44m.js} +1 -1
  14. package/components/{CasinoSort-QMe_DOcp.cjs → CasinoSort-Bvb4QKpx.cjs} +1 -1
  15. package/components/{CasinoSort-gGAp-WFB.js → CasinoSort-DlCTa5F1.js} +1 -1
  16. package/es2015/casino-favorites-section.cjs +1 -1
  17. package/es2015/casino-favorites-section.js +1 -1
  18. package/esnext/casino-favorites-section.js +1 -1
  19. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { $ as ie, J as me, a as he, S as Fe, i as be, s as ye, f as I, b as ve, n as ae, d as j, c as z, e as u, h as we, j as _e, k as ke, g as n, r as ne, x as Ce, K as ue, q, m as o, y as te, z as ee, p as E, t as B, L as oe, F as se, A as xe, B as Se, C as Le, D as Ie, E as Pe } from "./CasinoFavoritesSection-FlsVsLHY.js";
2
- import { g as Ae } from "./CasinoGamesCategorySection-DTAqR94W.js";
1
+ import { $ as ie, J as me, a as he, S as Fe, i as be, s as ye, f as I, b as ve, n as ae, d as z, c as V, e as g, h as we, j as _e, k as ke, g as n, r as ne, x as Ce, K as ge, q as K, m as o, y as te, z as ee, p as E, t as T, L as oe, F as se, A as xe, B as Se, C as Le, D as Ie, E as Pe } from "./CasinoFavoritesSection-B_-kK9sk.js";
2
+ import { g as Ae } from "./CasinoGamesCategorySection-Cwu227eK.js";
3
3
  function Ee({ withLocale: r, translations: e }) {
4
4
  ie.subscribe((l) => {
5
5
  l == null && (me.set(e), ie.set(r));
@@ -125,116 +125,116 @@ function fe(r, e, l) {
125
125
  const i = r.slice();
126
126
  return i[37] = e[l], i[38] = e, i[39] = l, i;
127
127
  }
128
- function Te(r) {
128
+ function Be(r) {
129
129
  let e, l, i, a, s, m, v, w, b = (
130
130
  /*$_*/
131
131
  r[11]("filterby") + ""
132
- ), g, C, y, O, A = (
132
+ ), u, C, y, O, P = (
133
133
  /*$_*/
134
134
  r[11]("providers") + ""
135
- ), S, x, F, p, c, P, M, V, K, _, N, X, T, W = (
135
+ ), S, x, F, p, c, A, M, W, R, _, N, D, B, H = (
136
136
  /*$_*/
137
137
  r[11]("clear") + ""
138
- ), R, H, J, U, Z, Q;
138
+ ), U, J, q, Z, G, X;
139
139
  function Y(t, d) {
140
140
  return (
141
141
  /*fullSelection*/
142
142
  t[7] ? Ne : Me
143
143
  );
144
144
  }
145
- let G = Y(r), L = G(r), D = ne(
145
+ let Q = Y(r), L = Q(r), j = ne(
146
146
  /*vendorArray*/
147
147
  r[5]
148
148
  ), k = [];
149
- for (let t = 0; t < D.length; t += 1)
150
- k[t] = ge(fe(r, D, t));
149
+ for (let t = 0; t < j.length; t += 1)
150
+ k[t] = ue(fe(r, j, t));
151
151
  return {
152
152
  c() {
153
- e = u("div"), l = u("div"), i = u("div"), a = ee("svg"), s = ee("path"), m = E(), v = u("div"), w = u("span"), g = B(b), C = E(), y = u("div"), O = u("span"), S = B(A), x = E(), L.c(), F = E(), p = u("span"), c = ee("svg"), P = ee("path"), K = E(), _ = u("div"), N = u("ul");
153
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = E(), v = g("div"), w = g("span"), u = T(b), C = E(), y = g("div"), O = g("span"), S = T(P), x = E(), L.c(), F = E(), p = g("span"), c = ee("svg"), A = ee("path"), R = E(), _ = g("div"), N = g("ul");
154
154
  for (let t = 0; t < k.length; t += 1)
155
155
  k[t].c();
156
- X = E(), T = u("button"), R = B(W), 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(P, "id", "arrow"), n(P, "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(P, "transform", "translate(-274.511 -441.088)"), n(P, "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*/
157
- (r[4] ? "TriangleActive" : "")), n(l, "class", V = "FilterSelector " + /*isFilterActive*/
158
- (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = H = /*fullSelection*/
156
+ D = E(), 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*/
157
+ (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
158
+ (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
159
159
  r[7] && /*selectedVendorArray*/
160
160
  r[6].length != /*vendorArray*/
161
- r[5].length, n(_, "class", J = "FilterDropdownContainer " + /*isFilterActive*/
162
- (r[4] ? "FilterOpen" : "")), n(e, "class", U = "FilterContainer " + /*addfilterselector*/
161
+ r[5].length, n(_, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
162
+ (r[4] ? "FilterOpen" : "")), n(e, "class", Z = "FilterContainer " + /*addfilterselector*/
163
163
  (r[0] == "true" && /*addsortingselector*/
164
164
  r[1] == "true" ? "FilerContainerSplit" : ""));
165
165
  },
166
166
  m(t, d) {
167
- z(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, g), o(v, C), o(v, y), o(y, O), o(O, S), o(y, x), L.m(y, null), o(l, F), o(l, p), o(p, c), o(c, P), o(e, K), o(e, _), o(_, N);
167
+ 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, O), o(O, S), o(y, x), L.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, R), o(e, _), o(_, N);
168
168
  for (let f = 0; f < k.length; f += 1)
169
169
  k[f] && k[f].m(N, null);
170
- o(_, X), o(_, T), o(T, R), Z || (Q = [
170
+ o(_, D), o(_, B), o(B, U), G || (X = [
171
171
  te(
172
172
  l,
173
173
  "click",
174
174
  /*click_handler*/
175
- r[24]
175
+ r[25]
176
176
  ),
177
177
  te(
178
- T,
178
+ B,
179
179
  "click",
180
180
  /*click_handler_2*/
181
- r[27]
181
+ r[28]
182
182
  )
183
- ], Z = !0);
183
+ ], G = !0);
184
184
  },
185
185
  p(t, d) {
186
186
  if (d[0] & /*$_*/
187
187
  2048 && b !== (b = /*$_*/
188
- t[11]("filterby") + "") && q(g, b), d[0] & /*$_*/
189
- 2048 && A !== (A = /*$_*/
190
- t[11]("providers") + "") && q(S, A), G === (G = Y(t)) && L ? L.p(t, d) : (L.d(1), L = G(t), L && (L.c(), L.m(y, null))), d[0] & /*isFilterActive*/
188
+ t[11]("filterby") + "") && K(u, b), d[0] & /*$_*/
189
+ 2048 && P !== (P = /*$_*/
190
+ t[11]("providers") + "") && K(S, P), Q === (Q = Y(t)) && L ? L.p(t, d) : (L.d(1), L = Q(t), L && (L.c(), L.m(y, null))), d[0] & /*isFilterActive*/
191
191
  16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
192
192
  (t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
193
- 16 && V !== (V = "FilterSelector " + /*isFilterActive*/
194
- (t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", V), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
193
+ 16 && W !== (W = "FilterSelector " + /*isFilterActive*/
194
+ (t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
195
195
  8228) {
196
- D = ne(
196
+ j = ne(
197
197
  /*vendorArray*/
198
198
  t[5]
199
199
  );
200
200
  let f;
201
- for (f = 0; f < D.length; f += 1) {
202
- const h = fe(t, D, f);
203
- k[f] ? k[f].p(h, d) : (k[f] = ge(h), k[f].c(), k[f].m(N, null));
201
+ for (f = 0; f < j.length; f += 1) {
202
+ const h = fe(t, j, f);
203
+ k[f] ? k[f].p(h, d) : (k[f] = ue(h), k[f].c(), k[f].m(N, null));
204
204
  }
205
205
  for (; f < k.length; f += 1)
206
206
  k[f].d(1);
207
- k.length = D.length;
207
+ k.length = j.length;
208
208
  }
209
209
  d[0] & /*$_*/
210
- 2048 && W !== (W = /*$_*/
211
- t[11]("clear") + "") && q(R, W), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
212
- 224 && H !== (H = /*fullSelection*/
210
+ 2048 && H !== (H = /*$_*/
211
+ t[11]("clear") + "") && K(U, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
212
+ 224 && J !== (J = /*fullSelection*/
213
213
  t[7] && /*selectedVendorArray*/
214
214
  t[6].length != /*vendorArray*/
215
- t[5].length) && (T.disabled = H), d[0] & /*isFilterActive*/
216
- 16 && J !== (J = "FilterDropdownContainer " + /*isFilterActive*/
217
- (t[4] ? "FilterOpen" : "")) && n(_, "class", J), d[0] & /*addfilterselector, addsortingselector*/
218
- 3 && U !== (U = "FilterContainer " + /*addfilterselector*/
215
+ t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
216
+ 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
217
+ (t[4] ? "FilterOpen" : "")) && n(_, "class", q), d[0] & /*addfilterselector, addsortingselector*/
218
+ 3 && Z !== (Z = "FilterContainer " + /*addfilterselector*/
219
219
  (t[0] == "true" && /*addsortingselector*/
220
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", U);
220
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", Z);
221
221
  },
222
222
  d(t) {
223
- t && j(e), L.d(), Ce(k, t), Z = !1, ue(Q);
223
+ t && z(e), L.d(), Ce(k, t), G = !1, ge(X);
224
224
  }
225
225
  };
226
226
  }
227
- function Be(r) {
227
+ function Te(r) {
228
228
  let e, l = (
229
229
  /*$_*/
230
230
  r[11]("500") + ""
231
231
  );
232
232
  return {
233
233
  c() {
234
- e = u("p"), n(e, "class", "SearchLoading");
234
+ e = g("p"), n(e, "class", "SearchLoading");
235
235
  },
236
236
  m(i, a) {
237
- z(i, e, a), e.innerHTML = l;
237
+ V(i, e, a), e.innerHTML = l;
238
238
  },
239
239
  p(i, a) {
240
240
  a[0] & /*$_*/
@@ -242,7 +242,7 @@ function Be(r) {
242
242
  i[11]("500") + "") && (e.innerHTML = l);
243
243
  },
244
244
  d(i) {
245
- i && j(e);
245
+ i && z(e);
246
246
  }
247
247
  };
248
248
  }
@@ -250,24 +250,24 @@ function Me(r) {
250
250
  let e, l;
251
251
  return {
252
252
  c() {
253
- e = u("span"), l = B(
253
+ e = g("span"), l = T(
254
254
  /*selectionNumber*/
255
255
  r[8]
256
256
  ), n(e, "class", "FilterCounter");
257
257
  },
258
258
  m(i, a) {
259
- z(i, e, a), o(e, l);
259
+ V(i, e, a), o(e, l);
260
260
  },
261
261
  p(i, a) {
262
262
  a[0] & /*selectionNumber*/
263
- 256 && q(
263
+ 256 && K(
264
264
  l,
265
265
  /*selectionNumber*/
266
266
  i[8]
267
267
  );
268
268
  },
269
269
  d(i) {
270
- i && j(e);
270
+ i && z(e);
271
271
  }
272
272
  };
273
273
  }
@@ -278,18 +278,18 @@ function Ne(r) {
278
278
  ), i;
279
279
  return {
280
280
  c() {
281
- e = u("span"), i = B(l), n(e, "class", "FilterCounter");
281
+ e = g("span"), i = T(l), n(e, "class", "FilterCounter");
282
282
  },
283
283
  m(a, s) {
284
- z(a, e, s), o(e, i);
284
+ V(a, e, s), o(e, i);
285
285
  },
286
286
  p(a, s) {
287
287
  s[0] & /*$_*/
288
288
  2048 && l !== (l = /*$_*/
289
- a[11]("all") + "") && q(i, l);
289
+ a[11]("all") + "") && K(i, l);
290
290
  },
291
291
  d(a) {
292
- a && j(e);
292
+ a && z(e);
293
293
  }
294
294
  };
295
295
  }
@@ -297,11 +297,11 @@ function De(r) {
297
297
  let e, l;
298
298
  return {
299
299
  c() {
300
- e = u("img"), se(e.src, l = /*vendor*/
300
+ e = g("img"), se(e.src, l = /*vendor*/
301
301
  r[37].logo) || n(e, "src", l), n(e, "alt", "vendor logo");
302
302
  },
303
303
  m(i, a) {
304
- z(i, e, a);
304
+ V(i, e, a);
305
305
  },
306
306
  p(i, a) {
307
307
  a[0] & /*vendorArray*/
@@ -309,7 +309,7 @@ function De(r) {
309
309
  i[37].logo) && n(e, "src", l);
310
310
  },
311
311
  d(i) {
312
- i && j(e);
312
+ i && z(e);
313
313
  }
314
314
  };
315
315
  }
@@ -320,30 +320,30 @@ function je(r) {
320
320
  ), a, s, m, v, w = (
321
321
  /*vendor*/
322
322
  r[37].games.total + ""
323
- ), b, g;
323
+ ), b, u;
324
324
  return {
325
325
  c() {
326
- e = u("div"), l = u("span"), a = B(i), s = E(), m = u("span"), v = B("("), b = B(w), g = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
+ e = g("div"), l = g("span"), a = T(i), s = E(), m = g("span"), v = T("("), b = T(w), u = T(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
327
327
  },
328
328
  m(C, y) {
329
- z(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, g);
329
+ 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);
330
330
  },
331
331
  p(C, y) {
332
332
  y[0] & /*vendorArray*/
333
333
  32 && i !== (i = /*vendor*/
334
- C[37].name + "") && q(a, i), y[0] & /*vendorArray*/
334
+ C[37].name + "") && K(a, i), y[0] & /*vendorArray*/
335
335
  32 && w !== (w = /*vendor*/
336
- C[37].games.total + "") && q(b, w);
336
+ C[37].games.total + "") && K(b, w);
337
337
  },
338
338
  d(C) {
339
- C && j(e);
339
+ C && z(e);
340
340
  }
341
341
  };
342
342
  }
343
- function ge(r) {
344
- let e, l, i, a, s, m, v, w, b, g, C, y;
343
+ function ue(r) {
344
+ let e, l, i, a, s, m, v, w, b, u, C, y;
345
345
  function O() {
346
- r[25].call(
346
+ r[26].call(
347
347
  i,
348
348
  /*each_value*/
349
349
  r[38],
@@ -351,10 +351,10 @@ function ge(r) {
351
351
  r[39]
352
352
  );
353
353
  }
354
- function A() {
354
+ function P() {
355
355
  return (
356
356
  /*click_handler_1*/
357
- r[26](
357
+ r[27](
358
358
  /*vendor*/
359
359
  r[37]
360
360
  )
@@ -375,16 +375,16 @@ function ge(r) {
375
375
  let x = S(r), F = x && x(r);
376
376
  return {
377
377
  c() {
378
- e = u("li"), l = u("label"), i = u("input"), s = E(), m = u("span"), v = E(), F && F.c(), w = E(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
+ e = g("li"), l = g("label"), i = g("input"), s = E(), m = g("span"), v = E(), F && F.c(), w = E(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
379
379
  r[37].name, oe(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
380
- (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
380
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
381
381
  r[37].name;
382
382
  },
383
383
  m(p, c) {
384
- z(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
384
+ V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
385
385
  r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
386
386
  te(i, "change", O),
387
- te(i, "click", A)
387
+ te(i, "click", P)
388
388
  ], C = !0);
389
389
  },
390
390
  p(p, c) {
@@ -395,11 +395,11 @@ function ge(r) {
395
395
  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*/
396
396
  4 && b !== (b = "FilterItem " + /*filterbylogo*/
397
397
  (r[2] === "true" ? "FilterItemWithLogos" : "")) && n(e, "class", b), c[0] & /*vendorArray*/
398
- 32 && g !== (g = /*vendor*/
399
- r[37].name) && (e.value = g);
398
+ 32 && u !== (u = /*vendor*/
399
+ r[37].name) && (e.value = u);
400
400
  },
401
401
  d(p) {
402
- p && j(e), F && F.d(), C = !1, ue(y);
402
+ p && z(e), F && F.d(), C = !1, ge(y);
403
403
  }
404
404
  };
405
405
  }
@@ -410,18 +410,18 @@ function ze(r) {
410
410
  /*hasErrors*/
411
411
  s[10]
412
412
  )
413
- return Be;
413
+ return Te;
414
414
  if (!/*isLoading*/
415
415
  s[9])
416
- return Te;
416
+ return Be;
417
417
  }
418
418
  let i = l(r), a = i && i(r);
419
419
  return {
420
420
  c() {
421
- e = u("div"), a && a.c();
421
+ e = g("div"), a && a.c();
422
422
  },
423
423
  m(s, m) {
424
- z(s, e, m), a && a.m(e, null), r[28](e);
424
+ V(s, e, m), a && a.m(e, null), r[29](e);
425
425
  },
426
426
  p(s, m) {
427
427
  i === (i = l(s)) && a ? a.p(s, m) : (a && a.d(1), a = i && i(s), a && (a.c(), a.m(e, null)));
@@ -429,16 +429,16 @@ function ze(r) {
429
429
  i: ae,
430
430
  o: ae,
431
431
  d(s) {
432
- s && j(e), a && a.d(), r[28](null);
432
+ s && z(e), a && a.d(), r[29](null);
433
433
  }
434
434
  };
435
435
  }
436
436
  function Ve(r, e, l) {
437
437
  let i;
438
438
  we(r, Pe, (t) => l(11, i = t));
439
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: O = "false" } = e, { mbsource: A } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], P = {}, M = !1, V = 0, K = !0, _, N = !1, X;
439
+ 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: O = "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;
440
440
  Ee({ withLocale: "en", translations: {} });
441
- const T = () => {
441
+ const B = () => {
442
442
  fetch(v).then((d) => d.json()).then((d) => {
443
443
  Object.keys(d).forEach((f) => {
444
444
  ce(f, d[f]);
@@ -449,66 +449,66 @@ function Ve(r, e, l) {
449
449
  };
450
450
  Object.keys(de).forEach((t) => {
451
451
  ce(t, de[t]);
452
- }), P[g] && (P = { [g]: [] });
453
- const W = () => {
452
+ }), A[u] && (A = { [u]: [] });
453
+ const H = () => {
454
454
  l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
455
- }, R = (t) => (l(9, K = !0), new Promise((d, f) => {
455
+ }, U = (t) => (l(9, R = !0), new Promise((d, f) => {
456
456
  fetch(t).then((h) => h.json()).then((h) => {
457
457
  h = h.items, d(h.items), l(6, c = []);
458
458
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
459
- const pe = S === "true" ? "*" : g;
459
+ const pe = S === "true" ? "*" : u;
460
460
  h.forEach(($) => {
461
461
  var re;
462
462
  le || (le = { currentCategoryId: [] }), ((re = le[pe]) == null ? void 0 : re.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
463
- }), l(5, p = h), J();
463
+ }), l(5, p = h), q();
464
464
  }).catch((h) => {
465
465
  console.error(h), l(10, N = !0), f(h);
466
466
  }).finally(() => {
467
- l(9, K = !1);
467
+ l(9, R = !1);
468
468
  });
469
- })), H = (t) => {
469
+ })), J = (t) => {
470
470
  let d = localStorage.getItem("vendorFiltersByCategory");
471
471
  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));
472
- const f = S === "true" ? "*" : g;
473
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
472
+ const f = S === "true" ? "*" : u;
473
+ d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
474
474
  [f]: c.map((h) => h.id)
475
- })) : (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), J();
476
- }, J = () => {
477
- l(7, M = c.length === p.length || c.length == 0), l(8, V = c.length);
478
- }, U = () => {
475
+ })) : (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
+ }, q = () => {
477
+ l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
478
+ }, Z = () => {
479
479
  if (p.length && S === "true")
480
480
  return;
481
481
  const t = new URL(`${a}/v1/casino/vendors`);
482
- 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", Ae(F)), S === "true" || ((g.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${g})`), t.searchParams.append("subVendors", `games(subGroups=${g})`)) : t.searchParams.append("filter", `games(groups=${g})`)), R(t);
483
- }, Z = () => {
484
- l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
485
- [S === "true" ? "*" : g]: c.map((t) => t.id)
482
+ 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", Ae(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);
483
+ }, G = () => {
484
+ l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
485
+ [S === "true" ? "*" : u]: c.map((t) => t.id)
486
486
  })), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
487
- }, Q = (t) => {
487
+ }, X = (t) => {
488
488
  t.data.type == "SortingOpened" && l(4, x = !1);
489
489
  };
490
- _e(() => (window.addEventListener("message", Q, !1), () => {
491
- window.removeEventListener("message", Q);
490
+ _e(() => (window.addEventListener("message", X, !1), () => {
491
+ window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
492
492
  }));
493
- const Y = () => W();
494
- function G(t, d) {
493
+ const Y = () => H();
494
+ function Q(t, d) {
495
495
  t[d].isFilterSelected = this.checked, l(5, p);
496
496
  }
497
- const L = (t) => H(t), D = () => Z();
497
+ const L = (t) => J(t), j = () => G();
498
498
  function k(t) {
499
499
  ke[t ? "unshift" : "push"](() => {
500
500
  _ = t, l(3, _);
501
501
  });
502
502
  }
503
503
  return r.$$set = (t) => {
504
- "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, g = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, O = t.filterbylogo), "mbsource" in t && l(22, A = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
504
+ "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, O = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
505
505
  }, r.$$.update = () => {
506
506
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
507
- 2195460 && a && s && g && O && U(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
507
+ 2195460 && a && s && u && O && Z(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
508
508
  524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
509
- 1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
510
- 4194312 && _ && Le(_, `${A}.Style`, X), r.$$.dirty[0] & /*translationurl*/
511
- 262144 && v && T();
509
+ 1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
510
+ 20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
511
+ 262144 && v && B();
512
512
  }, [
513
513
  C,
514
514
  y,
@@ -518,26 +518,27 @@ function Ve(r, e, l) {
518
518
  p,
519
519
  c,
520
520
  M,
521
- V,
522
- K,
521
+ W,
522
+ R,
523
523
  N,
524
524
  i,
525
- W,
526
525
  H,
527
- Z,
526
+ J,
527
+ G,
528
528
  a,
529
529
  s,
530
530
  m,
531
531
  v,
532
532
  w,
533
533
  b,
534
- g,
535
- A,
534
+ u,
535
+ P,
536
536
  S,
537
+ D,
537
538
  Y,
538
- G,
539
+ Q,
539
540
  L,
540
- D,
541
+ j,
541
542
  k
542
543
  ];
543
544
  }