@everymatrix/casino-tournaments-list-controller 1.86.2 → 1.86.4

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 (51) hide show
  1. package/components/{CasinoTournamentsListController-DaqotmWK.js → CasinoTournamentsListController-CXr1JSnb.js} +1663 -1631
  2. package/components/CasinoTournamentsListController-FR6MtnPh.cjs +28 -0
  3. package/components/{CasinoTournamentsListController-D4OTiG4K.js → CasinoTournamentsListController-VxzLRKes.js} +1052 -1020
  4. package/components/{CasinoTournamentsThumbnail-DDMV1uN5.js → CasinoTournamentsThumbnail-CWBMbcVw.js} +32 -32
  5. package/components/{CasinoTournamentsThumbnail-CkwoSBJt.cjs → CasinoTournamentsThumbnail-CZ4zwuBt.cjs} +1 -1
  6. package/components/{CasinoTournamentsThumbnail-BrATffep.js → CasinoTournamentsThumbnail-UsXHKP_D.js} +32 -32
  7. package/components/CasinoTournamentsThumbnailController-BKDz1jhM.cjs +3 -0
  8. package/components/{CasinoTournamentsThumbnailController-DG1OlwzV.js → CasinoTournamentsThumbnailController-CFURXmMY.js} +567 -616
  9. package/components/{CasinoTournamentsThumbnailController-CUspMyO4.js → CasinoTournamentsThumbnailController-bcYH2pna.js} +526 -575
  10. package/components/{CasinoTournamentsThumbnailDuration-IIkCEcY_.js → CasinoTournamentsThumbnailDuration-B_P6mTgs.js} +55 -55
  11. package/components/{CasinoTournamentsThumbnailDuration-D23WGmAv.cjs → CasinoTournamentsThumbnailDuration-CF83guap.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-uxa8lPvT.js → CasinoTournamentsThumbnailDuration-N8zW3gY9.js} +55 -55
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-XzG8OTmi.js → CasinoTournamentsThumbnailGamesSlider-BV2yT0Ql.js} +50 -50
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-7wQgTaTz.js → CasinoTournamentsThumbnailGamesSlider-dja5bDf-.js} +50 -50
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-BErdKc27.cjs → CasinoTournamentsThumbnailGamesSlider-j6LTtj0h.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnailPrizes-BT2JYZpF.js → CasinoTournamentsThumbnailPrizes-DfDV6GgN.js} +21 -21
  17. package/components/{CasinoTournamentsThumbnailPrizes-DK31AYY8.js → CasinoTournamentsThumbnailPrizes-Dj9YdjmX.js} +21 -21
  18. package/components/{CasinoTournamentsThumbnailPrizes-D8_75y-V.cjs → CasinoTournamentsThumbnailPrizes-wYoasdWw.cjs} +1 -1
  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/index-97d17652-DvplcHtm.js +558 -0
  24. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  25. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  26. package/stencil/index-b2193545-RI3PckwN.js +503 -0
  27. package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
  28. package/stencil/index-b2193545-w9rTFozR.js +519 -0
  29. package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
  30. package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
  31. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
  32. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  35. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  36. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  37. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  38. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
  39. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
  40. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
  41. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
  42. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
  43. package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
  44. package/components/CasinoTournamentsListController-Bxz5_RYO.cjs +0 -15
  45. package/components/CasinoTournamentsThumbnailController-Bcq4Qu9B.cjs +0 -16
  46. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  47. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  48. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  49. package/stencil/index-b2193545-BpG2toSK.js +0 -503
  50. package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
  51. package/stencil/index-b2193545-DuA2iMSm.js +0 -519
