@everymatrix/casino-tournaments-tab 1.54.0 → 1.54.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.
- package/components/CasinoTournamentsTab-BmGxQH2V.js +708 -0
- package/esnext/casino-tournaments-tab.js +14 -0
- package/package.json +10 -8
- package/components/CasinoTournamentsTab-DeqdQoDg.cjs +0 -1
- package/components/CasinoTournamentsTab-qB4dSXo7.js +0 -753
- package/es2015/casino-tournaments-tab.cjs +0 -1
- package/es2015/casino-tournaments-tab.js +0 -16
|
@@ -0,0 +1,708 @@
|
|
|
1
|
+
function L() {
|
|
2
|
+
}
|
|
3
|
+
function V(t) {
|
|
4
|
+
return t();
|
|
5
|
+
}
|
|
6
|
+
function R() {
|
|
7
|
+
return /* @__PURE__ */ Object.create(null);
|
|
8
|
+
}
|
|
9
|
+
function j(t) {
|
|
10
|
+
t.forEach(V);
|
|
11
|
+
}
|
|
12
|
+
function q(t) {
|
|
13
|
+
return typeof t == "function";
|
|
14
|
+
}
|
|
15
|
+
function Y(t, e) {
|
|
16
|
+
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
17
|
+
}
|
|
18
|
+
function Z(t) {
|
|
19
|
+
return Object.keys(t).length === 0;
|
|
20
|
+
}
|
|
21
|
+
function m(t, e) {
|
|
22
|
+
t.appendChild(e);
|
|
23
|
+
}
|
|
24
|
+
function tt(t, e, n) {
|
|
25
|
+
const s = et(t);
|
|
26
|
+
if (!s.getElementById(e)) {
|
|
27
|
+
const i = b("style");
|
|
28
|
+
i.id = e, i.textContent = n, nt(s, i);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function et(t) {
|
|
32
|
+
if (!t) return document;
|
|
33
|
+
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
34
|
+
return e && /** @type {ShadowRoot} */
|
|
35
|
+
e.host ? (
|
|
36
|
+
/** @type {ShadowRoot} */
|
|
37
|
+
e
|
|
38
|
+
) : t.ownerDocument;
|
|
39
|
+
}
|
|
40
|
+
function nt(t, e) {
|
|
41
|
+
return m(
|
|
42
|
+
/** @type {Document} */
|
|
43
|
+
t.head || t,
|
|
44
|
+
e
|
|
45
|
+
), e.sheet;
|
|
46
|
+
}
|
|
47
|
+
function C(t, e, n) {
|
|
48
|
+
t.insertBefore(e, n || null);
|
|
49
|
+
}
|
|
50
|
+
function v(t) {
|
|
51
|
+
t.parentNode && t.parentNode.removeChild(t);
|
|
52
|
+
}
|
|
53
|
+
function it(t, e) {
|
|
54
|
+
for (let n = 0; n < t.length; n += 1)
|
|
55
|
+
t[n] && t[n].d(e);
|
|
56
|
+
}
|
|
57
|
+
function b(t) {
|
|
58
|
+
return document.createElement(t);
|
|
59
|
+
}
|
|
60
|
+
function F(t) {
|
|
61
|
+
return document.createTextNode(t);
|
|
62
|
+
}
|
|
63
|
+
function z() {
|
|
64
|
+
return F(" ");
|
|
65
|
+
}
|
|
66
|
+
function st(t, e, n, s) {
|
|
67
|
+
return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
|
|
68
|
+
}
|
|
69
|
+
function h(t, e, n) {
|
|
70
|
+
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
71
|
+
}
|
|
72
|
+
function rt(t) {
|
|
73
|
+
return Array.from(t.childNodes);
|
|
74
|
+
}
|
|
75
|
+
function G(t, e) {
|
|
76
|
+
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
77
|
+
e);
|
|
78
|
+
}
|
|
79
|
+
function ot(t) {
|
|
80
|
+
const e = {};
|
|
81
|
+
return t.childNodes.forEach(
|
|
82
|
+
/** @param {Element} node */
|
|
83
|
+
(n) => {
|
|
84
|
+
e[n.slot || "default"] = !0;
|
|
85
|
+
}
|
|
86
|
+
), e;
|
|
87
|
+
}
|
|
88
|
+
let T;
|
|
89
|
+
function E(t) {
|
|
90
|
+
T = t;
|
|
91
|
+
}
|
|
92
|
+
function lt() {
|
|
93
|
+
if (!T) throw new Error("Function called outside component initialization");
|
|
94
|
+
return T;
|
|
95
|
+
}
|
|
96
|
+
function K(t) {
|
|
97
|
+
lt().$$.on_mount.push(t);
|
|
98
|
+
}
|
|
99
|
+
const y = [], A = [];
|
|
100
|
+
let k = [];
|
|
101
|
+
const B = [], ct = /* @__PURE__ */ Promise.resolve();
|
|
102
|
+
let M = !1;
|
|
103
|
+
function ut() {
|
|
104
|
+
M || (M = !0, ct.then(w));
|
|
105
|
+
}
|
|
106
|
+
function N(t) {
|
|
107
|
+
k.push(t);
|
|
108
|
+
}
|
|
109
|
+
const S = /* @__PURE__ */ new Set();
|
|
110
|
+
let p = 0;
|
|
111
|
+
function w() {
|
|
112
|
+
if (p !== 0)
|
|
113
|
+
return;
|
|
114
|
+
const t = T;
|
|
115
|
+
do {
|
|
116
|
+
try {
|
|
117
|
+
for (; p < y.length; ) {
|
|
118
|
+
const e = y[p];
|
|
119
|
+
p++, E(e), at(e.$$);
|
|
120
|
+
}
|
|
121
|
+
} catch (e) {
|
|
122
|
+
throw y.length = 0, p = 0, e;
|
|
123
|
+
}
|
|
124
|
+
for (E(null), y.length = 0, p = 0; A.length; ) A.pop()();
|
|
125
|
+
for (let e = 0; e < k.length; e += 1) {
|
|
126
|
+
const n = k[e];
|
|
127
|
+
S.has(n) || (S.add(n), n());
|
|
128
|
+
}
|
|
129
|
+
k.length = 0;
|
|
130
|
+
} while (y.length);
|
|
131
|
+
for (; B.length; )
|
|
132
|
+
B.pop()();
|
|
133
|
+
M = !1, S.clear(), E(t);
|
|
134
|
+
}
|
|
135
|
+
function at(t) {
|
|
136
|
+
if (t.fragment !== null) {
|
|
137
|
+
t.update(), j(t.before_update);
|
|
138
|
+
const e = t.dirty;
|
|
139
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(N);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function ft(t) {
|
|
143
|
+
const e = [], n = [];
|
|
144
|
+
k.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), k = e;
|
|
145
|
+
}
|
|
146
|
+
const dt = /* @__PURE__ */ new Set();
|
|
147
|
+
function ht(t, e) {
|
|
148
|
+
t && t.i && (dt.delete(t), t.i(e));
|
|
149
|
+
}
|
|
150
|
+
function H(t) {
|
|
151
|
+
return t?.length !== void 0 ? t : Array.from(t);
|
|
152
|
+
}
|
|
153
|
+
function $t(t, e, n) {
|
|
154
|
+
const { fragment: s, after_update: i } = t.$$;
|
|
155
|
+
s && s.m(e, n), N(() => {
|
|
156
|
+
const r = t.$$.on_mount.map(V).filter(q);
|
|
157
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : j(r), t.$$.on_mount = [];
|
|
158
|
+
}), i.forEach(N);
|
|
159
|
+
}
|
|
160
|
+
function _t(t, e) {
|
|
161
|
+
const n = t.$$;
|
|
162
|
+
n.fragment !== null && (ft(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
163
|
+
}
|
|
164
|
+
function gt(t, e) {
|
|
165
|
+
t.$$.dirty[0] === -1 && (y.push(t), ut(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
166
|
+
}
|
|
167
|
+
function bt(t, e, n, s, i, r, o = null, l = [-1]) {
|
|
168
|
+
const f = T;
|
|
169
|
+
E(t);
|
|
170
|
+
const c = t.$$ = {
|
|
171
|
+
fragment: null,
|
|
172
|
+
ctx: [],
|
|
173
|
+
// state
|
|
174
|
+
props: r,
|
|
175
|
+
update: L,
|
|
176
|
+
not_equal: i,
|
|
177
|
+
bound: R(),
|
|
178
|
+
// lifecycle
|
|
179
|
+
on_mount: [],
|
|
180
|
+
on_destroy: [],
|
|
181
|
+
on_disconnect: [],
|
|
182
|
+
before_update: [],
|
|
183
|
+
after_update: [],
|
|
184
|
+
context: new Map(e.context || (f ? f.$$.context : [])),
|
|
185
|
+
// everything else
|
|
186
|
+
callbacks: R(),
|
|
187
|
+
dirty: l,
|
|
188
|
+
skip_bound: !1,
|
|
189
|
+
root: e.target || f.$$.root
|
|
190
|
+
};
|
|
191
|
+
o && o(c.root);
|
|
192
|
+
let _ = !1;
|
|
193
|
+
if (c.ctx = n(t, e.props || {}, (u, g, ...$) => {
|
|
194
|
+
const d = $.length ? $[0] : g;
|
|
195
|
+
return c.ctx && i(c.ctx[u], c.ctx[u] = d) && (!c.skip_bound && c.bound[u] && c.bound[u](d), _ && gt(t, u)), g;
|
|
196
|
+
}), c.update(), _ = !0, j(c.before_update), c.fragment = s(c.ctx), e.target) {
|
|
197
|
+
if (e.hydrate) {
|
|
198
|
+
const u = rt(e.target);
|
|
199
|
+
c.fragment && c.fragment.l(u), u.forEach(v);
|
|
200
|
+
} else
|
|
201
|
+
c.fragment && c.fragment.c();
|
|
202
|
+
e.intro && ht(t.$$.fragment), $t(t, e.target, e.anchor), w();
|
|
203
|
+
}
|
|
204
|
+
E(f);
|
|
205
|
+
}
|
|
206
|
+
let Q;
|
|
207
|
+
typeof HTMLElement == "function" && (Q = class extends HTMLElement {
|
|
208
|
+
/** The Svelte component constructor */
|
|
209
|
+
$$ctor;
|
|
210
|
+
/** Slots */
|
|
211
|
+
$$s;
|
|
212
|
+
/** The Svelte component instance */
|
|
213
|
+
$$c;
|
|
214
|
+
/** Whether or not the custom element is connected */
|
|
215
|
+
$$cn = !1;
|
|
216
|
+
/** Component props data */
|
|
217
|
+
$$d = {};
|
|
218
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
219
|
+
$$r = !1;
|
|
220
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
221
|
+
$$p_d = {};
|
|
222
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
223
|
+
$$l = {};
|
|
224
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
225
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
226
|
+
constructor(t, e, n) {
|
|
227
|
+
super(), this.$$ctor = t, this.$$s = e, n && this.attachShadow({ mode: "open" });
|
|
228
|
+
}
|
|
229
|
+
addEventListener(t, e, n) {
|
|
230
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
|
|
231
|
+
const s = this.$$c.$on(t, e);
|
|
232
|
+
this.$$l_u.set(e, s);
|
|
233
|
+
}
|
|
234
|
+
super.addEventListener(t, e, n);
|
|
235
|
+
}
|
|
236
|
+
removeEventListener(t, e, n) {
|
|
237
|
+
if (super.removeEventListener(t, e, n), this.$$c) {
|
|
238
|
+
const s = this.$$l_u.get(e);
|
|
239
|
+
s && (s(), this.$$l_u.delete(e));
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
async connectedCallback() {
|
|
243
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
244
|
+
let t = function(i) {
|
|
245
|
+
return () => {
|
|
246
|
+
let r;
|
|
247
|
+
return {
|
|
248
|
+
c: function() {
|
|
249
|
+
r = b("slot"), i !== "default" && h(r, "name", i);
|
|
250
|
+
},
|
|
251
|
+
/**
|
|
252
|
+
* @param {HTMLElement} target
|
|
253
|
+
* @param {HTMLElement} [anchor]
|
|
254
|
+
*/
|
|
255
|
+
m: function(f, c) {
|
|
256
|
+
C(f, r, c);
|
|
257
|
+
},
|
|
258
|
+
d: function(f) {
|
|
259
|
+
f && v(r);
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
265
|
+
return;
|
|
266
|
+
const e = {}, n = ot(this);
|
|
267
|
+
for (const i of this.$$s)
|
|
268
|
+
i in n && (e[i] = [t(i)]);
|
|
269
|
+
for (const i of this.attributes) {
|
|
270
|
+
const r = this.$$g_p(i.name);
|
|
271
|
+
r in this.$$d || (this.$$d[r] = x(r, i.value, this.$$p_d, "toProp"));
|
|
272
|
+
}
|
|
273
|
+
for (const i in this.$$p_d)
|
|
274
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
275
|
+
this.$$c = new this.$$ctor({
|
|
276
|
+
target: this.shadowRoot || this,
|
|
277
|
+
props: {
|
|
278
|
+
...this.$$d,
|
|
279
|
+
$$slots: e,
|
|
280
|
+
$$scope: {
|
|
281
|
+
ctx: []
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
const s = () => {
|
|
286
|
+
this.$$r = !0;
|
|
287
|
+
for (const i in this.$$p_d)
|
|
288
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
289
|
+
const r = x(
|
|
290
|
+
i,
|
|
291
|
+
this.$$d[i],
|
|
292
|
+
this.$$p_d,
|
|
293
|
+
"toAttribute"
|
|
294
|
+
);
|
|
295
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
296
|
+
}
|
|
297
|
+
this.$$r = !1;
|
|
298
|
+
};
|
|
299
|
+
this.$$c.$$.after_update.push(s), s();
|
|
300
|
+
for (const i in this.$$l)
|
|
301
|
+
for (const r of this.$$l[i]) {
|
|
302
|
+
const o = this.$$c.$on(i, r);
|
|
303
|
+
this.$$l_u.set(r, o);
|
|
304
|
+
}
|
|
305
|
+
this.$$l = {};
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
309
|
+
// and setting attributes through setAttribute etc, this is helpful
|
|
310
|
+
attributeChangedCallback(t, e, n) {
|
|
311
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = x(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
|
|
312
|
+
}
|
|
313
|
+
disconnectedCallback() {
|
|
314
|
+
this.$$cn = !1, Promise.resolve().then(() => {
|
|
315
|
+
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
$$g_p(t) {
|
|
319
|
+
return Object.keys(this.$$p_d).find(
|
|
320
|
+
(e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
|
|
321
|
+
) || t;
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
function x(t, e, n, s) {
|
|
325
|
+
const i = n[t]?.type;
|
|
326
|
+
if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
|
|
327
|
+
return e;
|
|
328
|
+
if (s === "toAttribute")
|
|
329
|
+
switch (i) {
|
|
330
|
+
case "Object":
|
|
331
|
+
case "Array":
|
|
332
|
+
return e == null ? null : JSON.stringify(e);
|
|
333
|
+
case "Boolean":
|
|
334
|
+
return e ? "" : null;
|
|
335
|
+
case "Number":
|
|
336
|
+
return e ?? null;
|
|
337
|
+
default:
|
|
338
|
+
return e;
|
|
339
|
+
}
|
|
340
|
+
else
|
|
341
|
+
switch (i) {
|
|
342
|
+
case "Object":
|
|
343
|
+
case "Array":
|
|
344
|
+
return e && JSON.parse(e);
|
|
345
|
+
case "Boolean":
|
|
346
|
+
return e;
|
|
347
|
+
case "Number":
|
|
348
|
+
return e != null ? +e : e;
|
|
349
|
+
default:
|
|
350
|
+
return e;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
function mt(t, e, n, s, i, r) {
|
|
354
|
+
let o = class extends Q {
|
|
355
|
+
constructor() {
|
|
356
|
+
super(t, n, i), this.$$p_d = e;
|
|
357
|
+
}
|
|
358
|
+
static get observedAttributes() {
|
|
359
|
+
return Object.keys(e).map(
|
|
360
|
+
(l) => (e[l].attribute || l).toLowerCase()
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
return Object.keys(e).forEach((l) => {
|
|
365
|
+
Object.defineProperty(o.prototype, l, {
|
|
366
|
+
get() {
|
|
367
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
368
|
+
},
|
|
369
|
+
set(f) {
|
|
370
|
+
f = x(l, f, e), this.$$d[l] = f, this.$$c?.$set({ [l]: f });
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
}), s.forEach((l) => {
|
|
374
|
+
Object.defineProperty(o.prototype, l, {
|
|
375
|
+
get() {
|
|
376
|
+
return this.$$c?.[l];
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
}), t.element = /** @type {any} */
|
|
380
|
+
o, o;
|
|
381
|
+
}
|
|
382
|
+
class pt {
|
|
383
|
+
/**
|
|
384
|
+
* ### PRIVATE API
|
|
385
|
+
*
|
|
386
|
+
* Do not use, may change at any time
|
|
387
|
+
*
|
|
388
|
+
* @type {any}
|
|
389
|
+
*/
|
|
390
|
+
$$ = void 0;
|
|
391
|
+
/**
|
|
392
|
+
* ### PRIVATE API
|
|
393
|
+
*
|
|
394
|
+
* Do not use, may change at any time
|
|
395
|
+
*
|
|
396
|
+
* @type {any}
|
|
397
|
+
*/
|
|
398
|
+
$$set = void 0;
|
|
399
|
+
/** @returns {void} */
|
|
400
|
+
$destroy() {
|
|
401
|
+
_t(this, 1), this.$destroy = L;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* @template {Extract<keyof Events, string>} K
|
|
405
|
+
* @param {K} type
|
|
406
|
+
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
407
|
+
* @returns {() => void}
|
|
408
|
+
*/
|
|
409
|
+
$on(e, n) {
|
|
410
|
+
if (!q(n))
|
|
411
|
+
return L;
|
|
412
|
+
const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
413
|
+
return s.push(n), () => {
|
|
414
|
+
const i = s.indexOf(n);
|
|
415
|
+
i !== -1 && s.splice(i, 1);
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* @param {Partial<Props>} props
|
|
420
|
+
* @returns {void}
|
|
421
|
+
*/
|
|
422
|
+
$set(e) {
|
|
423
|
+
this.$$set && !Z(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
const yt = "4";
|
|
427
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yt);
|
|
428
|
+
const wt = (t) => (n) => {
|
|
429
|
+
Object.keys(t).map((s) => {
|
|
430
|
+
if (n.data && n.data.type == s) {
|
|
431
|
+
const { type: i, ...r } = n.data;
|
|
432
|
+
t[s](r);
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
}, kt = (t) => {
|
|
436
|
+
const e = wt(t);
|
|
437
|
+
K(() => (window.addEventListener("message", e, !1), () => {
|
|
438
|
+
window.removeEventListener("message", e);
|
|
439
|
+
}));
|
|
440
|
+
};
|
|
441
|
+
function vt(t) {
|
|
442
|
+
tt(t, "svelte-1eq8iwl", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#F7F7F7;font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}");
|
|
443
|
+
}
|
|
444
|
+
function U(t, e, n) {
|
|
445
|
+
const s = t.slice();
|
|
446
|
+
return s[15] = e[n], s;
|
|
447
|
+
}
|
|
448
|
+
function I(t) {
|
|
449
|
+
let e, n = H(
|
|
450
|
+
/*__tabs*/
|
|
451
|
+
t[5]
|
|
452
|
+
), s = [];
|
|
453
|
+
for (let i = 0; i < n.length; i += 1)
|
|
454
|
+
s[i] = J(U(t, n, i));
|
|
455
|
+
return {
|
|
456
|
+
c() {
|
|
457
|
+
e = b("ul");
|
|
458
|
+
for (let i = 0; i < s.length; i += 1)
|
|
459
|
+
s[i].c();
|
|
460
|
+
h(e, "part", "ul");
|
|
461
|
+
},
|
|
462
|
+
m(i, r) {
|
|
463
|
+
C(i, e, r);
|
|
464
|
+
for (let o = 0; o < s.length; o += 1)
|
|
465
|
+
s[o] && s[o].m(e, null);
|
|
466
|
+
},
|
|
467
|
+
p(i, r) {
|
|
468
|
+
if (r & /*__tab, __tabs, window, totalReceiver, textReceiver*/
|
|
469
|
+
60) {
|
|
470
|
+
n = H(
|
|
471
|
+
/*__tabs*/
|
|
472
|
+
i[5]
|
|
473
|
+
);
|
|
474
|
+
let o;
|
|
475
|
+
for (o = 0; o < n.length; o += 1) {
|
|
476
|
+
const l = U(i, n, o);
|
|
477
|
+
s[o] ? s[o].p(l, r) : (s[o] = J(l), s[o].c(), s[o].m(e, null));
|
|
478
|
+
}
|
|
479
|
+
for (; o < s.length; o += 1)
|
|
480
|
+
s[o].d(1);
|
|
481
|
+
s.length = n.length;
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
d(i) {
|
|
485
|
+
i && v(e), it(s, i);
|
|
486
|
+
}
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
function D(t) {
|
|
490
|
+
let e, n, s = (
|
|
491
|
+
/*totalReceiver*/
|
|
492
|
+
t[2][
|
|
493
|
+
/*_tab*/
|
|
494
|
+
t[15]
|
|
495
|
+
] + ""
|
|
496
|
+
), i;
|
|
497
|
+
return {
|
|
498
|
+
c() {
|
|
499
|
+
e = b("sup"), n = b("span"), i = F(s), h(n, "part", "SupText"), h(e, "part", "sup");
|
|
500
|
+
},
|
|
501
|
+
m(r, o) {
|
|
502
|
+
C(r, e, o), m(e, n), m(n, i);
|
|
503
|
+
},
|
|
504
|
+
p(r, o) {
|
|
505
|
+
o & /*totalReceiver, __tabs*/
|
|
506
|
+
36 && s !== (s = /*totalReceiver*/
|
|
507
|
+
r[2][
|
|
508
|
+
/*_tab*/
|
|
509
|
+
r[15]
|
|
510
|
+
] + "") && G(i, s);
|
|
511
|
+
},
|
|
512
|
+
d(r) {
|
|
513
|
+
r && v(e);
|
|
514
|
+
}
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function J(t) {
|
|
518
|
+
let e, n, s = (
|
|
519
|
+
/*textReceiver*/
|
|
520
|
+
t[3][
|
|
521
|
+
/*_tab*/
|
|
522
|
+
t[15]
|
|
523
|
+
] + ""
|
|
524
|
+
), i, r, o, l, f, c, _, u = (
|
|
525
|
+
/*totalReceiver*/
|
|
526
|
+
t[2][
|
|
527
|
+
/*_tab*/
|
|
528
|
+
t[15]
|
|
529
|
+
] >= 0 && D(t)
|
|
530
|
+
);
|
|
531
|
+
function g() {
|
|
532
|
+
return (
|
|
533
|
+
/*click_handler*/
|
|
534
|
+
t[10](
|
|
535
|
+
/*_tab*/
|
|
536
|
+
t[15]
|
|
537
|
+
)
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
return {
|
|
541
|
+
c() {
|
|
542
|
+
e = b("li"), n = b("span"), i = F(s), r = z(), u && u.c(), o = z(), h(n, "part", "LiText"), h(e, "class", l = /*__tab*/
|
|
543
|
+
t[4] === /*_tab*/
|
|
544
|
+
t[15] ? "active" : ""), h(e, "part", f = `${/*_tab*/
|
|
545
|
+
t[15]} li ` + /*__tab*/
|
|
546
|
+
(t[4] === /*_tab*/
|
|
547
|
+
t[15] ? "active" : ""));
|
|
548
|
+
},
|
|
549
|
+
m($, d) {
|
|
550
|
+
C($, e, d), m(e, n), m(n, i), m(e, r), u && u.m(e, null), m(e, o), c || (_ = st(e, "click", g), c = !0);
|
|
551
|
+
},
|
|
552
|
+
p($, d) {
|
|
553
|
+
t = $, d & /*textReceiver, __tabs*/
|
|
554
|
+
40 && s !== (s = /*textReceiver*/
|
|
555
|
+
t[3][
|
|
556
|
+
/*_tab*/
|
|
557
|
+
t[15]
|
|
558
|
+
] + "") && G(i, s), /*totalReceiver*/
|
|
559
|
+
t[2][
|
|
560
|
+
/*_tab*/
|
|
561
|
+
t[15]
|
|
562
|
+
] >= 0 ? u ? u.p(t, d) : (u = D(t), u.c(), u.m(e, o)) : u && (u.d(1), u = null), d & /*__tab, __tabs*/
|
|
563
|
+
48 && l !== (l = /*__tab*/
|
|
564
|
+
t[4] === /*_tab*/
|
|
565
|
+
t[15] ? "active" : "") && h(e, "class", l), d & /*__tabs, __tab*/
|
|
566
|
+
48 && f !== (f = `${/*_tab*/
|
|
567
|
+
t[15]} li ` + /*__tab*/
|
|
568
|
+
(t[4] === /*_tab*/
|
|
569
|
+
t[15] ? "active" : "")) && h(e, "part", f);
|
|
570
|
+
},
|
|
571
|
+
d($) {
|
|
572
|
+
$ && v(e), u && u.d(), c = !1, _();
|
|
573
|
+
}
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
function Et(t) {
|
|
577
|
+
let e, n = (
|
|
578
|
+
/*isTitleInited*/
|
|
579
|
+
t[1] && I(t)
|
|
580
|
+
);
|
|
581
|
+
return {
|
|
582
|
+
c() {
|
|
583
|
+
e = b("div"), n && n.c(), h(e, "class", "casino-tournaments-tab"), h(e, "part", "CustomStylingContainer");
|
|
584
|
+
},
|
|
585
|
+
m(s, i) {
|
|
586
|
+
C(s, e, i), n && n.m(e, null), t[11](e);
|
|
587
|
+
},
|
|
588
|
+
p(s, [i]) {
|
|
589
|
+
/*isTitleInited*/
|
|
590
|
+
s[1] ? n ? n.p(s, i) : (n = I(s), n.c(), n.m(e, null)) : n && (n.d(1), n = null);
|
|
591
|
+
},
|
|
592
|
+
i: L,
|
|
593
|
+
o: L,
|
|
594
|
+
d(s) {
|
|
595
|
+
s && v(e), n && n.d(), t[11](null);
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
function Lt(t, e, n) {
|
|
600
|
+
let s, i, { tabs: r = "" } = e, { tab: o = void 0 } = e, { clientstyling: l = "" } = e, { clientstylingurl: f = "" } = e, c, _ = !1, u = {}, g = {};
|
|
601
|
+
const $ = () => {
|
|
602
|
+
let a = document.createElement("style");
|
|
603
|
+
a.innerHTML = l, c.appendChild(a);
|
|
604
|
+
}, d = () => {
|
|
605
|
+
let a = new URL(f), P = document.createElement("style");
|
|
606
|
+
fetch(a.href).then((O) => O.text()).then((O) => {
|
|
607
|
+
P.innerHTML = O, setTimeout(
|
|
608
|
+
() => {
|
|
609
|
+
c.appendChild(P);
|
|
610
|
+
},
|
|
611
|
+
1
|
|
612
|
+
), setTimeout(
|
|
613
|
+
() => {
|
|
614
|
+
},
|
|
615
|
+
500
|
|
616
|
+
);
|
|
617
|
+
});
|
|
618
|
+
};
|
|
619
|
+
kt({
|
|
620
|
+
TournamentsTabTotalUpdate: (a) => {
|
|
621
|
+
n(2, u = {
|
|
622
|
+
...u,
|
|
623
|
+
[a.state]: a.total
|
|
624
|
+
});
|
|
625
|
+
},
|
|
626
|
+
TournamentsTabLocaleTextUpdate: (a) => {
|
|
627
|
+
n(1, _ = !0), n(3, g = { ...g, [a.state]: a.text });
|
|
628
|
+
}
|
|
629
|
+
}), K(() => {
|
|
630
|
+
window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href);
|
|
631
|
+
});
|
|
632
|
+
const W = (a) => {
|
|
633
|
+
n(4, i = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
|
|
634
|
+
};
|
|
635
|
+
function X(a) {
|
|
636
|
+
A[a ? "unshift" : "push"](() => {
|
|
637
|
+
c = a, n(0, c);
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
return t.$$set = (a) => {
|
|
641
|
+
"tabs" in a && n(6, r = a.tabs), "tab" in a && n(7, o = a.tab), "clientstyling" in a && n(8, l = a.clientstyling), "clientstylingurl" in a && n(9, f = a.clientstylingurl);
|
|
642
|
+
}, t.$$.update = () => {
|
|
643
|
+
t.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
644
|
+
257 && c && l && $(), t.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
645
|
+
513 && c && f && d(), t.$$.dirty & /*tabs*/
|
|
646
|
+
64 && n(5, s = r.split(",")), t.$$.dirty & /*tab*/
|
|
647
|
+
128 && n(4, i = o);
|
|
648
|
+
}, [
|
|
649
|
+
c,
|
|
650
|
+
_,
|
|
651
|
+
u,
|
|
652
|
+
g,
|
|
653
|
+
i,
|
|
654
|
+
s,
|
|
655
|
+
r,
|
|
656
|
+
o,
|
|
657
|
+
l,
|
|
658
|
+
f,
|
|
659
|
+
W,
|
|
660
|
+
X
|
|
661
|
+
];
|
|
662
|
+
}
|
|
663
|
+
class Tt extends pt {
|
|
664
|
+
constructor(e) {
|
|
665
|
+
super(), bt(
|
|
666
|
+
this,
|
|
667
|
+
e,
|
|
668
|
+
Lt,
|
|
669
|
+
Et,
|
|
670
|
+
Y,
|
|
671
|
+
{
|
|
672
|
+
tabs: 6,
|
|
673
|
+
tab: 7,
|
|
674
|
+
clientstyling: 8,
|
|
675
|
+
clientstylingurl: 9
|
|
676
|
+
},
|
|
677
|
+
vt
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
get tabs() {
|
|
681
|
+
return this.$$.ctx[6];
|
|
682
|
+
}
|
|
683
|
+
set tabs(e) {
|
|
684
|
+
this.$$set({ tabs: e }), w();
|
|
685
|
+
}
|
|
686
|
+
get tab() {
|
|
687
|
+
return this.$$.ctx[7];
|
|
688
|
+
}
|
|
689
|
+
set tab(e) {
|
|
690
|
+
this.$$set({ tab: e }), w();
|
|
691
|
+
}
|
|
692
|
+
get clientstyling() {
|
|
693
|
+
return this.$$.ctx[8];
|
|
694
|
+
}
|
|
695
|
+
set clientstyling(e) {
|
|
696
|
+
this.$$set({ clientstyling: e }), w();
|
|
697
|
+
}
|
|
698
|
+
get clientstylingurl() {
|
|
699
|
+
return this.$$.ctx[9];
|
|
700
|
+
}
|
|
701
|
+
set clientstylingurl(e) {
|
|
702
|
+
this.$$set({ clientstylingurl: e }), w();
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
mt(Tt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
706
|
+
export {
|
|
707
|
+
Tt as C
|
|
708
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { C as s } from "../components/CasinoTournamentsTab-BmGxQH2V.js";
|
|
2
|
+
function a(t) {
|
|
3
|
+
return function(...n) {
|
|
4
|
+
try {
|
|
5
|
+
return t.apply(this, n);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
8
|
+
return !1;
|
|
9
|
+
throw e;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
customElements.define = a(customElements.define);
|
|
14
|
+
!customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", s.element);
|