@everymatrix/casino-navigation-search 1.94.4 → 1.94.6

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.
@@ -1,5 +1,5 @@
1
- import { S as Q, b as W, s as X, f as M, d as Y, n as I, e as O, j as C, m as S, g as v, q as Z, w as $, u as A, k as c, v as z, x as N, y as q, o as L, z as ee, E as V, l as J, B as te, C as re, D as ie, c as le } from "./CasinoNavigationSearch-D2TFQtTD.js";
2
- import { a as se, $ as oe, b as ae } from "./CasinoSearch-B8ruAPZm.js";
1
+ import { S as Q, m as W, t as X, l as N, b as Y, q as I, h as O, n as L, i as S, c as v, e as Z, d as $, y as A, a as c, F as z, k as V, g as q, A as C, j as ee, B as x, p as J, u as te, v as re, w as ie, f as le } from "./CasinoNavigationSearch-dBPLA2J5.js";
2
+ import { b as se, a as oe, $ as ae } from "./CasinoSearch-Cho1l1vu.js";
3
3
  const R = {
4
4
  en: {
5
5
  popularProviders: "Popular Suppliers",
@@ -134,13 +134,13 @@ function de(t) {
134
134
  ), a, o, u, n, P = (
135
135
  /*$_*/
136
136
  t[4]("otherProviders") + ""
137
- ), h, _, b, m = N(
137
+ ), h, _, b, m = V(
138
138
  /*topProviders*/
139
139
  t[1]
140
140
  ), d = [];
141
141
  for (let r = 0; r < m.length; r += 1)
142
142
  d[r] = D(G(t, m, r));
143
- let f = N(
143
+ let f = V(
144
144
  /*otherProviders*/
145
145
  t[2]
146
146
  ), g = [];
@@ -148,29 +148,29 @@ function de(t) {
148
148
  g[r] = H(B(t, f, r));
149
149
  return {
150
150
  c() {
151
- e = S("h4"), a = z(i), o = L();
151
+ e = S("h4"), a = z(i), o = C();
152
152
  for (let r = 0; r < d.length; r += 1)
153
153
  d[r].c();
154
- u = L(), n = S("h4"), h = z(P), _ = L();
154
+ u = C(), n = S("h4"), h = z(P), _ = C();
155
155
  for (let r = 0; r < g.length; r += 1)
156
156
  g[r].c();
157
157
  b = ee(), v(e, "class", "ProviderTitle"), v(n, "class", "ProviderTitle");
158
158
  },
159
159
  m(r, p) {
160
- C(r, e, p), c(e, a), C(r, o, p);
160
+ L(r, e, p), c(e, a), L(r, o, p);
161
161
  for (let l = 0; l < d.length; l += 1)
162
162
  d[l] && d[l].m(r, p);
163
- C(r, u, p), C(r, n, p), c(n, h), C(r, _, p);
163
+ L(r, u, p), L(r, n, p), c(n, h), L(r, _, p);
164
164
  for (let l = 0; l < g.length; l += 1)
165
165
  g[l] && g[l].m(r, p);
166
- C(r, b, p);
166
+ L(r, b, p);
167
167
  },
168
168
  p(r, p) {
169
169
  if (p & /*$_*/
170
170
  16 && i !== (i = /*$_*/
171
171
  r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
172
172
  50) {
173
- m = N(
173
+ m = V(
174
174
  /*topProviders*/
175
175
  r[1]
176
176
  );
@@ -187,7 +187,7 @@ function de(t) {
187
187
  16 && P !== (P = /*$_*/
188
188
  r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
189
189
  52) {
190
- f = N(
190
+ f = V(
191
191
  /*otherProviders*/
192
192
  r[2]
193
193
  );
@@ -216,7 +216,7 @@ function ge(t) {
216
216
  e = S("p"), a = z(i), v(e, "class", "Message");
217
217
  },
218
218
  m(o, u) {
219
- C(o, e, u), c(e, a);
219
+ L(o, e, u), c(e, a);
220
220
  },
221
221
  p(o, u) {
222
222
  u & /*$_*/
@@ -250,16 +250,16 @@ function D(t) {
250
250
  }
251
251
  return {
252
252
  c() {
253
- e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = z(h), b = L(), m = S("p"), f = z(d), g = L(), p = z(r), V(i.src, a = /*provider*/
253
+ e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), x(i.src, a = /*provider*/
254
254
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
255
255
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
256
256
  },
257
- m(j, y) {
258
- C(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", E), l = !0);
257
+ m(F, y) {
258
+ L(F, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", E), l = !0);
259
259
  },
260
- p(j, y) {
261
- t = j, y & /*topProviders*/
262
- 2 && !V(i.src, a = /*provider*/
260
+ p(F, y) {
261
+ t = F, y & /*topProviders*/
262
+ 2 && !x(i.src, a = /*provider*/
263
263
  t[21].logo) && v(i, "src", a), y & /*topProviders*/
264
264
  2 && o !== (o = /*provider*/
265
265
  t[21].name) && v(i, "alt", o), y & /*topProviders*/
@@ -270,8 +270,8 @@ function D(t) {
270
270
  16 && r !== (r = /*$_*/
271
271
  t[4]("games") + "") && A(p, r);
272
272
  },
273
- d(j) {
274
- j && O(e), l = !1, w();
273
+ d(F) {
274
+ F && O(e), l = !1, w();
275
275
  }
276
276
  };
277
277
  }
@@ -286,7 +286,7 @@ function H(t) {
286
286
  /*$_*/
287
287
  t[4]("games") + ""
288
288
  ), p, l, w, E;
289
- function j() {
289
+ function F() {
290
290
  return (
291
291
  /*click_handler_1*/
292
292
  t[14](
@@ -297,23 +297,23 @@ function H(t) {
297
297
  }
298
298
  return {
299
299
  c() {
300
- e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = z(h), b = L(), m = S("p"), f = z(d), g = L(), p = z(r), l = L(), V(i.src, a = /*provider*/
300
+ e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), l = C(), x(i.src, a = /*provider*/
301
301
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
302
302
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
303
303
  },
304
- m(y, F) {
305
- C(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (E = J(e, "click", j), w = !0);
304
+ m(y, j) {
305
+ L(y, e, j), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (E = J(e, "click", F), w = !0);
306
306
  },
307
- p(y, F) {
308
- t = y, F & /*otherProviders*/
309
- 4 && !V(i.src, a = /*provider*/
310
- t[21].logo) && v(i, "src", a), F & /*otherProviders*/
307
+ p(y, j) {
308
+ t = y, j & /*otherProviders*/
309
+ 4 && !x(i.src, a = /*provider*/
310
+ t[21].logo) && v(i, "src", a), j & /*otherProviders*/
311
311
  4 && o !== (o = /*provider*/
312
- t[21].name) && v(i, "alt", o), F & /*otherProviders*/
312
+ t[21].name) && v(i, "alt", o), j & /*otherProviders*/
313
313
  4 && h !== (h = /*provider*/
314
- t[21].name + "") && A(_, h), F & /*otherProviders*/
314
+ t[21].name + "") && A(_, h), j & /*otherProviders*/
315
315
  4 && d !== (d = /*provider*/
316
- t[21].games.count + "") && A(f, d), F & /*$_*/
316
+ t[21].games.count + "") && A(f, d), j & /*$_*/
317
317
  16 && r !== (r = /*$_*/
318
318
  t[4]("games") + "") && A(p, r);
319
319
  },
@@ -336,7 +336,7 @@ function pe(t) {
336
336
  e = S("div"), o.c(), v(e, "class", "CasinoProviders");
337
337
  },
338
338
  m(u, n) {
339
- C(u, e, n), o.m(e, null), t[15](e);
339
+ L(u, e, n), o.m(e, null), t[15](e);
340
340
  },
341
341
  p(u, [n]) {
342
342
  a === (a = i(u)) && o ? o.p(u, n) : (o.d(1), o = a(u), o && (o.c(), o.m(e, null)));
@@ -354,8 +354,8 @@ function ce(t, e, i) {
354
354
  let { endpoint: o = "" } = e, { datasource: u = "" } = e, { lang: n = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: _ = "" } = e, { mbsource: b } = e, m = [], d = [], f = [], g = !1, r, p;
355
355
  const l = () => {
356
356
  fetch(_).then((k) => k.json()).then((k) => {
357
- Object.keys(k).forEach((x) => {
358
- U(x, k[x]);
357
+ Object.keys(k).forEach((M) => {
358
+ U(M, k[M]);
359
359
  });
360
360
  }).catch((k) => {
361
361
  console.log(k);
@@ -369,22 +369,22 @@ function ce(t, e, i) {
369
369
  const s = new URL(`${o}/v1/casino/vendors`);
370
370
  s.searchParams.append("datasource", u), s.searchParams.append("language", n), s.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(s).then((k) => k.json()).then((k) => {
371
371
  i(3, g = !1), m = k.items.map((T) => T), i(1, d = m.filter((T) => T.isTopVendor === !0)), i(2, f = m.filter((T) => T.isTopVendor === !1));
372
- let x = [];
373
- x = m.flatMap((T) => T.subVendors), f.push(...x.filter((T) => T.games.count > 0));
372
+ let M = [];
373
+ M = m.flatMap((T) => T.subVendors), f.push(...M.filter((T) => T.games.count > 0));
374
374
  });
375
- }, E = (s, k, x) => {
375
+ }, E = (s, k, M) => {
376
376
  window.postMessage(
377
377
  {
378
378
  type: "OpenGameProvider",
379
379
  providerId: s,
380
380
  providerName: k,
381
- providerLogo: x
381
+ providerLogo: M
382
382
  },
383
383
  window.location.href
384
384
  );
385
- }, j = () => {
385
+ }, F = () => {
386
386
  ne(n);
387
- }, y = (s) => E(s.id, s.name, s.logo), F = (s) => E(s.id, s.name, s.logo);
387
+ }, y = (s) => E(s.id, s.name, s.logo), j = (s) => E(s.id, s.name, s.logo);
388
388
  function K(s) {
389
389
  $[s ? "unshift" : "push"](() => {
390
390
  r = s, i(0, r);
@@ -395,7 +395,7 @@ function ce(t, e, i) {
395
395
  }, t.$$.update = () => {
396
396
  t.$$.dirty & /*endpoint, lang, datasource*/
397
397
  448 && o && n && u && w(), t.$$.dirty & /*lang*/
398
- 256 && n && j(), t.$$.dirty & /*translationurl*/
398
+ 256 && n && F(), t.$$.dirty & /*translationurl*/
399
399
  2048 && _ && l(), t.$$.dirty & /*clientstyling, customStylingContainer*/
400
400
  513 && P && r && te(r, P), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
401
401
  1025 && h && r && re(r, h), t.$$.dirty & /*mbsource, customStylingContainer*/
@@ -415,7 +415,7 @@ function ce(t, e, i) {
415
415
  _,
416
416
  b,
417
417
  y,
418
- F,
418
+ j,
419
419
  K
420
420
  ];
421
421
  }
@@ -443,43 +443,43 @@ class me extends Q {
443
443
  return this.$$.ctx[6];
444
444
  }
445
445
  set endpoint(e) {
446
- this.$$set({ endpoint: e }), M();
446
+ this.$$set({ endpoint: e }), N();
447
447
  }
448
448
  get datasource() {
449
449
  return this.$$.ctx[7];
450
450
  }
451
451
  set datasource(e) {
452
- this.$$set({ datasource: e }), M();
452
+ this.$$set({ datasource: e }), N();
453
453
  }
454
454
  get lang() {
455
455
  return this.$$.ctx[8];
456
456
  }
457
457
  set lang(e) {
458
- this.$$set({ lang: e }), M();
458
+ this.$$set({ lang: e }), N();
459
459
  }
460
460
  get clientstyling() {
461
461
  return this.$$.ctx[9];
462
462
  }
463
463
  set clientstyling(e) {
464
- this.$$set({ clientstyling: e }), M();
464
+ this.$$set({ clientstyling: e }), N();
465
465
  }
466
466
  get clientstylingurl() {
467
467
  return this.$$.ctx[10];
468
468
  }
469
469
  set clientstylingurl(e) {
470
- this.$$set({ clientstylingurl: e }), M();
470
+ this.$$set({ clientstylingurl: e }), N();
471
471
  }
472
472
  get translationurl() {
473
473
  return this.$$.ctx[11];
474
474
  }
475
475
  set translationurl(e) {
476
- this.$$set({ translationurl: e }), M();
476
+ this.$$set({ translationurl: e }), N();
477
477
  }
478
478
  get mbsource() {
479
479
  return this.$$.ctx[12];
480
480
  }
481
481
  set mbsource(e) {
482
- this.$$set({ mbsource: e }), M();
482
+ this.$$set({ mbsource: e }), N();
483
483
  }
484
484
  }
485
485
  le(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
@@ -1,6 +1,6 @@
1
- import { S as Q, b as W, s as X, f as M, c as Y, n as I, d as O, h as C, k as S, e as v, p as Z, v as $, t as A, j as c, u as E, w as N, x as R, m as L, y as ee, E as V, l as J, A as te, B as re, C as ie, D as le } from "./CasinoNavigationSearch-CCkQbdS5.js";
2
- import { a as se, $ as oe, b as ae } from "./CasinoSearch-y9Hu7PaC.js";
3
- const U = {
1
+ import { S as Q, m as W, t as X, l as N, b as Y, q as I, h as O, n as L, i as S, c as v, e as Z, d as $, y as A, a as c, F as z, k as V, g as q, A as C, j as ee, B as x, p as J, u as te, v as re, w as ie, f as le } from "./CasinoNavigationSearch-COt0j-LI.js";
2
+ import { b as se, a as oe, $ as ae } from "./CasinoSearch-KnE4RY5E.js";
3
+ const R = {
4
4
  en: {
5
5
  popularProviders: "Popular Suppliers",
6
6
  otherProviders: "Other Suppliers",
@@ -110,7 +110,7 @@ const U = {
110
110
  games: "games"
111
111
  }
112
112
  };
113
- function q(t, e) {
113
+ function U(t, e) {
114
114
  se(t, e);
115
115
  }
116
116
  function ne(t) {
@@ -134,13 +134,13 @@ function de(t) {
134
134
  ), a, o, u, n, P = (
135
135
  /*$_*/
136
136
  t[4]("otherProviders") + ""
137
- ), h, _, b, m = N(
137
+ ), h, _, b, m = V(
138
138
  /*topProviders*/
139
139
  t[1]
140
140
  ), d = [];
141
141
  for (let r = 0; r < m.length; r += 1)
142
142
  d[r] = D(G(t, m, r));
143
- let f = N(
143
+ let f = V(
144
144
  /*otherProviders*/
145
145
  t[2]
146
146
  ), g = [];
@@ -148,29 +148,29 @@ function de(t) {
148
148
  g[r] = H(B(t, f, r));
149
149
  return {
150
150
  c() {
151
- e = S("h4"), a = E(i), o = L();
151
+ e = S("h4"), a = z(i), o = C();
152
152
  for (let r = 0; r < d.length; r += 1)
153
153
  d[r].c();
154
- u = L(), n = S("h4"), h = E(P), _ = L();
154
+ u = C(), n = S("h4"), h = z(P), _ = C();
155
155
  for (let r = 0; r < g.length; r += 1)
156
156
  g[r].c();
157
157
  b = ee(), v(e, "class", "ProviderTitle"), v(n, "class", "ProviderTitle");
158
158
  },
159
159
  m(r, p) {
160
- C(r, e, p), c(e, a), C(r, o, p);
160
+ L(r, e, p), c(e, a), L(r, o, p);
161
161
  for (let l = 0; l < d.length; l += 1)
162
162
  d[l] && d[l].m(r, p);
163
- C(r, u, p), C(r, n, p), c(n, h), C(r, _, p);
163
+ L(r, u, p), L(r, n, p), c(n, h), L(r, _, p);
164
164
  for (let l = 0; l < g.length; l += 1)
165
165
  g[l] && g[l].m(r, p);
166
- C(r, b, p);
166
+ L(r, b, p);
167
167
  },
168
168
  p(r, p) {
169
169
  if (p & /*$_*/
170
170
  16 && i !== (i = /*$_*/
171
171
  r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
172
172
  50) {
173
- m = N(
173
+ m = V(
174
174
  /*topProviders*/
175
175
  r[1]
176
176
  );
@@ -187,7 +187,7 @@ function de(t) {
187
187
  16 && P !== (P = /*$_*/
188
188
  r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
189
189
  52) {
190
- f = N(
190
+ f = V(
191
191
  /*otherProviders*/
192
192
  r[2]
193
193
  );
@@ -202,7 +202,7 @@ function de(t) {
202
202
  }
203
203
  },
204
204
  d(r) {
205
- r && (O(e), O(o), O(u), O(n), O(_), O(b)), R(d, r), R(g, r);
205
+ r && (O(e), O(o), O(u), O(n), O(_), O(b)), q(d, r), q(g, r);
206
206
  }
207
207
  };
208
208
  }
@@ -213,10 +213,10 @@ function ge(t) {
213
213
  ), a;
214
214
  return {
215
215
  c() {
216
- e = S("p"), a = E(i), v(e, "class", "Message");
216
+ e = S("p"), a = z(i), v(e, "class", "Message");
217
217
  },
218
218
  m(o, u) {
219
- C(o, e, u), c(e, a);
219
+ L(o, e, u), c(e, a);
220
220
  },
221
221
  p(o, u) {
222
222
  u & /*$_*/
@@ -239,7 +239,7 @@ function D(t) {
239
239
  /*$_*/
240
240
  t[4]("games") + ""
241
241
  ), p, l, w;
242
- function x() {
242
+ function E() {
243
243
  return (
244
244
  /*click_handler*/
245
245
  t[13](
@@ -250,16 +250,16 @@ function D(t) {
250
250
  }
251
251
  return {
252
252
  c() {
253
- e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = E(h), b = L(), m = S("p"), f = E(d), g = L(), p = E(r), V(i.src, a = /*provider*/
253
+ e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), x(i.src, a = /*provider*/
254
254
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
255
255
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
256
256
  },
257
- m(j, y) {
258
- C(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", x), l = !0);
257
+ m(F, y) {
258
+ L(F, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", E), l = !0);
259
259
  },
260
- p(j, y) {
261
- t = j, y & /*topProviders*/
262
- 2 && !V(i.src, a = /*provider*/
260
+ p(F, y) {
261
+ t = F, y & /*topProviders*/
262
+ 2 && !x(i.src, a = /*provider*/
263
263
  t[21].logo) && v(i, "src", a), y & /*topProviders*/
264
264
  2 && o !== (o = /*provider*/
265
265
  t[21].name) && v(i, "alt", o), y & /*topProviders*/
@@ -270,8 +270,8 @@ function D(t) {
270
270
  16 && r !== (r = /*$_*/
271
271
  t[4]("games") + "") && A(p, r);
272
272
  },
273
- d(j) {
274
- j && O(e), l = !1, w();
273
+ d(F) {
274
+ F && O(e), l = !1, w();
275
275
  }
276
276
  };
277
277
  }
@@ -285,8 +285,8 @@ function H(t) {
285
285
  ), f, g, r = (
286
286
  /*$_*/
287
287
  t[4]("games") + ""
288
- ), p, l, w, x;
289
- function j() {
288
+ ), p, l, w, E;
289
+ function F() {
290
290
  return (
291
291
  /*click_handler_1*/
292
292
  t[14](
@@ -297,28 +297,28 @@ function H(t) {
297
297
  }
298
298
  return {
299
299
  c() {
300
- e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = E(h), b = L(), m = S("p"), f = E(d), g = L(), p = E(r), l = L(), V(i.src, a = /*provider*/
300
+ e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), l = C(), x(i.src, a = /*provider*/
301
301
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
302
302
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
303
303
  },
304
- m(y, F) {
305
- C(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (x = J(e, "click", j), w = !0);
304
+ m(y, j) {
305
+ L(y, e, j), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (E = J(e, "click", F), w = !0);
306
306
  },
307
- p(y, F) {
308
- t = y, F & /*otherProviders*/
309
- 4 && !V(i.src, a = /*provider*/
310
- t[21].logo) && v(i, "src", a), F & /*otherProviders*/
307
+ p(y, j) {
308
+ t = y, j & /*otherProviders*/
309
+ 4 && !x(i.src, a = /*provider*/
310
+ t[21].logo) && v(i, "src", a), j & /*otherProviders*/
311
311
  4 && o !== (o = /*provider*/
312
- t[21].name) && v(i, "alt", o), F & /*otherProviders*/
312
+ t[21].name) && v(i, "alt", o), j & /*otherProviders*/
313
313
  4 && h !== (h = /*provider*/
314
- t[21].name + "") && A(_, h), F & /*otherProviders*/
314
+ t[21].name + "") && A(_, h), j & /*otherProviders*/
315
315
  4 && d !== (d = /*provider*/
316
- t[21].games.count + "") && A(f, d), F & /*$_*/
316
+ t[21].games.count + "") && A(f, d), j & /*$_*/
317
317
  16 && r !== (r = /*$_*/
318
318
  t[4]("games") + "") && A(p, r);
319
319
  },
320
320
  d(y) {
321
- y && O(e), w = !1, x();
321
+ y && O(e), w = !1, E();
322
322
  }
323
323
  };
324
324
  }
@@ -336,7 +336,7 @@ function pe(t) {
336
336
  e = S("div"), o.c(), v(e, "class", "CasinoProviders");
337
337
  },
338
338
  m(u, n) {
339
- C(u, e, n), o.m(e, null), t[15](e);
339
+ L(u, e, n), o.m(e, null), t[15](e);
340
340
  },
341
341
  p(u, [n]) {
342
342
  a === (a = i(u)) && o ? o.p(u, n) : (o.d(1), o = a(u), o && (o.c(), o.m(e, null)));
@@ -354,37 +354,37 @@ function ce(t, e, i) {
354
354
  let { endpoint: o = "" } = e, { datasource: u = "" } = e, { lang: n = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: _ = "" } = e, { mbsource: b } = e, m = [], d = [], f = [], g = !1, r, p;
355
355
  const l = () => {
356
356
  fetch(_).then((k) => k.json()).then((k) => {
357
- Object.keys(k).forEach((z) => {
358
- q(z, k[z]);
357
+ Object.keys(k).forEach((M) => {
358
+ U(M, k[M]);
359
359
  });
360
360
  }).catch((k) => {
361
361
  console.log(k);
362
362
  });
363
363
  };
364
- Object.keys(U).forEach((s) => {
365
- q(s, U[s]);
364
+ Object.keys(R).forEach((s) => {
365
+ U(s, R[s]);
366
366
  });
367
367
  const w = () => {
368
368
  i(3, g = !0);
369
369
  const s = new URL(`${o}/v1/casino/vendors`);
370
370
  s.searchParams.append("datasource", u), s.searchParams.append("language", n), s.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(s).then((k) => k.json()).then((k) => {
371
371
  i(3, g = !1), m = k.items.map((T) => T), i(1, d = m.filter((T) => T.isTopVendor === !0)), i(2, f = m.filter((T) => T.isTopVendor === !1));
372
- let z = [];
373
- z = m.flatMap((T) => T.subVendors), f.push(...z.filter((T) => T.games.count > 0));
372
+ let M = [];
373
+ M = m.flatMap((T) => T.subVendors), f.push(...M.filter((T) => T.games.count > 0));
374
374
  });
375
- }, x = (s, k, z) => {
375
+ }, E = (s, k, M) => {
376
376
  window.postMessage(
377
377
  {
378
378
  type: "OpenGameProvider",
379
379
  providerId: s,
380
380
  providerName: k,
381
- providerLogo: z
381
+ providerLogo: M
382
382
  },
383
383
  window.location.href
384
384
  );
385
- }, j = () => {
385
+ }, F = () => {
386
386
  ne(n);
387
- }, y = (s) => x(s.id, s.name, s.logo), F = (s) => x(s.id, s.name, s.logo);
387
+ }, y = (s) => E(s.id, s.name, s.logo), j = (s) => E(s.id, s.name, s.logo);
388
388
  function K(s) {
389
389
  $[s ? "unshift" : "push"](() => {
390
390
  r = s, i(0, r);
@@ -395,7 +395,7 @@ function ce(t, e, i) {
395
395
  }, t.$$.update = () => {
396
396
  t.$$.dirty & /*endpoint, lang, datasource*/
397
397
  448 && o && n && u && w(), t.$$.dirty & /*lang*/
398
- 256 && n && j(), t.$$.dirty & /*translationurl*/
398
+ 256 && n && F(), t.$$.dirty & /*translationurl*/
399
399
  2048 && _ && l(), t.$$.dirty & /*clientstyling, customStylingContainer*/
400
400
  513 && P && r && te(r, P), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
401
401
  1025 && h && r && re(r, h), t.$$.dirty & /*mbsource, customStylingContainer*/
@@ -406,7 +406,7 @@ function ce(t, e, i) {
406
406
  f,
407
407
  g,
408
408
  a,
409
- x,
409
+ E,
410
410
  o,
411
411
  u,
412
412
  n,
@@ -415,7 +415,7 @@ function ce(t, e, i) {
415
415
  _,
416
416
  b,
417
417
  y,
418
- F,
418
+ j,
419
419
  K
420
420
  ];
421
421
  }
@@ -443,43 +443,43 @@ class me extends Q {
443
443
  return this.$$.ctx[6];
444
444
  }
445
445
  set endpoint(e) {
446
- this.$$set({ endpoint: e }), M();
446
+ this.$$set({ endpoint: e }), N();
447
447
  }
448
448
  get datasource() {
449
449
  return this.$$.ctx[7];
450
450
  }
451
451
  set datasource(e) {
452
- this.$$set({ datasource: e }), M();
452
+ this.$$set({ datasource: e }), N();
453
453
  }
454
454
  get lang() {
455
455
  return this.$$.ctx[8];
456
456
  }
457
457
  set lang(e) {
458
- this.$$set({ lang: e }), M();
458
+ this.$$set({ lang: e }), N();
459
459
  }
460
460
  get clientstyling() {
461
461
  return this.$$.ctx[9];
462
462
  }
463
463
  set clientstyling(e) {
464
- this.$$set({ clientstyling: e }), M();
464
+ this.$$set({ clientstyling: e }), N();
465
465
  }
466
466
  get clientstylingurl() {
467
467
  return this.$$.ctx[10];
468
468
  }
469
469
  set clientstylingurl(e) {
470
- this.$$set({ clientstylingurl: e }), M();
470
+ this.$$set({ clientstylingurl: e }), N();
471
471
  }
472
472
  get translationurl() {
473
473
  return this.$$.ctx[11];
474
474
  }
475
475
  set translationurl(e) {
476
- this.$$set({ translationurl: e }), M();
476
+ this.$$set({ translationurl: e }), N();
477
477
  }
478
478
  get mbsource() {
479
479
  return this.$$.ctx[12];
480
480
  }
481
481
  set mbsource(e) {
482
- this.$$set({ mbsource: e }), M();
482
+ this.$$set({ mbsource: e }), N();
483
483
  }
484
484
  }
485
485
  le(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);