@everymatrix/casino-tournaments-list-controller 1.64.8 → 1.65.1

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 (47) hide show
  1. package/components/{CasinoTournamentsListController-DgYOCdAE.js → CasinoTournamentsListController-BbMxlacs.js} +20 -20
  2. package/components/{CasinoTournamentsListController-CKVWCTHe.js → CasinoTournamentsListController-BmResUm1.js} +20 -20
  3. package/components/{CasinoTournamentsListController-2xNP--2R.cjs → CasinoTournamentsListController-QOpDP1gT.cjs} +1 -1
  4. package/components/{CasinoTournamentsThumbnail-Cyjq88eZ.js → CasinoTournamentsThumbnail-BLl6r3kP.js} +307 -263
  5. package/components/{CasinoTournamentsThumbnail-4vTjO88K.js → CasinoTournamentsThumbnail-BctgkfiG.js} +307 -263
  6. package/components/CasinoTournamentsThumbnail-GGpqWUUU.cjs +4 -0
  7. package/components/CasinoTournamentsThumbnailController-Bdh5qjnp.cjs +16 -0
  8. package/components/{CasinoTournamentsThumbnailController-B-K78r8i.js → CasinoTournamentsThumbnailController-LQRpg-1c.js} +641 -665
  9. package/components/{CasinoTournamentsThumbnailController-Dn9ff9n8.js → CasinoTournamentsThumbnailController-qtMqHOKR.js} +702 -726
  10. package/components/{CasinoTournamentsThumbnailDuration-DW8RWm_w.cjs → CasinoTournamentsThumbnailDuration-BEkKAuX-.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailDuration-D6G5AYpp.js → CasinoTournamentsThumbnailDuration-C5E3xPWt.js} +11 -11
  12. package/components/{CasinoTournamentsThumbnailDuration-DJ9HCvv7.js → CasinoTournamentsThumbnailDuration-CLG474CZ.js} +11 -11
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-CAMmFwFA.js → CasinoTournamentsThumbnailGamesSlider-BZPzU1n_.js} +38 -38
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-CYo-MU5o.cjs → CasinoTournamentsThumbnailGamesSlider-Cs5RTcj-.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-DQG8zErp.js → CasinoTournamentsThumbnailGamesSlider-gRsycWHT.js} +38 -38
  16. package/components/{CasinoTournamentsThumbnailPrizes-BYr_yhhF.cjs → CasinoTournamentsThumbnailPrizes-1UaFyOK_.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailPrizes-BgYHHAzr.js → CasinoTournamentsThumbnailPrizes-BGoHCct2.js} +20 -20
  18. package/components/{CasinoTournamentsThumbnailPrizes-kj9zdguu.js → CasinoTournamentsThumbnailPrizes-BRyr6n6l.js} +20 -20
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
  24. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
  25. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  26. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  27. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  28. package/stencil/index-b2193545-BOMvxBzV.js +519 -0
  29. package/stencil/index-b2193545-CFn9dM-v.js +503 -0
  30. package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
  31. package/stencil/ui-image-3hy4ZvUC.js +25 -0
  32. package/stencil/ui-image-D0wxuPze.js +7 -0
  33. package/stencil/ui-image-DE8MJHCZ.cjs +1 -0
  34. package/stencil/ui-image-b7b48fe5-Cf9Vq5pI.js +39 -0
  35. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  36. package/stencil/ui-image-b7b48fe5-V9vp4faA.js +39 -0
  37. package/stencil/ui-image_2-B56t6kXT.js +154 -0
  38. package/stencil/ui-image_2-BncuYpLi.js +154 -0
  39. package/stencil/ui-image_2-YkYxLKu7.cjs +73 -0
  40. package/stencil/ui-skeleton-1cb75d00-B-R8GbLJ.js +152 -0
  41. package/stencil/ui-skeleton-1cb75d00-BTnhspbc.cjs +73 -0
  42. package/stencil/ui-skeleton-1cb75d00-Dy30RNE6.js +152 -0
  43. package/stencil/ui-skeleton-CVBjRUvi.js +29 -0
  44. package/stencil/ui-skeleton-RkXNxPG1.js +11 -0
  45. package/stencil/ui-skeleton-se83zfWh.cjs +1 -0
  46. package/components/CasinoTournamentsThumbnail-BWkh0_lv.cjs +0 -4
  47. package/components/CasinoTournamentsThumbnailController-B5MR7Iux.cjs +0 -16