@@ -1,4 +1,4 @@
1
- import { b as H, S as K, i as Y, s as Z, f as C, c as J, n as L, d as w, g as B, j as v, e as l, l as Q, o as V, m as M, h as y, q as X, t as j, k as A, u as $, F as N, z as tt, A as et, B as nt, C as it, D as st } from "./CasinoTournamentsListController-DaqotmWK.js";
1
+ import { b as H, S as K, i as Y, f as z, c as Z, s as J, d as Q, e as v, h as l, j as w, n as L, l as B, m as V, o as X, p as $, t as M, g as A, k as y, r as tt, u as j, y as et, z as nt, A as it, I as N, D as st } from "./CasinoTournamentsListController-VxzLRKes.js";
2
2
  function O(n, t) {
3
3
  H(n, t);
4
4
  }
@@ -93,7 +93,7 @@ const U = {
93
93
  }
94
94
  };
95
95
  function rt(n) {
96
- J(n, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
96
+ Q(n, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
97
97
  }
98
98
  function q(n) {
99
99
  let t, e, s = (
@@ -109,7 +109,7 @@ function q(n) {
109
109
  n[1]
110
110
  ) + ""
111
111
  ), g, T, b, m, P, _, D;
112
- function R(r, f) {
112
+ function I(r, f) {
113
113
  return (
114
114
  /*status*/
115
115
  r[2] == "Finished" || /*status*/
@@ -120,8 +120,8 @@ function q(n) {
120
120
  )
121
121
  );
122
122
  }
123
- let z = R(n), p = z(n);
124
- function I(r, f) {
123
+ let C = I(n), p = C(n);
124
+ function R(r, f) {
125
125
  if (
126
126
  /*status*/
127
127
  r[2] == "Finished" || /*status*/
@@ -140,13 +140,13 @@ function q(n) {
140
140
  )
141
141
  return ut;
142
142
  }
143
- let F = I(n), c = F && F(n);
143
+ let F = R(n), c = F && F(n);
144
144
  return {
145
145
  c() {
146
- t = v("div"), e = v("div"), a = j(s), u = A(), o = v("div"), g = j(d), T = A(), b = v("div"), m = v("div"), p.c(), P = A(), c && c.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(m, "class", "ProgressBar"), l(m, "part", "ProgressBar"), l(b, "class", "ProgressBarWrapper"), l(b, "part", "ProgressBarWrapper");
146
+ t = v("div"), e = v("div"), a = M(s), u = A(), o = v("div"), g = M(d), T = A(), b = v("div"), m = v("div"), p.c(), P = A(), c && c.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(m, "class", "ProgressBar"), l(m, "part", "ProgressBar"), l(b, "class", "ProgressBarWrapper"), l(b, "part", "ProgressBarWrapper");
147
147
  },
148
148
  m(r, f) {
149
- B(r, t, f), y(t, e), y(e, a), y(t, u), y(t, o), y(o, g), B(r, T, f), B(r, b, f), y(b, m), p.m(m, null), y(m, P), c && c.m(m, null), _ || (D = X(
149
+ w(r, t, f), y(t, e), y(e, a), y(t, u), y(t, o), y(o, g), w(r, T, f), w(r, b, f), y(b, m), p.m(m, null), y(m, P), c && c.m(m, null), _ || (D = tt(
150
150
  /*getDuration*/
151
151
  n[9].call(null, b)
152
152
  ), _ = !0);
@@ -157,15 +157,15 @@ function q(n) {
157
157
  r[10](
158
158
  /*startdate*/
159
159
  r[0]
160
- ) + "") && M(a, s), f & /*enddate*/
160
+ ) + "") && j(a, s), f & /*enddate*/
161
161
  2 && d !== (d = /*formatDate*/
162
162
  r[10](
163
163
  /*enddate*/
164
164
  r[1]
165
- ) + "") && M(g, d), z === (z = R(r)) && p ? p.p(r, f) : (p.d(1), p = z(r), p && (p.c(), p.m(m, P))), F === (F = I(r)) && c ? c.p(r, f) : (c && c.d(1), c = F && F(r), c && (c.c(), c.m(m, null)));
165
+ ) + "") && j(g, d), C === (C = I(r)) && p ? p.p(r, f) : (p.d(1), p = C(r), p && (p.c(), p.m(m, P))), F === (F = R(r)) && c ? c.p(r, f) : (c && c.d(1), c = F && F(r), c && (c.c(), c.m(m, null)));
166
166
  },
167
167
  d(r) {
168
- r && (w(t), w(T), w(b)), p.d(), c && c.d(), _ = !1, D();
168
+ r && (B(t), B(T), B(b)), p.d(), c && c.d(), _ = !1, D();
169
169
  }
170
170
  };
171
171
  }
@@ -181,7 +181,7 @@ function at(n) {
181
181
  );
182
182
  },
183
183
  m(e, s) {
184
- B(e, t, s);
184
+ w(e, t, s);
185
185
  },
186
186
  p(e, s) {
187
187
  s & /*getProgress*/
@@ -193,7 +193,7 @@ function at(n) {
193
193
  );
194
194
  },
195
195
  d(e) {
196
- e && w(t);
196
+ e && B(t);
197
197
  }
198
198
  };
199
199
  }
