@everymatrix/casino-categories-providers 1.86.2 → 1.86.3

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 (29) hide show
  1. package/components/CasinoCategories-CrPzHMxl.cjs +16 -0
  2. package/components/{CasinoCategories-DhMD53wI.js → CasinoCategories-DCAySW6_.js} +566 -570
  3. package/components/{CasinoCategories-CT9K9KfS.js → CasinoCategories-QwX6nOv0.js} +558 -562
  4. package/components/{CasinoCategoriesProviders-DBRRnd30.cjs → CasinoCategoriesProviders-Btg87Wr3.cjs} +1 -1
  5. package/components/{CasinoCategoriesProviders-CyDccbmP.js → CasinoCategoriesProviders-DUd6zlz1.js} +15 -15
  6. package/components/{CasinoCategoriesProviders-D6Sm0rlt.js → CasinoCategoriesProviders-Drsm16rO.js} +17 -17
  7. package/components/{CasinoProviders-BTGbC_k5.js → CasinoProviders-B17kw4bF.js} +36 -36
  8. package/components/{CasinoProviders-CkMeINEO.js → CasinoProviders-CmmyH9sU.js} +36 -36
  9. package/components/{CasinoProviders-X-basL9D.cjs → CasinoProviders-DbIy6v7a.cjs} +1 -1
  10. package/es2015/casino-categories-providers.cjs +1 -1
  11. package/es2015/casino-categories-providers.js +1 -1
  12. package/esnext/casino-categories-providers.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  15. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  16. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  17. package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
  18. package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  20. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  21. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  22. package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
  23. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  24. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  25. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  26. package/components/CasinoCategories-HwnxesgF.cjs +0 -3
  27. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  28. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  29. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as K, $ as Q, S as W, i as X, s as Y, f as E, b as Z, n as I, d as O, j as C, m as S, g as v, p as $, u as ee, e as A, k as c, t as z, z as N, A as R, o as L, B as te, C as V, l as J, w as re, x as ie, y as le, c as se, v as oe } from "./CasinoCategories-CT9K9KfS.js";
