@everymatrix/casino-categories-providers 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,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as ae, f as x, s as ie, c as oe, b as se, n as P, d as I, e as K, g as b, h as re, o as le, j as ne, k as j, l as U, m as G, p as S, q as c, t as E, r as O, u as q, v as L, w as V, x as ge, y as ce, z as ue, A as de } from "./CasinoCategoriesProviders-CrOt4e-U.js";
1
+ import { b as $, a as ee, S as te, o as ae, n as x, t as ie, h as oe, d as se, r as P, j as I, p as K, k as b, g as re, s as le, f as ne, e as j, m as U, i as G, y as S, c, B as E, z as O, A as q, x as L, q as V, $ as ge, u as ce, v as ue, w as de } from "./CasinoCategoriesProviders-D3kwecqy.js";
2
2
  import "../stencil/ui-image-Ch-GHki1.js";
3
- function D(t, e) {
3
+ function B(t, e) {
4
4
  $(t, e);
5
5
  }
6
6
  function he(t) {
7
7
  ee.set(t);
8
8
  }
9
- const Y = {
9
+ const D = {
10
10
  en: {
11
11
  topCategories: "Top Categories",
12
12
  otherCategories: "Other Categories",
@@ -119,7 +119,7 @@ const Y = {
119
119
  function fe(t) {
120
120
  se(t, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
121
121
  }
122
- function B(t, e, a) {
122
+ function Y(t, e, a) {
123
123
  const r = t.slice();
124
124
  return r[23] = e[a], r;
125
125
  }
@@ -145,7 +145,7 @@ function me(t) {
145
145
  t[4]
146
146
  ), f = [];
147
147
  for (let o = 0; o < u.length; o += 1)
148
- f[o] = Q(B(t, u, o));
148
+ f[o] = Q(Y(t, u, o));
149
149
  return {
150
150
  c() {
151
151
  e = b("div"), a = b("h4"), n = E(r), d = O();
@@ -192,7 +192,7 @@ function me(t) {
192
192
  );
193
193
  let i;
194
194
  for (i = 0; i < u.length; i += 1) {
195
- const p = B(o, u, i);
195
+ const p = Y(o, u, i);
196
196
  f[i] ? f[i].p(p, m) : (f[i] = Q(p), f[i].c(), f[i].m(e, null));
197
197
  }
198
198
  for (; i < f.length; i += 1)
@@ -356,13 +356,13 @@ function _e(t, e, a) {
356
356
  let { endpoint: n = "" } = e, { datasource: d = "" } = e, { lang: g = "en" } = e, { activecategory: v = "" } = e, { excludedflags: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: h = "" } = e, { mbsource: l } = e, u, f, o = !1;
357
357
  const m = [];
358
358
  let i = [], p = [];
359
- Object.keys(Y).forEach((s) => {
360
- D(s, Y[s]);
359
+ Object.keys(D).forEach((s) => {
360
+ B(s, D[s]);
361
361
  });
362
362
  const A = () => {
363
363
  fetch(h).then((F) => F.json()).then((F) => {
364
364
  Object.keys(F).forEach((N) => {
365
- D(N, F[N]);
365
+ B(N, F[N]);
366
366
  });
367
367
  }).catch((F) => {
368
368
  console.log(F);
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as ie, s as oe, f as x, b as se, n as P, d as I, c as K, e as b, g as re, o as le, h as ne, j, k as U, l as D, m as S, p as c, t as E, q as O, r as q, u as L, v as W, w as ge, x as ce, y as ue, z as de, A as he } from "./CasinoCategoriesProviders-fBIPFHNV.js";
1
+ import { b as ee, a as te, S as ae, o as ie, t as oe, n as x, d as se, r as P, j as I, p as K, k as b, g as re, s as le, f as ne, e as j, m as U, i as B, y as S, c, B as E, z as O, A as q, x as L, q as W, u as ge, v as ce, w as ue, h as de, $ as he } from "./CasinoCategoriesProviders-CuCjd6NO.js";
2
2
  import "../stencil/ui-image-CP8Lp7fB.js";
3
- function Y(t, e) {
3
+ function D(t, e) {
4
4
  ee(t, e);
5
5
  }
6
6
  function fe(t) {
7
7
  te.set(t);
8
8
  }
9
- const B = {
9
+ const Y = {
10
10
  en: {
11
11
  topCategories: "Top Categories",
12
12
  otherCategories: "Other Categories",
@@ -201,7 +201,7 @@ function Ce(t) {
201
201
  }
202
202
  },
203
203
  d(o) {
204
- o && I(e), D(l, o), D(f, o);
204
+ o && I(e), B(l, o), B(f, o);
205
205
  }
206
206
  };
207
207
  }
@@ -356,13 +356,13 @@ function ye(t, e, a) {
356
356
  let { endpoint: n = "" } = e, { datasource: d = "" } = e, { lang: g = "en" } = e, { activecategory: v = "" } = e, { excludedflags: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: h = "" } = e, { mbsource: l } = e, u, f, o = !1;
357
357
  const m = [];
358
358
  let i = [], p = [];
359
- Object.keys(B).forEach((s) => {
360
- Y(s, B[s]);
359
+ Object.keys(Y).forEach((s) => {
360
+ D(s, Y[s]);
361
361
  });
362
362
  const A = () => {
363
363
  fetch(h).then((F) => F.json()).then((F) => {
364
364
  Object.keys(F).forEach((N) => {
365
- Y(N, F[N]);
365
+ D(N, F[N]);
366
366
  });
367
367
  }).catch((F) => {
368
368
  console.log(F);
@@ -3840,7 +3840,7 @@ if (typeof window != "undefined") {
3840
3840
  }
3841
3841
  };
3842
3842
  };
3843
- customElements.define = e(customElements.define), import("./CasinoCategories-BJZE-V-5.js").then(({ default: t }) => {
3843
+ customElements.define = e(customElements.define), import("./CasinoCategories-DknKUUGA.js").then(({ default: t }) => {
3844
3844
  !customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
3845
3845
  });
3846
3846
  }
@@ -3856,7 +3856,7 @@ if (typeof window != "undefined") {
3856
3856
  }
3857
3857
  };
3858
3858
  };
3859
- customElements.define = e(customElements.define), import("./CasinoProviders-BdgEuoFt.js").then(({ default: t }) => {
3859
+ customElements.define = e(customElements.define), import("./CasinoProviders-D5HPJa6d.js").then(({ default: t }) => {
3860
3860
  !customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
3861
3861
  });
3862
3862
  }
@@ -4280,35 +4280,35 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4280
4280
  default: kt
4281
4281
  }, Symbol.toStringTag, { value: "Module" }));
4282
4282
  export {
4283
- Y as $,
4284
- oi as A,
4285
- yi as B,
4283
+ oi as $,
4284
+ bi as A,
4285
+ ce as B,
4286
4286
  xi as C,
4287
4287
  gr as S,
4288
- Dt as a,
4289
- Yt as b,
4290
- vt as c,
4291
- je as d,
4292
- I as e,
4293
- P as f,
4288
+ Y as a,
4289
+ Dt as b,
4290
+ A as c,
4291
+ Yt as d,
4292
+ C as e,
4293
+ Pe as f,
4294
4294
  Jt as g,
4295
- Pe as h,
4296
- dr as i,
4297
- C as j,
4298
- Ei as k,
4299
- vi as l,
4300
- Ye as m,
4301
- L as n,
4302
- ir as o,
4303
- A as p,
4304
- xe as q,
4305
- bi as r,
4306
- gt as s,
4307
- ce as t,
4308
- x as u,
4309
- Je as v,
4310
- ui as w,
4311
- hi as x,
4312
- li as y,
4313
- pr as z
4295
+ pr as h,
4296
+ vi as i,
4297
+ je as j,
4298
+ I as k,
4299
+ yi as l,
4300
+ Ei as m,
4301
+ P as n,
4302
+ dr as o,
4303
+ vt as p,
4304
+ Je as q,
4305
+ L as r,
4306
+ ir as s,
4307
+ gt as t,
4308
+ ui as u,
4309
+ hi as v,
4310
+ li as w,
4311
+ x,
4312
+ Ye as y,
4313
+ xe as z
4314
4314
  };
@@ -3803,7 +3803,7 @@ if (typeof window < "u") {
3803
3803
  }
3804
3804
  };
3805
3805
  };
3806
- customElements.define = e(customElements.define), import("./CasinoCategories-CK_qQ4Hb.js").then(({ default: t }) => {
3806
+ customElements.define = e(customElements.define), import("./CasinoCategories-CkX5Sv_6.js").then(({ default: t }) => {
3807
3807
  !customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
3808
3808
  });
3809
3809
  }
@@ -3819,7 +3819,7 @@ if (typeof window < "u") {
3819
3819
  }
3820
3820
  };
3821
3821
  };
3822
- customElements.define = e(customElements.define), import("./CasinoProviders-DFBzCCvk.js").then(({ default: t }) => {
3822
+ customElements.define = e(customElements.define), import("./CasinoProviders-DRdrnzmh.js").then(({ default: t }) => {
3823
3823
  !customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
3824
3824
  });
3825
3825
  }
@@ -4239,35 +4239,35 @@ class ii extends ir {
4239
4239
  }
4240
4240
  nr(ii, { endpointcategories: {}, datasourcecategories: {}, activecategory: {}, endpointproviders: {}, datasourceproviders: {}, excludedflags: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4241
4241
  export {
4242
- J as $,
4243
- Yn as A,
4244
- ai as B,
4242
+ Zn as $,
4243
+ si as A,
4244
+ le as B,
4245
4245
  ii as C,
4246
4246
  ir as S,
4247
- It as a,
4248
- Gt as b,
4249
- nr as c,
4250
- Ge as d,
4251
- ft as e,
4252
- P as f,
4253
- C as g,
4254
- Dt as h,
4255
- rr as i,
4256
- Ae as j,
4257
- N as k,
4258
- ui as l,
4259
- oi as m,
4260
- I as n,
4261
- zt as o,
4262
- ze as p,
4263
- A as q,
4264
- ye as r,
4265
- lt as s,
4266
- le as t,
4267
- si as u,
4268
- _ as v,
4269
- Xe as w,
4270
- Zn as x,
4271
- qn as y,
4272
- Jn as z
4247
+ J as a,
4248
+ It as b,
4249
+ A as c,
4250
+ Gt as d,
4251
+ N as e,
4252
+ Ae as f,
4253
+ Dt as g,
4254
+ nr as h,
4255
+ oi as i,
4256
+ Ge as j,
4257
+ C as k,
4258
+ ai as l,
4259
+ ui as m,
4260
+ P as n,
4261
+ rr as o,
4262
+ ft as p,
4263
+ Xe as q,
4264
+ I as r,
4265
+ zt as s,
4266
+ lt as t,
4267
+ qn as u,
4268
+ Jn as v,
4269
+ Yn as w,
4270
+ _ as x,
4271
+ ze as y,
4272
+ ye as z
4273
4273
  };
@@ -1,4 +1,4 @@
1
- import { a as Q, $ as W, S as X, i as Y, s as Z, f as M, b as $, n as I, d as O, c as L, e as S, j as v, g as ee, h as te, m as A, p as c, t as z, k as N, l as q, q as C, B as re, r as V, v as J, w as ie, x as le, y as se, z as oe, A as ae } from "./CasinoCategoriesProviders-fBIPFHNV.js";
1
+ import { b as Q, a as W, S as X, o as Y, t as Z, n as N, d as $, r as I, j as O, p as L, k as S, e as v, g as ee, f as te, y as A, c, B as z, m as V, i as q, z as C, l as re, A as x, q as J, u as ie, v as le, w as se, h as oe, $ as ae } from "./CasinoCategoriesProviders-CuCjd6NO.js";
2
2
  const R = {
3
3
  en: {
4
4
  popularProviders: "Popular Suppliers",
@@ -133,13 +133,13 @@ function de(t) {
133
133
  ), a, o, u, n, P = (
134
134
  /*$_*/
135
135
  t[4]("otherProviders") + ""
136
- ), h, _, b, m = N(
136
+ ), h, _, b, m = V(
137
137
  /*topProviders*/
138
138
  t[1]
139
139
  ), d = [];
140
140
  for (let r = 0; r < m.length; r += 1)
141
141
  d[r] = D(G(t, m, r));
142
- let f = N(
142
+ let f = V(
143
143
  /*otherProviders*/
144
144
  t[2]
145
145
  ), g = [];
@@ -169,7 +169,7 @@ function de(t) {
169
169
  16 && i !== (i = /*$_*/
170
170
  r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
171
171
  50) {
172
- m = N(
172
+ m = V(
173
173
  /*topProviders*/
174
174
  r[1]
175
175
  );
@@ -186,7 +186,7 @@ function de(t) {
186
186
  16 && P !== (P = /*$_*/
187
187
  r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
188
188
  52) {
189
- f = N(
189
+ f = V(
190
190
  /*otherProviders*/
191
191
  r[2]
192
192
  );
@@ -238,7 +238,7 @@ function D(t) {
238
238
  /*$_*/
239
239
  t[4]("games") + ""
240
240
  ), p, l, w;
241
- function x() {
241
+ function E() {
242
242
  return (
243
243
  /*click_handler*/
244
244
  t[13](
@@ -249,16 +249,16 @@ function D(t) {
249
249
  }
250
250
  return {
251
251
  c() {
252
- 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), V(i.src, a = /*provider*/
252
+ 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*/
253
253
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
254
254
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
255
255
  },
256
256
  m(j, y) {
257
- L(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
+ L(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);
258
258
  },
259
259
  p(j, y) {
260
260
  t = j, y & /*topProviders*/
261
- 2 && !V(i.src, a = /*provider*/
261
+ 2 && !x(i.src, a = /*provider*/
262
262
  t[21].logo) && v(i, "src", a), y & /*topProviders*/
263
263
  2 && o !== (o = /*provider*/
264
264
  t[21].name) && v(i, "alt", o), y & /*topProviders*/
@@ -284,7 +284,7 @@ function H(t) {
284
284
  ), f, g, r = (
285
285
  /*$_*/
286
286
  t[4]("games") + ""
287
- ), p, l, w, x;
287
+ ), p, l, w, E;
288
288
  function j() {
289
289
  return (
290
290
  /*click_handler_1*/
@@ -296,16 +296,16 @@ function H(t) {
296
296
  }
297
297
  return {
298
298
  c() {
299
- 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(), V(i.src, a = /*provider*/
299
+ 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*/
300
300
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
301
301
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
302
302
  },
303
303
  m(y, F) {
304
- L(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
+ L(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);
305
305
  },
306
306
  p(y, F) {
307
307
  t = y, F & /*otherProviders*/
308
- 4 && !V(i.src, a = /*provider*/
308
+ 4 && !x(i.src, a = /*provider*/
309
309
  t[21].logo) && v(i, "src", a), F & /*otherProviders*/
310
310
  4 && o !== (o = /*provider*/
311
311
  t[21].name) && v(i, "alt", o), F & /*otherProviders*/
@@ -317,7 +317,7 @@ function H(t) {
317
317
  t[4]("games") + "") && A(p, r);
318
318
  },
319
319
  d(y) {
320
- y && O(e), w = !1, x();
320
+ y && O(e), w = !1, E();
321
321
  }
322
322
  };
323
323
  }
@@ -353,8 +353,8 @@ function ce(t, e, i) {
353
353
  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;
354
354
  const l = () => {
355
355
  fetch(_).then((k) => k.json()).then((k) => {
356
- Object.keys(k).forEach((E) => {
357
- U(E, k[E]);
356
+ Object.keys(k).forEach((M) => {
357
+ U(M, k[M]);
358
358
  });
359
359
  }).catch((k) => {
360
360
  console.log(k);
@@ -368,22 +368,22 @@ function ce(t, e, i) {
368
368
  const s = new URL(`${o}/v1/casino/vendors`);
369
369
  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) => {
370
370
  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));
371
- let E = [];
372
- E = m.flatMap((T) => T.subVendors), f.push(...E.filter((T) => T.games.count > 0));
371
+ let M = [];
372
+ M = m.flatMap((T) => T.subVendors), f.push(...M.filter((T) => T.games.count > 0));
373
373
  });
374
- }, x = (s, k, E) => {
374
+ }, E = (s, k, M) => {
375
375
  window.postMessage(
376
376
  {
377
377
  type: "OpenGameProvider",
378
378
  providerId: s,
379
379
  providerName: k,
380
- providerLogo: E
380
+ providerLogo: M
381
381
  },
382
382
  window.location.href
383
383
  );
384
384
  }, j = () => {
385
385
  ne(n);
386
- }, y = (s) => x(s.id, s.name, s.logo), F = (s) => x(s.id, s.name, s.logo);
386
+ }, y = (s) => E(s.id, s.name, s.logo), F = (s) => E(s.id, s.name, s.logo);
387
387
  function K(s) {
388
388
  te[s ? "unshift" : "push"](() => {
389
389
  r = s, i(0, r);
@@ -405,7 +405,7 @@ function ce(t, e, i) {
405
405
  f,
406
406
  g,
407
407
  a,
408
- x,
408
+ E,
409
409
  o,
410
410
  u,
411
411
  n,
@@ -442,43 +442,43 @@ class me extends X {
442
442
  return this.$$.ctx[6];
443
443
  }
444
444
  set endpoint(e) {
445
- this.$$set({ endpoint: e }), M();
445
+ this.$$set({ endpoint: e }), N();
446
446
  }
447
447
  get datasource() {
448
448
  return this.$$.ctx[7];
449
449
  }
450
450
  set datasource(e) {
451
- this.$$set({ datasource: e }), M();
451
+ this.$$set({ datasource: e }), N();
452
452
  }
453
453
  get lang() {
454
454
  return this.$$.ctx[8];
455
455
  }
456
456
  set lang(e) {
457
- this.$$set({ lang: e }), M();
457
+ this.$$set({ lang: e }), N();
458
458
  }
459
459
  get clientstyling() {
460
460
  return this.$$.ctx[9];
461
461
  }
462
462
  set clientstyling(e) {
463
- this.$$set({ clientstyling: e }), M();
463
+ this.$$set({ clientstyling: e }), N();
464
464
  }
465
465
  get clientstylingurl() {
466
466
  return this.$$.ctx[10];
467
467
  }
468
468
  set clientstylingurl(e) {
469
- this.$$set({ clientstylingurl: e }), M();
469
+ this.$$set({ clientstylingurl: e }), N();
470
470
  }
471
471
  get translationurl() {
472
472
  return this.$$.ctx[11];
473
473
  }
474
474
  set translationurl(e) {
475
- this.$$set({ translationurl: e }), M();
475
+ this.$$set({ translationurl: e }), N();
476
476
  }
477
477
  get mbsource() {
478
478
  return this.$$.ctx[12];
479
479
  }
480
480
  set mbsource(e) {
481
- this.$$set({ mbsource: e }), M();
481
+ this.$$set({ mbsource: e }), N();
482
482
  }
483
483
  }
484
484
  oe(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
@@ -1,4 +1,4 @@
1
- import { a as Q, $ as W, S as X, i as Y, s as Z, f as M, b as $, n as I, d as O, e as L, g as S, k as v, h as ee, j as te, p as A, q as c, t as z, l as N, m as q, r as C, B as re, u as V, w as J, y as ie, z as le, A as se, c as oe, x as ae } from "./CasinoCategoriesProviders-CrOt4e-U.js";
1
+ import { b as Q, a as W, S as X, o as Y, t as Z, n as N, d as $, r as I, j as O, p as L, k as S, e as v, g as ee, f as te, y as A, c, B as z, m as V, i as q, z as C, l as re, A as x, q as J, u as ie, v as le, w as se, h as oe, $ as ae } from "./CasinoCategoriesProviders-D3kwecqy.js";
2
2
  const R = {
3
3
  en: {
4
4
  popularProviders: "Popular Suppliers",
@@ -133,13 +133,13 @@ function de(t) {
133
133
  ), a, o, u, n, P = (
134
134
  /*$_*/
135
135
  t[4]("otherProviders") + ""
136
- ), h, _, b, m = N(
136
+ ), h, _, b, m = V(
137
137
  /*topProviders*/
138
138
  t[1]
139
139
  ), d = [];
140
140
  for (let r = 0; r < m.length; r += 1)
141
141
  d[r] = D(G(t, m, r));
142
- let f = N(
142
+ let f = V(
143
143
  /*otherProviders*/
144
144
  t[2]
145
145
  ), g = [];
@@ -169,7 +169,7 @@ function de(t) {
169
169
  16 && i !== (i = /*$_*/
170
170
  r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
171
171
  50) {
172
- m = N(
172
+ m = V(
173
173
  /*topProviders*/
174
174
  r[1]
175
175
  );
@@ -186,7 +186,7 @@ function de(t) {
186
186
  16 && P !== (P = /*$_*/
187
187
  r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
188
188
  52) {
189
- f = N(
189
+ f = V(
190
190
  /*otherProviders*/
191
191
  r[2]
192
192
  );
@@ -238,7 +238,7 @@ function D(t) {
238
238
  /*$_*/
239
239
  t[4]("games") + ""
240
240
  ), p, l, w;
241
- function x() {
241
+ function E() {
242
242
  return (
243
243
  /*click_handler*/
244
244
  t[13](
@@ -249,16 +249,16 @@ function D(t) {
249
249
  }
250
250
  return {
251
251
  c() {
252
- 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), V(i.src, a = /*provider*/
252
+ 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*/
253
253
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
254
254
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
255
255
  },
256
256
  m(j, y) {
257
- L(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
+ L(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);
258
258
  },
259
259
  p(j, y) {
260
260
  t = j, y & /*topProviders*/
261
- 2 && !V(i.src, a = /*provider*/
261
+ 2 && !x(i.src, a = /*provider*/
262
262
  t[21].logo) && v(i, "src", a), y & /*topProviders*/
263
263
  2 && o !== (o = /*provider*/
264
264
  t[21].name) && v(i, "alt", o), y & /*topProviders*/
@@ -284,7 +284,7 @@ function H(t) {
284
284
  ), f, g, r = (
285
285
  /*$_*/
286
286
  t[4]("games") + ""
287
- ), p, l, w, x;
287
+ ), p, l, w, E;
288
288
  function j() {
289
289
  return (
290
290
  /*click_handler_1*/
@@ -296,16 +296,16 @@ function H(t) {
296
296
  }
297
297
  return {
298
298
  c() {
299
- 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(), V(i.src, a = /*provider*/
299
+ 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*/
300
300
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
301
301
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
302
302
  },
303
303
  m(y, F) {
304
- L(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
+ L(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);
305
305
  },
306
306
  p(y, F) {
307
307
  t = y, F & /*otherProviders*/
308
- 4 && !V(i.src, a = /*provider*/
308
+ 4 && !x(i.src, a = /*provider*/
309
309
  t[21].logo) && v(i, "src", a), F & /*otherProviders*/
310
310
  4 && o !== (o = /*provider*/
311
311
  t[21].name) && v(i, "alt", o), F & /*otherProviders*/
@@ -317,7 +317,7 @@ function H(t) {
317
317
  t[4]("games") + "") && A(p, r);
318
318
  },
319
319
  d(y) {
320
- y && O(e), w = !1, x();
320
+ y && O(e), w = !1, E();
321
321
  }
322
322
  };
323
323
  }
@@ -353,8 +353,8 @@ function ce(t, e, i) {
353
353
  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;
354
354
  const l = () => {
355
355
  fetch(_).then((k) => k.json()).then((k) => {
356
- Object.keys(k).forEach((E) => {
357
- U(E, k[E]);
356
+ Object.keys(k).forEach((M) => {
357
+ U(M, k[M]);
358
358
  });
359
359
  }).catch((k) => {
360
360
  console.log(k);
@@ -368,22 +368,22 @@ function ce(t, e, i) {
368
368
  const s = new URL(`${o}/v1/casino/vendors`);
369
369
  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) => {
370
370
  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));
371
- let E = [];
372
- E = m.flatMap((T) => T.subVendors), f.push(...E.filter((T) => T.games.count > 0));
371
+ let M = [];
372
+ M = m.flatMap((T) => T.subVendors), f.push(...M.filter((T) => T.games.count > 0));
373
373
  });
374
- }, x = (s, k, E) => {
374
+ }, E = (s, k, M) => {
375
375
  window.postMessage(
376
376
  {
377
377
  type: "OpenGameProvider",
378
378
  providerId: s,
379
379
  providerName: k,
380
- providerLogo: E
380
+ providerLogo: M
381
381
  },
382
382
  window.location.href
383
383
  );
384
384
  }, j = () => {
385
385
  ne(n);
386
- }, y = (s) => x(s.id, s.name, s.logo), F = (s) => x(s.id, s.name, s.logo);
386
+ }, y = (s) => E(s.id, s.name, s.logo), F = (s) => E(s.id, s.name, s.logo);
387
387
  function K(s) {
388
388
  te[s ? "unshift" : "push"](() => {
389
389
  r = s, i(0, r);
@@ -405,7 +405,7 @@ function ce(t, e, i) {
405
405
  f,
406
406
  g,
407
407
  a,
408
- x,
408
+ E,
409
409
  o,
410
410
  u,
411
411
  n,
@@ -442,43 +442,43 @@ class me extends X {
442
442
  return this.$$.ctx[6];
443
443
  }
444
444
  set endpoint(e) {
445
- this.$$set({ endpoint: e }), M();
445
+ this.$$set({ endpoint: e }), N();
446
446
  }
447
447
  get datasource() {
448
448
  return this.$$.ctx[7];
449
449
  }
450
450
  set datasource(e) {
451
- this.$$set({ datasource: e }), M();
451
+ this.$$set({ datasource: e }), N();
452
452
  }
453
453
  get lang() {
454
454
  return this.$$.ctx[8];
455
455
  }
456
456
  set lang(e) {
457
- this.$$set({ lang: e }), M();
457
+ this.$$set({ lang: e }), N();
458
458
  }
459
459
  get clientstyling() {
460
460
  return this.$$.ctx[9];
461
461
  }
462
462
  set clientstyling(e) {
463
- this.$$set({ clientstyling: e }), M();
463
+ this.$$set({ clientstyling: e }), N();
464
464
  }
465
465
  get clientstylingurl() {
466
466
  return this.$$.ctx[10];
467
467
  }
468
468
  set clientstylingurl(e) {
469
- this.$$set({ clientstylingurl: e }), M();
469
+ this.$$set({ clientstylingurl: e }), N();
470
470
  }
471
471
  get translationurl() {
472
472
  return this.$$.ctx[11];
473
473
  }
474
474
  set translationurl(e) {
475
- this.$$set({ translationurl: e }), M();
475
+ this.$$set({ translationurl: e }), N();
476
476
  }
477
477
  get mbsource() {
478
478
  return this.$$.ctx[12];
479
479
  }
480
480
  set mbsource(e) {
481
- this.$$set({ mbsource: e }), M();
481
+ this.$$set({ mbsource: e }), N();
482
482
  }
483
483
  }
484
484
  oe(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoCategoriesProviders-fBIPFHNV.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoCategoriesProviders-CuCjd6NO.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoCategoriesProviders-CrOt4e-U.js";
1
+ import { C as n } from "../components/CasinoCategoriesProviders-D3kwecqy.js";
2
2
  function i(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-categories-providers",
3
- "version": "1.94.4",
3
+ "version": "1.94.6",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-categories-providers.cjs",
6
6
  "module": "esnext/casino-categories-providers.js",