@@ -204,11 +204,11 @@ function lt(n) {
204
204
  t = v("div"), l(t, "class", "ProgressBarFillStarting"), l(t, "part", "ProgressBarFillStarting");
205
205
  },
206
206
  m(e, s) {
207
- B(e, t, s);
207
+ w(e, t, s);
208
208
  },
209
209
  p: L,
210
210
  d(e) {
211
- e && w(t);
211
+ e && B(t);
212
212
  }
213
213
  };
214
214
  }
@@ -219,11 +219,11 @@ function ot(n) {
219
219
  t = v("div"), l(t, "class", "ProgressBarFillEnd"), l(t, "part", "ProgressBarFillEnd");
220
220
  },
221
221
  m(e, s) {
222
- B(e, t, s);
222
+ w(e, t, s);
223
223
  },
224
224
  p: L,
225
225
  d(e) {
226
- e && w(t);
226
+ e && B(t);
227
227
  }
228
228
  };
229
229
  }
@@ -234,26 +234,26 @@ function ut(n) {
234
234
  ), u;
235
235
  return {
236
236
  c() {
237
- t = v("div"), e = j(
237
+ t = v("div"), e = M(
238
238
  /*showRemain*/
239
239
  n[6]
240
- ), s = A(), u = j(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
240
+ ), s = A(), u = M(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
241
241
  },
242
242
  m(o, d) {
243
- B(o, t, d), y(t, e), y(t, s), y(t, u);
243
+ w(o, t, d), y(t, e), y(t, s), y(t, u);
244
244
  },
245
245
  p(o, d) {
246
246
  d & /*showRemain*/
247
- 64 && M(
247
+ 64 && j(
248
248
  e,
249
249
  /*showRemain*/
250
250
  o[6]
251
251
  ), d & /*$_*/
252
252
  256 && a !== (a = /*$_*/
253
- o[8]("left") + "") && M(u, a);
253
+ o[8]("left") + "") && j(u, a);
254
254
  },
255
255
  d(o) {
256
- o && w(t);
256
+ o && B(t);
257
257
  }
258
258
  };
259
259
  }
@@ -270,23 +270,23 @@ function dt(n) {
270
270
  ), o;
271
271
  return {
272
272
  c() {
273
- t = v("div"), s = j(e), a = A(), o = j(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
273
+ t = v("div"), s = M(e), a = A(), o = M(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
274
274
  },
275
275
  m(d, g) {
276
- B(d, t, g), y(t, s), y(t, a), y(t, o);
276
+ w(d, t, g), y(t, s), y(t, a), y(t, o);
277
277
  },
278
278
  p(d, g) {
279
279
  g & /*$_*/
280
280
  256 && e !== (e = /*$_*/
281
- d[8]("starting") + "") && M(s, e), g & /*tournamentUntilStartDays*/
281
+ d[8]("starting") + "") && j(s, e), g & /*tournamentUntilStartDays*/
282
282
  32 && u !== (u = /*getTextByDiff*/
283
283
  d[11](
284
284
  /*tournamentUntilStartDays*/
285
285
  d[5]
286
- ) + "") && M(o, u);
286
+ ) + "") && j(o, u);
287
287
  },
288
288
  d(d) {
289
- d && w(t);
289
+ d && B(t);
290
290
  }
291
291
  };
