@everymatrix/casino-tournaments-slider-controller 1.45.0 → 1.45.2

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.
@@ -2,42 +2,42 @@ var At = Object.defineProperty, Et = Object.defineProperties;
2
2
  var zt = Object.getOwnPropertyDescriptors;
3
3
  var ft = Object.getOwnPropertySymbols;
4
4
  var Rt = Object.prototype.hasOwnProperty, Pt = Object.prototype.propertyIsEnumerable;
5
- var st = (e, t, n) => t in e ? At(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
5
+ var it = (e, t, n) => t in e ? At(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Rt.call(t, n) && st(e, n, t[n]);
7
+ Rt.call(t, n) && it(e, n, t[n]);
8
8
  if (ft)
9
9
  for (var n of ft(t))
10
- Pt.call(t, n) && st(e, n, t[n]);
10
+ Pt.call(t, n) && it(e, n, t[n]);
11
11
  return e;
12
12
  }, dt = (e, t) => Et(e, zt(t));
13
- var S = (e, t, n) => st(e, typeof t != "symbol" ? t + "" : t, n);
14
- var gt = (e, t, n) => new Promise((s, a) => {
15
- var r = (o) => {
13
+ var S = (e, t, n) => it(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var gt = (e, t, n) => new Promise((i, o) => {
15
+ var r = (a) => {
16
16
  try {
17
- i(n.next(o));
17
+ s(n.next(a));
18
18
  } catch (c) {
19
- a(c);
19
+ o(c);
20
20
  }
21
- }, l = (o) => {
21
+ }, l = (a) => {
22
22
  try {
23
- i(n.throw(o));
23
+ s(n.throw(a));
24
24
  } catch (c) {
25
- a(c);
25
+ o(c);
26
26
  }
27
- }, i = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(r, l);
28
- i((n = n.apply(e, t)).next());
27
+ }, s = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(r, l);
28
+ s((n = n.apply(e, t)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
32
  const Lt = (e) => e;
33
- function yt(e) {
33
+ function bt(e) {
34
34
  return e();
35
35
  }
36
36
  function mt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
39
  function B(e) {
40
- e.forEach(yt);
40
+ e.forEach(bt);
41
41
  }
42
42
  function ct(e) {
43
43
  return typeof e == "function";
@@ -54,8 +54,8 @@ function Mt(e) {
54
54
  }
55
55
  function It(e, ...t) {
56
56
  if (e == null) {
57
- for (const s of t)
58
- s(void 0);
57
+ for (const i of t)
58
+ i(void 0);
59
59
  return I;
60
60
  }
61
61
  const n = e.subscribe(...t);
@@ -64,36 +64,33 @@ function It(e, ...t) {
64
64
  function pe(e, t, n) {
65
65
  e.$$.on_destroy.push(It(t, n));
66
66
  }
67
- function _e(e) {
68
- return e == null ? "" : e;
69
- }
70
- const bt = typeof window != "undefined";
71
- let Ot = bt ? () => window.performance.now() : () => Date.now(), ot = bt ? (e) => requestAnimationFrame(e) : I;
72
- const N = /* @__PURE__ */ new Set();
73
- function kt(e) {
74
- N.forEach((t) => {
75
- t.c(e) || (N.delete(t), t.f());
76
- }), N.size !== 0 && ot(kt);
67
+ const kt = typeof window != "undefined";
68
+ let Ut = kt ? () => window.performance.now() : () => Date.now(), at = kt ? (e) => requestAnimationFrame(e) : I;
69
+ const D = /* @__PURE__ */ new Set();
70
+ function vt(e) {
71
+ D.forEach((t) => {
72
+ t.c(e) || (D.delete(t), t.f());
73
+ }), D.size !== 0 && at(vt);
77
74
  }
78
- function Ut(e) {
75
+ function jt(e) {
79
76
  let t;
80
- return N.size === 0 && ot(kt), {
77
+ return D.size === 0 && at(vt), {
81
78
  promise: new Promise((n) => {
82
- N.add(t = { c: e, f: n });
79
+ D.add(t = { c: e, f: n });
83
80
  }),
84
81
  abort() {
85
- N.delete(t);
82
+ D.delete(t);
86
83
  }
87
84
  };
88
85
  }
89
- function v(e, t) {
86
+ function y(e, t) {
90
87
  e.appendChild(t);
91
88
  }
92
- function jt(e, t, n) {
93
- const s = ut(e);
94
- if (!s.getElementById(t)) {
95
- const a = A("style");
96
- a.id = t, a.textContent = n, xt(s, a);
89
+ function Ot(e, t, n) {
90
+ const i = ut(e);
91
+ if (!i.getElementById(t)) {
92
+ const o = A("style");
93
+ o.id = t, o.textContent = n, xt(i, o);
97
94
  }
98
95
  }
99
96
  function ut(e) {
@@ -110,7 +107,7 @@ function Ht(e) {
110
107
  return t.textContent = "/* empty */", xt(ut(e), t), t.sheet;
111
108
  }
112
109
  function xt(e, t) {
113
- return v(
110
+ return y(
114
111
  /** @type {Document} */
115
112
  e.head || e,
116
113
  t
@@ -122,47 +119,47 @@ function nt(e, t, n) {
122
119
  function q(e) {
123
120
  e.parentNode && e.parentNode.removeChild(e);
124
121
  }
125
- function we(e, t) {
122
+ function _e(e, t) {
126
123
  for (let n = 0; n < e.length; n += 1)
127
124
  e[n] && e[n].d(t);
128
125
  }
129
126
  function A(e) {
130
127
  return document.createElement(e);
131
128
  }
132
- function ve(e) {
129
+ function we(e) {
133
130
  return document.createElementNS("http://www.w3.org/2000/svg", e);
134
131
  }
135
- function j(e) {
132
+ function O(e) {
136
133
  return document.createTextNode(e);
137
134
  }
138
135
  function J() {
139
- return j(" ");
136
+ return O(" ");
140
137
  }
141
- function ye(e, t, n, s) {
142
- return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
138
+ function ye(e, t, n, i) {
139
+ return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
143
140
  }
144
141
  function f(e, t, n) {
145
142
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
146
143
  }
147
144
  function be(e, t, n) {
148
- const s = t.toLowerCase();
149
- s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : f(e, t, n);
145
+ const i = t.toLowerCase();
146
+ i in e ? e[i] = typeof e[i] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : f(e, t, n);
150
147
  }
151
148
  function ke(e, t, n) {
152
149
  e.setAttributeNS("http://www.w3.org/1999/xlink", t, n);
153
150
  }
154
- function Nt(e) {
151
+ function Dt(e) {
155
152
  return Array.from(e.childNodes);
156
153
  }
157
154
  function Q(e, t) {
158
155
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
159
156
  t);
160
157
  }
161
- function xe(e, t, n, s) {
158
+ function ve(e, t, n, i) {
162
159
  e.style.setProperty(t, n, "");
163
160
  }
164
- function Dt(e, t, { bubbles: n = !1, cancelable: s = !1 } = {}) {
165
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: s });
161
+ function Nt(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
162
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: i });
166
163
  }
167
164
  function Bt(e) {
168
165
  const t = {};
@@ -184,30 +181,30 @@ function Ft(e, t) {
184
181
  const n = { stylesheet: Ht(t), rules: {} };
185
182
  return Y.set(e, n), n;
186
183
  }
187
- function pt(e, t, n, s, a, r, l, i = 0) {
188
- const o = 16.666 / s;
184
+ function pt(e, t, n, i, o, r, l, s = 0) {
185
+ const a = 16.666 / i;
189
186
  let c = `{
190
187
  `;
191
- for (let m = 0; m <= 1; m += o) {
188
+ for (let m = 0; m <= 1; m += a) {
192
189
  const C = t + (n - t) * r(m);
193
190
  c += m * 100 + `%{${l(C, 1 - C)}}
194
191
  `;
195
192
  }
196
193
  const p = c + `100% {${l(n, 1 - n)}}
197
- }`, d = `__svelte_${qt(p)}_${i}`, g = ut(e), { stylesheet: w, rules: h } = Y.get(g) || Ft(g, e);
194
+ }`, d = `__svelte_${qt(p)}_${s}`, g = ut(e), { stylesheet: w, rules: h } = Y.get(g) || Ft(g, e);
198
195
  h[d] || (h[d] = !0, w.insertRule(`@keyframes ${d} ${p}`, w.cssRules.length));
199
- const y = e.style.animation || "";
200
- return e.style.animation = `${y ? `${y}, ` : ""}${d} ${s}ms linear ${a}ms 1 both`, tt += 1, d;
196
+ const b = e.style.animation || "";
197
+ return e.style.animation = `${b ? `${b}, ` : ""}${d} ${i}ms linear ${o}ms 1 both`, tt += 1, d;
201
198
  }
202
199
  function Jt(e, t) {
203
- const n = (e.style.animation || "").split(", "), s = n.filter(
200
+ const n = (e.style.animation || "").split(", "), i = n.filter(
204
201
  t ? (r) => r.indexOf(t) < 0 : (r) => r.indexOf("__svelte") === -1
205
202
  // remove all Svelte animations
206
- ), a = n.length - s.length;
207
- a && (e.style.animation = s.join(", "), tt -= a, tt || Vt());
203
+ ), o = n.length - i.length;
204
+ o && (e.style.animation = i.join(", "), tt -= o, tt || Vt());
208
205
  }
209
206
  function Vt() {
210
- ot(() => {
207
+ at(() => {
211
208
  tt || (Y.forEach((e) => {
212
209
  const { ownerNode: t } = e.stylesheet;
213
210
  t && q(t);
@@ -225,41 +222,41 @@ function Zt() {
225
222
  function Gt(e) {
226
223
  Zt().$$.on_mount.push(e);
227
224
  }
228
- const H = [], at = [];
229
- let D = [];
225
+ const H = [], ot = [];
226
+ let N = [];
230
227
  const _t = [], Kt = /* @__PURE__ */ Promise.resolve();
231
228
  let lt = !1;
232
229
  function Qt() {
233
230
  lt || (lt = !0, Kt.then(R));
234
231
  }
235
232
  function et(e) {
236
- D.push(e);
233
+ N.push(e);
237
234
  }
238
- const it = /* @__PURE__ */ new Set();
239
- let U = 0;
235
+ const st = /* @__PURE__ */ new Set();
236
+ let j = 0;
240
237
  function R() {
241
- if (U !== 0)
238
+ if (j !== 0)
242
239
  return;
243
240
  const e = G;
244
241
  do {
245
242
  try {
246
- for (; U < H.length; ) {
247
- const t = H[U];
248
- U++, Z(t), Wt(t.$$);
243
+ for (; j < H.length; ) {
244
+ const t = H[j];
245
+ j++, Z(t), Wt(t.$$);
249
246
  }
250
247
  } catch (t) {
251
- throw H.length = 0, U = 0, t;
248
+ throw H.length = 0, j = 0, t;
252
249
  }
253
- for (Z(null), H.length = 0, U = 0; at.length; ) at.pop()();
254
- for (let t = 0; t < D.length; t += 1) {
255
- const n = D[t];
256
- it.has(n) || (it.add(n), n());
250
+ for (Z(null), H.length = 0, j = 0; ot.length; ) ot.pop()();
251
+ for (let t = 0; t < N.length; t += 1) {
252
+ const n = N[t];
253
+ st.has(n) || (st.add(n), n());
257
254
  }
258
- D.length = 0;
255
+ N.length = 0;
259
256
  } while (H.length);
260
257
  for (; _t.length; )
261
258
  _t.pop()();
262
- lt = !1, it.clear(), Z(e);
259
+ lt = !1, st.clear(), Z(e);
263
260
  }
264
261
  function Wt(e) {
265
262
  if (e.fragment !== null) {
@@ -270,7 +267,7 @@ function Wt(e) {
270
267
  }
271
268
  function Xt(e) {
272
269
  const t = [], n = [];
273
- D.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), D = t;
270
+ N.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), N = t;
274
271
  }
275
272
  let V;
276
273
  function Yt() {
@@ -279,11 +276,11 @@ function Yt() {
279
276
  })), V;
280
277
  }
281
278
  function rt(e, t, n) {
282
- e.dispatchEvent(Dt(`${t ? "intro" : "outro"}${n}`));
279
+ e.dispatchEvent(Nt(`${t ? "intro" : "outro"}${n}`));
283
280
  }
284
281
  const W = /* @__PURE__ */ new Set();
285
282
  let M;
286
- function Ce() {
283
+ function xe() {
287
284
  M = {
288
285
  r: 0,
289
286
  c: [],
@@ -291,71 +288,71 @@ function Ce() {
291
288
  // parent group
292
289
  };
293
290
  }
294
- function Se() {
291
+ function Ce() {
295
292
  M.r || B(M.c), M = M.p;
296
293
  }
297
294
  function te(e, t) {
298
295
  e && e.i && (W.delete(e), e.i(t));
299
296
  }
300
- function Ae(e, t, n, s) {
297
+ function Se(e, t, n, i) {
301
298
  if (e && e.o) {
302
299
  if (W.has(e)) return;
303
300
  W.add(e), M.c.push(() => {
304
- W.delete(e), s && (n && e.d(1), s());
301
+ W.delete(e), i && (n && e.d(1), i());
305
302
  }), e.o(t);
306
- } else s && s();
303
+ } else i && i();
307
304
  }
308
305
  const ee = { duration: 0 };
309
- function Ee(e, t, n, s) {
310
- let r = t(e, n, { direction: "both" }), l = s ? 0 : 1, i = null, o = null, c = null, p;
306
+ function Ae(e, t, n, i) {
307
+ let r = t(e, n, { direction: "both" }), l = i ? 0 : 1, s = null, a = null, c = null, p;
311
308
  function d() {
312
309
  c && Jt(e, c);
313
310
  }
314
- function g(h, y) {
311
+ function g(h, b) {
315
312
  const m = (
316
313
  /** @type {Program['d']} */
317
314
  h.b - l
318
315
  );
319
- return y *= Math.abs(m), {
316
+ return b *= Math.abs(m), {
320
317
  a: l,
321
318
  b: h.b,
322
319
  d: m,
323
- duration: y,
320
+ duration: b,
324
321
  start: h.start,
325
- end: h.start + y,
322
+ end: h.start + b,
326
323
  group: h.group
327
324
  };
328
325
  }
329
326
  function w(h) {
330
327
  const {
331
- delay: y = 0,
328
+ delay: b = 0,
332
329
  duration: m = 300,
333
330
  easing: C = Lt,
334
331
  tick: E = I,
335
- css: k
336
- } = r || ee, b = {
337
- start: Ot() + y,
332
+ css: v
333
+ } = r || ee, k = {
334
+ start: Ut() + b,
338
335
  b: h
339
336
  };
340
- h || (b.group = M, M.r += 1), "inert" in e && (h ? p !== void 0 && (e.inert = p) : (p = /** @type {HTMLElement} */
341
- e.inert, e.inert = !0)), i || o ? o = b : (k && (d(), c = pt(e, l, h, m, y, C, k)), h && E(0, 1), i = g(b, m), et(() => rt(e, h, "start")), Ut((P) => {
342
- if (o && P > o.start && (i = g(o, m), o = null, rt(e, i.b, "start"), k && (d(), c = pt(
337
+ h || (k.group = M, M.r += 1), "inert" in e && (h ? p !== void 0 && (e.inert = p) : (p = /** @type {HTMLElement} */
338
+ e.inert, e.inert = !0)), s || a ? a = k : (v && (d(), c = pt(e, l, h, m, b, C, v)), h && E(0, 1), s = g(k, m), et(() => rt(e, h, "start")), jt((P) => {
339
+ if (a && P > a.start && (s = g(a, m), a = null, rt(e, s.b, "start"), v && (d(), c = pt(
343
340
  e,
344
341
  l,
345
- i.b,
346
- i.duration,
342
+ s.b,
343
+ s.duration,
347
344
  0,
348
345
  C,
349
346
  r.css
350
- ))), i) {
351
- if (P >= i.end)
352
- E(l = i.b, 1 - l), rt(e, i.b, "end"), o || (i.b ? d() : --i.group.r || B(i.group.c)), i = null;
353
- else if (P >= i.start) {
354
- const T = P - i.start;
355
- l = i.a + i.d * C(T / i.duration), E(l, 1 - l);
347
+ ))), s) {
348
+ if (P >= s.end)
349
+ E(l = s.b, 1 - l), rt(e, s.b, "end"), a || (s.b ? d() : --s.group.r || B(s.group.c)), s = null;
350
+ else if (P >= s.start) {
351
+ const T = P - s.start;
352
+ l = s.a + s.d * C(T / s.duration), E(l, 1 - l);
356
353
  }
357
354
  }
358
- return !!(i || o);
355
+ return !!(s || a);
359
356
  }));
360
357
  }
361
358
  return {
@@ -365,29 +362,29 @@ function Ee(e, t, n, s) {
365
362
  }) : w(h);
366
363
  },
367
364
  end() {
368
- d(), i = o = null;
365
+ d(), s = a = null;
369
366
  }
370
367
  };
371
368
  }
372
- function ze(e) {
369
+ function Ee(e) {
373
370
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
374
371
  }
375
372
  function ne(e, t, n) {
376
- const { fragment: s, after_update: a } = e.$$;
377
- s && s.m(t, n), et(() => {
378
- const r = e.$$.on_mount.map(yt).filter(ct);
373
+ const { fragment: i, after_update: o } = e.$$;
374
+ i && i.m(t, n), et(() => {
375
+ const r = e.$$.on_mount.map(bt).filter(ct);
379
376
  e.$$.on_destroy ? e.$$.on_destroy.push(...r) : B(r), e.$$.on_mount = [];
380
- }), a.forEach(et);
377
+ }), o.forEach(et);
381
378
  }
382
- function se(e, t) {
379
+ function ie(e, t) {
383
380
  const n = e.$$;
384
381
  n.fragment !== null && (Xt(n.after_update), B(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
385
382
  }
386
- function ie(e, t) {
383
+ function se(e, t) {
387
384
  e.$$.dirty[0] === -1 && (H.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
388
385
  }
389
- function re(e, t, n, s, a, r, l = null, i = [-1]) {
390
- const o = G;
386
+ function re(e, t, n, i, o, r, l = null, s = [-1]) {
387
+ const a = G;
391
388
  Z(e);
392
389
  const c = e.$$ = {
393
390
  fragment: null,
@@ -395,7 +392,7 @@ function re(e, t, n, s, a, r, l = null, i = [-1]) {
395
392
  // state
396
393
  props: r,
397
394
  update: I,
398
- not_equal: a,
395
+ not_equal: o,
399
396
  bound: mt(),
400
397
  // lifecycle
401
398
  on_mount: [],
@@ -403,31 +400,31 @@ function re(e, t, n, s, a, r, l = null, i = [-1]) {
403
400
  on_disconnect: [],
404
401
  before_update: [],
405
402
  after_update: [],
406
- context: new Map(t.context || (o ? o.$$.context : [])),
403
+ context: new Map(t.context || (a ? a.$$.context : [])),
407
404
  // everything else
408
405
  callbacks: mt(),
409
- dirty: i,
406
+ dirty: s,
410
407
  skip_bound: !1,
411
- root: t.target || o.$$.root
408
+ root: t.target || a.$$.root
412
409
  };
413
410
  l && l(c.root);
414
411
  let p = !1;
415
412
  if (c.ctx = n ? n(e, t.props || {}, (d, g, ...w) => {
416
413
  const h = w.length ? w[0] : g;
417
- return c.ctx && a(c.ctx[d], c.ctx[d] = h) && (!c.skip_bound && c.bound[d] && c.bound[d](h), p && ie(e, d)), g;
418
- }) : [], c.update(), p = !0, B(c.before_update), c.fragment = s ? s(c.ctx) : !1, t.target) {
414
+ return c.ctx && o(c.ctx[d], c.ctx[d] = h) && (!c.skip_bound && c.bound[d] && c.bound[d](h), p && se(e, d)), g;
415
+ }) : [], c.update(), p = !0, B(c.before_update), c.fragment = i ? i(c.ctx) : !1, t.target) {
419
416
  if (t.hydrate) {
420
- const d = Nt(t.target);
417
+ const d = Dt(t.target);
421
418
  c.fragment && c.fragment.l(d), d.forEach(q);
422
419
  } else
423
420
  c.fragment && c.fragment.c();
424
421
  t.intro && te(e.$$.fragment), ne(e, t.target, t.anchor), R();
425
422
  }
426
- Z(o);
423
+ Z(a);
427
424
  }
428
425
  let Ct;
429
426
  typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
430
- constructor(t, n, s) {
427
+ constructor(t, n, i) {
431
428
  super();
432
429
  /** The Svelte component constructor */
433
430
  S(this, "$$ctor");
@@ -447,19 +444,19 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
447
444
  S(this, "$$l", {});
448
445
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
449
446
  S(this, "$$l_u", /* @__PURE__ */ new Map());
450
- this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
447
+ this.$$ctor = t, this.$$s = n, i && this.attachShadow({ mode: "open" });
451
448
  }
452
- addEventListener(t, n, s) {
449
+ addEventListener(t, n, i) {
453
450
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
454
- const a = this.$$c.$on(t, n);
455
- this.$$l_u.set(n, a);
451
+ const o = this.$$c.$on(t, n);
452
+ this.$$l_u.set(n, o);
456
453
  }
457
- super.addEventListener(t, n, s);
454
+ super.addEventListener(t, n, i);
458
455
  }
459
- removeEventListener(t, n, s) {
460
- if (super.removeEventListener(t, n, s), this.$$c) {
461
- const a = this.$$l_u.get(n);
462
- a && (a(), this.$$l_u.delete(n));
456
+ removeEventListener(t, n, i) {
457
+ if (super.removeEventListener(t, n, i), this.$$c) {
458
+ const o = this.$$l_u.get(n);
459
+ o && (o(), this.$$l_u.delete(n));
463
460
  }
464
461
  }
465
462
  connectedCallback() {
@@ -487,9 +484,9 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
487
484
  };
488
485
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
489
486
  return;
490
- const n = {}, s = Bt(this);
487
+ const n = {}, i = Bt(this);
491
488
  for (const r of this.$$s)
492
- r in s && (n[r] = [t(r)]);
489
+ r in i && (n[r] = [t(r)]);
493
490
  for (const r of this.attributes) {
494
491
  const l = this.$$g_p(r.name);
495
492
  l in this.$$d || (this.$$d[l] = X(l, r.value, this.$$p_d, "toProp"));
@@ -505,7 +502,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
505
502
  }
506
503
  })
507
504
  });
508
- const a = () => {
505
+ const o = () => {
509
506
  this.$$r = !0;
510
507
  for (const r in this.$$p_d)
511
508
  if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
@@ -519,11 +516,11 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
519
516
  }
520
517
  this.$$r = !1;
521
518
  };
522
- this.$$c.$$.after_update.push(a), a();
519
+ this.$$c.$$.after_update.push(o), o();
523
520
  for (const r in this.$$l)
524
521
  for (const l of this.$$l[r]) {
525
- const i = this.$$c.$on(r, l);
526
- this.$$l_u.set(l, i);
522
+ const s = this.$$c.$on(r, l);
523
+ this.$$l_u.set(l, s);
527
524
  }
528
525
  this.$$l = {};
529
526
  }
@@ -531,9 +528,9 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
531
528
  }
532
529
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
533
530
  // and setting attributes through setAttribute etc, this is helpful
534
- attributeChangedCallback(t, n, s) {
535
- var a;
536
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = X(t, s, this.$$p_d, "toProp"), (a = this.$$c) == null || a.$set({ [t]: this.$$d[t] }));
531
+ attributeChangedCallback(t, n, i) {
532
+ var o;
533
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = X(t, i, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
537
534
  }
538
535
  disconnectedCallback() {
539
536
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -546,13 +543,13 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
546
543
  ) || t;
547
544
  }
548
545
  });
549
- function X(e, t, n, s) {
546
+ function X(e, t, n, i) {
550
547
  var r;
551
- const a = (r = n[e]) == null ? void 0 : r.type;
552
- if (t = a === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
548
+ const o = (r = n[e]) == null ? void 0 : r.type;
549
+ if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
553
550
  return t;
554
- if (s === "toAttribute")
555
- switch (a) {
551
+ if (i === "toAttribute")
552
+ switch (o) {
556
553
  case "Object":
557
554
  case "Array":
558
555
  return t == null ? null : JSON.stringify(t);
@@ -564,7 +561,7 @@ function X(e, t, n, s) {
564
561
  return t;
565
562
  }
566
563
  else
567
- switch (a) {
564
+ switch (o) {
568
565
  case "Object":
569
566
  case "Array":
570
567
  return t && JSON.parse(t);
@@ -576,32 +573,32 @@ function X(e, t, n, s) {
576
573
  return t;
577
574
  }
578
575
  }
579
- function ae(e, t, n, s, a, r) {
576
+ function oe(e, t, n, i, o, r) {
580
577
  let l = class extends Ct {
581
578
  constructor() {
582
- super(e, n, a), this.$$p_d = t;
579
+ super(e, n, o), this.$$p_d = t;
583
580
  }
584
581
  static get observedAttributes() {
585
582
  return Object.keys(t).map(
586
- (i) => (t[i].attribute || i).toLowerCase()
583
+ (s) => (t[s].attribute || s).toLowerCase()
587
584
  );
588
585
  }
589
586
  };
590
- return Object.keys(t).forEach((i) => {
591
- Object.defineProperty(l.prototype, i, {
587
+ return Object.keys(t).forEach((s) => {
588
+ Object.defineProperty(l.prototype, s, {
592
589
  get() {
593
- return this.$$c && i in this.$$c ? this.$$c[i] : this.$$d[i];
590
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
594
591
  },
595
- set(o) {
592
+ set(a) {
596
593
  var c;
597
- o = X(i, o, t), this.$$d[i] = o, (c = this.$$c) == null || c.$set({ [i]: o });
594
+ a = X(s, a, t), this.$$d[s] = a, (c = this.$$c) == null || c.$set({ [s]: a });
598
595
  }
599
596
  });
600
- }), s.forEach((i) => {
601
- Object.defineProperty(l.prototype, i, {
597
+ }), i.forEach((s) => {
598
+ Object.defineProperty(l.prototype, s, {
602
599
  get() {
603
- var o;
604
- return (o = this.$$c) == null ? void 0 : o[i];
600
+ var a;
601
+ return (a = this.$$c) == null ? void 0 : a[s];
605
602
  }
606
603
  });
607
604
  }), e.element = /** @type {any} */
@@ -628,7 +625,7 @@ class le {
628
625
  }
629
626
  /** @returns {void} */
630
627
  $destroy() {
631
- se(this, 1), this.$destroy = I;
628
+ ie(this, 1), this.$destroy = I;
632
629
  }
633
630
  /**
634
631
  * @template {Extract<keyof Events, string>} K
@@ -639,10 +636,10 @@ class le {
639
636
  $on(t, n) {
640
637
  if (!ct(n))
641
638
  return I;
642
- const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
643
- return s.push(n), () => {
644
- const a = s.indexOf(n);
645
- a !== -1 && s.splice(a, 1);
639
+ const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
640
+ return i.push(n), () => {
641
+ const o = i.indexOf(n);
642
+ o !== -1 && i.splice(o, 1);
646
643
  };
647
644
  }
648
645
  /**
@@ -655,32 +652,32 @@ class le {
655
652
  }
656
653
  const ce = "4";
657
654
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ce);
658
- const oe = "data:image/svg+xml,%3csvg%20width='17'%20height='17'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='award'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20384%20512'%20class='svg-inline--fa%20fa-award%20fa-w-12%20fa-3x'%3e%3cpath%20fill='currentColor'%20d='M97.12%20362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2%20448.7c-4.39%2010.77%203.81%2022.47%2015.43%2022.03l52.69-2.01L105.56%20507c8%208.44%2022.04%205.81%2026.43-4.96l52.05-127.62c-10.84%206.04-22.87%209.58-35.31%209.58-19.5%200-37.82-7.59-51.61-21.37zM382.8%20448.7l-45.37-111.24c-7.56%205.88-15.92%2010.77-25.43%2013.32-21.07%205.64-16.45%203.18-25.12%2011.85-13.79%2013.78-32.12%2021.37-51.62%2021.37-12.44%200-24.47-3.55-35.31-9.58L252%20502.04c4.39%2010.77%2018.44%2013.4%2026.43%204.96l36.25-38.28%2052.69%202.01c11.62.44%2019.82-11.27%2015.43-22.03zM263%20340c15.28-15.55%2017.03-14.21%2038.79-20.14%2013.89-3.79%2024.75-14.84%2028.47-28.98%207.48-28.4%205.54-24.97%2025.95-45.75%2010.17-10.35%2014.14-25.44%2010.42-39.58-7.47-28.38-7.48-24.42%200-52.83%203.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87%207.6-23.98%207.61-51.9%200-13.89-3.79-28.72.25-38.89%2010.61-20.41%2020.78-17.05%2018.8-44.94%2026.41-13.89%203.79-24.75%2014.84-28.47%2028.98-7.47%2028.39-5.54%2024.97-25.95%2045.75-10.17%2010.35-14.15%2025.44-10.42%2039.58%207.47%2028.36%207.48%2024.4%200%2052.82-3.72%2014.14.25%2029.23%2010.42%2039.59%2020.41%2020.78%2018.47%2017.35%2025.95%2045.75%203.72%2014.14%2014.58%2025.19%2028.47%2028.98C104.6%20325.96%20106.27%20325%20121%20340c13.23%2013.47%2033.84%2015.88%2049.74%205.82a39.676%2039.676%200%200%201%2042.53%200c15.89%2010.06%2036.5%207.65%2049.73-5.82zM97.66%20175.96c0-53.03%2042.24-96.02%2094.34-96.02s94.34%2042.99%2094.34%2096.02-42.24%2096.02-94.34%2096.02-94.34-42.99-94.34-96.02z'%20class=''%3e%3c/path%3e%3c/svg%3e", ue = "data:image/svg+xml,%3csvg%20width='17'%20height='17'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='user'%20class='svg-inline--fa%20fa-user'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20448%20512'%3e%3cpath%20fill='currentColor'%20d='M224%20256c70.7%200%20128-57.31%20128-128s-57.3-128-128-128C153.3%200%2096%2057.31%2096%20128S153.3%20256%20224%20256zM274.7%20304H173.3C77.61%20304%200%20381.6%200%20477.3c0%2019.14%2015.52%2034.67%2034.66%2034.67h378.7C432.5%20512%20448%20496.5%20448%20477.3C448%20381.6%20370.4%20304%20274.7%20304z'%3e%3c/path%3e%3c/svg%3e", fe = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", he = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
655
+ const ae = "data:image/svg+xml,%3csvg%20width='17'%20height='17'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='award'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20384%20512'%20class='svg-inline--fa%20fa-award%20fa-w-12%20fa-3x'%3e%3cpath%20fill='currentColor'%20d='M97.12%20362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2%20448.7c-4.39%2010.77%203.81%2022.47%2015.43%2022.03l52.69-2.01L105.56%20507c8%208.44%2022.04%205.81%2026.43-4.96l52.05-127.62c-10.84%206.04-22.87%209.58-35.31%209.58-19.5%200-37.82-7.59-51.61-21.37zM382.8%20448.7l-45.37-111.24c-7.56%205.88-15.92%2010.77-25.43%2013.32-21.07%205.64-16.45%203.18-25.12%2011.85-13.79%2013.78-32.12%2021.37-51.62%2021.37-12.44%200-24.47-3.55-35.31-9.58L252%20502.04c4.39%2010.77%2018.44%2013.4%2026.43%204.96l36.25-38.28%2052.69%202.01c11.62.44%2019.82-11.27%2015.43-22.03zM263%20340c15.28-15.55%2017.03-14.21%2038.79-20.14%2013.89-3.79%2024.75-14.84%2028.47-28.98%207.48-28.4%205.54-24.97%2025.95-45.75%2010.17-10.35%2014.14-25.44%2010.42-39.58-7.47-28.38-7.48-24.42%200-52.83%203.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87%207.6-23.98%207.61-51.9%200-13.89-3.79-28.72.25-38.89%2010.61-20.41%2020.78-17.05%2018.8-44.94%2026.41-13.89%203.79-24.75%2014.84-28.47%2028.98-7.47%2028.39-5.54%2024.97-25.95%2045.75-10.17%2010.35-14.15%2025.44-10.42%2039.58%207.47%2028.36%207.48%2024.4%200%2052.82-3.72%2014.14.25%2029.23%2010.42%2039.59%2020.41%2020.78%2018.47%2017.35%2025.95%2045.75%203.72%2014.14%2014.58%2025.19%2028.47%2028.98C104.6%20325.96%20106.27%20325%20121%20340c13.23%2013.47%2033.84%2015.88%2049.74%205.82a39.676%2039.676%200%200%201%2042.53%200c15.89%2010.06%2036.5%207.65%2049.73-5.82zM97.66%20175.96c0-53.03%2042.24-96.02%2094.34-96.02s94.34%2042.99%2094.34%2096.02-42.24%2096.02-94.34%2096.02-94.34-42.99-94.34-96.02z'%20class=''%3e%3c/path%3e%3c/svg%3e", ue = "data:image/svg+xml,%3csvg%20width='17'%20height='17'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='user'%20class='svg-inline--fa%20fa-user'%20role='img'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20448%20512'%3e%3cpath%20fill='currentColor'%20d='M224%20256c70.7%200%20128-57.31%20128-128s-57.3-128-128-128C153.3%200%2096%2057.31%2096%20128S153.3%20256%20224%20256zM274.7%20304H173.3C77.61%20304%200%20381.6%200%20477.3c0%2019.14%2015.52%2034.67%2034.66%2034.67h378.7C432.5%20512%20448%20496.5%20448%20477.3C448%20381.6%20370.4%20304%20274.7%20304z'%3e%3c/path%3e%3c/svg%3e", fe = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", he = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
659
656
  function de(e) {
660
- jt(e, "svelte-1a60cag", ".row.svelte-1a60cag.svelte-1a60cag{display:flex}.row.svelte-1a60cag .RankSec.svelte-1a60cag,.row.svelte-1a60cag .PrizeSec.svelte-1a60cag{width:49%}.col.svelte-1a60cag.svelte-1a60cag{display:inline-block}.RankSec.svelte-1a60cag.svelte-1a60cag,.PrizeSec.svelte-1a60cag.svelte-1a60cag{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec.svelte-1a60cag span.svelte-1a60cag,.PrizeSec.svelte-1a60cag span.svelte-1a60cag{text-align:center}.casino-tournaments-rank.svelte-1a60cag.svelte-1a60cag{background:transparent;min-height:22px;width:100%}.Icon.svelte-1a60cag.svelte-1a60cag{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.RankInfo.svelte-1a60cag.svelte-1a60cag{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up.svelte-1a60cag.svelte-1a60cag,.svg.Arrow.Down.svelte-1a60cag.svelte-1a60cag{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show.svelte-1a60cag.svelte-1a60cag,.svg.Arrow.Down.Show.svelte-1a60cag.svelte-1a60cag{display:inline-flex}.svg.Arrow.Up.Hidden.svelte-1a60cag.svelte-1a60cag,.svg.Arrow.Down.Hidden.svelte-1a60cag.svelte-1a60cag{display:none}.svg.Arrow.Up.svelte-1a60cag.svelte-1a60cag,.svg.Arrow.Down.svelte-1a60cag.svelte-1a60cag{animation-name:svelte-1a60cag-twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes svelte-1a60cag-twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
657
+ Ot(e, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
661
658
  }
662
659
  function wt(e) {
663
660
  let t;
664
661
  return {
665
662
  c() {
666
- t = A("span"), t.innerHTML = `<img alt="user" src="${ue}"/>`, f(t, "class", "Icon UserIcon svelte-1a60cag"), f(t, "part", "Icon UserIcon");
663
+ t = A("span"), t.innerHTML = `<img alt="user" src="${ue}"/>`, f(t, "class", "Icon UserIcon"), f(t, "part", "Icon UserIcon");
667
664
  },
668
- m(n, s) {
669
- nt(n, t, s);
665
+ m(n, i) {
666
+ nt(n, t, i);
670
667
  },
671
668
  d(n) {
672
669
  n && q(t);
673
670
  }
674
671
  };
675
672
  }
676
- function vt(e) {
673
+ function yt(e) {
677
674
  let t;
678
675
  return {
679
676
  c() {
680
- t = A("span"), t.innerHTML = `<img alt="prize" src="${oe}"/>`, f(t, "class", "Icon PrizeIcon svelte-1a60cag"), f(t, "part", "Icon PrizeIcon");
677
+ t = A("span"), t.innerHTML = `<img alt="prize" src="${ae}"/>`, f(t, "class", "Icon PrizeIcon"), f(t, "part", "Icon PrizeIcon");
681
678
  },
682
- m(n, s) {
683
- nt(n, t, s);
679
+ m(n, i) {
680
+ nt(n, t, i);
684
681
  },
685
682
  d(n) {
686
683
  n && q(t);
@@ -688,7 +685,7 @@ function vt(e) {
688
685
  };
689
686
  }
690
687
  function ge(e) {
691
- let t, n, s, a, r, l = (
688
+ let t, n, i, o, r, l = (
692
689
  /*overallrank*/
693
690
  (e[1] == 0 ? "-" : (
694
691
  /*userrank*/
@@ -697,42 +694,42 @@ function ge(e) {
697
694
  e[0]
698
695
  ) : "-"
699
696
  )) + ""
700
- ), i, o, c = (
697
+ ), s, a, c = (
701
698
  /*overallrank*/
702
699
  (e[1] == 0 ? "-" : (
703
700
  /*overallrank*/
704
701
  e[1]
705
702
  )) + ""
706
- ), p, d, g, w, h, y, m, C, E, k, b, P, T, F, O, u, L, $ = (
703
+ ), p, d, g, w, h, b, m, C, E, v, k, P, T, F, U, u, L, $ = (
707
704
  /*showicon*/
708
705
  e[4] == "true" && wt()
709
706
  ), x = (
710
707
  /*showicon*/
711
- e[4] == "true" && vt()
708
+ e[4] == "true" && yt()
712
709
  );
713
710
  return {
714
711
  c() {
715
- t = A("div"), n = A("div"), $ && $.c(), s = J(), a = A("span"), r = j(
712
+ t = A("div"), n = A("div"), $ && $.c(), i = J(), o = A("span"), r = O(
716
713
  /*rankprefix*/
717
714
  e[3]
718
- ), i = j(l), o = j("/"), p = j(c), d = J(), g = A("img"), y = J(), m = A("img"), k = J(), b = A("div"), x && x.c(), P = J(), T = A("span"), F = j(
715
+ ), s = O(l), a = O("/"), p = O(c), d = J(), g = A("img"), b = J(), m = A("img"), v = J(), k = A("div"), x && x.c(), P = J(), T = A("span"), F = O(
719
716
  /*prize*/
720
717
  e[2]
721
718
  ), f(g, "part", "Rank_Arror_UP"), f(g, "alt", "Rank Up"), $t(g.src, w = fe) || f(g, "src", w), f(g, "width", "20"), f(g, "height", "20"), f(g, "class", h = "svg Arrow Up " + /*userRankChanged*/
722
719
  (e[7] && /*isRankingUp*/
723
- e[8] ? "Show" : "Hidden") + " svelte-1a60cag"), f(m, "part", "Rank_Arror_Down"), f(m, "alt", "Rank Down"), $t(m.src, C = he) || f(m, "src", C), f(m, "width", "10"), f(m, "height", "10"), f(m, "class", E = "svg Arrow Down " + /*userRankChanged*/
720
+ e[8] ? "Show" : "Hidden")), f(m, "part", "Rank_Arror_Down"), f(m, "alt", "Rank Down"), $t(m.src, C = he) || f(m, "src", C), f(m, "width", "10"), f(m, "height", "10"), f(m, "class", E = "svg Arrow Down " + /*userRankChanged*/
724
721
  (e[7] && !/*isRankingUp*/
725
- e[8] ? "Show" : "Hidden") + " svelte-1a60cag"), f(a, "class", "RankInfo svelte-1a60cag"), f(a, "part", "RankText"), f(n, "class", "RankSec svelte-1a60cag"), f(n, "part", "Rank"), f(T, "class", "RankInfo UserPrize svelte-1a60cag"), f(T, "part", "PrizeText"), f(b, "class", O = /*displayin*/
726
- e[5] + " PrizeSec svelte-1a60cag"), f(b, "part", "Prize"), f(t, "class", u = /*displayin*/
727
- e[5] + " casino-tournaments-rank svelte-1a60cag"), f(t, "part", L = /*displayin*/
722
+ e[8] ? "Show" : "Hidden")), f(o, "class", "RankInfo"), f(o, "part", "RankText"), f(n, "class", "RankSec"), f(n, "part", "Rank"), f(T, "class", "RankInfo UserPrize"), f(T, "part", "PrizeText"), f(k, "class", U = /*displayin*/
723
+ e[5] + " PrizeSec"), f(k, "part", "Prize"), f(t, "class", u = /*displayin*/
724
+ e[5] + " casino-tournaments-rank"), f(t, "part", L = /*displayin*/
728
725
  e[5] + " casino-tournaments-rank");
729
726
  },
730
727
  m(_, z) {
731
- nt(_, t, z), v(t, n), $ && $.m(n, null), v(n, s), v(n, a), v(a, r), v(a, i), v(a, o), v(a, p), v(a, d), v(a, g), v(a, y), v(a, m), v(t, k), v(t, b), x && x.m(b, null), v(b, P), v(b, T), v(T, F), e[12](t);
728
+ nt(_, t, z), y(t, n), $ && $.m(n, null), y(n, i), y(n, o), y(o, r), y(o, s), y(o, a), y(o, p), y(o, d), y(o, g), y(o, b), y(o, m), y(t, v), y(t, k), x && x.m(k, null), y(k, P), y(k, T), y(T, F), e[12](t);
732
729
  },
733
730
  p(_, [z]) {
734
731
  /*showicon*/
735
- _[4] == "true" ? $ || ($ = wt(), $.c(), $.m(n, s)) : $ && ($.d(1), $ = null), z & /*rankprefix*/
732
+ _[4] == "true" ? $ || ($ = wt(), $.c(), $.m(n, i)) : $ && ($.d(1), $ = null), z & /*rankprefix*/
736
733
  8 && Q(
737
734
  r,
738
735
  /*rankprefix*/
@@ -745,7 +742,7 @@ function ge(e) {
745
742
  /*userrank*/
746
743
  _[0]
747
744
  ) : "-"
748
- )) + "") && Q(i, l), z & /*overallrank*/
745
+ )) + "") && Q(s, l), z & /*overallrank*/
749
746
  2 && c !== (c = /*overallrank*/
750
747
  (_[1] == 0 ? "-" : (
751
748
  /*overallrank*/
@@ -753,20 +750,20 @@ function ge(e) {
753
750
  )) + "") && Q(p, c), z & /*userRankChanged, isRankingUp*/
754
751
  384 && h !== (h = "svg Arrow Up " + /*userRankChanged*/
755
752
  (_[7] && /*isRankingUp*/
756
- _[8] ? "Show" : "Hidden") + " svelte-1a60cag") && f(g, "class", h), z & /*userRankChanged, isRankingUp*/
753
+ _[8] ? "Show" : "Hidden")) && f(g, "class", h), z & /*userRankChanged, isRankingUp*/
757
754
  384 && E !== (E = "svg Arrow Down " + /*userRankChanged*/
758
755
  (_[7] && !/*isRankingUp*/
759
- _[8] ? "Show" : "Hidden") + " svelte-1a60cag") && f(m, "class", E), /*showicon*/
760
- _[4] == "true" ? x || (x = vt(), x.c(), x.m(b, P)) : x && (x.d(1), x = null), z & /*prize*/
756
+ _[8] ? "Show" : "Hidden")) && f(m, "class", E), /*showicon*/
757
+ _[4] == "true" ? x || (x = yt(), x.c(), x.m(k, P)) : x && (x.d(1), x = null), z & /*prize*/
761
758
  4 && Q(
762
759
  F,
763
760
  /*prize*/
764
761
  _[2]
765
762
  ), z & /*displayin*/
766
- 32 && O !== (O = /*displayin*/
767
- _[5] + " PrizeSec svelte-1a60cag") && f(b, "class", O), z & /*displayin*/
763
+ 32 && U !== (U = /*displayin*/
764
+ _[5] + " PrizeSec") && f(k, "class", U), z & /*displayin*/
768
765
  32 && u !== (u = /*displayin*/
769
- _[5] + " casino-tournaments-rank svelte-1a60cag") && f(t, "class", u), z & /*displayin*/
766
+ _[5] + " casino-tournaments-rank") && f(t, "class", u), z & /*displayin*/
770
767
  32 && L !== (L = /*displayin*/
771
768
  _[5] + " casino-tournaments-rank") && f(t, "part", L);
772
769
  },
@@ -778,20 +775,20 @@ function ge(e) {
778
775
  };
779
776
  }
780
777
  function me(e, t, n) {
781
- let { rankprefix: s = "#" } = t, { showicon: a = "true" } = t, { tournamentid: r = "" } = t, { overallrank: l = "0" } = t, { userrank: i = "0" } = t, { prize: o = "PrizeName" } = t, { displayin: c = "row" } = t, { clientstyling: p = "" } = t, { clientstylingurl: d = "" } = t, g, w, h = !1, y = !0, m, C, E, k;
782
- const b = (u) => {
778
+ let { rankprefix: i = "#" } = t, { showicon: o = "true" } = t, { tournamentid: r = "" } = t, { overallrank: l = "0" } = t, { userrank: s = "0" } = t, { prize: a = "PrizeName" } = t, { displayin: c = "row" } = t, { clientstyling: p = "" } = t, { clientstylingurl: d = "" } = t, g, w, h = !1, b = !0, m, C, E, v;
779
+ const k = (u) => {
783
780
  u.data && u.data.type == `TournamentRankInfo_${r}` && P(u.data.rankInfo);
784
781
  }, P = (u) => {
785
782
  let L = ($) => {
786
- n(0, i = $.rank), n(1, l = $.overallRank), n(2, o = $.prize);
783
+ n(0, s = $.rank), n(1, l = $.overallRank), n(2, a = $.prize);
787
784
  };
788
- if (!k) {
789
- k = w, L(u);
785
+ if (!v) {
786
+ v = w, L(u);
790
787
  return;
791
788
  }
792
- w && (n(7, h = k != u.rank), n(8, y = k > u.rank), m = (/* @__PURE__ */ new Date()).getTime(), E = setTimeout(
789
+ w && (n(7, h = v != u.rank), n(8, b = v > u.rank), m = (/* @__PURE__ */ new Date()).getTime(), E = setTimeout(
793
790
  () => {
794
- C = (/* @__PURE__ */ new Date()).getTime(), (C - m) / 1e3 > 4 && n(7, h = !1), k = w;
791
+ C = (/* @__PURE__ */ new Date()).getTime(), (C - m) / 1e3 > 4 && n(7, h = !1), v = w;
795
792
  },
796
793
  5e3
797
794
  ), L(u));
@@ -813,35 +810,35 @@ function me(e, t, n) {
813
810
  );
814
811
  });
815
812
  };
816
- Gt(() => (w = i == null ? void 0 : parseInt(i), k = w, n(0, i = i == null ? "-" : i), window.addEventListener("message", b, !0), () => {
817
- window.removeEventListener("message", b), clearTimeout(E);
813
+ Gt(() => (w = s == null ? void 0 : parseInt(s), v = w, n(0, s = s == null ? "-" : s), window.addEventListener("message", k, !0), () => {
814
+ window.removeEventListener("message", k), clearTimeout(E);
818
815
  }));
819
- function O(u) {
820
- at[u ? "unshift" : "push"](() => {
816
+ function U(u) {
817
+ ot[u ? "unshift" : "push"](() => {
821
818
  g = u, n(6, g);
822
819
  });
823
820
  }
824
821
  return e.$$set = (u) => {
825
- "rankprefix" in u && n(3, s = u.rankprefix), "showicon" in u && n(4, a = u.showicon), "tournamentid" in u && n(9, r = u.tournamentid), "overallrank" in u && n(1, l = u.overallrank), "userrank" in u && n(0, i = u.userrank), "prize" in u && n(2, o = u.prize), "displayin" in u && n(5, c = u.displayin), "clientstyling" in u && n(10, p = u.clientstyling), "clientstylingurl" in u && n(11, d = u.clientstylingurl);
822
+ "rankprefix" in u && n(3, i = u.rankprefix), "showicon" in u && n(4, o = u.showicon), "tournamentid" in u && n(9, r = u.tournamentid), "overallrank" in u && n(1, l = u.overallrank), "userrank" in u && n(0, s = u.userrank), "prize" in u && n(2, a = u.prize), "displayin" in u && n(5, c = u.displayin), "clientstyling" in u && n(10, p = u.clientstyling), "clientstylingurl" in u && n(11, d = u.clientstylingurl);
826
823
  }, e.$$.update = () => {
827
824
  e.$$.dirty & /*customStylingContainer, clientstyling*/
828
825
  1088 && g && p && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
829
826
  2112 && g && d && F(), e.$$.dirty & /*userrank*/
830
- 1 && (w = parseInt(i));
827
+ 1 && (w = parseInt(s));
831
828
  }, [
832
- i,
833
- l,
834
- o,
835
829
  s,
830
+ l,
836
831
  a,
832
+ i,
833
+ o,
837
834
  c,
838
835
  g,
839
836
  h,
840
- y,
837
+ b,
841
838
  r,
842
839
  p,
843
840
  d,
844
- O
841
+ U
845
842
  ];
846
843
  }
847
844
  class St extends le {
@@ -921,40 +918,39 @@ class St extends le {
921
918
  this.$$set({ clientstylingurl: t }), R();
922
919
  }
923
920
  }
924
- ae(St, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, userrank: {}, prize: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
925
- const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
921
+ oe(St, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, userrank: {}, prize: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
922
+ const ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
926
923
  __proto__: null,
927
924
  default: St
928
925
  }, Symbol.toStringTag, { value: "Module" }));
929
926
  export {
930
- xe as A,
927
+ ve as A,
931
928
  Q as B,
932
- ze as C,
929
+ Ee as C,
933
930
  et as D,
934
- Ee as E,
935
- we as F,
936
- _e as G,
937
- Ce as H,
938
- at as I,
939
- Re as J,
931
+ Ae as E,
932
+ _e as F,
933
+ xe as G,
934
+ ot as H,
935
+ ze as I,
940
936
  le as S,
941
937
  Tt as a,
942
938
  ct as b,
943
939
  re as c,
944
- ae as d,
945
- jt as e,
940
+ oe as d,
941
+ Ot as e,
946
942
  R as f,
947
943
  A as g,
948
- ve as h,
944
+ we as h,
949
945
  Lt as i,
950
946
  J as j,
951
947
  f as k,
952
948
  nt as l,
953
- v as m,
949
+ y as m,
954
950
  I as n,
955
951
  ye as o,
956
- Ae as p,
957
- Se as q,
952
+ Se as p,
953
+ Ce as q,
958
954
  B as r,
959
955
  It as s,
960
956
  te as t,
@@ -962,6 +958,6 @@ export {
962
958
  pe as v,
963
959
  Gt as w,
964
960
  ke as x,
965
- j as y,
961
+ O as y,
966
962
  be as z
967
963
  };