@everymatrix/casino-tournaments-controller 1.87.26 → 1.87.27

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/{CasinoTournamentsController-CnAIq520.js → CasinoTournamentsController-C9T28zEr.js} +1381 -1352
  2. package/components/CasinoTournamentsController-DQNDp9HR.cjs +27 -0
  3. package/components/{CasinoTournamentsController-BLxMNjdf.js → CasinoTournamentsController-DZHPUFoo.js} +1329 -1301
  4. package/components/{CasinoTournamentsFilterController-DthxSaAP.cjs → CasinoTournamentsFilterController-Bi5ABz6A.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-DTU_2gg8.js → CasinoTournamentsFilterController-ByO79eyB.js} +105 -105
  6. package/components/{CasinoTournamentsFilterController-CQQlddU7.js → CasinoTournamentsFilterController-CDvezs-D.js} +103 -103
  7. package/components/{CasinoTournamentsListController-CTyy6QGc.cjs → CasinoTournamentsListController-B5AHWoiQ.cjs} +5 -5
  8. package/components/{CasinoTournamentsListController-B44Sd_Xd.js → CasinoTournamentsListController-CYyjAv5V.js} +434 -434
  9. package/components/{CasinoTournamentsListController-D8Mce-Ba.js → CasinoTournamentsListController-D1Q3oNPH.js} +434 -434
  10. package/components/CasinoTournamentsThumbnail-BJPotmwg.cjs +3 -0
  11. package/components/{CasinoTournamentsThumbnail-C8m2-yzp.js → CasinoTournamentsThumbnail-BYKG7BsJ.js} +148 -148
  12. package/components/{CasinoTournamentsThumbnail-CvUCJuL_.js → CasinoTournamentsThumbnail-DmG-fM0f.js} +148 -148
  13. package/components/{CasinoTournamentsThumbnailController-DRIgHZK4.js → CasinoTournamentsThumbnailController-B4DgkNpX.js} +63 -63
  14. package/components/{CasinoTournamentsThumbnailController-AwtNpbCC.cjs → CasinoTournamentsThumbnailController-DvWCmf2R.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-DOhlVFj-.js → CasinoTournamentsThumbnailController-Fj4xURf5.js} +64 -64
  16. package/components/{CasinoTournamentsThumbnailDuration-BBDiU1hp.js → CasinoTournamentsThumbnailDuration-BMMU0ZJo.js} +112 -112
  17. package/components/CasinoTournamentsThumbnailDuration-CXGu4tqo.cjs +1 -0
  18. package/components/{CasinoTournamentsThumbnailDuration-B1oKgcSP.js → CasinoTournamentsThumbnailDuration-DFufp6Vu.js} +112 -112
  19. package/components/CasinoTournamentsThumbnailGamesSlider-CQECbxUh.js +434 -0
  20. package/components/CasinoTournamentsThumbnailGamesSlider-D_kKdnqN.js +434 -0
  21. package/components/CasinoTournamentsThumbnailGamesSlider-Dode2Q67.cjs +1 -0
  22. package/components/{CasinoTournamentsThumbnailPrizes-Om5Riw3x.js → CasinoTournamentsThumbnailPrizes-D-GYVO90.js} +104 -104
  23. package/components/{CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs → CasinoTournamentsThumbnailPrizes-DIvLHGtT.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js → CasinoTournamentsThumbnailPrizes-fRbY2GFR.js} +104 -104
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  30. package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
  31. package/stencil/{index-b2193545-DfeVnolx.cjs → index-b2193545-BB6id_PQ.cjs} +1 -1
  32. package/stencil/{index-b2193545-DuA2iMSm.js → index-b2193545-Dg04r8Mf.js} +1 -1
  33. package/stencil/{index-b2193545-BpG2toSK.js → index-b2193545-oPMLiBVn.js} +1 -1
  34. package/stencil/{ui-image-O0NdjWCu.js → ui-image-BiEqrTjD.js} +4 -4
  35. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DyN7Fe9v.js} +1 -1
  36. package/stencil/ui-image-GKGnzjWQ.cjs +1 -0
  37. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-CCeXOW4G.js} +3 -3
  38. package/stencil/ui-skeleton-CImpq9cv.cjs +1 -0
  39. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-DGlqF493.js} +3 -3
  40. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-B7StGL8M.cjs} +1 -1
  41. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-CLXtOZ1A.js} +1 -1
  42. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-Dc_jq3n7.js} +1 -1
  43. package/components/CasinoTournamentsController-DgQHHIEF.cjs +0 -27
  44. package/components/CasinoTournamentsThumbnail-DrL4ipPE.cjs +0 -3
  45. package/components/CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs +0 -1
  46. package/components/CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs +0 -1
  47. package/components/CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js +0 -434
  48. package/components/CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js +0 -434
  49. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
  50. package/stencil/ui-image-DUHLTRXs.cjs +0 -1
  51. package/stencil/ui-skeleton-B0E7XBJC.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a as H, S as J, i as K, s as Y, f as z, b as Z, n as N, d as w, e as B, g as v, h as l, k as Q, o as V, p as M, q as y, F as X, t as R, r as L, u as $, J as O, x as tt, y as et, z as nt, c as it, $ as st } from "./CasinoTournamentsController-BLxMNjdf.js";