@@ -1,5 +1,5 @@
1
- import { a as be, S as ve, i as ke, s as Ne, f as M, b as Se, n as X, d as G, e as I, h as S, l as Te, o as Fe, C as J, D as Me, r as te, E as C, v as Y, g as v, F as Ee, q as L, j as z, k as c, G as Pe, u as D, c as Be, H as Z, t as Le, x as He, y as je } from "./CasinoTournamentsListController-CKVWCTHe.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-Dn9ff9n8.js";
1
+ import { a as be, S as ve, i as ke, s as Ne, f as M, b as Se, n as x, d as G, e as I, h as S, k as Te, o as Fe, D as J, E as Me, r as te, F as C, C as Y, g as v, G as Ee, u as L, j as z, c, H as Pe, m as D, l as Be, v as Z, t as Le, y as He, z as je } from "./CasinoTournamentsListController-BbMxlacs.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-LQRpg-1c.js";
3
3
  function K(e, l) {
4
4
  be(e, l);
5
5
  }
@@ -43,7 +43,7 @@ function V(e, l, t) {
43
43
  return a[50] = l[t], a[52] = t, a;
44
44
  }
45
45
  function $(e) {
46
- let l, t, a, d, m, p, y, r, w, _, f = J(
46
+ let l, t, a, m, d, p, y, r, w, _, f = J(
47
47
  /*games*/
48
48
  e[1]
49
49
  ), o = [];
@@ -51,7 +51,7 @@ function $(e) {
51
51
  o[s] = ee(V(e, f, s));
52
52
  return {
53
53
  c() {
54
- l = S("div"), t = S("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = z(), d = S("main"), m = S("div");
54
+ l = S("div"), t = S("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = z(), m = S("main"), d = S("div");
55
55
  for (let s = 0; s < o.length; s += 1)
56
56
  o[s].c();
57
57
  y = z(), r = S("div"), r.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), C(
@@ -59,10 +59,10 @@ function $(e) {
59
59
  "disabled",
60
60
  /*atStart*/
61
61
  e[8]
62
- ), c(m, "class", "items"), c(m, "part", "items"), Y(m, "transform", "translateX(" + /*offset*/
62
+ ), c(d, "class", "items"), c(d, "part", "items"), Y(d, "transform", "translateX(" + /*offset*/
63
63
  e[2] + "px)"), Pe(() => (
64
64
  /*main_elementresize_handler*/
65
- e[28].call(d)
65
+ e[28].call(m)
66
66
  )), c(r, "class", "SliderNavButton"), c(r, "part", "SliderNavButton"), C(
67
67
  r,
68
68
  "disabled",
@@ -71,13 +71,13 @@ function $(e) {
71
71
  ), c(l, "class", "TournamentsGamesSlider"), c(l, "part", "TournamentsGamesSlider");
72
72
  },
73
73
  m(s, b) {
74
- I(s, l, b), v(l, t), v(l, a), v(l, d), v(d, m);
74
+ I(s, l, b), v(l, t), v(l, a), v(l, m), v(m, d);
75
75
  for (let i = 0; i < o.length; i += 1)
76
- o[i] && o[i].m(m, null);
77
- e[27](m), p = Ee(
78
- d,
76
+ o[i] && o[i].m(d, null);
77
+ e[27](d), p = Ee(
78
+ m,
79
79
  /*main_elementresize_handler*/
80
- e[28].bind(d)
80
+ e[28].bind(m)
81
81
  ), v(l, y), v(l, r), e[30](l), w || (_ = [
82
82
  L(
83
83
  t,
@@ -109,14 +109,14 @@ function $(e) {
109
109
  let i;
110
110
  for (i = 0; i < f.length; i += 1) {
111
111
  const k = V(s, f, i);
112
- o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(m, null));
112
+ o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(d, null));
113
113
  }
114
114
  for (; i < o.length; i += 1)
115
115
  o[i].d(1);
116
116
  o.length = f.length;
117
117
  }
118
118
  b[0] & /*offset*/
119
- 4 && Y(m, "transform", "translateX(" + /*offset*/
119
+ 4 && Y(d, "transform", "translateX(" + /*offset*/
120
120
  s[2] + "px)"), b[0] & /*atEnd*/
121
121
  512 && C(
122
122
  r,
@@ -134,7 +134,7 @@ function ee(e) {
134
134
  let l, t, a = (
135
135
  /*$_*/
136
136
  e[10]("playNow") + ""
137
- ), d, m, p, y, r, w, _, f, o, s, b;
137
+ ), m, d, p, y, r, w, _, f, o, s, b;
138
138
  function i() {
139
139
  return (
140
140
  /*click_handler_1*/
@@ -155,7 +155,7 @@ function ee(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- l = S("div"), t = S("span"), d = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", m = "PlayNowButton " + /*hover*/
158
+ l = S("div"), t = S("span"), m = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", d = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[52] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -167,7 +167,7 @@ function ee(e) {
167
167
  e[50].name), c(l, "class", "item"), c(l, "part", "item");
168
168
  },
169
169
  m(u, h) {
170
- I(u, l, h), v(l, t), v(t, d), v(l, y), v(l, r), v(l, o), s || (b = [
170
+ I(u, l, h), v(l, t), v(t, m), v(l, y), v(l, r), v(l, o), s || (b = [
171
171
  L(l, "click", i),
172
172
  L(l, "mouseenter", k),
173
173
  L(
@@ -181,11 +181,11 @@ function ee(e) {
181
181
  p(u, h) {
182
182
  e = u, h[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && Be(d, a), h[0] & /*hover, hoverIndex*/
185
- 96 && m !== (m = "PlayNowButton " + /*hover*/
184
+ e[10]("playNow") + "") && Be(m, a), h[0] & /*hover, hoverIndex*/
185
+ 96 && d !== (d = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
188
- e[52] ? "itemHover" : "")) && c(t, "class", m), h[0] & /*hover, hoverIndex*/
188
+ e[52] ? "itemHover" : "")) && c(t, "class", d), h[0] & /*hover, hoverIndex*/
189
189
  96 && p !== (p = "PlayNowButton " + /*hover*/
190
190
  (e[5] && /*hoverIndex*/
191
191
  e[6] == /*i*/
@@ -212,16 +212,16 @@ function Ae(e) {
212
212
  c() {
213
213
  l = S("div"), t && t.c();
214
214
  },
215
- m(a, d) {
216
- I(a, l, d), t && t.m(l, null), e[31](l);
215
+ m(a, m) {
216
+ I(a, l, m), t && t.m(l, null), e[31](l);
217
217
  },
218
- p(a, d) {
218
+ p(a, m) {
219
219
  /*games*/
220
220
  a[1] && /*games*/
221
- a[1].length > 0 ? t ? t.p(a, d) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
221
+ a[1].length > 0 ? t ? t.p(a, m) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
222
222
  },
223
- i: X,
224
- o: X,
223
+ i: x,
224
+ o: x,
225
225
  d(a) {
226
226
  a && G(l), t && t.d(), e[31](null);
227
227
  }
@@ -229,8 +229,8 @@ function Ae(e) {
229
229
  }
230
230
  let Ue = 30;
231
231
  function De(e, l, t) {
232
- let a, d, m;
233
- Te(e, je, (n) => t(10, m = n));
232
+ let a, m, d;
233
+ Te(e, je, (n) => t(10, d = n));
234
234
  let { tournamenturl: p = "" } = l, { scrollby: y = "3" } = l, { pagfactor: r = "175" } = l, { lang: w = "" } = l, { translationurl: _ = "" } = l, { clientstyling: f = "" } = l, { clientstylingurl: o = "" } = l, s, b = window.navigator.userAgent, i, k = [], u = 0, h, H = null, j = null, A = !1, U, E, P = 0, T;
235
235
  const ne = () => {
236
236
  fetch(_).then((g) => g.json()).then((g) => {
@@ -248,17 +248,17 @@ function De(e, l, t) {
248
248
  t(5, A = !0), t(6, U = n);
249
249
  }, q = () => {
250
250
  t(5, A = !1), t(6, U = -1);
251
- }, le = (n) => n.touches || n.originalEvent.touches, x = (n) => {
251
+ }, le = (n) => n.touches || n.originalEvent.touches, O = (n) => {
252
252
  const g = le(n)[0];
253
253
  H = g.clientX, j = g.clientY;
254
- }, O = (n) => {
254
+ }, R = (n) => {
255
255
  if (!H || !j)
256
256
  return;
257
257
  let g = n.touches[0].clientX, N = n.touches[0].clientY, F = H - g, _e = j - N;
258
258
  Math.abs(F) > Math.abs(_e) && (F > 0 ? B(1) : B(-1)), H = null, j = null;
259
259
  }, B = (n) => {
260
- n > 0 && !d ? (t(2, u -= i), t(2, u = u < P ? P : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
261
- }, R = (n) => {
260
+ n > 0 && !m ? (t(2, u -= i), t(2, u = u < P ? P : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
261
+ }, X = (n) => {
262
262
  window.postMessage(
263
263
  {
264
264
  type: "TournamentGameAction",
@@ -274,7 +274,7 @@ function De(e, l, t) {
274
274
  t(1, k = F.item.games.items), F.item.games.total;
275
275
  });
276
276
  }, re = () => {
277
- h.addEventListener("touchstart", x, { passive: !0 }), h.addEventListener("touchmove", O, { passive: !0 });
277
+ h.addEventListener("touchstart", O, { passive: !0 }), h.addEventListener("touchmove", R, { passive: !0 });
278
278
  }, ae = () => {
279
279
  setTimeout(
280
280
  () => {
@@ -303,9 +303,9 @@ function De(e, l, t) {
303
303
  T > 0 && T < Math.floor((parseInt(y) + 1) * r) && t(15, y = Math.ceil(T / r).toString());
304
304
  };
305
305
  Fe(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
306
- h.removeEventListener("touchstart", x), h.removeEventListener("touchmove", O);
306
+ h.removeEventListener("touchstart", O), h.removeEventListener("touchmove", R);
307
307
  }));
308
- const ue = () => B(-1), de = (n) => R(n), me = (n) => W(n), he = () => q();
308
+ const ue = () => B(-1), me = (n) => X(n), de = (n) => W(n), he = () => q();
309
309
  function fe(n) {
310
310
  D[n ? "unshift" : "push"](() => {
311
311
  E = n, t(7, E);
@@ -330,7 +330,7 @@ function De(e, l, t) {
330
330
  }, e.$$.update = () => {
331
331
  e.$$.dirty[0] & /*offset*/
332
332
  4 && t(8, a = u === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
333
- 4194308 && t(9, d = u <= P), e.$$.dirty[0] & /*sliderMainWidth*/
333
+ 4194308 && t(9, m = u <= P), e.$$.dirty[0] & /*sliderMainWidth*/
334
334
  16 && T && ce(), e.$$.dirty[0] & /*tournamenturl*/
335
335
  131072 && p && se(), e.$$.dirty[0] & /*slider*/
336
336
  8 && h && re(), e.$$.dirty[0] & /*translationurl*/
@@ -348,12 +348,12 @@ function De(e, l, t) {
348
348
  U,
349
349
  E,
350
350
  a,
351
- d,
352
351
  m,
352
+ d,
353
353
  W,
354
354
  q,
355
355
  B,
356
- R,
356
+ X,
357
357
  y,
358
358
  r,
359
359
  p,
@@ -363,8 +363,8 @@ function De(e, l, t) {
363
363
  o,
364
364
  P,
365
365
  ue,
366
- de,
367
366
  me,
367
+ de,
368
368
  he,
369
369
  fe,
370
370
  ge,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-2xNP--2R.cjs");function y(r,t){e.addMessages(r,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function F(r){e.append_styles(r,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function v(r,t,n){const i=r.slice();return i[13]=t[n],i[15]=n,i}function T(r){let t,n=e.ensure_array_like(r[1]),i=[];for(let l=0;l<n.length;l+=1)i[l]=w(v(r,n,l));let a=null;return n.length||(a=b(r)),{c(){t=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(l,c){e.insert(l,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(l,c){if(c&6){n=e.ensure_array_like(l[1]);let s;for(s=0;s<n.length;s+=1){const u=v(l,n,s);i[s]?i[s].p(u,c):(i[s]=w(u),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(l,c):n.length?a&&(a.d(1),a=null):(a=b(l),a.c(),a.m(t,null))}},d(l){l&&e.detach(t),e.destroy_each(i,l),a&&a.d()}}}function b(r){let t,n=r[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,l){e.insert(a,t,l),e.append(t,i)},p(a,l){l&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(r){let t,n,i,a=(r[13].count>1?`${r[13].rank}~${r[13].rank+r[13].count-1}`:r[13].rank)+"",l,c,s=r[2]("place")+"",u,p,d=r[13].name+"",f,_;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),l=e.text(a),c=e.space(),u=e.text(s),p=e.text(": "),f=e.text(d),_=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+r[15]),e.attr(t,"part","Prize Prize"+r[15])},m(h,z){e.insert(h,t,z),e.append(t,n),e.append(n,i),e.append(i,l),e.append(n,c),e.append(n,u),e.append(n,p),e.append(n,f),e.append(t,_)},p(h,z){z&2&&a!==(a=(h[13].count>1?`${h[13].rank}~${h[13].rank+h[13].count-1}`:h[13].rank)+"")&&e.set_data(l,a),z&4&&s!==(s=h[2]("place")+"")&&e.set_data(u,s),z&2&&d!==(d=h[13].name+"")&&e.set_data(f,d)},d(h){h&&e.detach(t)}}}function M(r){let t,n,i,a,l,c=r[2]("prizes")+"",s,u,p=r[1]&&T(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),l=e.element("p"),s=e.text(c),u=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(l,"class","PrizesTitle"),e.attr(l,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(d,f){e.insert(d,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,l),e.append(l,s),e.append(t,u),p&&p.m(t,null),r[7](t)},p(d,[f]){f&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,f):(p=T(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),p&&p.d(),r[7](null)}}}function N(r,t,n){let i;e.component_subscribe(r,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,u,p;const d=()=>{fetch(s).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{y(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(o=>{y(o,P[o])});const f=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,p=o.data.prizes)},_=()=>{let o=document.createElement("style");o.innerHTML=l,u.appendChild(o)},h=()=>{let o=new URL(c),m=document.createElement("style");fetch(o.href).then(g=>g.text()).then(g=>{m.innerHTML=g,setTimeout(()=>{u.appendChild(m)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)}));function z(o){e.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}return r.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,l=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl)},r.$$.update=()=>{r.$$.dirty&17&&u&&l&&_(),r.$$.dirty&33&&u&&c&&h(),r.$$.dirty&64&&s&&d()},[u,p,i,a,l,c,s,z]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,M,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6},F)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-QOpDP1gT.cjs");function y(r,t){e.addMessages(r,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function F(r){e.append_styles(r,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function v(r,t,n){const i=r.slice();return i[13]=t[n],i[15]=n,i}function T(r){let t,n=e.ensure_array_like(r[1]),i=[];for(let l=0;l<n.length;l+=1)i[l]=w(v(r,n,l));let a=null;return n.length||(a=b(r)),{c(){t=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(l,c){e.insert(l,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(l,c){if(c&6){n=e.ensure_array_like(l[1]);let s;for(s=0;s<n.length;s+=1){const u=v(l,n,s);i[s]?i[s].p(u,c):(i[s]=w(u),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(l,c):n.length?a&&(a.d(1),a=null):(a=b(l),a.c(),a.m(t,null))}},d(l){l&&e.detach(t),e.destroy_each(i,l),a&&a.d()}}}function b(r){let t,n=r[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,l){e.insert(a,t,l),e.append(t,i)},p(a,l){l&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(r){let t,n,i,a=(r[13].count>1?`${r[13].rank}~${r[13].rank+r[13].count-1}`:r[13].rank)+"",l,c,s=r[2]("place")+"",u,p,d=r[13].name+"",f,_;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),l=e.text(a),c=e.space(),u=e.text(s),p=e.text(": "),f=e.text(d),_=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+r[15]),e.attr(t,"part","Prize Prize"+r[15])},m(h,z){e.insert(h,t,z),e.append(t,n),e.append(n,i),e.append(i,l),e.append(n,c),e.append(n,u),e.append(n,p),e.append(n,f),e.append(t,_)},p(h,z){z&2&&a!==(a=(h[13].count>1?`${h[13].rank}~${h[13].rank+h[13].count-1}`:h[13].rank)+"")&&e.set_data(l,a),z&4&&s!==(s=h[2]("place")+"")&&e.set_data(u,s),z&2&&d!==(d=h[13].name+"")&&e.set_data(f,d)},d(h){h&&e.detach(t)}}}function M(r){let t,n,i,a,l,c=r[2]("prizes")+"",s,u,p=r[1]&&T(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),l=e.element("p"),s=e.text(c),u=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(l,"class","PrizesTitle"),e.attr(l,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(d,f){e.insert(d,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,l),e.append(l,s),e.append(t,u),p&&p.m(t,null),r[7](t)},p(d,[f]){f&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,f):(p=T(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),p&&p.d(),r[7](null)}}}function N(r,t,n){let i;e.component_subscribe(r,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,u,p;const d=()=>{fetch(s).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{y(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(o=>{y(o,P[o])});const f=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,p=o.data.prizes)},_=()=>{let o=document.createElement("style");o.innerHTML=l,u.appendChild(o)},h=()=>{let o=new URL(c),m=document.createElement("style");fetch(o.href).then(g=>g.text()).then(g=>{m.innerHTML=g,setTimeout(()=>{u.appendChild(m)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)}));function z(o){e.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}return r.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,l=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl)},r.$$.update=()=>{r.$$.dirty&17&&u&&l&&_(),r.$$.dirty&33&&u&&c&&h(),r.$$.dirty&64&&s&&d()},[u,p,i,a,l,c,s,z]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,M,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6},F)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=k;
@@ -1,8 +1,8 @@
1
- import { a as A, S as Z, i as j, s as I, f as w, b as R, n as M, d as k, c as v, e as F, g as f, h as m, j as b, t as _, k as u, l as B, o as O, C as N, D as U, u as D, x as V, y as W } from "./CasinoTournamentsListController-CKVWCTHe.js";
2
- function H(l, e) {
1
+ import { a as A, S as Z, i as j, s as I, f as w, b as R, n as M, d as k, l as v, e as F, g as f, h as g, j as b, t as _, c as u, k as B, o as O, D as N, E as U, m as D, y as V, z as W } from "./CasinoTournamentsListController-BmResUm1.js";
2
+ function E(l, e) {
3
3
  A(l, e);
4
4
  }
5
- const S = {
5
+ const H = {
6
6
  en: {
7
7
  prizes: "Prizes",
8
8
  noprizes: "No available prizes",
@@ -62,7 +62,7 @@ const S = {
62
62
  function q(l) {
63
63
  R(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
64
64
  }
65
- function E(l, e, t) {
65
+ function S(l, e, t) {
66
66
  const n = l.slice();
67
67
  return n[13] = e[t], n[15] = t, n;
68
68
  }
@@ -72,11 +72,11 @@ function L(l) {
72
72
  l[1]
73
73
  ), n = [];
74
74
  for (let i = 0; i < t.length; i += 1)
75
- n[i] = x(E(l, t, i));
75
+ n[i] = x(S(l, t, i));
76
76
  let r = null;
77
77
  return t.length || (r = C(l)), {
78
78
  c() {
79
- e = m("div");
79
+ e = g("div");
80
80
  for (let i = 0; i < n.length; i += 1)
81
81
  n[i].c();
82
82
  r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
@@ -96,7 +96,7 @@ function L(l) {
96
96
  );
97
97
  let s;
98
98
  for (s = 0; s < t.length; s += 1) {
99
- const p = E(i, t, s);
99
+ const p = S(i, t, s);
100
100
  n[s] ? n[s].p(p, c) : (n[s] = x(p), n[s].c(), n[s].m(e, null));
101
101
  }
102
102
  for (; s < n.length; s += 1)
@@ -116,7 +116,7 @@ function C(l) {
116
116
  ), n;
117
117
  return {
118
118
  c() {
119
- e = m("p"), n = _(t);
119
+ e = g("p"), n = _(t);
120
120
  },
121
121
  m(r, i) {
122
122
  F(r, e, i), f(e, n);
@@ -150,7 +150,7 @@ function x(l) {
150
150
  ), z, T;
151
151
  return {
152
152
  c() {
153
- e = m("div"), t = m("p"), n = m("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), T = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
153
+ e = g("div"), t = g("p"), n = g("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), T = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
154
  l[15]), u(e, "part", "Prize Prize" + /*index*/
155
155
  l[15]);
156
156
  },
@@ -187,7 +187,7 @@ function G(l) {
187
187
  );
188
188
  return {
189
189
  c() {
190
- e = m("div"), t = m("div"), n = m("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = m("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
190
+ e = g("div"), t = g("div"), n = g("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
191
191
  },
192
192
  m(d, z) {
193
193
  F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
@@ -210,16 +210,16 @@ function J(l, e, t) {
210
210
  B(l, W, (a) => t(2, n = a));
211
211
  let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
212
212
  const d = () => {
213
- fetch(s).then((g) => g.json()).then((g) => {
214
- Object.keys(g).forEach((P) => {
215
- H(P, g[P]);
213
+ fetch(s).then((m) => m.json()).then((m) => {
214
+ Object.keys(m).forEach((P) => {
215
+ E(P, m[P]);
216
216
  });
217
- }).catch((g) => {
218
- console.log(g);
217
+ }).catch((m) => {
218
+ console.log(m);
219
219
  });
220
220
  };
221
- Object.keys(S).forEach((a) => {
222
- H(a, S[a]);
221
+ Object.keys(H).forEach((a) => {
222
+ E(a, H[a]);
223
223
  });
224
224
  const z = (a) => {
225
225
  a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
@@ -227,11 +227,11 @@ function J(l, e, t) {
227
227
  let a = document.createElement("style");
228
228
  a.innerHTML = i, p.appendChild(a);
229
229
  }, h = () => {
230
- let a = new URL(c), g = document.createElement("style");
230
+ let a = new URL(c), m = document.createElement("style");
231
231
  fetch(a.href).then((P) => P.text()).then((P) => {
232
- g.innerHTML = P, setTimeout(
232
+ m.innerHTML = P, setTimeout(
233
233
  () => {
234
- p.appendChild(g);
234
+ p.appendChild(m);
235
235
  },
236
236
  1
237
237
  ), setTimeout(
@@ -1,8 +1,8 @@
1
- import { a as A, S as Z, i as j, s as I, f as w, b as R, n as M, d as k, c as v, e as F, g as f, h as m, j as b, t as _, k as u, l as B, o as O, C as N, D as U, u as D, x as V, y as W } from "./CasinoTournamentsListController-DgYOCdAE.js";
2
- function H(l, e) {
1
+ import { a as A, S as Z, i as j, s as I, f as w, b as R, n as M, d as k, l as v, e as F, g as f, h as g, j as b, t as _, c as u, k as B, o as O, D as N, E as U, m as D, y as V, z as W } from "./CasinoTournamentsListController-BbMxlacs.js";
2
+ function E(l, e) {
3
3
  A(l, e);
4
4
  }
5
- const S = {
5
+ const H = {
6
6
  en: {
7
7
  prizes: "Prizes",
8
8
  noprizes: "No available prizes",
@@ -62,7 +62,7 @@ const S = {
62
62
  function q(l) {
63
63
  R(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
64
64
  }
65
- function E(l, e, t) {
65
+ function S(l, e, t) {
66
66
  const n = l.slice();
67
67
  return n[13] = e[t], n[15] = t, n;
68
68
  }
@@ -72,11 +72,11 @@ function L(l) {
72
72
  l[1]
73
73
  ), n = [];
74
74
  for (let i = 0; i < t.length; i += 1)
75
- n[i] = x(E(l, t, i));
75
+ n[i] = x(S(l, t, i));
76
76
  let r = null;
77
77
  return t.length || (r = C(l)), {
78
78
  c() {
79
- e = m("div");
79
+ e = g("div");
80
80
  for (let i = 0; i < n.length; i += 1)
81
81
  n[i].c();
82
82
  r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
@@ -96,7 +96,7 @@ function L(l) {
96
96
  );
97
97
  let s;
98
98
  for (s = 0; s < t.length; s += 1) {
99
- const p = E(i, t, s);
99
+ const p = S(i, t, s);
100
100
  n[s] ? n[s].p(p, c) : (n[s] = x(p), n[s].c(), n[s].m(e, null));
101
101
  }
102
102
  for (; s < n.length; s += 1)
@@ -116,7 +116,7 @@ function C(l) {
116
116
  ), n;
117
117
  return {
118
118
  c() {
119
- e = m("p"), n = _(t);
119
+ e = g("p"), n = _(t);
120
120
  },
121
121
  m(r, i) {
122
122
  F(r, e, i), f(e, n);
@@ -150,7 +150,7 @@ function x(l) {
150
150
  ), z, T;
151
151
  return {
152
152
  c() {
153
- e = m("div"), t = m("p"), n = m("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), T = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
153
+ e = g("div"), t = g("p"), n = g("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), T = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
154
  l[15]), u(e, "part", "Prize Prize" + /*index*/
155
155
  l[15]);
156
156
  },
@@ -187,7 +187,7 @@ function G(l) {
187
187
  );
188
188
  return {
189
189
  c() {
190
- e = m("div"), t = m("div"), n = m("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = m("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
190
+ e = g("div"), t = g("div"), n = g("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
191
191
  },
192
192
  m(d, z) {
193
193
  F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
@@ -210,16 +210,16 @@ function J(l, e, t) {
210
210
  B(l, W, (a) => t(2, n = a));
211
211
  let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
212
212
  const d = () => {
213
- fetch(s).then((g) => g.json()).then((g) => {
214
- Object.keys(g).forEach((P) => {
215
- H(P, g[P]);
213
+ fetch(s).then((m) => m.json()).then((m) => {
214
+ Object.keys(m).forEach((P) => {
215
+ E(P, m[P]);
216
216
  });
217
- }).catch((g) => {
218
- console.log(g);
217
+ }).catch((m) => {
218
+ console.log(m);
219
219
  });
220
220
  };
221
- Object.keys(S).forEach((a) => {
222
- H(a, S[a]);
221
+ Object.keys(H).forEach((a) => {
222
+ E(a, H[a]);
223
223
  });
224
224
  const z = (a) => {
225
225
  a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
@@ -227,11 +227,11 @@ function J(l, e, t) {
227
227
  let a = document.createElement("style");
228
228
  a.innerHTML = i, p.appendChild(a);
229
229
  }, h = () => {
230
- let a = new URL(c), g = document.createElement("style");
230
+ let a = new URL(c), m = document.createElement("style");
231
231
  fetch(a.href).then((P) => P.text()).then((P) => {
232
- g.innerHTML = P, setTimeout(
232
+ m.innerHTML = P, setTimeout(
233
233
  () => {
234
- p.appendChild(g);
234
+ p.appendChild(m);
235
235
  },
236
236
  1
237
237
  ), setTimeout(
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsListController-2xNP--2R.cjs")).then(e=>e.CasinoTournamentsListController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsListController-QOpDP1gT.cjs")).then(e=>e.CasinoTournamentsListController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-DgYOCdAE.js").then((e) => e.I).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-BbMxlacs.js").then((e) => e.I).then(({ default: e }) => {
14
14
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { I as s } from "../components/CasinoTournamentsListController-CKVWCTHe.js";
1
+ import { I as s } from "../components/CasinoTournamentsListController-BmResUm1.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-list-controller",
3
- "version": "1.64.8",
3
+ "version": "1.65.1",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-list-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-list-controller.js",
@@ -0,0 +1,7 @@
1
+ const s = () => {
2
+ }, a = () => {
3
+ };
4
+ export {
5
+ s as a,
6
+ a as g
7
+ };
@@ -0,0 +1 @@
1
+ "use strict";const l=()=>{},s=()=>{};exports.globalScripts=s;exports.globalScripts$1=l;