292
292
  }
@@ -297,18 +297,18 @@ function ct(n) {
297
297
  ), s;
298
298
  return {
299
299
  c() {
300
- t = v("div"), s = j(e), l(t, "class", "Finished"), l(t, "part", "Finished");
300
+ t = v("div"), s = M(e), l(t, "class", "Finished"), l(t, "part", "Finished");
301
301
  },
302
302
  m(a, u) {
303
- B(a, t, u), y(t, s);
303
+ w(a, t, u), y(t, s);
304
304
  },
305
305
  p(a, u) {
306
306
  u & /*$_*/
307
307
  256 && e !== (e = /*$_*/
308
- a[8]("finished") + "") && M(s, e);
308
+ a[8]("finished") + "") && j(s, e);
309
309
  },
310
310
  d(a) {
311
- a && w(t);
311
+ a && B(t);
312
312
  }
313
313
  };
314
314
  }
@@ -323,7 +323,7 @@ function ft(n) {
323
323
  t = v("div"), e && e.c(), l(t, "class", "TournamentDuration"), l(t, "part", "TournamentDuration");
324
324
  },
325
325
  m(s, a) {
326
- B(s, t, a), e && e.m(t, null), n[17](t);
326
+ w(s, t, a), e && e.m(t, null), n[17](t);
327
327
  },
328
328
  p(s, [a]) {
329
329
  /*startdate*/
@@ -333,14 +333,14 @@ function ft(n) {
333
333
  i: L,
334
334
  o: L,
335
335
  d(s) {
336
- s && w(t), e && e.d(), n[17](null);
336
+ s && B(t), e && e.d(), n[17](null);
337
337
  }
338
338
  };
339
339
  }