2
- function U(n, t) {
3
- H(n, t);
1
+ import { a as J, S as K, i as Y, s as Z, f as z, b as Q, n as O, d as k, e as w, g as v, h as l, k as V, o as X, p as M, q as h, F as $, t as R, r as j, u as tt, J as U, x as et, y as nt, z as it, c as st, $ as rt } from "./CasinoTournamentsController-DZHPUFoo.js";
2
+ function q(n, t) {
3
+ J(n, t);
4
4
  }
5
- const q = {
5
+ const x = {
6
6
  en: {
7
7
  finished: "Finished",
8
8
  starting: "Starting in ",
@@ -92,10 +92,10 @@ const q = {
92
92
  days: "days"
93
93
  }
94
94
  };
95
- function rt(n) {
96
- Z(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)}");
95
+ function at(n) {
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
- function x(n) {
98
+ function A(n) {
99
99
  let t, e, s = (
100
100
  /*formatDate*/
101
101
  n[10](
@@ -108,72 +108,72 @@ function x(n) {
108
108
  /*enddate*/
109
109
  n[1]
110
110
  ) + ""
111
- ), g, T, b, m, P, _, D;
112
- function j(r, f) {
111
+ ), f, T, b, g, P, y, I;
112
+ function D(r, p) {
113
113
  return (
114
114
  /*status*/
115
115
  r[2] == "Finished" || /*status*/
116
116
  r[2] == "Closing" || /*status*/
117
- r[2] == "Closed" ? ot : (
117
+ r[2] == "Closed" ? ut : (
118
118
  /*tournamentUntilStartDays*/
119
- r[5] > 0 ? lt : at
119
+ r[5] > 0 ? ot : lt
120
120
  )
121
121
  );
122
122
  }
123
- let C = j(n), p = C(n);
124
- function I(r, f) {
123
+ let C = D(n), _ = C(n);
124
+ function L(r, p) {
125
125
  if (
126
126
  /*status*/
127
127
  r[2] == "Finished" || /*status*/
128
128
  r[2] == "Closing" || /*status*/
129
129
  r[2] == "Closed"
130
130
  )
131
- return ct;
131
+ return ft;
132
132
  if (
133
133
  /*tournamentUntilStartDays*/
134
134
  r[5] > 0
135
135
  )
136
- return dt;
136
+ return ct;
137
137
  if (
138
138
  /*tournamentLeftDays*/
139
139
  r[4] > 0
140
140
  )
141
- return ut;
141
+ return dt;
142
142
  }
143
- let F = I(n), c = F && F(n);
143
+ let B = L(n), c = B && B(n);
144
144
  return {
145
145
  c() {
146
- t = v("div"), e = v("div"), a = R(s), u = L(), o = v("div"), g = R(d), T = L(), b = v("div"), m = v("div"), p.c(), P = L(), 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 = R(s), u = j(), o = v("div"), f = R(d), T = j(), b = v("div"), g = v("div"), _.c(), P = j(), 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(g, "class", "ProgressBar"), l(g, "part", "ProgressBar"), l(b, "class", "ProgressBarWrapper"), l(b, "part", "ProgressBarWrapper");
147
147
  },
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(
148
+ m(r, p) {
149
+ w(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), w(r, T, p), w(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (I = $(
150
150
  /*getDuration*/
151
151
  n[9].call(null, b)
152
- ), _ = !0);
152
+ ), y = !0);
153
153
  },
154
- p(r, f) {
155
- f & /*startdate*/
154
+ p(r, p) {
155
+ p & /*startdate*/
156
156
  1 && s !== (s = /*formatDate*/
157
157
  r[10](
158
158
  /*startdate*/
159
159
  r[0]
160
- ) + "") && M(a, s), f & /*enddate*/
160
+ ) + "") && M(a, s), p & /*enddate*/
161
161
  2 && d !== (d = /*formatDate*/
162
162
  r[10](
163
163
  /*enddate*/
164
164
  r[1]
165
- ) + "") && M(g, d), C === (C = j(r)) && p ? p.p(r, f) : (p.d(1), p = C(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
+ ) + "") && M(f, d), C === (C = D(r)) && _ ? _.p(r, p) : (_.d(1), _ = C(r), _ && (_.c(), _.m(g, P))), B === (B = L(r)) && c ? c.p(r, p) : (c && c.d(1), c = B && B(r), c && (c.c(), c.m(g, null)));
166
166
  },
167
167
  d(r) {
168
- r && (w(t), w(T), w(b)), p.d(), c && c.d(), _ = !1, D();
168
+ r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1, I();
169
169
  }
170
170
  };
171
171
  }
172
- function at(n) {
172
+ function lt(n) {
173
173
  let t;
174
174
  return {
175
175
  c() {
176
- t = v("div"), l(t, "class", "ProgressBarFill"), l(t, "part", "ProgressBarFill"), O(
176
+ t = v("div"), l(t, "class", "ProgressBarFill"), l(t, "part", "ProgressBarFill"), U(
177
177
  t,
178
178
  "width",
179
179
  /*getProgress*/
@@ -181,11 +181,11 @@ 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*/
188
- 128 && O(
188
+ 128 && U(
189
189
  t,
190
190
  "width",
191
191
  /*getProgress*/
@@ -193,41 +193,41 @@ function at(n) {
193
193
  );
194
194
  },
195
195
  d(e) {
196
- e && w(t);
196
+ e && k(t);
197
197
  }
198
198
  };
199
199
  }
200
- function lt(n) {
200
+ function ot(n) {
201
201
  let t;
202
202
  return {
203
203
  c() {
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
- p: N,
209
+ p: O,
210
210
  d(e) {
211
- e && w(t);
211
+ e && k(t);
212
212
  }
213
213
  };
214
214
  }
215
- function ot(n) {
215
+ function ut(n) {
216
216
  let t;
217
217
  return {
218
218
  c() {
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
- p: N,
224
+ p: O,
225
225
  d(e) {
226
- e && w(t);
226
+ e && k(t);
227
227
  }
228
228
  };
229
229
  }
230
- function ut(n) {
230
+ function dt(n) {
231
231
  let t, e, s, a = (
232
232
  /*$_*/
233
233
  n[8]("left") + ""
@@ -237,10 +237,10 @@ function ut(n) {
237
237
  t = v("div"), e = R(
238
238
  /*showRemain*/
239
239
  n[6]
240
- ), s = L(), u = R(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
240
+ ), s = j(), u = R(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), h(t, e), h(t, s), h(t, u);
244
244
  },
245
245
  p(o, d) {
246
246
  d & /*showRemain*/
@@ -253,11 +253,11 @@ function ut(n) {
253
253
  o[8]("left") + "") && M(u, a);
254
254
  },
255
255
  d(o) {
256
- o && w(t);
256
+ o && k(t);
257
257
  }
258
258
  };
259
259
  }
260
- function dt(n) {
260
+ function ct(n) {
261
261
  let t, e = (
262
262
  /*$_*/
263
263
  n[8]("starting") + ""
@@ -270,15 +270,15 @@ function dt(n) {
270
270
  ), o;
271
271
  return {
272
272
  c() {
273
- t = v("div"), s = R(e), a = L(), o = R(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
273
+ t = v("div"), s = R(e), a = j(), o = R(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
274
274
  },
275
- m(d, g) {
276
- B(d, t, g), y(t, s), y(t, a), y(t, o);
275
+ m(d, f) {
276
+ w(d, t, f), h(t, s), h(t, a), h(t, o);
277
277
  },
278
- p(d, g) {
279
- g & /*$_*/
278
+ p(d, f) {
279
+ f & /*$_*/
280
280
  256 && e !== (e = /*$_*/
281
- d[8]("starting") + "") && M(s, e), g & /*tournamentUntilStartDays*/
281
+ d[8]("starting") + "") && M(s, e), f & /*tournamentUntilStartDays*/
282
282
  32 && u !== (u = /*getTextByDiff*/
283
283
  d[11](
284
284
  /*tournamentUntilStartDays*/
@@ -286,11 +286,11 @@ function dt(n) {
286
286
  ) + "") && M(o, u);
287
287
  },
288
288
  d(d) {
289
- d && w(t);
289
+ d && k(t);
290
290
  }
291
291
  };
292
292
  }
293
- function ct(n) {
293
+ function ft(n) {
294
294
  let t, e = (
295
295
  /*$_*/
296
296
  n[8]("finished") + ""
@@ -300,7 +300,7 @@ function ct(n) {
300
300
  t = v("div"), s = R(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), h(t, s);
304
304
  },
305
305
  p(a, u) {
306
306
  u & /*$_*/
@@ -308,74 +308,74 @@ function ct(n) {
308
308
  a[8]("finished") + "") && M(s, e);
309
309
  },
310
310
  d(a) {
311
- a && w(t);
311
+ a && k(t);
312
312
  }
313
313
  };
314
314
  }
315
- function ft(n) {
315
+ function gt(n) {
316
316
  let t, e = (
317
317
  /*startdate*/
318
318
  n[0] && /*enddate*/
319
- n[1] && x(n)
319
+ n[1] && A(n)
320
320
  );
321
321
  return {
322
322
  c() {
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*/
330
330
  s[0] && /*enddate*/
331
- s[1] ? e ? e.p(s, a) : (e = x(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
331
+ s[1] ? e ? e.p(s, a) : (e = A(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
332
332
  },
333
- i: N,
334
- o: N,
333
+ i: O,
334
+ o: O,
335
335
  d(s) {
336
- s && w(t), e && e.d(), n[17](null);
336
+ s && k(t), e && e.d(), n[17](null);
337
337
  }
338
338
  };
339
339
  }
340
- function gt(n, t, e) {
340
+ function mt(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 = "", j = "", C = "";
344
- const p = () => {
345
- fetch(m).then((h) => h.json()).then((h) => {
346
- Object.keys(h).forEach((S) => {
347
- U(S, h[S]);
342
+ V(n, rt, (i) => e(8, a = i));
343
+ let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, I, D = "", C = "", _ = "";
344
+ const L = () => {
345
+ fetch(g).then((m) => m.json()).then((m) => {
346
+ Object.keys(m).forEach((S) => {
347
+ q(S, m[S]);
348
348
  });
349
- }).catch((h) => {
350
- console.log(h);
349
+ }).catch((m) => {
350
+ console.log(m);
351
351
  });
352
352
  };
353
- Object.keys(q).forEach((i) => {
354
- U(i, q[i]);
353
+ Object.keys(x).forEach((i) => {
354
+ q(i, x[i]);
355
355
  });
356
- const I = (i) => new Date(i).getTime(), F = (i, h) => (I(h) - I(i)) / (1e3 * 60), c = () => {
356
+ const B = (i) => new Date(i).getTime(), c = (i, m) => (B(m) - B(i)) / (1e3 * 60), r = () => {
357
357
  const i = /* @__PURE__ */ new Date();
358
- e(4, D = F(i, o)), e(5, j = F(i, u)), e(6, C = f(D));
359
- }, r = (i) => {
360
- const h = { month: "long" };
361
- let S = new Date(i), E = new Intl.DateTimeFormat(g, h).format(S);
358
+ e(4, D = c(i, o)), e(5, C = c(i, u)), e(6, _ = N(D));
359
+ }, p = (i) => {
360
+ const m = { month: "long" };
361
+ let S = new Date(i), E = new Intl.DateTimeFormat(f, m).format(S);
362
362
  return `${S.getDate()} ${E}, ${S.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${S.getUTCFullYear()}`;
363
- }, f = (i) => {
364
- const h = (E, k) => E + " " + a(k), S = (E) => {
365
- const k = Math.floor(E);
366
- return k < 10 ? `0${k}` : `${k}`;
363
+ }, N = (i) => {
364
+ const m = (E, F) => E + " " + a(F), S = (E) => {
365
+ const F = Math.floor(E);
366
+ return F < 10 ? `0${F}` : `${F}`;
367
367
  };
368
368
  if (i < 1440) {
369
- const E = i / 60, k = i % 60, W = (k - Math.floor(k)) * 60;
370
- return [E, k, W].map((G) => S(G)).join(":");
369
+ const E = i / 60, F = i % 60, G = (F - Math.floor(F)) * 60;
370
+ return [E, F, G].map((H) => S(H)).join(":");
371
371
  }
372
- return h(Math.ceil(i / (60 * 24)), "days");
372
+ return m(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
  () => {
378
- u && o && c();
378
+ u && o && r();
379
379
  },
380
380
  1e3
381
381
  );
@@ -383,57 +383,57 @@ function gt(n, t, e) {
383
383
  clearInterval(i);
384
384
  };
385
385
  });
386
- function A(i) {
387
- $[i ? "unshift" : "push"](() => {
388
- _ = i, e(3, _);
386
+ function W(i) {
387
+ tt[i ? "unshift" : "push"](() => {
388
+ y = i, e(3, y);
389
389
  });
390
390
  }
391
391
  return n.$$set = (i) => {
392
- "startdate" in i && e(0, u = i.startdate), "enddate" in i && e(1, o = i.enddate), "status" in i && e(2, d = i.status), "lang" in i && e(12, g = i.lang), "clientstyling" in i && e(13, T = i.clientstyling), "clientstylingurl" in i && e(14, b = i.clientstylingurl), "translationurl" in i && e(15, m = i.translationurl), "mbsource" in i && e(16, P = i.mbsource);
392
+ "startdate" in i && e(0, u = i.startdate), "enddate" in i && e(1, o = i.enddate), "status" in i && e(2, d = i.status), "lang" in i && e(12, f = i.lang), "clientstyling" in i && e(13, T = i.clientstyling), "clientstylingurl" in i && e(14, b = i.clientstylingurl), "translationurl" in i && e(15, g = i.translationurl), "mbsource" in i && e(16, P = i.mbsource);
393
393
  }, n.$$.update = () => {
394
394
  n.$$.dirty & /*tournamentLeftDays, startdate, enddate*/
395
395
  19 && e(7, s = () => {
396
396
  if (D <= 0)
397
397
  return 100;
398
- const i = F(u, o), h = 100 / i;
399
- return Math.floor((i - D) * h);
398
+ const i = c(u, o), m = 100 / i;
399
+ return Math.floor((i - D) * m);
400
400
  }), n.$$.dirty & /*startdate, enddate, tournamentLeftDays*/
401
- 19 && u && o && c() && f(D), n.$$.dirty & /*lang*/
402
- 4096 && g && c(), n.$$.dirty & /*lang, tournamentLeftDays*/
403
- 4112 && g && f(D), n.$$.dirty & /*translationurl*/
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`);
401
+ 19 && u && o && r() && N(D), n.$$.dirty & /*lang*/
402
+ 4096 && f && r(), n.$$.dirty & /*lang, tournamentLeftDays*/
403
+ 4112 && f && N(D), n.$$.dirty & /*translationurl*/
404
+ 32768 && g && L(), n.$$.dirty & /*clientstyling, customStylingContainer*/
405
+ 8200 && T && y && et(y, T), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
406
+ 16392 && b && y && nt(y, b), n.$$.dirty & /*mbsource, customStylingContainer*/
407
+ 65544 && P && y && it(y, `${P}.Style`, I);
408
408
  }, [
409
409
  u,
410
410
  o,
411
411
  d,
412
- _,
412
+ y,
413
413
  D,
414
- j,
415
414
  C,
415
+ _,
416
416
  s,
417
417
  a,
418
- c,
419
418
  r,
419
+ p,
420
+ N,
420
421
  f,
421
- g,
422
422
  T,
423
423
  b,
424
- m,
424
+ g,
425
425
  P,
426
- A
426
+ W
427
427
  ];
428
428
  }
429
- class mt extends J {
429
+ class ht extends K {
430
430
  constructor(t) {
431
- super(), K(
431
+ super(), Y(
432
432
  this,
433
433
  t,
434
+ mt,
434
435
  gt,
435
- ft,
436
- Y,
436
+ Z,
437
437
  {
438
438
  startdate: 0,
439
439
  enddate: 1,
@@ -444,7 +444,7 @@ class mt extends J {
444
444
  translationurl: 15,
445
445
  mbsource: 16
446
446
  },
447
- rt
447
+ at
448
448
  );
449
449
  }
450
450
  get startdate() {
@@ -496,7 +496,7 @@ class mt extends J {
496
496
  this.$$set({ mbsource: t }), z();
497
497
  }
498
498
  }
499
- it(mt, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
499
+ st(ht, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
500
500
  export {
501
- mt as default
501
+ ht as default
502
502
  };