@everymatrix/casino-tournaments-slider-controller 1.87.26 → 1.87.28
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.
- package/components/CasinoTournamentsRank-7fKG3_eZ.cjs +1 -0
- package/components/CasinoTournamentsRank-BR8eikDk.js +256 -0
- package/components/CasinoTournamentsRank-CSx-RYCc.js +256 -0
- package/components/CasinoTournamentsSliderController-CNvg7gtK.js +5175 -0
- package/components/CasinoTournamentsSliderController-CpibOMNM.cjs +14 -0
- package/components/CasinoTournamentsSliderController-YMwcyywd.js +5133 -0
- package/es2015/casino-tournaments-slider-controller.cjs +1 -1
- package/es2015/casino-tournaments-slider-controller.js +7 -7
- package/esnext/casino-tournaments-slider-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsRank-9iTIINaq.js +0 -945
- package/components/CasinoTournamentsRank-CEE5nAvG.cjs +0 -4
- package/components/CasinoTournamentsRank-DMlTPYI_.js +0 -982
- package/components/CasinoTournamentsSliderController-BZMKTZ11.js +0 -4438
- package/components/CasinoTournamentsSliderController-L01xbHSt.cjs +0 -11
- package/components/CasinoTournamentsSliderController-XBRQQpZ2.js +0 -4438
|
@@ -1,945 +0,0 @@
|
|
|
1
|
-
function M() {
|
|
2
|
-
}
|
|
3
|
-
const yt = (t) => t;
|
|
4
|
-
function gt(t) {
|
|
5
|
-
return t();
|
|
6
|
-
}
|
|
7
|
-
function at() {
|
|
8
|
-
return /* @__PURE__ */ Object.create(null);
|
|
9
|
-
}
|
|
10
|
-
function H(t) {
|
|
11
|
-
t.forEach(gt);
|
|
12
|
-
}
|
|
13
|
-
function st(t) {
|
|
14
|
-
return typeof t == "function";
|
|
15
|
-
}
|
|
16
|
-
function bt(t, e) {
|
|
17
|
-
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
18
|
-
}
|
|
19
|
-
let J;
|
|
20
|
-
function lt(t, e) {
|
|
21
|
-
return t === e ? !0 : (J || (J = document.createElement("a")), J.href = e, t === J.href);
|
|
22
|
-
}
|
|
23
|
-
function kt(t) {
|
|
24
|
-
return Object.keys(t).length === 0;
|
|
25
|
-
}
|
|
26
|
-
function xt(t, ...e) {
|
|
27
|
-
if (t == null) {
|
|
28
|
-
for (const i of e)
|
|
29
|
-
i(void 0);
|
|
30
|
-
return M;
|
|
31
|
-
}
|
|
32
|
-
const n = t.subscribe(...e);
|
|
33
|
-
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
34
|
-
}
|
|
35
|
-
function re(t, e, n) {
|
|
36
|
-
t.$$.on_destroy.push(xt(e, n));
|
|
37
|
-
}
|
|
38
|
-
const mt = typeof window < "u";
|
|
39
|
-
let vt = mt ? () => window.performance.now() : () => Date.now(), rt = mt ? (t) => requestAnimationFrame(t) : M;
|
|
40
|
-
const U = /* @__PURE__ */ new Set();
|
|
41
|
-
function _t(t) {
|
|
42
|
-
U.forEach((e) => {
|
|
43
|
-
e.c(t) || (U.delete(e), e.f());
|
|
44
|
-
}), U.size !== 0 && rt(_t);
|
|
45
|
-
}
|
|
46
|
-
function St(t) {
|
|
47
|
-
let e;
|
|
48
|
-
return U.size === 0 && rt(_t), {
|
|
49
|
-
promise: new Promise((n) => {
|
|
50
|
-
U.add(e = { c: t, f: n });
|
|
51
|
-
}),
|
|
52
|
-
abort() {
|
|
53
|
-
U.delete(e);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
function x(t, e) {
|
|
58
|
-
t.appendChild(e);
|
|
59
|
-
}
|
|
60
|
-
function At(t, e, n) {
|
|
61
|
-
const i = ot(t);
|
|
62
|
-
if (!i.getElementById(e)) {
|
|
63
|
-
const s = E("style");
|
|
64
|
-
s.id = e, s.textContent = n, $t(i, s);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
function ot(t) {
|
|
68
|
-
if (!t)
|
|
69
|
-
return document;
|
|
70
|
-
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
71
|
-
return e && /** @type {ShadowRoot} */
|
|
72
|
-
e.host ? (
|
|
73
|
-
/** @type {ShadowRoot} */
|
|
74
|
-
e
|
|
75
|
-
) : t.ownerDocument;
|
|
76
|
-
}
|
|
77
|
-
function Ct(t) {
|
|
78
|
-
const e = E("style");
|
|
79
|
-
return e.textContent = "/* empty */", $t(ot(t), e), e.sheet;
|
|
80
|
-
}
|
|
81
|
-
function $t(t, e) {
|
|
82
|
-
return x(
|
|
83
|
-
/** @type {Document} */
|
|
84
|
-
t.head || t,
|
|
85
|
-
e
|
|
86
|
-
), e.sheet;
|
|
87
|
-
}
|
|
88
|
-
function X(t, e, n) {
|
|
89
|
-
t.insertBefore(e, n || null);
|
|
90
|
-
}
|
|
91
|
-
function O(t) {
|
|
92
|
-
t.parentNode && t.parentNode.removeChild(t);
|
|
93
|
-
}
|
|
94
|
-
function oe(t, e) {
|
|
95
|
-
for (let n = 0; n < t.length; n += 1)
|
|
96
|
-
t[n] && t[n].d(e);
|
|
97
|
-
}
|
|
98
|
-
function E(t) {
|
|
99
|
-
return document.createElement(t);
|
|
100
|
-
}
|
|
101
|
-
function ce(t) {
|
|
102
|
-
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
|
103
|
-
}
|
|
104
|
-
function V(t) {
|
|
105
|
-
return document.createTextNode(t);
|
|
106
|
-
}
|
|
107
|
-
function D() {
|
|
108
|
-
return V(" ");
|
|
109
|
-
}
|
|
110
|
-
function ae(t, e, n, i) {
|
|
111
|
-
return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
|
|
112
|
-
}
|
|
113
|
-
function h(t, e, n) {
|
|
114
|
-
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
115
|
-
}
|
|
116
|
-
function le(t, e, n) {
|
|
117
|
-
const i = e.toLowerCase();
|
|
118
|
-
i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : h(t, e, n);
|
|
119
|
-
}
|
|
120
|
-
function ue(t, e, n) {
|
|
121
|
-
t.setAttributeNS("http://www.w3.org/1999/xlink", e, n);
|
|
122
|
-
}
|
|
123
|
-
function Et(t) {
|
|
124
|
-
return Array.from(t.childNodes);
|
|
125
|
-
}
|
|
126
|
-
function Y(t, e) {
|
|
127
|
-
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
128
|
-
e);
|
|
129
|
-
}
|
|
130
|
-
function fe(t, e, n, i) {
|
|
131
|
-
t.style.setProperty(e, n, "");
|
|
132
|
-
}
|
|
133
|
-
function Rt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
|
|
134
|
-
return new CustomEvent(t, { detail: e, bubbles: n, cancelable: i });
|
|
135
|
-
}
|
|
136
|
-
function zt(t) {
|
|
137
|
-
const e = {};
|
|
138
|
-
return t.childNodes.forEach(
|
|
139
|
-
/** @param {Element} node */
|
|
140
|
-
(n) => {
|
|
141
|
-
e[n.slot || "default"] = !0;
|
|
142
|
-
}
|
|
143
|
-
), e;
|
|
144
|
-
}
|
|
145
|
-
const K = /* @__PURE__ */ new Map();
|
|
146
|
-
let Q = 0;
|
|
147
|
-
function Lt(t) {
|
|
148
|
-
let e = 5381, n = t.length;
|
|
149
|
-
for (; n--; )
|
|
150
|
-
e = (e << 5) - e ^ t.charCodeAt(n);
|
|
151
|
-
return e >>> 0;
|
|
152
|
-
}
|
|
153
|
-
function Pt(t, e) {
|
|
154
|
-
const n = { stylesheet: Ct(e), rules: {} };
|
|
155
|
-
return K.set(t, n), n;
|
|
156
|
-
}
|
|
157
|
-
function ut(t, e, n, i, s, c, l, o = 0) {
|
|
158
|
-
const r = 16.666 / i;
|
|
159
|
-
let f = `{
|
|
160
|
-
`;
|
|
161
|
-
for (let g = 0; g <= 1; g += r) {
|
|
162
|
-
const v = e + (n - e) * c(g);
|
|
163
|
-
f += g * 100 + `%{${l(v, 1 - v)}}
|
|
164
|
-
`;
|
|
165
|
-
}
|
|
166
|
-
const p = f + `100% {${l(n, 1 - n)}}
|
|
167
|
-
}`, d = `__svelte_${Lt(p)}_${o}`, m = ot(t), { stylesheet: w, rules: a } = K.get(m) || Pt(m, t);
|
|
168
|
-
a[d] || (a[d] = !0, w.insertRule(`@keyframes ${d} ${p}`, w.cssRules.length));
|
|
169
|
-
const $ = t.style.animation || "";
|
|
170
|
-
return t.style.animation = `${$ ? `${$}, ` : ""}${d} ${i}ms linear ${s}ms 1 both`, Q += 1, d;
|
|
171
|
-
}
|
|
172
|
-
function Mt(t, e) {
|
|
173
|
-
const n = (t.style.animation || "").split(", "), i = n.filter(
|
|
174
|
-
e ? (c) => c.indexOf(e) < 0 : (c) => c.indexOf("__svelte") === -1
|
|
175
|
-
// remove all Svelte animations
|
|
176
|
-
), s = n.length - i.length;
|
|
177
|
-
s && (t.style.animation = i.join(", "), Q -= s, Q || Tt());
|
|
178
|
-
}
|
|
179
|
-
function Tt() {
|
|
180
|
-
rt(() => {
|
|
181
|
-
Q || (K.forEach((t) => {
|
|
182
|
-
const { ownerNode: e } = t.stylesheet;
|
|
183
|
-
e && O(e);
|
|
184
|
-
}), K.clear());
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
let q;
|
|
188
|
-
function B(t) {
|
|
189
|
-
q = t;
|
|
190
|
-
}
|
|
191
|
-
function It() {
|
|
192
|
-
if (!q)
|
|
193
|
-
throw new Error("Function called outside component initialization");
|
|
194
|
-
return q;
|
|
195
|
-
}
|
|
196
|
-
function Ut(t) {
|
|
197
|
-
It().$$.on_mount.push(t);
|
|
198
|
-
}
|
|
199
|
-
const I = [], nt = [];
|
|
200
|
-
let j = [];
|
|
201
|
-
const ft = [], jt = /* @__PURE__ */ Promise.resolve();
|
|
202
|
-
let it = !1;
|
|
203
|
-
function Ht() {
|
|
204
|
-
it || (it = !0, jt.then(S));
|
|
205
|
-
}
|
|
206
|
-
function W(t) {
|
|
207
|
-
j.push(t);
|
|
208
|
-
}
|
|
209
|
-
const tt = /* @__PURE__ */ new Set();
|
|
210
|
-
let T = 0;
|
|
211
|
-
function S() {
|
|
212
|
-
if (T !== 0)
|
|
213
|
-
return;
|
|
214
|
-
const t = q;
|
|
215
|
-
do {
|
|
216
|
-
try {
|
|
217
|
-
for (; T < I.length; ) {
|
|
218
|
-
const e = I[T];
|
|
219
|
-
T++, B(e), Ot(e.$$);
|
|
220
|
-
}
|
|
221
|
-
} catch (e) {
|
|
222
|
-
throw I.length = 0, T = 0, e;
|
|
223
|
-
}
|
|
224
|
-
for (B(null), I.length = 0, T = 0; nt.length; )
|
|
225
|
-
nt.pop()();
|
|
226
|
-
for (let e = 0; e < j.length; e += 1) {
|
|
227
|
-
const n = j[e];
|
|
228
|
-
tt.has(n) || (tt.add(n), n());
|
|
229
|
-
}
|
|
230
|
-
j.length = 0;
|
|
231
|
-
} while (I.length);
|
|
232
|
-
for (; ft.length; )
|
|
233
|
-
ft.pop()();
|
|
234
|
-
it = !1, tt.clear(), B(t);
|
|
235
|
-
}
|
|
236
|
-
function Ot(t) {
|
|
237
|
-
if (t.fragment !== null) {
|
|
238
|
-
t.update(), H(t.before_update);
|
|
239
|
-
const e = t.dirty;
|
|
240
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(W);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
function Dt(t) {
|
|
244
|
-
const e = [], n = [];
|
|
245
|
-
j.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), j = e;
|
|
246
|
-
}
|
|
247
|
-
let N;
|
|
248
|
-
function Nt() {
|
|
249
|
-
return N || (N = Promise.resolve(), N.then(() => {
|
|
250
|
-
N = null;
|
|
251
|
-
})), N;
|
|
252
|
-
}
|
|
253
|
-
function et(t, e, n) {
|
|
254
|
-
t.dispatchEvent(Rt(`${e ? "intro" : "outro"}${n}`));
|
|
255
|
-
}
|
|
256
|
-
const Z = /* @__PURE__ */ new Set();
|
|
257
|
-
let P;
|
|
258
|
-
function he() {
|
|
259
|
-
P = {
|
|
260
|
-
r: 0,
|
|
261
|
-
c: [],
|
|
262
|
-
p: P
|
|
263
|
-
// parent group
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
function de() {
|
|
267
|
-
P.r || H(P.c), P = P.p;
|
|
268
|
-
}
|
|
269
|
-
function Bt(t, e) {
|
|
270
|
-
t && t.i && (Z.delete(t), t.i(e));
|
|
271
|
-
}
|
|
272
|
-
function ge(t, e, n, i) {
|
|
273
|
-
if (t && t.o) {
|
|
274
|
-
if (Z.has(t))
|
|
275
|
-
return;
|
|
276
|
-
Z.add(t), P.c.push(() => {
|
|
277
|
-
Z.delete(t), i && (n && t.d(1), i());
|
|
278
|
-
}), t.o(e);
|
|
279
|
-
} else
|
|
280
|
-
i && i();
|
|
281
|
-
}
|
|
282
|
-
const qt = { duration: 0 };
|
|
283
|
-
function me(t, e, n, i) {
|
|
284
|
-
let c = e(t, n, { direction: "both" }), l = i ? 0 : 1, o = null, r = null, f = null, p;
|
|
285
|
-
function d() {
|
|
286
|
-
f && Mt(t, f);
|
|
287
|
-
}
|
|
288
|
-
function m(a, $) {
|
|
289
|
-
const g = (
|
|
290
|
-
/** @type {Program['d']} */
|
|
291
|
-
a.b - l
|
|
292
|
-
);
|
|
293
|
-
return $ *= Math.abs(g), {
|
|
294
|
-
a: l,
|
|
295
|
-
b: a.b,
|
|
296
|
-
d: g,
|
|
297
|
-
duration: $,
|
|
298
|
-
start: a.start,
|
|
299
|
-
end: a.start + $,
|
|
300
|
-
group: a.group
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
function w(a) {
|
|
304
|
-
const {
|
|
305
|
-
delay: $ = 0,
|
|
306
|
-
duration: g = 300,
|
|
307
|
-
easing: v = yt,
|
|
308
|
-
tick: A = M,
|
|
309
|
-
css: z
|
|
310
|
-
} = c || qt, R = {
|
|
311
|
-
start: vt() + $,
|
|
312
|
-
b: a
|
|
313
|
-
};
|
|
314
|
-
a || (R.group = P, P.r += 1), "inert" in t && (a ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
|
|
315
|
-
t.inert, t.inert = !0)), o || r ? r = R : (z && (d(), f = ut(t, l, a, g, $, v, z)), a && A(0, 1), o = m(R, g), W(() => et(t, a, "start")), St((y) => {
|
|
316
|
-
if (r && y > r.start && (o = m(r, g), r = null, et(t, o.b, "start"), z && (d(), f = ut(
|
|
317
|
-
t,
|
|
318
|
-
l,
|
|
319
|
-
o.b,
|
|
320
|
-
o.duration,
|
|
321
|
-
0,
|
|
322
|
-
v,
|
|
323
|
-
c.css
|
|
324
|
-
))), o) {
|
|
325
|
-
if (y >= o.end)
|
|
326
|
-
A(l = o.b, 1 - l), et(t, o.b, "end"), r || (o.b ? d() : --o.group.r || H(o.group.c)), o = null;
|
|
327
|
-
else if (y >= o.start) {
|
|
328
|
-
const L = y - o.start;
|
|
329
|
-
l = o.a + o.d * v(L / o.duration), A(l, 1 - l);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
return !!(o || r);
|
|
333
|
-
}));
|
|
334
|
-
}
|
|
335
|
-
return {
|
|
336
|
-
run(a) {
|
|
337
|
-
st(c) ? Nt().then(() => {
|
|
338
|
-
c = c({ direction: a ? "in" : "out" }), w(a);
|
|
339
|
-
}) : w(a);
|
|
340
|
-
},
|
|
341
|
-
end() {
|
|
342
|
-
d(), o = r = null;
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
function _e(t) {
|
|
347
|
-
return t?.length !== void 0 ? t : Array.from(t);
|
|
348
|
-
}
|
|
349
|
-
function Ft(t, e, n) {
|
|
350
|
-
const { fragment: i, after_update: s } = t.$$;
|
|
351
|
-
i && i.m(e, n), W(() => {
|
|
352
|
-
const c = t.$$.on_mount.map(gt).filter(st);
|
|
353
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...c) : H(c), t.$$.on_mount = [];
|
|
354
|
-
}), s.forEach(W);
|
|
355
|
-
}
|
|
356
|
-
function Jt(t, e) {
|
|
357
|
-
const n = t.$$;
|
|
358
|
-
n.fragment !== null && (Dt(n.after_update), H(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
359
|
-
}
|
|
360
|
-
function Vt(t, e) {
|
|
361
|
-
t.$$.dirty[0] === -1 && (I.push(t), Ht(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
362
|
-
}
|
|
363
|
-
function Zt(t, e, n, i, s, c, l = null, o = [-1]) {
|
|
364
|
-
const r = q;
|
|
365
|
-
B(t);
|
|
366
|
-
const f = t.$$ = {
|
|
367
|
-
fragment: null,
|
|
368
|
-
ctx: [],
|
|
369
|
-
// state
|
|
370
|
-
props: c,
|
|
371
|
-
update: M,
|
|
372
|
-
not_equal: s,
|
|
373
|
-
bound: at(),
|
|
374
|
-
// lifecycle
|
|
375
|
-
on_mount: [],
|
|
376
|
-
on_destroy: [],
|
|
377
|
-
on_disconnect: [],
|
|
378
|
-
before_update: [],
|
|
379
|
-
after_update: [],
|
|
380
|
-
context: new Map(e.context || (r ? r.$$.context : [])),
|
|
381
|
-
// everything else
|
|
382
|
-
callbacks: at(),
|
|
383
|
-
dirty: o,
|
|
384
|
-
skip_bound: !1,
|
|
385
|
-
root: e.target || r.$$.root
|
|
386
|
-
};
|
|
387
|
-
l && l(f.root);
|
|
388
|
-
let p = !1;
|
|
389
|
-
if (f.ctx = n ? n(t, e.props || {}, (d, m, ...w) => {
|
|
390
|
-
const a = w.length ? w[0] : m;
|
|
391
|
-
return f.ctx && s(f.ctx[d], f.ctx[d] = a) && (!f.skip_bound && f.bound[d] && f.bound[d](a), p && Vt(t, d)), m;
|
|
392
|
-
}) : [], f.update(), p = !0, H(f.before_update), f.fragment = i ? i(f.ctx) : !1, e.target) {
|
|
393
|
-
if (e.hydrate) {
|
|
394
|
-
const d = Et(e.target);
|
|
395
|
-
f.fragment && f.fragment.l(d), d.forEach(O);
|
|
396
|
-
} else
|
|
397
|
-
f.fragment && f.fragment.c();
|
|
398
|
-
e.intro && Bt(t.$$.fragment), Ft(t, e.target, e.anchor), S();
|
|
399
|
-
}
|
|
400
|
-
B(r);
|
|
401
|
-
}
|
|
402
|
-
let pt;
|
|
403
|
-
typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
404
|
-
/** The Svelte component constructor */
|
|
405
|
-
$$ctor;
|
|
406
|
-
/** Slots */
|
|
407
|
-
$$s;
|
|
408
|
-
/** The Svelte component instance */
|
|
409
|
-
$$c;
|
|
410
|
-
/** Whether or not the custom element is connected */
|
|
411
|
-
$$cn = !1;
|
|
412
|
-
/** Component props data */
|
|
413
|
-
$$d = {};
|
|
414
|
-
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
415
|
-
$$r = !1;
|
|
416
|
-
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
417
|
-
$$p_d = {};
|
|
418
|
-
/** @type {Record<string, Function[]>} Event listeners */
|
|
419
|
-
$$l = {};
|
|
420
|
-
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
421
|
-
$$l_u = /* @__PURE__ */ new Map();
|
|
422
|
-
constructor(t, e, n) {
|
|
423
|
-
super(), this.$$ctor = t, this.$$s = e, n && this.attachShadow({ mode: "open" });
|
|
424
|
-
}
|
|
425
|
-
addEventListener(t, e, n) {
|
|
426
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
|
|
427
|
-
const i = this.$$c.$on(t, e);
|
|
428
|
-
this.$$l_u.set(e, i);
|
|
429
|
-
}
|
|
430
|
-
super.addEventListener(t, e, n);
|
|
431
|
-
}
|
|
432
|
-
removeEventListener(t, e, n) {
|
|
433
|
-
if (super.removeEventListener(t, e, n), this.$$c) {
|
|
434
|
-
const i = this.$$l_u.get(e);
|
|
435
|
-
i && (i(), this.$$l_u.delete(e));
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
async connectedCallback() {
|
|
439
|
-
if (this.$$cn = !0, !this.$$c) {
|
|
440
|
-
let t = function(s) {
|
|
441
|
-
return () => {
|
|
442
|
-
let c;
|
|
443
|
-
return {
|
|
444
|
-
c: function() {
|
|
445
|
-
c = E("slot"), s !== "default" && h(c, "name", s);
|
|
446
|
-
},
|
|
447
|
-
/**
|
|
448
|
-
* @param {HTMLElement} target
|
|
449
|
-
* @param {HTMLElement} [anchor]
|
|
450
|
-
*/
|
|
451
|
-
m: function(r, f) {
|
|
452
|
-
X(r, c, f);
|
|
453
|
-
},
|
|
454
|
-
d: function(r) {
|
|
455
|
-
r && O(c);
|
|
456
|
-
}
|
|
457
|
-
};
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
461
|
-
return;
|
|
462
|
-
const e = {}, n = zt(this);
|
|
463
|
-
for (const s of this.$$s)
|
|
464
|
-
s in n && (e[s] = [t(s)]);
|
|
465
|
-
for (const s of this.attributes) {
|
|
466
|
-
const c = this.$$g_p(s.name);
|
|
467
|
-
c in this.$$d || (this.$$d[c] = G(c, s.value, this.$$p_d, "toProp"));
|
|
468
|
-
}
|
|
469
|
-
for (const s in this.$$p_d)
|
|
470
|
-
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
471
|
-
this.$$c = new this.$$ctor({
|
|
472
|
-
target: this.shadowRoot || this,
|
|
473
|
-
props: {
|
|
474
|
-
...this.$$d,
|
|
475
|
-
$$slots: e,
|
|
476
|
-
$$scope: {
|
|
477
|
-
ctx: []
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
});
|
|
481
|
-
const i = () => {
|
|
482
|
-
this.$$r = !0;
|
|
483
|
-
for (const s in this.$$p_d)
|
|
484
|
-
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
485
|
-
const c = G(
|
|
486
|
-
s,
|
|
487
|
-
this.$$d[s],
|
|
488
|
-
this.$$p_d,
|
|
489
|
-
"toAttribute"
|
|
490
|
-
);
|
|
491
|
-
c == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, c);
|
|
492
|
-
}
|
|
493
|
-
this.$$r = !1;
|
|
494
|
-
};
|
|
495
|
-
this.$$c.$$.after_update.push(i), i();
|
|
496
|
-
for (const s in this.$$l)
|
|
497
|
-
for (const c of this.$$l[s]) {
|
|
498
|
-
const l = this.$$c.$on(s, c);
|
|
499
|
-
this.$$l_u.set(c, l);
|
|
500
|
-
}
|
|
501
|
-
this.$$l = {};
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
505
|
-
// and setting attributes through setAttribute etc, this is helpful
|
|
506
|
-
attributeChangedCallback(t, e, n) {
|
|
507
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = G(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
|
|
508
|
-
}
|
|
509
|
-
disconnectedCallback() {
|
|
510
|
-
this.$$cn = !1, Promise.resolve().then(() => {
|
|
511
|
-
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
512
|
-
});
|
|
513
|
-
}
|
|
514
|
-
$$g_p(t) {
|
|
515
|
-
return Object.keys(this.$$p_d).find(
|
|
516
|
-
(e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
|
|
517
|
-
) || t;
|
|
518
|
-
}
|
|
519
|
-
});
|
|
520
|
-
function G(t, e, n, i) {
|
|
521
|
-
const s = n[t]?.type;
|
|
522
|
-
if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
|
|
523
|
-
return e;
|
|
524
|
-
if (i === "toAttribute")
|
|
525
|
-
switch (s) {
|
|
526
|
-
case "Object":
|
|
527
|
-
case "Array":
|
|
528
|
-
return e == null ? null : JSON.stringify(e);
|
|
529
|
-
case "Boolean":
|
|
530
|
-
return e ? "" : null;
|
|
531
|
-
case "Number":
|
|
532
|
-
return e ?? null;
|
|
533
|
-
default:
|
|
534
|
-
return e;
|
|
535
|
-
}
|
|
536
|
-
else
|
|
537
|
-
switch (s) {
|
|
538
|
-
case "Object":
|
|
539
|
-
case "Array":
|
|
540
|
-
return e && JSON.parse(e);
|
|
541
|
-
case "Boolean":
|
|
542
|
-
return e;
|
|
543
|
-
case "Number":
|
|
544
|
-
return e != null ? +e : e;
|
|
545
|
-
default:
|
|
546
|
-
return e;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
function Gt(t, e, n, i, s, c) {
|
|
550
|
-
let l = class extends pt {
|
|
551
|
-
constructor() {
|
|
552
|
-
super(t, n, s), this.$$p_d = e;
|
|
553
|
-
}
|
|
554
|
-
static get observedAttributes() {
|
|
555
|
-
return Object.keys(e).map(
|
|
556
|
-
(o) => (e[o].attribute || o).toLowerCase()
|
|
557
|
-
);
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
return Object.keys(e).forEach((o) => {
|
|
561
|
-
Object.defineProperty(l.prototype, o, {
|
|
562
|
-
get() {
|
|
563
|
-
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
564
|
-
},
|
|
565
|
-
set(r) {
|
|
566
|
-
r = G(o, r, e), this.$$d[o] = r, this.$$c?.$set({ [o]: r });
|
|
567
|
-
}
|
|
568
|
-
});
|
|
569
|
-
}), i.forEach((o) => {
|
|
570
|
-
Object.defineProperty(l.prototype, o, {
|
|
571
|
-
get() {
|
|
572
|
-
return this.$$c?.[o];
|
|
573
|
-
}
|
|
574
|
-
});
|
|
575
|
-
}), t.element = /** @type {any} */
|
|
576
|
-
l, l;
|
|
577
|
-
}
|
|
578
|
-
class Kt {
|
|
579
|
-
/**
|
|
580
|
-
* ### PRIVATE API
|
|
581
|
-
*
|
|
582
|
-
* Do not use, may change at any time
|
|
583
|
-
*
|
|
584
|
-
* @type {any}
|
|
585
|
-
*/
|
|
586
|
-
$$ = void 0;
|
|
587
|
-
/**
|
|
588
|
-
* ### PRIVATE API
|
|
589
|
-
*
|
|
590
|
-
* Do not use, may change at any time
|
|
591
|
-
*
|
|
592
|
-
* @type {any}
|
|
593
|
-
*/
|
|
594
|
-
$$set = void 0;
|
|
595
|
-
/** @returns {void} */
|
|
596
|
-
$destroy() {
|
|
597
|
-
Jt(this, 1), this.$destroy = M;
|
|
598
|
-
}
|
|
599
|
-
/**
|
|
600
|
-
* @template {Extract<keyof Events, string>} K
|
|
601
|
-
* @param {K} type
|
|
602
|
-
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
603
|
-
* @returns {() => void}
|
|
604
|
-
*/
|
|
605
|
-
$on(e, n) {
|
|
606
|
-
if (!st(n))
|
|
607
|
-
return M;
|
|
608
|
-
const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
609
|
-
return i.push(n), () => {
|
|
610
|
-
const s = i.indexOf(n);
|
|
611
|
-
s !== -1 && i.splice(s, 1);
|
|
612
|
-
};
|
|
613
|
-
}
|
|
614
|
-
/**
|
|
615
|
-
* @param {Partial<Props>} props
|
|
616
|
-
* @returns {void}
|
|
617
|
-
*/
|
|
618
|
-
$set(e) {
|
|
619
|
-
this.$$set && !kt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
const Qt = "4";
|
|
623
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qt);
|
|
624
|
-
function Wt(t, e) {
|
|
625
|
-
if (t) {
|
|
626
|
-
const n = document.createElement("style");
|
|
627
|
-
n.innerHTML = e, t.appendChild(n);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
function Xt(t, e) {
|
|
631
|
-
if (!t || !e)
|
|
632
|
-
return;
|
|
633
|
-
const n = new URL(e);
|
|
634
|
-
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
635
|
-
const s = document.createElement("style");
|
|
636
|
-
s.innerHTML = i, t && t.appendChild(s);
|
|
637
|
-
}).catch((i) => {
|
|
638
|
-
console.error("There was an error while trying to load client styling from URL", i);
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
function Yt(t, e, n) {
|
|
642
|
-
if (window.emMessageBus) {
|
|
643
|
-
const i = document.createElement("style");
|
|
644
|
-
window.emMessageBus.subscribe(e, (s) => {
|
|
645
|
-
i.innerHTML = s, t && t.appendChild(i);
|
|
646
|
-
});
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
const te = "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", ee = "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";
|
|
650
|
-
function ne(t) {
|
|
651
|
-
At(t, "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}}");
|
|
652
|
-
}
|
|
653
|
-
function ht(t) {
|
|
654
|
-
let e;
|
|
655
|
-
return {
|
|
656
|
-
c() {
|
|
657
|
-
e = E("span"), e.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>', h(e, "class", "Icon UserIcon"), h(e, "part", "Icon UserIcon");
|
|
658
|
-
},
|
|
659
|
-
m(n, i) {
|
|
660
|
-
X(n, e, i);
|
|
661
|
-
},
|
|
662
|
-
d(n) {
|
|
663
|
-
n && O(e);
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
function dt(t) {
|
|
668
|
-
let e;
|
|
669
|
-
return {
|
|
670
|
-
c() {
|
|
671
|
-
e = E("span"), e.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.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 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.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 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>', h(e, "class", "Icon PrizeIcon"), h(e, "part", "Icon PrizeIcon");
|
|
672
|
-
},
|
|
673
|
-
m(n, i) {
|
|
674
|
-
X(n, e, i);
|
|
675
|
-
},
|
|
676
|
-
d(n) {
|
|
677
|
-
n && O(e);
|
|
678
|
-
}
|
|
679
|
-
};
|
|
680
|
-
}
|
|
681
|
-
function ie(t) {
|
|
682
|
-
let e, n, i, s, c, l, o, r, f, p, d, m, w, a, $, g, v, A, z, R, y, L, b = (
|
|
683
|
-
/*showicon*/
|
|
684
|
-
t[2] == "true" && ht()
|
|
685
|
-
), k = (
|
|
686
|
-
/*showicon*/
|
|
687
|
-
t[2] == "true" && dt()
|
|
688
|
-
);
|
|
689
|
-
return {
|
|
690
|
-
c() {
|
|
691
|
-
e = E("div"), n = E("div"), b && b.c(), i = D(), s = E("span"), c = V(
|
|
692
|
-
/*rankprefix*/
|
|
693
|
-
t[1]
|
|
694
|
-
), l = V(
|
|
695
|
-
/*rankinfo*/
|
|
696
|
-
t[7]
|
|
697
|
-
), o = D(), r = E("img"), d = D(), m = E("img"), $ = D(), g = E("div"), k && k.c(), v = D(), A = E("span"), z = V(
|
|
698
|
-
/*prize*/
|
|
699
|
-
t[0]
|
|
700
|
-
), h(r, "part", "Rank_Arror_UP"), h(r, "alt", "Rank Up"), lt(r.src, f = te) || h(r, "src", f), h(r, "width", "20"), h(r, "height", "20"), h(r, "class", p = "svg Arrow Up " + /*userRankChanged*/
|
|
701
|
-
(t[5] && /*isRankingUp*/
|
|
702
|
-
t[6] ? "Show" : "Hidden")), h(m, "part", "Rank_Arror_Down"), h(m, "alt", "Rank Down"), lt(m.src, w = ee) || h(m, "src", w), h(m, "width", "10"), h(m, "height", "10"), h(m, "class", a = "svg Arrow Down " + /*userRankChanged*/
|
|
703
|
-
(t[5] && !/*isRankingUp*/
|
|
704
|
-
t[6] ? "Show" : "Hidden")), h(s, "class", "RankInfo"), h(s, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(A, "class", "RankInfo UserPrize"), h(A, "part", "PrizeText"), h(g, "class", R = /*displayin*/
|
|
705
|
-
t[3] + " PrizeSec"), h(g, "part", "Prize"), h(e, "class", y = /*displayin*/
|
|
706
|
-
t[3] + " casino-tournaments-rank"), h(e, "part", L = /*displayin*/
|
|
707
|
-
t[3] + " casino-tournaments-rank");
|
|
708
|
-
},
|
|
709
|
-
m(_, C) {
|
|
710
|
-
X(_, e, C), x(e, n), b && b.m(n, null), x(n, i), x(n, s), x(s, c), x(s, l), x(s, o), x(s, r), x(s, d), x(s, m), x(e, $), x(e, g), k && k.m(g, null), x(g, v), x(g, A), x(A, z), t[15](e);
|
|
711
|
-
},
|
|
712
|
-
p(_, [C]) {
|
|
713
|
-
/*showicon*/
|
|
714
|
-
_[2] == "true" ? b || (b = ht(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), C & /*rankprefix*/
|
|
715
|
-
2 && Y(
|
|
716
|
-
c,
|
|
717
|
-
/*rankprefix*/
|
|
718
|
-
_[1]
|
|
719
|
-
), C & /*rankinfo*/
|
|
720
|
-
128 && Y(
|
|
721
|
-
l,
|
|
722
|
-
/*rankinfo*/
|
|
723
|
-
_[7]
|
|
724
|
-
), C & /*userRankChanged, isRankingUp*/
|
|
725
|
-
96 && p !== (p = "svg Arrow Up " + /*userRankChanged*/
|
|
726
|
-
(_[5] && /*isRankingUp*/
|
|
727
|
-
_[6] ? "Show" : "Hidden")) && h(r, "class", p), C & /*userRankChanged, isRankingUp*/
|
|
728
|
-
96 && a !== (a = "svg Arrow Down " + /*userRankChanged*/
|
|
729
|
-
(_[5] && !/*isRankingUp*/
|
|
730
|
-
_[6] ? "Show" : "Hidden")) && h(m, "class", a), /*showicon*/
|
|
731
|
-
_[2] == "true" ? k || (k = dt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), C & /*prize*/
|
|
732
|
-
1 && Y(
|
|
733
|
-
z,
|
|
734
|
-
/*prize*/
|
|
735
|
-
_[0]
|
|
736
|
-
), C & /*displayin*/
|
|
737
|
-
8 && R !== (R = /*displayin*/
|
|
738
|
-
_[3] + " PrizeSec") && h(g, "class", R), C & /*displayin*/
|
|
739
|
-
8 && y !== (y = /*displayin*/
|
|
740
|
-
_[3] + " casino-tournaments-rank") && h(e, "class", y), C & /*displayin*/
|
|
741
|
-
8 && L !== (L = /*displayin*/
|
|
742
|
-
_[3] + " casino-tournaments-rank") && h(e, "part", L);
|
|
743
|
-
},
|
|
744
|
-
i: M,
|
|
745
|
-
o: M,
|
|
746
|
-
d(_) {
|
|
747
|
-
_ && O(e), b && b.d(), k && k.d(), t[15](null);
|
|
748
|
-
}
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
function se(t, e, n) {
|
|
752
|
-
let { rankprefix: i = "#" } = e, { showicon: s = "true" } = e, { tournamentid: c = "" } = e, { overallrank: l = "0" } = e, { showoverallrank: o = "true" } = e, { userrank: r = "0" } = e, { prize: f = "PrizeName" } = e, { mbsource: p } = e, { displayin: d = "row" } = e, { clientstyling: m = "" } = e, { clientstylingurl: w = "" } = e, a, $, g = !1, v = !0, A, z, R, y, L = "";
|
|
753
|
-
const b = (u) => {
|
|
754
|
-
u.data && u.data.type == `TournamentRankInfo_${c}` && (k(u.data.rankInfo), _());
|
|
755
|
-
}, k = (u) => {
|
|
756
|
-
let ct = (F) => {
|
|
757
|
-
n(9, r = F.rank), n(8, l = F.overallRank), n(0, f = F.prize);
|
|
758
|
-
};
|
|
759
|
-
if (!y) {
|
|
760
|
-
y = $, ct(u);
|
|
761
|
-
return;
|
|
762
|
-
}
|
|
763
|
-
$ && (n(5, g = y != u.rank), n(6, v = y > u.rank), A = (/* @__PURE__ */ new Date()).getTime(), R = setTimeout(
|
|
764
|
-
() => {
|
|
765
|
-
z = (/* @__PURE__ */ new Date()).getTime(), (z - A) / 1e3 > 4 && n(5, g = !1), y = $;
|
|
766
|
-
},
|
|
767
|
-
5e3
|
|
768
|
-
), ct(u));
|
|
769
|
-
}, _ = () => {
|
|
770
|
-
n(7, L = o == "true" ? `${+r == 0 ? "-" : r || "-"}/${+l == 0 ? "-" : l}` : r);
|
|
771
|
-
};
|
|
772
|
-
Ut(() => ($ = r == null ? void 0 : parseInt(r), y = $, n(9, r = r ?? "-"), window.addEventListener("message", b, !0), _(), () => {
|
|
773
|
-
window.removeEventListener("message", b), clearTimeout(R);
|
|
774
|
-
}));
|
|
775
|
-
function C(u) {
|
|
776
|
-
nt[u ? "unshift" : "push"](() => {
|
|
777
|
-
a = u, n(4, a);
|
|
778
|
-
});
|
|
779
|
-
}
|
|
780
|
-
return t.$$set = (u) => {
|
|
781
|
-
"rankprefix" in u && n(1, i = u.rankprefix), "showicon" in u && n(2, s = u.showicon), "tournamentid" in u && n(10, c = u.tournamentid), "overallrank" in u && n(8, l = u.overallrank), "showoverallrank" in u && n(11, o = u.showoverallrank), "userrank" in u && n(9, r = u.userrank), "prize" in u && n(0, f = u.prize), "mbsource" in u && n(12, p = u.mbsource), "displayin" in u && n(3, d = u.displayin), "clientstyling" in u && n(13, m = u.clientstyling), "clientstylingurl" in u && n(14, w = u.clientstylingurl);
|
|
782
|
-
}, t.$$.update = () => {
|
|
783
|
-
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
784
|
-
8208 && m && a && Wt(a, m), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
785
|
-
16400 && w && a && Xt(a, w), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
786
|
-
4112 && p && a && Yt(a, `${p}.Style`), t.$$.dirty & /*userrank*/
|
|
787
|
-
512 && ($ = parseInt(r)), t.$$.dirty & /*userrank*/
|
|
788
|
-
512 && r && _(), t.$$.dirty & /*overallrank*/
|
|
789
|
-
256 && l && _();
|
|
790
|
-
}, [
|
|
791
|
-
f,
|
|
792
|
-
i,
|
|
793
|
-
s,
|
|
794
|
-
d,
|
|
795
|
-
a,
|
|
796
|
-
g,
|
|
797
|
-
v,
|
|
798
|
-
L,
|
|
799
|
-
l,
|
|
800
|
-
r,
|
|
801
|
-
c,
|
|
802
|
-
o,
|
|
803
|
-
p,
|
|
804
|
-
m,
|
|
805
|
-
w,
|
|
806
|
-
C
|
|
807
|
-
];
|
|
808
|
-
}
|
|
809
|
-
class wt extends Kt {
|
|
810
|
-
constructor(e) {
|
|
811
|
-
super(), Zt(
|
|
812
|
-
this,
|
|
813
|
-
e,
|
|
814
|
-
se,
|
|
815
|
-
ie,
|
|
816
|
-
bt,
|
|
817
|
-
{
|
|
818
|
-
rankprefix: 1,
|
|
819
|
-
showicon: 2,
|
|
820
|
-
tournamentid: 10,
|
|
821
|
-
overallrank: 8,
|
|
822
|
-
showoverallrank: 11,
|
|
823
|
-
userrank: 9,
|
|
824
|
-
prize: 0,
|
|
825
|
-
mbsource: 12,
|
|
826
|
-
displayin: 3,
|
|
827
|
-
clientstyling: 13,
|
|
828
|
-
clientstylingurl: 14
|
|
829
|
-
},
|
|
830
|
-
ne
|
|
831
|
-
);
|
|
832
|
-
}
|
|
833
|
-
get rankprefix() {
|
|
834
|
-
return this.$$.ctx[1];
|
|
835
|
-
}
|
|
836
|
-
set rankprefix(e) {
|
|
837
|
-
this.$$set({ rankprefix: e }), S();
|
|
838
|
-
}
|
|
839
|
-
get showicon() {
|
|
840
|
-
return this.$$.ctx[2];
|
|
841
|
-
}
|
|
842
|
-
set showicon(e) {
|
|
843
|
-
this.$$set({ showicon: e }), S();
|
|
844
|
-
}
|
|
845
|
-
get tournamentid() {
|
|
846
|
-
return this.$$.ctx[10];
|
|
847
|
-
}
|
|
848
|
-
set tournamentid(e) {
|
|
849
|
-
this.$$set({ tournamentid: e }), S();
|
|
850
|
-
}
|
|
851
|
-
get overallrank() {
|
|
852
|
-
return this.$$.ctx[8];
|
|
853
|
-
}
|
|
854
|
-
set overallrank(e) {
|
|
855
|
-
this.$$set({ overallrank: e }), S();
|
|
856
|
-
}
|
|
857
|
-
get showoverallrank() {
|
|
858
|
-
return this.$$.ctx[11];
|
|
859
|
-
}
|
|
860
|
-
set showoverallrank(e) {
|
|
861
|
-
this.$$set({ showoverallrank: e }), S();
|
|
862
|
-
}
|
|
863
|
-
get userrank() {
|
|
864
|
-
return this.$$.ctx[9];
|
|
865
|
-
}
|
|
866
|
-
set userrank(e) {
|
|
867
|
-
this.$$set({ userrank: e }), S();
|
|
868
|
-
}
|
|
869
|
-
get prize() {
|
|
870
|
-
return this.$$.ctx[0];
|
|
871
|
-
}
|
|
872
|
-
set prize(e) {
|
|
873
|
-
this.$$set({ prize: e }), S();
|
|
874
|
-
}
|
|
875
|
-
get mbsource() {
|
|
876
|
-
return this.$$.ctx[12];
|
|
877
|
-
}
|
|
878
|
-
set mbsource(e) {
|
|
879
|
-
this.$$set({ mbsource: e }), S();
|
|
880
|
-
}
|
|
881
|
-
get displayin() {
|
|
882
|
-
return this.$$.ctx[3];
|
|
883
|
-
}
|
|
884
|
-
set displayin(e) {
|
|
885
|
-
this.$$set({ displayin: e }), S();
|
|
886
|
-
}
|
|
887
|
-
get clientstyling() {
|
|
888
|
-
return this.$$.ctx[13];
|
|
889
|
-
}
|
|
890
|
-
set clientstyling(e) {
|
|
891
|
-
this.$$set({ clientstyling: e }), S();
|
|
892
|
-
}
|
|
893
|
-
get clientstylingurl() {
|
|
894
|
-
return this.$$.ctx[14];
|
|
895
|
-
}
|
|
896
|
-
set clientstylingurl(e) {
|
|
897
|
-
this.$$set({ clientstylingurl: e }), S();
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
Gt(wt, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, mbsource: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
901
|
-
const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
902
|
-
__proto__: null,
|
|
903
|
-
default: wt
|
|
904
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
905
|
-
export {
|
|
906
|
-
V as A,
|
|
907
|
-
fe as B,
|
|
908
|
-
_e as C,
|
|
909
|
-
oe as D,
|
|
910
|
-
me as E,
|
|
911
|
-
W as F,
|
|
912
|
-
nt as G,
|
|
913
|
-
he as H,
|
|
914
|
-
Wt as I,
|
|
915
|
-
Xt as J,
|
|
916
|
-
Yt as K,
|
|
917
|
-
$e as L,
|
|
918
|
-
Kt as S,
|
|
919
|
-
xt as a,
|
|
920
|
-
st as b,
|
|
921
|
-
Gt as c,
|
|
922
|
-
Zt as d,
|
|
923
|
-
At as e,
|
|
924
|
-
S as f,
|
|
925
|
-
O as g,
|
|
926
|
-
Bt as h,
|
|
927
|
-
yt as i,
|
|
928
|
-
h as j,
|
|
929
|
-
de as k,
|
|
930
|
-
X as l,
|
|
931
|
-
x as m,
|
|
932
|
-
M as n,
|
|
933
|
-
ae as o,
|
|
934
|
-
E as p,
|
|
935
|
-
ce as q,
|
|
936
|
-
H as r,
|
|
937
|
-
bt as s,
|
|
938
|
-
ge as t,
|
|
939
|
-
D as u,
|
|
940
|
-
re as v,
|
|
941
|
-
Ut as w,
|
|
942
|
-
ue as x,
|
|
943
|
-
Y as y,
|
|
944
|
-
le as z
|
|
945
|
-
};
|