340
340
  function gt(n, t, e) {
341
341
  let s, a;
342
- Q(n, st, (i) => e(8, a = i));
343
- let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: g = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: m = "" } = t, { mbsource: P } = t, _, D = "", R = "", z = "";
342
+ V(n, st, (i) => e(8, a = i));
343
+ let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: g = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: m = "" } = t, { mbsource: P } = t, _, D = "", I = "", C = "";
344
344
  const p = () => {
345
345
  fetch(m).then((h) => h.json()).then((h) => {
346
346
  Object.keys(h).forEach((S) => {
@@ -353,9 +353,9 @@ function gt(n, t, e) {
353
353
  Object.keys(U).forEach((i) => {
354
354
  O(i, U[i]);
355
355
  });
356
- const I = (i) => new Date(i).getTime(), F = (i, h) => (I(h) - I(i)) / (1e3 * 60), c = () => {
356
+ const R = (i) => new Date(i).getTime(), F = (i, h) => (R(h) - R(i)) / (1e3 * 60), c = () => {
357
357
  const i = /* @__PURE__ */ new Date();
358
- e(4, D = F(i, o)), e(5, R = F(i, u)), e(6, z = f(D));
358
+ e(4, D = F(i, o)), e(5, I = F(i, u)), e(6, C = f(D));
359
359
  }, r = (i) => {
360
360
  const h = { month: "long" };
361
361
  let S = new Date(i), E = new Intl.DateTimeFormat(g, h).format(S);
@@ -371,7 +371,7 @@ function gt(n, t, e) {
371
371
  }
372
372
  return h(Math.ceil(i / (60 * 24)), "days");
373
373
  };
374
- V(() => {
374
+ X(() => {
375
375
  window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href);
376
376
  const i = setInterval(
377
377
  () => {
@@ -384,7 +384,7 @@ function gt(n, t, e) {
384
384
  };
385
385
  });
386
386
  function x(i) {
387
- $[i ? "unshift" : "push"](() => {
387
+ et[i ? "unshift" : "push"](() => {
388
388
  _ = i, e(3, _);
389
389
  });
390
390
  }
@@ -402,17 +402,17 @@ function gt(n, t, e) {
402
402
  4096 && g && c(), n.$$.dirty & /*lang, tournamentLeftDays*/
403
403
  4112 && g && f(D), n.$$.dirty & /*translationurl*/
404
404
  32768 && m && p(), n.$$.dirty & /*clientstyling, customStylingContainer*/
405
- 8200 && T && _ && tt(_, T), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
406
- 16392 && b && _ && et(_, b), n.$$.dirty & /*mbsource, customStylingContainer*/
407
- 65544 && P && _ && nt(_, `${P}.Style`);
405
+ 8200 && T && _ && nt(_, T), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
406
+ 16392 && b && _ && it(_, b), n.$$.dirty & /*mbsource, customStylingContainer*/
407
+ 65544 && P && _ && $(_, `${P}.Style`);
408
408
  }, [
409
409
  u,
410
410
  o,
411
411
  d,
412
412
  _,
413
413
  D,
414
- R,
415
- z,
414
+ I,
415
+ C,
416
416
  s,
417
417
  a,
418
418
  c,
@@ -433,7 +433,7 @@ class mt extends K {
433
433
  t,
434
434
  gt,
435
435
  ft,
436
- Z,
436
+ J,
437
437
  {
438
438
  startdate: 0,
439
439
  enddate: 1,
@@ -451,52 +451,52 @@ class mt extends K {
451
451
  return this.$$.ctx[0];
452
452
  }
453
453
  set startdate(t) {
454
- this.$$set({ startdate: t }), C();
454
+ this.$$set({ startdate: t }), z();
455
455
  }
456
456
  get enddate() {
457
457
  return this.$$.ctx[1];
458
458
  }
459
459
  set enddate(t) {
460
- this.$$set({ enddate: t }), C();
460
+ this.$$set({ enddate: t }), z();
461
461
  }
462
462
  get status() {
463
463
  return this.$$.ctx[2];
464
464
  }
465
465
  set status(t) {
466
- this.$$set({ status: t }), C();
466
+ this.$$set({ status: t }), z();
467
467
  }
468
468
  get lang() {
469
469
  return this.$$.ctx[12];
470
470
  }
471
471
  set lang(t) {
472
- this.$$set({ lang: t }), C();
472
+ this.$$set({ lang: t }), z();
473
473
  }
474
474
  get clientstyling() {
475
475
  return this.$$.ctx[13];
476
476
  }
477
477
  set clientstyling(t) {
478
- this.$$set({ clientstyling: t }), C();
478
+ this.$$set({ clientstyling: t }), z();
479
479
  }
480
480
  get clientstylingurl() {
481
481
  return this.$$.ctx[14];
482
482
  }
483
483
  set clientstylingurl(t) {
484
- this.$$set({ clientstylingurl: t }), C();
484
+ this.$$set({ clientstylingurl: t }), z();
485
485
  }
486
486
  get translationurl() {
487
487
  return this.$$.ctx[15];
488
488
  }
489
489
  set translationurl(t) {
490
- this.$$set({ translationurl: t }), C();
490
+ this.$$set({ translationurl: t }), z();
491
491
  }
492
492
  get mbsource() {
493
493
  return this.$$.ctx[16];
494
494
  }
495
495
  set mbsource(t) {
496
- this.$$set({ mbsource: t }), C();
496
+ this.$$set({ mbsource: t }), z();
497
497
  }
498
498
  }
499
- it(mt, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
499
+ Z(mt, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
500
500
  export {
501
501
  mt as default
502
502
  };
@@ -1,5 +1,5 @@
1
- import { b as _e, S as be, i as ve, s as ke, f as T, c as Ne, n as R, d as G, g as W, j as N, l as Se, o as Te, G as Y, H as Fe, r as ne, I as L, F as K, h as b, J as Be, p as z, k as C, e as c, K as Pe, u as U, m as Me, w as Z, t as Ee, z as je, A as ze, B as Ae, C as He, D as Le } from "./CasinoTournamentsListController-D4OTiG4K.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-DG1OlwzV.js";
1
+ import { b as _e, S as be, i as ve, f as T, c as ke, s as Ne, d as Se, e as N, j as W, n as R, l as q, m as Te, o as Be, p as Fe, J as Y, g as C, h as c, K as H, I as K, L as Me, k as b, M as Pe, q as L, N as Ee, v as ne, t as je, B as Z, u as Le, y as U, z as ze, A as Ae, D as He } from "./CasinoTournamentsListController-CXr1JSnb.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-bcYH2pna.js";
3
3
  function Q(e, n) {
4
4
  _e(e, n);
5
5
  }
@@ -36,7 +36,7 @@ const V = {
36
36
  }
37
37
  };
38
38
  function De(e) {
39
- Ne(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
39
+ Se(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
40
40
  }
41
41
  function $(e, n, t) {
42
42
  const a = e.slice();
@@ -54,16 +54,16 @@ function ee(e) {
54
54
  n = N("div"), t = N("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 = C(), d = N("main"), h = N("div");
55
55
  for (let r = 0; r < i.length; r += 1)
56
56
  i[r].c();
57
- y = C(), s = N("div"), s.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"), L(
57
+ y = C(), s = N("div"), s.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"), H(
58
58
  t,
59
59
  "disabled",
60
60
  /*atStart*/
61
61
  e[8]
62
62
  ), c(h, "class", "items"), c(h, "part", "items"), K(h, "transform", "translateX(" + /*offset*/
63
- e[2] + "px)"), Pe(() => (
63
+ e[2] + "px)"), Me(() => (
64
64
  /*main_elementresize_handler*/
65
65
  e[29].call(d)
66
- )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), L(
66
+ )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), H(
67
67
  s,
68
68
  "disabled",
69
69
  /*atEnd*/
@@ -74,18 +74,18 @@ function ee(e) {
74
74
  W(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
75
75
  for (let u = 0; u < i.length; u += 1)
76
76
  i[u] && i[u].m(h, null);
77
- e[28](h), p = Be(
77
+ e[28](h), p = Pe(
78
78
  d,
79
79
  /*main_elementresize_handler*/
80
80
  e[29].bind(d)
81
81
  ), b(n, y), b(n, s), e[31](n), w || (_ = [
82
- z(
82
+ L(
83
83
  t,
84
84
  "click",
85
85
  /*click_handler*/
86
86
  e[24]
87
87
  ),
88
- z(
88
+ L(
89
89
  s,
90
90
  "click",
91
91
  /*click_handler_2*/
@@ -95,7 +95,7 @@ function ee(e) {
95
95
  },
96
96
  p(r, m) {
97
97
  if (m[0] & /*atStart*/
98
- 256 && L(
98
+ 256 && H(
99
99
  t,
100
100
  "disabled",
101
101
  /*atStart*/
@@ -118,7 +118,7 @@ function ee(e) {
118
118
  m[0] & /*offset*/
119
119
  4 && K(h, "transform", "translateX(" + /*offset*/
120
120
  r[2] + "px)"), m[0] & /*atEnd*/
121
- 512 && L(
121
+ 512 && H(
122
122
  s,
123
123
  "disabled",
124
124
  /*atEnd*/
@@ -126,7 +126,7 @@ function ee(e) {
126
126
  );
127
127
  },
128
128
  d(r) {
129
- r && G(n), Fe(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
129
+ r && q(n), Ee(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
130
130
  }
131
131
  };
132
132
  }
@@ -155,7 +155,7 @@ function te(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- n = N("div"), t = N("span"), d = Ee(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
158
+ n = N("div"), t = N("span"), d = je(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[51] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -168,9 +168,9 @@ function te(e) {
168
168
  },
169
169
  m(v, o) {
170
170
  W(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
171
- z(n, "click", u),
172
- z(n, "mouseenter", k),
173
- z(
171
+ L(n, "click", u),
172
+ L(n, "mouseenter", k),
173
+ L(
174
174
  n,
175
175
  "mouseleave",
176
176
  /*mouseleave_handler*/
@@ -181,7 +181,7 @@ function te(e) {
181
181
  p(v, o) {
182
182
  e = v, o[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && Me(d, a), o[0] & /*hover, hoverIndex*/
184
+ e[10]("playNow") + "") && Le(d, a), o[0] & /*hover, hoverIndex*/
185
185
  96 && h !== (h = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
@@ -198,7 +198,7 @@ function te(e) {
198
198
  e[49].name) && c(s, "title", g);
199
199
  },
200
200
  d(v) {
201
- v && G(n), r = !1, ne(m);
201
+ v && q(n), r = !1, ne(m);
202
202
  }
203
203
  };
204
204
  }
@@ -223,15 +223,15 @@ function Ie(e) {
223
223
  i: R,
224
224
  o: R,
225
225
  d(a) {
226
- a && G(n), t && t.d(), e[32](null);
226
+ a && q(n), t && t.d(), e[32](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
- function Ge(e, n, t) {
231
+ function We(e, n, t) {
232
232
  let a, d, h;
233
- Se(e, Le, (l) => t(10, h = l));
234
- let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, A = null, H = null, D = !1, I, P, M = 0, F;
233
+ Te(e, He, (l) => t(10, h = l));
234
+ let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, z = null, A = null, D = !1, I, M, P = 0, B;
235
235
  const le = () => {
236
236
  fetch(_).then((f) => f.json()).then((f) => {
237
237
  Object.keys(f).forEach((j) => {
@@ -244,20 +244,20 @@ function Ge(e, n, t) {
244
244
  Object.keys(V).forEach((l) => {
245
245
  Q(l, V[l]);
246
246
  });
247
- const q = (l) => {
247
+ const G = (l) => {
248
248
  t(5, D = !0), t(6, I = l);
249
249
  }, J = () => {
250
250
  t(5, D = !1), t(6, I = -1);
251
251
  }, se = (l) => l.touches || l.originalEvent.touches, O = (l) => {
252
252
  const f = se(l)[0];
253
- A = f.clientX, H = f.clientY;
253
+ z = f.clientX, A = f.clientY;
254
254
  }, X = (l) => {
255
- if (!A || !H)
255
+ if (!z || !A)
256
256
  return;
257
- let f = l.touches[0].clientX, j = l.touches[0].clientY, B = A - f, we = H - j;
258
- Math.abs(B) > Math.abs(we) && (B > 0 ? E(1) : E(-1)), A = null, H = null;
257
+ let f = l.touches[0].clientX, j = l.touches[0].clientY, F = z - f, we = A - j;
258
+ Math.abs(F) > Math.abs(we) && (F > 0 ? E(1) : E(-1)), z = null, A = null;
259
259
  }, E = (l) => {
260
- l > 0 && !d ? (t(2, o -= k), t(2, o = o < M ? M : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
260
+ l > 0 && !d ? (t(2, o -= k), t(2, o = o < P ? P : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
261
261
  }, x = (l) => {
262
262
  window.postMessage(
263
263
  {
@@ -270,32 +270,32 @@ function Ge(e, n, t) {
270
270
  );
271
271
  }, re = () => {
272
272
  let l = new URL(p), f = new Headers();
273
- l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", Ce(u)), fetch(l, { method: "GET", headers: f }).then((B) => B.json()).then((B) => {
274
- t(1, v = B.item.games.items), B.item.games.total;
273
+ l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", Ce(u)), fetch(l, { method: "GET", headers: f }).then((F) => F.json()).then((F) => {
274
+ t(1, v = F.item.games.items), F.item.games.total;
275
275
  });
276
276
  }, ae = () => {
277
277
  S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
278
278
  }, ie = () => {
279
279
  setTimeout(
280
280
  () => {
281
- t(23, M = (P.scrollWidth - P.clientWidth) * -1), t(16, s = new String(P.scrollWidth / v.length)), k = parseInt(y, 10) * parseFloat(s, 2).toFixed(2);
281
+ t(23, P = (M.scrollWidth - M.clientWidth) * -1), t(16, s = new String(M.scrollWidth / v.length)), k = parseInt(y, 10) * parseFloat(s, 2).toFixed(2);
282
282
  },
283
283
  1e3
284
284
  );
285
285
  }, oe = () => {
286
- F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
286
+ B > 0 && B < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(B / s).toString());
287
287
  };
288
- Te(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
288
+ Be(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
289
289
  S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
290
290
  }));
291
- const ce = () => E(-1), ue = (l) => x(l), me = (l) => q(l), de = () => J();
291
+ const ce = () => E(-1), ue = (l) => x(l), me = (l) => G(l), de = () => J();
292
292
  function he(l) {
293
293
  U[l ? "unshift" : "push"](() => {
294
- P = l, t(7, P);
294
+ M = l, t(7, M);
295
295
  });
296
296
  }
297
297
  function ge() {
298
- F = this.clientWidth, t(4, F);
298
+ B = this.clientWidth, t(4, B);
299
299
  }
300
300
  const fe = () => E(1);
301
301
  function pe(l) {
@@ -313,28 +313,28 @@ function Ge(e, n, t) {
313
313
  }, e.$$.update = () => {
314
314
  e.$$.dirty[0] & /*offset*/
315
315
  4 && t(8, a = o === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
316
- 8388612 && t(9, d = o <= M), e.$$.dirty[0] & /*sliderMainWidth*/
317
- 16 && F && oe(), e.$$.dirty[0] & /*tournamenturl*/
316
+ 8388612 && t(9, d = o <= P), e.$$.dirty[0] & /*sliderMainWidth*/
317
+ 16 && B && oe(), e.$$.dirty[0] & /*tournamenturl*/
318
318
  131072 && p && re(), e.$$.dirty[0] & /*slider*/
319
319
  8 && S && ae(), e.$$.dirty[0] & /*translationurl*/
320
320
  524288 && _ && le(), e.$$.dirty[0] & /*games*/
321
321
  2 && v.length && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
322
- 1048577 && g && m && je(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
- 2097153 && i && m && ze(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
- 4194305 && r && m && Ae(m, `${r}.Style`);
322
+ 1048577 && g && m && ze(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
+ 2097153 && i && m && Ae(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
+ 4194305 && r && m && Fe(m, `${r}.Style`);
325
325
  }, t(2, o = 0), [
326
326
  m,
327
327
  v,
328
328
  o,
329
329
  S,
330
- F,
330
+ B,
331
331
  D,
332
332
  I,
333
- P,
333
+ M,
334
334
  a,
335
335
  d,
336
336
  h,
337
- q,
337
+ G,
338
338
  J,
339
339
  E,
340
340
  x,
@@ -346,7 +346,7 @@ function Ge(e, n, t) {
346
346
  g,
347
347
  i,
348
348
  r,
349
- M,
349
+ P,
350
350
  ce,
351
351
  ue,
352
352
  me,
@@ -358,14 +358,14 @@ function Ge(e, n, t) {
358
358
  ye
359
359
  ];
360
360
  }
361
- class We extends be {
361
+ class qe extends be {
362
362
  constructor(n) {
363
363
  super(), ve(
364
364
  this,
365
365
  n,
366
- Ge,
366
+ We,
367
367
  Ie,
368
- ke,
368
+ Ne,
369
369
  {
370
370
  tournamenturl: 17,
371
371
  scrollby: 15,
@@ -429,7 +429,7 @@ class We extends be {
429
429
  this.$$set({ mbsource: n }), T();
430
430
  }
431
431
  }
432
- He(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
+ ke(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
433
433
  export {
434
- We as default
434
+ qe as default
435
435
  };