1
+ import { a as K, $ as Q, S as W, i as X, f as E, c as Y, s as Z, b as $, e as S, g as v, j as O, n as I, o as C, p as ee, u as te, v as re, w as ie, x as le, z as N, t as A, d as L, A as se, k as c, m as z, B as R, C as V, l as J, y as oe } from "./CasinoCategories-DCAySW6_.js";
2
2
  const U = {
3
3
  en: {
4
4
  popularProviders: "Popular Suppliers",
@@ -116,7 +116,7 @@ function ae(t) {
116
116
  Q.set(t);
117
117
  }
118
118
  function ne(t) {
119
- Z(t, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
119
+ $(t, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
120
120
  }
121
121
  function B(t, e, i) {
122
122
  const a = t.slice();
@@ -147,27 +147,27 @@ function ue(t) {
147
147
  g[r] = H(B(t, f, r));
148
148
  return {
149
149
  c() {
150
- e = S("h4"), a = z(i), o = L();
150
+ e = S("h4"), a = A(i), o = L();
151
151
  for (let r = 0; r < d.length; r += 1)
152
152
  d[r].c();
153
- u = L(), n = S("h4"), h = z(P), _ = L();
153
+ u = L(), n = S("h4"), h = A(P), _ = L();
154
154
  for (let r = 0; r < g.length; r += 1)
155
155
  g[r].c();
156
- b = te(), v(e, "class", "ProviderTitle"), v(n, "class", "ProviderTitle");
156
+ b = se(), v(e, "class", "ProviderTitle"), v(n, "class", "ProviderTitle");
157
157
  },
158
158
  m(r, p) {
159
- C(r, e, p), c(e, a), C(r, o, p);
159
+ O(r, e, p), c(e, a), O(r, o, p);
160
160
  for (let l = 0; l < d.length; l += 1)
161
161
  d[l] && d[l].m(r, p);
162
- C(r, u, p), C(r, n, p), c(n, h), C(r, _, p);
162
+ O(r, u, p), O(r, n, p), c(n, h), O(r, _, p);
163
163
  for (let l = 0; l < g.length; l += 1)
164
164
  g[l] && g[l].m(r, p);
165
- C(r, b, p);
165
+ O(r, b, p);
166
166
  },
167
167
  p(r, p) {
168
168
  if (p & /*$_*/
169
169
  16 && i !== (i = /*$_*/
170
- r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
170
+ r[4]("popularProviders") + "") && z(a, i), p & /*openGameProviderPage, topProviders, $_*/
171
171
  50) {
172
172
  m = N(
173
173
  /*topProviders*/
@@ -184,7 +184,7 @@ function ue(t) {
184
184
  }
185
185
  if (p & /*$_*/
186
186
  16 && P !== (P = /*$_*/
187
- r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
187
+ r[4]("otherProviders") + "") && z(h, P), p & /*openGameProviderPage, otherProviders, $_*/
188
188
  52) {
189
189
  f = N(
190
190
  /*otherProviders*/
@@ -201,7 +201,7 @@ function ue(t) {
201
201
  }
202
202
  },
203
203
  d(r) {
204
- r && (O(e), O(o), O(u), O(n), O(_), O(b)), R(d, r), R(g, r);
204
+ r && (C(e), C(o), C(u), C(n), C(_), C(b)), R(d, r), R(g, r);
205
205
  }
206
206
  };
207
207
  }
@@ -212,18 +212,18 @@ function de(t) {
212
212
  ), a;
213
213
  return {
214
214
  c() {
215
- e = S("p"), a = z(i), v(e, "class", "Message");
215
+ e = S("p"), a = A(i), v(e, "class", "Message");
216
216
  },
217
217
  m(o, u) {
218
- C(o, e, u), c(e, a);
218
+ O(o, e, u), c(e, a);
219
219
  },
220
220
  p(o, u) {
221
221
  u & /*$_*/
222
222
  16 && i !== (i = /*$_*/
223
- o[4]("loading") + "") && A(a, i);
223
+ o[4]("loading") + "") && z(a, i);
224
224
  },
225
225
  d(o) {
226
- o && O(e);
226
+ o && C(e);
227
227
  }
228
228
  };
229
229
  }
@@ -249,12 +249,12 @@ function D(t) {
249
249
  }
250
250
  return {
251
251
  c() {
252
- 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*/
252
+ e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = A(h), b = L(), m = S("p"), f = A(d), g = L(), p = A(r), V(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, w) {
257
- C(j, e, w), 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 || (y = J(e, "click", M), l = !0);
257
+ O(j, e, w), 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 || (y = J(e, "click", M), l = !0);
258
258
  },
259
259
  p(j, w) {
260
260
  t = j, w & /*topProviders*/
@@ -263,14 +263,14 @@ function D(t) {
263
263
  2 && o !== (o = /*provider*/
264
264
  t[21].name) && v(i, "alt", o), w & /*topProviders*/
265
265
  2 && h !== (h = /*provider*/
266
- t[21].name + "") && A(_, h), w & /*topProviders*/
266
+ t[21].name + "") && z(_, h), w & /*topProviders*/
267
267
  2 && d !== (d = /*provider*/
268
- t[21].games.count + "") && A(f, d), w & /*$_*/
268
+ t[21].games.count + "") && z(f, d), w & /*$_*/
269
269
  16 && r !== (r = /*$_*/
270
- t[4]("games") + "") && A(p, r);
270
+ t[4]("games") + "") && z(p, r);
271
271
  },
272
272
  d(j) {
273
- j && O(e), l = !1, y();
273
+ j && C(e), l = !1, y();
274
274
  }
275
275
  };
276
276
  }
@@ -296,12 +296,12 @@ function H(t) {
296
296
  }
297
297
  return {
298
298
  c() {
299
- 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*/
299
+ e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = A(h), b = L(), m = S("p"), f = A(d), g = L(), p = A(r), l = L(), V(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(w, F) {
304
- C(w, 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), y || (M = J(e, "click", j), y = !0);
304
+ O(w, 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), y || (M = J(e, "click", j), y = !0);
305
305
  },
306
306
  p(w, F) {
307
307
  t = w, F & /*otherProviders*/
@@ -310,14 +310,14 @@ function H(t) {
310
310
  4 && o !== (o = /*provider*/
311
311
  t[21].name) && v(i, "alt", o), F & /*otherProviders*/
312
312
  4 && h !== (h = /*provider*/
313
- t[21].name + "") && A(_, h), F & /*otherProviders*/
313
+ t[21].name + "") && z(_, h), F & /*otherProviders*/
314
314
  4 && d !== (d = /*provider*/
315
- t[21].games.count + "") && A(f, d), F & /*$_*/
315
+ t[21].games.count + "") && z(f, d), F & /*$_*/
316
316
  16 && r !== (r = /*$_*/
317
- t[4]("games") + "") && A(p, r);
317
+ t[4]("games") + "") && z(p, r);
318
318
  },
319
319
  d(w) {
320
- w && O(e), y = !1, M();
320
+ w && C(e), y = !1, M();
321
321
  }
322
322
  };
323
323
  }
@@ -335,7 +335,7 @@ function ge(t) {
335
335
  e = S("div"), o.c(), v(e, "class", "CasinoProviders");
336
336
  },
337
337
  m(u, n) {
338
- C(u, e, n), o.m(e, null), t[15](e);
338
+ O(u, e, n), o.m(e, null), t[15](e);
339
339
  },
340
340
  p(u, [n]) {
341
341
  a === (a = i(u)) && o ? o.p(u, n) : (o.d(1), o = a(u), o && (o.c(), o.m(e, null)));
@@ -343,13 +343,13 @@ function ge(t) {
343
343
  i: I,
344
344
  o: I,
345
345
  d(u) {
346
- u && O(e), o.d(), t[15](null);
346
+ u && C(e), o.d(), t[15](null);
347
347
  }
348
348
  };
349
349
  }
350
350
  function pe(t, e, i) {
351
351
  let a;
352
- $(t, oe, (s) => i(4, a = s));
352
+ ee(t, oe, (s) => i(4, a = s));
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;
354
354
  const p = () => {
355
355
  fetch(_).then((k) => k.json()).then((k) => {
@@ -385,7 +385,7 @@ function pe(t, e, i) {
385
385
  ae(n);
386
386
  }, j = (s) => y(s.id, s.name, s.logo), w = (s) => y(s.id, s.name, s.logo);
387
387
  function F(s) {
388
- ee[s ? "unshift" : "push"](() => {
388
+ re[s ? "unshift" : "push"](() => {
389
389
  r = s, i(0, r);
390
390
  });
391
391
  }
@@ -396,9 +396,9 @@ function pe(t, e, i) {
396
396
  448 && o && n && u && l(), t.$$.dirty & /*lang*/
397
397
  256 && n && M(), t.$$.dirty & /*translationurl*/
398
398
  2048 && _ && p(), t.$$.dirty & /*clientstyling, customStylingContainer*/
399
- 513 && P && r && re(r, P), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
400
- 1025 && h && r && ie(r, h), t.$$.dirty & /*mbsource, customStylingContainer*/
401
- 4097 && b && r && le(r, `${b}.Style`);
399
+ 513 && P && r && ie(r, P), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
400
+ 1025 && h && r && le(r, h), t.$$.dirty & /*mbsource, customStylingContainer*/
401
+ 4097 && b && r && te(r, `${b}.Style`);
402
402
  }, [
403
403
  r,
404
404
  d,
@@ -425,7 +425,7 @@ class ce extends W {
425
425
  e,
426
426
  pe,
427
427
  ge,
428
- Y,
428
+ Z,
429
429
  {
430
430
  endpoint: 6,
431
431
  datasource: 7,
@@ -481,7 +481,7 @@ class ce extends W {
481
481
  this.$$set({ mbsource: e }), E();
482
482
  }
483
483
  }
484
- se(ce, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
484
+ Y(ce, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
485
485
  export {
486
486
  ce as default
487
487
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCategories-HwnxesgF.cjs"),T={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"}};function j(r,t){e.addMessages(r,t)}function z(r){e.$locale.set(r)}function E(r){e.append_styles(r,"svelte-1bsli1q","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}")}function F(r,t,l){const o=r.slice();return o[21]=t[l],o}function x(r,t,l){const o=r.slice();return o[21]=t[l],o}function N(r){let t,l=r[4]("popularProviders")+"",o,n,p,d,v=r[4]("otherProviders")+"",m,_,P,h=e.ensure_array_like(r[1]),u=[];for(let a=0;a<h.length;a+=1)u[a]=A(x(r,h,a));let f=e.ensure_array_like(r[2]),c=[];for(let a=0;a<f.length;a+=1)c[a]=q(F(r,f,a));return{c(){t=e.element("h4"),o=e.text(l),n=e.space();for(let a=0;a<u.length;a+=1)u[a].c();p=e.space(),d=e.element("h4"),m=e.text(v),_=e.space();for(let a=0;a<c.length;a+=1)c[a].c();P=e.empty(),e.attr(t,"class","ProviderTitle"),e.attr(d,"class","ProviderTitle")},m(a,g){e.insert(a,t,g),e.append(t,o),e.insert(a,n,g);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(a,g);e.insert(a,p,g),e.insert(a,d,g),e.append(d,m),e.insert(a,_,g);for(let i=0;i<c.length;i+=1)c[i]&&c[i].m(a,g);e.insert(a,P,g)},p(a,g){if(g&16&&l!==(l=a[4]("popularProviders")+"")&&e.set_data(o,l),g&50){h=e.ensure_array_like(a[1]);let i;for(i=0;i<h.length;i+=1){const b=x(a,h,i);u[i]?u[i].p(b,g):(u[i]=A(b),u[i].c(),u[i].m(p.parentNode,p))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}if(g&16&&v!==(v=a[4]("otherProviders")+"")&&e.set_data(m,v),g&52){f=e.ensure_array_like(a[2]);let i;for(i=0;i<f.length;i+=1){const b=F(a,f,i);c[i]?c[i].p(b,g):(c[i]=q(b),c[i].c(),c[i].m(P.parentNode,P))}for(;i<c.length;i+=1)c[i].d(1);c.length=f.length}},d(a){a&&(e.detach(t),e.detach(n),e.detach(p),e.detach(d),e.detach(_),e.detach(P)),e.destroy_each(u,a),e.destroy_each(c,a)}}}function V(r){let t,l=r[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(l),e.attr(t,"class","Message")},m(n,p){e.insert(n,t,p),e.append(t,o)},p(n,p){p&16&&l!==(l=n[4]("loading")+"")&&e.set_data(o,l)},d(n){n&&e.detach(t)}}}function A(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,b;function L(){return r[13](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(w,y){e.insert(w,t,y),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),i||(b=e.listen(t,"click",L),i=!0)},p(w,y){r=w,y&2&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),y&2&&n!==(n=r[21].name)&&e.attr(l,"alt",n),y&2&&m!==(m=r[21].name+"")&&e.set_data(_,m),y&2&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),y&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(w){w&&e.detach(t),i=!1,b()}}}function q(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,b,L;function w(){return r[14](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),i=e.space(),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(y,k){e.insert(y,t,k),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),e.append(t,i),b||(L=e.listen(t,"click",w),b=!0)},p(y,k){r=y,k&4&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),k&4&&n!==(n=r[21].name)&&e.attr(l,"alt",n),k&4&&m!==(m=r[21].name+"")&&e.set_data(_,m),k&4&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),k&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(y){y&&e.detach(t),b=!1,L()}}}function I(r){let t;function l(p,d){return p[3]===!0?V:N}let o=l(r),n=o(r);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","CasinoProviders")},m(p,d){e.insert(p,t,d),n.m(t,null),r[15](t)},p(p,[d]){o===(o=l(p))&&n?n.p(p,d):(n.d(1),n=o(p),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),n.d(),r[15](null)}}}function R(r,t,l){let o;e.component_subscribe(r,e.$format,s=>l(4,o=s));let{endpoint:n=""}=t,{datasource:p=""}=t,{lang:d="en"}=t,{clientstyling:v=""}=t,{clientstylingurl:m=""}=t,{translationurl:_=""}=t,{mbsource:P}=t,h=[],u=[],f=[],c=!1,a;const g=()=>{fetch(_).then(S=>S.json()).then(S=>{Object.keys(S).forEach(C=>{j(C,S[C])})}).catch(S=>{console.log(S)})};Object.keys(T).forEach(s=>{j(s,T[s])});const i=()=>{l(3,c=!0);const s=new URL(`${n}/v1/casino/vendors`);s.searchParams.append("datasource",p),s.searchParams.append("language",d),s.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(s).then(S=>S.json()).then(S=>{l(3,c=!1),h=S.items.map(O=>O),l(1,u=h.filter(O=>O.isTopVendor===!0)),l(2,f=h.filter(O=>O.isTopVendor===!1));let C=[];C=h.flatMap(O=>O.subVendors),f.push(...C.filter(O=>O.games.count>0))})},b=(s,S,C)=>{window.postMessage({type:"OpenGameProvider",providerId:s,providerName:S,providerLogo:C},window.location.href)},L=()=>{z(d)},w=s=>b(s.id,s.name,s.logo),y=s=>b(s.id,s.name,s.logo);function k(s){e.binding_callbacks[s?"unshift":"push"](()=>{a=s,l(0,a)})}return r.$$set=s=>{"endpoint"in s&&l(6,n=s.endpoint),"datasource"in s&&l(7,p=s.datasource),"lang"in s&&l(8,d=s.lang),"clientstyling"in s&&l(9,v=s.clientstyling),"clientstylingurl"in s&&l(10,m=s.clientstylingurl),"translationurl"in s&&l(11,_=s.translationurl),"mbsource"in s&&l(12,P=s.mbsource)},r.$$.update=()=>{r.$$.dirty&448&&n&&d&&p&&i(),r.$$.dirty&256&&d&&L(),r.$$.dirty&2048&&_&&g(),r.$$.dirty&513&&v&&a&&e.setClientStyling(a,v),r.$$.dirty&1025&&m&&a&&e.setClientStylingURL(a,m),r.$$.dirty&4097&&P&&a&&e.setStreamStyling(a,`${P}.Style`)},[a,u,f,c,o,b,n,p,d,v,m,_,P,w,y,k]}class M extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,I,e.safe_not_equal,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},E)}get endpoint(){return this.$$.ctx[6]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[7]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(M,{endpoint:{},datasource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCategories-CrPzHMxl.cjs"),T={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"}};function j(r,t){e.addMessages(r,t)}function z(r){e.$locale.set(r)}function E(r){e.append_styles(r,"svelte-1bsli1q","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}")}function F(r,t,l){const o=r.slice();return o[21]=t[l],o}function x(r,t,l){const o=r.slice();return o[21]=t[l],o}function N(r){let t,l=r[4]("popularProviders")+"",o,n,p,d,v=r[4]("otherProviders")+"",m,_,P,h=e.ensure_array_like(r[1]),u=[];for(let a=0;a<h.length;a+=1)u[a]=A(x(r,h,a));let f=e.ensure_array_like(r[2]),c=[];for(let a=0;a<f.length;a+=1)c[a]=q(F(r,f,a));return{c(){t=e.element("h4"),o=e.text(l),n=e.space();for(let a=0;a<u.length;a+=1)u[a].c();p=e.space(),d=e.element("h4"),m=e.text(v),_=e.space();for(let a=0;a<c.length;a+=1)c[a].c();P=e.empty(),e.attr(t,"class","ProviderTitle"),e.attr(d,"class","ProviderTitle")},m(a,g){e.insert(a,t,g),e.append(t,o),e.insert(a,n,g);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(a,g);e.insert(a,p,g),e.insert(a,d,g),e.append(d,m),e.insert(a,_,g);for(let i=0;i<c.length;i+=1)c[i]&&c[i].m(a,g);e.insert(a,P,g)},p(a,g){if(g&16&&l!==(l=a[4]("popularProviders")+"")&&e.set_data(o,l),g&50){h=e.ensure_array_like(a[1]);let i;for(i=0;i<h.length;i+=1){const b=x(a,h,i);u[i]?u[i].p(b,g):(u[i]=A(b),u[i].c(),u[i].m(p.parentNode,p))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}if(g&16&&v!==(v=a[4]("otherProviders")+"")&&e.set_data(m,v),g&52){f=e.ensure_array_like(a[2]);let i;for(i=0;i<f.length;i+=1){const b=F(a,f,i);c[i]?c[i].p(b,g):(c[i]=q(b),c[i].c(),c[i].m(P.parentNode,P))}for(;i<c.length;i+=1)c[i].d(1);c.length=f.length}},d(a){a&&(e.detach(t),e.detach(n),e.detach(p),e.detach(d),e.detach(_),e.detach(P)),e.destroy_each(u,a),e.destroy_each(c,a)}}}function V(r){let t,l=r[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(l),e.attr(t,"class","Message")},m(n,p){e.insert(n,t,p),e.append(t,o)},p(n,p){p&16&&l!==(l=n[4]("loading")+"")&&e.set_data(o,l)},d(n){n&&e.detach(t)}}}function A(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,b;function L(){return r[13](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(w,y){e.insert(w,t,y),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),i||(b=e.listen(t,"click",L),i=!0)},p(w,y){r=w,y&2&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),y&2&&n!==(n=r[21].name)&&e.attr(l,"alt",n),y&2&&m!==(m=r[21].name+"")&&e.set_data(_,m),y&2&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),y&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(w){w&&e.detach(t),i=!1,b()}}}function q(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,b,L;function w(){return r[14](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),i=e.space(),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(y,k){e.insert(y,t,k),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),e.append(t,i),b||(L=e.listen(t,"click",w),b=!0)},p(y,k){r=y,k&4&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),k&4&&n!==(n=r[21].name)&&e.attr(l,"alt",n),k&4&&m!==(m=r[21].name+"")&&e.set_data(_,m),k&4&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),k&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(y){y&&e.detach(t),b=!1,L()}}}function I(r){let t;function l(p,d){return p[3]===!0?V:N}let o=l(r),n=o(r);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","CasinoProviders")},m(p,d){e.insert(p,t,d),n.m(t,null),r[15](t)},p(p,[d]){o===(o=l(p))&&n?n.p(p,d):(n.d(1),n=o(p),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),n.d(),r[15](null)}}}function R(r,t,l){let o;e.component_subscribe(r,e.$format,s=>l(4,o=s));let{endpoint:n=""}=t,{datasource:p=""}=t,{lang:d="en"}=t,{clientstyling:v=""}=t,{clientstylingurl:m=""}=t,{translationurl:_=""}=t,{mbsource:P}=t,h=[],u=[],f=[],c=!1,a;const g=()=>{fetch(_).then(S=>S.json()).then(S=>{Object.keys(S).forEach(C=>{j(C,S[C])})}).catch(S=>{console.log(S)})};Object.keys(T).forEach(s=>{j(s,T[s])});const i=()=>{l(3,c=!0);const s=new URL(`${n}/v1/casino/vendors`);s.searchParams.append("datasource",p),s.searchParams.append("language",d),s.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(s).then(S=>S.json()).then(S=>{l(3,c=!1),h=S.items.map(O=>O),l(1,u=h.filter(O=>O.isTopVendor===!0)),l(2,f=h.filter(O=>O.isTopVendor===!1));let C=[];C=h.flatMap(O=>O.subVendors),f.push(...C.filter(O=>O.games.count>0))})},b=(s,S,C)=>{window.postMessage({type:"OpenGameProvider",providerId:s,providerName:S,providerLogo:C},window.location.href)},L=()=>{z(d)},w=s=>b(s.id,s.name,s.logo),y=s=>b(s.id,s.name,s.logo);function k(s){e.binding_callbacks[s?"unshift":"push"](()=>{a=s,l(0,a)})}return r.$$set=s=>{"endpoint"in s&&l(6,n=s.endpoint),"datasource"in s&&l(7,p=s.datasource),"lang"in s&&l(8,d=s.lang),"clientstyling"in s&&l(9,v=s.clientstyling),"clientstylingurl"in s&&l(10,m=s.clientstylingurl),"translationurl"in s&&l(11,_=s.translationurl),"mbsource"in s&&l(12,P=s.mbsource)},r.$$.update=()=>{r.$$.dirty&448&&n&&d&&p&&i(),r.$$.dirty&256&&d&&L(),r.$$.dirty&2048&&_&&g(),r.$$.dirty&513&&v&&a&&e.setClientStyling(a,v),r.$$.dirty&1025&&m&&a&&e.setClientStylingURL(a,m),r.$$.dirty&4097&&P&&a&&e.setStreamStyling(a,`${P}.Style`)},[a,u,f,c,o,b,n,p,d,v,m,_,P,w,y,k]}class M extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,I,e.safe_not_equal,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},E)}get endpoint(){return this.$$.ctx[6]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[7]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(M,{endpoint:{},datasource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=M;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CasinoCategoriesProviders-DBRRnd30.cjs")).then(({default:t})=>{!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CasinoCategoriesProviders-Btg87Wr3.cjs")).then(({default:t})=>{!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoCategoriesProviders-D6Sm0rlt.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoCategoriesProviders-Drsm16rO.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoCategoriesProviders-CyDccbmP.js";
1
+ import { C as n } from "../components/CasinoCategoriesProviders-DUd6zlz1.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.86.2",
3
+ "version": "1.86.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-categories-providers.cjs",
6
6
  "module": "esnext/casino-categories-providers.js",